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"); /*! v:46682 b:default c:loaders/adfox */!function(e){function t(t){for(var n,o,i=t[0],a=t[1],s=0,u=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={27:0,29:0,30:0};function o(e){return i.p+""+{0:"4a525decc022f53650e2",1:"83d984a51c56a998f5d1",2:"fe3305a0e5385f972fe0",3:"dd36f77408c1a7402a16",4:"38aa57f03461e9ca9352",5:"bf21e42732b81b1bd467",6:"f694c1be2c01eb7678bf",7:"52953da508a873314e89",8:"4584d8b2ea3b01585b25",9:"231a3bf0599f56286c5a",10:"bb32d7943e7848c6344a",11:"dbeb930ca22beff30f94",12:"0c9df741ce5f0beac42a",13:"b0370c08ee072fd6e49a",15:"19455c7c95e537ae1d46",16:"6662989a17f63c86a635",17:"0616e4ca5b23757dfdb6",18:"31093c370a600168d6a7",19:"a0909f393a3f800cbb6a",20:"eb4d2ba2f27c7ce08a0c",21:"f383d81d6a28923b778a",22:"9eeaf94a668c2a4e9a65",23:"f26fff5a1ef13da89003",24:"e8b6bdb6e60fa6845202",25:"5536fde0f4d3d388683b",26:"256baef6576fdb140ce8",32:"157001b77ae3cf5f3464",36:"abe800771ce207c11e42",37:"40359204f7f63114777c",38:"e1450c0c0c74fa9d4ff7",39:"7709b16abd38072d2781",40:"5a65c6838df3aff5adb4",41:"41f10759b7688885481a"}[e]+".js"}function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.lv=i.lv||{},i.lv["json"]=JSON,i.preloadChunk=function(e,t){if(!n[e]){var r=document.createElement("link");r.charset="utf-8",i.nc&&r.setAttribute("nonce",i.nc),r.rel="preload",r.as="script",r.href=o(e),0!==r.href.indexOf(window.location.origin+"/")&&(r.crossOrigin="anonymous"),t&&r.setAttribute("importance",t),document.head.appendChild(r)}},i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=a);var s,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=o(e),0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var c=new Error;s=function(t){u.onerror=u.onload=null,clearTimeout(d);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,n[1](c)}r[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:u})}),12e4);u.onerror=u.onload=s,u.setAttribute("importance","high"),document.head.appendChild(u)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(undefined,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="https://webcf.waybackmachine.org/web/20211025204422/https://yastatic.net/partner-code-bundles/46682/",i.oe=function(e){throw console.error(e),e};var a=window["pcodeJsonp46682A5G0WIHPo9"]=window["pcodeJsonp46682A5G0WIHPo9"]||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var u=0;u<a.length;u++)t(a[u]);var c=s;i(i.s=576)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forEach=void 0;t.forEach=function(e,t,n){for(var r=0;r<e.length;r++)t.call(n,e[r],r,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e||"Function"===n(65).getInternalClass(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isString=void 0,t.isString=function(e){return"string"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAllActiveTestIds=t.collectAllActiveTestIds=t.generateActiveTestIds=t.getActiveTestIds=t.useExperimentFlag=t.resetExperimentsData=t.initExperimentsData=void 0;var r=[];window.__pcodeAllActiveTestIds=[];t.initExperimentsData=function(e){var t=e.flags,n=e.flagsMap,r=e.testIds;t,n,r};t.resetExperimentsData=function(){void 0,void 0,void 0,r=[]};t.useExperimentFlag=function(e,t,r){var i,a;void 0===t&&(t=!1);var s=n(30).getUaasConfig();i=s.flags,a=s.flagsMap;var u=i&&i[e];return!t&&a&&a[e]&&n(0).forEach(a[e],(function(e){var t,i,a=e.value,s=e.testId;i=u,((t=a)&&i&&"object"==typeof t&&"object"==typeof i?n.lv["json"].stringify(t)===n.lv["json"].stringify(i):t===i)&&o(s,r)})),u};var o=function(e,r){var o=r;o||(o=i()),function(e,r){var o=n(30).getUaasConfig().testIds;if(o){var i=n(87).find(o.split(";"),(function(t){return 0===t.indexOf(e)}));i&&(r.push(i),t.collectAllActiveTestIds([i]))}}(e,o)},i=function(){return window.Ya&&window.Ya.Context&&window.Ya.Context._activeTestIds?window.Ya.Context._activeTestIds:[]};t.getActiveTestIds=function(){return n(73).unique(r)};t.generateActiveTestIds=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]);var r=[].concat(e,t,i());if(r.length)return n(73).unique(r).join(";")};t.collectAllActiveTestIds=function(e){e&&e.length&&window.__pcodeAllActiveTestIds&&(window.__pcodeAllActiveTestIds=window.__pcodeAllActiveTestIds.concat(e))};t.getAllActiveTestIds=function(){if(window.__pcodeAllActiveTestIds&&window.__pcodeAllActiveTestIds.length)return n(73).unique(window.__pcodeAllActiveTestIds).join(";")},n(137).setSafeframeVersion(t.useExperimentFlag("SAFEFRAME_VERSION"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHostAsserter=void 0;t.createHostAsserter=function(e,t){void 0===t&&(t={});var n=t.allowLowerLevelDomains,r=void 0===n||n,o=t.eol,i=void 0!==o&&o,a=["(?:\\/|%2F|^)"];return r&&a.push("(?:[\\w-_\\.]+?\\.)?"),a.push("(?:"+e+")"),a.push("(?:\\/|%2F|$)"),i&&a.push("$"),new RegExp(a.join(""),"i")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;t.map=function(e,t,n){for(var r=new Array(e.length),o=0;o<e.length;o++)r[o]=t.call(n,e[o],o,e);return r}},function(e,t,n){"use strict";function r(){return window.Ya||(window.Ya=t.initYa())}function o(){var e=r();return e.Context||(e.Context=t.initYaContext())}Object.defineProperty(t,"__esModule",{value:!0}),t.initYa=t.initYaDirect=t.initYaContext=t.getYaContext=t.getYa=t.getGlobalVariable=t.setGlobalVariable=void 0,t.setGlobalVariable=function(e,t){o()[e]=t},t.getGlobalVariable=function(e){return o()[e]},t.getYa=r,t.getYaContext=o;function i(){return{}}t.initYaContext=function(){return{isAllowedRepeatAds:n(272).isAllowedRepeatAds,_load_callbacks:[],_callbacks:[],_asyncIdCounter:0,_asyncModeOn:Boolean(document.currentScript&&document.currentScript.async),isFirstContextLoaded:!0,LOG_DIRECT:n(26).isPercent(1),_activeTestIds:[]}},t.initYaDirect=i;t.initYa=function(){return{Direct:{},Context:t.initYaContext()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtectedNames=t.rethrowAsync=t.protect=t.callSafe=void 0;function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.join("")}t.callSafe=function(e){try{return e()}catch(e){return}},t.protect=function(e,r,o,i){return function(){try{return r.apply(o||this,arguments)}catch(r){if(n(1).isFunction(i)&&i(r),!0===r.preventProtect)throw r;t.protect.log(r,e)}}},t.rethrowAsync=function(e,n){setTimeout((function(){t.protect.log(e,n)}))},t.protect.log=function(e,t){console.log("LOG:"+t+":"+e)},t.protect.setTimeout=function(e,n,r,o){return window.setTimeout(t.protect("timeout",e,r,o),n)};var o=function(){function e(){}return e.YaContextCallbacks=r("Ya.C","ontext._callbacks"),e.YaContextCallbacksCalls=r("Ya.C","ontext._callbacks_call"),e.AdvManager=r("A","dvManager"),e.AdvBlock=r("A","dvBlock"),e.RTB=r("R","TB"),e.Rtb=r("R","tb"),e.MetrikaAdtune=r("metrika_a","dtune"),e}();t.ProtectedNames=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){var t=typeof e;return Boolean(e)&&("object"===t||"function"===t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0;var r=n(43).getNativeMethod(Array,"isArray");t.isArray=Boolean(r)?function(e){return r.call(Array,e)}:function(e){return"Array"===n(65).getInternalClass(e)}},function(e,t,n){"use strict";var r,o,i,a,s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.renderPerfomanceManager=t.BlockRenderSteps=void 0;var u,c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t}(n(463).RenderPerformanceManager);!function(e){e["AdChosen"]="010",e["AdReload"]="010",e["AdCreated"]="020",e["AdStartedRender"]="030",e["AdfoxXhrRequestPrepared"]="040",e["AdfoxJsonpRequestPrepared"]="040",e["AdfoxXhrRequestLoaded"]="050",e["AdfoxJsonpRequestLoaded"]="050",e["AdTypeChosen"]="060",e["BundleLoaded"]="070",e["BundleRendered"]="080",e["OldRendered"]="080",e["HBRendered"]="080"}(u=t.BlockRenderSteps||(t.BlockRenderSteps={})),t.renderPerfomanceManager=new c({initSteps:(o={},o[u.AdChosen]=1,o[u.AdReload]=1,o[u.AdCreated]=1,o[u.AdStartedRender]=1,o[u.AdfoxXhrRequestPrepared]=1,o[u.AdfoxJsonpRequestPrepared]=1,o),dataSteps:(i={},i[u.AdfoxXhrRequestLoaded]=1,i[u.AdfoxJsonpRequestLoaded]=1,i),renderSteps:(a={},a[u.AdTypeChosen]=1,a[u.BundleLoaded]=1,a[u.BundleRendered]=1,a[u.OldRendered]=1,a[u.HBRendered]=1,a)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PARSE_LINK_ELEMENT=void 0,t.PARSE_LINK_ELEMENT=document.createElement("a")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0,t.logger=n(147).logger},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;t.filter=function(e,t,n){for(var r=[],o=0;o<e.length;o++){var i=e[o];t.call(n,i,o,e)&&r.push(i)}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.once=void 0,t.once=function(e){var t=function(){var n;return t=function(){return n},n=e.apply(this,arguments)};return function(){return t.apply(this,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsEventType=void 0,function(e){e["event"]="event",e["error"]="error",e["fatal"]="fatal",e["deprecated"]="deprecated",e["warning"]="warning",e["value"]="value",e["values"]="values"}(t.StatsEventType||(t.StatsEventType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkNativeCode=void 0,t.checkNativeCode=function(e){if(!e||!e.toString)return!1;var t=e.toString();return/\[native code\]/.test(t)||/\/\* source code not available \*\//.test(t)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScriptStringForSettingGlobalVars=t.ns=t.addAdfoxNamespace=void 0;t.addAdfoxNamespace=function(e){return e.Ya||(e.Ya={}),e.Ya.adfoxCode||(e.Ya.adfoxCode={}),e.Ya.adfoxCode},t.ns=t.addAdfoxNamespace(window);t.getScriptStringForSettingGlobalVars=function(e){var n=e.isXhr;return[";(function (w) {","var ns = ("+t.addAdfoxNamespace.toString()+")(w);",'ns["isXhr"] = '+n+";",'ns["xhrExperiment"] = {isXhr: '+Boolean(t.ns.xhrExperiment&&t.ns.xhrExperiment.isXhr)+", isControl: "+Boolean(t.ns.xhrExperiment&&t.ns.xhrExperiment.isControl)+"};","})(window);"].join("")}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getPostProtocolIndex=t.addParamsToUrl=t.addParamToUrl=t.formatQueryString=t.getParamsFromUrl=t.parseQueryString=t.urlFromUrlObject=t.parseUrl=t.parseUrlUsingCache=void 0;t.parseUrlUsingCache=n(96).memoize((function(e){var t=i(e);return r({},t)}));var o=/^(android-app:|chrome-extension:)/;function i(e){n(12).PARSE_LINK_ELEMENT.href=e;var t=n(12).PARSE_LINK_ELEMENT.pathname||"";"/"!==t.charAt(0)&&(t="/"+t);var a=(n(12).PARSE_LINK_ELEMENT.search||"")+(n(12).PARSE_LINK_ELEMENT.hash||""),s=e.lastIndexOf(a),u=-1===s?e:e.slice(0,s);if(o.test(e)){var c=i(e.replace(o,"https:"));return n(12).PARSE_LINK_ELEMENT.href=e,r(r({},c),{originalPath:u,protocol:e.slice(0,e.indexOf(":")+1),href:n(12).PARSE_LINK_ELEMENT.href})}var d=n(12).PARSE_LINK_ELEMENT.protocol&&/^[a-z\-]+:/i.test(n(12).PARSE_LINK_ELEMENT.protocol)?n(12).PARSE_LINK_ELEMENT.protocol:"";return{originalPath:u,href:n(12).PARSE_LINK_ELEMENT.href,protocol:d,host:n(12).PARSE_LINK_ELEMENT.host,hostname:n(12).PARSE_LINK_ELEMENT.hostname,port:n(12).PARSE_LINK_ELEMENT.port,pathname:t,search:n(12).PARSE_LINK_ELEMENT.search,hash:n(12).PARSE_LINK_ELEMENT.hash}}function a(e,t){if(void 0===t&&(t=!1),t){var n=e.originalPath,r="/"===e.pathname&&"/"!==n[n.length-1];return e.originalPath+(r?"/":"")+e.search+e.hash}var o="443"===e.port||"80"===e.port?e.hostname:e.host;return e.protocol+"//"+o+e.pathname+e.search+e.hash}t.parseUrl=i,t.urlFromUrlObject=a;var s=function(e){try{return decodeURIComponent(e)}catch(t){return e}};function u(e){for(var t={},n=e.replace(/^[?#]+/,"").replace(/#.*$/,"").split("&"),r=0;r<n.length;r++){var o=n[r].indexOf("="),i=void 0,a=void 0;if(-1===o?(i=s(n[r]),a=""):(i=s(n[r].slice(0,o)),a=n[r].slice(o+1)),i){var u=Boolean(/(\[\])$/.exec(i));i=i.replace(/\[\]$/,""),u?void 0===t[i]?t[i]=[s(a)]:t[i]=[].concat(t[i],s(a)):t[i]=s(a)}}return t}t.parseQueryString=u,t.getParamsFromUrl=function(e){return u(i(e).search)};var c=function(e,t){return t.map((function(t){return e+"[]="+encodeURIComponent(t)})).join("&")};function d(e){var t=[];for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];n(10).isArray(o)?t.push(c(r,o)):void 0!==o&&t.push(r+"="+encodeURIComponent(o))}return"?"+t.join("&")}t.formatQueryString=d,t.addParamToUrl=function(e,t,n){if(void 0===n)return e;var o=i(e),s=u(o.search);return s[t]=n,a(r(r({},o),{search:d(s)}))},t.addParamsToUrl=function(e,t,o){var s=void 0===o?{}:o,c=s.override,l=void 0===c||c,f=s.saveOriginalPath,p=void 0!==f&&f,v=i(e),g=u(v.search);n(21).forOwn(t,(function(e,t){(void 0===g[t]||l)&&(g[t]=e)}));var h=d(g);return a(r(r({},v),{search:h}),p)},t.getPostProtocolIndex=function(e){var t=e.indexOf("//");return-1!==t?t+2:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forOwn=void 0,t.forOwn=function(e,t,r){for(var o in e)n(119).hasOwnProperty(e,o)&&t.call(r,e[o],o,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorToStats=t.logValues=t.logValue=t.logError=t.logEvent=t.AdfoxErrors=t.AdfoxEvents=void 0,function(e){e["requested"]="requested",e["requestSucceeded"]="requestSucceeded",e["requestParsed"]="requestParsed",e["bundleStarted"]="bundleStarted",e["bundleLoaded"]="bundleLoaded",e["bundleRendered"]="bundleRendered",e["bundleReset"]="bundleReset",e["bundleDestroyed"]="bundleDestroyed"}(t.AdfoxEvents||(t.AdfoxEvents={})),function(e){e["unknown"]="unknown",e["xhr"]="xhr",e["jsonp"]="jsonp"}(t.AdfoxErrors||(t.AdfoxErrors={}));var r=n(310).createLogger({service:"adfox",probability:.01});t.logEvent=r.logEvent,t.logError=r.logError,t.logValue=r.logValue,t.logValues=r.logValues,t.errorToStats=r.errorToStats},function(e,t,n){"use strict";function r(){return parseInt(n(7).getYa().codeVer,10)||0}Object.defineProperty(t,"__esModule",{value:!0}),t.getVasVersion=t.getRevisionNo=t.getCodeVersion=void 0,t.getCodeVersion=r,t.getRevisionNo=function(){return r()%1024},t.getVasVersion=function(e){var t,r,o,i;if(void 0===e&&(e=window),n(1).isFunction(null===(r=null===(t=e.ya)||void 0===t?void 0:t.videoAd)||void 0===r?void 0:r.getModuleVersion))return null===(i=null===(o=e.ya)||void 0===o?void 0:o.videoAd)||void 0===i?void 0:i.getModuleVersion()}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomError=void 0;var i=function(e){function t(r,o){void 0===o&&(o={});var i=this,a="object"==typeof r?r:{message:String(r||n(35).DEFAULT_ERROR.message)};i=e.call(this)||this,n(254)(i,t.prototype),i.message=o.message||a.message||n(35).DEFAULT_ERROR.message,i.code=o.code||a.code||a.id||n(35).DEFAULT_ERROR.code,i.isFatal=Boolean(n(263).getFirstDefined([o.isFatal,a.isFatal,n(35).DEFAULT_ERROR.isFatal])),i.details=o.details||a.details||n(35).DEFAULT_ERROR.details;var s=o.stack||a.stack||function(e){var t=e.url,n=e.line,r=e.col,o=e.fileName,i=e.columnNumber,a=e.lineNumber;return(t||o||"?")+":"+(n||a||"?")+":"+(r||i||"?")}(a),u=s===n(35).DEFAULT_ERROR.stack?i.stack:s;if(u&&u!==n(35).DEFAULT_ERROR.stack)i.stack=u;else if(!i.stack)try{throw new Error(i.message)}catch(e){i.stack=u=e.stack||n(35).DEFAULT_ERROR.stack}return i.toString=function(){return n(163).jsonStringifyCircular(i.toJSON())},i.toJSON=function(){return{message:i.message,code:i.code,isFatal:i.isFatal,details:i.details,stack:u}},i}return o(t,e),t}(Error);t.CustomError=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundingClientRect=void 0;t.getBoundingClientRect=function(e){try{var t=e.getBoundingClientRect(),n=t.left,r=t.right,o=t.top,i=t.bottom;return{left:n,right:r,top:o,bottom:i,width:r-n,height:i-o}}catch(e){return{left:0,width:0,top:0,height:0,right:0,bottom:0}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPercent=t.fixPrecision=t.toFraction=void 0;function r(e){return o(e/100)}function o(e){return Number(e.toFixed(3))}t.toFraction=r,t.fixPrecision=o,t.isPercent=function(e){return Math.random()<r(e)}},function(e,t,n){"use strict";function r(e){e&&e.un()}Object.defineProperty(t,"__esModule",{value:!0}),t.un=t.on=void 0,t.on=function(e,t,o,i,a){if(!e||!o)return null;var s,u=n(8).protect("handler:"+t,o,i),c=n(231).fixEvent(u),d={un:function(){n(52).removeEventListenerFunction(e,t,c)}};return a&&a.once&&!n(103).isSupportsOnceOption&&(s=c,c=function(e){s.call(this,e),r(d)}),n(103).isSupportsPassiveOption?n(52).addEventListenerFunction(e,t,c,a):n(52).addEventListenerFunction(e,t,c,a&&a.capture),d},t.un=r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addEquals=t.cropEquals=t.utf8Decode=t.decodeUInt8String=t.decode=t.utf8Encode=t.encodeUInt8String=t.encode=void 0;var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";function o(e){for(var t="",n=0;n<e.length;){var o=e.charCodeAt(n++),i=e.charCodeAt(n++),a=e.charCodeAt(n++),s=o>>2,u=(3&o)<<4|i>>4,c=(15&i)<<2|a>>6,d=63&a;isNaN(i)?c=d=64:isNaN(a)&&(d=64),t=t+r.charAt(s)+r.charAt(u)+r.charAt(c)+r.charAt(d)}return t}function i(e,t){e=e.replace(/\r\n/g,"\n");for(var n="",r=0;r<e.length;r++){var o=e.charCodeAt(r),i=void 0;if(o<128?i=String.fromCharCode(o):o>127&&o<2048?(i=String.fromCharCode(o>>6|192),i+=String.fromCharCode(63&o|128)):(i=String.fromCharCode(o>>12|224),i+=String.fromCharCode(o>>6&63|128),i+=String.fromCharCode(63&o|128)),n.length+i.length>t)break;n+=i}return n}function a(e){var t=[],n=0;for(e=e.replace(/[^A-Za-z0-9\-_=]/g,"");n<e.length;){var o=r.indexOf(e.charAt(n++)),i=r.indexOf(e.charAt(n++)),a=r.indexOf(e.charAt(n++)),s=r.indexOf(e.charAt(n++)),u=o<<2|i>>4,c=(15&i)<<4|a>>2,d=(3&a)<<6|s;t.push(String.fromCharCode(u)),64!==a&&t.push(String.fromCharCode(c)),64!==s&&t.push(String.fromCharCode(d))}return t.join("")}function s(e){for(var t=[],n=0;n<e.length;){var r=e.charCodeAt(n);if(r<128)t.push(String.fromCharCode(r)),n++;else if(r>191&&r<224){var o=e.charCodeAt(n+1);t.push(String.fromCharCode((31&r)<<6|63&o)),n+=2}else{o=e.charCodeAt(n+1);var i=e.charCodeAt(n+2);t.push(String.fromCharCode((15&r)<<12|(63&o)<<6|63&i)),n+=3}}return t.join("")}t.encode=function(e,t){return void 0===t&&(t=1e6),o(i(e,3*t/4|0))},t.encodeUInt8String=o,t.utf8Encode=i,t.decode=function(e){return s(a(e))},t.decodeUInt8String=a,t.utf8Decode=s,t.cropEquals=function(e){return e.replace(/=+$/,"")},t.addEquals=function(e){for(;e.length%4!=0;)e+="=";return e}},function(e,t,n){"use strict";var r,o,i,a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getUaasFlags=t.getTestIds=t.getFlagsIdsMap=t.getUaasConfig=t.setMeta=t.parseConfig=void 0;t.parseConfig=function(){var e={testIds:"",flags:{},flagsMap:{},isInternalNetwork:!1};try{e=n.lv["json"].parse('{"flags":{"ENABLE_CODECS_WHITELIST":"TRUE","DISABLE_DEFAULT_THEME_EMPTY_DURATION":"TRUE","MEDIA_FILE_BITRATE_PRIORITY_FACTOR":"0.000001","VOLUME_BUTTON_ANIMATION":"ENABLE","UNIFORMAT":"ENABLE","CHANGE_CLICK_THROUGH_LOGIC":"ACTION_BUTTON_PRIORITY","VAS_STABLE_VERSION":"439424","ENABLE_SKIN_THEME_EMPTY":"TRUE","ENABLE_VP9_CODECS":"TRUE","ADFOX_MRC_VISIBILITY_ON_CLICK":"exp","UNILOADER_FOR_AMP":true,"USE_SSR_IN_AMP":"exp","FULL_SSR_PERCENT_LOG_META":0.0001,"DEFAULT_SSR_FORMATS":["zen","zen2","zen2-gallery","billboard","horizontal","horizontal0318","adaptiveConstructor","modernAdaptive","posterCarousel","adaptiveCarousel","smart_tile"],"RTB_BANNER_FLAGS":"exp","HBVER":42153,"RMP_SEND_BEACON":"exp","ADFOX_MRC_VISIBILITY_BY_OWNER":[168627,259055,258881,354188,239538,235076,264443,202100,354188,309667],"AD_SEEN_OBSERVER":"enable","FIXED_FORMAT_RENDER":"exp","COMPRESS_FLAGS_MAP":1,"FIX_IMAGES_PROTOCOL":1,"SSR_HEADER_FORCE_ANSWER":1,"TEST_EXP_VAS_CONFIG_IN_PCODE":"EXP","ADSDKVER":"439798","CONTAIN_IMAGE_SSR":"exp","SMART_BANNER_VERSION":"smart-banner-adaptive_v2","PRICE_DISABLED_FORMATS":["posterVertical","posterHorizontal","posterCarousel"],"POSTER_PRICE":"exp","WIDGET_Z_INDEX":"exp","GLOBAL_SIZE_INFO":true,"POSTER_COLLECTION":"exp-icon-2","ADFOX_MRC_VISIBILITY":true,"ADFOX_RELOAD_IF_AD_WAS_SEEN":"ctl","ADFOX_RELOAD_TIMEOUT":"ctl","PCODEVER":"46652"},"flagsMap":{"ENABLE_CODECS_WHITELIST":[{"value":"TRUE","testId":"429059"}],"DISABLE_DEFAULT_THEME_EMPTY_DURATION":[{"value":"TRUE","testId":"429073"}],"MEDIA_FILE_BITRATE_PRIORITY_FACTOR":[{"value":"0.000001","testId":"429074"}],"VOLUME_BUTTON_ANIMATION":[{"value":"ENABLE","testId":"429077"}],"UNIFORMAT":[{"value":"ENABLE","testId":"429079"}],"CHANGE_CLICK_THROUGH_LOGIC":[{"value":"ACTION_BUTTON_PRIORITY","testId":"432722"}],"VAS_STABLE_VERSION":[{"value":"439424","testId":"441324"}],"ENABLE_SKIN_THEME_EMPTY":[{"value":"TRUE","testId":"441341"}],"ENABLE_VP9_CODECS":[{"value":"TRUE","testId":"441791"}],"ADFOX_MRC_VISIBILITY_ON_CLICK":[{"value":"exp","testId":"427330"}],"UNILOADER_FOR_AMP":[{"value":true,"testId":"428390"}],"USE_SSR_IN_AMP":[{"value":"exp","testId":"428390"}],"FULL_SSR_PERCENT_LOG_META":[{"value":0.0001,"testId":"435450"}],"DEFAULT_SSR_FORMATS":[{"value":["zen","zen2","zen2-gallery","billboard","horizontal","horizontal0318","adaptiveConstructor","modernAdaptive","posterCarousel","adaptiveCarousel","smart_tile"],"testId":"435450"}],"RTB_BANNER_FLAGS":[{"value":"exp","testId":"435450"}],"HBVER":[{"value":42153,"testId":"435450"}],"RMP_SEND_BEACON":[{"value":"exp","testId":"433605"}],"ADFOX_MRC_VISIBILITY_BY_OWNER":[{"value":[168627,259055,258881,354188,239538,235076,264443,202100,354188,309667],"testId":"441673"}],"AD_SEEN_OBSERVER":[{"value":"enable","testId":"436297"},{"value":"enable","testId":"429814"}],"FIXED_FORMAT_RENDER":[{"value":"exp","testId":"436894"}],"COMPRESS_FLAGS_MAP":[{"value":1,"testId":"438661"}],"FIX_IMAGES_PROTOCOL":[{"value":1,"testId":"440194"}],"SSR_HEADER_FORCE_ANSWER":[{"value":1,"testId":"441777"}],"TEST_EXP_VAS_CONFIG_IN_PCODE":[{"value":"EXP","testId":"428759"}],"ADSDKVER":[{"value":"439798","testId":"439798"}],"CONTAIN_IMAGE_SSR":[{"value":"exp","testId":"437233"}],"SMART_BANNER_VERSION":[{"value":"smart-banner-adaptive_v2","testId":"438911"}],"PRICE_DISABLED_FORMATS":[{"value":["posterVertical","posterHorizontal","posterCarousel"],"testId":"436639"}],"POSTER_PRICE":[{"value":"exp","testId":"436639"}],"WIDGET_Z_INDEX":[{"value":"exp","testId":"436280"}],"GLOBAL_SIZE_INFO":[{"value":true,"testId":"400735"}],"POSTER_COLLECTION":[{"value":"exp-icon-2","testId":"434215"}],"ADFOX_MRC_VISIBILITY":[{"value":true,"testId":"429814"}],"ADFOX_RELOAD_IF_AD_WAS_SEEN":[{"value":"ctl","testId":"429814"}],"ADFOX_RELOAD_TIMEOUT":[{"value":"ctl","testId":"429814"}],"PCODEVER":[{"value":"46652","testId":"441712"}]},"flagsMapCompressed":"eJyNVltvm0oQ/i8820ew3Pu2wGKvAixi15fTKFqRBLWWXDvCJDqnVf97h1vrxbFTP4BZ883lm5lv/EMjGQ4SIkMWkZDLzZIKklAutE/3P7S3cv9aaZ80UayINtOa6tTQZ3i2kK/bvvbzYaZFlHf4iMR4lQgpliQlkqS5+FdGqwILyrIPbblmZyslEcUypmAuoAKwROYFZQUFWzEOBSsUS/o/evsxLqxZnbU1S1YQSrASgmUSZzS9DKZP/sKA2xlYZTRmBaD+BtKzES5xtgAyExreARUFWy2WMmELGio2IBeIZAxtzFGxaSIXoT4PzCUXHclrUvBpCpbpW8hSsJZhop6Dobj8jmbnlbldEIBbxjl8nftDf3wEdP0eiKOYbWVahHJNOQ1o0pYQUu2IUYxU/72oXLqmqY/0JwxHpJBQBYnT/BzX1K+VAvNMf4BxyJcXEjKeYC59/QbFqyTpUDkpQpKJtmYyJQKf47t+M5Qi2ZbdGxjbv7XRN43C1b32vTqAb7ii4Tb/Uu73Vf0/PD7u9vvHY1k/w/evx3r3/Xhoyr3yoJuGBwflc/nS7N6q8Hg4AQVPzbGG02/H56o+4OE3OHg5npqqDsv6+Hqq9ue4P0enb2XdyGa3r7SH93MqRCADnGVtBRK84De5/ANbBtCm5+9ayLDNKy7SXHKSRTIgOJw09oUH09Ht690VQINtMtXzveF4DnJnyAa9suHmeZ4xA/eG582Q6dtme7N115khx7Isc4Z0ZOj6+Iqp+47jPqg97gxqhSMInWSSBZwUk5S16lA+7is1fgf5ICyzmy8h3zP60Y3plkRDL8kCOJp6mNLjeH6PDFmaF4TzvmoyxcoUqA3sOY4xupOgkAvCQY+YYCFLrqIs3Rhcte2+JOOQhgRklm/UQI2JQgziKggXkmxz2coblD6mi3Zk81ZnVL3d5pOhdYfVgyMe3U2JBzl0fU9lpjvpmckEBi9dou2s3mbURWZfap7iQoyz8J4Id8M0fywPh6qej8Mm35Bqz/ONnmxQfOBqWJ3R+4LRz/C6qpvdUycG/cHyXB8mc67OseOYPU854wLi7px+0EIjZEOjBRHyM5QkItsPQMjrh3mRsACDjNLPBHAxu6XXOux8+zw66LeEhBcLGrzNd0/Hw3xCZaspV7Xg5qL4PWA9siDtkpE0lnDdtKsWZloJ4anZXxlRxYKgKWEr8ZfQrs8vetdxbDTdqEb7L+DnL9WY0wI=","testIds":"428759,0,71;439798,0,3;437233,0,20;438911,0,93;436639,0,29;436280,0,49;400735,0,98;434215,0,36;429814,0,72;438207,0,61;438211,0,10;441712,0,83","isDryRun":false,"pcodever":"46652","adsdkver":"439798","yawProduct":"ads","route":"adfox","uri":"/pcode?route=context","query":{"route":"context"},"device":"desktop","iCookie":"Wjo/cvdIXRSV6gnB5jYIiBiothox2ProGKKx0Ygug5572Ja+Ntzh2E7HfXbcfNaszRtdeMzLIV3msy4VSJUBYEgHRRk=","isInternalNetwork":false,"isStickyVersion":false,"ua":"Mozilla/5.0 (compatible; archive.org_bot; Archive-It; +http://archive-it.org/files/site-owners.html)","src_domain":"ya"}')}catch(e){}finally{if(e.isInternalNetwork){var t=n(62).getPcodeAbFlags();n(191).isEmpty(t)||(e.flags=a(a({},e.flags),t))}}return e};var s=n(15).once(t.parseConfig);t.setMeta=function(e){e.flags&&(r=e.flags),e.flagsMap&&(i=e.flagsMap),e.testIds&&(o=e.testIds)};t.getUaasConfig=function(){var e=s();return e.flags=r||e.flags,e.flagsMap=i||e.flagsMap,e.testIds=o||e.testIds,e},t.getFlagsIdsMap=n(15).once((function(){var e=t.getUaasConfig().flagsMap,r={};return n(206).forOwn(e,(function(e,t){n(0).forEach(e,(function(e){var n=e.testId;r[t]=n}))})),r})),t.getTestIds=n(15).once((function(){var e=t.getUaasConfig().testIds.split(";");return n(6).map(e,(function(e){return e.split(",")[0]}))}));t.getUaasFlags=function(){var e=s();return r||e.flags}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.checkBundleType=t.saveBundleType=t.bundleTypes=void 0,function(e){e["SSP"]="ssp",e["mobileSdk"]="msdk",e["webView"]="webview"}(r=t.bundleTypes||(t.bundleTypes={}));t.saveBundleType=function(e){var t;n(7).getGlobalVariable("bundleType")||(n(9).isObject(e)?t=function(e){if(e&&e.common&&e.common.sspId&&Boolean(Number(e.common.sspId)))return r.SSP;if(e&&e.common&&1===Number(e.common.isMobileSdk))return r.mobileSdk;return}(e):n(2).isString(e)&&(t=function(e){var t;switch(e){case"ssp":t=r.SSP;break;case"mobsdk":t=r.mobileSdk;break;case"viber":case"webview":t=r.webView;break;default:t=void 0}return t}(e)),t&&n(7).setGlobalVariable("bundleType",t))},t.checkBundleType=function(e){switch(e){case r.SSP:return n(278).isSspPage(window)||n(7).getGlobalVariable("bundleType")===e;default:return n(7).getGlobalVariable("bundleType")===e}}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indexOf=void 0;t.indexOf=function(e,t,n,o){void 0===n&&(n=0),void 0===o&&(o=r);for(var i=n;i<e.length;i++)if(o(e[i],t))return i;return-1};var r=function(e,t){return e===t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ERROR=void 0,t.DEFAULT_ERROR={message:"DEFAULT_ERROR_MESSAGE",code:0,details:"",stack:"?:?:?",isFatal:!0}},function(e,t,n){"use strict";function r(e){return void 0===e&&(e=window),Boolean(e.ampSeen)}Object.defineProperty(t,"__esModule",{value:!0}),t.isAMP=t.isAmp=void 0,t.isAmp=r,t.isAMP=r()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectKeys=void 0,t.getObjectKeys=function(e){if("function"==typeof Object.keys)return Object.keys(e);var t=[];for(var r in e)n(119).hasOwnProperty(e,r)&&t.push(r);return t}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setSessionId=t.getSessionId=void 0;t.getSessionId=function(){return r||(r=n(273).getSession(n(260).generateSessionId,n(169).getWindowStorage("common"),n(132).getCrossFrameStorage("common"),n(153).configureMetrika)),r};t.setSessionId=function(e){r!==e&&(n(276).setSession(e,n(169).getWindowStorage("common"),n(132).getCrossFrameStorage("common"),n(153).configureMetrika),r=e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMarksByName=t.clearMarks=t.setMark=t.isPerfLogging=t.isLoggingQueryActive=t.RenderMarks=void 0,function(e){e["AdvManagerLoader"]="AdvManagerLoader",e["AdvManagerLoaded"]="AdvManagerLoaded",e["DataLoadOutOfQueue"]="DataLoadOutOfQueue",e["DataLoaded"]="DataLoaded",e["DepsLoadStart"]="DepsLoadStart",e["AdvManagerRender"]="AdvManagerRender",e["ReadyForRendering"]="ReadyForRendering",e["StartDomRendering"]="StartDomRendering",e["Mounted"]="Mounted",e["StartDetector"]="StartDetector",e["PostRendering"]="PostRendering",e["Ready"]="Ready",e["OnRenderCalled"]="OnRenderCalled",e["ContextJs"]="ContextJs"}(t.RenderMarks||(t.RenderMarks={}));var r=window,o=n(20).parseQueryString(window.location.search);t.isLoggingQueryActive=function(){return Boolean(o.yandex_context_perf_logging)};t.isPerfLogging=function(){return void 0===r.yandex_context_perf_logging&&(r.yandex_context_perf_logging=n(26).isPercent(3)&&!n(142).isLightHouse()||t.isLoggingQueryActive()),r.yandex_context_perf_logging},t.setMark=function(e,n){if(t.isPerfLogging())try{var r=e+"_"+n;performance.mark(r)}catch(e){}},t.clearMarks=function(e){if(t.isPerfLogging())try{var r=performance.getEntriesByType("mark");n(0).forEach(r,(function(t){0===t.name.indexOf(e)&&performance.clearMarks(t.name)}))}catch(e){}},t.getMarksByName=function(e){if(!t.isPerfLogging())return[];try{return performance.getEntriesByName(e,"mark")}catch(e){return[]}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logStraightCall=t.ignoreCurrentQueue=t.getCurrentQueue=t.setCurrentQueue=t.IGNORE_VALUE=void 0,t.IGNORE_VALUE="ignore";var r=null;function o(e){r=e}t.setCurrentQueue=o,t.getCurrentQueue=function(){return r},t.ignoreCurrentQueue=function(){var e=r;return o(t.IGNORE_VALUE),function(){return o(e)}},t.logStraightCall=function(e,o,i){var a=void 0===i?r:i;if(!(a===t.IGNORE_VALUE||Math.random()>.05)){var s="InsertionCodeLog_"+e+"_"+a;n(13).logger.log(o,s,100)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.some=void 0;t.some=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeMethod=void 0,t.getNativeMethod=function(e,t){var r=e[t];if(!n(17).checkNativeCode(r)){var o=r;try{delete e[t];var i=e[t];"function"==typeof i&&(r=i),e[t]=o}catch(e){}}return r}},,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;t.request=function e(t){var o=t.method,i=t.url,a=t.async,s=void 0===a||a,u=t.data,c=t.responseType,d=void 0===c?"text":c,l=t.onBeforeSend,f=void 0===l?n(3).noop:l,p=t.onRetry,v=void 0===p?n(3).noop:p,g=t.checkStatus,h=void 0===g?function(e){return 200===e}:g,m=t.headers,_=void 0===m?{}:m,b=t.xhrConstructor,y=void 0===b?XMLHttpRequest:b,O=t.retries,w=void 0===O?0:O,S=t.timeout,E=void 0===S?0:S,P=t.withCredentials,A=t.onAbort,C=t.onSetup;if(y){var I,x=t.onSuccess?n(15).once(t.onSuccess):n(3).noop,T=t.onError?n(15).once(t.onError):n(3).noop,M=!1,R=0,j=function(e){M=!0,j=n(3).noop,I=e,k(new Error("Abort request")),"function"==typeof A&&A(e)},k=function(o){if(N.onerror=null,N.onreadystatechange=null,R&&clearTimeout(R),R&&4!==N.readyState||M)try{N.abort()}catch(o){}if(!M)if(w>0){var i=v(o,N);if("boolean"!=typeof i||Boolean(i)||j(),M)return;e(r(r({},t),{onSetup:function(e){var t=e.abort;j=function(e){return t(e)},M&&t(I)},retries:w-1}))}else j=n(3).noop,T(o,N)},N=new y;try{N.open(o,i,s)}catch(e){return void k(e)}if(N.responseType=d,N.withCredentials=Boolean(P),n(21).forOwn(_,(function(e,t){try{N.setRequestHeader(t,e)}catch(e){}})),E>0&&isFinite(E)&&(R=window.setTimeout((function(){k(new Error("Request timeout, "+i))}),E)),N.onerror=k,N.onreadystatechange=function(){if(4===N.readyState){var e=N.status;h(e)?(j=n(3).noop,clearTimeout(R),x(N)):k(new Error("Invalid request status "+e+", "+i))}},!("function"==typeof C&&(C({abort:function(e){return j(e)}}),M)||(f(N,t),M)))try{N.send(u)}catch(e){k(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorToStats=t.logError=t.logEvent=t.HeaderBiddingErrors=t.HeaderBiddingEvents=void 0,function(e){e["sent"]="sent",e["called"]="called",e["rendered"]="rendered"}(t.HeaderBiddingEvents||(t.HeaderBiddingEvents={})),function(e){e["http"]="http",e["parse"]="parse",e["timeout"]="timeout",e["invalidRender"]="invalidRender",e["notLoaded"]="notLoaded"}(t.HeaderBiddingErrors||(t.HeaderBiddingErrors={}));var r=n(310).createLogger({service:"headerBidding",probability:.1});t.logEvent=r.logEvent,t.logError=r.logError,t.errorToStats=r.errorToStats},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;var r=n(64).M,o={pid:"",encode:{key:""},replaceClasses:[],detect:{links:[],custom:[],iframes:[]},cookieMatching:{publisherTag:"",publisherKey:"",types:[],type:n(320).AdblockCookieMatchingType.doNotMatch,redirectUrl:["//webcf.waybackmachine.org/web/20211025204422/https://an.yand","ex.ru/map","uid/"].join(""),imageUrl:"/static/img/logo.gif/",cryptedUidUrl:"https://webcf.waybackmachine.org/web/20211025204422/https://http-check-headers.yandex.ru",cryptedUidCookie:"crookie",cryptedUidTTL:336},additionalParams:{},cookieTTL:336,extuidCookies:[],debug:!1,force:!1,disableShadow:!1,forcecry:{enabled:!1,expires:0,percent:0},treeProtection:{enabled:!1},countToXhr:!1,blockToIframeSelectors:[],pcodeDebug:!1};t.config="string"==typeof r?o:r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_KEY=void 0,t.SESSION_KEY="sessionId"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeNodeFromParent=void 0,t.removeNodeFromParent=function(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectEntries=void 0,t.getObjectEntries=function(e){return"function"==typeof Object.entries?Object.entries(e):n(37).getObjectKeys(e).map((function(t){return[t,e[t]]}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeEventListenerFunction=t.addEventListenerFunction=void 0;t.addEventListenerFunction=function(e,t,n){e.attachEvent("on"+t,n)};t.removeEventListenerFunction=function(e,t,n){e.detachEvent("on"+t,n)},n(43).getNativeMethod(document,"addEventListener")&&n(43).getNativeMethod(document,"removeEventListener")&&(t.addEventListenerFunction=function(e,t,r,o){var i=e&&n(43).getNativeMethod(e,"addEventListener");i&&i.call(e,t,r,o)},t.removeEventListenerFunction=function(e,t,r,o){var i=e&&n(43).getNativeMethod(e,"removeEventListener");i&&i.call(e,t,r,o)})},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.triggerOnCustomElementClick=t.triggerAltCallback=t.triggerOnClick=t.triggerWarning=t.triggerError=t.destroyCallbacks=t.registerCallbacks=void 0;var r={};t.registerCallbacks=function(e,t){r[e]={outer:n(422).normalizeCallbacks(t),status:"ok"}},t.destroyCallbacks=function(e){delete r[e]},t.triggerError=function(e,t,n){var o=r[e];o&&"ok"===o.status&&(o.outer.onError?(o.status="error",o.outer.onError({type:"error",code:t,text:n})):console.error(t,n))},t.triggerWarning=function(e,t,n){var o=r[e];o&&"ok"===o.status&&(o.outer.onError?o.outer.onError({type:"warning",code:t,text:n}):console.info(t,n))},t.triggerOnClick=function(e,t){var n=r[e];n&&n.outer.onClick&&n.outer.onClick(t)},t.triggerAltCallback=function(e,t){var n=r[e];n&&"ok"===n.status&&n.outer.altCallback&&(n.status="alt",n.outer.altCallback(t))},t.triggerOnCustomElementClick=function(e){var t,n,o=r[e];o&&(null===(n=(t=o.outer).onCustomElementClick)||void 0===n||n.call(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHead=void 0,t.getHead=function(e){var t=e.document,n=t.getElementsByTagName("head")[0];return n||(n=t.createElement("head"),t.documentElement.appendChild(n)),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.random=void 0,t.random=n(215).IS_BROKEN_MATH_RANDOM?n(216).pseudoRandom:function(){return Math.random()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isolate=void 0,n(8).protect.log=n(13).logger.warn,t.isolate=function(e){return n(8).protect("isolate",e||n(3).noop,this,(function(e){e.preventProtect=!0}))}},function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.isHostInList=void 0;var a=i(n(332));t.isHostInList=function(e,t){void 0===e&&(e=window);var r=n(80).getHostWithPath(e);if(n(244).isTurboPage(e)||n(36).isAMP)return!1;for(var o=[],i=0;i<t.length;i++){var s=t[i],u=a[s];o=o.concat(u)}for(var c=0;c<o.length;c++)if(o[c].test(r))return!0;return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOP_FRIENDLY_WINDOW=void 0;var r=n(90).parentFriendlyIFrames.length;t.TOP_FRIENDLY_WINDOW=r>0?n(90).parentFriendlyIFrames[r-1].ownerDocument.defaultView:window},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateHexString=void 0,t.generateHexString=function(e){for(var t="",r=0;r<e;r++)t+=(16*n(56).random()|0).toString(16);return t}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.pcodeDebugFlag=t.getPcodeDebugFlag=t.urlCodeVersions=t.getUrlCodeVersions=t.debugParameters=t.getUrlDebugParameters=t.getPcodeAbFlags=t.getAdditionalBanners=void 0;var o=n(96).memoize((function(e){return{search:n(20).parseQueryString(e.search),hash:n(20).parseQueryString(e.hash)}})),i=n(36).isAMP&&(null===(r=window.context)||void 0===r?void 0:r.location)||window.location,a=function(e){var t=e.paramName,n=e.location,r=void 0===n?window.location:n,i=e.valueTransform,a=void 0===i?function(e){return e}:i,s=o(r),u=s.search,c=s.hash;return a(t in u?u[t]:t in c?c[t]:"")},s=function(e,t){return a({paramName:e,location:t,valueTransform:function(e){return parseInt(e,10)||void 0}})};t.getAdditionalBanners=function(e){void 0===e&&(e=i);var t=a({paramName:"additional-banners",location:e});return decodeURIComponent(t)};function u(e){return parseInt(window[e],10)||void 0}t.getPcodeAbFlags=function(e){void 0===e&&(e=i);var t={};return a({paramName:"pcode-test-flags",location:e}).split(";").forEach((function(e){var r=e.split("=");if(Boolean(r[0])){var o=r[1];try{o=n.lv["json"].parse(o)}catch(e){}t[r[0]]=o}})),t};t.getUrlDebugParameters=function(e){void 0===e&&(e=i);try{var t=decodeURIComponent(a({paramName:"ya-debug-params",location:e}));if(!t)return{};var r=n.lv["json"].parse(t);return n(70).reduce(n(37).getObjectKeys(r),(function(e,t){return function(e,t){return!!(n(2).isString(e)&&n(2).isString(t)&&e.length+t.length<512)}(t,r[t])&&(e[t]=r[t]),e}),{})}catch(e){return{}}},t.debugParameters=t.getUrlDebugParameters();t.getUrlCodeVersions=function(e){void 0===e&&(e=i);return{pcode:s("pcodever",e)||u("pcodever"),media:s("mcodever",e)||u("mcodever")}},t.urlCodeVersions=t.getUrlCodeVersions();t.getPcodeDebugFlag=function(e){void 0===e&&(e=i);return a({paramName:"pcodeDebug",location:e,valueTransform:Boolean})||!1},t.pcodeDebugFlag=t.getPcodeDebugFlag()},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.M=void 0,t.M="__ADB_CONFIG__"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInternalClass=void 0;var r={}.toString,o=/\[object (\w+)\]/;t.getInternalClass=function(e){var t=r.call(e);if(!t)return null;var n=t.match(o);if(!n)return null;var i=n[1];return i||null}},function(e,t,n){"use strict";function r(e,t){var n=e.getPropertyValue(t)||"0";return parseFloat(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.getElementInnerSize=void 0,t.getElementInnerSize=function(e){var t=n(157).getStyle(e);if("inline"===t.getPropertyValue("display"))return{width:0,height:0};var o=e.getBoundingClientRect(),i=o.width,a=o.height;Math.abs(i-e.offsetWidth)>=1&&(i=e.offsetWidth),Math.abs(a-e.offsetHeight)>=1&&(a=e.offsetHeight);var s=r(t,"padding-top")+r(t,"padding-bottom"),u=r(t,"padding-left")+r(t,"padding-right"),c=r(t,"border-top-width")+r(t,"border-bottom-width"),d=r(t,"border-left-width")+r(t,"border-right-width"),l=Math.max(0,i-u-d),f=Math.max(0,a-s-c);return{width:l>1?l:0,height:f>1?f:0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includes=void 0,t.includes=function(e,t){return-1!==n(34).indexOf(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_TOP_ANCESTOR_TRUSTED=t.TOP_ANCESTOR=void 0;var r=n(224).getTopAncestor(),o=r.topAncestor,i=r.isTrusted;t.TOP_ANCESTOR=o,t.IS_TOP_ANCESTOR_TRUSTED=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCodeScript=t.getErrorsLog=t.hide=t.show=t.destroy=t.reload=t.initialize=t.createScroll=t.createAdaptive=t.create=void 0;var r,o=window;function i(e){n(104).sendQueueStartSignal("adfox");var t=a(o,e,{methodCall:n(135).MethodCall.CREATE,queue:n(41).getCurrentQueue()});return t.initialize(),t}function a(e,t,r){t.isTurbo=n(234).isAdfoxPageTurbo(e,t.isTurbo),t.useXhr=n(582).isXhr(t);var o=new(n(584).AdFoxProxy)(e,t,r);return n(154).bannerStorage.push(o),o}function s(e,t,r){var o=n(599).adaptiveController.addBanner(e,t,r);e.cbManager.addCallback(n(233).CallbackNames.ON_DESTROY,o)}function u(e){try{e()}catch(e){o.console&&o.console.error(e)}}t.create=i,t.createAdaptive=function(e,t,r){n(104).sendQueueStartSignal("adfox");var i=a(o,e,{methodCall:n(135).MethodCall.CRETE_ADAPTIVE,queue:n(41).getCurrentQueue()});return s(i,t,r),i},t.createScroll=function(e,t,i){n(104).sendQueueStartSignal("adfox");var u=a(o,e,{methodCall:n(135).MethodCall.CREATE_SCROLL,queue:n(41).getCurrentQueue()}),c=function(){t?s(u,t,i):u.initialize()};return n(461).onDocumentReady(o,(function(){var t=n(462).adFoxLoaderParamsChecker(e).container,i=n(4).useExperimentFlag("MARGINS_FOR_LAZY_INIT");if(i){if(!r){var a={rootMargin:(n(114).isMobile?i.mobile:i.desktop)||"40% 0px",threshold:[0,.25,.5,.75,1]};r=new(n(328).ViewportObserver)(a)}var s,d=r.observe(t,(function(e){e&&(d(),s=n(155).requestAnimationFrame(c))}));u.cbManager.addCallback(n(233).CallbackNames.ON_DESTROY,(function(){d(),s&&n(155).cancelAnimationFrame(s)}))}else{var l=n(563).initByScroll(o,t,c,!0);u.cbManager.addCallback(n(233).CallbackNames.ON_DESTROY,l)}})),u},t.initialize=function(e){n(154).forEachAd(e,(function(e){u((function(){return e.initialize()}))}))},t.reload=function(e,t){n(154).forEachAd(e,(function(e){u((function(){return e.reload(t)}))}))},t.destroy=function(e){n(154).forEachAd(e,(function(e){u((function(){return e.destroy()}))}))},t.show=function(e){n(154).forEachAd(e,(function(e){u((function(){return e.show()}))}))},t.hide=function(e){n(154).forEachAd(e,(function(e){u((function(){return e.hide()}))}))},t.getErrorsLog=function(e){var t=[];return n(154).forEachAd(e,(function(e){var n=e.getErrorsLog();n.length>0&&t.push({containerId:e.getContainerId(),errorsLog:n})})),t},t.getCodeScript=function(e,t,r){var o=n(580).getOptionsFromQuery(t,r);o&&i(o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;t.reduce=function(e,t,n){var r=0;for(arguments.length<3&&(r=1,n=e[0]);r<e.length;r++)n=t(n,e[r],r,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserAgent=void 0,t.getUserAgent=function(e){void 0===e&&(e=window);try{return(e.navigator||{}).userAgent||""}catch(e){return""}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowSize=void 0,t.getWindowSize=function(){return{width:window.innerWidth,height:window.innerHeight}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unique=void 0,t.unique=function(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=r;return n(37).getObjectKeys(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyResponse=void 0,t.getEmptyResponse=function(){return{common:{}}}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowLocation=void 0,t.getWindowLocation=function(e){if(e&&e.location){var t=e.location;return"function"==typeof t.toString?t.toString():t.href||""}return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STRM_LOGS_URL=t.PCODE_LOGS_URL_ALIAS=t.PCODE_LOGS_URL=void 0,t.PCODE_LOGS_URL="https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/jstracer",t.PCODE_LOGS_URL_ALIAS="https://webcf.waybackmachine.org/web/20211025204422/https://jstracer.yandex.ru/jstracer",t.STRM_LOGS_URL="https://webcf.waybackmachine.org/web/20211025204422/https://strm.yandex.ru/log"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;t.get=function(e,t){for(var r=0,o=t.split(".");r<o.length;r++){var i=o[r];if(!n(9).isObject(e)){e=void 0;break}e=e[i]}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHostWithPath=t.getHref=t.getHost=t.getPageRef=t.getTargetRef=void 0,t.getTargetRef=function(e){void 0===e&&(e=window);try{return e.top.location.href}catch(e){}try{return e.document.referrer||e.location.href}catch(e){}return""},t.getPageRef=function(e){void 0===e&&(e=window);try{return e.top.document.referrer}catch(e){}return""},t.getHost=function(e){void 0===e&&(e=window);try{return e.location.host}catch(e){}return""},t.getHref=function(e){void 0===e&&(e=window);try{return e.location.href}catch(e){}return""},t.getHostWithPath=function(e){void 0===e&&(e=window);try{return""+e.location.hostname+e.location.pathname}catch(e){}return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ns=t.win=void 0,t.win=window,t.ns=t.win.Ya||(t.win.Ya={})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInIframe=void 0,t.isInIframe=function(e){return e.top!==e.self}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectStorage=void 0;var r=function(){function e(e){this.obj=e}return e.prototype.getItem=function(e){return this.obj[e]},e.prototype.setItem=function(e,t){this.obj[e]=t},e}();t.ObjectStorage=r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTouchDevice=void 0,t.isTouchDevice=n(101).isTouchDevice()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listToArray=void 0,t.listToArray=function(e){if(!e)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=void 0;var r=[].find;t.find=n(17).checkNativeCode(r)?function(e,t){return r.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInternetExplorerVersion=void 0;t.getInternetExplorerVersion=function(e){void 0===e&&(e=window);var t=n(160)(e);return"boolean"==typeof t?-1:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCallbacksArray=t.getCallbacksArrayName=t.getIsCompatibilityMode=void 0;var r=n(7).getYa(),o=n(7).getYaContext();t.getIsCompatibilityMode=function(){var e=n(408).getVersion();return r.versionFrozen||5699===e||5836===e};t.getCallbacksArrayName=function(){return t.getIsCompatibilityMode()?"_callbacks":o._load_callbacks?"_load_callbacks":"_callbacks"};t.getCallbacksArray=function(){return t.getIsCompatibilityMode()?o._callbacks:o._load_callbacks||o._callbacks}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parentFriendlyIFrames=void 0,t.parentFriendlyIFrames=n(133).getParentFriendlyIFrames(document.documentElement)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClass=t.removeClass=t.addClass=t._fallbackHasClass=t._hasClass=t.hasClass=t.clearClasses=void 0;var r,o="classList"in document.documentElement,i=n(148).memoizeSingle((function(e){return e.classList&&e.classList.add}),n(17).checkNativeCode),a=n(148).memoizeSingle((function(e){return e.classList&&e.classList.remove}),n(17).checkNativeCode),s=n(148).memoizeSingle((function(e){return e.classList&&e.classList.toggle}),n(17).checkNativeCode),u=(r=document.createElement("p"),!!o&&(r.classList.add("c1","c2"),!!r.classList.contains("c2")&&(r.classList.toggle("c3",!1),!r.classList.contains("c3")))),c=function(){var e=document.createElement("p");return!!o&&(e.classList.toggle("a",!1),!e.classList.contains("a"))}(),d=function(e){return e.split(" ").filter((function(e){return Boolean(e)}))};function l(e){return n(2).isString(e.className)?e.className:e.namespaceURI===n(146).NS.svg&&e.getAttribute("class")||""}function f(e,t){n(2).isString(e.className)?e.className=t:e.namespaceURI===n(146).NS.svg&&e.setAttributeNS("","class",t)}t.clearClasses=function(e){n(2).isString(e.className)?e.className="":e.namespaceURI===n(146).NS.svg&&e.setAttributeNS("","class","")};function p(e,t){for(var n=d(t),r=0;r<n.length;r++)if(!e.classList.contains(n[r]))return!1;return!0}function v(e,t){for(var n=" "+l(e)+" ",r=t.split(" "),o=0;o<r.length;o++)if(r[o]&&-1===n.indexOf(" "+r[o]+" "))return!1;return!0}function g(e,t){void 0===t&&(t=""),0!==e.className.length?i(e)?h(e,t):function(e,t){var r=l(e).split(" ").concat(t.split(" "));r=n(73).unique(n(14).filter(r,(function(e){return""!==e}))),f(e,r.join(" "))}(e,t):e.className=t}t.hasClass=function(e,t){return void 0===t&&(t=""),e.classList?p(e,t):v(e,t)},t._hasClass=p,t._fallbackHasClass=v,t.addClass=g;var h=u?function(e,t){var n,r=d(t);(n=e.classList).add.apply(n,r)}:function(e,t){for(var n=d(t),r=0;r<n.length;r++)e.classList.add(n[r])};t.removeClass=function(e,t){return void 0===t&&(t=""),a(e)?m(e,t):function(e,t){for(var r=l(e).split(" "),o=t.split(" "),i=[],a=0;a<r.length;a++)r[a]&&-1===n(34).indexOf(o,r[a])&&i.push(r[a]);f(e,i.join(" "))}(e,t)};var m=u?function(e,t){var n,r=d(t);(n=e.classList).remove.apply(n,r)}:function(e,t){for(var n=d(t),r=0;r<n.length;r++)e.classList.remove(n[r])};var _=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=!t.hasClass(e,n)),r?g(e,n):t.removeClass(e,n)};t.toggleClass=c?function(e,t,n){if(void 0===t&&(t=""),s(e))for(var r=d(t),o=0;o<r.length;o++)void 0===n?e.classList.toggle(r[o]):e.classList.toggle(r[o],n);else _(e,t,n)}:_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsIOS=void 0,t.getIsIOS=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent.toLowerCase();return/ipad|iphone|ipod/.test(t)&&!e.MSStream&&!n(152).isUCBrowser(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;t.every=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n,e))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssPrefixes=t.prefixes=void 0,t.prefixes=["","webkit","moz","o","ms"],t.cssPrefixes=["","-webkit-","-ms-","-moz-","-o-"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize=t.ObjectCache=void 0;var r=function(){function e(e){this.cache=e}return e.prototype.get=function(e){return this.cache[e]},e.prototype.has=function(e){return e in this.cache},e.prototype.set=function(e,t){this.cache[e]=t},e}();t.ObjectCache=r;t.memoize=function(e,t,n){return void 0===t&&(t=function(e){return e}),void 0===n&&(n=new r({})),function(){var r=t.apply(this,arguments);if(n.has(r))return n.get(r);var o=e.apply(this,arguments);return n.set(r,o),o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PRODUCT_MARKERS=void 0,t.PRODUCT_MARKERS={DIRECT:1,RTB:2,PERFORMANCE:3,DISTRIBUTION:4,ADFOX:5,WIDGET:13,OLD_BUILD:14,LONG_SESSION:15}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInSecureIFrame=void 0,t.isInSecureIFrame=n(228).isInSecureIFrame()},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTouchDevice=void 0,t.isTouchDevice=function(e){return void 0===e&&(e=window),n(210).hasTouchPoints(e)||n(212).isMatchingAnyPointerCoarse(e)||n(213).isMatchingTouchEnabled(e)||n(214).hasDocumentTouch(e)||n(188).hasTouchEvents(e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupportsCaptureOption=t.isSupportsPassiveOption=t.isSupportsOnceOption=void 0,t.isSupportsOnceOption=!1,t.isSupportsPassiveOption=!1,t.isSupportsCaptureOption=!1;try{if(n(172).getHasObjectDefineProperty()){var r=document.createElement("div"),o={};Object.defineProperty(o,"once",{get:function(){return t.isSupportsOnceOption=!0}}),Object.defineProperty(o,"passive",{get:function(){return t.isSupportsPassiveOption=!0}}),Object.defineProperty(o,"capture",{get:function(){return t.isSupportsCaptureOption=!0}}),n(52).addEventListenerFunction(r,"click",n(3).noop,o)}}catch(e){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendQueueStartSignal=t.sendQueueReadySignal=void 0;var r={},o=function(e){return function(t){var o="queue_"+t+"_"+e;if(!r[o])if(window&&window.performance){r[o]=!0;var i=performance.now();n(185).loadRum().then(n(8).protect("createQueueSignal:loadRum",(function(e){e&&e.isRumInited()&&e.sendDelta(o,i)})))}else r[o]=!0}};t.sendQueueReadySignal=o("ready"),t.sendQueueStartSignal=o("start")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bundleVersion=t.loaderVersion=void 0,t.loaderVersion=46682,t.bundleVersion=46682},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.experimentBitValues=t.AdfoxTesttag=t.Bits=void 0;var a;!function(e){e["marker"]="marker",e["isXhr"]="isXhr",e["isIframe"]="isIframe",e["plugin"]="plugin",e["isPrepareCode"]="isPrepareCode",e["isXhrExperiment"]="isXhrExperiment",e["isAllCookies"]="isAllCookies",e["isInitializationByViewportSlice"]="isInitializationByViewportSlice",e["isInitializationByViewportTarget"]="isInitializationByViewportTarget",e["version"]="version",e["lastBit"]="lastBit",e["adfoxDomain"]="adfoxDomain",e["adfoxDomainExpPlace"]="adfoxDomainExpPlace",e["anYandexRuExp"]="anYandexRuExp",e["isAnYandexLoader"]="isAnYandexLoader",e["comboLoaderExp"]="comboLoaderExp",e["redirectToComboLoaderExp"]="redirectToComboLoaderExp",e["smartSsrExpEnabled"]="smartSsrExpEnabled",e["smartSsrExpRender"]="smartSsrExpRender",e["methodCall"]="methodCall",e["marginsForLazyInitExp"]="marginsForLazyInitExp",e["reloadTimeoutExp"]="reloadTimeoutExp",e["reloadIfAdWasSeenExp"]="reloadIfAdWasSeenExp"}(a=t.Bits||(t.Bits={}));var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTemplate=function(){return[[4,a.marker],[1,a.isXhr],[1,a.isPrepareCode],[1,a.isAnYandexLoader],[2,a.comboLoaderExp],[2,a.redirectToComboLoaderExp],[1,a.isXhrExperiment],[4,a.marginsForLazyInitExp],[1,a.isIframe],[3,a.methodCall],[1,a.isAllCookies],[1,a.isInitializationByViewportSlice],[1,a.isInitializationByViewportTarget],[2,null],[1,a.smartSsrExpEnabled],[1,a.smartSsrExpRender],[2,a.reloadTimeoutExp],[2,a.reloadIfAdWasSeenExp],[8,null],[10,a.version],[1,a.plugin],[2,null],[1,a.lastBit]]},t.prototype.defaults=function(){var e,t;return i(((e={})[a.marker]=n(97).PRODUCT_MARKERS.ADFOX,e[a.isIframe]=Number(window.top!==window.self),e[a.plugin]=!1,e[a.isAllCookies]=n(349).isAllCookies,e[a.isInitializationByViewportSlice]=n(285).isInitializationByViewportSlice,e[a.isInitializationByViewportTarget]=n(285).isInitializationByViewportTarget,e[a.isAnYandexLoader]=n(112).isAnYandexLoader(),e[a.comboLoaderExp]=n(112).comboLoaderExperimentValue(),e[a.redirectToComboLoaderExp]=n(112).redirectToComboLoaderExperimentValue(),e),n(4).useExperimentFlag("IGNORE_VERSION_IN_TESTTAG_17863")?{}:((t={})[a.version]=Number(n(350).getBundleVersion()),t))},t}(n(110).AbstractTesttag);t.AdfoxTesttag=s,t.experimentBitValues=function(e){return"exp"===e?3:"ctl"===e?1:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consoleWarn=t.consoleLog=void 0;t.consoleLog=function(e,t){return void 0===t&&(t=""),!1};t.consoleWarn=function(e,t){return void 0===t&&(t=""),!1}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.deleteCookie=t.getCookie=t.setCookie=void 0;t.setCookie=function(e,t,r,o){void 0===o&&(o={}),n(143).isDate(o.expires)&&(o.expires=o.expires.toUTCString()),void 0===o.path&&(o.path="/");var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a]));try{var s=encodeURIComponent(String(t))+"="+encodeURIComponent(String(r));return e.cookie=s+i}catch(e){return}};t.getCookie=function(e,t){var n=[];try{n=e.cookie?e.cookie.split("; "):[]}catch(e){}for(var r,o=/(%[0-9A-Z]{2})+/g,i=0;i<n.length;i++){var a=n[i].split("="),s=a.slice(1).join("=");try{var u=a[0].replace(o,decodeURIComponent);if(s.replace(o,decodeURIComponent),t===u){r=decodeURIComponent(s);break}}catch(e){return}}return r};t.deleteCookie=function(e,n,o){t.setCookie(e,n,"",r(r({},o),{expires:new Date(0)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomInt=void 0,t.getRandomInt=function(e,t){var r=e+n(56).random()*(t+1-e);return r=Math.floor(r)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractTesttag=void 0;var o=function(){function e(e){void 0===e&&(e={}),this.props={},this.setProps(r(r({},this.defaults()),e))}return e.sliceBits=function(e,t,r){return n(134).sliceBits(e,t,r)},e.prototype.defaults=function(){return{}},e.prototype.toString=function(){return this.serialize().toString()},e.prototype.setProps=function(e){var t=this;return n(9).isObject(e)&&n(0).forEach(this.getTemplate(),(function(n){var r=n[1];r&&e.hasOwnProperty(r)&&(t.props[r]=e[r])}),this),this},e.prototype.getProps=function(){return r({},this.props)},e.prototype.clone=function(){return new(0,this.constructor)(this.props)},e.prototype.serialize=function(){var e,t,r=(e=this.getTemplate(),t=this.props,n(6).map(e,(function(e){var n=e[0],r=e[1];return[n,r&&t[r]||null]})));return n(134).joinBits(r)},e.prototype.slice=function(t,n){return e.sliceBits(this.serialize(),t,n)},e}();t.AbstractTesttag=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logSSPErrorEvent=t.logSSPEvent=void 0;var r=n(8).protect("SSP_EXP:getLogData",(function(e){var t,r,o,i;return{sspId:e.common.sspId,adsId:n(6).map(null!==(r=null===(t=e.direct)||void 0===t?void 0:t.ads)&&void 0!==r?r:[],(function(e){return e.bs_data.adId})).join(","),hitLogId:n(6).map(null!==(i=null===(o=e.direct)||void 0===o?void 0:o.ads)&&void 0!==i?i:[],(function(e){return e.bs_data.hitLogId})).join(",")}}));t.logSSPEvent=function(e,t){t&&n(13).logger.log(r(t),e,100)};t.logSSPErrorEvent=function(e,t,r){void 0===r&&(r=100),t&&n(13).logger.log(t,e,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redirectToComboLoaderExperimentValue=t.comboLoaderExperimentValue=t.isAnYandexLoader=t.initLoaderScriptConfig=void 0;var r={};t.initLoaderScriptConfig=function(){var e,t=document.currentScript;try{if(null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.config){var o=decodeURIComponent(t.dataset.config).replace(/"/g,'"');r=n.lv["json"].parse(o)}}catch(e){}"string"==typeof(null==t?void 0:t.src)&&(r.isAnYandexLoader=0===t.src.indexOf("https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/system/adfox.js")||0===t.src.indexOf("https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads/system/adfox.js"))},t.isAnYandexLoader=function(){return Boolean(r.isAnYandexLoader)},t.comboLoaderExperimentValue=function(){return void 0!==r.COMBO_EXP?r.COMBO_EXP?3:2:0},t.redirectToComboLoaderExperimentValue=function(){return void 0!==r.REDIRECT_TO_COMBO_EXP?r.REDIRECT_TO_COMBO_EXP?3:2:0}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=void 0,t.isMobile=n(199).isMobile()},,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.updateSafeframeSize=t.isInSafeframe=t.nukeSafeframe=t.initSafeframe=t.loadSafeframe=t.getSafeframeLoaderURL=void 0;var o=window;o.yaSafeFrameCallbacksStorage=o.yaSafeFrameCallbacksStorage||{};var i=n(127).isEncoded("https://webcf.waybackmachine.org/web/20211025204422/https://yastatic.net/safeframe/1-1-0/");function a(){var e=["https://webcf.waybackmachine.org/web/20211025204422/https://yastatic",".net/safeframe-bundles/0."+n(137).getSafeframeVersion()+"/",i?"host_adb.js":"host.js"].join("");return i?n(127).encode(e):e}function s(e){e.isLoadingSafeframeStarted||(e.isLoadingSafeframeStarted=!0,n(123).loadCustomScript({win:e,src:a(),hasCors:!i}))}function u(e){var t=e["yaSafeFrameAsyncCallbacks"]||[];return e["yaSafeFrameAsyncCallbacks"]=t,t}function c(e,t){delete e.yaSafeFrameCallbacksStorage[t]}function d(e){return Boolean(e.$sf&&e.$sf.ext)}t.getSafeframeLoaderURL=a,t.loadSafeframe=s,t.initSafeframe=function(e,t,o,i,a,d,l){void 0===i&&(i=n(3).noop),void 0===a&&(a=n(3).noop),void 0===d&&(d=n(3).noop),s(e);var f=u(e),p=o.id instanceof Element?"":o.id,v=function(e,t){return t||e.id||"sf-"+(Math.floor(4294967295*Math.random())+1)}(t,p);f.push((function(){e.yaSafeFrameCallbacksStorage=e.yaSafeFrameCallbacksStorage||{},e.yaSafeFrameCallbacksStorage[v]={onError:i,onRender:a,onAction:d},function(e,t){e.yaSafeFrameCallbacksStorage=e.yaSafeFrameCallbacksStorage||{};var n=e.yaSafeFrameCallbacksStorage;new e.$sf.host.Config(r({auto:!1,onFailure:function(e,t,r){n[e]&&n[e].onError(e,r)},onEndPosRender:function(e,t,r){n[e]&&n[e].onRender(e,r)},onPosMsg:function(t,r,o){n[t]&&n[t].onAction(r,o),"nuke"===r&&c(e,t)}},t))}(e,l?{query:l}:void 0),function(e,t,n,r){t.id=r;var o=n.html,i=n.width,a=n.height,s=n.basePath,u={id:r,html:o,conf:{nonce:n.nonce,w:i,h:a,dest:t,protected:n["protected"],sandbox:n.sandbox,basePath:s}};n.supports&&(u.conf.supports=n.supports),e.$sf.host.render(u)}(e,t,o,v)}))},t.nukeSafeframe=function(e,t){s(e),u(e).push((function(){c(e,t),e.$sf.host.nuke(t)}))},t.isInSafeframe=d,t.updateSafeframeSize=function(e,t){if(d(e)){var n=e.$sf.ext.geom(),r=n.self.w+n.exp.r,o=n.self.h+n.exp.b,i=r>t.width?t.width-n.self.w:n.exp.r,a=o>t.height?t.height-n.self.h:n.exp.b;e.$sf.ext.expand({t:0,l:0,r:i,b:a})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RECOVER_PARAMS=void 0;var r="_$".split("").reverse().join(""),o=function(e){return"_$invalid_"+e+r};t.RECOVER_PARAMS={sensorName:o("sensor_name"),labelKey:o("label_key"),labelValue:o("label_value")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasOwnProperty=void 0,t.hasOwnProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBlockId=void 0,t.parseBlockId=function(e){var t={product:null,pageId:null,impId:null};if(!e)return t;var n=e.lastIndexOf("-");if(-1===n)return t;var r=e.lastIndexOf("-",n-1),o=e.slice(r+1,n);return parseInt(o,10)?(t.pageId=o,t.impId=e.slice(n+1),-1!==r&&(t.product=e.slice(0,e.indexOf("-"))),t):t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.set=void 0;t.set=function(e,t,r){if(!n(9).isObject(e))return e;for(var o=e,i=t.split("."),a=i.pop(),s=0,u=i;s<u.length;s++){var c=u[s],d=e[c];e=n(9).isObject(d)?d:e[c]={}}return e[a]=r,o}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sendAssetsInfo=t.sendNetworkInfo=t.sendRenderData=void 0;var o={browser:n(364).getBrowserName(),device:n(364).getDeviceName()};t.sendRenderData=function(e,t){var i=n(11).renderPerfomanceManager.getInfo(e);i&&n(22).logValues({name:n(144).EVENT_RENDER_PERFOMANCE,values:i.timing,data:r(r({},i.data),{testtag:t}),labels:o}),n(11).renderPerfomanceManager.stopLoggingTime(e)},t.sendNetworkInfo=function(e){var t=n(348).networkPerfomaceManager.getNewEntries();t&&n(22).logValues({name:n(144).EVENT_NETWORK_PERFOMANCE,values:t,data:{testtag:e,adSessionId:n(38).getSessionId()},labels:o})};var i=0;t.sendAssetsInfo=function(){if(window.performance)try{var e={},t={},r=0,a=0,s=n(14).filter(performance.getEntriesByType("resource"),(function(e){return e.name.indexOf("banners.adfox.ru")>=0}));n(0).forEach(s.slice(i,s.length),(function(o){var i=n(20).parseUrl(o.name).pathname.toLowerCase();/\.js$/.test(i)?(t[o.name]=o.duration,a++):/\.(jpg|png|jpeg|webp|gif|ico)$/.test(i)&&(e[o.name]=o.duration,r++)})),i=s.length,r&&n(22).logValues({name:n(144).EVENT_IMAGES_LOAD_PERFOMANCE,values:e,data:{adSessionId:n(38).getSessionId(),images:e},labels:o}),a&&n(22).logValues({name:n(144).EVENT_SCRIPTS_LOAD_PERFOMANCE,values:t,data:{adSessionId:n(38).getSessionId(),scripts:t},labels:o})}catch(e){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadCustomScript=void 0,t.loadCustomScript=function(e){var t=e.win.document.createElement("script");return t.async=!0,e.nonce&&(t.nonce=e.nonce),n(1).isFunction(e.onLoad)&&(t.onload=function(){t.onload=function(){},n(1).isFunction(e.onLoad)&&e.onLoad()}),e.hasCors="boolean"!=typeof e.hasCors||e.hasCors,e.hasCors&&t.setAttribute("crossorigin","anonymous"),t.src=e.src,e.container?e.container.appendChild(t):n(55).getHead(e.win).appendChild(t),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generatePr=void 0;t.generatePr=function(){return Math.floor(4294967295*Math.random())+1}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testProperty=void 0;t.testProperty=function(e,t){if(void 0===t&&(t=n(95).cssPrefixes),!e)return!1;var r=e.split(":"),o=r[0],i=r[1];if(i||(i="none"),window.CSS&&window.CSS.supports){for(var a=0;a<t.length;a++)if(window.CSS.supports(t[a]+o,i))return!0;return!1}var s=new Image;for(a=0;a<t.length;a++)if(s.style.cssText=t[a]+o+":"+i,s.style.length)return!0;return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.isEncoded=t.decode=void 0,t.decode=function(e){return n(149).serverEncodeEnabled(n(48).config.fn)?n(48).config.fn.decodeUrl(e):e},t.isEncoded=function(e){return!!n(149).serverEncodeEnabled(n(48).config.fn)&&n(48).config.fn.isEncodedUrl(e)},t.encode=function(e){return n(149).serverEncodeEnabled(n(48).config.fn)?n(48).config.fn.encodeUrl(e):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.brakePointsStatId=t.brakeFor=t.brakePointsExp=t.POINT_NAME=void 0,function(e){e["LOADER_INIT"]="loaderInit",e["ADV_MANAGER_INIT"]="advManagerInit",e["DOM_RENDERING"]="domRendering"}(t.POINT_NAME||(t.POINT_NAME={}));var r={};function o(e,t){var n=performance.now();for(t&&t();performance.now()-e<n;);return performance.now()-n}t.brakePointsExp=o;var i=n(15).once((function(){if(n(4).useExperimentFlag("BRAKE_POINTS",!0)){var e=n(4).useExperimentFlag("BRAKE_POINTS_DOMAINS");if(e){var t=n(245).getHostnameOrYandexPageName(window.location);return n(67).includes(e,t)}return!0}return!1}));t.brakeFor=function(e){if(i()){a();var t=n(4).useExperimentFlag("BRAKE_POINTS")||r,s=null==t?void 0:t[e];if(s){o(s);0}}},t.brakePointsStatId=function(){if(i())return n(4).useExperimentFlag("BRAKE_POINTS_STAT_ID")};var a=n(15).once((function(){setTimeout((function(){n(193).initPcodeMetrikaCounter()}),0)}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0;var r=function(){var e=this;this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};t.Deferred=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingMediaQuery=void 0,t.isMatchingMediaQuery=function(e,t){if(!n(1).isFunction(e.matchMedia))return!1;var r=e.matchMedia(t);return n(9).isObject(r)&&Boolean(r.matches)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateNow=void 0;var r=Date&&n(1).isFunction(Date.now);t.dateNow=r?function(){return Date.now()}:function(){return(new Date).getTime()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCrossFrameStorage=void 0;var r=n(15).once((function(){return n(275).getCrossFrameDataSource(self,"Ya.pcodeCrossFrameData",(function(){return new(n(83).ObjectStorage)({})}))}));t.getCrossFrameStorage=function(e){return n(170).getOrCreateItem(r(),e,(function(){return new(n(83).ObjectStorage)({})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentFriendlyIFrames=void 0,t.getParentFriendlyIFrames=function(e,t){if(void 0===t&&(t=!0),n(181).isSafariBasedBrowser&&t)return[];for(var r=[],o=e;;)try{if(!(o=o.ownerDocument.defaultView.frameElement))return r;r.push(o)}catch(e){return r}}},function(e,t,n){"use strict";function r(e,t){return o(function(e,t){return Number(e)&Math.pow(2,t)-1}(e,t).toString(2),t)}function o(e,t){return n(204).padLeft(e,t,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.sliceBits=t.joinBits=void 0,t.joinBits=function(e){for(var t=[],n=0,o=e;n<o.length;n++){var i=o[n],a=i[0],s=r(i[1],a);t.push(s)}return function(e){if(e.length>53)throw new Error("bitString_overflow");return parseInt(e,2)}(t.reverse().join(""))},t.sliceBits=function(e,t,n){var r=t+n,i=o(e.toString(2),r).substr(-r,n);return parseInt(i,2)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerStates=t.MethodCall=void 0,function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["CREATE"]=1]="CREATE",e[e["CRETE_ADAPTIVE"]=2]="CRETE_ADAPTIVE",e[e["CREATE_SCROLL"]=3]="CREATE_SCROLL"}(t.MethodCall||(t.MethodCall={})),function(e){e["desktop"]="desktop",e["tablet"]="tablet",e["phone"]="phone"}(t.BannerStates||(t.BannerStates={}))},function(e,t,n){"use strict";t.__esModule=!0,t.isWebkit=t.isSVGSupported=t.isPassiveEventsSupported=t.isCanvasSupported=t.isIe=t.isFirefox=t.ieVer=t.isSafeframe=t.isAMP=t.isTouch=void 0;var r=(navigator||{}).userAgent||"",o=void 0!==window.ontouchstart;t.isTouch=o;var i=n(160)();var a=Boolean(window.ampSeen);t.isAMP=a;var s=Boolean(window.$sf&&window.$sf.ext);t.isSafeframe=s;var u=i;t.ieVer=u;var c=/Firefox/gi.test(r);t.isFirefox=c;var d=Boolean(i);t.isIe=d;var l,f=(l=document.createElement("canvas"),Boolean(l&&l.getContext&&l.getContext("2d")));t.isCanvasSupported=f;var p=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();t.isPassiveEventsSupported=p;t.isSVGSupported=!0;var v=/WebKit/gi.test(r);t.isWebkit=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSafeframeVersion=t.getSafeframeVersion=void 0;var r=82;t.getSafeframeVersion=function(){return r},t.setSafeframeVersion=function(e){e&&(r=e)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.stats=t.Stats=t.CREATE_TAGS_FOR_STATS_DEFAULT=t.SEPARATE_SIGN=void 0,t.SEPARATE_SIGN="_";t.CREATE_TAGS_FOR_STATS_DEFAULT=function(e){var o,i=e.eventType,a=e.eventName,s=e.value,u=e.values,c={};return n(21).forOwn(u,(function(e,n){c[""+i+t.SEPARATE_SIGN+a+t.SEPARATE_SIGN+n]=e})),r(((o={})[""+i+t.SEPARATE_SIGN+a]=s,o),c)};var i=function(e){return e.isFatal?n(16).StatsEventType.fatal:n(16).StatsEventType.error},a=/^\w(\-|_|:|\s|\.|\w){1,20}$/,s=/^\w(\-|_|:|\s|\.|\w){0,70}$/,u=/^\w(\-|_|:|\s|\.|\w){1,70}$/,c=function(){function e(t){var a=this;this.rootFields={},this.labels={},this.event=function(e){var t=e.name,r=e.data,o=e.labels,i=e.probability,s=e.extraRootFields;a.push({eventType:n(16).StatsEventType.event,eventName:t,data:r,additionalStatsLabels:o,probability:i,extraRootFields:s})},this.error=function(e){var t=e.error,r=e.labels,o=e.probability,s=e.extraRootFields,u=new(n(24).CustomError)(t);a.push({eventName:String(u.code),eventType:i(u),data:u,additionalStatsLabels:r,probability:o,extraRootFields:s})},this.value=function(e){var t=e.name,r=e.value,o=e.data,i=e.labels,s=e.probability,u=e.extraRootFields;a.push({eventName:t,value:r,eventType:n(16).StatsEventType.value,data:o,additionalStatsLabels:i,probability:s,extraRootFields:u})},this.values=function(e){var t=e.name,r=e.values,o=e.data,i=e.labels,s=e.probability,u=e.extraRootFields;a.push({eventName:t,eventType:n(16).StatsEventType.values,data:o,additionalStatsLabels:i,probability:s,values:r,extraRootFields:u})},this.warning=function(e){var t=e.name,r=e.message,o=e.probability,i=e.extraRootFields;n(9).isObject(console)&&n(1).isFunction(console.warn)&&console.warn(r),a.push({eventName:t,eventType:n(16).StatsEventType.warning,data:{message:r},probability:o,extraRootFields:i})},this.getParams=function(){var e=a.params;e.onLogError;return o(e,["onLogError"])},this.setRootFields=function(e){n(51).getObjectEntries(e).forEach((function(e){var t=e[0],n=e[1];void 0===n?delete a.rootFields[t]:a.rootFields[t]=n}))},this.setLabels=function(e){n(51).getObjectEntries(e).forEach((function(e){var t=e[0],n=e[1];void 0===n?delete a.labels[t]:a.labels[t]=n}))},this.eventToStats=function(e,t,r,o){a.push({eventType:n(16).StatsEventType.event,eventName:e,data:t,additionalStatsLabels:r,extraRootFields:o})},this.errorToStats=function(e,t,r){var o=new(n(24).CustomError)(e);a.push({eventName:String(o.code),eventType:i(o),data:o,additionalStatsLabels:t,extraRootFields:r})},this.deprecated=function(e,t){n(9).isObject(console)&&n(1).isFunction(console.warn)&&console.warn(t),a.push({eventName:e,eventType:n(16).StatsEventType.deprecated,data:{message:t}})},this.valueToStats=function(e,t,r,o){a.push({eventName:e,value:t,eventType:n(16).StatsEventType.value,data:r,additionalStatsLabels:o})};var s=t.onLogError;this.params=r(r({},t),{sid:t.sid||n(61).generateHexString(n(164).DEFAULT_SID_LENGTH),onLogError:s?function(e){try{s(e)}catch(e){n(165).rethrowError(e)}}:n(165).rethrowError}),this.logUrl=e.getLogUrl(t),this.isStrmLogUrl=this.logUrl===n(78).STRM_LOGS_URL}return e.getLogUrl=function(e){return e.logUrl?e.logUrl:!0===e.useAlias?n(78).PCODE_LOGS_URL_ALIAS:n(78).PCODE_LOGS_URL},e.prototype.push=function(t){var o,i=t.eventName,a=t.eventType,s=t.data,u=void 0===s?{}:s,c=t.additionalStatsLabels,d=t.value,l=void 0===d?1:d,f=t.probability,p=void 0===f?1:f,v=t.values,g=void 0===v?{}:v,h=t.extraRootFields,m=void 0===h?{}:h;if(n(264).portion(p)){var _=this.params,b=_.service,y=_.version,O={service:b,version:y,data:u,eventName:i,eventType:a,additionalStatsLabels:c,value:l,values:g};if(e.isSendingData)throw new(n(24).CustomError)({message:"RecursiveStatsRequests",details:{service:b,version:y,eventType:a,eventName:i}});e.isSendingData=!0;try{var w=this.logUrl;this.params.sendOnlyPrimaryParams||(w=n(20).addParamsToUrl(this.logUrl,r(((o={})[b]=y,o[a]=i,o),c)));var S=this.createFullStatsObject(O,m),E=m.routeToJSTracer,P=void 0===E||E;this.isStrmLogUrl&&P&&(S.routeToJSTracer=!0),this.sendData(w,n(163).jsonStringifyCircular(S))}catch(t){e.isSendingData=!1,this.params.onLogError(new(n(24).CustomError)(t,{details:{service:b,version:y,eventType:a,eventName:i}}))}e.isSendingData=!1}},e.prototype.sendData=function(e,t){if(this.params.useSendBeacon&&n(265).sendBeaconShim(e,t))return;n(46).request({url:e,data:t,method:"POST",onBeforeSend:this.params.onBeforeSend})},e.prototype.createFullStatsObject=function(e,o){var i=e.service,c=e.version,d=e.eventName,l=e.eventType,f=e.data,p=e.additionalStatsLabels,v=e.value,g=(this.params.createTagsFunction||t.CREATE_TAGS_FOR_STATS_DEFAULT)(e),h=r(r(r({},this.labels),p),{version:this.params.version}),m={service:i,tags:n(167).entriesToObject(n(51).getObjectEntries(g).map((function(e){var t=e[0],r=e[1];return u.test(t)?[t,r]:[n(118).RECOVER_PARAMS.sensorName,r]}))),labels:n(167).entriesToObject(n(51).getObjectEntries(h).map((function(e){var t=e[0],r=e[1];return a.test(t)||(t=n(118).RECOVER_PARAMS.labelKey),s.test(r)||(r=n(118).RECOVER_PARAMS.labelValue),[t,r]})))},_=n(141).getTopLocationData(document),b=_.location,y=_.referrer;return r(r(r(r({},o),this.rootFields),m),{timestamp:Date.now(),eventType:l,eventName:d,data:f,sid:this.params.sid,version:c,location:n(77).getWindowLocation(window),topLocation:b,topAncestor:n(68).TOP_ANCESTOR,isTopAncestorUndetermined:!n(68).IS_TOP_ANCESTOR_TRUSTED||void 0,ancestorOrigins:n(266).ANCESTOR_ORIGINS,documentIsVisible:n(267).getDocumentVisibility(document),referrer:window.document.referrer,topReferrer:y,currentScriptSrc:n(168).CURRENT_SCRIPT_SRC,secureIFrame:n(98).isInSecureIFrame,isVideoADB:n(1).isFunction(n(205).videoEncode),value:v,rnd:n(166).RANDOM,topDocumentFocus:n(269).getTopDocumentFocus()})},e.isSendingData=!1,e}();t.Stats=c,t.stats=new c({service:n(270).COMMON_LOCAL_STATS_SERVICE_NAME,version:"0",sid:n(61).generateHexString(n(164).DEFAULT_SID_LENGTH)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementById=void 0,t.getElementById=function(e){return document.getElementById(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAncestorOrigins=void 0,t.getAncestorOrigins=function(e){return n(225).isAncestorOriginsSupported?n(86).listToArray(e.location.ancestorOrigins):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopLocationData=void 0,t.getTopLocationData=function(e){var t="",r="";return e&&n(194).getParentLocationsData(e).reverse().forEach((function(e){var n=e.location,o=e.referrer;t=t||n,r=r||o})),{location:t,referrer:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLightHouse=void 0;var r=-1!==navigator.userAgent.indexOf("Chrome-Lighthouse");t.isLightHouse=function(){return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDate=void 0;t.isDate=function(e){return e instanceof Date||"Date"===n(65).getInternalClass(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVENT_SCRIPTS_LOAD_PERFOMANCE=t.EVENT_IMAGES_LOAD_PERFOMANCE=t.EVENT_NETWORK_PERFOMANCE=t.EVENT_RENDER_PERFOMANCE=void 0,t.EVENT_RENDER_PERFOMANCE="block_render",t.EVENT_NETWORK_PERFOMANCE="performance",t.EVENT_IMAGES_LOAD_PERFOMANCE="images_performance",t.EVENT_SCRIPTS_LOAD_PERFOMANCE="scripts_performance"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespace=t.AttributeNames=t.NS=void 0;var r=n(21);t.NS={xml:"http://www.w3.org/XML/1998/namespace",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"},t.AttributeNames={xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type"},t.AttributeNamespace={},r.forOwn(t.AttributeNames,(function(e,n){var r=e.split(":"),o=t.NS[r[0]];o&&(t.AttributeNamespace[n]=o)}))},function(e,t,n){"use strict";function r(){return n(62).pcodeDebugFlag}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0,function(e){var t=new(n(192).JSTracerLoggerSlim)("pcode_errors",String(n(23).getCodeVersion()),n(38).getSessionId()),o=new(n(277).MetrikaLogger),i=new(n(279).ErrorCounter);function a(e,t,r,o){return"string"==typeof t&&(t=new Error(t),r||(r="remoteLogString")),{namespace:r,version:n(23).getCodeVersion(),type:e,additional:o,error:t}}function s(t,n){e.debug("REMOTE_LOG: "+(n||"")+" ",t)}function u(e){return function(t,u,c,d){var l=a(e,t,u,c),f=d||25;if(r())return s(l),void console.error(l.error);n(26).isPercent(f)&&i.log(l),o.log(l)}}function c(e){return function(o,i,a){r()?s(o,i):("string"==typeof o&&(o={msg:o}),t.logData({type:e,data:o,name:i,version:String(n(23).getCodeVersion())},a))}}e.errorStrict=function(e,t){var u=a("ERROR",e,"",t),c=n(2).isString(e)&&e in n(171).allStrictErrorCodes?n(171).allStrictErrorCodes[e]:25;if(r())return s(u),void console.error(u.error);n(26).isPercent(c)&&i.log(u),o.log(u)},e.error=u("ERROR"),e.warn=u("WARNING"),e.log=c("IMPORTANT"),e.info=c("INFO"),e.debug=r()?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.warn.apply(console,e)}:n(3).noop,e.configure=function(e){t.config(e),i.config(e)},e.pc=function(){return n(26).isPercent(0)}}(t.logger||(t.logger={}))},function(e,t,n){"use strict";var r=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};function o(e){var t=r([],e),n=t.pop();if(!n||0===t.length)throw new Error("memoizeSingle need at least 2 functions as arg");return{preparers:t,resolver:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.memoizeSingle=void 0;t.memoizeSingle=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=o(e),i=r.resolver,a=r.preparers,s=null,u=null;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(s&&s.every((function(t,n){return e[n]===t})))return n;var r=a.map((function(t){return t.apply(void 0,e)}));if(u&&u.every((function(e,t){return r[t]===e})))return s=e,n;var o=i.apply(void 0,r);return s=e,u=r,n=o,o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serverEncodeEnabled=void 0,t.serverEncodeEnabled=function(e){return!!Boolean(e)&&(n(1).isFunction(e.encodeCSS)&&n(1).isFunction(e.encodeUrl)&&n(1).isFunction(e.decodeUrl)&&n(1).isFunction(e.isEncodedUrl))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsSafari=void 0;t.getIsSafari=function(e){void 0===e&&(e=window);var t=n(71).getUserAgent(e).toLowerCase();if(t.indexOf("android")>-1)return!1;var r=t.replace(/\(.+?\)/gi,"").split(" ").map((function(e){return e.trim().split("/")[0]})).filter((function(e){return e&&"mobile"!==e}));return 4===r.length&&"mozilla"===r[0]&&"applewebkit"===r[1]&&"version"===r[2]&&"safari"===r[3]}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.renderingIsCompleted=t.destroyAdSeenObserver=t.initAdSeenObserver=t.getAdSeenObserver=void 0;var o={},i="enable"===n(4).useExperimentFlag("AD_SEEN_OBSERVER");t.getAdSeenObserver=function(e){return o[e]||null},t.initAdSeenObserver=function(e,t){if(i&&void 0===o[e]){var r=new(n(456).AdSeenObserver)(t);o[e]=r,r.startObserve()}},t.destroyAdSeenObserver=function(e){var t=o[e];void 0!==t&&(t.destroy(),delete o[e])},t.renderingIsCompleted=function(e,t){var i=o[e];if(void 0!==i){i.renderingIsCompleted();var a=i.getSeenStatus(),s=[{name:"adSeenWaiting",duration:a.waiting},{name:"adSeenMissed",duration:a.missed},{name:"adSeenTotalWaiting",duration:a.total}];n(185).loadRum().then((function(e){var o=r(r({wasAdSeen:a.wasAdSeen,wasRendered:a.wasRendered,activeTestIds:n(4).getAllActiveTestIds()},t),window.yandex_context_rum_additionals),i={"-additional":encodeURIComponent(n.lv["json"].stringify(o))};n(0).forEach(s,(function(t){e&&e.sendDelta(t.name,t.duration,i)}))}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUCBrowser=void 0;t.isUCBrowser=function(e){return void 0===e&&(e=window),e.navigator.userAgent.indexOf("UCBrowser")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configureMetrika=t.metrikaAdSessionLabel=void 0,t.metrikaAdSessionLabel="adSessionID",t.configureMetrika=n(8).protect("sessionId::configureMetrika",(function(e,r){var o;n(243).pushMetrikaEvent(e,((o={})[t.metrikaAdSessionLabel]=r,o))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forEachAd=t.push=t.bannerStorage=void 0,t.bannerStorage=[],t.push=function(e){t.bannerStorage.push(e)},t.forEachAd=function(e,r){void 0===e&&(e=null);var o=function(e){if(n(2).isString(e))return n(14).filter(t.bannerStorage,(function(t){return t.getContainerId()===e}));if(e)return n(14).filter(t.bannerStorage,(function(t){return t.getContainerElement()===e}));return t.bannerStorage}(e);return n(0).forEach(o,(function(e){r(e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelAnimationFrame=t.requestAnimationFrame=void 0;var r=n(389).getAnimationFrameFunctions(window);t.requestAnimationFrame=r.requestAnimationFrame,t.cancelAnimationFrame=r.cancelAnimationFrame},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=void 0,t.getStyle=function(e,t){return void 0===t&&(t=window),("function"==typeof t.getComputedStyle?t.getComputedStyle(e,null):e.currentStyle)||{}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADSDK_JS=t.WIDGET_JS=t.CONTEXT_JS=t.AN_YANDEX_STATIC_DOMAIN=t.AN_YANDEX_DOMAIN=t.IS_YANDEX_RU_DOMAIN=void 0,t.IS_YANDEX_RU_DOMAIN=!1;var r=!1;(r=0===n(168).CURRENT_SCRIPT_SRC.indexOf("https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru"))&&"exp"===n(4).useExperimentFlag("YANDEX_RU_DOMAIN")&&(t.IS_YANDEX_RU_DOMAIN=r),t.AN_YANDEX_DOMAIN=t.IS_YANDEX_RU_DOMAIN?"yandex.ru/an":"an.yandex.ru",t.AN_YANDEX_STATIC_DOMAIN=t.IS_YANDEX_RU_DOMAIN?"yandex.ru/ads":"an.yandex.ru",t.CONTEXT_JS=t.IS_YANDEX_RU_DOMAIN?"https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads/system/context.js":"https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/system/context.js",t.WIDGET_JS=t.IS_YANDEX_RU_DOMAIN?"https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads/system/widget.js":"https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/system/widget.js",t.ADSDK_JS=t.IS_YANDEX_RU_DOMAIN?"https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads/system/adsdk.js":"https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/system/video-ads-sdk/adsdk.js"},function(e,t){e.exports=function(e){e||(e=window);var t=e.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.querySelector=void 0;t.querySelector=function(e,t){if(void 0===t&&(t=document),!n(2).isString(e))return e;var r=e.slice(0,1),o=e.slice(1);switch(r){case"#":return n(139).getElementById(o);case".":return n(86).listToArray(n(400).getElementsByClassName(o,t));default:return n(6).map(n(86).listToArray((t||document).getElementsByTagName(e)),(function(e){return e}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeUrl=void 0;var r=n(9).isObject(n(64).M)&&n(64).M.fn&&n(1).isFunction(n(64).M.fn.encodeUrl)?n(64).M.fn.encodeUrl:void 0;t.encodeUrl=void 0!==r?function(e){return r(e)}:void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jsonStringifyCircular=void 0,t.jsonStringifyCircular=function(e){var t,r,o,i;return n(183).getNativeJSON().stringify(e,(t=[],o="undefined"!=typeof WeakMap?new WeakMap:void 0,i=[],r={set:function(e,t){if(void 0!==o)try{o.set(e,t)}catch(n){i.push({path:t,value:e})}else i.push({path:t,value:e})},get:function(e){var t=n(87).find(i,(function(t){return t.value===e}));return void 0!==o&&void 0===t?o.get(e):t?t.path:void 0}},function(e,o){if(n(1).isFunction(o))return n(2).isString(o.name)?o.name:"[Function]";if(!n(9).isObject(o))return o;var i=r.get(o);if(i)return"[Circular "+i+"]";for(;t.length>0&&t[t.length-1].value[e]!==o;)t.pop();var a=(t.length>0?t[t.length-1].path:"")+(e?"/"+e:"~");return t.push({path:a,value:o}),r.set(o,a),o}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SID_LENGTH=void 0,t.DEFAULT_SID_LENGTH=64},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rethrowError=void 0,t.rethrowError=function(e){setTimeout((function(){throw e}),0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RANDOM=void 0,t.RANDOM=n(56).random()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.entriesToObject=void 0,t.entriesToObject=function(e){var t={};return e.forEach((function(e){var n=e[0],r=e[1];t[n]=r})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CURRENT_SCRIPT_SRC=void 0;var r=n(219).getCurrentScript();t.CURRENT_SCRIPT_SRC=r?r.src:""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowStorage=void 0;var r=n(15).once((function(){return n(274).getWindowDataSource(self,"Ya.pcodeWindowData",(function(){return new(n(83).ObjectStorage)({})}))}));t.getWindowStorage=function(e){return n(170).getOrCreateItem(r(),e,(function(){return new(n(83).ObjectStorage)({})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOrCreateItem=void 0;t.getOrCreateItem=function(e,t,n){var r=e.getItem(t);return r||(r=n(t),e.setItem(t,r)),r}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.allStrictErrorCodes=t.InvalidSettingErrorCodes=void 0;var o={INVALID_BLOCK_ID:1,UNKNOWN_BLOCK_TYPE:1,CONTAINER_NOT_FOUND:1};t.InvalidSettingErrorCodes={BLOCK_NOT_FOUND:1,PAGE_NOT_FOUND:100,PAGE_DISABLED:1,WRONG_DOMAIN:1};t.allStrictErrorCodes=r(r(r(r(r({},{AD_LOADER_SUCCESS:.1,AD_LOADER_XHR_ERROR:1,AD_LOADER_EMPTY_ANSWER:100,AD_LOADER_TOO_SHORT_ANSWER:1,AD_LOADER_BAD_ANSWER:100,AD_LOADER_TOO_MANY_ATTEMPTS:100}),{COLLECTION_ERROR:100}),o),t.InvalidSettingErrorCodes),{TOO_SLOW_RENDERING:.1});r(r(r({},o),t.InvalidSettingErrorCodes),{DESKTOP_FULLSCREEN:1,TOO_SMALL_CONTAINER:1,VIDEO_ERROR:1,CHUNK_LOAD:1,UNEXPECTED_DOM:1})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHasObjectDefineProperty=void 0;t.getHasObjectDefineProperty=function(e){void 0===e&&(e=window);var t=e.Object;try{var n={};return t.defineProperty(n,"sentinel",{}),"sentinel"in n}catch(e){return!1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEnv=t.publicLogOnce=t.publicLog=void 0;var r,o=[],i={},a="on"===n(4).useExperimentFlag("PUBLIC_BOARD"),s=!1;function u(e){o.push(e),function(){if(!s)return;var e=o.join("<br>");(function(){if(r)return r;r=document.createElement("div");r.setAttribute("id","debug_info"),r.setAttribute("style",["border: 1px solid red","font: 11px/1.3 sans-serif","padding: 0 7px","position: fixed","background: white","left: 0","top: 0","z-index: 1000000","cursor: pointer"].join(";"));var e=document.body||document.documentElement;return r.onclick=function(){e.removeChild(r)},e.appendChild(r),r}()).innerHTML=e}()}t.publicLog=u,t.publicLogOnce=function(e,t){i[t]||(i[t]=!0,u(e))},t.setEnv=function(e,t){s=s||"1"===e&&t&&a}},function(e,t,n){"use strict";function r(e,t,n){e.hasAttribute(t)&&n.push(" "+t+'="'+e.getAttribute(t)+'"')}Object.defineProperty(t,"__esModule",{value:!0}),t.getHead=void 0,t.getHead=function(e){var t=e.document.head,n=e.document.title,o=t.getElementsByTagName("meta"),i=["<head>"];n&&i.push("<title>"+n+"</title>");for(var a=0;a<o.length;a++){var s=(o[a].getAttribute("name")||"").toLowerCase();"description"!==s&&"keywords"!==s||(i.push("<meta"),r(o[a],"name",i),r(o[a],"content",i),i.push("/>"))}return i.push("</head>"),i.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHtml=void 0;var r=["script","style","noscript","yatag","template","iframe","svg"];t.getHtml=function(e,t,n,s){void 0===s&&(s=100);var l=e.document.getElementsByTagName(t)[0]||e.document.getElementsByClassName(t)[0],f=[];return l&&function(e,t,n,s){var l=[e],f=Number(new Date),p=0,v=0;for(;l.length>0&&p<25e3&&Number(new Date)-f<s;){var g=l.pop();if(g instanceof o)g.textContentLength===v?(n.length=g.resultLength,p=g.htmlLength):(n.push(g.name),p+=g.name.length);else if(c(g)){var h=g.textContent||"";n.push(h),p+=h.length,v+=h.length}else if(d(g)&&i(g)){var m=new o("</"+g.tagName.toLowerCase()+">",p,v,n.length);a(g,t,n),p+=n[n.length-1].length,l.push(m);for(var _=g.lastChild;_;_=_.previousSibling)if(u(_))if(c(_))l.push(_);else if(d(_)){var b=_.nodeName.toLowerCase();if("select"===b){var y=_.childNodes.length,O=_.selectedIndex;if(0!==y&&-1!==O){var w=_.options[O],S="<select><option>"+(h=w.textContent||w.innerText)+"</option></select>";n.push(S),v+=S.length}break}-1===r.indexOf(b)&&l.push(_)}}}}(l,n,f,s),f.join("").replace(/[^\w\s\u0430-\u044f\u0451"<>\/\\\-,;()?!.=:'\[\]]/gi,"").replace(/\s{2,}/g," ").replace(/>\s*</g,"><")};var o=function(e,t,n,r){this.name=e,this.htmlLength=t,this.textContentLength=n,this.resultLength=r};function i(e){var t=Boolean(e.offsetWidth||e.offsetHeight);return e&&e.getClientRects?Boolean(t||e.getClientRects().length):e&&e.currentStyle?t&&"hidden"!==e.currentStyle.visibility:t}function a(e,t,n){var r=[],o=e.tagName.toLowerCase();if(r.push("<"+o),function(e){for(var t=e.lastChild;t;t=t.previousSibling)if(c(t)&&u(t))return!0;return!1}(e))for(var i=0;i<t.length;i++)e.hasAttribute(t[i])&&r.push(" "+t[i]+'="'+e.getAttribute(t[i])+'"');r.push(">"),n.push(r.join(""))}var s=/[^\s\\]/;function u(e){if(!e.lastChild)return s.test(e.innerText);for(var t=e.lastChild;t;t=t.previousSibling){if(!t.lastChild&&s.test(t.innerText))return!0;for(var n=t.lastChild;n;n=n.previousSibling)if(s.test(n.innerText))return!0}return!1}function c(e){return e.nodeType===Node.TEXT_NODE}function d(e){return e.nodeType===Node.ELEMENT_NODE}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experimentBitValues=t.BOOLEAN_EXP_BIT_VALUES=t.DEFAULT_EXP_BIT_VALUES=void 0,t.DEFAULT_EXP_BIT_VALUES={exp:3,ctl:1},t.BOOLEAN_EXP_BIT_VALUES={true:3,false:1},t.experimentBitValues=function(e,n){return void 0===n&&(n=t.DEFAULT_EXP_BIT_VALUES),void 0!==e&&e in n?n[e]:0}},function(e,t,n){"use strict";t.__esModule=!0,t.addEvent=i,t.removeEvent=a,t.on=function(e,t,n,r){return i(e,t,n,r),function(){a(e,t,n)}},t.stop=function(e){e.stopPropagation?(e.stopPropagation(),e.preventDefault()):(e.returnValue=!1,e.cancelBubble=!0)};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n["default"]=e,t&&t.set(e,n);return n}(n(136));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t,n,o){void 0===o&&(o=!1),e.addEventListener?e.addEventListener(t,n,!!r.isPassiveEventsSupported&&o):e.attachEvent("on"+t,n)}function a(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleToString=t.setStyle=void 0;var r=new RegExp(["box-flex","box-flex-group","column-count","fill-opacity","flex","flex-grow","flex-positive","flex-shrink","flex-negative","font-weight","line-height","opacity","order","z-index","zoom"].join("|"),"i");function o(e,t,n,o){void 0!==n&&void 0!==t&&(n+=!r.test(t)&&n>>>0?"px":"",e.style.setProperty?e.style.setProperty(t,n,o?"important":""):e.style.cssText+=";"+t+": "+n+(o?"!important":""))}t.setStyle=function(e,t,r,i){n(9).isObject(t)?(i=Boolean(r),n(21).forOwn(t,(function(t,n){o(e,n,t,i)}))):o(e,t,r,i)},t.styleToString=function(e,t){void 0===t&&(t=!1);var o=t?"!important":"",i="";return n(21).forOwn(e,(function(e,t){if(void 0!==e&&void 0!==t){var n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e+=!r.test(n)&&e>>>0?"px":"",i+=n+": "+e+o+";"}})),i}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateSizeInfo=t.MAX_BLOCK_HEIGHT=void 0,t.MAX_BLOCK_HEIGHT=9e3;t.calculateSizeInfo=function(e){var t=window.pageXOffset,r=window.pageYOffset,o=function(){var e=document.createElement("div");n(178).setStyle(e,{display:"table","table-layout":"fixed",width:"100%",height:"10000px",visibility:"hidden"});var t=document.createElement("div");t.style.display="table-row";var r=document.createElement("div");return r.style.display="table-cell",t.appendChild(r),e.appendChild(t),e}(),i={inner:n(66).getElementInnerSize(e),rect:n(25).getBoundingClientRect(e)};e.appendChild(o);var a=function(e){var t=function(e){var t=e.parentElement;return t?function(e){return"inline"===window.getComputedStyle(e).display}(t)?t.parentElement:t:null}(e),r={inner:n(66).getElementInnerSize(e),rect:n(25).getBoundingClientRect(e)};if(!t)return r;var o=n(66).getElementInnerSize(t);if(o.width<r.inner.width||o.height<r.inner.height)return{inner:o,rect:n(25).getBoundingClientRect(t)};return r}(e);e.removeChild(o),n(261).isFirefox&&(e.style.position,window.scroll(t,r-1),window.scroll(t,r));var s=!1;return i.inner.height===a.inner.height&&i.inner.width===a.inner.width&&(s=!0),{isFixed:s,origin:i,max:a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafariBasedBrowser=void 0,t.isSafariBasedBrowser=n(182).getIsSafariBasedBrowser()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsSafariBasedBrowser=void 0,t.getIsSafariBasedBrowser=function(e){return void 0===e&&(e=window),n(150).getIsSafari(e)||n(93).getIsIOS(e)||n(227).getIsAppleTouchDevice(e)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.checkNativeJSON=t.getNativeJSON=t.extractJSONFromIframe=void 0;t.extractJSONFromIframe=function(e){void 0===e&&(e=document.body);var t=n(220).createHiddenFriendlyIFrame(e);return{JSON:t.contentWindow.JSON,clean:function(){return n(221).removeIframe(t)}}},t.getNativeJSON=function(e){return void 0===e&&(e=window),void 0===r&&(r=i(e)?e.JSON:{stringify:o("stringify"),parse:o("parse")}),r};var o=function(e){return function(n){var r=t.extractJSONFromIframe(),o=r.JSON,i=r.clean;try{return o[e](n)}finally{i()}}};function i(e){return void 0===e&&(e=window),e.JSON&&n(17).checkNativeCode(e.JSON.stringify)&&n(17).checkNativeCode(e.JSON.parse)}t.checkNativeJSON=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=void 0,t.getEnv=function(){return"production"}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.loadRum=void 0;var o=n(85).isTouchDevice?"touch":"desktop",i=n(30).getUaasConfig(),a=i.testIds?i.testIds.split(";"):void 0;t.loadRum=function(e){var t,i,s=null===(i=null===(t=null===window||void 0===window?void 0:window.Ya)||void 0===t?void 0:t.Context)||void 0===i?void 0:i.Rum;return s||(s=new Promise((function(e){n(329)((function(t){var i=function(e){var t,i;if(n(39).isPerfLogging()){var s=e.init({clck:"https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/clck/click",slots:a,reqid:Date.now()+":pcode:"+Math.random(),scrollMetric:!0,scrollLatencyMetric:!0,sendAutoElementTiming:!0,elementTimingEntryFilter:function(t){return-1!==t.identifier.indexOf("tgo-")&&(n=t.intersectionRect,["x","y","top","bottom","left","right","width","height"].some((function(e){return 0!==n[e]})))&&e.isValidYaBroRender();var n},isDevMode:n(39).isLoggingQueryActive()},{rum_id:"ru.pcode."+o,"-project":"pcode","-page":n(245).getHostnameOrYandexPageName(window.location),"-version":String(n(23).getCodeVersion()),"-platform":o,"-env":n(184).getEnv(),"-url":window.location.href,"-domain":window.location.host,"-blocker":void 0});i=r(r({},e),s),e.isRumInited()&&e.sendResTiming("context.js",(null===(t=document.currentScript)||void 0===t?void 0:t.src)||"https://webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru/system/context.js")}return i}(t);e(i)}),(function(e){return n(13).logger.error(e,"Rum bundle loading error")}))}))),e&&s.then((function(t){e(t)})),s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFriendlyWindowsChain=void 0;t.getFriendlyWindowsChain=function(e){for(var t=[];e;)try{if(n(77).getWindowLocation(e),t.push(e),e.parent===e)break;e=e.parent}catch(e){break}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFriendlyIFrame=void 0,t.createFriendlyIFrame=function(e,t){var n=void 0===t?{}:t,r=n.content,o=n.size,i=e.ownerDocument.createElement("iframe");i.scrolling="no",i.setAttribute("allowfullscreen",""),i.style.display="block",o&&(i.height=o.height,i.width=o.width),e.appendChild(i);var a=i.contentDocument;return a.open(),r&&a.write(r),a.close(),a.body.style.margin="0",i.style.borderWidth="0",i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasTouchEvents=void 0,t.hasTouchEvents=function(e){return"ontouchstart"in e}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Testtag=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTemplate=function(){return[[4,"marker"],[6,"format"],[1,"shouldRenderInIframe"],[2,null],[1,"hasVideo"],[1,"isRefresh"],[1,"emptyLoaderTesttag"],[1,"isIframe"],[1,"isHover"],[10,"loaderVer"],[2,"integration"],[7,null],[1,null],[1,null],[10,"codeVer"],[1,"adblock"],[3,null]]},t.prototype.defaults=function(){return{marker:n(97).PRODUCT_MARKERS.WIDGET,adblock:!1,isIframe:n(82).isInIframe(window)}},t}(n(110).AbstractTesttag);t.Testtag=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIntegrationNo=t.IntegrationType=void 0,function(e){e["adfox"]="adfox",e["pcode"]="pcode",e["native"]="native"}(t.IntegrationType||(t.IntegrationType={}));var r={adfox:1,pcode:2,native:0};t.getIntegrationNo=function(e){return r[e]||r["native"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0,t.isEmpty=function(e){return!n(37).getObjectKeys(e).length}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.JSTracerLoggerSlim=void 0;var o=function(){function e(e,t,o,i){this.service=e,this.version=t,this.sid=o,this.labels=r({device:n(85).isTouchDevice?"mobile":"desktop",version:t},i),this.data={}}return e.prototype.config=function(e){this.labels=r(r({},this.labels),e.labels),this.data=r(r({},this.data),e.data)},e.prototype.log=function(e){var t,o=[];e.type&&o.push(e.type),e.namespace&&o.push(e.namespace),e.error&&e.error.name&&o.push(e.error.name);var i=o.join("_");n(46).request(this.getRequestObject({eventType:n(16).StatsEventType.error,eventName:i,data:r(r(r({},this.data),e.error),{bundle:"default",code:e.namespace,type:e.type,href:window.location.href}),tags:(t={},t[n(16).StatsEventType.error+"_"+i]=1,t)}))},e.prototype.logData=function(e,t){var o;if(void 0===t&&(t=1),n(26).isPercent(t)&&!n(142).isLightHouse()){var i=[];e.type&&i.push(e.type),e.name&&i.push(e.name),e.data&&e.data.name&&i.push(e.data.name);var a=i.join("_");n(46).request(this.getRequestObject({eventType:n(16).StatsEventType.event,eventName:a,data:r(r({},this.data),e.data),tags:(o={},o[n(16).StatsEventType.event+"_"+a]=1,o)}))}},e.prototype.logPlain=function(e,t){void 0===t&&(t=100),n(26).isPercent(t)&&n(46).request(this.getRequestObject(e))},e.prototype.getDefaultFields=function(){return{service:this.service,version:this.version,sid:this.sid,labels:this.labels,data:this.data,timestamp:Number(new Date),userAgent:navigator.userAgent,referrer:document.referrer,location:n(80).getHref(),vasVersion:n(23).getVasVersion()}},e.prototype.getRequestObject=function(e){return{method:"POST",url:n(78).PCODE_LOGS_URL,data:n.lv["json"].stringify(r(r({},this.getDefaultFields()),e)),onBeforeSend:void 0}},e}();t.JSTracerLoggerSlim=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initPcodeMetrikaCounter=void 0;var r;t.initPcodeMetrikaCounter=function(){return r||(r=new Promise((function(e){n(253).requestCounter({id:42093449,enableCookies:!1},e)}))).then((function(e){var t=n(30).getTestIds();e.params(t);var r=n(30).getFlagsIdsMap();e.params(r)})),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentLocationsData=void 0,t.getParentLocationsData=function(e){var t=n(133).getParentFriendlyIFrames(e.documentElement).map((function(e){return e.ownerDocument}));return t.unshift(e),t.map((function(e){return{location:n(77).getWindowLocation(e.defaultView),referrer:e.referrer}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layouts=t.Products=t.BorderTypes=t.BlockTypes=t.urls=t.defaultReloadTimeout=t.BORDER_TYPES=t.BLOCK_TYPES=t.LAYOUTS=t.PRODUCTS=t.URLS=t.REFRESH_VIEWPORT_VISIBLE_PART=t.MAX_ADS_LIMIT=t.DEFAULT_RELOAD_TIMEOUT=void 0;var r=n(368),o=r.BorderTypes,i=r.BlockTypes;t.BorderTypes=o,t.BlockTypes=i;var a=n(159).IS_YANDEX_RU_DOMAIN?"//webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads":"//webcf.waybackmachine.org/web/20211025204422/https://an.yandex.ru";t.DEFAULT_RELOAD_TIMEOUT=30,t.MAX_ADS_LIMIT=9,t.REFRESH_VIEWPORT_VISIBLE_PART=.5,t.URLS={direct:"https:"+a+"/page/",directSettings:"https:"+a+"/blkset/",rtb:"https:"+a+"/meta/",render:"https://webcf.waybackmachine.org/web/20211025204422/https://yandex.ru/ads/render/",favicon:"https://webcf.waybackmachine.org/web/20211025204422/https://favicon.yandex.net/favicon/",logoaas:"https://webcf.waybackmachine.org/web/20211025204422/https://yastatic.net/q/logoaas/"},t.PRODUCTS={DIRECT:"direct",RTB:"rtb"},t.LAYOUTS={WIDE:0,MEDIUM:1,NARROW:2,COMPATIBLE:3,WIDE_WIDTH:300,MEDIUM_WIDTH:240,COMPATIBLE_WIDTH:-1},t.BLOCK_TYPES=i,t.BORDER_TYPES=o,t.defaultReloadTimeout=t.DEFAULT_RELOAD_TIMEOUT,t.urls=t.URLS,t.Products=t.PRODUCTS,t.Layouts=t.LAYOUTS},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(0,n(7).getYaContext)().isAllowedRepeatAds,s=void 0===a?function(e,t){return t}:a,u=(0,n(58).isHostInList)(window,["yandexTv"]),c=(0,n(58).isHostInList)(window,["avito","avitoMobile"]),d=(0,n(58).isHostInList)(window,["yandexZen"])||(0,n(58).isHostInList)(window,["yandexWebntp"])||(0,n(58).isHostInList)(window,["yandexChromeNtp"])||(0,n(58).isHostInList)(window,["yandexMorda"]);e.exports={getRenderId:function(e){return(e.blockId||e.renderTo)+"#"+(e.pageNumber||"")},parseBlockId:n(120).parseBlockId,prepareRtbConfig:function(e){var t=(0,n(120).parseBlockId)(e.blockId),r=o({},e);if(r.prepared)return r;var i=void 0===e.statId?(0,n(128).brakePointsStatId)():e.statId;return r.onRewarded=(0,n(15).once)((0,n(57).isolate)(e.onRewarded)),r.onOpen=(0,n(57).isolate)(e.onOpen),r.onClose=(0,n(57).isolate)(e.onClose),r.onError=(0,n(57).isolate)(e.onError),r.onRender=(0,n(57).isolate)(e.onRender),r.onHide=(0,n(57).isolate)(e.onHide),r.pageId=t.pageId,r.blockImpId=t.impId,r.statId=r.blockImpId,r.partnerStatId=i,r.geo=(0,n(386).getValidGeo)(r.geo),r.disableHighlight=!0===r.disableHighlight,r.prepared=!0,function(e){var t=e.allowRepeatAds;t=t?(0,n(401).parseAllowRepeatAds)(t):s(e.pageId,!1)?{maxSkipSize:0,custom:!0}:u?{maxSkipSize:9,custom:!0}:c?{maxSkipSize:20,custom:!0}:d?{screen:9,custom:!0}:{screen:n(114).isMobile?3:2};return e.allowRepeatAds=t,e}(r)},prepareDistributionConfig:function(e){var t=o({},e);return t.onRender=(0,n(57).isolate)(t.onRender),t.onHide=(0,n(57).isolate)(t.onHide),t.onResize=(0,n(57).isolate)(t.onResize),t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDelimiter=void 0,t.addDelimiter=function(e,t,n){return t&&0!==e.indexOf(t)&&(e=t+e),n&&e.slice(-n.length)!==n&&(e+=n),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeDelimiter=void 0,t.removeDelimiter=function(e,t,n){return t&&0===e.indexOf(t)&&(e=e.replace(t,"")),n&&e.slice(-n.length)===n&&(e=e.slice(0,-n.length)),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=void 0;t.isMobile=function(e){return void 0===e&&(e=window),/Mobi|Android/i.test(e.navigator.userAgent)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsIEQuirks=t.getIsQuirks=void 0;t.getIsQuirks=function(e){return void 0===e&&(e=window),"BackCompat"===e.document.compatMode};t.getIsIEQuirks=function(e){void 0===e&&(e=window);var r=n(88).getInternetExplorerVersion(e);return r>0&&(5===e.document.documentMode||10!==r&&t.getIsQuirks(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPixelRatio=void 0,Object.defineProperty(t,"getPixelRatio",{enumerable:!0,get:function(){return n(283).getPixelRatio}})},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFirefox=void 0;t.isFirefox=function(e){return void 0===e&&(e=window),/firefox/.test(e.navigator.userAgent.toLowerCase())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.padLeft=void 0,t.padLeft=function(e,t,n){void 0===n&&(n=" ");var r=t-e.length;if(r>0){for(var o=n;o.length<r;)o+=o;return(o.length>r?o.substr(0,r):o)+e}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.videoEncode=void 0,t.videoEncode=n(262).getVideoEncode(window)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forOwn=void 0,Object.defineProperty(t,"forOwn",{enumerable:!0,get:function(){return n(21).forOwn}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBundleName=t.getBundleUrl=void 0,t.getBundleUrl=function(e,t,n){return"https://yastatic.net/partner-code-bundles/"+String(t.codeVer)+"/context_static.js"},t.getBundleName=function(e){return"common"}},function(e,t,n){"use strict";t.__esModule=!0,Object.keys(n(29)).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=n(29)[e])}))},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.initAsyncRtb=t.isSingleContextPossible=t.asyncCallbacksContainers=void 0,t.asyncCallbacksContainers=["yandex_context_callbacks","yandexContextAsyncCallbacks","yaContextCb"];var o=window,i=r(r({},n(30).getUaasFlags()),o.yandex_context_force_flags),a=0===Object.keys(i).length;t.isSingleContextPossible=function(){return n(89).getIsCompatibilityMode()&&n(13).logger.info(window.location,"COMPATIBILITY_MODE",100),!a&&!n(89).getIsCompatibilityMode()};var s=function(){function e(e,t){this.queueId=t,n(10).isArray(e)||(e=[]),this.push.apply(this,e)}return e.prototype.push=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];t.length&&n(104).sendQueueStartSignal(this.queueId);var o=n(7).getYaContext(),i=n(89).getCallbacksArray();n(0).forEach(t,(function(t){try{t.queueName=e.queueId}catch(e){n(3).noop()}i.push(t)})),setTimeout((function(){o.processCallbacks()}))},e}();t.initAsyncRtb=function(e){if(void 0===e&&(e=window),!t.isSingleContextPossible())return u();for(var r=function(r){var o=t.asyncCallbacksContainers[r],i=e[o];if(n(104).sendQueueReadySignal(o),!(i instanceof s)){var a=new s(i,o);Object.defineProperty(e,o,{set:function(t){a.push.apply(a,t),e[o]!==t&&(console.warn("\u041f\u0435\u0440\u0435\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0442\u044c window."+o+" \u043e\u043f\u0430\u0441\u043d\u043e"),n(13).logger.info(window.location,"CALLBACKS_REASSIGNMENT",100))},get:function(){return a}})}},o=0;o<t.asyncCallbacksContainers.length;o++)r(o)};var u=function(){for(var e=0;e<t.asyncCallbacksContainers.length;e++){var r=n(298).extractProp(t.asyncCallbacksContainers[e]);if(r)for(var o=n(89).getCallbacksArray(),i=0;i<r.length;i++){try{r[i].queueName=t.asyncCallbacksContainers[e]}catch(e){n(3).noop()}o.push(r[i])}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasTouchPoints=void 0,t.hasTouchPoints=function(e){return function(e){return Boolean(e.PointerEvent)}(e)&&function(e){var t=e.navigator||{},n=t.msMaxTouchPoints,r=t.maxTouchPoints;return n||r||0}(e)>0&&!n(211).getIsEdge(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsEdge=void 0;t.getIsEdge=function(e){return void 0===e&&(e=window),n(88).getInternetExplorerVersion(e)>11}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingAnyPointerCoarse=void 0;var r=n(6).map(n(95).cssPrefixes,(function(e){return"("+e+"any-pointer:coarse)"})).join(",");t.isMatchingAnyPointerCoarse=function(e){return n(130).isMatchingMediaQuery(e,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingTouchEnabled=t.TOUCH_ENABLED_QUERY=void 0,t.TOUCH_ENABLED_QUERY=n(6).map(n(95).cssPrefixes,(function(e){return"("+e+"touch-enabled)"})).join(","),t.isMatchingTouchEnabled=function(e){return n(130).isMatchingMediaQuery(e,t.TOUCH_ENABLED_QUERY)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasDocumentTouch=void 0,t.hasDocumentTouch=function(e){var t=e.DocumentTouch;return Boolean(t)&&e.document instanceof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_BROKEN_MATH_RANDOM=void 0,t.IS_BROKEN_MATH_RANDOM=!n(17).checkNativeCode(Math.random)||Math.random()==Math.random()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoRandom=void 0;var r=Date.now()*n(217).performanceNow()%2147483647;t.pseudoRandom=function(){return((r=16807*r%2147483647)-1)/2147483646}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceNow=t.performanceNowShim=t.isPerformanceNowSupported=void 0;var r="undefined"==typeof window?void 0:window.performance;t.isPerformanceNowSupported=r&&n(1).isFunction(r.now);var o=r&&r.timing&&r.timing.navigationStart?r.timing.navigationStart:n(131).dateNow(),i=0;t.performanceNowShim=function(){var e=n(131).dateNow()-o;return i=Math.max(e,i)},t.performanceNow=t.isPerformanceNowSupported?function(){return r.now()}:function(){return t.performanceNowShim()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetrikaManager=t.METRIKA_URL=t.metrikaCallbacksDict=void 0,t.metrikaCallbacksDict={Metrika:"yandex_metrika_callbacks",Metrika2:"yandex_metrika_callbacks2"};t.METRIKA_URL="https://webcf.waybackmachine.org/web/20211025204422/https://mc.yandex.ru/metrika/watch.js";var r=function(){function e(e,r,o){var i=this;this.getYa=e,this.needLoadMetrika=r,this.loadMetrika=n(15).once((function(){i.needLoadMetrika&&!i.win.YA_TURBO_METRIKA&&n(123).loadCustomScript({src:t.METRIKA_URL,win:i.win})})),this.win=o||window,Boolean(e().Metrika)?this.metrikaName="Metrika":Boolean(e().Metrika2)?this.metrikaName="Metrika2":this.metrikaName="tag"===this.win.YA_TURBO_METRIKA?"Metrika2":"Metrika",this.metrikaCallbacksName=t.metrikaCallbacksDict[this.metrikaName]}return e.getInstance=function(t,n){return void 0===n&&(n=!0),this.instance||(this.instance=new e(t,n)),this.instance},e.prototype.requestCounter=function(e,t){var n=this;this.isLoaded()?t(this.getCounter(e)):(this.loadMetrika(),this.addCallback((function(){t(n.getCounter(e))})))},e.prototype.getCounter=function(e){var t="yaCounter"+e.id;return this.win[t]||(this.win[t]=this.createCounter(e)),this.win[t]},e.prototype.isLoaded=function(){return Boolean(this.getYa()[this.metrikaName])},e.prototype.addCallback=function(e){this.win[this.metrikaCallbacksName]||(this.win[this.metrikaCallbacksName]=[]),this.win[this.metrikaCallbacksName].push(e)},e.prototype.createCounter=function(e){var t=this.getYa()[this.metrikaName];if(!t)throw new Error("metrika counter creation error: "+this.metrikaName+" is not in context");try{return new t({id:e.id,type:e.isYAN?1:void 0,defer:!0,nck:!e.enableCookies})}catch(e){throw new Error("metrika counter creation error: "+e.message)}},e}();t.MetrikaManager=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentScript=void 0,t.getCurrentScript=function(e,t){void 0===e&&(e=document);var n=e.currentScript;if(n)return n;for(var r=e.getElementsByTagName("script"),o=[],i=0;i<r.length;i++)o.push(r[i]);if("function"==typeof t){var a=o.filter(t);return a[a.length-1]}return o[o.length-1]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHiddenFriendlyIFrame=void 0,t.createHiddenFriendlyIFrame=function(e){var t=n(187).createFriendlyIFrame(e);return t.width="0",t.height="0",t.style.position="absolute",t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeIframe=void 0,t.removeIframe=function(e){e.src="",n(50).removeNodeFromParent(e)}},function(e,t,n){"use strict";function r(e){return"sf"===e?"SF Pro Text":"sans-serif"===e||"inherit"===e?e:""+e[0].toUpperCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.formatFontFamily=t.getFontFamilyString=void 0,t.getFontFamilyString=function(e){return void 0===e&&(e=[]),-1!==e.indexOf("inherit")?"inherit":n(6).map(n(14).filter(e,Boolean),r).concat(["Arial","sans-serif"]).join(", ")},t.formatFontFamily=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aimSubDesignParam=t.aimDesignParam=t.aimBannerParam=t.AimParam=void 0;var r=function(){function e(e,t){if(void 0===t&&(t=document.location.search),this.current=0,"undefined"!=typeof URLSearchParams){var n=new URLSearchParams(t);this.aims=n.getAll(e)}else this.aims=[]}return e.prototype.all=function(){return this.aims},e.prototype.next=function(){var e=this.aims[this.current];return this.current++,this.current===this.aims.length&&(this.current=0),e},e}();t.AimParam=r,t.aimBannerParam=new r("aim-banner-id"),t.aimDesignParam=new r("aim-design-id"),t.aimSubDesignParam=new r("aim-subdesign-id")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopAncestor=void 0,t.getTopAncestor=function(e){void 0===e&&(e=window);var t=n(140).getAncestorOrigins(e);if(t.length>0)return{topAncestor:t[t.length-1],isTrusted:!0};var r=n(141).getTopLocationData(e.document),o=r.location,i=r.referrer,a=n(98).isInSecureIFrame?i:o,s=!n(98).isInSecureIFrame||n(229).getWindowsChain(n(59).TOP_FRIENDLY_WINDOW).length<2,u=n(20).parseUrl(a),c=u.protocol,d=u.hostname,l=u.host,f=u.port;return{topAncestor:n(20).urlFromUrlObject({protocol:c,hostname:d,host:l,port:f,originalPath:"",href:"",pathname:"",search:"",hash:""}),isTrusted:s}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAncestorOriginsSupported=void 0,t.isAncestorOriginsSupported=n(226).getIsAncestorOriginsSupported()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsAncestorOriginsSupported=void 0,t.getIsAncestorOriginsSupported=function(){return Boolean(window.location.ancestorOrigins)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsAppleTouchDevice=void 0,t.getIsAppleTouchDevice=function(e){return void 0===e&&(e=window),/Apple/.test(e.navigator.vendor)&&n(101).isTouchDevice(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInSecureIFrame=void 0,t.isInSecureIFrame=function(){var e=n(6).map(n(90).parentFriendlyIFrames,(function(e){return e.ownerDocument})),t=e.length,r=(t?e[t-1]:document).defaultView;return!!r&&r.self!==r.parent}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowsChain=void 0,t.getWindowsChain=function(e){for(var t=e,n=[e],r=e.top;t!==r;)t=t.parent,n.push(t);return n}},function(e,t,n){"use strict";var r,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPerformanceManager=void 0,function(e){e["Wait"]="010",e["DNS"]="020",e["TCP"]="030",e["SSL"]="040",e["TTFB"]="050",e["Response"]="060"}(r||(r={}));var i=function(e,t){return void 0!==t&&void 0!==e?Math.round(e-t):void 0},a=function(){function e(e,t){void 0===t&&(t=window),this.prefixes=e,this.cache=[],this.windows=[],this.registerWin(t)}return e.prototype.registerWin=function(e){this.windows.push(e)},e.prototype.getNewEntries=function(){var e=this,t=this.getPerformanceEntries(),r={};return n(0).forEach(t,(function(t){if(t&&-1===n(34).indexOf(e.cache,t)){e.cache.push(t);var i=e.getPrefix(t.name);r=o(o({},r),e.getNetworkObject(t,i))}})),Object.keys(r).length?r:null},e.prototype.getPerformanceEntries=function(){var e=this,t=[];return n(0).forEach(this.windows,(function(e){try{t=t.concat(e.performance.getEntries())}catch(e){}})),n(14).filter(t,(function(t){return n(9).isObject(t)&&n(42).some(e.prefixes,(function(e){return e.re.test(t.name)}))}))},e.prototype.getPrefix=function(e){var t="";return n(0).forEach(this.prefixes,(function(n){n.re.test(e)&&(t=n.prefix)})),t},e.prototype.getNetworkObject=function(e,t){var n,o={Wait:i(e.domainLookupStart,e.startTime),DNS:i(e.domainLookupEnd,e.domainLookupStart),TCP:i(e.connectEnd,e.connectStart),SSL:0===e.secureConnectionStart?0:i(e.connectEnd,e.secureConnectionStart),TTFB:i(e.responseStart,e.requestStart),Response:i(e.responseEnd,e.responseStart)},a={};for(n in o){var s=o[n];void 0!==s&&(a[t+"_"+r[n]]=s)}return a},e}();t.NetworkPerformanceManager=a},function(e,t,n){"use strict";function r(){this.returnValue=!1}function o(){this.cancelBubble=!0}Object.defineProperty(t,"__esModule",{value:!0}),t.fixEvent=void 0,t.fixEvent=function(e){return function(t){var n=function(e){return e.stopPropagation||(e.stopPropagation=o),e.preventDefault||(e.preventDefault=r),e.target||(e.target=e.srcElement),e}(t);e.call(this,n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestAdvManager=t.loadAdvManager=void 0;var r,o,i=n(455);function a(){return o||(o=new Promise((function(e,t){i((function(t){var o=t.AdvManager;r=new o,n(128).brakeFor(n(128).POINT_NAME.ADV_MANAGER_INIT),e(r)}),t)})))["catch"]((function(e){n(13).logger.error(e,"adv_manager_load_error")})),o}t.loadAdvManager=a,t.requestAdvManager=function(e){r?e(r):a().then((function(){e(r)}))}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AdfoxProxyCallbacksManager=t.CallbackNames=void 0,function(e){e["ON_DESTROY"]="onDestroy"}(r=t.CallbackNames||(t.CallbackNames={}));var o=function(){function e(){for(var e in this.cbManagers={},r){var t=r[e];this.cbManagers[t]=new i}}return e.prototype.addCallback=function(e,t){var n=this.cbManagers[e];n&&n.addCallback(t)},e.prototype.callCallbacksOnceByName=function(e){var t=this.cbManagers[e];t&&t.callCallbacksOnce()},e}();t.AdfoxProxyCallbacksManager=o;var i=function(){function e(){this.callbacks=[]}return e.prototype.addCallback=function(e){this.callbacks.push(e)},e.prototype.callCallbacksOnce=function(){for(;this.callbacks.length>0;)this.callbacks.shift()()},e}()},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.resetIsTurboCached=t.isAdfoxPageTurbo=void 0;t.isAdfoxPageTurbo=function(e,t){return void 0===t&&(t=n(581).isTurboPage(e)),void 0===r?r=t:r};t.resetIsTurboCached=function(){return r=void 0}},function(e,t,n){"use strict";var r,o,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.Methods=void 0,function(e){e["GET"]="GET",e["POST"]="POST",e["HEAD"]="HEAD"}(o=t.Methods||(t.Methods={}));var a=function(){function e(e,t){this.url=e,this.params=t}return e.prototype.open=function(){this.xr.open(this.params.method,this.url),this.setSettings()},e.prototype.setSettings=function(){this.setCallbacks()},e.prototype.setTimeout=function(){var e=this,t=this.params.timeout;t&&t>0&&(this.timer=window.setTimeout((function(){e.onTimeout(),e.abort()}),t))},e.prototype.clearTimeout=function(){this.timer&&clearTimeout(this.timer)},e.prototype.setCallbacks=function(){var e=this,t=function(t){return e.onError(t&&t.message||"Error!")};this.xr.onerror=t,this.xr.ontimeout=t},e.prototype.onLoad=function(e){this.clearTimeout(),this.params.onload&&this.params.onload(e)},e.prototype.onTimeout=function(){this.isTimeouted=!0,this.params.ontimeout&&this.params.ontimeout()},e.prototype.onError=function(e,t){this.isTimeouted||(this.clearTimeout(),this.params.onerror&&this.params.onerror({message:e,code:t,xr:this.xr}))},e.prototype.send=function(){this.setTimeout(),this.xr.send(this.params.data)},e.prototype.abort=function(){this.xr&&this.xr.abort()},e}(),s=function(e){function t(t,r){var o=e.call(this,t,r)||this,i=n(464).getNativeXhr({onWindowCreation:function(e){return n(348).networkPerfomaceManager.registerWin(e)}});return o.xr=new i,o.open(),o}return i(t,e),t.prototype.setCallbacks=function(){var t=this;e.prototype.setCallbacks.call(this);var n=this.xr;n.onreadystatechange=function(){4===n.readyState&&(200===n.status||304===n.status?t.onLoad(n.response):t.onError(n.statusText,n.status))}},t.prototype.setSettings=function(){e.prototype.setSettings.call(this),this.addHeaders(),this.xr.withCredentials=this.params.withCredentials},t.prototype.abort=function(){4!==this.xr.readyState&&e.prototype.abort.call(this)},t.prototype.addHeaders=function(){var e=this,t=this.params.headers;t&&n(21).forOwn(t,(function(t,n){return e.xr.setRequestHeader(n,t)}))},t}(a),u=function(e){function t(t,r){var o=e.call(this,n(360).replaceProtocolToHTTPS(t),r)||this;return o.xr=new window.XDomainRequest,o.open(),o}return i(t,e),t.prototype.setCallbacks=function(){var t=this;e.prototype.setCallbacks.call(this),this.xr.onload=function(){return t.onLoad(t.xr.responseText)}},t.prototype.send=function(){var t=this;setTimeout((function(){return e.prototype.send.call(t)}),0)},t}(a);t.request=function(e,t){void 0===t&&(t={});var n={method:t.method||o.POST,withCredentials:void 0===t.withCredentials||t.withCredentials,timeout:t.timeout,data:t.data,headers:t.headers,onerror:t.onerror,onload:t.onload,ontimeout:t.ontimeout},r=window.XDomainRequest?new u(e,n):new s(e,n);return r.send(),function(){return r.abort()}}},,,,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var o={url:"",method:"get",headers:{"Content-Type":"application/x-www-form-urlencoded"},retries:3,withCredentials:!0};t.request=function(e){return n(46).request(r(r(r({},o),e),{headers:r(r({},o.headers),e.headers)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeSendBeaconSupported=void 0;t.isNativeSendBeaconSupported=function(e){return n(17).checkNativeCode(e.navigator.sendBeacon)}},,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.pushMetrikaEvent=void 0;t.pushMetrikaEvent=n(8).protect("metrika::pushEvent",(function(e,t){var o=n(79).get(e,"Ya._metrika.dataLayer")||[];n(121).set(e,"Ya._metrika.dataLayer",o),o.push({ymetrikaEvent:{type:"params",parent:1,data:{__ym:r({},t)}}})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTurboPage=void 0,t.isTurboPage=function(e){return void 0===e&&(e=window),Boolean(e.YA_TURBO_PAGES)}},function(e,t,n){"use strict";var r=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.getHostnameOrYandexPageName=void 0,t.getHostnameOrYandexPageName=function(e){var t=e.hostname.replace(/^www./,""),n=e.pathname;return/^yandex\./.test(t)?function(e,t){void 0===t&&(t=0);var n=e.hostname,o=e.pathname.replace(/\/$/g,"").split("/");return r([n],o.slice(1,t+1)).join("/")}({hostname:t,pathname:n},1):t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.difference=void 0,t.difference=function(e,t){return n(14).filter(e,(function(e){return!n(42).some(t,(function(t){return e===t}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isYandexDomain=void 0,t.isYandexDomain=function(e){return!!e&&(!(!e||0===e.length)&&n(42).some(n(341).YANDEX_DOMAINS,(function(t){return t===e||n(327).endsWith(e,"."+t)})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHost=void 0,t.getHost=function(e){return e.location.host}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCssFilterBlurSupported=t.isCssAnimationSupported=t.isCssTransitionSupported=t.isCssTransformSupported=t.isCssFlexSupported=void 0,t.isCssFlexSupported=n(126).testProperty("flex"),t.isCssTransformSupported=n(126).testProperty("transform"),t.isCssTransitionSupported=n(126).testProperty("transition"),t.isCssAnimationSupported=n(126).testProperty("animation"),t.isCssFilterBlurSupported=n(126).testProperty("filter:blur(2px)")},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOperaMini=void 0;t.isOperaMini=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent;return-1!==t.indexOf("Opera Mini")||(-1!==t.indexOf("; wv)")&&-1!==t.indexOf(" OPR/")||-1!==t.indexOf(" OPiOS/"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestCounter=void 0;var r=n(31).checkBundleType(n(31).bundleTypes.SSP),o=n(31).checkBundleType(n(31).bundleTypes.mobileSdk),i=!r&&!o&&!0,a=n(218).MetrikaManager.getInstance((function(){return n(7).getYa()}),i);t.requestCounter=function(e,t){a.requestCounter(e,t)}},function(e,t){e.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectCreate=void 0,t.objectCreate=n(319).getNativeMethod(Object,"create")?Object.create:function(e,t){function r(){}if(r.prototype=e,n(9).isObject(t))for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);return new r}},function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.getDownlink=void 0,function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["ETHERNET"]=1]="ETHERNET",e[e["WIFI"]=2]="WIFI",e[e["CELL_2G"]=3]="CELL_2G",e[e["CELL_3G"]=4]="CELL_3G"}(r||(r={})),function(e){e["BLUETOOTH"]="bluetooth",e["CELLULAR"]="cellular",e["ETHERNET"]="ethernet",e["MIXED"]="mixed",e["NONE"]="none",e["OTHER"]="other",e["UNKNOWN"]="unknown",e["WIFI"]="wifi",e["WIMAX"]="wimax"}(o||(o={})),t.getDownlink=function(e){void 0===e&&(e=window);var t=e.navigator.connection,n=void 0===t?{}:t;if("number"==typeof n.downlink)return n.downlink;if("number"==typeof n.downlinkMax)return n.downlinkMax;if("string"==typeof n.type||"number"==typeof n.type)switch(n.type){case o.BLUETOOTH:return 3;case r.CELL_2G:return.384;case r.CELL_3G:case o.CELLULAR:return 2;case o.WIMAX:return 37;case o.NONE:return 0;case r.ETHERNET:case o.ETHERNET:case r.WIFI:case o.WIFI:case o.MIXED:return 10;case r.UNKNOWN:case o.UNKNOWN:case o.OTHER:}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserName=void 0;t.getBrowserName=function(e){void 0===e&&(e=window);var t=n(71).getUserAgent(e),r=t.match(/(opera|chrome|safari|firefox|ucbrowser|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(r[1]))return"MSIE";if("Chrome"===r[1]){var o=t.match(/\b(OPR|Edge|YaBrowser)\/(\d+)/);if(null!==o)return o[1].replace("OPR","Opera")}return r[1]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=t.open=t.isReady=t.isAvailable=t.getMraid=void 0;var r=window;function o(e){void 0===e&&(e=window);try{var t="ownerDocument"in e&&"defaultView"in e.ownerDocument?e.ownerDocument.defaultView:e,n=t.mraid||t.top.mraid;return n&&n.getState&&n.addEventListener?n:void 0}catch(e){return}}function i(e){return void 0===e&&(e=r),void 0!==o(e)}t.getMraid=o,t.isAvailable=i,t.isReady=function(e){return void 0===e&&(e=r),i(e)&&"loading"!==o(e).getState()},t.open=function(e,t){void 0===e&&(e=r),i(e)&&o(e).open(t)},t.on=function(e,t,a,s){if(void 0===e&&(e=r),!i(e))return n(3).noop;var u=o(e);return u.addEventListener(t,a),function(){u.removeEventListener(t,a)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadImage=void 0,t.loadImage=function(e){var t=new Image;n(1).isFunction(e.onLoad)&&n(27).on(t,"load",e.onLoad,e.ctx),n(1).isFunction(e.onError)&&n(27).on(t,"error",e.onError,e.ctx),t.src=e.src}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSessionId=void 0;t.generateSessionId=function(){return(1e6*n(56).random()).toFixed(0)+(new Date).valueOf().toString()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFirefox=void 0,t.isFirefox=n(203).isFirefox()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoEncode=void 0;t.getVideoEncode=function(e){if(void 0===e&&(e=window),n(162).encodeUrl)return n(162).encodeUrl;for(var t=n(186).getFriendlyWindowsChain(e);t.length;){var r=t.pop();if(r){var o=n(79).get(r,"ya.videoAd.encodeUrl");if(n(1).isFunction(o))return o}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFirstDefined=void 0,t.getFirstDefined=function(e){return n(14).filter(e,(function(e){return void 0!==e}))[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.portion=void 0,t.portion=function(e,t,r,o){void 0===o&&(o=!1);var i=(o?n(56).random():n(166).RANDOM)<e,a=i?t:r;return"function"==typeof a&&a(),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendBeaconShim=void 0;var r=n(241).isNativeSendBeaconSupported(window);t.sendBeaconShim=function(e,t){return!!r&&window.navigator.sendBeacon(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ANCESTOR_ORIGINS=void 0,t.ANCESTOR_ORIGINS=n(140).getAncestorOrigins(window)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentVisibility=void 0,t.getDocumentVisibility=function(e,t){void 0===t&&(t=!0);var r=n(268).getDocumentHiddenProperty(e);return r?!e[r]:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentHiddenProperty=void 0;t.getDocumentHiddenProperty=function(e){return"hidden"in e?"hidden":"webkitHidden"in e?"webkitHidden":void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopDocumentFocus=void 0,t.getTopDocumentFocus=function(){if(n(59).TOP_FRIENDLY_WINDOW&&n(59).TOP_FRIENDLY_WINDOW.document&&"function"==typeof n(59).TOP_FRIENDLY_WINDOW.document.hasFocus)try{return n(59).TOP_FRIENDLY_WINDOW.document.hasFocus()}catch(e){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMON_LOCAL_STATS_SERVICE_NAME=void 0,t.COMMON_LOCAL_STATS_SERVICE_NAME="CommonPcode"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseBreadth=void 0;t.traverseBreadth=function(e,t){for(var n=e.slice();n.length;){var r=t(n.shift());if(!r)return;n.push.apply(n,r)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAllowedRepeatAds=void 0;var r={21753:50,27219:50,101833:50,122989:50,70350:50,250894:10};t.isAllowedRepeatAds=function(e,t){if(e in r){var o=r[e];return"boolean"==typeof o?o:r[e]=n(26).isPercent(o)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSession=void 0;t.getSession=function(e,t,r,o){var i=t.getItem(n(49).SESSION_KEY);return i||(i=r.getItem(n(49).SESSION_KEY)||e(),o(window,i)),t.setItem(n(49).SESSION_KEY,i),r.setItem(n(49).SESSION_KEY,i),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowDataSource=void 0;t.getWindowDataSource=function(e,t,r){var o=n(79).get(e,t);return o||(o=r(),n(121).set(e,t,o)),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCrossFrameDataSource=void 0;t.getCrossFrameDataSource=function(e,t,r){var o;return n(271).traverseBreadth([e.top],(function(e){if(!(o=n(8).callSafe((function(){return n(79).get(e,t)}))))return n(8).callSafe((function(){return n(86).listToArray(e.frames)}))||[]})),o||(o=r()),n(121).set(e,t,o),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSession=void 0;t.setSession=function(e,t,r,o){o(window,e),t.setItem(n(49).SESSION_KEY,e),r.setItem(n(49).SESSION_KEY,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetrikaLogger=void 0;var r=function(){function e(){}return e.prototype.log=function(e){if(n(26).isPercent(1)){var t={};t[e.version]={},t[e.version][e.namespace]={},t[e.version][e.namespace][e.error.name]=e.error,n(193).initPcodeMetrikaCounter().then((function(e){e.hit(window.location.href,{params:t})}))}},e}();t.MetrikaLogger=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSspPage=void 0,t.isSspPage=function(e){return Boolean(e.YA_SSP_PAGE)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCounter=void 0,r=n(280);var o=function(){function e(){this.initialized=!1,this.savedMsgs=[]}return e.prototype.init=function(){var e=this;return this.initialized||(this.initialized=!0,this.initPromise=new Promise((function(t,o){r((function(r){var o=n(30).getUaasConfig();e.logger=new r["default"],e.logger.initErrors({project:"pcode",version:String(n(23).getCodeVersion()),env:n(184).getEnv(),reqid:n(38).getSessionId(),platform:n(85).isTouchDevice?"touch":"desktop",blocker:!1,additional:{bundle:"default",vasVersion:n(23).getVasVersion()},slots:o.testIds?o.testIds.split(";"):void 0,throttleSend:0,uncaughtException:!1,unhandledRejection:!1,preventError:!1}),e.savedCfg&&e.config(e.savedCfg),e.savedMsgs.forEach((function(t){return e.log(t)})),delete e.savedCfg,e.savedMsgs=[],t(e)}),(function(t){e.initialized=!1,o(t)}))}))),this.initPromise},e.prototype.config=function(e){this.logger?this.logger.updateErrors({page:e.labels.pageId||void 0,additional:{bundle:"default",pageId:e.data&&e.data.pageId}}):this.savedCfg=e},e.prototype.log=function(e){if(!this.logger)return this.savedMsgs.push(e),void this.init()["catch"](n(3).noop);var t={type:e.namespace,level:"WARNING"===e.type?"warn":"error"},r=e.additional,o=n(4).getAllActiveTestIds();o&&((r=r||{}).activeTestIds=o),r&&(t.additional=r),this.logger.logError(t,e.error)},e}();t.ErrorCounter=o},function(e,t,n){e.exports=function(e,t){n.e(17).then(function(){e(n(496))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";function r(){var e=window;return e.ya=e.ya||{},e.ya.videoAd=e.ya.videoAd||{},e.ya.videoAd.statsRootParams=e.ya.videoAd.statsRootParams||{},e}Object.defineProperty(t,"__esModule",{value:!0}),t.setVersionForVasWidget=t.setVersionForVas=void 0,t.setVersionForVas=function(){var e=r();e.ya.videoAd.statsRootParams.pcodeVersion=String(46682),e.ya.videoAd.statsRootParams.adfoxVersion=String(46682)},t.setVersionForVasWidget=function(e){r().ya.videoAd.statsRootParams.widgetVersion=String(e)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutConfig=void 0;var o=function(e){return Math.max(0,Math.round(e))};n(333).setAvailableFont();var i=function(){function e(e){var t,i=n(334).getWindowConfig(),a=n(72).getWindowSize();if(n(36).isAMP){var s=window.context,u=(null===(t=s.initialIntersection)||void 0===t?void 0:t.intersectionRatio)>0?1:0,c=s.initialLayoutRect;this.config=r(r({},i),{w:a.width,h:a.height,width:o(a.width),height:o(a.height),left:c.left||0,top:c.top||0,amp:1,visible:u})}else{var d=n(335).getElementSize(e),l=r(r({},n(25).getBoundingClientRect(e)),n(66).getElementInnerSize(e)),f=n(336).getElementPosition(l),p=d.height,v=o(l.height);"exp"===n(4).useExperimentFlag("REACALCULATES_HEIGHT_IF_IFRAME")&&n(82).isInIframe(window)&&(0===p||v>i.win_height||p>i.win_height)&&(p=i.win_height,v=i.win_height),this.config=r(r(r({},i),{w:d.width,h:p,width:o(l.width),height:v,visible:n(337).getVisible(l,a)}),f)}var g=(window&&window.Ya||{}).availableFontFamily;g&&(this.config.fontFamily=g)}return e.prototype.set=function(e,t){this.config[e]=t},e.prototype.get=function(e){return this.config[e]},e.prototype.toString=function(){return n.lv["json"].stringify(this.config)},e}();t.LayoutConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPixelRatio=void 0;t.getPixelRatio=function(e){return void 0===e&&(e=window),e.devicePixelRatio||e.screen.deviceXDPI&&e.screen.deviceXDPI/e.screen.logicalXDPI||1}},function(e,t,n){"use strict";function r(e,t){var n=[],r=0;n.push("t"+(t.title||"")),r+=n[0].length;for(var i=1;i<4&&r<e;i++)for(var a=t.getElementsByTagName("h"+i),s=a.length,u=0;u<s;u++){var c=o(a[u]);r+=c.length,n.push(""+i+c)}return n.join("\n")+"\n"}function o(e){var t=[],n="";if(!e)return n;for(t.push(e);t.length>0;){if(3===(e=t.pop()).nodeType)n+=e.nodeValue+" ";else if(e.childNodes&&e.childNodes.length>0)for(var r=e.childNodes,o=r.length-1;o>=0;o--)t.push(r[o])}return n.replace(/\s+/g," ")}Object.defineProperty(t,"__esModule",{value:!0}),t.grab=void 0,t.grab=function(e,t){var o=window,i=o.document;if(t&&n(247).isYandexDomain(n(248).getHost(o)))return t;var a=r(e,i);if("t\n"===a&&o.top!==o.self)try{a=r(e,o.parent.document)}catch(e){}return n(29).encode(a,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInitializationByViewportTarget=t.isInitializationByViewportSlice=void 0,t.isInitializationByViewportSlice=!1,t.isInitializationByViewportTarget=n(286).isPercent(50)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPercent=void 0;function r(e){return Number((e/100).toFixed(2))}t.isPercent=function(e){return Math.random()<r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Url=void 0;var r=function(){function e(e){this.host=e.host||"",this.path=e.path||"",this.params="",e.params&&this.appendParams(e.params)}return e.prototype.clone=function(){return new e({host:this.host,path:this.path,params:this.params})},e.prototype.getCurrentLength=function(){return this.getRawUrl().length},e.prototype.appendParams=function(e){return n(9).isObject(e)&&n(191).isEmpty(e)||(""!==this.params&&(this.params=n(197).addDelimiter(this.params,"","&")),n(2).isString(e)?this.params+=n(198).removeDelimiter(n(198).removeDelimiter(e,"?",""),"&",""):n(9).isObject(e)&&(this.params+=n(388).toQueryParams(e))),this},e.prototype.getUrl=function(){return this.getRawUrl()},e.prototype.getRawUrl=function(){var e=this.host;if(this.path&&(e=n(197).addDelimiter(e,"","/"),e+=n(198).removeDelimiter(String(this.path),"/")),""!==this.params){var t=-1===e.indexOf("?")?"?":"&";e+=n(197).addDelimiter(this.params,t,"")}return e},e}();t.Url=r},,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sendResourceInfo=void 0,t.sendResourceInfo=function(){var e=n(446).networkPerfomaceManager.getJsTracerObject();e&&n(447).sendToSolomon(r({eventName:"performance"},e))}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Queue=void 0;var r=function(){function e(){}return e.callProtected=function(t){n(8).protect("queue",t,void 0,e.finish)()},e.finish=function(){e.order.length?e.callProtected((function(){var t=e.order.shift();t&&t(e.finish)})):e.executed=!1},e.prototype.add=function(t){e.executed?e.order.push(t):(e.executed=!0,e.callProtected((function(){t(e.finish)})))},e.order=[],e.executed=!1,e}();t.Queue=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getServiceName=void 0;var r=[{name:"Yandex News",list:["yandexNews"]},{name:"Yandex Pogoda",list:["yandexPogoda"]},{name:"Avito",list:["avito","avitoMobile"]},{name:"Yandex Mail",list:["yandexMail"]},{name:"Yandex Zen",list:["yandexZen"]},{name:"Ok.Ru",list:["ok"]},{name:"Gismeteo",list:["gismeteo"]},{name:"Mail.Ru",list:["mailRuAll"]},{name:"Yandex Video",list:["yandexVideo"]},{name:"Yandex Images",list:["yandexImages"]},{name:"Yandex Maps",list:["yandexMaps"]}];t.getServiceName=function(e){void 0===e&&(e=window);for(var t="Other",o=0;o<r.length;o++)if(n(58).isHostInList(e,r[o].list)){t=r[o].name;break}return t}},function(e,t,n){"use strict";var r,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.getContextJsTimings=t.isRenderBlockedByCurrentContextJs=t.measureContextJsTiming=void 0;var s=window,u=n(159).CONTEXT_JS;t.measureContextJsTiming=function(){if(!(s.Ya&&s.Ya.Context&&s.Ya.Context.isFirstContextLoaded)&&s.performance&&s.performance.getEntriesByType){i=performance.now();var e=n(209).asyncCallbacksContainers.reduce((function(e,t){return e.concat(s[t])}),[]).filter((function(e){return"function"==typeof e&&e.toString().match(/AdvManager\.render/)}));a=e.length,s.performance.getEntriesByType("resource").forEach((function(e){e.name===u&&(r=e.startTime,o=e.responseEnd)}))}};t.isRenderBlockedByCurrentContextJs=function(){return a?(a--,!0):performance.now()-i<100};t.getContextJsTimings=function(){return{CONTEXT_JS_LOAD_START:r,CONTEXT_JS_LOAD_END:o,CONTEXT_JS_EXEC_START:i}}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.loadRtbDataLoader=void 0,t.loadRtbDataLoader=function(){return r||(r=Promise.resolve(n(419).RtbDataLoader)),r}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getAdUsageStorage=t.setAllowRepeatAds=void 0;var o=n(426).getAdUsageStorageVars(),i=o.ads,a=o.allAds,s=o.adFilterData,u=n(80).getHref();var c,d=function(){function e(e){var t=e.maxSkipSize,r=void 0===t?9:t,o=e.screen,i=e.custom;this.id=i?1:0,this.hidden=Boolean(o&&o<0),this.getNearbyAds=o?function(e,t){return n(428).getSurroundingAds(e,o,t,(function(){return!0}))}:function(e){return n(6).map(e.slice(-r),(function(e){return e.adId}))}}return e.limitYabs=function(e,t){var n=e.length-t;return n>0?e.slice(n):e},e.prototype.capture=function(e){i.add(r(r({},e),{hidden:this.hidden}))},e.prototype.release=function(e){i.remove(e)},e.prototype.getCapturedCount=function(){return i.items().length},e.prototype.captureDirect=function(e){var t=a.items(),r=n(246).difference(e,t);n(0).forEach(r,(function(e){return a.add(e)}))},e.prototype.getUnusableAds=function(e,t){void 0===t&&(t=[]);var r={};n(0).forEach(t,(function(e){return r[e]=!0}));var o=n(14).filter(i.items(),(function(e){var t=e.adId;return!r[t]}));return this.getNearbyAds(o,e)},e.prototype.saveAdFilter=function(e,t){var r=function(e){var t=e?e.split(":"):[],r=s.getEmptyAdFilter();return n(0).forEach(t,(function(e){if(-1!==e.indexOf("awaps."))r.awaps=e.split(".")[1];else if(-1!==e.indexOf("yabs.")){var t=e.split(".")[1];t.length>0&&(r.yabs=n(29).decode(t).split("\n"))}})),r}(e);s.setAdFilterData("awaps",r.awaps),t&&s.setAdFilterData("yabs",r.yabs)},e.prototype.getSkipToken=function(t,r){var o;o=n(80).getHref(),u!==o&&(s.setEmptyAdFilter(),u=o);var i,c,d=s.getAdFilterData(),l=a.items(),f=this.getUnusableAds(t,r),p=n(246).difference(d.yabs,l),v=e.limitYabs(p.concat(f),50),g={awaps:d.awaps,yabs:v};return c=[],(i=g).awaps&&c.push("awaps."+i.awaps),i.yabs.length&&c.push("yabs."+n(29).encode(i.yabs.join("\n"))),c.join(":")},e}();t.setAllowRepeatAds=function(e){c=e};t.getAdUsageStorage=function(e){var t=c||e&&e.allowRepeatAds||{};return new d(t)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockModule=t.loadBlockSet=void 0;var o,i={},a={},s=!1;function u(e){var t=e||n(207).getBundleName(window);t in n(309)||(t="common"),o||(o=new(n(129).Deferred)).promise.then((function(){s=!0}));var r=i[t];return r||(r=new Promise((function(e){n(309)[t]((function(t){n(21).forOwn(t,c),e(),o.resolve()}),(function(e){n(13).logger.error(e,"block-set_load_error")}))})),i[t]=r),o.promise}function c(e,t,o){var i=a[t],s=o[t];i?i.async&&!s.async&&(a[t].async=s.async,a[t].module=s.module):(a[t]=r({},s),s.async&&(a[t].module=function(e){s.module((function(n){a[t].async=!1,a[t].module=function(e){e(n)},e(n)}),(function(e){n(13).logger.error(e,"block-module_load_error")}))}))}function d(e){var t=a[e];return{name:e,async:t.async,module:t.module}}t.loadBlockSet=u,t.getBlockModule=function(e){var t=e.name;return s?d(t):(o||u(),{name:t,async:!0,module:function(e){o.promise.then((function(){d(t).module(e)}))}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractProp=void 0,t.extractProp=function(e){var t=window,n=t[e];return t[e]=void 0,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logLoadersInfo=void 0;var r={yastaticAdfox:"yastatic.net/pcode/adfox/loader.js",anYandexAdfox:"an.yandex.ru/system/adfox.js",yandexAdfox:"yandex.ru/ads/system/adfox.js",yastaticContext:"yastatic.net/pcode/context.js",anYandexContext:"an.yandex.ru/system/context.js",yandexContext:"yandex.ru/ads/system/context.js"},o=Math.random()<.05;t.logLoadersInfo=n(15).once(n(8).protect("logMultipleLoaders",(function(){if(o){var e=document.getElementsByTagName("script"),t={};n(0).forEach(n(51).getObjectEntries(r),(function(r){t[r[0]]=String(n(14).filter(e,(function(e){return e.src.indexOf(r[1])>-1})).length)}));var i=document.currentScript,a=(null==i?void 0:i.src)||"";n(94).every(n(51).getObjectEntries(r),(function(e){return-1===a.indexOf(e[1])}))&&(t.unknownLocation=a);var s=n(330).getCurrentCrossorigin();t.crossOrigin=String(null==s?void 0:s.crossOrigin),t.isCrossOriginAnonymous=String(null==s?void 0:s.isCrossOriginAnonymous),t.async=i?String(i.async):"unknown",t.now=String((null===performance||void 0===performance?void 0:performance.now())||-1),n(13).logger.log({data:t,name:"LoadersUsageInfo",portion:100})}})))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertContextStaticStub=t.loadContextStatic=void 0;t.loadContextStatic=function(){var e=document.currentScript&&document.currentScript.src||"",t=n(207).getBundleUrl(window,n(7).getYa(),e);if(!document.getElementById(t)){0;var r=n(55).getHead(window),o=document.createElement("script");o.id=t,o.async=!0,o.src=t,o.crossOrigin="anonymous",r.appendChild(o)}},t.insertContextStaticStub=function(){var e=document.currentScript&&document.currentScript.src||"",t=n(207).getBundleUrl(window,n(7).getYa(),e);if(!document.getElementById(t)){var r=document.createElement("meta");r.id=t,n(55).getHead(window).appendChild(r)}}},function(e,t,n){"use strict";var r=(0,n(132).getCrossFrameStorage)("__pcodeStorage__");e.exports=function(e,t){var n=r.getItem(e);return n||(n=t(),r.setItem(e,n)),n}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SmartQueue=void 0;var o=!n(58).isHostInList(window,["yandexImages","yandexVideo"])&&!n(114).isMobile,i=n(4).useExperimentFlag("SMART_QUEUE"),a="0x0"===i||"recalc"===i,s="recalc"===i,u=function(){function e(){var e=this;this.records=[],this.inWork=0,this.done=function(){e.inWork--,e.next()}}return e.prototype.add=function(e){var t=r(r({},e),{isReady:Boolean(e.isReady)});this.records.push(t),this.next()},e.prototype.remove=function(e){this.records=this.records.filter((function(t){return t.id!==e})),n(303).stopWaiting(e)},e.prototype.next=function(){var e=this;if(0===this.inWork&&this.records.length>0){var t=this.records.shift();if(t){this.inWork++;var r=n(161).querySelector("#"+t.renderTo);if(!r){var i='Container with id "'+t.renderTo+'" is not found (queue)';return n(54).triggerError(t.id,"CONTAINER_NOT_FOUND",i),n(147).logger.errorStrict("CONTAINER_NOT_FOUND",{text:i}),void this.inWork--}var u=t.lc||new(n(304).LayoutConfig)(r);if(o&&a){var c=u.get("w")>0||u.get("h")>0;if(t.isReady=t.isReady||c,!t.isReady)return t.lc=s?void 0:u,n(1).isFunction(t.onRender)&&(t.onRender({product:"unknown"}),t.onRender=void 0),n(303).waitForVisible(t.id,r,(function(){t.isReady=!0,e.add(t)})),void this.inWork--}n(8).protect("SmartQueue",(function(){return t.task(e.done,u)}),void 0,this.done)()}}},e}();t.SmartQueue=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopWaiting=t.waitForVisible=void 0;var r=n(373).DisplayObserver,o={},i=["position:absolute","left:-1000px","top:-1000px","width:1px","height:1px","display:block"].join(";");t.waitForVisible=function(e,t,n){var a=document.createElement("div");a.setAttribute("style",i),t.appendChild(a);var s=new r((function(e){e&&(t.removeChild(a),s.disconnect(),n())}));s.observe(a),o[e]={observer:s,element:a}},t.stopWaiting=function(e){o[e]&&(o[e].observer.disconnect(),n(50).removeNodeFromParent(o[e].element),delete o[e])}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutConfig=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.toString=function(){return n.lv["json"].stringify(this.config)},t.prototype.getConfig=function(){return this.config},t}(n(282).LayoutConfig);t.LayoutConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdList=void 0;var r=function(){function e(){this.list=[]}return e.prototype.add=function(e){e&&(-1===this.indexOf(e)&&this.list.push(e))},e.prototype.remove=function(e){if(e){var t=this.indexOf(e);-1!==t&&this.list.splice(t,1)}},e.prototype.items=function(){return this.list},e.prototype.indexOf=function(e){return n(34).indexOf(this.list,e,0,(function(t){return n(2).isString(t)||n(2).isString(e)?t===e:!(!t.adId||!e.adId)&&(t.adId===e.adId&&t.pageNumber===e.pageNumber&&t.renderTo===e.renderTo)}))},e}();t.AdList=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsSsrIgnored=void 0;var r=n(433).getSsrBlacklistConfig(n(30).getUaasFlags()),o=n(101).isTouchDevice()?"touch":"desktop";t.getIsSsrIgnored=function(e,t,i){var a={};try{a=n.lv["json"].parse((null==t?void 0:t.toString())||"{}")}catch(e){}return n(434).isSsrIgnored(r,e,o,a,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMarkerIsValidStat=void 0;t.getMarkerIsValidStat=function(e){return Number(new Date)>1642950574049?n(97).PRODUCT_MARKERS.OLD_BUILD:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasMraid=void 0,t.hasMraid=n(15).once((function(){var e=n(258).getMraid();if(e){var t=e.getVersion();n(13).logger.info({msg:"MRAID_IS_ENABLED",version:t},"MRAID_LOG")}return Boolean(e)}))},function(e,t,n){e.exports={common:n(457),ssr:n(458)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createLogger=void 0;t.createLogger=function(e){var t=e.service,o=e.probability,i=new(n(138).Stats)({service:t,version:String(n(105).loaderVersion),createTagsFunction:function(e){return e.eventName===n(144).EVENT_RENDER_PERFOMANCE||e.eventName===n(144).EVENT_NETWORK_PERFOMANCE?e.values:n(138).CREATE_TAGS_FOR_STATS_DEFAULT(e)}}),a={bundleVersion:String(n(105).bundleVersion),isAnYandexLoader:n(112).isAnYandexLoader(),comboLoaderExp:n(112).comboLoaderExperimentValue()};return{logEvent:function(e){if("string"==typeof e)i.event({name:e,probability:o});else{var t=e.name,n=e.labels,s=e.data,u=e.probability,c=void 0===u?o:u;i.event({name:t,labels:n,data:r(r({},s),a),probability:c})}},logError:function(e){if("string"==typeof e)i.error({error:new(n(24).CustomError)({code:e}),probability:o});else{var t=e.message,r=e.labels,a=e.data,s=e.probability,u=void 0===s?o:s;i.error({error:new(n(24).CustomError)({code:t,details:a}),labels:r,probability:u})}},logValue:function(e){var t=e.name,n=e.labels,s=e.value,u=e.data,c=e.probability,d=void 0===c?o:c;i.value({name:t,labels:n,value:s,probability:d,data:r(r({},u),a)})},logValues:function(e){var t=e.name,n=e.values,s=e.labels,u=e.data,c=e.probability,d=void 0===c?o:c;i.values({name:t,labels:s,values:n,data:r(r({},u),a),probability:d})},errorToStats:function(e,t){i.errorToStats(e,t)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_TIMEOUT=void 0,t.DEFAULT_TIMEOUT=300},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIntersectionObserverSupported=void 0;var r=n(17);t.isIntersectionObserverSupported="function"==typeof IntersectionObserver&&r.checkNativeCode(IntersectionObserver)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIfIsAndroid=void 0,t.getIfIsAndroid=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent,r=void 0===t?"":t,o=/Android/.test(r),i=n(317).isWindowsPhone(e),a=/com\.yandex\.mobile\.metrica\.ads\.sdk.*?Android/.test(r);return o&&!i||a}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindowsPhone=void 0;t.isWindowsPhone=function(e){return void 0===e&&(e=window),/Windows Phone/i.test(e.navigator.userAgent)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAndroidVersion=void 0,t.getAndroidVersion=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent,n=t.indexOf("Android");return-1===n?-1:parseFloat(t.slice(n+8))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeMethod=void 0,t.getNativeMethod=function(e,t){var r=e[t];if(!n(17).checkNativeCode(r)){var o=r;try{delete e[t],r=e[t],e[t]=o}catch(e){}}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdblockCookieMatchingType=void 0,function(e){e[e["doNotMatch"]=0]="doNotMatch",e[e["image"]=1]="image",e[e["refresh"]=2]="refresh",e[e["all"]=3]="all",e[e["scrumble"]=4]="scrumble"}(t.AdblockCookieMatchingType||(t.AdblockCookieMatchingType={}))},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowScroll=void 0,t.getWindowScroll=function(){return{left:void 0===window.pageXOffset?document.documentElement.scrollLeft:window.pageXOffset,top:void 0===window.pageYOffset?document.documentElement.scrollTop:window.pageYOffset}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsLongUrlSupported=void 0;t.getIsLongUrlSupported=function(e){return void 0===e&&(e=window),!n(325).getIsIE(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsIE=void 0;t.getIsIE=function(e){return void 0===e&&(e=window),-1!==n(88).getInternetExplorerVersion(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasDimensions=void 0,t.hasDimensions=function(e){var t=n(25).getBoundingClientRect(e),r=t.width,o=t.height;return r>0&&o>0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.endsWith=void 0,t.endsWith=function(e,t){return t===e.substring(e.length-t.length)}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getDistanceFromViewport=t.isInViewport=t.ViewportObserver=void 0;var o=n(34),i=n(114),a=n(314),s=n(15),u=n(72),c=n(8),d=n(404),l=100*(i.isMobile?2:.7)+"% 0px",f=[0,.25,.5,.75,1],p=function(){function e(e){var t=this;this.options=e,this.onVisibilityChange=c.protect("viewportObserver::onVisibilityChange",(function(e){for(var n=0;n<e.length;n++){var r=e[n],o=r.intersectionRatio>0;t.runTask(r.target,o)}}))}return e.prototype.observe=function(e,t){var n=this,i=c.protect("viewportObserver::protectedTask",t);if(!a.isIntersectionObserverSupported){var u=new d.Deferred;return u.promise.then((function(){return i(!0)})),u.resolve(),s.once((function(){u.reject()}))}if(!this.intersectionObserver){var p=r({rootMargin:l,threshold:f},this.options);this.tasks=new Map,this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,p)}this.tasks.has(e)||(this.intersectionObserver.observe(e),this.tasks.set(e,[]));var v=this.tasks.get(e);return v.push(i),s.once((function(){var t=o.indexOf(v,i);v.splice(t,1),0===v.length&&(n.tasks.delete(e),n.intersectionObserver.unobserve(e))}))},e.prototype.runTask=function(e,t){var n=this.tasks.get(e);if(n)for(var r=n.concat([]),o=0;o<r.length;o++){(0,r[o])(t)}},e}();t.ViewportObserver=p,t.isInViewport=function(e,t){if(void 0===t&&(t=.5),!a.isIntersectionObserverSupported)return!0;var n=e.getBoundingClientRect();if(0===n.width&&0===n.height)return!1;var r=u.getWindowSize(),o=r.height*t,i=-o,s=r.height+o;return n.top>i&&n.top<s||n.bottom>i&&n.bottom<s},t.getDistanceFromViewport=function(e,t){void 0===t&&(t=.5);var n=e.getBoundingClientRect();if(0===n.width&&0===n.height)return 1/0;var r=u.getWindowSize(),o=r.height*t,i=-o,a=r.height+o;return n.bottom<i?n.bottom-i:n.top>a?n.top-a:0}},function(e,t,n){var r,o,i=!1;function a(){r=[],n.e(36).then(function(){if(o=n(575),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(o);i=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);i=!0,r=null}))}e.exports=function(e,t){t=t||function(){},o?e(o):(i&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentCrossorigin=void 0;var r=["anonymous","same-origin","",null];t.getCurrentCrossorigin=function(){var e=document.currentScript;if(!e)return null;var t=null===e.crossOrigin?null:e.crossOrigin.toLowerCase(),o=!n(67).includes(r,t),i=""===t,a="anonymous"===t;return{crossOrigin:t,isCrossOriginAnonymous:n(2).isString(t)&&(o||i||a)}}},function(e,t,n){"use strict";var r,o=[];function i(){for(;o.length;)o[0](),o.shift()}function a(e){this.a=s,this.b=void 0,this.f=[];var t=this;try{e((function(e){!function e(t,n){if(t.a==s){if(n==t)throw new TypeError;var r=!1;try{var o=n&&n.then;if(null!=n&&"object"==typeof n&&"function"==typeof o)return void o.call(n,(function(n){r||e(t,n),r=!0}),(function(e){r||c(t,e),r=!0}))}catch(e){return void(r||c(t,e))}t.a=0,t.b=n,d(t)}}(t,e)}),(function(e){c(t,e)}))}catch(e){c(t,e)}}r=function(){setTimeout(i)};var s=2;function u(e){return new a((function(t){t(e)}))}function c(e,t){if(e.a==s){if(t==e)throw new TypeError;e.a=1,e.b=t,d(e)}}function d(e){!function(e){o.push(e),1==o.length&&r()}((function(){if(e.a!=s)for(;e.f.length;){var t=(o=e.f.shift())[0],n=o[1],r=o[2],o=o[3];try{0==e.a?r("function"==typeof t?t.call(void 0,e.b):e.b):1==e.a&&("function"==typeof n?r(n.call(void 0,e.b)):o(e.b))}catch(e){o(e)}}}))}a.prototype.g=function(e){return this.c(void 0,e)},a.prototype.c=function(e,t){var n=this;return new a((function(r,o){n.f.push([e,t,r,o]),d(n)}))},a.resolve=u,a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){for(var r=0;r<e.length;r+=1)u(e[r]).c(t,n)}))},a.all=function(e){return new a((function(t,n){function r(n){return function(r){i[n]=r,(o+=1)==e.length&&t(i)}}var o=0,i=[];0==e.length&&t(i);for(var a=0;a<e.length;a+=1)u(e[a]).c(r(a),n)}))},a.prototype.then=a.prototype.c,a.prototype["catch"]=a.prototype.g,e.exports=window.Promise||a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.info=t.net=t.com=t.rf=t.ru=t.piHermione=t.pi=t.avitoMobile=t.avito=t.gismeteo=t.wifi=t.authwifi=t.mailRuAll=t.mailRu=t.wowSale=t.cyberSport=t.ok=t.vk=t.yandexMorda=t.yandexChromeNtp=t.yandexWebntp=t.yandexRasp=t.yandexMail=t.yandexZen=t.yandexImages=t.yandexVideo=t.yandexMaps=t.yandexPogoda=t.yandexNews=t.yandexTv=void 0,t.yandexTv=n(5).createHostAsserter("(?:tv\\.yandex(\\.\\w+))"),t.yandexNews=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/news)"),t.yandexPogoda=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/pogoda)"),t.yandexMaps=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/maps)"),t.yandexVideo=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/video)"),t.yandexImages=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/images)"),t.yandexZen=n(5).createHostAsserter("(?:zen\\.yandex(\\.\\w+))"),t.yandexMail=n(5).createHostAsserter("(?:mail\\.yandex(\\.\\w+))"),t.yandexRasp=n(5).createHostAsserter("(?:rasp\\.yandex(\\.\\w+))"),t.yandexWebntp=n(5).createHostAsserter("(?:webntp\\.yandex(\\.\\w))"),t.yandexChromeNtp=n(5).createHostAsserter("(?:yandex(\\.\\w+)\\/chrome\\/newtab)"),t.yandexMorda=n(5).createHostAsserter("(?:yandex(\\.\\w+))",{allowLowerLevelDomains:!1,eol:!0}),t.vk=n(5).createHostAsserter("vk\\.com"),t.ok=n(5).createHostAsserter("ok\\.ru");var r=n(5).createHostAsserter("sportmail\\.ru");t.cyberSport=n(5).createHostAsserter("cybersport\\.(ru|com)"),t.wowSale=n(5).createHostAsserter("wowsale\\.ru"),t.mailRu=n(5).createHostAsserter("(?:(?:devmail\\.ru)|(?:mail\\.ru))"),t.mailRuAll=[t.vk,t.ok,r,t.mailRu,t.wowSale,t.cyberSport],t.authwifi=n(5).createHostAsserter("(?:\\w+-)?auth\\.wi-fi\\.ru");var o=n(5).createHostAsserter("wi-fi\\.ru");t.wifi=[].concat(t.authwifi,o),t.gismeteo=n(5).createHostAsserter("gismeteo\\.ru"),t.avito=n(5).createHostAsserter("^(([^m]|\\w\\w+)(\\.avito)|avito)\\.(dev|ru)"),t.avitoMobile=n(5).createHostAsserter("m\\.avito\\.(dev|ru)"),t.pi=n(5).createHostAsserter("(dev-)?partner(s|2)?(-(creator01(e|f)|preprod|test|local))?(\\.crowdtest)?\\.yandex\\.(com(\\.tr)?|ru|by|kz|ua)"),t.piHermione=n(5).createHostAsserter("\\w+\\.ldev\\.yandex\\.ru"),t.ru=n(5).createHostAsserter(".*\\.ru"),t.rf=n(5).createHostAsserter(".*\\.xn--p1ai"),t.com=n(5).createHostAsserter(".*\\.com"),t.net=n(5).createHostAsserter(".*\\.net"),t.info=n(5).createHostAsserter(".*\\.info")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAvailableFont=void 0;var r=["sf","roboto","arial"];t.setAvailableFont=function(){var e,t=window&&(window.Ya||(window.Ya={}))||{};try{if((null===(e=document.fonts)||void 0===e?void 0:e.check)&&!document.fonts.check("16px ABCDFGHJKLMN"))for(var o=0;o<r.length;o++){var i=r[o];if(document.fonts.check("16px "+n(222).formatFontFamily(i)))return void(t.availableFontFamily=i)}}catch(e){}if(window){var a=document.body,s=document.createElement("span");s.innerHTML="WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW",s.style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;");var u={sf:4962,roboto:4770,arial:5074},c=function(e){s.style.fontFamily=e,a.appendChild(s);var t=s.clientWidth;return a.removeChild(s),t};for(o=0;o<r.length;o++){i=r[o];var d=c(n(222).getFontFamilyString([i]));if(d>=u[i]-5&&d<=u[i]+5)return void(t.availableFontFamily=i)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowConfig=void 0;var r=function(e){return Math.max(0,Math.round(e))};t.getWindowConfig=function(){var e=n(72).getWindowSize(),t=n(200).getIsQuirks(),o={win_width:r(e.width),win_height:r(e.height),pixel_ratio:n(201).getPixelRatio(),bandwidth:n(256).getDownlink()};return t&&(o.quirks=t),o}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getElementSize=void 0,t.getElementSize=function(e){var t=n(180).calculateSizeInfo(e),o=r(r(r({},t.max.rect),t.max.inner),{isFixed:t.isFixed});return o.height>=n(180).MAX_BLOCK_HEIGHT&&(o.height=0,o.top=o.bottom=t.origin.rect.top),o}},function(e,t,n){"use strict";function r(e){return Math.round(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getElementPosition=void 0,t.getElementPosition=function(e){var t=n(323).getWindowScroll();return{left:r(e.left+t.left),top:r(e.top+t.top)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVisible=void 0;t.getVisible=function(e,t){var n=e.width,r=e.height,o=e.top,i=e.left,a=e.right,s=e.bottom,u=1,c=Math.max(Math.min(a,t.width)-Math.max(i,0),0),d=Math.max(Math.min(s,t.height)-Math.max(o,0),0);return n?u*=c/n:(i<0||a>t.width)&&(u=0),r?u*=d/r:(o<0||s>t.height)&&(u=0),u>=.5?1:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareCustomHeaders=void 0,t.prepareCustomHeaders=function(e){if(!n(9).isObject(e))return{};var t={};return n(21).forOwn(e,(function(e,r){n(2).isString(r)&&"X"===r.charAt(0).toUpperCase()&&(t[r]=String(e))})),t}},function(e,t,n){"use strict";var r=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.assignUaasRequestParams=void 0,t.assignUaasRequestParams=function(e,t){var i=n(30).getUaasConfig(),a=i.flagsMap,s=i.flagsMapCompressed,u=i.testIds;if(u&&t.useTestIds&&(e["pcode-test-ids"]=u),s?e["pcode-flags-map"]=s:a&&n(37).getObjectKeys(a).length>0&&(e["pcode-flags-map"]=n.lv["json"].stringify(a)),!t.disableSsr){(t.useSsr||n(4).useExperimentFlag("USE_SSR"))&&(e["use-server-side-rendering"]="1");var c=function(){var e=n(4).useExperimentFlag("DEFAULT_SSR_FORMATS"),t=n(10).isArray(e)?e:[],r=n(4).useExperimentFlag("SSR_BLOCKS");n(10).isArray(r)&&(t=t.concat(r));return t}();c.length>0&&(e["server-side-rendering-enabled-formats"]=c.join("\n"))}e["price-disabled-formats"]=function(){var e=n(4).useExperimentFlag("PRICE_DISABLED_FORMATS",!0);if(n(10).isArray(e))return r(r([],o),e);return o}().join("\n");var d=n(20).parseQueryString(location.search||""),l=n(4).useExperimentFlag("SRCRWR")||d["pcode-srcrwr"]||d.srcrwr;l&&(e.srcrwr=l,e["ssr-dev"]="1",e["use-server-side-rendering"]="1"),e["raw-smart-content"]="1",e["smart-format-names"]=["smart-banner-adaptive_v1","smart-banner-mosaic_v1"].join("\n");var f=n(4).useExperimentFlag("SMART_SSR_FORMATS");if(f){var p=f.split(",");e["smart-format-names"]=r(["smart-banner-adaptive_v1","smart-banner-mosaic_v1"],p).join("\n")}return i.iCookie&&(e["pcode-icookie"]=i.iCookie),n(4).useExperimentFlag("DISABLE_BASE64_SSR")&&(e.disableSsrBase64Please="true"),n(4).useExperimentFlag("DISABLE_BASE64_MEDIA")&&(e["disable-base64"]="1"),e};var o=["adaptive0418","adaptive","modernAdaptive","horizontal","horizontal0318","grid","160x600","240x400","200x300","300x300","300x250","250x250","728x90","1000x120","320x50","320x100","400x240","320x480","480x320","336x280","300x600","300x500","970x250","970x90"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteUid=void 0,t.getSiteUid=function(e){var t;void 0===e&&(e=window);var r=null===(t=e.yandex)||void 0===t?void 0:t.getSiteUid;if(n(1).isFunction(r))return String(r())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YANDEX_DOMAINS=void 0,t.YANDEX_DOMAINS=["yandex.ru","yandex.com","yandex.net","yandex.com.tr","yandex.ua","yandex.by","yandex.kz","yandex.st","yandex-team.ru","yandex-team.com","yandex-team.com.ua","yandex-team.net.ua","yandex-team.com.tr","ya.ru","yandexsport.ru"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseGrab=void 0,t.canUseGrab=function(e,t){return!n(58).isHostInList(e,["mailRuAll"])&&!n(343).isPageIdBlacklisted(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPageIdBlacklisted=t.grabPageIdBlacklist=void 0,t.grabPageIdBlacklist=["159294","419036"],t.isPageIdBlacklisted=function(e){return!!e&&t.grabPageIdBlacklist.indexOf(e)>=0}},function(e,t,n){"use strict";t.__esModule=!0,t.text=function(e,t){void 0===e&&(e={});"string"==typeof t&&(e["textContent"]=t);return e["textContent"]||""},t.elementByTag=function(e,t){return e.querySelector(t)},t.closestElementWithAttr=function(e,t){var n,r=null;for(;e&&1===e.nodeType;){if(n=e.getAttribute(t)){r=e;break}e=e.parentNode}return{element:r,value:n}},t.getCurrentScript=function(e){if(e.currentScript)return e.currentScript;var t=e.getElementsByTagName("script");return t[t.length-1]},t.elementOffset=function(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,r=n.documentElement,o=n.defaultView||n.parentWindow;return{top:t.top+(o.pageYOffset||r.scrollTop)-(r.clientTop||0),left:t.left+(o.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}},t.pageOffset=function(e){var t=e.document,n=void 0!==e.pageXOffset,r="CSS1Compat"===(t.compatMode||"");return{left:n?e.pageXOffset:r?t.documentElement.scrollLeft:t.body.scrollLeft,top:n?e.pageYOffset:r?t.documentElement.scrollTop:t.body.scrollTop}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsedLocationQueryString=void 0;var r=n(20).parseUrlUsingCache(window.location.href),o=r.hash.substr(1)||r.search;t.parsedLocationQueryString=n(20).parseQueryString(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_RELOAD_TIMEOUT=t.TURBO_MAX_SIZE=void 0,t.TURBO_MAX_SIZE={width:300,height:300},t.DEFAULT_RELOAD_TIMEOUT=30},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepCopy=void 0;t.deepCopy=function(e,r){void 0===r&&(r={preserveConstructors:!0});var o=e;return n(10).isArray(e)?e.map((function(e){return t.deepCopy(e,r)})):n(143).isDate(e)?new Date(e.getTime()):(!n(1).isFunction(e)&&n(9).isObject(e)&&(o=r.preserveConstructors?n(255).objectCreate(e):{},n(21).forOwn(e,(function(e,n){o[n]=t.deepCopy(e,r)}))),o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.networkPerfomaceManager=void 0;t.networkPerfomaceManager=new(n(230).NetworkPerformanceManager)([{prefix:"LOADER",re:/\/pcode\/adfox\/loader\.js$/i},{prefix:"HB",re:/\/pcode\/adfox\/header-bidding\.js$/i},{prefix:"BUNDLE",re:/\/pcode-bundles.*\/banner_.*\/banner_.*\.js$/i},{prefix:"ADXSTUB",re:/\/pcode\/adfox\/adfox-adx-stub\.js$/i},{prefix:"BULK",re:/(ads\.adfox\.ru)|(an\.yandex\.ru\/adfox)\/.*\/getBulk\/v2.*$/i},{prefix:"PREP",re:/ads\.adfox\.ru\/.*\/prepareCode.*$/i},{prefix:"CODETEST",re:/ads\.adfox\.ru\/.*\/getCodeTest.*$/i}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAllCookies=void 0,t.isAllCookies=n(286).isPercent(25)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBundleVersion=void 0;var r=n(345).parsedLocationQueryString.mcodever;t.getBundleVersion=function(){return r||n(105).bundleVersion}},,,,function(e,t,n){"use strict";t.__esModule=!0,t.report=function(e,t){!e||"string"!=typeof e||t&&r[e]||(r[e]=!0,(0,n(469).sendPixel)(e))},t.clearCache=function(){0};var r={}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceProtocolToHTTPS=void 0;t.replaceProtocolToHTTPS=function(e){return e.replace(/^http:/,"https:")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPr=void 0,t.getPr=function(){return n(19).ns.pr||n(81).ns.headerBidding&&n(81).ns.headerBidding.pr}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.support=t.getDeviceName=t.getBrowserName=t.testProperty=t.flashVer=t.isHDPIScreen=t.isPhone=t.isMobile=t.isWindowsPhone=t.androidVersion=t.isAndroid=t.iOSVersion=t.isIOS=t.isUCBrowser=t.isYaBrowser=t.isChrome=t.isFirefox=t.isSafariBasedBrowser=t.safariVersion=t.isSafari=t.isEdge=t.isIEQuirks=t.isIE=t.isIE11=t.isIE10=t.ieVersion=t.isOperaMini=t.isOpera=t.isQuirks=void 0;var r=window;t.isQuirks=n(200).getIsQuirks(r),t.isOpera=n(527).isOpera(r),t.isOperaMini=n(252).isOperaMini(r),t.ieVersion=n(88).getInternetExplorerVersion(r),t.isIE10=10===t.ieVersion,t.isIE11=11===t.ieVersion,t.isIE=t.ieVersion>0,t.isIEQuirks=n(200).getIsIEQuirks(r),t.isEdge=t.ieVersion&&t.ieVersion>11||!1,t.isSafari=n(150).getIsSafari(r),t.safariVersion=n(528).getSafariVersion(r),t.isSafariBasedBrowser=n(182).getIsSafariBasedBrowser(r),t.isFirefox=n(203).isFirefox(r),t.isChrome=n(529).getIsChrome(r),t.isYaBrowser=n(377).getIsYaBrowser(r),t.isUCBrowser=n(152).isUCBrowser(r),t.isIOS=n(93).getIsIOS(r),t.iOSVersion=n(530).getIOSVersion(r),t.isAndroid=n(315).getIfIsAndroid(r),t.androidVersion=n(318).getAndroidVersion(r),t.isWindowsPhone=n(317).isWindowsPhone(r),t.isMobile=n(199).isMobile(r),t.isPhone=n(531).isPhone(r),t.isHDPIScreen=n(378).isHDPIScreen(r),t.flashVer=[0,0,0],Object.defineProperty(t,"testProperty",{enumerable:!0,get:function(){return n(126).testProperty}}),Object.defineProperty(t,"getBrowserName",{enumerable:!0,get:function(){return n(257).getBrowserName}}),t.getDeviceName=function(){return(t.isPhone?"phone":t.isMobile&&"tablet")||"desktop"},t.support={cssFlex:n(250).isCssFlexSupported,cssTransform:n(250).isCssTransformSupported,cssTransition:n(250).isCssTransitionSupported,cssFilterBlur:n(250).isCssFilterBlurSupported,touch:n(101).isTouchDevice(r),postMessage:n(533).getIsPostMessageSupported(r),longUrls:n(324).getIsLongUrlSupported(r)}},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var r={hasClass:n(92).hasClass,addClass:n(92).addClass,clearClasses:n(92).clearClasses,removeClass:n(92).removeClass,toggleClass:n(92).toggleClass,setStyle:n(178).setStyle,innerHTML:n(391).innerHtml};t["default"]=r},,,function(e,t,n){"use strict";e.exports={BlockTypes:{VERTICAL:"vertical",HORIZONTAL:"horizontal",GRID:"grid",SSR:"ssr"},BorderTypes:{NONE:"none",BLOCK:"block",AD:"ad",COLLAPSE:"collapse"}}},,,,,function(e,t,n){"use strict";t.__esModule=!0,t.listeners=t.DisplayObserver=t.INTERVAL=void 0;t.INTERVAL=300;var r=null,o=(0,n(376).augment)(Object,{constructor:function(e){this.handler=e},observe:function(e){return this.disconnect(),this.element=e,function(e){var t=e.element,n=s(t);n||(n=new i(t),a.push(n));n.observers.push(e),u(n),a.length&&!r&&(r=window.setInterval(c,300))}(this),this},disconnect:function(){var e,t;return(t=s((e=this).element))&&(d(t.observers,e),t.observers.length||d(a,t),!a.length&&r&&(window.clearInterval(r),r=null)),this}});function i(e){this.element=e,this.observers=[]}t.DisplayObserver=o;var a=[];function s(e){for(var t=0;t<a.length;t++){var n=a[t];if(n.element===e)return n}return null}function u(e){var t=e.element,r=(0,n(326).hasDimensions)(t);(0,n(0).forEach)(e.observers.concat(),(function(e){e.handler(r,t)}))}function c(){(0,n(0).forEach)(a.concat(),u)}function d(e,t){var r=(0,n(34).indexOf)(e,t);r>-1&&e.splice(r,1)}t.listeners=a},function(e,t,n){"use strict";t.__esModule=!0,t.extend=function(e){for(var t,n=1,r=arguments.length;n<r;n++)if(t=arguments[n])for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e}},function(e,t,n){"use strict";var r;r=n(36).isAMP?n(425):n(296),e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.augment=function(e,t){var r=t.constructor;t.hasOwnProperty("constructor")||(r=function(){r.__parent.apply(this,arguments)});var o=(0,n(255).objectCreate)(e.prototype);return o.constructor=r,r.__super=e.prototype,r.__parent=e,o.__self=r,r.prototype=(0,n(374).extend)(o,t),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsYaBrowser=void 0;t.getIsYaBrowser=function(e){return void 0===e&&(e=window),/YaBrowser/.test(n(71).getUserAgent(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHDPIScreen=void 0;t.isHDPIScreen=function(e){return void 0===e&&(e=window),n(201).getPixelRatio(e)>1}},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValidNumber=t.getValidGeo=void 0;t.getValidGeo=function(e){if(e){var t={},n=parseFloat(e.lat),r=parseFloat(e["long"]);return isNaN(n)||(t.lat=n.toFixed(6)),isNaN(r)||(t["long"]=r.toFixed(6)),t}},t.getValidNumber=function(e){var t=parseInt(e,10);if(!(isNaN(t)||!isFinite(t)))return t}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toQueryParams=void 0,t.toQueryParams=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&""!==e[n]&&void 0!==e[n]&&null!==e[n]&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnimationFrameFunctions=void 0,t.getAnimationFrameFunctions=function(e){var t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return e.setTimeout(t,n(390).DEFAULT_ANIMATION_TIMEOUT)},r=e.cancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelAnimationFrame||e.msCancelAnimationFrame||function(t){return e.clearTimeout(t)};return{requestAnimationFrame:t.bind(e),cancelAnimationFrame:r.bind(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ANIMATION_TIMEOUT=void 0,t.DEFAULT_ANIMATION_TIMEOUT=1e3/60},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerHtml=void 0,t.innerHtml=function(e,t){e.innerHTML=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryStringify=void 0,t.tryStringify=function(e){var t;try{t=n.lv["json"].stringify(e)}catch(e){}return t}},,,function(e,t,n){"use strict";t.__esModule=!0,t.loadScript=function(e,t,r,o){void 0===o&&(o={});var i=e.document,a=i.createElement("script"),s=(0,n(344).elementByTag)(i,"script")||i.body||i.documentElement;for(var u in a.src=t,o)o.hasOwnProperty(u)&&a.setAttribute(u,o[u]);"function"==typeof r&&(a.onload=a.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"loaded"!==this.readyState||(a.onload=a.onreadystatechange=null,r())});if(s&&s.parentNode)s.parentNode.insertBefore(a,s);else{if(!s||!s.appendChild)throw new Error("loadScript: there is no node to append script");s.appendChild(a)}},t.executeScript=function(e,t,r){var o=e.document,i=o.createElement("script"),a=(0,n(344).elementByTag)(o,"script")||o.body;i.text=t,a.parentNode.insertBefore(i,a),"function"==typeof r&&r()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAd=void 0;t.loadAd=function(e){new(n(448).AdLoader)(e).load()}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RtbTesttag=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTemplate=function(){return[[4,"marker"],[6,null],[1,"isIframe"],[1,"isApp"],[1,"isSSP"],[1,null],[1,"isFullscreen"],[1,"hasMraid"],[18,null],[2,"uniloaderAmpExp"],[1,"honeypot"],[1,null],[1,"amp"],[10,"codeVer"],[1,"adblock"],[3,"adfoxexp"]]},t.prototype.defaults=function(){return i({marker:n(307).getMarkerIsValidStat(n(97).PRODUCT_MARKERS.RTB),adblock:!1,amp:n(36).isAMP,isIframe:n(82).isInIframe(window),hasMraid:n(308).hasMraid(),isSSP:n(31).checkBundleType(n(31).bundleTypes.SSP),uniloaderAmpExp:n(176).experimentBitValues(n(4).useExperimentFlag("UNILOADER_FOR_AMP"),n(176).BOOLEAN_EXP_BIT_VALUES)},n(4).useExperimentFlag("IGNORE_VERSION_IN_TESTTAG_17863")?{}:{codeVer:n(23).getRevisionNo()})},t}(n(110).AbstractTesttag);t.RtbTesttag=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,n){this.isDestroyed=!1,this.destroyHandlers=[],this.win=e,this.doc=e.document,this.params=this.processParams(t),this.callbacks=n}return e.prototype.renderTo=function(e){this.container=e,this.beforeRender(),this.render(),this.isDestroyed||this.afterRender()},e.prototype.destroy=function(){this.isDestroyed||(this.isDestroyed=!0,this.removeEvents())},e.prototype.beforeRender=function(){},e.prototype.render=function(){},e.prototype.afterRender=function(){},e.prototype.processParams=function(e){return e},e.prototype.removeEvents=function(){for(var e=0;e<this.destroyHandlers.length;e++)this.destroyHandlers[e]();this.destroyHandlers=[]},e.prototype.triggerCallback=function(e,t){!this.isDestroyed&&this.callbacks&&this.callbacks[e]&&this.callbacks[e](t)},e}();t["default"]=r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByClassName=void 0,t.getElementsByClassName=function(e,t){return t.getElementsByClassName(e)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseAllowRepeatAds=void 0,t.parseAllowRepeatAds=function(e){var t;if("object"==typeof e){t=r({},e);var o=e.screen;o&&(t.screen=Number(o)||(n(114).isMobile?o.mobile:o.desktop))}else t={maxSkipSize:0};return t.custom=!0,t}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.DirectTesttag=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTemplate=function(){return[[4,"marker"],[4,"renderedBannersAmount"],[1,"isTurbo"],[1,"advancedFormat"],[6,"format"],[1,"isIframe"],[1,"isHover"],[1,"isRefreshed"],[1,"isSSP"],[2,"layout"],[7,"userGroup"],[1,"isApp"],[1,"hasMraid"],[1,"isFullscreen"],[2,null],[2,"uniloaderAmpExp"],[1,"honeypot"],[1,null],[1,"amp"],[10,"codeVer"],[1,"adblock"],[3,"adfoxexp"]]},t.prototype.defaults=function(){return i({marker:n(307).getMarkerIsValidStat(n(97).PRODUCT_MARKERS.DIRECT),adblock:!1,amp:n(36).isAMP,isIframe:n(82).isInIframe(window),hasMraid:n(308).hasMraid(),isTurbo:n(244).isTurboPage(),isSSP:n(31).checkBundleType(n(31).bundleTypes.SSP),uniloaderAmpExp:n(176).experimentBitValues(n(4).useExperimentFlag("UNILOADER_FOR_AMP"),n(176).BOOLEAN_EXP_BIT_VALUES)},n(4).useExperimentFlag("IGNORE_VERSION_IN_TESTTAG_17863")?{}:{codeVer:n(23).getRevisionNo()})},t}(n(110).AbstractTesttag);t.DirectTesttag=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.increaseCounter=void 0;t.increaseCounter=function(){var e=function(){var e=n(7).getGlobalVariable("slotCounter");return void 0===e?(n(7).setGlobalVariable("slotCounter",0),0):e}()+1;return n(7).setGlobalVariable("slotCounter",e),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0;var r=function(){var e=this;this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};t.Deferred=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInit=void 0,t.lazyInit=function(e){Promise.resolve().then(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRenderTo=void 0,t.getRenderTo=function(e){var t=n(161).querySelector(e);if(n(10).isArray(t)&&(t=t[0]),!t)try{t=document.querySelector(e)}catch(e){}if(t){var r=t.getAttribute("id");return r||(r="id"+n(61).generateHexString(8),t.setAttribute("id",r)),r}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=window;!function(){if(r.Ya&&r.Ya.Context&&r.Ya.Context.isFirstContextLoaded&&n(209).isSingleContextPossible())n(299).logLoadersInfo();else{var e=Date.now();if(n(294).measureContextJsTiming(),!n(409).isLegacyBrowser){window.Promise||(window.Promise=n(331)),n(411).initWebpackVariables(),n(412).initYaVariable(),Ya.codeVer||n(413).insertPreconnectLinks(),n(414).initYaVersion(),n(281).setVersionForVas(),n(415).initCallbacks(),n(209).initAsyncRtb(),n(416).initSyncRtb(),n(299).logLoadersInfo();var t=n(7).getYaContext();if(n(89).getIsCompatibilityMode())t._init&&t._init(),n(300).loadContextStatic();else{if(t.AdvManager||(n(7).setGlobalVariable("isNewLoader",!0),n(417).initAdvManager()),n(295).loadRtbDataLoader(),t.processCallbacks(),t.staticOnceLoaded)return;n(300).insertContextStaticStub(),n(405).lazyInit((function(){t.Rum=n(185).loadRum().then((function(t){return t&&t.sendAccumulatedDelta("contextJsExec",o-e,{"-additional":encodeURIComponent(n.lv["json"].stringify({activeTestIds:n(4).getAllActiveTestIds()}))}),t})),n(232).loadAdvManager(),n(297).loadBlockSet(),n(297).loadBlockSet("ssr")})),t.staticOnceLoaded=!0}"exp"===n(4).useExperimentFlag("WIDGET_IN_PCODE")&&n(459).initWidgetCallbacks(),n(128).brakeFor(n(128).POINT_NAME.LOADER_INIT);var o=Date.now()}}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfirmUrl=t.getVersion=t.Ya=t.global=void 0,t.global=window,t.Ya=n(7).getYa();t.getVersion=function(){return parseInt(t.Ya.codeVer,10)};t.getConfirmUrl=function(){return t.Ya.confirmUrl}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLegacyBrowser=void 0,t.isLegacyBrowser=!n(126).testProperty("display:flex")||!n(410).hasObjectDefineProperty},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObjectDefineProperty=void 0,t.hasObjectDefineProperty=n(172).getHasObjectDefineProperty()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initWebpackVariables=void 0;t.initWebpackVariables=function(){n.lv.json=n(183).getNativeJSON()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initYaVariable=void 0;t.initYaVariable=function(){var e=n(7).getYa();e.Context||(e.Context=n(7).initYaContext()),e.Direct||(e.Direct=n(7).initYaDirect())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertPreconnectLinks=void 0;var r=["https://webcf.waybackmachine.org/web/20211025204422/https://yastatic.net/","https://webcf.waybackmachine.org/web/20211025204422/https://avatars.mds.yandex.net/","https://webcf.waybackmachine.org/web/20211025204422/https://mc.yandex.ru/"];t.insertPreconnectLinks=function(){for(var e=n(55).getHead(window),t=0;t<r.length;t++){var o=document.createElement("link");o.rel="preconnect",o.href=r[t],e.appendChild(o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initYaVersion=void 0,t.initYaVersion=function(){var e=n(7).getYa();if(void 0===e.codeVer){var t=n(62).urlCodeVersions.pcode;5428===t&&(t=5699),t&&t<11820?(e.versionFrozen=!0,e.codeVer=t):(e.codeVer=46682,e.loaderVer=46682),n(30).getUaasConfig(),n(173).publicLogOnce("Loader version: 46682","codever"),n(173).publicLogOnce("Adb: "+!1,"adb")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initCallbacks=void 0;t.initCallbacks=function(){var e,t=n(89).getCallbacksArrayName();n(7).getYaContext().processCallbacks=n(8).protect("Ya.context."+t,(e=t,function(){for(var t,r=n(7).getYaContext(),o=0;o<r[e].length;o++)n(41).setCurrentQueue((null===(t=r[e][o])||void 0===t?void 0:t.queueName)||"unknown"),n(8).protect("Ya.context."+e+"_call",r[e][o])(),n(41).setCurrentQueue(null);r[e]=[]}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initSyncRtb=void 0;t.initSyncRtb=function(e){if(void 0===e&&(e=window),e.yandexContextSyncCallbacks)for(var t=n(298).extractProp("yandexContextSyncCallbacks"),r=n(89).getCallbacksArray(),o=0;o<t.length;o++)r.push(t[o])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initAdvManager=void 0;var r,o=["render","renderWidget","getSkipToken","getCapturedCount","getAdSessionId","destroy"];t.initAdvManager=function(){if(!r){r=new(n(418).AdvManagerLoader);for(var e={},t=0,i=function(){var i=o[t++];e[i]=n(8).protect(n(8).ProtectedNames.AdvManager+"."+i,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r[i].apply(r,e)}))};t<o.length;)i();n(7).getYaContext()["AdvManager"]=e}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AdvManagerLoader=void 0;var o,i,a={};var s=function(){function e(){}return e.asyncCall=function(e){var t;t=e,o?t(o):(i||(i=n(232).loadAdvManager()).then((function(e){o=e}),n(3).noop),i.then((function(){t(o)}),n(3).noop))},e.syncCall=function(e){if(o)return e(o)},e.prototype.render=function(t,o){var i,s,u,c,d,l,f,p;t.renderData&&"string"==typeof t.renderData&&(t.renderData=n.lv["json"].parse(t.renderData));var v=n(120).parseBlockId(t.blockId||"");v.pageId=v.pageId||t.pageId||null,v.impId=v.impId||t.blockImpId||null,n(41).logStraightCall("render",v),n(111).logSSPEvent("SSP_EXP_RENDER",t.renderData),t.uniqueId||((t=r({},t)).uniqueId=n(61).generateHexString(10),t.slotIndex=n(403).increaseCounter(),n(54).registerCallbacks(t.uniqueId,{onError:t.onError,onClick:t.onClick,altCallback:t.altCallback||o,onCustomElementClick:t.onCustomElementClick})),n(39).setMark(t.uniqueId,n(39).RenderMarks.AdvManagerLoader),n(294).isRenderBlockedByCurrentContextJs()&&n(39).setMark(t.uniqueId,n(39).RenderMarks.ContextJs),t.adSessionId&&n(38).setSessionId(t.adSessionId),n(31).saveBundleType(t.bundle),n(31).saveBundleType(t.data),n(30).setMeta({flags:null===(s=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.common)||void 0===s?void 0:s.flags,flagsMap:null===(c=null===(u=null==t?void 0:t.data)||void 0===u?void 0:u.common)||void 0===c?void 0:c.flagsMap,testIds:null===(l=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.common)||void 0===l?void 0:l.testIds});var g=function(i,a){void 0===a&&(a=n(3).noop),n(39).setMark(t.uniqueId,n(39).RenderMarks.DataLoaded),e.asyncCall((function(e){n(39).setMark(t.uniqueId,n(39).RenderMarks.AdvManagerLoaded),e.render(r({},i),o),a()}))},h=n(120).parseBlockId(t.blockId||"");if(null===h.pageId||null===h.impId){var m='Invalid block id: "'+t.blockId+'"';return n(54).triggerError(t.uniqueId,"INVALID_BLOCK_ID",m),void n(13).logger.errorStrict("INVALID_BLOCK_ID",{text:m})}n(13).logger.configure({labels:{pageId:n(293).getServiceName()},data:{blockId:t.blockId,pageId:h.pageId}});var _=parseInt((null===(p=null===(f=null==t?void 0:t.data)||void 0===f?void 0:f.common)||void 0===p?void 0:p.pcodever)||"",10);n(13).logger.info({dataVer:_,build:46682,isAdfox:"adfoxexp"in t},"data_version_exp");var b=n(139).getElementById(t.renderTo);if(!b){m='Container with id "'+t.renderTo+'" is not found (init)';return n(54).triggerError(t.uniqueId,"CONTAINER_NOT_FOUND",m),void n(13).logger.errorStrict("CONTAINER_NOT_FOUND",{text:m,pageId:h.pageId,blockId:t.blockId,renderTo:t.renderTo})}n(151).initAdSeenObserver(t.uniqueId,b);var y=h.product;switch(y){case"R":case"N":case"D":!function(e,t){var r=e.blockId+"#"+(e.pageNumber||"");r in a?(a[r].setConfig(e),t(a[r])):n(295).loadRtbDataLoader().then((function(n){r in a||(a[r]=new n),a[r].setConfig(e),t(a[r])}))}(t,(function(e){e.loadData(g)}));break;case"Y":g(t);break;default:m='Block type "'+y+'" is not supported';n(54).triggerError(t.uniqueId,"UNKNOWN_BLOCK_TYPE",m),n(13).logger.errorStrict("UNKNOWN_BLOCK_TYPE",{text:m,blockId:t.blockId})}},e.prototype.getSkipToken=function(t){return e.syncCall((function(e){return e.getSkipToken(t)}))||""},e.prototype.getCapturedCount=function(){return e.syncCall((function(e){return e.getCapturedCount()}))||0},e.prototype.getAdSessionId=function(){return n(38).getSessionId()},e.prototype.renderWidget=function(t){var r=n(120).parseBlockId(t.blockId||t.id||"");r.pageId=r.pageId||t.pageId||null,r.impId=r.impId||t.blockImpId||null,n(41).logStraightCall("renderWidget",r),e.asyncCall((function(e){return e.renderWidget(t)}))},e.prototype.destroy=function(t){return e.syncCall((function(e){return e.destroy(t)}))},e}();t.AdvManagerLoader=s},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RtbDataLoader=void 0;var o=n(4).useExperimentFlag("SMART_QUEUE"),i="smart"===o||"0x0"===o||"recalc"===o;var a=function(){function e(){this.dataRequestTime=void 0}return e.prototype.setConfig=function(e){if(e.uniqueId||(e.uniqueId=n(61).generateHexString(10)),this.config=n(196).prepareRtbConfig(e),this.reloadTimeout=this.reloadTimeout||n(195).DEFAULT_RELOAD_TIMEOUT,n(13).logger.configure({labels:{pageId:n(293).getServiceName()},data:{blockId:e.blockId,pageId:e.pageId}}),this.config.data)return this.config.data.common&&this.config.data.common.reloadTimeout&&(this.reloadTimeout=Number(this.config.data.common.reloadTimeout)),n(31).saveBundleType(e.data),void(this.data=this.config.data)},e.prototype.loadData=function(t){var o=this;if(this.config.data)return this.config.containsData=!0,t(this.config),void(e.isFirstBanner=!1);if(this.config.containsData=!1,this.canReloadData()||this.config.refresh){this.setDataRequestTime();var i=n(423).getContainerSize(this.config.renderTo),a=i.width,s=i.height,u={product:n(196).parseBlockId(this.config.blockId).product,uniqueId:this.config.uniqueId,testtag:this.getTesttag(),pageId:encodeURIComponent(this.config.pageId),blockImpId:encodeURIComponent(this.config.blockImpId||""),grab:this.config.grab,extParams:this.config.extParams,extParam:this.config.extParam,availableWidth:a,availableHeight:s,lang:this.config.lang,geo:this.config.geo,disableHighlight:this.config.disableHighlight,additionalBanners:n(62).getAdditionalBanners()||this.config.additionalBanners||"",aimBanner:n(223).aimBannerParam.next(),aimDesign:n(223).aimDesignParam.next(),aimSubDesign:n(223).aimSubDesignParam.next(),experimentId:n(424).getExperimentId(),partnerStatId:this.config.partnerStatId,refresh:Boolean(this.config.refresh),nonce:this.config.cspNonce,cacheId:this.config.cacheId,useSsr:Boolean(this.config.useSsr||this.config.renderServerSide),siteTheme:encodeURIComponent(this.config.siteTheme||""),headers:n(338).prepareCustomHeaders(this.config.headers),renderData:this.config.renderData,isNewDesktopMorda:Boolean(this.config.isNewDesktopMorda),isNewWebNtp:Boolean(this.config.isNewWebNtp)},c=function(e,i){o.getSkipToken((function(a){var s=n(161).querySelector("#"+o.config.renderTo);if(!s){var c='Container with id "'+o.config.renderTo+'" is not found (load queue)';return n(54).triggerError(o.config.uniqueId,"CONTAINER_NOT_FOUND",c),n(13).logger.errorStrict("CONTAINER_NOT_FOUND",{text:c}),void e()}var d=i||new(n(304).LayoutConfig)(s),l=n(375).getAdUsageStorage(o.config);d.set("ad_no",l.getCapturedCount()),u.layoutConfig=d,n(429).checkContainerSize(o.config.uniqueId,o.config.renderTo,d),"exp"===n(4).useExperimentFlag("FIX_AVAILABLE_SIZE")&&(u.availableWidth=d.get("w")||d.get("win_width"),u.availableHeight=d.get("h")||999),n(39).setMark(o.config.uniqueId,n(39).RenderMarks.DataLoadOutOfQueue),n(430).loadRtb(r(r({},u),a),(function(n){return o.parseServerDataFunction(n,(function(n){t(n,e)}))}))}))};e.queue instanceof n(302).SmartQueue?e.queue.add({id:this.config.uniqueId,renderTo:this.config.renderTo,onRender:this.config.onRender,task:c}):e.queue.add(c)}else this.data&&t(r(r({isDataRefreshed:!0},this.config),{data:this.data}))},e.prototype.getTesttag=function(){var e={adfoxexp:this.config.adfoxexp},t=n(196).parseBlockId(this.config.blockId).product;return("D"===t?new(n(402).DirectTesttag)(e):"N"===t?new(n(189).Testtag)({integration:n(190).getIntegrationNo(n(190).IntegrationType.pcode)}):new(n(397).RtbTesttag)(e)).toString()},e.prototype.parseServerDataFunction=function(e,t){var o=parseInt(this.config.pageId,10),i=parseInt(this.config.blockImpId||"0",10);n(454).logAdfoxControlTime(o,i),e.common&&e.common.reloadTimeout&&(this.reloadTimeout=Number(e.common.reloadTimeout)),n(31).saveBundleType(e),this.data=e,t(r(r({isDataRefreshed:!0},this.config),{data:this.data}))},e.prototype.setDataRequestTime=function(){this.dataRequestTime=Number(new Date)},e.prototype.canReloadData=function(){return!this.dataRequestTime||Number(new Date)-this.dataRequestTime>1e3*this.reloadTimeout},e.prototype.getSkipToken=function(t){var r=this;if(e.isFirstBanner)return e.isFirstBanner=!1,void t({});n(232).requestAdvManager((function(e){var n=e.getSkipToken(r.config);t({skipToken:n})}))},e.isFirstBanner=!n(36).isAMP,e.queue=n(36).isAMP?new(n(420).AmpQueue):i?new(n(302).SmartQueue):new(n(292).Queue),e}();t.RtbDataLoader=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpQueue=void 0;var r=function(){function e(){}return e.prototype.add=function(e){n(421).enqueue(e)},e}();t.AmpQueue=r},function(e,t,n){"use strict";var r=n(301)("masterStorage",(function(){return e=new(n(292).Queue),{enqueue:function(t){e.add(t)}};var e}));e.exports=r},function(e,t,n){"use strict";function r(e){return n(1).isFunction(e)?n(57).isolate(e):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeCallbacks=void 0,t.normalizeCallbacks=function(e){return{onError:r(e.onError),onClick:r(e.onClick),altCallback:r(e.altCallback),onCustomElementClick:r(e.onCustomElementClick)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContainerSize=void 0,t.getContainerSize=n(96).memoize((function(e){if(n(36).isAMP)return n(72).getWindowSize();var t=n(161).querySelector("#"+e);return t?n(66).getElementInnerSize(t):{width:0,height:0}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExperimentId=void 0;var r=new RegExp("experiment-id=(\\d+)");t.getExperimentId=function(e){void 0===e&&(e=window.location);for(var t=[e.search,e.hash],n="",o=0;o<t.length;o++){var i=t[o].match(r);if(i&&i[1]){n=i[1];break}}return Number(n)}},function(e,t,n){"use strict";var r,o=(r=n(301))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n["default"]=e,t&&t.set(e,n);return n}(n(296));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}e.exports=(0,o["default"])("adUsageStorage",(function(){return i}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdUsageStorageVars=void 0,t.getAdUsageStorageVars=function(){if(!n(7).getGlobalVariable("adUsageStorageVars")){var e={ads:new(n(305).AdList),allAds:new(n(305).AdList),adFilterData:new(n(427).AdFilterData)};n(7).setGlobalVariable("adUsageStorageVars",e)}return n(7).getGlobalVariable("adUsageStorageVars")}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AdFilterData=void 0;var o=function(){function e(){this.filterData={awaps:"",yabs:[]}}return e.prototype.getAdFilterData=function(){return this.filterData},e.prototype.setEmptyAdFilter=function(){this.filterData={awaps:"",yabs:[]}},e.prototype.setAdFilterData=function(e,t){var n;this.filterData=r(r({},this.filterData),((n={})[e]=t,n))},e.prototype.getEmptyAdFilter=function(){return{awaps:"",yabs:[]}},e}();t.AdFilterData=o},function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0,i=e;o<i.length;o++){var a=i[o];!r[a.adId]&&t(a)&&(n.push(a.adId),r[a.adId]=!0)}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.getSurroundingAds=void 0;var o=function(e){return 0!=(e.top|e.bottom|e.right|e.left)};t.getSurroundingAds=function(e,t,i,a){void 0===a&&(a=function(e,t){return e===t});var s=n(72).getWindowSize().height*t;if(!i)return r(e,(function(){return!0}));var u=n(139).getElementById(i.renderTo),c=u&&n(25).getBoundingClientRect(u);if(!c||!o(c))return r(e,(function(e){return a(i.pageNumber,e.pageNumber)}));var d=c.top-s,l=c.bottom+s;return r(e,(function(e){if(!a(i.pageNumber,e.pageNumber))return!1;var t=n(139).getElementById(e.renderTo);if(!t)return!1;if(i.renderTo===e.renderTo)return!0;if(e.hidden)return!1;var r=n(25).getBoundingClientRect(t);return r.top<l&&r.bottom>d||!o(r)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkContainerSize=void 0,t.checkContainerSize=function(e,t,r){var o=r.get("w"),i=r.get("h");if(0!==o||0!==i){if(o>0&&o<320&&i>0&&i<50){a="Too small container. Width "+o+"px. Height "+i+"px.";n(54).triggerError(e,"TOO_SMALL_CONTAINER",a)}else if(o<160){a="Too narrow container. Width "+o+"px.";n(54).triggerError(e,"TOO_SMALL_CONTAINER",a)}}else{var a='Container with id "'+t+'" is hidden';n(54).triggerWarning(e,"CONTAINER_IS_HIDDEN",a)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadRtb=void 0,t.loadRtb=function(e,t){var r=n(431).getCommonParams(e);!function(e,t){e["pcode-version"]=n(23).getCodeVersion().toString(),e.pcodever=n(23).getCodeVersion().toString(),e["flash-ver"]="0";var r=t.availableWidth||0;r>=1&&r<=1e4&&(e["available-width"]=Math.floor(r).toString());var o=t.availableHeight||0;o>=1&&o<=1e4&&(e["available-height"]=Math.floor(o).toString());t.skipToken&&(e["skip-token"]=t.skipToken);t.extParam&&(e["ext-param"]=t.extParam);t.statId&&(e["stat-id"]=t.statId);t.cacheId&&!t.refresh&&(e["cache-id"]=t.cacheId);"D"!==t.product&&"Direct"!==t.product||t.blockImpId&&(e["partner-stat-id"]=t.blockImpId)}(r,e);var o=function(r){var o,i,a,s,u,c,d="";try{d=null===(o=r.settings[String(e.blockImpId)])||void 0===o?void 0:o.name}catch(e){}var l=n(306).getIsSsrIgnored(e.pageId,e.layoutConfig,d);Boolean(null===(i=r.direct)||void 0===i?void 0:i.ssr)&&l&&(null===(a=r.direct)||void 0===a||delete a.ssr),n(173).setEnv(null===(s=null==r?void 0:r.common)||void 0===s?void 0:s.isYandex,Boolean(null===(u=null==r?void 0:r.common)||void 0===u?void 0:u.sticky)),n(435).logSsrVersion((null===(c=null==r?void 0:r.common)||void 0===c?void 0:c.pcodever)||""),t(r)},i=e.renderData?n(195).URLS.render:n(195).URLS.rtb;n(436).createUrl(i,r,e,(function(t,r){t.appendParams({uniformat:!0}),n(396).loadAd({url:t,headers:r,uniqueId:e.uniqueId,impId:e.blockImpId,pageId:e.pageId,isRefresh:e.refresh,callback:o,nonce:e.nonce,renderData:e.renderData})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCommonParams=void 0;t.getCommonParams=function(e){var t={"target-ref":(n(36).isAMP?n(432).getSourceUrl():n(80).getTargetRef()).substr(0,512),"page-ref":n(80).getPageRef().substr(0,512),charset:"utf-8"};n(339).assignUaasRequestParams(t,{disableSsr:n(306).getIsSsrIgnored(e.pageId,e.layoutConfig),useSsr:n(36).isAMP?"exp"===n(4).useExperimentFlag("USE_SSR_IN_AMP"):e.useSsr,useTestIds:!n(7).getYa().versionFrozen});var r=n(108).getCookie(document,"_ym_uid");r&&(t.duid=n(29).encode(r));var o=n(340).getSiteUid();return o&&(t.shyid=o),e.experimentId&&(t["experiment-id"]=String(e.experimentId)),e.blockImpId&&(t["imp-id"]=e.blockImpId),e.lang&&(t.lang=e.lang),e.refresh&&(t.refresh="1"),e.geo&&(t["partner-geo-lat"]=e.geo.lat,t["partner-geo-long"]=e.geo["long"]),e.partnerStatId&&(t["partner-stat-id"]=String(e.partnerStatId)),e.disableHighlight||(t["enable-flat-highlight"]="1"),e.additionalBanners&&(t["additional-banners"]=e.additionalBanners),e.aimBanner&&(t["aim-banner-id"]=e.aimBanner),e.aimDesign&&(t["aim-design-id"]=e.aimDesign),e.aimSubDesign&&(t["aim-subdesign-id"]=e.aimSubDesign),t["comboblock-unencoded-vast"]="1",e.testtag&&(t["test-tag"]=e.testtag),e.siteTheme&&n(2).isString(e.siteTheme)&&(t["site-theme"]=e.siteTheme),e.isNewDesktopMorda&&(t["is-new-desktop-morda"]=String(e.isNewDesktopMorda)),e.isNewWebNtp&&(t["is-new-web-ntp"]=String(e.isNewWebNtp)),t["ad-session-id"]=n(38).getSessionId(),t["target-id"]=String(-257&n(109).getRandomInt(1,1e8)),t["tga-with-creatives"]="1",n(62).pcodeDebugFlag&&(t["keep-csr-data"]="1"),n(4).useExperimentFlag("USE_TOP_ANCESTOR")&&(t["top-ancestor"]=n(68).TOP_ANCESTOR,t["top-ancestor-undetermined"]=n(68).IS_TOP_ANCESTOR_TRUSTED?"0":"1"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSourceUrl=t.noContentAvailable=t.globalContext=void 0,t.globalContext=window.context,t.noContentAvailable=function(){t.globalContext.noContentAvailable()},t.getSourceUrl=function(){var e=t.globalContext.sourceUrl||"";return e&&/^http:\/\/localhost:/i.test(e)?"localhost":e}},function(e,t,n){"use strict";var r=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.getSsrBlacklistConfig=void 0;t.getSsrBlacklistConfig=function(e){var t=n(10).isArray(e.DEFAULT_BLACKLIST_FORMATS)?r([],e.DEFAULT_BLACKLIST_FORMATS):[];n(10).isArray(e.BLACKLIST_FORMATS)&&n(0).forEach(e.BLACKLIST_FORMATS,(function(e){t.push(e)}));var o=n(10).isArray(e.DEFAULT_BLACKLIST_PAGES)?r([],e.DEFAULT_BLACKLIST_PAGES):[];n(10).isArray(e.BLACKLIST_PAGES)&&n(0).forEach(e.BLACKLIST_PAGES,(function(e){o.push(e)}));var i=n(10).isArray(e.DEFAULT_BLACKLIST_DEVICES)?r([],e.DEFAULT_BLACKLIST_DEVICES):[];return n(10).isArray(e.BLACKLIST_DEVICES)&&n(0).forEach(e.BLACKLIST_DEVICES,(function(e){i.push(e)})),{ignore:Boolean(e.BLACKLIST_IGNORE),formats:t,pages:o,devices:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSsrIgnored=void 0;t.isSsrIgnored=function(e,t,r,o,i){if(e.ignore)return!1;var a=o&&!o.width&&!o.height&&!o.w&&!o.h,s="exp"===n(4).useExperimentFlag("FIXED_FORMAT_RENDER")&&/\d+x\d+/.test(String(i)),u=n(67).includes(e.pages,t),c=n(67).includes(e.devices,r),d=n(67).includes(e.formats,String(i));return a&&!s||c||u||d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logSsrVersion=void 0,t.logSsrVersion=function(e){if(""!==e){var t=n(23).getCodeVersion();n(173).publicLogOnce("Ad version: "+e,"ad-v-"+e),String(t)!==String(e)&&n(147).logger.log({loader:t,ssr:e},"CHECK_VERSIONS")}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createUrl=void 0;var o=n(437).isLongUrlsSupported?3e3:2040;function i(e){return n(2).isString(e)?n(20).parseQueryString(decodeURIComponent(e)):e}t.createUrl=function(e,t,a,s){var u=a.renderData?void 0:a.pageId,c=2048;if("exp"===n(4).useExperimentFlag("ENABLE_GRAB_LIMIT")){var d=new(n(287).Url)({host:e,path:u,params:r(r({},t),i(a.extParams||""))}).getCurrentLength();c=Math.min(2048,o-d-6)}n(439)(c,a.grab,(function(o){var c=r(r(r(r(r({},t),void 0),i(a.extParams||"")),n(438).getLayoutConfigParameter(a)),{"grab-orig-len":o.length,grab:o}),d=r(r({},a.headers),void 0);n(62).debugParameters&&(d=r(r({},n(62).debugParameters),d)),s(new(n(287).Url)({host:e,path:u,params:c}),d)}),a.pageId)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLongUrlsSupported=void 0,t.isLongUrlsSupported=n(324).getIsLongUrlSupported()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLayoutConfigParameter=void 0;var r=0;t.getLayoutConfigParameter=function(e){if(e.layoutConfig){e.layoutConfig.set("req_no",r++),window.layoutConfig=e.layoutConfig;var t=e.layoutConfig.toString();if(t)return{"layout-config":t}}return{}}},function(e,t,n){"use strict";var r,o="exp"===(0,n(4).useExperimentFlag)("GRAB2");r=o?n(440).grab:n(284).grab,e.exports=function(e,t,o,i){(0,n(342).canUseGrab)(window,i)&&!n(36).isAMP?o(r(e,t)||""):o("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.grab=t.clearGrabTime=void 0;var r,o="";t.clearGrabTime=function(){r=void 0},t.grab=function(e,t){var i,a,s=n(441).getWindow();if(t&&n(247).isYandexDomain(n(248).getHost(s)))return t;if(r&&r+5e3>Number(new Date))return o;if(n(82).isInIframe(s))if(a=n(174).getHead(s),""!==(i=n(175).getHtml(s,"body",["class"])))a=n(174).getHead(s),i=n(175).getHtml(s,"body",["class"]);else try{a=n(174).getHead(s.parent),i=n(175).getHtml(s.parent,"body",["class"],250)}catch(e){}else a=n(174).getHead(s),i=n(175).getHtml(s,"body",["class"]);var u=["<html>",a,i,"</html>"].join(""),c=Math.min(e/2,1800),d=n(442).grab(c,t);return o=n(443).encode(u,n(29).decode(d),5500-c),r=Number(new Date),o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindow=void 0,t.getWindow=function(){return window}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oldGrab=t.grab=void 0;function r(e,t){var r=window,i=r.document;if(t){var a=function(e){return e.location.host}(i);if(" yandex.ru yandex.com yandex.ua yandex.by yandex.kz yandex.com.tr zen.yandex.ru zen.yandex.com ".indexOf(" "+a+" ")>-1)return t}var s=o(e,i);if("t\n"===s&&r.top!==r.self)try{s=o(e,r.parent.document)}catch(e){}return n(29).encode(s,e)}function o(e,t){var n=[],r=0;n.push("t"+(t.title||"")),r+=n[0].length;for(var o=1;o<4&&r<e;o++)for(var a=t.getElementsByTagName("h"+o),s=a.length,u=0;u<s;u++){var c=i(a[u]);r+=c.length,n.push(""+o+c)}return n.join("\n")+"\n"}function i(e){var t=[],n="";if(!e)return n;for(t.push(e);t.length>0;){if(3===(e=t.pop()).nodeType)n+=e.nodeValue+" ";else if(e.childNodes&&e.childNodes.length>0)for(var r=e.childNodes,o=r.length-1;o>=0;o--)t.push(r[o])}return n.replace(/\s+/g," ")}t.grab=r,t.oldGrab=function(e,t){var o=r(e,t);return n(29).decode(o)}},function(e,t,n){"use strict";function r(e){return'{"grab_version":2,"is_async":1,"old_grab_size":'+e.length+"}"}function o(e,t){var r=n(444).compress(n(29).utf8Encode(t,1/0),9);return n(29).encodeUInt8String(e+"\n"+r)}Object.defineProperty(t,"__esModule",{value:!0}),t.getGrabConfig=t.encode=void 0,t.encode=function(e,t,n){var i=r(t),a=o(i,t+e);if(a.length<n)return a;for(var s=n,u="";u.length<n;){a=u,u=o(i,(t+e).substr(0,s)),s+=512}return a},t.getGrabConfig=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compress=void 0;var r,o,i,a,s,u,c,d,l,f,p,v,g,h,m,_,b,y,O,w,S,E,P,A,C,I,x,T,M,R,j,k,N,L,D,B,F,U,V,W,H,Y,q,X,z,G,K,Q,J,$,Z,ee,te,ne,re,oe=parseInt(5),ie=null,ae=function(){this.fc=0,this.dl=0},se=function(){this.dyn_tree=null,this.static_tree=null,this.extra_bits=null,this.extra_base=0,this.elems=0,this.max_length=0,this.max_code=0},ue=function(e,t,n,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r},ce=function(){this.next=null,this.len=0,this.ptr=new Array(8192),this.off=0},de=new Array(0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0),le=new Array(0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13),fe=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7),pe=new Array(16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15),ve=new Array(new ue(0,0,0,0),new ue(4,4,8,4),new ue(4,5,16,8),new ue(4,6,32,32),new ue(4,4,16,16),new ue(8,16,32,32),new ue(8,16,128,128),new ue(8,32,128,256),new ue(32,128,258,1024),new ue(32,258,258,4096)),ge=function(e){e.next=r,r=e},he=function(e){return p[32768+e]},me=function(e,t){return p[32768+e]=t},_e=function(e){ie[u+s++]=e,u+s===8192&&He()},be=function(e){e&=65535,u+s<8190?(ie[u+s++]=255&e,ie[u+s++]=e>>>8):(_e(255&e),_e(e>>>8))},ye=function(){m=8191&(m<<oe^255&d[S+3-1]),_=he(m),p[32767&S]=_,me(m,S)},Oe=function(e,t){Ue(t[e].fc,t[e].dl)},we=function(e){return 255&(e<256?q[e]:q[256+(e>>7)])},Se=function(e,t,n){return e[t].fc<e[n].fc||e[t].fc===e[n].fc&&H[t]<=H[n]},Ee=function(e,t,n){var r;for(r=0;r<n&&re<ne.length;r++)e[t+r]=255&ne.charCodeAt(re++);return r},Pe=function(e){var t,n,r=C,o=S,i=w,a=S>32506?S-32506:0,s=S+258,u=d[o+i-1],c=d[o+i];w>=T&&(r>>=2);do{if(d[(t=e)+i]==c&&d[t+i-1]==u&&d[t]==d[o]&&d[++t]==d[o+1]){o+=2,t++;do{}while(d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&d[++o]===d[++t]&&o<s);if(n=258-(s-o),o=s-258,n>i){if(E=e,i=n,n>=258)break;u=d[o+i-1],c=d[o+i]}}}while((e=p[32767&e])>a&&0!=--r);return i},Ae=function(){var e,t,n=65536-A-S;if(-1===n)n--;else if(S>=65274){for(e=0;e<32768;e++)d[e]=d[e+32768];for(E-=32768,S-=32768,h-=32768,e=0;e<8192;e++)t=he(e),me(e,t>=32768?t-32768:0);for(e=0;e<32768;e++)t=p[e],p[e]=t>=32768?t-32768:0;n+=32768}P||((e=Ee(d,S+A,n))<=0?P=!0:A+=e)},Ce=function(){P||(v=0,g=0,Te(),function(){var e;for(e=0;e<8192;e++)p[32768+e]=0;if(I=ve[x].max_lazy,T=ve[x].good_length,C=ve[x].max_chain,S=0,h=0,(A=Ee(d,0,65536))<=0)return P=!0,void(A=0);for(P=!1;A<262&&!P;)Ae();for(m=0,e=0;e<2;e++)m=8191&(m<<oe^255&d[e])}(),o=null,s=0,u=0,y=0,x<=3?(w=2,O=0):(O=2,y=0,y=0),c=!1)},Ie=function(e,t,n){var r;return a||(Ce(),a=!0,0!==A)?(r=xe(e,t,n))===n?n:c?r:(x<=3?function(){for(;0!=A&&null===o;){var e;if(ye(),0!=_&&S-_<=32506&&(O=Pe(_))>A&&(O=A),O>=3)if(e=Be(S-E,O-3),A-=O,O<=I){O--;do{S++,ye()}while(0!=--O);S++}else S+=O,O=0,m=8191&((m=255&d[S])<<oe^255&d[S+1]);else e=Be(0,255&d[S]),A--,S++;for(e&&(De(0),h=S);A<262&&!P;)Ae()}}():function(){for(;0!=A&&null===o;){if(ye(),w=O,b=E,O=2,0!=_&&w<I&&S-_<=32506&&((O=Pe(_))>A&&(O=A),3===O&&S-E>4096&&O--),w>=3&&O<=w){var e;e=Be(S-1-b,w-3),A-=w-1,w-=2;do{S++,ye()}while(0!=--w);y=0,O=2,S++,e&&(De(0),h=S)}else 0!=y?(Be(0,255&d[S-1])&&(De(0),h=S),S++,A--):(y=1,S++,A--);for(;A<262&&!P;)Ae()}}(),0===A&&(0!=y&&Be(0,255&d[S-1]),De(1),c=!0),r+xe(e,r+t,n-r)):(c=!0,0)},xe=function(e,t,n){var r,i,a;for(r=0;null!=o&&r<n;){for((i=n-r)>o.len&&(i=o.len),a=0;a<i;a++)e[t+r+a]=~o.ptr[o.off+a];var c;if(o.off+=i,o.len-=i,r+=i,0===o.len)c=o,o=o.next,ge(c)}if(r===n)return r;if(u<s){for((i=n-r)>s-u&&(i=s-u),a=0;a<i;a++)e[t+r+a]=~ie[u+a];r+=i,s===(u+=i)&&(s=u=0)}return r},Te=function(){var e,t,n,r,o;if(0==k[0].dl){for(L.dyn_tree=M,L.static_tree=j,L.extra_bits=de,L.extra_base=257,L.elems=286,L.max_length=15,L.max_code=0,D.dyn_tree=R,D.static_tree=k,D.extra_bits=le,D.extra_base=0,D.elems=30,D.max_length=15,D.max_code=0,B.dyn_tree=N,B.static_tree=null,B.extra_bits=fe,B.extra_base=0,B.elems=19,B.max_length=7,B.max_code=0,n=0,r=0;r<28;r++)for(X[r]=n,e=0;e<1<<de[r];e++)Y[n++]=r;for(Y[n-1]=r,o=0,r=0;r<16;r++)for(z[r]=o,e=0;e<1<<le[r];e++)q[o++]=r;for(o>>=7;r<30;r++)for(z[r]=o<<7,e=0;e<1<<le[r]-7;e++)q[256+o++]=r;for(t=0;t<=15;t++)F[t]=0;for(e=0;e<=143;)j[e++].dl=8,F[8]++;for(;e<=255;)j[e++].dl=9,F[9]++;for(;e<=279;)j[e++].dl=7,F[7]++;for(;e<=287;)j[e++].dl=8,F[8]++;for(je(j,287),e=0;e<30;e++)k[e].dl=5,k[e].fc=Ve(e,5);Me()}},Me=function(){var e;for(e=0;e<286;e++)M[e].fc=0;for(e=0;e<30;e++)R[e].fc=0;for(e=0;e<19;e++)N[e].fc=0;M[256].fc=1,ee=te=0,K=Q=J=0,$=0,Z=1},Re=function(e,t){for(var n=U[t],r=t<<1;r<=V&&(r<V&&Se(e,U[r+1],U[r])&&r++,!Se(e,n,U[r]));)U[t]=U[r],t=r,r<<=1;U[t]=n},je=function(e,t){var n,r,o=new Array(16),i=0;for(n=1;n<=15;n++)i=i+F[n-1]<<1,o[n]=i;for(r=0;r<=t;r++){var a=e[r].dl;0!==a&&(e[r].fc=Ve(o[a]++,a))}},ke=function(e){var t,n,r=e.dyn_tree,o=e.static_tree,i=e.elems,a=-1,s=i;for(V=0,W=573,t=0;t<i;t++)0!=r[t].fc?(U[++V]=a=t,H[t]=0):r[t].dl=0;for(;V<2;){var u=U[++V]=a<2?++a:0;r[u].fc=1,H[u]=0,ee--,null!=o&&(te-=o[u].dl)}for(e.max_code=a,t=V>>1;t>=1;t--)Re(r,t);do{t=U[1],U[1]=U[V--],Re(r,1),n=U[1],U[--W]=t,U[--W]=n,r[s].fc=r[t].fc+r[n].fc,H[t]>H[n]+1?H[s]=H[t]:H[s]=H[n]+1,r[t].dl=r[n].dl=s,U[1]=s++,Re(r,1)}while(V>=2);U[--W]=U[1],function(e){var t,n,r,o,i,a,s=e.dyn_tree,u=e.extra_bits,c=e.extra_base,d=e.max_code,l=e.max_length,f=e.static_tree,p=0;for(o=0;o<=15;o++)F[o]=0;for(s[U[W]].dl=0,t=W+1;t<573;t++)(o=s[s[n=U[t]].dl].dl+1)>l&&(o=l,p++),s[n].dl=o,n>d||(F[o]++,i=0,n>=c&&(i=u[n-c]),a=s[n].fc,ee+=a*(o+i),null!=f&&(te+=a*(f[n].dl+i)));if(0!==p){do{for(o=l-1;0===F[o];)o--;F[o]--,F[o+1]+=2,F[l]--,p-=2}while(p>0);for(o=l;0!=o;o--)for(n=F[o];0!=n;)(r=U[--t])>d||(s[r].dl!=o&&(ee+=(o-s[r].dl)*s[r].fc,s[r].fc=o),n--)}}(e),je(r,a)},Ne=function(e,t){var n,r,o=-1,i=e[0].dl,a=0,s=7,u=4;for(0===i&&(s=138,u=3),e[t+1].dl=65535,n=0;n<=t;n++)r=i,i=e[n+1].dl,++a<s&&r===i||(a<u?N[r].fc+=a:0!=r?(r!=o&&N[r].fc++,N[16].fc++):a<=10?N[17].fc++:N[18].fc++,a=0,o=r,0===i?(s=138,u=3):r===i?(s=6,u=3):(s=7,u=4))},Le=function(e,t){var n,r,o=-1,i=e[0].dl,a=0,s=7,u=4;for(0===i&&(s=138,u=3),n=0;n<=t;n++)if(r=i,i=e[n+1].dl,!(++a<s&&r===i)){if(a<u)do{Oe(r,N)}while(0!=--a);else 0!=r?(r!=o&&(Oe(r,N),a--),Oe(16,N),Ue(a-3,2)):a<=10?(Oe(17,N),Ue(a-3,3)):(Oe(18,N),Ue(a-11,7));a=0,o=r,0===i?(s=138,u=3):r===i?(s=6,u=3):(s=7,u=4)}},De=function(e){var t,n,r,o,i;if(o=S-h,G[J]=$,ke(L),ke(D),r=function(){var e;for(Ne(M,L.max_code),Ne(R,D.max_code),ke(B),e=18;e>=3&&0==N[pe[e]].dl;e--);return ee+=3*(e+1)+5+5+4,e}(),(n=te+3+7>>3)<=(t=ee+3+7>>3)&&(t=n),o+4<=t&&h>=0)for(Ue(0+e,3),We(),be(o),be(~o),i=0;i<o;i++)_e(d[h+i]);else n===t?(Ue(2+e,3),Fe(j,k)):(Ue(4+e,3),function(e,t,n){var r;for(Ue(e-257,5),Ue(t-1,5),Ue(n-4,4),r=0;r<n;r++)Ue(N[pe[r]].dl,3);Le(M,e-1),Le(R,t-1)}(L.max_code+1,D.max_code+1,r+1),Fe(M,R));Me(),0!=e&&We()},Be=function(e,t){if(f[K++]=t,0===e?M[t].fc++:(e--,M[Y[t]+256+1].fc++,R[we(e)].fc++,l[Q++]=e,$|=Z),Z<<=1,0==(7&K)&&(G[J++]=$,$=0,Z=1),x>2&&0==(4095&K)){var n,r=8*K,o=S-h;for(n=0;n<30;n++)r+=R[n].fc*(5+le[n]);if(r>>=3,Q<parseInt(K/2)&&r<parseInt(o/2))return!0}return 8191===K||8192===Q},Fe=function(e,t){var n,r,o,i,a=0,s=0,u=0,c=0;if(0!=K)do{0==(7&a)&&(c=G[u++]),r=255&f[a++],0==(1&c)?Oe(r,e):(o=Y[r],Oe(o+256+1,e),0!=(i=de[o])&&(r-=X[o],Ue(r,i)),n=l[s++],o=we(n),Oe(o,t),0!=(i=le[o])&&(n-=z[o],Ue(n,i))),c>>=1}while(a<K);Oe(256,e)},Ue=function(e,t){g>16-t?(be(v|=e<<g),v=e>>16-g,g+=t-16):(v|=e<<g,g+=t)},Ve=function(e,t){var n=0;do{n|=1&e,e>>=1,n<<=1}while(--t>0);return n>>1},We=function(){g>8?be(v):g>0&&_e(v),v=0,g=0},He=function(){if(0!=s){var e,t;for(null!=r?(n=r,r=r.next):n=new ce,n.next=null,n.len=n.off=0,e=n,null===o?o=i=e:i=i.next=e,e.len=s-u,t=0;t<e.len;t++)e.ptr[t]=ie[u+t];s=u=0}var n};t.compress=function(e,t){var n,s;ne=e,re=0,void 0===t&&(t=6),function(e){var t;if(e?e<1?e=1:e>9&&(e=9):e=6,x=e,a=!1,P=!1,null==ie){for(r=o=i=null,ie=new Array(8192),d=new Array(65536),l=new Array(8192),f=new Array(32832),p=new Array(65536),M=new Array(573),t=0;t<573;t++)M[t]=new ae;for(R=new Array(61),t=0;t<61;t++)R[t]=new ae;for(j=new Array(288),t=0;t<288;t++)j[t]=new ae;for(k=new Array(30),t=0;t<30;t++)k[t]=new ae;for(N=new Array(39),t=0;t<39;t++)N[t]=new ae;L=new se,D=new se,B=new se,F=new Array(16),U=new Array(573),H=new Array(573),Y=new Array(256),q=new Array(512),X=new Array(29),z=new Array(30),G=new Array(parseInt(1024))}}(t);for(var u=new Array(1024),c=[];(n=Ie(u,0,u.length))>0;){var v=new Array(n);for(s=0;s<n;s++)v[s]=String.fromCharCode((256+u[s])%256);c[c.length]=v.join("")}return ne=null,c.join("")}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=function(e,t,i){var a,s,u=(0,n(109).getRandomInt)(1e12,2e12),c=(0,n(8).protect)("JSONP onLoadError",(function(){Ya[u]&&(Ya[u]("{}"),Ya[u]=n(3).noop)})),d=n(8).protect.setTimeout(c,15e3);Ya[u]=function(e){s=!0,window.clearTimeout(d);var t={common:{}},c=null;try{delete Ya[u],c||(c=new Function("return "+e)()),t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},c)}catch(t){n(13).logger.error(t,"JSONPParseError",{data:e})}(0,n(8).protect)("JSONP callback",(function(){i(t),(0,n(290).sendResourceInfo)(),a&&(0,n(50).removeNodeFromParent)(a)}))()},e.appendParams("callback=Ya["+u+"]");var l={src:e.getUrl(),hasCors:!1,win:window};(a=(0,n(123).loadCustomScript)(l))&&(a.onerror=c,a.onload=function(){s||(window.clearTimeout(d),d=n(8).protect.setTimeout(c,1e3))})}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.networkPerfomaceManager=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getJsTracerObject=function(){var e=this.getNewEntries();return e?{tags:e}:null},t}(n(230).NetworkPerformanceManager);t.networkPerfomaceManager=new i([{prefix:"C",re:/\/context\.js$/i},{prefix:"CS",re:/\/context_static[\d\w]*\.js$/i},{prefix:"P",re:/\/an\.yandex\.ru\/page\//i},{prefix:"M",re:/\/an\.yandex\.ru\/meta\//i},{prefix:"I",re:/\/avatars\.mds\.yandex\.net\//i}])},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sendToSolomon=void 0;var o=new(n(192).JSTracerLoggerSlim)("pcode_context",String(n(23).getCodeVersion()),n(38).getSessionId()),i=n(26).isPercent(1)&&!n(142).isLightHouse(),a=n(85).isTouchDevice?"mobile":"desktop",s=n(257).getBrowserName();t.sendToSolomon=function(e,t){void 0===t&&(t=!1);try{(i||t)&&o.logPlain({eventName:e.eventName||"performance",eventType:n(16).StatsEventType.values,tags:e.tags||{},labels:r({bundle:"default",device:a,browser:s},e.labels),data:e.data})}catch(e){}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AdLoader=void 0;var o=[200];var i=function(){function e(e){var t=this;this.load=function(){var e;t.url=t.config.url.clone(),t.callbackId=n(109).getRandomInt(1e12,1e13),n(111).logSSPEvent("SSP_EXP_LOAD",t.config.renderData),t.url.appendParams({callback:"Ya["+t.callbackId+"]"}),t.xhrStatuses&&t.xhrStatuses.length&&(t.url.appendParams({"X-Yandex-Retry":t.xhrStatuses.length}),t.url.appendParams({"X-Yandex-Balancer-Retry":t.xhrStatuses.length}));var o=t.config.renderData;o&&("object"==typeof o&&(t.url.appendParams({hitlogid:null===(e=o.direct)||void 0===e?void 0:e.ads[0].bs_data.hitLogId}),o=n.lv["json"].stringify(o)),t.url.appendParams({"content-length":o.length}));var i=r({"Content-Type":"application/x-www-form-urlencoded"},t.config.headers),a=t.url.getUrl();a=a.replace(/^http:\/\//,"https://"),n(240).request({url:a,method:o?"post":"get",data:o||void 0,retries:0,headers:i,withCredentials:!t.config.renderData,onSuccess:t.successHandler,onError:t.errorHandler});var s=n(7).getYaContext();s.Rum&&s.Rum.then((function(e){var t=o?"render":"meta";e&&e.isRumInited()&&e.sendResTiming(t,a)}))},this.successHandler=function(e){var o=e.response||e.responseText;var i=n(74).getEmptyResponse();if(n(2).isString(o)){try{i=n(449).parseString(o,t.callbackId,t.config.nonce)}catch(e){return t.sendError("AD_LOADER_BAD_ANSWER",n(29).encode(o),e.message),n(111).logSSPErrorEvent("SSP_EXP_SERVER_ANSWER_ERROR",t.config.renderData),void n(8).protect("Bad response",(function(){t.config.callback(n(74).getEmptyResponse())}))()}if(i.common&&i.common.canRetry)return void t.retryLoading(200);if(o.length<200)return t.sendError("AD_LOADER_TOO_SHORT_ANSWER",o),void n(8).protect("Short response",(function(){t.config.callback(n(74).getEmptyResponse())}))()}else n(9).isObject(o)&&(i=r(r({},i),o));t.sendSuccess(),n(8).protect("JSONP callback",(function(){t.config.callback(i)}))(),n(290).sendResourceInfo()},this.errorHandler=function(e,r){var o=204===r.status?"AD_LOADER_EMPTY_ANSWER":"AD_LOADER_XHR_ERROR";n(453).externalError({uniqueId:t.config.uniqueId,pageId:t.config.pageId,impId:t.config.impId,response:r.response}),t.xhrStatuses.push(r.status),t.sendError(o,r.response,e&&e.message),n(8).protect("Ajax error",(function(){t.config.callback(n(74).getEmptyResponse())}))()},this.config=e,this.xhrStatuses=[]}return e.prototype.retryLoading=function(e){var t=this;this.xhrStatuses.push(e);var r=this.xhrStatuses.length;r<=o.length?setTimeout(this.load,o[r-1]):(this.sendError("AD_LOADER_TOO_MANY_ATTEMPTS"),n(8).protect("Too many attempts",(function(){t.config.callback(n(74).getEmptyResponse())}))())},e.prototype.sendError=function(e,t,r){n(13).logger.errorStrict(e,{text:r||e,url:this.url.getUrl(),pageId:this.config.pageId,refresh:Boolean(this.config.isRefresh),response:t}),this.config.renderData&&(n(111).logSSPErrorEvent("SSP_EXP_LOAD_ERROR",this.config.renderData),n(111).logSSPErrorEvent("SSP_EXP_HTML_ON_ERROR",{html:document.documentElement.innerHTML,hitLogId:this.config.renderData.direct.ads[0].bs_data.hitLogId},1))},e.prototype.sendSuccess=function(){n(111).logSSPEvent("SSP_EXP_LOAD_SUCCESS",this.config.renderData),n(13).logger.errorStrict("AD_LOADER_SUCCESS",{text:"ok",url:this.url.getUrl(),pageId:this.config.pageId,refresh:Boolean(this.config.isRefresh)})},e}();t.AdLoader=i},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e){"SyntaxError"===e.error.name&&e.preventDefault()}Object.defineProperty(t,"__esModule",{value:!0}),t.parseString=void 0,t.parseString=function(e,t,i){return"{"===e.charAt(0)&&"}"===e.slice(-1).charAt(0)?function(e){try{var t=n.lv["json"].parse(e);return r(r({},n(74).getEmptyResponse()),t)}catch(e){var o=new Error("Invalid JSON ("+e.message+")");throw o.name="NativeJSONParse_"+e.name,o}}(e):function(e,t,i){var a=n(74).getEmptyResponse();try{return n(450).isHomePage(window)||n(451).isCollectionsPage()||n(452).isZnatokiPage(window)?function(e,t,i,a){var s=n(3).noop;try{var u=/Ya\[\d+]\('(.+)'\)$/.exec(t),c=u&&u[1]||t,d=document.createElement("script");d.type="text/javascript",d.text="Ya["+i+"] = function() { return "+c+" }",d.async=!1,a&&d.setAttribute("nonce",a||"");var l=n(27).on(window,"error",o,{options:!0});l&&(s=l.un),n(55).getHead(window).appendChild(d),e=r(r({},e),Ya[i]())}finally{delete Ya[i],s()}return e}(a,e,t,i):function(e,t,o){var i=n(74).getEmptyResponse();try{Ya[o]=function(e){delete Ya[o];var t=new Function("return "+e)();i=r(r({},i),t)};var a=new Function("return "+t)();return a&&(delete Ya[o],i=r(r({},i),a)),i}finally{delete Ya[o]}}(0,e,t)}catch(e){delete Ya[t];var s=new Error("Invalid JSONP ("+e.message+")");throw s.name="JSONPParse_"+e.name,s}}(e,t,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHomePage=void 0,t.isHomePage=function(e){return-1!==e.location.hostname.indexOf("yandex")&&"object"==typeof e.home&&Boolean(e.home["export"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCollectionsPage=void 0,t.isCollectionsPage=function(){var e=n(7).getYa();return Boolean(e.Collections)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isZnatokiPage=void 0,t.isZnatokiPage=function(e){return Boolean(e.Ya.Znatoki)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.externalError=void 0,t.externalError=function(e){var t=function(e){if(!n(2).isString(e.response))return;if(e.response.indexOf("PageImp data not found")>-1)return{code:"BLOCK_NOT_FOUND",text:'Block "'+e.impId+'" is not exists'};if(e.response.indexOf("out of range")>-1)return{code:"PAGE_NOT_FOUND",text:'Page "'+e.pageId+'" is not exists'};if(e.response.indexOf("disabled")>-1)return{code:"PAGE_DISABLED",text:'Page "'+e.pageId+'" is disabled'};if(e.response.indexOf("Bad partner/domain")>-1)return{code:"WRONG_DOMAIN",text:'Current domain is not allowed on the page "'+e.pageId+'"'};return}(e);t&&"-"!==e.uniqueId&&(n(13).logger.errorStrict(t.code,{text:t.text}),n(54).triggerError(e.uniqueId,t.code,t.text))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logAdfoxControlTime=void 0;var r=[{pageId:106253,impId:113},{pageId:134625,impId:72}];function o(e){for(var t=0;t<r.length;t++)if(i(e,r[t].pageId,r[t].impId))return!0;return!1}function i(e,t,r){return!!n(2).isString(e)&&(e.indexOf("/meta/"+t)>-1&&e.indexOf("imp-id="+r)>-1)}function a(e,t){return e>0&&t>0?Math.round(t-e):0}t.logAdfoxControlTime=function(e,t){if(function(e,t){for(var n=0;n<r.length;n++)if(r[n].pageId===e&&r[n].impId===t)return!0;return!1}(e,t))for(var i=performance.getEntriesByType("resource"),s=i.length-1;s>=0;s--)if(o(i[s].name)){var u=i[s],c={tcpHandshake:a(u.connectStart,u.connectEnd),dnsLookup:a(u.domainLookupStart,u.domainLookupEnd),ttfb:a(u.requestStart,u.responseStart),response:a(u.responseStart,u.responseEnd),duration:Math.round(u.duration)};n(13).logger.info(c,"ADFOX_CTRL_TIME",100);break}}},function(e,t,n){e.exports=function(e,t){n.e(0).then(function(){e(n(668))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdSeenObserver=void 0;var r=function(){function e(e){this.renderToNode=e,this.wasRendered=!1,this.wasAdSeen=!1,this.isVisible=!1,this.seenTime=0,this.waitingRenderTime=0,this.missedSeenTime=0,this.rendering=new(n(129).Deferred),this.whenAdWasRendered=this.rendering.promise,this.viewability=new(n(129).Deferred),this.whenAdWasSeen=this.viewability.promise}return e.prototype.startObserve=function(){var e=this;if(void 0===this.unobserve){var t=o().observe(this.renderToNode,(function(n){n!==e.isVisible&&(e.isVisible=n,n?(e.seenTime=performance.now(),e.whenAdWasRendered.then((function(){t(),e.wasAdSeen=!0,e.viewability.resolve()}))):e.seenTime&&(e.missedSeenTime+=performance.now()-e.seenTime,e.seenTime=0))}));this.unobserve=t}},e.prototype.destroy=function(){var e;null===(e=this.unobserve)||void 0===e||e.call(this)},e.prototype.renderingIsCompleted=function(){if(!this.wasRendered){if(this.wasRendered=!0,this.seenTime>0){var e=performance.now();this.waitingRenderTime=Math.max(0,e-this.seenTime),this.seenTime=0,this.wasAdSeen=!0}this.rendering.resolve()}},e.prototype.getSeenStatus=function(){var e=this.wasAdSeen,t=this.wasRendered,n=this.waitingRenderTime,r=this.missedSeenTime;return{wasAdSeen:e,wasRendered:t,waiting:n,missed:r,total:r+n}},e}();t.AdSeenObserver=r;var o=n(15).once((function(){return new(n(328).ViewportObserver)({rootMargin:"0px",threshold:[0,.25,.5,.75,1]})}))},function(e,t,n){e.exports=function(e,t){Promise.all([n.e(0),n.e(4)]).then(function(){e(n(669))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){e.exports=function(e,t){n.e(0).then(function(){e(n(670))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initWidgetCallbacks=void 0,t.initWidgetCallbacks=function(){var e=window.yaads;if(window.yaads={version:"v1",push:function(e){n(41).setCurrentQueue("yaads"),Ya.Context.AdvManager.renderWidget(e),n(41).setCurrentQueue(null)},useExperimentFlag:n(4).useExperimentFlag,destroy:function(t){if(n(2).isString(t)){var r=n(406).getRenderTo(t);e&&n(1).isFunction(e.destroy)&&e.destroy(t),Ya.Context.AdvManager.destroy({renderTo:r})}}},n(10).isArray(e))for(var t=0;t<e.length;t++)window.yaads.push(e[t])}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.__esModule=!0,t.createErrorReport=function(e,t,i){var a={},s=a[i.bundleName]={},u=t.message;s[u]=r(t,{params:i.adParams,userAgent:navigator.userAgent,viewport:[e.screen.width,e.screen.height].join("x"),date:String(new Date),href:location.href}),void 0!==n.lv["json"]&&(s[u]=n.lv["json"].stringify(s[u]));return o(a)},t.createReport=o,t.processErrorEvent=function(e){var t=e.error;return{message:t&&t.message||e.message||"Unrecognized script error",file:e.filename,line:e.lineno,column:e.colno,stack:t&&t.stack||""}};function o(e){var t={};return(t[n(105).loaderVersion]={})[n(105).bundleVersion]=e,t}},function(e,t,n){"use strict";t.__esModule=!0,t.onDocumentReady=function(e,t){var n=e.document;if(function(e){var t=e.readyState;return"complete"===t||"loading"!==t&&"uninitialized"!==t&&!e.documentElement.doScroll}(n))t();else{var o=!1,i=function i(){r.removeEvent(n,"DOMContentLoaded",i),r.removeEvent(e,"load",i),o||(o=!0,t())};r.addEvent(n,"DOMContentLoaded",i),r.addEvent(e,"load",i)}};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n["default"]=e,t&&t.set(e,n);return n}(n(177));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.__esModule=!0,t.adFoxLoaderParamsChecker=function(e,t,o){var i=r({},e);(function(e){var t=null;e?e.ownerId||e.data?e.params||e.data?e.element||e.containerId||(t='Banner options required "element" or "containerId"'):t='Banner options required "params" or "data"':t='Banner option "ownerId" is required':t="Banner options is required";if(t)throw new Error("adfox#checkBannerOptions: "+t)})(e),function(e){for(var t,n=["onDestroy","onError","onLoad","onRender","onStub","onOpen","onClose","onRewarded","onAdStart","onAdEnd"],r=0;r<n.length;r++)if("undefined"!==(t=typeof e[n[r]])&&"function"!==t)throw new Error("adfox#checkBannerOptions: "+n[r]+" must be function")}(e),function(e,t){e.element&&e.element instanceof Element?t.container=e.element:e.containerId&&(t.container=window.document.getElementById(e.containerId))}(e,i),function(e,t){if(!t.container){var n=e.element?"Element not found or is not instance of Element":"Element with id #"+e.containerId+" not found";throw new Error("adfox#checkContainer: "+n)}if(!window.document.body.contains(t.container))throw new Error("adfox#checkContainer: Element isn't inserted in dom")}(e,i),function(e,t){var r=t.bid;if(r){if(!(0,n(10).isArray)(r))throw new Error("adfox#bid: Must be an Array");t.bid=(0,n(6).map)(r,(function(e){var t=e.campaign_id,n=e.bid,r=Number(t);if(!isFinite(r))throw new Error("adfox#bid.campaign_id: Can not be converted to number");return{campaign_id:r,bid:n}}))}}(0,i),void 0!==t&&function(e){if(!(0,n(10).isArray)(e))throw new Error("adfox#checkAdaptiveStates: adaptiveStates option must be Array");if(e.length<1)throw new Error("adfox#checkAdaptiveStates: adaptiveStates option can not be empty")}(t);void 0!==o&&function(e){if(e.tabletWidth&&e.phoneWidth&&e.tabletWidth<e.phoneWidth)throw new Error("adfox#checkAdaptiveOptions: phoneWidth must be less than tabletWidth")}(o);return i}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderPerformanceManager=void 0;var o=function(){function e(e){this.steps=e,this.storage={}}return e.prototype.setBlockData=function(e,t){this.storage[e]||(this.storage[e]={timing:{},data:{},canLog:!0}),this.storage[e].data=r(r({},this.storage[e].data),t)},e.prototype.logRenderLabel=function(e,t,n){void 0===n&&(n=(new Date).getTime()),this.storage[e]||(this.storage[e]={timing:{},data:{},canLog:!0}),this.storage[e].timing[t]=n},e.prototype.stopLoggingTime=function(e){this.storage[e]&&(this.storage[e].canLog=!1)},e.prototype.continueLoggingTime=function(e){this.storage[e]&&(this.storage[e].canLog=!0)},e.prototype.getInfo=function(e){return this.canSendData(this.storage[e])&&e in this.storage?{timing:this.prepareTimings(this.storage[e]),data:this.storage[e].data}:null},e.prototype.canSendData=function(e){return e&&e.canLog},e.prototype.prepareTimings=function(e){for(var t,r={totalInit:0,totalData:0,totalRender:0,total:0},o=n(37).getObjectKeys(e.timing).sort((function(e,t){return e-t})),i=0;i<o.length;i++){var a=e.timing[o[i]]||0;if(t){var s=a-t;t=a,r[o[i]]=s,o[i]in this.steps.initSteps?r.totalInit+=s:o[i]in this.steps.dataSteps?r.totalData+=s:o[i]in this.steps.renderSteps&&(r.totalRender+=s),r.total+=s}else t=a}return r},e}();t.RenderPerformanceManager=o},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeXhr=t.isXhrNative=void 0;var o,i=r(n(365)),a=window;t.isXhrNative=function(e){var t=e.prototype,r=n(14).filter(n(37).getObjectKeys(t),(function(e){try{return"function"==typeof t[e]}catch(e){return!1}}));return n(94).every(r,(function(e){return n(17).checkNativeCode(t[e])}))};t.getNativeXhr=function(e){var r=(void 0===e?{}:e).onWindowCreation,s=a.XMLHttpRequest&&t.isXhrNative(a.XMLHttpRequest),u=Boolean(document.body);return s||!u?a.XMLHttpRequest:(o||(o=document.createElement("iframe"),i["default"].setStyle(o,{overflow:"hidden",display:"none",position:"absolute",left:"-9999px",top:"-9999px",width:"1px",height:"1px"})),o.contentWindow||(document.body.appendChild(o),n(1).isFunction(r)&&o.contentWindow&&r(o.contentWindow)),o.contentWindow.XMLHttpRequest)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getLoaderRequestParams=t.getAdNumber=t.resetAdNumber=t.incrementAdNumber=void 0;var o=0,i=0;t.incrementAdNumber=function(){return i++};t.resetAdNumber=function(){return i=0};t.getAdNumber=function(){return i};t.getLoaderRequestParams=function(e){var t,a=e.win,s=e.date,u=void 0===s?new Date:s,c=e.pr1,d=void 0===c?n(124).generatePr():c,l=e.testtag,f=e.isTurbo,p=void 0===f?n(234).isAdfoxPageTurbo(a):f,v=e.container,g=new(n(282).LayoutConfig)(v);g.set("req_no",o++),g.set("ad_no",(t=n(592).getPcodeAdNumber(),i+t)),n(286).isPercent(1)&&function(e,t){var r=e.get("w"),o=e.get("h"),i=t&&t.getAttribute("id");0===r&&0===o&&n(22).logError({message:"ADFOX_0x0",data:{container:i},probability:1})}(g,v);var h=r(r({},n(466).getBaseRequestParams({win:a,date:u,pr1:d})),{ylv:"0."+n(105).loaderVersion,ybv:"0."+n(350).getBundleVersion(),ytt:l.toString(),"is-turbo":Number(p).toString(),"skip-token":n(593).getSkipToken(),"ad-session-id":n(38).getSessionId(),"layout-config":String(g),"enable-flat-highlight":"1","pcode-version":""+n(105).loaderVersion,availableWidth:g.get("w"),availableHeight:g.get("h")}),m=n(594).getSiteUid();return m&&(h.shyid=m),n(159).IS_YANDEX_RU_DOMAIN&&(h["yaru"]="true"),h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseRequestParams=void 0;t.getBaseRequestParams=function(e){var t=e.win,r=e.date,o=void 0===r?new Date:r,i=e.pr1,a=void 0===i?n(124).generatePr():i,s=n(136).isAMP?t.context.sourceUrl:t.document.referrer,u=n(136).isAMP?t.context.sourceUrl:t.location;return{dl:String(u),date:n(467).toISOString(o),pd:o.getDate().toString(),pdh:t.screen.height.toString(),pdw:t.screen.width.toString(),pr1:a.toString(),pr:n(361).getPr().toString(),prr:s,pv:o.getHours().toString(),pw:o.getDay().toString(),extid_loader:n(208).encode(n(108).getCookie(t.document,"_ym_uid")||""),extid_tag_loader:t.location.hostname}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toISOString=void 0;var r=function(e,t){var n=e.toString();return"0000".substr(0,t-n.length)+n};t.toISOString=function(e){return e.getFullYear()+"-"+r(e.getMonth()+1,2)+"-"+r(e.getDate(),2)+"T"+r(e.getHours(),2)+":"+r(e.getMinutes(),2)+":"+r(e.getSeconds(),2)+"."+r(e.getMilliseconds(),3)+function(e){var t=-e.getTimezoneOffset();return""+(t>=0?"+":"-")+r(Math.floor(Math.abs(t)/60),2)+":"+r(Math.abs(t)%60,2)}(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadBanner=t.initDeps=void 0;var r=n(595);t.initDeps=r.initDeps,t.loadBanner=r.loadBanner},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendPixel=void 0,t.sendPixel=function(e,t,r){n(259).loadImage({src:e,onLoad:t,ctx:r})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=void 0,t.isSafari=n(150).getIsSafari()},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOpera=void 0;t.isOpera=function(e){return void 0===e&&(e=window),e.navigator.userAgent.indexOf("Opera")>-1||e.navigator.userAgent.indexOf("OPR")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSafariVersion=void 0,t.getSafariVersion=function(e){if(void 0===e&&(e=window),n(519).isSafari&&e.navigator&&e.navigator.userAgent){var t=e.navigator.userAgent.match(/version\/(\d+)/i);if(t){var r=Number(t[1]);if(r)return r}}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsChrome=void 0;t.getIsChrome=function(e){return void 0===e&&(e=window),/Chrome/.test(e.navigator.userAgent)&&/Google Inc/.test(e.navigator.vendor)&&!n(377).getIsYaBrowser(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIOSVersion=void 0,t.getIOSVersion=function(e){if(void 0===e&&(e=window),n(93).getIsIOS(e)&&e.navigator){var t=e.navigator.platform;if(t&&/iP(hone|od|ad)/.test(t)){var r=e.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);if(r)return parseInt(r[1],10)}}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPhone=void 0;t.isPhone=function(e){return void 0===e&&(e=window),n(532).getIsIphone(e)||n(315).getIfIsAndroid(e)&&n(71).getUserAgent(e).toLowerCase().indexOf("mobile")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsIphone=void 0;t.getIsIphone=function(e){return void 0===e&&(e=window),n(93).getIsIOS(e)&&n(71).getUserAgent(e).toLowerCase().indexOf("iphone")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsPostMessageSupported=void 0;t.getIsPostMessageSupported=function(e){return void 0===e&&(e=window),n(1).isFunction(e.postMessage)&&-1===n(88).getInternetExplorerVersion(e)&&!n(252).isOperaMini(e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0,t.createSandbox=function(e){var t=e.createElement("iframe");t.scrolling="no";return t.style.cssText="min-height:100%;height:100%;min-width:100%;width:1px;",t.setAttribute("marginwidth",0),t.setAttribute("marginheight",0),t.setAttribute("frameborder",0),t},t.write=function(e,t,o){r.isIe&&r.ieVer<=9?function(e,t,o){var i,a=[],s=[];var u=/<script(.*?)>((.|\n)*?)<\/script>/g,c=/src=("|')(.*)("|')/;for(;i=u.exec(o);){var d={text:i[2]},l=c.exec(i[1]);l&&l[2]&&(d.src=l[2]),a.push(d)}for(var f=function(t){var r=a[t];if(r.src)s.push((function(t){(0,n(395).loadScript)(e,r.src,t)}));else{var o=e.document.createElement("script");o.type="text/javascript",o.text=r.text,s.push((function(t){e.document.body.appendChild(o),t()}))}},p=0;p<a.length;p++)f(p);if(-1===(o=o.replace(/<script/g,'<script type="text/template"')).indexOf("<body")){var v=r.ieVer<=8?'<meta http-equiv="X-UA-Compatible" content="IE=edge" />':"";o="<html><head>"+v+"</head><body>"+o+"</body></html>"}t.write(o),t.close(),function e(){s.length&&s.shift()(e)}()}(e,t,o):function(e,t){e.write(t),e.close()}(t,o)},t.initMovementChecking=function(e,t){var n=e.contentWindow,r=function(){return clearInterval(o)},o=setInterval((function(){n!==e.contentWindow&&(r(),t())}),150);return r};var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n["default"]=e,t&&t.set(e,n);return n}(n(136));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}},function(e,t,n){"use strict";t.__esModule=!0,t.initByScroll=function(e,t,n,a){function s(){o.removeEvent(e,"scroll",c),o.removeEvent(e,"resize",c)}var u=function(e,t,n){var o=e.document;return function(){if(function(e){return Boolean(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}(t)){var i=o.documentElement.clientWidth,a=o.documentElement.clientHeight,s=r.elementOffset(t),u=r.pageOffset(e);u.top+a>=s.top&&u.left+i>=s.left&&n()}}}(e,t,(function(){a&&s(),n()})),c=i.throttle(u,300);return o.addEvent(e,"scroll",c,{passive:!0}),o.addEvent(e,"resize",c,{passive:!0}),c(),s};var r=s(n(344)),o=s(n(177)),i=s(n(573));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}},,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0,t.throttle=function(e,t,n){var r,o,i;return function(){o=arguments,i=!0,n=n||null,r||function a(){i?(e.apply(n,o),i=!1,r=setTimeout(a,t)):r=null}()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onSandboxReady=void 0;t.onSandboxReady=function(e,t){n(136).isFirefox?n(461).onDocumentReady(e.contentWindow,t):t()}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),window.Promise||(window.Promise=n(331)),n(19).ns.pr||(n(112).initLoaderScriptConfig(),Math.random()<.1&&n(577).initErrorLogger(),n(579).initAdfox(),n(468).initDeps(),n(407),n(603).addLinkElement("preconnect","https://webcf.waybackmachine.org/web/20211025204422/https://ads.adfox.ru"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initErrorLogger=void 0;var r=window;t.initErrorLogger=function(){n(27).on(r,"error",(function(e){!function(e){var t;if(o<=10){var i=-1!==e.message.indexOf("adfox#"),a=/(\/(adfox|adfox\/loader)\.js$)|pcode-bundles/.test(e.file),s=/([_a-z]+).js$/.exec(e.file),u=s&&s[1]?s[1]:"loader";!i&&a&&(o++,c={mediaError:(t={},t["useXhr=true"]=n(460).createErrorReport(r,e,{bundleName:u}),t)},n(578).create(__metrika_counter_id_adfox__).params(c))}var c}(n(460).processErrorEvent(e))}))};var o=0},function(e,t,n){"use strict";var r="yandex_metrika_callbacks",o=["addFileExtension","extLink","file","hit","notBounce","params","userParams","setUserID","getClientID","reachGoal","replacePhones"],i={};function a(e){this._counterId=e,this._yaCounterNs="yaCounter"+e,this._isInited=!1}window.Ya&&window.Ya.Metrika||(0,n(395).loadScript)(window,"https://webcf.waybackmachine.org/web/20211025204422/https://mc.yandex.ru/metrika/watch.js",(function(){var e;for(e in i)i.hasOwnProperty(e)&&(i[e]._isInited||i[e]._initCounter())})),a.prototype._initCounter=function(){return this._isInited||(window[this._yaCounterNs]=new window.Ya.Metrika({id:this._counterId,nck:!0,clickmap:!1,accurateTrackBounce:!1}),this._isInited=!0),window[this._yaCounterNs]},a.prototype._apply=function(e,t){window[this._yaCounterNs][e].apply(window[this._yaCounterNs],t)},a.prototype._createAndApply=function(e,t){this._initCounter(),this._apply(e,t)};for(var s=function(e){var t=o[e];a.prototype[t]=function(){for(var e=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];window[this._yaCounterNs]?this._apply(t,o):window.Ya&&window.Ya.Metrika?this._createAndApply(t,o):(window[r]=window[r]||[],window[r].push((function(){try{e._createAndApply(t,o)}catch(e){}})))}},u=0;u<o.length;u++)s(u);e.exports={McProxy:a,create:function(e){return i[e]||(i[e]=new a(e)),i[e]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initAdfox=void 0;var r=window;function o(){n(19).ns.pr=r.pr=n(124).generatePr(),n(81).ns.headerBidding&&(n(81).ns.headerBidding.pr=n(19).ns.pr)}t.initAdfox=function(){n(19).ns.pr=function(){"number"!=typeof r.pr&&(r.pr=n(81).ns.headerBidding&&n(81).ns.headerBidding.pr||n(124).generatePr());return r.pr}(),n(19).ns.create=n(69).create,n(19).ns.createScroll=n(69).createScroll,n(19).ns.createAdaptive=n(69).createAdaptive,n(19).ns.reload=n(69).reload,n(19).ns.destroy=n(69).destroy,n(19).ns.initialize=n(69).initialize,n(19).ns.hide=n(69).hide,n(19).ns.show=n(69).show,n(19).ns.getErrorsLog=n(69).getErrorsLog,n(19).ns.clearSession=o,n(19).ns.getPageRequestParams=n(601).getPageRequestParams,"function"!=typeof r.AdFox_getCodeScript&&(r.AdFox_getCodeScript=n(69).getCodeScript),n(602).initAsyncAdfox(r,{create:n(69).create,createScroll:n(69).createScroll,createAdaptive:n(69).createAdaptive})}},function(e,t,n){"use strict";var r;function o(){return r||(r=document.createElement("a")),r}t.__esModule=!0,t.getOptionsFromQuery=function(e,t){var n={containerId:"AdFox_banner_"+e,params:{}},r=o();r.href=t;var i=r.pathname;"/"!==i[0]&&(i="/"+i);var a=/\/(\d+)\//.exec(i);a&&a[1]&&(n.ownerId=a[1]);for(var s=r.search.slice(1).replace(/&/g,"&"),u=s.split("&"),c=0;c<u.length;c++){var d=u[c],l=d.indexOf("=");l>0&&(n.params[d.substr(0,l)]=decodeURIComponent(d.substr(l+1)))}if(!s.length||!n.ownerId)return!1;return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTurboPage=void 0,t.isTurboPage=function(e){return Boolean(e.YA_TURBO_PAGES)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isXhr=void 0;var r=n(234).isAdfoxPageTurbo(window);n(19).ns.xhrExperiment||(n(19).ns.xhrExperiment=function(e){var t=n(345).parsedLocationQueryString["xhr-experiment-winner"],r=n(14).filter(e,(function(e){return e.name===t}))[0];return r?r.value:n(583).choose(e)}([{name:"xhr",percent:1,value:{isXhr:!0,isControl:!1}},{name:"control",percent:0,value:{isXhr:!1,isControl:!0}},{name:"common",percent:0,value:{isXhr:!1,isControl:!1}}]));var o=[255389],i=Boolean(n(19).ns.isXhr)||Boolean(n(345).parsedLocationQueryString.xhr);t.isXhr=function(e){var t=e.useXhr,a=e.ownerId,s=Boolean(n(19).ns.xhrExperiment&&n(19).ns.xhrExperiment.isXhr);return(!a||-1===o.indexOf(a))&&(r||i||t||s)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.choose=void 0;var r=Math.random();t.choose=function(e){for(var t=0,n={percent:0,value:""},o=0;o<e.length&&(t+=e[o].percent,n=e[o],!(r<=t));o++);return n.value}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdFoxProxy=void 0;var r=1,o=function(){function e(e,t,o){var i=this;void 0===o&&(o={}),this.win=e,this.bannerOptions=t,this.extOptions=o,this.initialized=!1,this.isHidden=!1,this.isBidRequested=!1,this.ad=null,this.reloadCounter=0,this.cbManager=new(n(233).AdfoxProxyCallbacksManager),this.headerBidding=n(81).ns.headerBidding,this.useHB=Boolean(this.headerBidding),this.headerBiddingTimeoutId=null,this.bannerId=n(61).generateHexString(10),this.slotNumber=r++,this.awaitAdInitialization=new(n(129).Deferred),Promise.resolve().then((function(){void 0===i.deferredInitialize&&(i.deferredInitialize=!0)}))}return e.prototype.getContainerId=function(){var e=this.bannerOptions,t=e.containerId,n=e.element;return t||n&&n.id},e.prototype.getContainerElement=function(){var e=this.bannerOptions,t=e.element,n=e.containerId;return t||n&&window.document.getElementById(n)},e.prototype.initialize=function(){var e=this;if(!this.initialized){var t=this.getContainerElement();t&&n(151).initAdSeenObserver(this.bannerId,t),void 0===this.deferredInitialize&&(this.deferredInitialize=!1),this.useHB=this.useHB||Boolean(this.isIdRegisteredInHB(this.bannerOptions.containerId));var r=this.useHB&&!this.headerBidding;if(this.isBidRequested||r){var o=n(19).addAdfoxNamespace(this.win);o.hbCallbacks=o.hbCallbacks||[],o.hbCallbacks.push((function(){e.initAd()}))}else this.initAd()}},e.prototype.destroyWithoutCallbackInvocation=function(){this.destroy(!1)},e.prototype.destroy=function(e){void 0===e&&(e=!0),e&&this.cbManager.callCallbacksOnceByName(n(233).CallbackNames.ON_DESTROY),this.destroyAd()},e.prototype.reload=function(e){var t=this.getContainerElement();t&&this.canReload()&&(this.reloadCounter++,n(11).renderPerfomanceManager.continueLoggingTime(this.bannerId),e&&e.bid&&(this.bannerOptions.bid=e.bid),this.destroyAd(),this.awaitAdInitialization=new(n(129).Deferred),n(151).initAdSeenObserver(this.bannerId,t),this.initAd())},e.prototype.canReload=function(){if(!this.initialized||this.isHidden)return!1;var e="exp"===n(4).useExperimentFlag("ADFOX_RELOAD_TIMEOUT"),t=Date.now()-this.initializationTime;if(e&&t<1e3*n(346).DEFAULT_RELOAD_TIMEOUT)return!1;var r="exp"===n(4).useExperimentFlag("ADFOX_RELOAD_IF_AD_WAS_SEEN"),o=n(151).getAdSeenObserver(this.bannerId);return!(r&&o&&!o.wasAdSeen)},e.prototype.hide=function(){var e=this;this.deferredCall((function(){e.isHidden=!0,e.ad.hide()}))},e.prototype.show=function(){var e=this;this.deferredCall((function(){e.isHidden=!1,e.ad.show()}))},e.prototype.initAd=function(){var e,t,r;n(11).renderPerfomanceManager.setBlockData(this.bannerId,{slotNumber:this.slotNumber,reloadCounter:this.reloadCounter,deferredInitialize:this.deferredInitialize,isInitializationByViewportSlice:n(285).isInitializationByViewportSlice,isInitializationByViewportTarget:n(285).isInitializationByViewportTarget}),n(11).renderPerfomanceManager.logRenderLabel(this.bannerId,n(11).BlockRenderSteps.AdChosen);var o=this.getContainerId();this.headerBidding=n(81).ns.headerBidding;var i=Boolean(null===(r=null===(t=null===(e=this.headerBidding)||void 0===e?void 0:e.managerForAdfox)||void 0===t?void 0:t.hasOneOfAdUnits)||void 0===r?void 0:r.call(t,[o]));this.useHB=i,i?(n(11).renderPerfomanceManager.setBlockData(this.bannerId,{isHB:!0}),this.createBidAd()):(n(11).renderPerfomanceManager.setBlockData(this.bannerId,{isHB:!1}),this.createAd())},e.prototype.createBidAd=function(){var e=this,t=!1;if(this.reloadCounter>0){var n=this.getContainerId();this.headerBidding.managerForAdfox.requestBidForContainer(n)}this.headerBiddingTimeoutId||(this.headerBiddingTimeoutId=window.setTimeout((function(){t=!0,e.isBidRequested=!1,e.handleHeaderBiddingTimeout()}),this.getHeaderBiddingTimeout())),this.isBidRequested=!0,this.getBids((function(n){e.isBidRequested=!1,t||(e.clearHeaderBiddingTimeout(),e.createAd(n))}))},e.prototype.createAd=function(e,t){var r,o=this;void 0===e&&(e=[]),void 0===t&&(t=!0);var i=n(462).adFoxLoaderParamsChecker(this.bannerOptions);n(11).renderPerfomanceManager.setBlockData(this.bannerId,{ownerId:this.bannerOptions.ownerId,params:this.bannerOptions.params}),t?(i.bid=i.bid||[],(r=i.bid).push.apply(r,e)):i.bid=[];var a=i.onRender;i.onRender=function(){n(151).renderingIsCompleted(o.bannerId,{type:"adfox",slotIndex:o.slotNumber}),a&&a()};var s=i.onDestroy;i.onDestroy=function(){o.destroyWithoutCallbackInvocation(),s&&s()},i.bannerId=this.bannerId,i.reloadCounter=this.reloadCounter,i.slotNumber=this.slotNumber,i.methodCall=this.extOptions.methodCall||n(135).MethodCall.UNKNOWN,void 0===this.extOptions.queue?i.insertionQueue=n(41).IGNORE_VALUE:i.insertionQueue=this.extOptions.queue,i.getTrustedOwners=function(){return o.headerBidding&&o.headerBidding.getTrustedOwners?o.headerBidding.getTrustedOwners():[]},this.ad=new(n(585).AdfoxAd)(this.win,i),this.initialized=!0,this.initializationTime=Date.now(),this.awaitAdInitialization.resolve(),this.ad.render()},e.prototype.destroyAd=function(){this.initialized=!1,this.awaitAdInitialization.reject(),this.clearHeaderBiddingTimeout(),this.ad&&(this.ad.show(),this.ad.destroy(),this.ad=null),n(151).destroyAdSeenObserver(this.bannerId),this.isHidden=!1},e.prototype.getBids=function(e){var t=this.getContainerId();this.headerBidding.managerForAdfox.getBidsForAdfoxByContainerId(t,e)},e.prototype.isIdRegisteredInHB=function(e){var t,r,o,i=this.win.YaHeaderBiddingSettings&&this.win.YaHeaderBiddingSettings.adUnits||(null===(o=null===(r=null===(t=this.headerBidding)||void 0===t?void 0:t.managerForAdfox)||void 0===r?void 0:r.getAdunits)||void 0===o?void 0:o.call(r));return Boolean(n(2).isString(e)&&i&&n(42).some(i,(function(t){return t.code===e})))},e.prototype.getHeaderBiddingTimeout=function(){var e;try{e=2*n(81).ns.headerBidding.managerForAdfox.getRequestTimeout()}catch(e){}return e&&isFinite(e)||(e=n(311).DEFAULT_TIMEOUT),2*(e=Math.max(e,n(311).DEFAULT_TIMEOUT))},e.prototype.clearHeaderBiddingTimeout=function(){this.headerBiddingTimeoutId&&(clearTimeout(this.headerBiddingTimeoutId),this.headerBiddingTimeoutId=null)},e.prototype.handleHeaderBiddingTimeout=function(){n(47).logError(n(47).HeaderBiddingErrors.notLoaded),n(107).consoleWarn("Adfox HeaderBidding failed"),this.createAd([],!1)},e.prototype.getErrorsLog=function(){return this.ad.getErrorsLog()},e.prototype.deferredCall=function(e){this.initialized?e():this.awaitAdInitialization.promise.then((function(){return e()}))},e}();t.AdFoxProxy=o},function(e,t,n){"use strict";t.__esModule=!0,t.AdfoxAd=void 0;var r=a(n(586)),o=a(n(588)),i=a(n(589));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=null,f=null,p=null,v=n(159).AN_YANDEX_STATIC_DOMAIN+"/adfox",g=["slide","visibleAfterInit","insertAfter","insertPosition","stick","stickTo","stickyColorScheme","replayMode","preload"],h=[].concat(g),m=function(){return(new Date).getTime()},_=1;function b(e,t){var r;this._isDestroyed=!1,this._isTurbo=(0,n(234).isAdfoxPageTurbo)(window),this._turboPageUrl=t.turbo_original_url,this._useXhr=t.useXhr,this._win=e,this._doc=e.document,this._loc=e.location,this._params=t.params||{},this._extParams=t.extParams,this._clickMacro=t.clickMacro,this._domain=t.customDomain||v,this._ownerId=t.ownerId,this._data=t.data,this._containerId=t.containerId,this._pr1=(0,n(124).generatePr)(),this._dt=new Date,this._bid=t.bid,this._useProtectMode=!(0,n(117).isInSafeframe)(this._win)&&(t.useProtectMode||this._isTurbo),this._container=t.container,this._cspNonce=t.cspNonce,this._bannerId=t.bannerId,this._lastBannerName,this._resetCount=0,this._errorsLog=[],this._reloadCounter=t.reloadCounter||0,this._slotNumber=t.slotNumber||-1,this._insertionCodeParams=t.insertionCodeParams||{},this._headers=(0,n(591).prepareCustomHeaders)(t.headers),this._insertionQueue=t.insertionQueue,this._methodCall=t.methodCall,this._getTrustedOwners=t.getTrustedOwners||function(){return[]};var o=this._useXhr&&n(19).ns&&n(19).ns.xhrExperiment&&n(19).ns.xhrExperiment.isXhr,i=!this._useXhr&&n(19).ns&&n(19).ns.xhrExperiment&&n(19).ns.xhrExperiment.isControl,a=i||o;this._xhrExperimentLabel=i?"prepareCode":o?"xhr":"default",this.testtag=new(n(106).AdfoxTesttag)(((r={})[n(106).Bits.isXhr]=Number(o),r[n(106).Bits.isPrepareCode]=Number(!this._useXhr),r[n(106).Bits.isXhrExperiment]=Number(a),r[n(106).Bits.methodCall]=Number(t.methodCall),r[n(106).Bits.marginsForLazyInitExp]=(0,n(4).useExperimentFlag)("MARGINS_FOR_LAZY_INIT_EXP")||0,r[n(106).Bits.reloadTimeoutExp]=(0,n(106).experimentBitValues)((0,n(4).useExperimentFlag)("ADFOX_RELOAD_TIMEOUT")),r[n(106).Bits.reloadIfAdWasSeenExp]=(0,n(106).experimentBitValues)((0,n(4).useExperimentFlag)("ADFOX_RELOAD_IF_AD_WAS_SEEN")),r)),this._callbacks={onDestroy:t.onDestroy,onError:t.onError,onLoad:t.onLoad,onRender:t.onRender,onStub:t.onStub,onVideoEnd:t.onVideoEnd,onRewarded:t.onRewarded,onOpen:t.onOpen,onClose:t.onClose,onAdStart:t.videoCallbacks&&t.videoCallbacks.onAdStart,onAdEnd:t.videoCallbacks&&t.videoCallbacks.onAdEnd},n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdCreated),n(11).renderPerfomanceManager.setBlockData(this._bannerId,{containerId:this._containerId,isAnYandexLoader:(0,n(112).isAnYandexLoader)(),comboLoaderExp:(0,n(112).comboLoaderExperimentValue)()})}(0,n(281).setVersionForVas)(),b.prototype={constructor:b,render:function(){n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdStartedRender),this._data?(n(11).renderPerfomanceManager.stopLoggingTime(this._bannerId),this._processResponseData(this._data),this._data=null):this._initRequest()},destroy:function(){this._isDestroyed||(this._isDestroyed=!0,this._transport&&this._transport.destroy(),this._destroyBundle(),this._clean(),this._triggerCallback("onDestroy"))},hide:function(){this._bundle&&this._bundle.hide()},show:function(){this._bundle&&this._bundle.show()},_initRequest:function(e){var t=e&&e.prepareCodeUrl||this._getPrepareUrl();if(!this._useXhr)return n(11).renderPerfomanceManager.stopLoggingTime(this._bannerId),void this._initOldBanner({pr1:this._pr1,prepareCodeUrl:t});this._initXHRequest(t,{method:n(235).Methods.GET,headers:this._headers})},_initXHRequest:function(e,t){var r=this,i=m();this._transport=new o["default"](this._win,{},{error:function(e){r._cleanAfterGoogle(),r._logError({name:n(22).AdfoxErrors.xhr,labels:{requestType:r._xhrExperimentLabel}}),r._triggerCallback("onError",e)},success:function(e){n(11).renderPerfomanceManager.logRenderLabel(r._bannerId,n(11).BlockRenderSteps.AdfoxXhrRequestLoaded);var t=m()-i;r._logEvent({name:n(22).AdfoxEvents.requestParsed,labels:{requestType:r._xhrExperimentLabel}}),r._transport=null,r._processResponseData(e,t)}}),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdfoxXhrRequestPrepared),this._transport.sendRequestWithUrl(e,t),this._logEvent({name:n(22).AdfoxEvents.requested,labels:{requestType:this._xhrExperimentLabel}})},_initJSONPRequest:function(e){var t=this,r=l(),o=this._win.Ya,i=!1,a=null,s=function(e,i){void 0===i&&(i=null),t._cleanAfterGoogle(),o[r]&&(o[r]=null),t._logError(n(22).AdfoxErrors.jsonp,{requestType:"jsonp"}),t._triggerCallback("onError",{type:"JSONPRequest",reason:e,exception:i})},u=setTimeout((function(){return s("Script execution timeout")}),15e3);o[r]=function(e){if(i=!0,t._win.clearTimeout(u),"string"==typeof e)try{e=n.lv["json"].parse(e)}catch(e){return void s("Parse error",e)}else if("object"!=typeof e)return void s("Incorrect data type");a&&(0,n(50).removeNodeFromParent)(a),t._logEvent({name:n(22).AdfoxEvents.requestParsed,labels:{requestType:"jsonp"}}),t._processResponseData(e)},(0,n(127).isEncoded)(e)&&(e=(0,n(127).decode)(e)),e=(0,n(20).addParamToUrl)(e,"callback","Ya["+r+"]"),e=(0,n(127).encode)(e),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdfoxJsonpRequestPrepared),(a=document.createElement("script")).charset="utf-8",a.src=e,a.onerror=function(){return s("Script loading error")},a.onload=function(){n(11).renderPerfomanceManager.logRenderLabel(t._bannerId,n(11).BlockRenderSteps.AdfoxJsonpRequestLoaded),i||(t._win.clearTimeout(u),u=setTimeout((function(){return s("Script loading timeout")}),1e3))},f(this._win).appendChild(a),this._logEvent({name:n(22).AdfoxEvents.requested,labels:{requestType:"jsonp"}})},_initOldBanner:function(e,t){var o=this;n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.BundleLoaded);var i=void 0===e.prepareCodeUrl,a="banner.old."+(i?"js":"transport");e.cspNonce=this._cspNonce,this._cleanAfterGoogle(),this._bundleStartTime=m(),this._bundle=new r["default"](this._win,e,{onRender:function(){i&&(n(11).renderPerfomanceManager.setBlockData(o._bannerId,{renderNumber:_++}),n(11).renderPerfomanceManager.logRenderLabel(o._bannerId,n(11).BlockRenderSteps.OldRendered),(0,n(122).sendRenderData)(o._bannerId,o.testtag.toString())),t&&t.onRender&&t.onRender(),o._logEvent({name:n(22).AdfoxEvents.bundleRendered,labels:{bundleName:a,requestType:o._xhrExperimentLabel}}),o._triggerCallback("onRender"),(0,n(122).sendAssetsInfo)()},onError:function(e){o._logError({name:n(22).AdfoxErrors.unknown,labels:{bundleName:a,requestType:o._xhrExperimentLabel}}),o._triggerCallback("onError",e)},onLoad:function(){o._logEvent({name:n(22).AdfoxEvents.bundleLoaded,labels:{bundleName:a,requestType:o._xhrExperimentLabel}})},onLoadAnotherBundle:function(e){o._logEvent({name:n(22).AdfoxEvents.requestSucceeded,labels:{bundleName:a,requestType:o._xhrExperimentLabel}}),o._destroyBundle(),o._processResponseData(e)}}),this._bundle.renderTo(this._container),this._logEvent({name:n(22).AdfoxEvents.requested,labels:{requestType:this._xhrExperimentLabel}})},_resetBanner:function(e,t){var r=this;void 0===t&&(t=function(){return r._initRequest(e)}),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdReload),this._destroyBundle(),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdCreated),e.options&&(this._pr1=(0,n(124).generatePr)(),this._ownerId=e.options.ownerId||this._ownerId,this._params=e.options.params||this._params,this._domain=e.options.customDomain||v),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdStartedRender),t()},_destroyBundle:function(){this._bundle&&(this._bundle.destroy(),this._bundle=null)},_getAdContainer:function(e){return this._adContainer||(this._adContainer=this._doc.createElement("div"),this._adContainer.id="AdFox_banner_"+e),this._adContainer},_getDefaultParams:function(){return(0,n(465).getLoaderRequestParams)({win:this._win,date:this._dt,pr1:this._pr1,testtag:this.testtag,isTurbo:this._isTurbo,container:this._container})},_collectParams:function(){var e=s(this._getDefaultParams(),this._params,{extParams:(0,n(392).tryStringify)(this._extParams)},{slotNumber:this._slotNumber.toString()});if((0,n(0).forEach)(h,(function(t){e[t]=void 0})),e.pk)try{e.pk=decodeURIComponent(e.pk)}catch(e){}if(this._bid){this._bid.forEach((function(e){e.placement_id&&(e.placement_id=String(e.placement_id))})),this._bid.toJSON&&(this._bid.toJSON=void 0);var t=(0,n(392).tryStringify)(this._bid)||"";e.bids=(0,n(208).encode)(t)}e.utf8="\u2713";var r=(0,n(108).getCookie)(document,"_ym_uid");r&&(e.duid=(0,n(208).encode)(r)),this._reloadCounter&&(e.adf_refresh=this._reloadCounter,e.refresh="1"),(0,n(339).assignUaasRequestParams)(e,{disableSsr:!1,useSsr:!0,useTestIds:!0}),(0,n(4).useExperimentFlag)("ADFOX_DISABLE_SMART_SSR")&&(delete e["raw-smart-content"],delete e["smart-format-names"]),(0,n(4).useExperimentFlag)("USE_TOP_ANCESTOR")&&(e["top-ancestor"]=n(68).TOP_ANCESTOR,e["top-ancestor-undetermined"]=n(68).IS_TOP_ANCESTOR_TRUSTED?"0":"1");var o=(0,n(284).grab)(2048)||"";return e["grab-orig-len"]=o.length,e.grab=o,e},_getRawUrl:function(){var e;e=this._useXhr?"getBulk/v2":"prepareCode";return"https://"+this._domain+"/"+this._ownerId+"/"+e},_getShrunkenUrl:function(){var e=this._getRawUrl(),t=this._collectParams(),n=p(t,e);return{url:n.url,headers:n.headers}},_getPrepareUrl:function(){var e=this._getRawUrl(),t=this._collectParams();return(0,n(20).addParamsToUrl)(e,t)},_processResponseData:function(e,t){(0,n(122).sendNetworkInfo)(this.testtag.toString()),e.data&&e.data.length?this._parseDataInResponse(e.data,t):this._parseErrorsInResponse(e.errors)},_removeAdContainer:function(){(0,n(50).removeNodeFromParent)(this._adContainer),this._adContainer=null},_parseDataInResponse:function(e,t){for(var n=0;n<e.length;n++)this._loadBundle(e[n],t)},_parseErrorsInResponse:function(e){e&&e.length&&(0,n(42).some)(e,(function(e){return""+e.status=="204"}))?this._onStub():(this._cleanAfterGoogle(),this._triggerCallback("onError",{message:e,type:"adfoxBackend"}))},_processBundleName:function(e,t){return"banner.xml"===e&&t.vastBase64?"banner.inpage":e},_loadBundle:function(e,t,r){var o,i=this,a=(o={},o[n(135).MethodCall.UNKNOWN]="unknown",o[n(135).MethodCall.CREATE]="adfoxCreate",o[n(135).MethodCall.CRETE_ADAPTIVE]="adfoxAdaptive",o[n(135).MethodCall.CREATE_SCROLL]="adfoxScroll",o)[this._methodCall];if("banner.direct"===e.type){var s=(0,n(120).parseBlockId)((e.attributes||{}).blockId||"");(0,n(41).logStraightCall)(a,s,this._insertionQueue)}else(0,n(41).logStraightCall)(a,{ownerId:this._ownerId||null},this._insertionQueue);var u=e.attributes&&e.attributes.blockId||"";-1!==u.indexOf("106253-417")&&t&&this._logEvent({name:"AVITO_LOAD_TIME",data:{time:t},probability:1}),n(11).renderPerfomanceManager.setBlockData(this._bannerId,{blockId:u});var c=this._processBundleName(e.type,e.attributes),d=this._processBundleParams(e.attributes,c),l=Number(e.id);if(this._isBundleGoogle(c)||this._cleanAfterGoogle(),"banner.reset"===c){var f=e.attributes&&e.attributes.options&&e.attributes.options.ownerId||this._ownerId;(0,n(67).includes)(this._getTrustedOwners(),f)||(this._bid=void 0)}var p="banner.direct"===c;if(d.isTurbo=this._isTurbo,d.turboPageUrl=this._turboPageUrl,!this._isTurbo||(0,n(117).isInSafeframe)(this._win)||p||this._isSizeFitForTurbo(d)||this._logError({name:"turbo_size-fail",data:{bundleName:c,isInSafeframe:(0,n(117).isInSafeframe)(this._win),width:""+d.width,height:""+d.height,renderTime:m()-this._bundleStartTime,ownerId:this._ownerId,message:e&&e.message||""}}),p||(0,n(465).incrementAdNumber)(),n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.AdTypeChosen),n(11).renderPerfomanceManager.setBlockData(this._bannerId,{product:c}),this._lastBannerName=c,"banner.old"===c)this._loadOldBanner(e,d,l,r);else{var v=this._triggerCallback("onLoad",{bundleName:c,bundleParams:d},(function(){return i._callOnRender()}),(function(){return i._callOnError()}));"bid"===c&&!1!==v?this._renderHeaderBidding(d,r):(p&&(d.initTime=Number(new Date)),!1!==v&&this._runBundle(c,d,r))}},_isSizeFitForTurbo:function(e){var t=e.width,r=e.height;return Number(t)<=n(346).TURBO_MAX_SIZE.width&&Number(r)<=n(346).TURBO_MAX_SIZE.height},_renderHeaderBidding:function(e,t){var r=this,o=n(81).ns.headerBidding;o&&o.managerForAdfox&&o.managerForAdfox.render?(n(11).renderPerfomanceManager.logRenderLabel(this._bannerId,n(11).BlockRenderSteps.BundleLoaded),o.managerForAdfox.render(this._win,this._container,this._containerId,e.campaignId,c({},this._callbacks,{onRender:function(){var e;(n(11).renderPerfomanceManager.setBlockData(r._bannerId,{renderNumber:_++}),n(11).renderPerfomanceManager.logRenderLabel(r._bannerId,n(11).BlockRenderSteps.HBRendered),(0,n(122).sendRenderData)(r._bannerId,r.testtag.toString()),t&&t.onRender&&t.onRender(),r._callbacks.onRender)&&(e=r._callbacks).onRender.apply(e,arguments);(0,n(122).sendAssetsInfo)()},onAdfoxBid:function(e,t){r._loadBundle(e,void 0,t)}}))):this._triggerCallback("onError",{message:"Yandex Wrapper not found",type:"adfoxBackend"})},_decodeOldBannerContent:function(e){var t="";return e.jsEncoded?t=decodeURIComponent(e.jsEncoded):e.jsBase64&&(t=(0,n(208).decode)(e.jsBase64)),t=t.split("<\/script>").join("<\\/script>")},_loadOldBanner:function(e,t,n,r){this._useProtectMode?this._initSandboxLoader(e):this._initOldBanner({pr1:n||this._pr1,prepareCodeData:this._decodeOldBannerContent(t)},r)},_initSandboxLoader:function(e){var t=this;this._safeContainer=new i["default"](this._win,c({},e,{cspNonce:this._cspNonce,isXhr:this._useXhr}),{onError:function(){return t._callOnError()},onRender:function(){return t._callOnRender()},onDestroy:function(){return t.destroy()},onStub:function(){return t._onStub()}}),this._safeContainer.renderTo(this._container)},_callOnRender:function(){this._bundle&&this._bundle.callOnRender?this._bundle.callOnRender():this._triggerCallback("onRender")},_callOnError:function(){this._bundle&&this._bundle.callOnError?this._bundle.callOnError():this._triggerCallback("onError",{message:"Custom error",type:"adfoxBackend"})},_runBundle:function(e,t,r){var o=this,i=t.blockId;i&&"n"===i.charAt(0).toLowerCase()&&"banner.native"!==e&&(e="banner.native"),this._logEvent({name:n(22).AdfoxEvents.bundleStarted,labels:{bundleName:e}}),(0,n(468).loadBanner)(e).then((function(i){n(11).renderPerfomanceManager.logRenderLabel(o._bannerId,n(11).BlockRenderSteps.BundleLoaded),(0,n(122).sendNetworkInfo)(o.testtag.toString()),o._bundleStartTime=m(),o._logEvent({name:n(22).AdfoxEvents.bundleLoaded,labels:{bundleName:e}}),o._bundle=new i(o._win,t,c({},o._callbacks,{onRender:function(){n(11).renderPerfomanceManager.setBlockData(o._bannerId,{renderNumber:_++}),n(11).renderPerfomanceManager.logRenderLabel(o._bannerId,n(11).BlockRenderSteps.BundleRendered),o._logEvent({name:n(22).AdfoxEvents.bundleRendered,labels:{bundleName:e}}),(0,n(122).sendRenderData)(o._bannerId,o.testtag.toString()),r&&r.onRender&&r.onRender(),o._triggerCallback("onRender"),(0,n(122).sendAssetsInfo)()},onError:function(t){o._logError({name:n(22).AdfoxErrors.unknown,labels:{bundleName:e}}),o._logError({data:t,name:"moduleError",labels:{bundleName:e,ownerId:o._ownerId},probability:.1}),o._triggerCallback("onError",t)},onReset:function(t){(0,n(122).sendNetworkInfo)(o.testtag.toString()),o._logEvent({name:n(22).AdfoxEvents.bundleReset,labels:{bundleName:e}}),o._triggerCallback("onReset"),o._resetBanner(t)},onDestroy:function(){o._logEvent({name:n(22).AdfoxEvents.bundleDestroyed,labels:{bundleName:e}}),o.destroy()},onLogEvent:function(t){var n=t.name,r=t.labels,i=void 0===r?{}:r,a=t.data,s=t.probability;return o._logEvent({name:n,labels:c({},i,{bundleName:e}),data:a,probability:s})},onLogError:function(t){var n=t.name,r=t.labels,i=void 0===r?{}:r,a=t.probability;return o._logError({name:n,labels:c({},i,{bundleName:e}),probability:a})},onVideoEnd:function(){o._triggerCallback("onVideoEnd")}})),o._bundle.renderTo(o._container)}),(function(t){o._logError({name:n(22).AdfoxErrors.unknown,labels:{bundleName:e}}),o._logError({e:t,name:"moduleError",labels:{bundleName:e,ownerId:o._ownerId},probability:.1}),o._triggerCallback("onError",t)}))},_triggerCallback:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("onError"===e&&this._errorsLog.push({time:new Date,args:n}),this._callbacks[e])return this._callbacks[e].apply(this._win,n)},_processBundleParams:function(e,t){var r=this;return this._clickMacro&&(e.clickMacro=this._clickMacro),this._useProtectMode&&(e.useProtectMode=!0),this._cspNonce&&(e.cspNonce=this._cspNonce),"banner.inpage"===t&&(0,n(0).forEach)(g,(function(t){e[t]=r._params[t]})),e.testtag=this.testtag,e.useXhr=this._useXhr,e.ownerId=this._ownerId,e.insertionCodeParams=this._insertionCodeParams,e},_logEvent:function(e){var t=void 0===e?{}:e,r=t.name,o=t.labels,i=t.value,a=t.data,s=void 0===a?{}:a,u=t.probability;s=c({ownerId:this._ownerId,params:this._params},s),o=this._prepareLabels(o),void 0===i?(0,n(22).logEvent)({name:r,labels:o,data:s,probability:u}):(0,n(22).logValue)({name:r,labels:o,data:s,value:i,probability:u})},_logError:function(e){var t=e.name,r=e.labels,o=e.data,i=e.probability;(0,n(22).logError)({message:t,data:o,labels:this._prepareLabels(r),probability:i})},getErrorsLog:function(){return this._errorsLog},_prepareLabels:function(e){return void 0===e&&(e={}),c({},e,{bundleVersion:String((0,n(350).getBundleVersion)())})},_clean:function(){this._container.innerHTML=""},_isBundleGoogle:function(e){return"banner.adx"===e||"banner.dfp"===e},_cleanAfterGoogle:function(){this._isBundleGoogle(this._lastBannerName)&&this._clean()},_onStub:function(){this._cleanAfterGoogle(),this._triggerCallback("onStub")}};var y=(0,n(598).manageLastBanner)(b);t.AdfoxAd=y},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.hide=function(){this.container&&(this.container.style.display="none")},t.prototype.show=function(){this.container&&(this.container.style.display="")},t.prototype.destroy=function(){this.cancelObserver(),this.destroyAdContainer(),this.destroyTransport(),e.prototype.destroy.call(this)},t.prototype.render=function(){var e=this.params.pr1;this.createAdContainer(e),this.initObserver(),this.createTransport(e),this.params.prepareCodeData?this.transport.emulateRequestWithData(this.params.prepareCodeData):this.transport.sendRequestWithUrl(this.params.prepareCodeUrl)},t.prototype.createTransport=function(e){var t=this;this.transport=new(n(587).IFrameTransport)(e,this.win,this.container,this.params.cspNonce),this.transport.setCallbacks({error:function(e){return t.triggerCallback("onError",e)},load:function(){return t.handleTransportLoad()},loadAdFoxBundle:function(e){var r=n(347).deepCopy(e);t.handleTransportSuccess(r)}})},t.prototype.destroyTransport=function(){this.transport&&(this.transport.destroy(),this.transport=null)},t.prototype.handleTransportLoad=function(){this.onTransportLoad&&this.onTransportLoad(),this.triggerCallback("onLoad")},t.prototype.handleTransportSuccess=function(e){this.cancelObserver(),this.triggerCallback("onLoad"),this.triggerCallback("onLoadAnotherBundle",e)},t.prototype.initObserver=function(){var e=this,t=function(){e.triggerCallback("onRender")};this.cancelObserve="undefined"!=typeof MutationObserver?this.createObserver(t):this.createObserverForOldBrowsers(t)},t.prototype.cancelObserver=function(){this.cancelObserve&&(this.cancelObserve(),this.cancelObserve=null)},t.prototype.createObserver=function(e){function t(){n.disconnect()}var n=new MutationObserver((function(){t(),e()}));return n.observe(this.adContainer,{childList:!0}),t},t.prototype.createObserverForOldBrowsers=function(e){var t=this;return this.onTransportLoad=e,function(){return t.onTransportLoad=null}},t.prototype.createAdContainer=function(e){this.adContainer=this.doc.createElement("div"),this.adContainer.id="AdFox_banner_"+e,this.container&&this.container.appendChild(this.adContainer)},t.prototype.destroyAdContainer=function(){n(50).removeNodeFromParent(this.adContainer)},t}(i(n(398))["default"]);t["default"]=a},function(e,t,n){"use strict";t.__esModule=!0,t.IFrameTransport=r;function r(e,t,n,r){this._cspNonce=r,this._win=t,this._doc=t.document,this._pr1=e,this._container=n,this._callbacks={},this._isDestroyed=!1}r.prototype={constructor:r,sendRequestWithUrl:function(e){this._prepareCodeUrl=e,this._init()},emulateRequestWithData:function(e){this._prepareCodeData=e,this._init()},destroy:function(){this._movingChecker&&(this._movingChecker(),this._movingChecker=null),this._isDestroyed=!0,this._beforeDestroy(),this._removeSandbox()},setCallbacks:function(e){this._callbacks=e},_triggerCallback:function(e,t){if(!this._isDestroyed){if("error"===e&&(this._isCatchError=!0,this._isLoad||(this._closeSandboxDocument(),t.type="adfoxBackend")),"load"===e&&(this._isLoad=!0,this._isCatchError))return;this._callbacks[e]&&this._callbacks[e](t)}},_getSandbox:function(){return this._sandbox||(this._sandbox=this._doc.createElement("iframe"),this._sandbox.id="AdFox_iframe_"+this._pr1,this._sandbox.name="adfox_transport_"+this._pr1,this._sandbox.style.display="none",this._container.appendChild(this._sandbox)),this._sandbox},_init:function(){var e=this;this._isDestroyed=!1;var t=this._getSandbox();this._movingChecker=(0,n(562).initMovementChecking)(this._sandbox,(function(){e._win.console&&e._win.console.error&&e._win.console.error(e._sandbox,"Adfox transport frame was moved")})),(0,n(574).onSandboxReady)(t,(function(){return e._insertContent(t)}))},_insertContent:function(e){var t=this._getPrepareCode(),n=this._getReadyCode(),r=e.contentDocument;this._isSandboxOpen=!0,r.open(),this._addSandboxEventListener(),r.write('<meta http-equiv="X-UA-Compatible" content="IE=edge" />'),r.write(t),r.write(n)},_addSandboxEventListener:function(){var e=this,t=this._sandbox.contentWindow;this._errorListener=function(t){e._triggerCallback("error",{type:"userScriptError",message:t.message||"Script error in frame"})},(0,n(177).addEvent)(t,"error",this._errorListener),t.onPrepareCodeError=function(){e._triggerCallback("error",{type:"adfoxBackend",message:"Can't load AdFox prepare code"})},t.onPrepareCodeLoad=function(){(0,n(177).removeEvent)(t,"error",e._errorListener),e._triggerCallback("load")},t.loadAdFoxBundle=function(t){e._triggerCallback("loadAdFoxBundle",t)}},_getNonce:function(){return this._cspNonce?' nonce="'+this._cspNonce+'"':""},_getReadyCode:function(){return"<script"+this._getNonce()+">if(window.onPrepareCodeLoad){window.onPrepareCodeLoad()}<\/script>"},_getPrepareCode:function(){var e=this._prepareCodeData?"":' src="'+this._prepareCodeUrl+'"',t=this._prepareCodeData||"";return"<script\n "+this._getNonce()+'\n onerror="window.onPrepareCodeError()"\n charset="utf-8"'+e+">"+t+"\n <\/script>"},_beforeDestroy:function(){if(this._sandbox){var e=this._sandbox.contentWindow;e&&"function"==typeof e.adfoxRemoveBanner&&e.adfoxRemoveBanner()}},_removeSandbox:function(){this._sandbox&&(this._closeSandboxDocument(),(0,n(50).removeNodeFromParent)(this._sandbox),this._sandbox=null)},_closeSandboxDocument:function(){this._isSandboxOpen&&(this._sandbox.contentDocument&&this._sandbox.contentDocument.close(),this._isSandboxOpen=!1)}}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.destroy=function(){this.isDestroyed||this.abortXhr(),e.prototype.destroy.call(this)},t.prototype.sendRequestWithUrl=function(e,t){var r=this,o={method:t.method,timeout:3e4,withCredentials:!0,data:t.data,headers:t.headers,onerror:function(e){var t=e.message;return r.triggerError(t)},onload:function(e){return r.processResponse(e)},ontimeout:function(){return r.triggerError("Timeout")}};this.abortXhr=n(235).request(e,o)},t.prototype.processResponse=function(e){this.isDestroyed||this.parseResponseData(e)},t.prototype.parseResponseData=function(e){try{var t=n.lv["json"].parse(e);this.triggerCallback("success",t)}catch(e){this.triggerError("Can't parse backend response")}},t.prototype.triggerError=function(e){void 0===e&&(e="Can't load AdFox prepare code"),this.triggerCallback("error",{type:"adfoxBackend",message:e})},t}(i(n(398))["default"]);t["default"]=a},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,r){this._id=(0,n(124).generatePr)(),this._isDestroyed=!1,this._win=e,this._doc=e.document,this._callbacks=r;var o=(0,n(347).deepCopy)(t);delete o.cspNonce,this._params=o,this._isTurbo=(0,n(234).isAdfoxPageTurbo)(this._win),this._isXhr=t.isXhr,this._cspNonce=t.cspNonce}t.__esModule=!0,t["default"]=void 0,i.prototype={constructor:i,renderTo:function(e){this._container=e,this._render(),this._afterRender()},destroy:function(){this._isDestroyed||(this._isDestroyed=!0,(0,n(117).nukeSafeframe)(this._win,this._id))},_render:function(){var e=this._doc.createElement("div");this._container.appendChild(e),(0,n(117).initSafeframe)(this._win,e,this._getOptions())},_getSize:function(){return{width:this._isTurbo?this._params.attributes.width:"100%",height:this._isTurbo?this._params.attributes.height:1}},_getOptions:function(){var e,t="sfc-"+this._id,i=n.lv["json"].stringify(this._params);e=(0,n(590).isAdblock)()?"":'crossorigin="anonymous" ';var a='<div id="c"></div><script>function p(m){parent.postMessage("'+t+'-"+m,"*")}var ns="adfoxAsyncParams",w=window,d=document,e=d.getElementById("c");'+(0,n(19).getScriptStringForSettingGlobalVars)({isXhr:this._isXhr})+'w[ns]=[];w[ns].push({containerId:"c",data:{data:['+i+"]},isTurbo: "+this._isTurbo+',onError:function(){p("error")},onStub:function(){p("stub")},onDestroy:function(){p("destroy")},onRender:function(){'+(this._isTurbo?"":"$sf.ext.expand({b:e.clientHeight-1,push:true});")+'p("render")}});<\/script><script src="https://webcf.waybackmachine.org/web/20211025204422/https://yastatic.net/pcode/adfox/loader.js" '+e+" async><\/script>";return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this._getSize(),{nonce:this._cspNonce,html:a,supports:{"exp-push":!0}})},_afterRender:function(){var e=this;(0,n(177).addEvent)(this._win,"message",(function(t){return e._onMessage(t)}))},_onMessage:function(e){e.data==="sfc-"+this._id+"-error"&&this._triggerCallback("onError"),e.data==="sfc-"+this._id+"-destroy"&&this._triggerCallback("onDestroy"),e.data==="sfc-"+this._id+"-render"&&this._triggerCallback("onRender"),e.data==="sfc-"+this._id+"-stub"&&this._triggerCallback("onStub")},_triggerCallback:function(e){if(this._callbacks[e]){var t=Array.prototype.slice.call(arguments,1);return this._callbacks[e].apply(this._win,t)}}};var a=i;t["default"]=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAdblock=void 0,t.isAdblock=function(){var e=n(48).config&&n(48).config.encode&&n(48).config.encode.key;return Boolean(n(205).videoEncode)||-1===["","__ADB_KEY__"].indexOf(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareCustomHeaders=void 0,t.prepareCustomHeaders=function(e){if(!n(9).isObject(e))return{};var t={};return n(21).forOwn(e,(function(e,r){n(2).isString(r)&&"X"===r.charAt(0).toUpperCase()&&(t[r]=String(e))})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPcodeAdNumber=void 0,t.getPcodeAdNumber=function(){var e=window,t=0;return e.Ya&&e.Ya.Context&&e.Ya.Context.AdvManager&&e.Ya.Context.AdvManager.getCapturedCount&&(t=e.Ya.Context.AdvManager.getCapturedCount()),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSkipToken=void 0,t.getSkipToken=function(){var e=window,t="";return n(136).isAMP&&e.context.master.Ya&&e.context.master.Ya.getSkipToken?t=e.context.master.Ya.getSkipToken():e.Ya&&e.Ya.Context&&e.Ya.Context.AdvManager&&e.Ya.Context.AdvManager.getSkipToken&&(t=e.Ya.Context.AdvManager.getSkipToken()),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteUid=void 0,t.getSiteUid=function(e){var t;void 0===e&&(e=window);var r=null===(t=e.yandex)||void 0===t?void 0:t.getSiteUid;if(n(1).isFunction(r))return String(r())}},function(e,t,n){"use strict";function r(e){return new Promise((function(t,r){n(596)((function(n){var r=n.bannerLoader;t(r(e))}),r)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.initDeps=t.loadBanner=void 0,t.loadBanner=r,t.initDeps=function(){r("banner.direct"),n(117).loadSafeframe(window)}},function(e,t,n){e.exports=n(597)},function(e,t,n){e.exports=function(e,t){n.e(1).then(function(){e(n(869))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";var r,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.manageLastBanner=void 0,t.manageLastBanner=function(e){var t,r=function(e){return"number"==typeof e&&isFinite(e)&&!(e%1)},a=function(e){n(354).report(t.readyToShowEvent),e(t.content),t=void 0};return function(e){function s(){return null!==e&&e.apply(this,arguments)||this}return o(s,e),s.prototype._loadBundle=function(o){for(var s=this,u=[],c=1;c<arguments.length;c++)u[c-1]=arguments[c];if(o.attributes&&o.attributes.lastBanner)if(t)a((function(t){return e.prototype._loadBundle.apply(s,i([t],u))})),n(22).errorToStats(new Error("severaLastBannersInWaterfall"));else{var d=o.attributes.lastBanner,l=d.content,f=d.readyToShowEvent,p=d.sheduleCount;r(p)?(t={content:l,readyToShowEvent:f,sheduleCount:p}).sheduleCount--:n(22).errorToStats(new Error("invalidSheduleCount")),e.prototype._loadBundle.apply(this,i([o],u))}else t&&"number"==typeof t.sheduleCount&&t.sheduleCount--,e.prototype._loadBundle.apply(this,i([o],u))},s.prototype._resetBanner=function(n){var r=this;t&&t.sheduleCount<=0?e.prototype._resetBanner.call(this,n,(function(){return a((function(t){return e.prototype._loadBundle.call(r,t)}))})):e.prototype._resetBanner.call(this,n)},s}(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptiveController=void 0;var r=window;t.adaptiveController=new(n(600).AdaptiveController)(r)},function(e,t,n){"use strict";t.__esModule=!0,t.AdaptiveController=a;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n["default"]=e,t&&t.set(e,n);return n}(n(177));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e){this._win=e,this._banners=[],this._stateDesktop="desktop",this._stateTablet="tablet",this._statePhone="phone",this._initResizeEvents()}a.prototype={constructor:a,addBanner:function(e,t,n){var r=this,o={adaptiveOptions:i(this._getDefaultBannerAdaptiveOptions(),n||{}),adInstance:e,isVisible:!1,state:null,states:t};this._banners.push(o),this._checkBannerState(o);return function(){return r.removeBanner(o.adInstance.getContainerId())}},removeBanner:function(e){for(var t=0;t<this._banners.length;t++)if(this._banners[t].adInstance.getContainerId()===e){this._banners.splice(t,1);break}},_getDefaultBannerAdaptiveOptions:function(){return{tabletWidth:830,phoneWidth:480,isAutoReloads:!1}},_checkState:function(){for(var e=0;e<this._banners.length;e++)this._checkBannerState(this._banners[e])},_checkBannerState:function(e){var t=this._win.document.documentElement.clientWidth,n=e.adaptiveOptions,r=null;(r=t>n.tabletWidth?this._stateDesktop:t<=n.tabletWidth&&t>n.phoneWidth?this._stateTablet:this._statePhone)!==e.state&&(e.state=r,this._toggleBannerState(e))},_initResizeEvents:function(){var e=this;r.addEvent(this._win,"resize",(function(){return e._checkState()}))},_toggleBannerState:function(e){for(var t=!1,n=0;n<e.states.length;n++)if(e.states[n]===e.state){t=!0;break}t?e.isVisible||this._showBanner(e):e.isVisible&&this._hideBanner(e)},_showBanner:function(e){e.isVisible=!0,e.adInstance.initialize(),e.adaptiveOptions.isAutoReloads||e.adInstance.show()},_hideBanner:function(e){e.isVisible=!1,e.adaptiveOptions.isAutoReloads?e.adInstance.destroyWithoutCallbackInvocation():e.adInstance.hide()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExtidTagLoader=t.getExtidLoader=t.getLocation=t.getPageRequestParams=void 0;function r(e){return void 0===e&&(e=window),String(e.location)}function o(e){return void 0===e&&(e=window),n(29).encode(n(108).getCookie(e.document,"_ym_uid")||"")}function i(e){return void 0===e&&(e=window),e.location.hostname}function a(e){if(void 0===e&&(e=window),e.Ya){var t=e.Ya.adfoxCode&&e.Ya.adfoxCode.pr,n=e.Ya.headerBidding&&e.Ya.headerBidding.pr;return t||n}}t.getPageRequestParams=function(e){return void 0===e&&(e=window),{adSessionId:n(38).getSessionId(),location:r(e),extid_loader:o(e),extid_tag_loader:i(e),pr:a(e)}},t.getLocation=r,t.getExtidLoader=o,t.getExtidTagLoader=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.initAsyncAdfox=t.ASYNC_PARAMS=void 0,function(e){e["COMMON"]="adfoxAsyncParams",e["SCROLL"]="adfoxAsyncParamsScroll",e["ADAPTIVE"]="adfoxAsyncParamsAdaptive"}(r=t.ASYNC_PARAMS||(t.ASYNC_PARAMS={}));function o(e){setTimeout((function(){throw e}))}t.initAsyncAdfox=function(e,t){var i=t.create,a=t.createScroll,s=t.createAdaptive;n(104).sendQueueReadySignal("adfox");var u=n(70).reduce([{key:r.COMMON,cb:i},{key:r.SCROLL,cb:function(t){return a.apply(e,t)}},{key:r.ADAPTIVE,cb:function(t){return s.apply(e,t)}}],(function(t,r){var o=r.key,i=r.cb;return t.concat(function(e,t,r){var o=e[t],i=[];return n(10).isArray(o)&&(o.length&&n(104).sendQueueStartSignal("adfox"),n(0).forEach(o,(function(o){n(41).setCurrentQueue(t);try{r.call(e,o)}catch(e){i.push(e)}n(41).setCurrentQueue(null)}))),e[t]={push:function(e){n(41).setCurrentQueue(t);try{r(e)}finally{n(41).setCurrentQueue(null)}}},i}(e,o,i))}),[]);n(0).forEach(u,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preloadSupported=t.addLinkElement=void 0;var r=n(55).getHead(window);t.addLinkElement=function(e,t,n){void 0===n&&(n={});var o=document.createElement("link");for(var i in o.setAttribute("rel",e),o.setAttribute("href",t),n)o.setAttribute(i,n[i]);r.appendChild(o)},t.preloadSupported="as"in document.createElement("link")}]); } /* FILE ARCHIVED ON 20:44:22 Oct 25, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 01:37:42 Nov 19, 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: 0.542 exclusion.robots: 0.024 exclusion.robots.policy: 0.015 esindex: 0.01 cdx.remote: 8.875 LoadShardBlock: 909.353 (6) PetaboxLoader3.datanode: 745.336 (11) PetaboxLoader3.resolve: 189.012 (3) load_resource: 172.457 */