var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e,t,o,n){return new(o||(o=Promise))((function(i,r){function a(e){try{s(n.next(e))}catch(e){r(e)}}function d(e){try{s(n.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,d)}s((n=n.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const t={setRecognizeStatus(e){var t;null===(t=window.saluteAdSdk.status)||void 0===t||t.push(e),window.saluteAdSdk.onSetStatus&&window.saluteAdSdk.onSetStatus(e)},setRecognizedCategory(e){window.saluteAdSdk.categories=e,window.saluteAdSdk.isCategoryRecognized=!0,window.saluteAdSdk.onSetCategories&&window.saluteAdSdk.onSetCategories(e)},setError(e){window.saluteAdSdk.error=e,window.saluteAdSdk.onSetError&&window.saluteAdSdk.onSetError(e)},setData(e){window.saluteAdSdk.data=e,window.saluteAdSdk.onSetData&&window.saluteAdSdk.onSetData(e)}},o=["Article","NewsArticle","TechArticle","SatiricalArticle","ScholarlyArticle","Report","SocialMediaPosting","AdvertiserContentArticle","AnalysisNewsArticle","AskPublicNewsArticle","BlogPosting","DiscussionForumPosting","LiveBlogPosting","MedicalScholarlyArticle","OpinionNewsArticle","ReportageNewsArticle"];function n(){const e=document.querySelector("[data-layersdk-article]")||document.querySelector("[data-salute-adsdk-article]")||function(){const e=o.map((e=>`[itemtype*="schema.org/${e}"]`)).join(",");return document.querySelector(e)}();return e&&e.innerText}var i,r,a;let d;function s(){d&&(XMLHttpRequest.prototype.send=d)}!function(e){e.TYPE="@type",e.REPRESENTATIVE_OF_PAGE="representativeOfPage",e.URL="url",e.WIDTH="width",e.HEIGHT="height",e.DESCRIPTION="description"}(i||(i={})),function(e){e.MAIN_ENTITY="mainEntityOfPage",e.HEADLINE="headline",e.ARTICLE_SECTION="articleSection",e.ARTICLE_BODY="articleBody",e.DATE_PUBLISHED="datePublished",e.DATE_MODIFIED="dateModified"}(r||(r={})),function(e){e.POST="POST",e.PEEK="PEEK"}(a||(a={}));const c={POST:{DEV:"https://webcf.waybackmachine.org/web/20240205170533/https://host42.visper.tech/dev/api/v0/sdk/category",PROD:"https://webcf.waybackmachine.org/web/20240205170533/https://host42.visper.tech/prod/api/v0/sdk/category"},PEEK:{DEV:"https://webcf.waybackmachine.org/web/20240205170533/https://host42.visper.tech/dev/api/v0/sdk/category/peek",PROD:"https://webcf.waybackmachine.org/web/20240205170533/https://host42.visper.tech/prod/api/v0/sdk/category/peek"}};function u(){return window.location.origin+window.location.pathname}function l(){return Boolean(window.saluteAdSdk&&window.saluteAdSdk.categories&&window.saluteAdSdk.categories.length)}function w(e,o){const n={url:e,articleBody:o};return t.setData(n),S(a.POST,n)}function g(e){const o={url:e};return t.setData(o),S(a.PEEK,o)}function S(o,n,i=2e3){const r=c[o],a=function(){let e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(o=>{let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"==o?n:7&n|8).toString(16)}))}();return t.setRecognizeStatus(n.articleBody?"loading":"cachedLoading"),Promise.race([fetch(window.saluteAdSdk.debug?r.DEV:r.PROD,{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json","X-Correlation-ID":a}}),new Promise(((e,t)=>{setTimeout((()=>{t()}),i)}))]).then((t=>e(this,void 0,void 0,(function*(){if(!t.ok){if(400===t.status){const e=yield t.json();throw new Error(e.detail)}throw new Error(`API Categories error: ${t.statusText}`)}return t.json()})))).then((e=>{var o,i;t.setRecognizeStatus(n.articleBody?"success":"cachedSuccess");const r=(e.categories||[]).map((e=>e));t.setRecognizedCategory(r),null===(i=null===(o=window.saluteAdSdk)||void 0===o?void 0:o.onRecognizeCategories)||void 0===i||i.call(o)})).catch((e=>{var o,i;t.setRecognizeStatus(n.articleBody?"fail":"cachedFail"),t.setError(e),t.setRecognizedCategory([]),null===(i=null===(o=window.saluteAdSdk)||void 0===o?void 0:o.onRecognizeCategories)||void 0===i||i.call(o)}))}window.saluteAdSdk||(window.saluteAdSdk={}),Object.assign(window.saluteAdSdk,{recognizeCategoryByUrl:g,recognizeCategoryByText:w,categories:[],status:[],isCategoryRecognized:!1}),function({bidderName:e}){d=XMLHttpRequest.prototype.send,XMLHttpRequest.prototype.send=function(...t){var o;try{const n=function(e){if(e&&"string"==typeof e)try{return JSON.parse(e)}catch(e){return}}(t[0]),i=function(e,t){if(!Array.isArray(null==e?void 0:e.data))return;return e.data.filter((e=>e.bidder===t))}(n,e);if(!(null==i?void 0:i.length))return void d.apply(this,t);window.saluteAdSdk.onRecognizeCategories=()=>{i.forEach((e=>{var t,o;e.parameters.puid8=null===(o=null===(t=window.saluteAdSdk)||void 0===t?void 0:t.categories)||void 0===o?void 0:o.join(":")})),d.apply(this,[JSON.stringify(n)]),window.saluteAdSdk.onRecognizeCategories=void 0,s()},window.saluteAdSdk.isCategoryRecognized&&(null===(o=window.saluteAdSdk)||void 0===o||o.onRecognizeCategories())}catch(e){d.apply(this,t),s()}}}({bidderName:"yandex_LayerCV"}),t.setRecognizeStatus("inited"),g(u()).then((()=>{if("loading"===document.readyState)document.addEventListener("DOMContentLoaded",(function(){if(l())return;const e=n();e?w(u(),e):t.setRecognizeStatus("no-article")}));else{if(l())return;const e=n();if(!e)return void t.setRecognizeStatus("no-article");w(u(),e)}}))})); } /* FILE ARCHIVED ON 17:05:33 Feb 05, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 10:36:48 Nov 16, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 8.822 exclusion.robots: 0.034 exclusion.robots.policy: 0.02 esindex: 0.011 cdx.remote: 12.183 LoadShardBlock: 627.722 (6) PetaboxLoader3.datanode: 222.993 (7) PetaboxLoader3.resolve: 496.062 (2) load_resource: 146.297 */