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:45069 b:default c:loaders/adfox/header-bidding */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.lv=r.lv||{},r.lv["json"]=JSON,r.preloadChunk=function(e,n){if(!t[e]){var o=document.createElement("link");o.charset="utf-8",r.nc&&o.setAttribute("nonce",r.nc),o.rel="preload",o.as="script",o.href=jsonpScriptSrc(e),0!==o.href.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous"),n&&o.setAttribute("importance",n),document.head.appendChild(o)}},r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(undefined,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="https://webcf.waybackmachine.org/web/20211018005227/https://yastatic.net/partner-code-bundles/45069/",r(r.s=844)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forEach=void 0;t.forEach=function(e,t,r){for(var n=0;n<e.length;n++)t.call(r,e[n],n,e)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e||"Function"===r(64).getInternalClass(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isString=void 0,t.isString=function(e){return"string"==typeof e}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;t.map=function(e,t,r){for(var n=new Array(e.length),o=0;o<e.length;o++)n[o]=t.call(r,e[o],o,e);return n}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtectedNames=t.rethrowAsync=t.protect=t.callSafe=void 0;function n(){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,n,o,i){return function(){try{return n.apply(o||this,arguments)}catch(n){if(r(2).isFunction(i)&&i(n),!0===n.preventProtect)throw n;t.protect.log(n,e)}}},t.rethrowAsync=function(e,r){setTimeout((function(){t.protect.log(e,r)}))},t.protect.log=function(e,t){console.log("LOG:"+t+":"+e)},t.protect.setTimeout=function(e,r,n,o){return window.setTimeout(t.protect("timeout",e,n,o),r)};var o=function(){function e(){}return e.YaContextCallbacks=n("Ya.C","ontext._callbacks"),e.YaContextCallbacksCalls=n("Ya.C","ontext._callbacks_call"),e.AdvManager=n("A","dvManager"),e.AdvBlock=n("A","dvBlock"),e.RTB=n("R","TB"),e.Rtb=n("R","tb"),e.MetrikaAdtune=n("metrika_a","dtune"),e}();t.ProtectedNames=o},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0;var n=r(42).getNativeMethod(Array,"isArray");t.isArray=Boolean(n)?function(e){return n.call(Array,e)}:function(e){return"Array"===r(64).getInternalClass(e)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PARSE_LINK_ELEMENT=void 0,t.PARSE_LINK_ELEMENT=document.createElement("a")},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;t.filter=function(e,t,r){for(var n=[],o=0;o<e.length;o++){var i=e[o];t.call(r,i,o,e)&&n.push(i)}return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.once=void 0,t.once=function(e){var t=function(){var r;return t=function(){return r},r=e.apply(this,arguments)};return function(){return t.apply(this,arguments)}}},function(e,t,r){"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,r){"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,r){"use strict";var n,o,i,a=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BidError=t.AdfoxBid=t.BannerBid=t.isBannerTypeValid=t.NativeBid=t.SucceededBid=t.AbstractBid=t.BannerSource=t.BannerType=void 0,function(e){e["HTML"]="html",e["JS"]="js",e["VAST"]="vast"}(o=t.BannerType||(t.BannerType={})),function(e){e["CODE"]="code",e["URL"]="url"}(i=t.BannerSource||(t.BannerSource={}));var s=function(){function e(e,t,r){this.adapterName=e,this.containerId=t,this.campaignId=r}return e.prototype.setRequestDuration=function(e){e&&(this.requestDuration=(new Date).getTime()-e.getTime())},e}();t.AbstractBid=s;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.setCost=function(e){this.cost=new(r(312).Cost)(e)},t}(s);t.SucceededBid=d;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(d);t.NativeBid=c;t.isBannerTypeValid=function(e){var t=e&&String(e).toLowerCase();return Object.keys(o).map((function(e){return o[e]})).indexOf(t)>=0};var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.setBanner=function(e,t){var n=t.type,o=t.sourceType;this.banner=this.banner||{},this.banner={src:o===i.URL?r(356).replaceProtocolToHTTPS(e):e,type:n,sourceType:o}},t.prototype.setSize=function(e,t){this.size={width:e,height:t}},t}(d);t.BannerBid=u;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(d);t.AdfoxBid=p;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(s);t.BidError=l},function(e,t,r){"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 r=e.isXhr;return[";(function (w) {","var ns = ("+t.addAdfoxNamespace.toString()+")(w);",'ns["isXhr"] = '+r+";",'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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forOwn=void 0,t.forOwn=function(e,t,n){for(var o in e)r(116).hasOwnProperty(e,o)&&t.call(n,e[o],o,e)}},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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=r(96).memoize((function(e){var t=i(e);return n({},t)}));var o=/^(android-app:|chrome-extension:)/;function i(e){r(12).PARSE_LINK_ELEMENT.href=e;var t=r(12).PARSE_LINK_ELEMENT.pathname||"";"/"!==t.charAt(0)&&(t="/"+t);var a=(r(12).PARSE_LINK_ELEMENT.search||"")+(r(12).PARSE_LINK_ELEMENT.hash||""),s=e.lastIndexOf(a),d=-1===s?e:e.slice(0,s);if(o.test(e)){var c=i(e.replace(o,"https:"));return r(12).PARSE_LINK_ELEMENT.href=e,n(n({},c),{originalPath:d,protocol:e.slice(0,e.indexOf(":")+1),href:r(12).PARSE_LINK_ELEMENT.href})}var u=r(12).PARSE_LINK_ELEMENT.protocol&&/^[a-z\-]+:/i.test(r(12).PARSE_LINK_ELEMENT.protocol)?r(12).PARSE_LINK_ELEMENT.protocol:"";return{originalPath:d,href:r(12).PARSE_LINK_ELEMENT.href,protocol:u,host:r(12).PARSE_LINK_ELEMENT.host,hostname:r(12).PARSE_LINK_ELEMENT.hostname,port:r(12).PARSE_LINK_ELEMENT.port,pathname:t,search:r(12).PARSE_LINK_ELEMENT.search,hash:r(12).PARSE_LINK_ELEMENT.hash}}function a(e,t){if(void 0===t&&(t=!1),t){var r=e.originalPath,n="/"===e.pathname&&"/"!==r[r.length-1];return e.originalPath+(n?"/":"")+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 d(e){for(var t={},r=e.replace(/^[?#]+/,"").replace(/#.*$/,"").split("&"),n=0;n<r.length;n++){var o=r[n].indexOf("="),i=void 0,a=void 0;if(-1===o?(i=s(r[n]),a=""):(i=s(r[n].slice(0,o)),a=r[n].slice(o+1)),i){var d=Boolean(/(\[\])$/.exec(i));i=i.replace(/\[\]$/,""),d?void 0===t[i]?t[i]=[s(a)]:t[i]=[].concat(t[i],s(a)):t[i]=s(a)}}return t}t.parseQueryString=d,t.getParamsFromUrl=function(e){return d(i(e).search)};var c=function(e,t){return t.map((function(t){return e+"[]="+encodeURIComponent(t)})).join("&")};function u(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];r(10).isArray(o)?t.push(c(n,o)):void 0!==o&&t.push(n+"="+encodeURIComponent(o))}return"?"+t.join("&")}t.formatQueryString=u,t.addParamToUrl=function(e,t,r){if(void 0===r)return e;var o=i(e),s=d(o.search);return s[t]=r,a(n(n({},o),{search:u(s)}))},t.addParamsToUrl=function(e,t,o){var s=void 0===o?{}:o,c=s.override,p=void 0===c||c,l=s.saveOriginalPath,f=void 0!==l&&l,v=i(e),h=d(v.search);r(20).forOwn(t,(function(e,t){(void 0===h[t]||p)&&(h[t]=e)}));var g=u(h);return a(n(n({},v),{search:g}),f)},t.getPostProtocolIndex=function(e){var t=e.indexOf("//");return-1!==t?t+2:0}},function(e,t,r){"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 n=r(310).createLogger({service:"adfox",probability:.01});t.logEvent=n.logEvent,t.logError=n.logError,t.logValue=n.logValue,t.logValues=n.logValues,t.errorToStats=n.errorToStats},,function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomError=void 0;var i=function(e){function t(n,o){void 0===o&&(o={});var i=this,a="object"==typeof n?n:{message:String(n||r(34).DEFAULT_ERROR.message)};i=e.call(this)||this,r(254)(i,t.prototype),i.message=o.message||a.message||r(34).DEFAULT_ERROR.message,i.code=o.code||a.code||a.id||r(34).DEFAULT_ERROR.code,i.isFatal=Boolean(r(263).getFirstDefined([o.isFatal,a.isFatal,r(34).DEFAULT_ERROR.isFatal])),i.details=o.details||a.details||r(34).DEFAULT_ERROR.details;var s=o.stack||a.stack||function(e){var t=e.url,r=e.line,n=e.col,o=e.fileName,i=e.columnNumber,a=e.lineNumber;return(t||o||"?")+":"+(r||a||"?")+":"+(n||i||"?")}(a),d=s===r(34).DEFAULT_ERROR.stack?i.stack:s;if(d&&d!==r(34).DEFAULT_ERROR.stack)i.stack=d;else if(!i.stack)try{throw new Error(i.message)}catch(e){i.stack=d=e.stack||r(34).DEFAULT_ERROR.stack}return i.toString=function(){return r(161).jsonStringifyCircular(i.toJSON())},i.toJSON=function(){return{message:i.message,code:i.code,isFatal:i.isFatal,details:i.details,stack:d}},i}return o(t,e),t}(Error);t.CustomError=i},,,function(e,t,r){"use strict";var n=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},o=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.recreateBidManager=t.bidManager=t.BidManager=void 0;var i=o(r(847)),a=function(e){try{return r(346).deepCopy(e)}catch(t){return r(22).logError({message:"deep-copy-error"}),i["default"](e)}},s=[],d=[],c=[],u={},p={},l=function(){function e(){this.adfoxCallbacks=[],this.isReady=!0}return e.prototype.getBid=function(e,t){return r(84).find(s,(function(r){return r.containerId===e&&r.campaignId===t}))},e.prototype.getAllBids=function(e){var t=[];return r(0).forEach(s,(function(n){n.containerId===e&&t.push(r(237).buildBidForAdfox(n))})),t},e.prototype.getBidsForAdfoxByContainerId=function(e,t){p[e]?p[e].waitBids().then((function(e){var n=r(6).map(e,(function(e){return r(237).buildBidForAdfox(e)}));t(n)})):t(this.getAllBids(e))},e.prototype.getBidsReceived=function(){return a(s)},e.prototype.getLastBidsReceived=function(){return r(848).prepareLastBidsReceived(d)},e.prototype.getRawLastBids=function(){return a(d)},e.prototype.getCurrentBidsReceived=function(){return a(c)},e.prototype.getBiddersRequested=function(){return a(r(249).biddersStorage.getBiddersRequested())},e.prototype.addUserCallback=function(e){this.userCallback=e},e.prototype.addAdfoxCallback=function(e){this.isReady?e():this.pushAdfoxCallback(e)},e.prototype.pushAdfoxCallback=function(e){this.adfoxCallbacks.push(e)},e.prototype.addBidResponse=function(e){var t=this;Promise.resolve().then((function(){t.addReceivedBid(e),r(106).consoleLog("Added new "+(e instanceof r(18).BidError?"error":"bid")+" from "+e.adapterName,e)}))},e.prototype.addReceivedBid=function(e){c.push(e);var t=e.containerId,r=p[t];r&&r.resolveBid(e)},e.prototype.resolveBids=function(e){var t=this;d=e,r(0).forEach(e,(function(e){t.removeOldBid(c,e),t.removeOldBid(s,e)})),s.push.apply(s,e),0===c.length&&(r(249).biddersStorage.onBidsRecieved(),this.executeCallback())},e.prototype.removeOldBid=function(e,t){var n=r(33).indexOf(e,t,0,(function(e,t){return t.adapterName===e.adapterName&&t.containerId===e.containerId}));n>-1&&e.splice(n,1)},e.prototype.mergeBids=function(){this.resolveBids(n([],c))},e.prototype.onCallingBidsStarted=function(){this.startOfCallingBids=new Date},e.prototype.onCallingBidsEnded=function(){},e.prototype.createNewBid=function(e){var t=e.type,n=e.adapterName,o=e.containerId,i=e.placementId;return r(465).BidFactory.getBid({type:t,adapterName:n,containerId:o,campaignId:this.getCampaignIdByName(n),requestStartTime:this.startOfCallingBids,placementId:i})},e.prototype.createNewBannerBid=function(e,t){return this.createNewBid({type:r(465).BidType.banner,adapterName:e,containerId:t})},e.prototype.createNewAdfoxBid=function(e,t){return this.createNewBid({type:r(465).BidType.adfox,adapterName:e,containerId:t})},e.prototype.createNewNativeBid=function(e,t){return this.createNewBid({type:r(465).BidType["native"],adapterName:e,containerId:t})},e.prototype.createNewBidError=function(e,t){return this.createNewBid({type:r(465).BidType.error,adapterName:e,containerId:t})},e.prototype.executeCallback=function(){for(;this.adfoxCallbacks.length>0;)this.adfoxCallbacks.shift()();r(2).isFunction(this.userCallback)&&this.userCallback(this.getLastBidsReceived()),r(493).stopAuction()},e.prototype.setBiddersMap=function(e){for(var t in e)e.hasOwnProperty(t)&&(u[r(464).isAdfoxBidder(t)?t:t.toLowerCase()]=Number(e[t]));return u},e.prototype.getCampaignIdByName=function(e){return u[e]},e.prototype.addAdUnitBox=function(e,t){p[e]=t},e.prototype.getAdUnitBox=function(e){return p[e]||null},e}();t.BidManager=l,t.bidManager=new l;t.recreateBidManager=function(){return s=[],c=[],u={},p={},t.bidManager=new l,t.bidManager}},function(e,t,r){"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 n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";function o(e){for(var t="",r=0;r<e.length;){var o=e.charCodeAt(r++),i=e.charCodeAt(r++),a=e.charCodeAt(r++),s=o>>2,d=(3&o)<<4|i>>4,c=(15&i)<<2|a>>6,u=63&a;isNaN(i)?c=u=64:isNaN(a)&&(u=64),t=t+n.charAt(s)+n.charAt(d)+n.charAt(c)+n.charAt(u)}return t}function i(e,t){e=e.replace(/\r\n/g,"\n");for(var r="",n=0;n<e.length;n++){var o=e.charCodeAt(n),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)),r.length+i.length>t)break;r+=i}return r}function a(e){var t=[],r=0;for(e=e.replace(/[^A-Za-z0-9\-_=]/g,"");r<e.length;){var o=n.indexOf(e.charAt(r++)),i=n.indexOf(e.charAt(r++)),a=n.indexOf(e.charAt(r++)),s=n.indexOf(e.charAt(r++)),d=o<<2|i>>4,c=(15&i)<<4|a>>2,u=(3&a)<<6|s;t.push(String.fromCharCode(d)),64!==a&&t.push(String.fromCharCode(c)),64!==s&&t.push(String.fromCharCode(u))}return t.join("")}function s(e){for(var t=[],r=0;r<e.length;){var n=e.charCodeAt(r);if(n<128)t.push(String.fromCharCode(n)),r++;else if(n>191&&n<224){var o=e.charCodeAt(r+1);t.push(String.fromCharCode((31&n)<<6|63&o)),r+=2}else{o=e.charCodeAt(r+1);var i=e.charCodeAt(r+2);t.push(String.fromCharCode((15&n)<<12|(63&o)<<6|63&i)),r+=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,r){"use strict";function n(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,d=r(8).protect("handler:"+t,o,i),c=r(231).fixEvent(d),u={un:function(){r(52).removeEventListenerFunction(e,t,c)}};return a&&a.once&&!r(102).isSupportsOnceOption&&(s=c,c=function(e){s.call(this,e),n(u)}),r(102).isSupportsPassiveOption?r(52).addEventListenerFunction(e,t,c,a):r(52).addEventListenerFunction(e,t,c,a&&a.capture),u},t.un=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADAPTER_NAMES=void 0,function(e){e["CRITEO"]="criteo",e["SAPE"]="sape",e["ADMIXER"]="admixer",e["GNEZDO"]="gnezdo",e["ASTRALAB"]="astralab",e["SOLOWAY"]="adriver",e["HPMD"]="hpmd",e["BUZZOOLA"]="buzzoola",e["MAIL"]="mytarget",e["FACEBOOK"]="facebook",e["BETWEEN_DIGITAL"]="betweendigital",e["AIO"]="aio",e["GET_INTENT"]="getintent",e["TINKOFF"]="tinkoff",e["VIDEONOW"]="videonow",e["RELAP"]="relap",e["RTBHOUSE"]="rtbhouse",e["PLADFORM"]="pladform",e["ADFOX"]="adfox",e["FOTOSTRANA"]="fotostrana",e["ALFASENSE"]="alfasense",e["MGID"]="mgid",e["HYBRID"]="hybrid",e["DGT_SSP"]="dgt_ssp",e["ADSPEND"]="adspend",e["QVANT_DSP"]="qvant_dsp",e["MEDIATODAY"]="mediatoday",e["REDLLAMA"]="redllama",e["ADTELLIGENT"]="adtelligent",e["OTM"]="otm",e["SEGMENTO"]="segmento",e["CLIO"]="clio",e["BIDVOL"]="bidvol",e["MTS"]="mts",e["MIT"]="mit",e["TEST"]="test"}(t.ADAPTER_NAMES||(t.ADAPTER_NAMES={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indexOf=void 0;t.indexOf=function(e,t,r,o){void 0===r&&(r=0),void 0===o&&(o=n);for(var i=r;i<e.length;i++)if(o(e[i],t))return i;return-1};var n=function(e,t){return e===t}},function(e,t,r){"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,r){"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 n in e)r(116).hasOwnProperty(e,n)&&t.push(n);return t}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeMethod=void 0,t.getNativeMethod=function(e,t){var n=e[t];if(!r(17).checkNativeCode(n)){var o=n;try{delete e[t];var i=e[t];"function"==typeof i&&(n=i),e[t]=o}catch(e){}}return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adapterManager=t.AdapterManager=void 0;var n=function(){function e(e){this.bidManager=e,this.bidderRegistry={},this.syncPixels={},this.usedSyncPixels={},this.occupateQueue=[],r(249).biddersStorage.reset()}return e.prototype.getBidderRegistry=function(){return this.bidderRegistry},e.prototype.registerBidAdapter=function(e,t){this.bidderRegistry[t]=e},e.prototype.onBidsRecieved=function(){r(249).biddersStorage.onBidsRecieved()},e.prototype.waitForBidsReceived=function(){if(0===r(249).biddersStorage.biddersRequested.length)return Promise.resolve(!0);var e,t=new Promise((function(t){return e=t}));return r(249).biddersStorage.onBidsReceivedCallbacks.push((function(){return e(!0)})),t},e.prototype.free=function(e){if(this.occupator===e){this.occupator=void 0;var t=this.occupateQueue.pop();t&&t()}},e.prototype.occupy=function(e){var t=this;if(this.occupator){var r,n=new Promise((function(e){return r=e}));return this.occupateQueue.push((function(){t.occupator=e,r(!0)})),n}return this.occupator=e,Promise.resolve(!0)},e.prototype.callBids=function(e,t,n){var o=this;if(this.occupator!==n)return r(106).consoleLog("AdapterManager is occupated"),!1;this.bidManager.onCallingBidsStarted();var i,a=r(237).getBidderNames(e);return r(0).forEach(a,(function(n,s){var d=r(464).isAdfoxBidder(n),c=d?r(32).ADAPTER_NAMES.ADFOX:n,u=o.bidderRegistry[c];if(void 0!==u){var p=r(237).getBids(n,e);if(p&&0!==p.length){var l={bidderName:n,bids:p,timeout:t};r(106).consoleLog("Calling bidder = "+n),o.addRequestedBidder(l);var f=!1;d&&(void 0===i&&(i=r(852).findLastIndex(a,r(464).isAdfoxBidder)),f=i!==s),u.callBids(l,f),o.sendBidderPixels(n)}else r(106).consoleWarn("No bids were provided = "+n)}else r(106).consoleWarn("There is no adapter with name = "+n)})),0===this.getBiddersRequested().length&&this.bidManager.onCallingBidsEnded(),!0},e.prototype.getBiddersRequested=function(){return r(249).biddersStorage.getBiddersRequested()},e.prototype.addRequestedBidder=function(e){r(249).biddersStorage.biddersRequested.push(e)},e.prototype.setSyncPixels=function(e){var t=this;r(10).isArray(e)&&r(0).forEach(e,(function(e){var r=e.bidder,n=e.pixels;t.syncPixels[r]=n}))},e.prototype.sendBidderPixels=function(e){var t=this,n=this.syncPixels[e];r(10).isArray(n)&&r(0).forEach(n,(function(e){t.usedSyncPixels[e]||(r(353).report(e),t.usedSyncPixels[e]=!0)}))},e}();t.AdapterManager=n,t.adapterManager=new n(r(27).bidManager);var o=r(853);r(0).forEach(o.keys(),o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.some=void 0;t.some=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r],r,e))return!0;return!1}},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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,d=t.data,c=t.responseType,u=void 0===c?"text":c,p=t.onBeforeSend,l=void 0===p?r(4).noop:p,f=t.onRetry,v=void 0===f?r(4).noop:f,h=t.checkStatus,g=void 0===h?function(e){return 200===e}:h,y=t.headers,m=void 0===y?{}:y,b=t.xhrConstructor,E=void 0===b?XMLHttpRequest:b,_=t.retries,O=void 0===_?0:_,T=t.timeout,A=void 0===T?0:T,S=t.withCredentials,M=t.onAbort,B=t.onSetup;if(E){var w,R=t.onSuccess?r(15).once(t.onSuccess):r(4).noop,P=t.onError?r(15).once(t.onError):r(4).noop,C=!1,N=0,j=function(e){C=!0,j=r(4).noop,w=e,x(new Error("Abort request")),"function"==typeof M&&M(e)},x=function(o){if(I.onerror=null,I.onreadystatechange=null,N&&clearTimeout(N),N&&4!==I.readyState||C)try{I.abort()}catch(o){}if(!C)if(O>0){var i=v(o,I);if("boolean"!=typeof i||Boolean(i)||j(),C)return;e(n(n({},t),{onSetup:function(e){var t=e.abort;j=function(e){return t(e)},C&&t(w)},retries:O-1}))}else j=r(4).noop,P(o,I)},I=new E;try{I.open(o,i,s)}catch(e){return void x(e)}if(I.responseType=u,I.withCredentials=Boolean(S),r(20).forOwn(m,(function(e,t){try{I.setRequestHeader(t,e)}catch(e){}})),A>0&&isFinite(A)&&(N=window.setTimeout((function(){x(new Error("Request timeout, "+i))}),A)),I.onerror=x,I.onreadystatechange=function(){if(4===I.readyState){var e=I.status;g(e)?(j=r(4).noop,clearTimeout(N),R(I)):x(new Error("Invalid request status "+e+", "+i))}},!("function"==typeof B&&(B({abort:function(e){return j(e)}}),C)||(l(I,t),C)))try{I.send(d)}catch(e){x(e)}}}},function(e,t,r){"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 n=r(310).createLogger({service:"headerBidding",probability:.1});t.logEvent=n.logEvent,t.logError=n.logError,t.errorToStats=n.errorToStats},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;var n=r(63).M,o={pid:"",encode:{key:""},replaceClasses:[],detect:{links:[],custom:[],iframes:[]},cookieMatching:{publisherTag:"",publisherKey:"",types:[],type:r(319).AdblockCookieMatchingType.doNotMatch,redirectUrl:["//webcf.waybackmachine.org/web/20211018005227/https://an.yand","ex.ru/map","uid/"].join(""),imageUrl:"/static/img/logo.gif/",cryptedUidUrl:"https://webcf.waybackmachine.org/web/20211018005227/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 n?o:n},,function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectEntries=void 0,t.getObjectEntries=function(e){return"function"==typeof Object.entries?Object.entries(e):r(37).getObjectKeys(e).map((function(t){return[t,e[t]]}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeEventListenerFunction=t.addEventListenerFunction=void 0;t.addEventListenerFunction=function(e,t,r){e.attachEvent("on"+t,r)};t.removeEventListenerFunction=function(e,t,r){e.detachEvent("on"+t,r)},r(42).getNativeMethod(document,"addEventListener")&&r(42).getNativeMethod(document,"removeEventListener")&&(t.addEventListenerFunction=function(e,t,n,o){var i=e&&r(42).getNativeMethod(e,"addEventListener");i&&i.call(e,t,n,o)},t.removeEventListenerFunction=function(e,t,n,o){var i=e&&r(42).getNativeMethod(e,"removeEventListener");i&&i.call(e,t,n,o)})},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHead=void 0,t.getHead=function(e){var t=e.document,r=t.getElementsByTagName("head")[0];return r||(r=t.createElement("head"),t.documentElement.appendChild(r)),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.random=void 0,t.random=r(215).IS_BROKEN_MATH_RANDOM?r(216).pseudoRandom:function(){return Math.random()}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOP_FRIENDLY_WINDOW=void 0;var n=r(88).parentFriendlyIFrames.length;t.TOP_FRIENDLY_WINDOW=n>0?r(88).parentFriendlyIFrames[n-1].ownerDocument.defaultView:window},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AdapterForNew=void 0;var o=function(){function e(e){var t=e.url,r=e.name,n=e.bannerType,o=e.bidManager;this.containers=[],this.containerIds=[],this.publisherTagUrl="https://"+t,this.name=r,this.bannerType=n,this.bidManager=o}return e.prototype.callBids=function(t){var n=this,o=e.prepareRequestData(t,(function(e,t){n.assignAdditionalParams(e,t)}));this.containers=r(14).filter(this.containers,(function(e){return r(94).every(o.places,(function(t){return t.id!==e.id}))})).concat(o.places),this.saveContainerIds(o),this.sendPost(o,t)},e.prototype.assignAdditionalParams=function(e,t){},e.prototype.sendPost=function(e,t){var n=this,o=t.timeout,i=t.bids;this.logEvent(r(46).HeaderBiddingEvents.sent),new(r(494).XhrForAdapter)({publisherTagUrl:this.publisherTagUrl,data:e,timeout:o,callbacks:{onResponse:function(e){return n.onResponse(e,i)},onError:function(e,t){n.logError(r(46).HeaderBiddingErrors.http+"_"+t),n.onError(e,i,t)},onTimeout:function(){return n.onTimeout(i)}}}).sendXhr()},e.prototype.onResponse=function(e,t){try{var n=r.lv["json"].parse(e);this.processResponse(n,t)}catch(e){this.logError(r(46).HeaderBiddingErrors.parse),this.onError(e.message,t,r(74).ERRORS.INVALID_RESPONSE.code)}},e.prototype.onError=function(e,t,n){r(106).consoleWarn("Error "+e+" from "+this.name),this.createErrorBids(t,n)},e.prototype.onTimeout=function(e){this.logError(r(46).HeaderBiddingErrors.timeout),r(106).consoleWarn("Timeout from "+this.name),this.createErrorBids(e,r(74).ERRORS.TIMEOUT.code)},e.prototype.processResponse=function(t,n){e.isSuccessResponse(t)&&t.bids.length>0?this.processSuccessResponse(t,n):e.isErrorResponse(t)?this.createErrorBids(n,r(74).ERRORS.INVALID_DATA.code):this.createErrorBids(n,r(74).ERRORS.NO_RESPONSE.code)},e.isSuccessResponse=function(e){return r(10).isArray(e.bids)},e.isErrorResponse=function(e){return Boolean(e.error)},e.prototype.createResponseBids=function(e){var t=this;r(0).forEach(e,(function(e){var n=t.bidManager.createNewBannerBid(t.name,e.id);if(void 0!==e.size){var o=e.size,i=o.width,a=o.height;n.setSize(i,a)}var s=r(18).isBannerTypeValid(e.codeType)?e.codeType:t.bannerType;e.displayUrl?n.setBanner(e.displayUrl,{sourceType:r(18).BannerSource.URL,type:s}):e.displayCode&&n.setBanner(e.displayCode,{sourceType:r(18).BannerSource.CODE,type:s}),n.setCost({price:e.cpm,unit:r(312).Units["1-TH"]}),n.placementId=e.placementId,t.bidManager.addBidResponse(n)}))},e.prototype.createErrorBids=function(e,t){var n=this;r(0).forEach(e,(function(e){var o=n.bidManager.createNewBidError(n.name,e.code);o.placementId=r(237).getPlacementId(e.params),o.errorCode=t,n.bidManager.addBidResponse(o)}))},e.prototype.processSuccessResponse=function(t,o){if(e.validateSuccessResponse(t)){var i=r(6).map(t.bids,(function(e){var t=r(84).find(o,(function(t){return t.code===e.id})),i=n({},e);return t&&(i.placementId=t.params.placementId,"combo"===t.params.codeType&&"inpage"===e.codeType&&(i.codeType=r(18).BannerType.VAST),("inpage"===t.params.codeType||r(44).some(r(492).SupportedAdBreakTypes,(function(e){return e===t.params.codeType})))&&(i.codeType=r(18).BannerType.VAST)),i}));if(this.areAllIdsCorrect(i))if(this.areAllSizesCorrect(i))if(this.areAllTypesMatch(i,o))if(i.length!==o.length){var a=e.divideOnErrorsAndBids(i,o),s=a.errorBids,d=a.successBids;this.createResponseBids(d),this.createErrorBids(s,r(74).ERRORS.NO_RESPONSE.code)}else this.createResponseBids(i);else this.createErrorBids(o,r(74).ERRORS.INVALID_CODE_TYPE.code);else this.createErrorBids(o,r(74).ERRORS.INVALID_DATA.code);else this.createErrorBids(o,r(74).ERRORS.ID_UNCORRECT.code)}else this.createErrorBids(o,r(74).ERRORS.INVALID_DATA.code)},e.prototype.logError=function(e){r(46).logError({message:e,labels:{bidder:this.name}})},e.prototype.logEvent=function(e){r(46).logEvent({name:e,labels:{bidder:this.name}})},e.prototype.saveContainerIds=function(e){var t=this;r(0).forEach(e.places,(function(e){var r=e.id;return t.containerIds.push(r)}))},e.prototype.areAllIdsCorrect=function(e){var t=this,n=r(94).every(e,(function(e){var r=e.id;return t.containerIds.indexOf(r)>=0}));return this.containerIds=r(246).difference(this.containerIds,r(6).map(e,(function(e){return e.id}))),n},e.prototype.areAllSizesCorrect=function(t){return r(94).every(t,(function(t){return t.codeType===r(18).BannerType.VAST||e.isSizeWellDefined(t.size)}))},e.prototype.areAllTypesMatch=function(e,t){return r(94).every(e,(function(e){var n=r(84).find(t,(function(t){return t.code===e.id}));return!(n&&"combo"===n.params.codeType&&!e.codeType)}))},e.divideOnErrorsAndBids=function(e,t){var n=[],o=[],i=r(6).map(e,(function(e){return e.id}));return r(0).forEach(t,(function(t){var r=i.indexOf(t.code);r>=0?o.push(e[r]):n.push(t)})),{errorBids:n,successBids:o}},e.prepareRequestData=function(e,t){return{places:r(6).map(e.bids,(function(e){var r={id:e.code,placementId:""+(e.params.placementId||"")};return e.sizes&&(r.sizes=e.sizes),e.params.codeType&&(r.codeType=e.params.codeType),t&&t(r,e.params),r})),settings:{currency:"RUB",windowSize:r(71).getWindowSize()}}},e.validateSuccessResponse=function(e){var t=e.bids;return r(10).isArray(t)&&r(94).every(t,(function(e){return Boolean(e.id)&&(t=e.cpm,!isNaN(parseFloat(t))&&isFinite(t))&&Boolean(e.currency)&&(Boolean(e.displayUrl)||Boolean(e.displayCode));var t}))},e.isSizeWellDefined=function(e){return void 0!==e&&void 0!==e.width&&void 0!==e.height},e}();t.AdapterForNew=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateHexString=void 0,t.generateHexString=function(e){for(var t="",n=0;n<e;n++)t+=(16*r(55).random()|0).toString(16);return t}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.M=void 0,t.M="__ADB_CONFIG__"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInternalClass=void 0;var n={}.toString,o=/\[object (\w+)\]/;t.getInternalClass=function(e){var t=n.call(e);if(!t)return null;var r=t.match(o);if(!r)return null;var i=r[1];return i||null}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includes=void 0,t.includes=function(e,t){return-1!==r(33).indexOf(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_TOP_ANCESTOR_TRUSTED=t.TOP_ANCESTOR=void 0;var n=r(224).getTopAncestor(),o=n.topAncestor,i=n.isTrusted;t.TOP_ANCESTOR=o,t.IS_TOP_ANCESTOR_TRUSTED=i},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;t.reduce=function(e,t,r){var n=0;for(arguments.length<3&&(n=1,r=e[0]);n<e.length;n++)r=t(r,e[n],n,e);return r}},function(e,t,r){"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,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unique=void 0,t.unique=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=n;return r(37).getObjectKeys(t)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERRORS=void 0,t.ERRORS={NO_RESPONSE:{code:1,message:"No response from bidder"},INVALID_RESPONSE:{code:2,message:"Parse error"},TIMEOUT:{code:3,message:"Timeout"},HTTP_ERROR:{code:4,message:"Http error"},INVALID_DATA:{code:5,message:"Invalid data from user in inserted params"},WRONG_SETTINS:{code:6,message:"Wrong settings"},ID_UNCORRECT:{code:7,message:"Bidder sent uncorrect id"},NO_RESPONSE_WITHOUT_STATUS:{code:8,message:"Bidder sent valid error response without status"},INVALID_CODE_TYPE:{code:9,message:"Bidder send wrong bid codeType"}}},,,function(e,t,r){"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,r){"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/20211018005227/https://an.yandex.ru/jstracer",t.PCODE_LOGS_URL_ALIAS="https://webcf.waybackmachine.org/web/20211018005227/https://jstracer.yandex.ru/jstracer",t.STRM_LOGS_URL="https://webcf.waybackmachine.org/web/20211018005227/https://strm.yandex.ru/log"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;t.get=function(e,t){for(var n=0,o=t.split(".");n<o.length;n++){var i=o[n];if(!r(9).isObject(e)){e=void 0;break}e=e[i]}return e}},,function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=void 0;var n=[].find;t.find=r(17).checkNativeCode(n)?function(e,t){return n.call(e,t)}:function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n,r,e))return n}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listToArray=void 0,t.listToArray=function(e){if(!e)return[];for(var t=[],r=0;r<e.length;r++)t.push(e[r]);return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInternetExplorerVersion=void 0;t.getInternetExplorerVersion=function(e){void 0===e&&(e=window);var t=r(158)(e);return"boolean"==typeof t?-1:t}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parentFriendlyIFrames=void 0,t.parentFriendlyIFrames=r(132).getParentFriendlyIFrames(document.documentElement)},,,function(e,t,r){"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 n,o="classList"in document.documentElement,i=r(148).memoizeSingle((function(e){return e.classList&&e.classList.add}),r(17).checkNativeCode),a=r(148).memoizeSingle((function(e){return e.classList&&e.classList.remove}),r(17).checkNativeCode),s=r(148).memoizeSingle((function(e){return e.classList&&e.classList.toggle}),r(17).checkNativeCode),d=(n=document.createElement("p"),!!o&&(n.classList.add("c1","c2"),!!n.classList.contains("c2")&&(n.classList.toggle("c3",!1),!n.classList.contains("c3")))),c=function(){var e=document.createElement("p");return!!o&&(e.classList.toggle("a",!1),!e.classList.contains("a"))}(),u=function(e){return e.split(" ").filter((function(e){return Boolean(e)}))};function p(e){return r(3).isString(e.className)?e.className:e.namespaceURI===r(146).NS.svg&&e.getAttribute("class")||""}function l(e,t){r(3).isString(e.className)?e.className=t:e.namespaceURI===r(146).NS.svg&&e.setAttributeNS("","class",t)}t.clearClasses=function(e){r(3).isString(e.className)?e.className="":e.namespaceURI===r(146).NS.svg&&e.setAttributeNS("","class","")};function f(e,t){for(var r=u(t),n=0;n<r.length;n++)if(!e.classList.contains(r[n]))return!1;return!0}function v(e,t){for(var r=" "+p(e)+" ",n=t.split(" "),o=0;o<n.length;o++)if(n[o]&&-1===r.indexOf(" "+n[o]+" "))return!1;return!0}function h(e,t){void 0===t&&(t=""),0!==e.className.length?i(e)?g(e,t):function(e,t){var n=p(e).split(" ").concat(t.split(" "));n=r(72).unique(r(14).filter(n,(function(e){return""!==e}))),l(e,n.join(" "))}(e,t):e.className=t}t.hasClass=function(e,t){return void 0===t&&(t=""),e.classList?f(e,t):v(e,t)},t._hasClass=f,t._fallbackHasClass=v,t.addClass=h;var g=d?function(e,t){var r,n=u(t);(r=e.classList).add.apply(r,n)}:function(e,t){for(var r=u(t),n=0;n<r.length;n++)e.classList.add(r[n])};t.removeClass=function(e,t){return void 0===t&&(t=""),a(e)?y(e,t):function(e,t){for(var n=p(e).split(" "),o=t.split(" "),i=[],a=0;a<n.length;a++)n[a]&&-1===r(33).indexOf(o,n[a])&&i.push(n[a]);l(e,i.join(" "))}(e,t)};var y=d?function(e,t){var r,n=u(t);(r=e.classList).remove.apply(r,n)}:function(e,t){for(var r=u(t),n=0;n<r.length;n++)e.classList.remove(r[n])};var m=function(e,r,n){void 0===r&&(r=""),void 0===n&&(n=!t.hasClass(e,r)),n?h(e,r):t.removeClass(e,r)};t.toggleClass=c?function(e,t,r){if(void 0===t&&(t=""),s(e))for(var n=u(t),o=0;o<n.length;o++)void 0===r?e.classList.toggle(n[o]):e.classList.toggle(n[o],r);else m(e,t,r)}:m},function(e,t,r){"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&&!r(152).isUCBrowser(e)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;t.every=function(e,t){for(var r=0;r<e.length;r++)if(!t(e[r],r,e))return!1;return!0}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize=t.ObjectCache=void 0;var n=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=n;t.memoize=function(e,t,r){return void 0===t&&(t=function(e){return e}),void 0===r&&(r=new n({})),function(){var n=t.apply(this,arguments);if(r.has(n))return r.get(n);var o=e.apply(this,arguments);return r.set(n,o),o}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInSecureIFrame=void 0,t.isInSecureIFrame=r(228).isInSecureIFrame()},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTouchDevice=void 0,t.isTouchDevice=function(e){return void 0===e&&(e=window),r(210).hasTouchPoints(e)||r(212).isMatchingAnyPointerCoarse(e)||r(213).isMatchingTouchEnabled(e)||r(214).hasDocumentTouch(e)||r(201).hasTouchEvents(e)}},,function(e,t,r){"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(r(170).getHasObjectDefineProperty()){var n=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}}),r(52).addEventListenerFunction(n,"click",r(4).noop,o)}}catch(e){}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bundleVersion=t.loaderVersion=void 0,t.loaderVersion=45069,t.bundleVersion=45069},,function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomInt=void 0,t.getRandomInt=function(e,t){var n=e+r(55).random()*(t+1-e);return n=Math.floor(n)}},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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,n,o){void 0===o&&(o={}),r(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(n));return e.cookie=s+i}catch(e){return}};t.getCookie=function(e,t){var r=[];try{r=e.cookie?e.cookie.split("; "):[]}catch(e){}for(var n,o=/(%[0-9A-Z]{2})+/g,i=0;i<r.length;i++){var a=r[i].split("="),s=a.slice(1).join("=");try{var d=a[0].replace(o,decodeURIComponent);if(s.replace(o,decodeURIComponent),t===d){n=decodeURIComponent(s);break}}catch(e){return}}return n};t.deleteCookie=function(e,r,o){t.setCookie(e,r,"",n(n({},o),{expires:new Date(0)}))}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redirectToComboLoaderExperimentValue=t.comboLoaderExperimentValue=t.isAnYandexLoader=t.initLoaderScriptConfig=void 0;var n={};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,'"');n=r.lv["json"].parse(o)}}catch(e){}"string"==typeof(null==t?void 0:t.src)&&(n.isAnYandexLoader=0===t.src.indexOf("https://webcf.waybackmachine.org/web/20211018005227/https://an.yandex.ru/system/adfox.js")||0===t.src.indexOf("https://webcf.waybackmachine.org/web/20211018005227/https://yandex.ru/ads/system/adfox.js"))},t.isAnYandexLoader=function(){return Boolean(n.isAnYandexLoader)},t.comboLoaderExperimentValue=function(){return void 0!==n.COMBO_EXP?n.COMBO_EXP?3:2:0},t.redirectToComboLoaderExperimentValue=function(){return void 0!==n.REDIRECT_TO_COMBO_EXP?n.REDIRECT_TO_COMBO_EXP?3:2:0}},,,function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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=r(126).isEncoded("https://webcf.waybackmachine.org/web/20211018005227/https://yastatic.net/safeframe/1-1-0/");function a(){var e=["https://webcf.waybackmachine.org/web/20211018005227/https://yastatic",".net/safeframe-bundles/0."+r(137).getSafeframeVersion()+"/",i?"host_adb.js":"host.js"].join("");return i?r(126).encode(e):e}function s(e){e.isLoadingSafeframeStarted||(e.isLoadingSafeframeStarted=!0,r(121).loadCustomScript({win:e,src:a(),hasCors:!i}))}function d(e){var t=e["yaSafeFrameAsyncCallbacks"]||[];return e["yaSafeFrameAsyncCallbacks"]=t,t}function c(e,t){delete e.yaSafeFrameCallbacksStorage[t]}function u(e){return Boolean(e.$sf&&e.$sf.ext)}t.getSafeframeLoaderURL=a,t.loadSafeframe=s,t.initSafeframe=function(e,t,o,i,a,u,p){void 0===i&&(i=r(4).noop),void 0===a&&(a=r(4).noop),void 0===u&&(u=r(4).noop),s(e);var l=d(e),f=o.id instanceof Element?"":o.id,v=function(e,t){return t||e.id||"sf-"+(Math.floor(4294967295*Math.random())+1)}(t,f);l.push((function(){e.yaSafeFrameCallbacksStorage=e.yaSafeFrameCallbacksStorage||{},e.yaSafeFrameCallbacksStorage[v]={onError:i,onRender:a,onAction:u},function(e,t){e.yaSafeFrameCallbacksStorage=e.yaSafeFrameCallbacksStorage||{};var r=e.yaSafeFrameCallbacksStorage;new e.$sf.host.Config(n({auto:!1,onFailure:function(e,t,n){r[e]&&r[e].onError(e,n)},onEndPosRender:function(e,t,n){r[e]&&r[e].onRender(e,n)},onPosMsg:function(t,n,o){r[t]&&r[t].onAction(n,o),"nuke"===n&&c(e,t)}},t))}(e,p?{query:p}:void 0),function(e,t,r,n){t.id=n;var o=r.html,i=r.width,a=r.height,s=r.basePath,d={id:n,html:o,conf:{nonce:r.nonce,w:i,h:a,dest:t,protected:r["protected"],sandbox:r.sandbox,basePath:s}};r.supports&&(d.conf.supports=r.supports),e.$sf.host.render(d)}(e,t,o,v)}))},t.nukeSafeframe=function(e,t){s(e),d(e).push((function(){c(e,t),e.$sf.host.nuke(t)}))},t.isInSafeframe=u,t.updateSafeframeSize=function(e,t){if(u(e)){var r=e.$sf.ext.geom(),n=r.self.w+r.exp.r,o=r.self.h+r.exp.b,i=n>t.width?t.width-r.self.w:r.exp.r,a=o>t.height?t.height-r.self.h:r.exp.b;e.$sf.ext.expand({t:0,l:0,r:i,b:a})}}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RECOVER_PARAMS=void 0;var n="_$".split("").reverse().join(""),o=function(e){return"_$invalid_"+e+n};t.RECOVER_PARAMS={sensorName:o("sensor_name"),labelKey:o("label_key"),labelValue:o("label_value")}},,,,function(e,t,r){"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),r(2).isFunction(e.onLoad)&&(t.onload=function(){t.onload=function(){},r(2).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):r(54).getHead(e.win).appendChild(t),t}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.isEncoded=t.decode=void 0,t.decode=function(e){return r(149).serverEncodeEnabled(r(47).config.fn)?r(47).config.fn.decodeUrl(e):e},t.isEncoded=function(e){return!!r(149).serverEncodeEnabled(r(47).config.fn)&&r(47).config.fn.isEncodedUrl(e)},t.encode=function(e){return r(149).serverEncodeEnabled(r(47).config.fn)?r(47).config.fn.encodeUrl(e):e}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0;var n=function(){var e=this;this.promise=new Promise((function(t,r){e.resolve=t,e.reject=r}))};t.Deferred=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingMediaQuery=void 0,t.isMatchingMediaQuery=function(e,t){if(!r(2).isFunction(e.matchMedia))return!1;var n=e.matchMedia(t);return r(9).isObject(n)&&Boolean(n.matches)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateNow=void 0;var n=Date&&r(2).isFunction(Date.now);t.dateNow=n?function(){return Date.now()}:function(){return(new Date).getTime()}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentFriendlyIFrames=void 0,t.getParentFriendlyIFrames=function(e,t){if(void 0===t&&(t=!0),r(190).isSafariBasedBrowser&&t)return[];for(var n=[],o=e;;)try{if(!(o=o.ownerDocument.defaultView.frameElement))return n;n.push(o)}catch(e){return n}}},,,function(e,t,r){"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 n=(navigator||{}).userAgent||"",o=void 0!==window.ontouchstart;t.isTouch=o;var i=r(158)();var a=Boolean(window.ampSeen);t.isAMP=a;var s=Boolean(window.$sf&&window.$sf.ext);t.isSafeframe=s;var d=i;t.ieVer=d;var c=/Firefox/gi.test(n);t.isFirefox=c;var u=Boolean(i);t.isIe=u;var p,l=(p=document.createElement("canvas"),Boolean(p&&p.getContext&&p.getContext("2d")));t.isCanvasSupported=l;var f=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=f;t.isSVGSupported=!0;var v=/WebKit/gi.test(n);t.isWebkit=v},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSafeframeVersion=t.getSafeframeVersion=void 0;var n=82;t.getSafeframeVersion=function(){return n},t.setSafeframeVersion=function(e){e&&(n=e)}},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};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,d=e.values,c={};return r(20).forOwn(d,(function(e,r){c[""+i+t.SEPARATE_SIGN+a+t.SEPARATE_SIGN+r]=e})),n(((o={})[""+i+t.SEPARATE_SIGN+a]=s,o),c)};var i=function(e){return e.isFatal?r(16).StatsEventType.fatal:r(16).StatsEventType.error},a=/^\w(\-|_|:|\s|\.|\w){1,20}$/,s=/^\w(\-|_|:|\s|\.|\w){0,70}$/,d=/^\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,n=e.data,o=e.labels,i=e.probability,s=e.extraRootFields;a.push({eventType:r(16).StatsEventType.event,eventName:t,data:n,additionalStatsLabels:o,probability:i,extraRootFields:s})},this.error=function(e){var t=e.error,n=e.labels,o=e.probability,s=e.extraRootFields,d=new(r(24).CustomError)(t);a.push({eventName:String(d.code),eventType:i(d),data:d,additionalStatsLabels:n,probability:o,extraRootFields:s})},this.value=function(e){var t=e.name,n=e.value,o=e.data,i=e.labels,s=e.probability,d=e.extraRootFields;a.push({eventName:t,value:n,eventType:r(16).StatsEventType.value,data:o,additionalStatsLabels:i,probability:s,extraRootFields:d})},this.values=function(e){var t=e.name,n=e.values,o=e.data,i=e.labels,s=e.probability,d=e.extraRootFields;a.push({eventName:t,eventType:r(16).StatsEventType.values,data:o,additionalStatsLabels:i,probability:s,values:n,extraRootFields:d})},this.warning=function(e){var t=e.name,n=e.message,o=e.probability,i=e.extraRootFields;r(9).isObject(console)&&r(2).isFunction(console.warn)&&console.warn(n),a.push({eventName:t,eventType:r(16).StatsEventType.warning,data:{message:n},probability:o,extraRootFields:i})},this.getParams=function(){var e=a.params;e.onLogError;return o(e,["onLogError"])},this.setRootFields=function(e){r(51).getObjectEntries(e).forEach((function(e){var t=e[0],r=e[1];void 0===r?delete a.rootFields[t]:a.rootFields[t]=r}))},this.setLabels=function(e){r(51).getObjectEntries(e).forEach((function(e){var t=e[0],r=e[1];void 0===r?delete a.labels[t]:a.labels[t]=r}))},this.eventToStats=function(e,t,n,o){a.push({eventType:r(16).StatsEventType.event,eventName:e,data:t,additionalStatsLabels:n,extraRootFields:o})},this.errorToStats=function(e,t,n){var o=new(r(24).CustomError)(e);a.push({eventName:String(o.code),eventType:i(o),data:o,additionalStatsLabels:t,extraRootFields:n})},this.deprecated=function(e,t){r(9).isObject(console)&&r(2).isFunction(console.warn)&&console.warn(t),a.push({eventName:e,eventType:r(16).StatsEventType.deprecated,data:{message:t}})},this.valueToStats=function(e,t,n,o){a.push({eventName:e,value:t,eventType:r(16).StatsEventType.value,data:n,additionalStatsLabels:o})};var s=t.onLogError;this.params=n(n({},t),{sid:t.sid||r(60).generateHexString(r(162).DEFAULT_SID_LENGTH),onLogError:s?function(e){try{s(e)}catch(e){r(163).rethrowError(e)}}:r(163).rethrowError}),this.logUrl=e.getLogUrl(t),this.isStrmLogUrl=this.logUrl===r(78).STRM_LOGS_URL}return e.getLogUrl=function(e){return e.logUrl?e.logUrl:!0===e.useAlias?r(78).PCODE_LOGS_URL_ALIAS:r(78).PCODE_LOGS_URL},e.prototype.push=function(t){var o,i=t.eventName,a=t.eventType,s=t.data,d=void 0===s?{}:s,c=t.additionalStatsLabels,u=t.value,p=void 0===u?1:u,l=t.probability,f=void 0===l?1:l,v=t.values,h=void 0===v?{}:v,g=t.extraRootFields,y=void 0===g?{}:g;if(r(264).portion(f)){var m=this.params,b=m.service,E=m.version,_={service:b,version:E,data:d,eventName:i,eventType:a,additionalStatsLabels:c,value:p,values:h};if(e.isSendingData)throw new(r(24).CustomError)({message:"RecursiveStatsRequests",details:{service:b,version:E,eventType:a,eventName:i}});e.isSendingData=!0;try{var O=this.logUrl;this.params.sendOnlyPrimaryParams||(O=r(21).addParamsToUrl(this.logUrl,n(((o={})[b]=E,o[a]=i,o),c)));var T=this.createFullStatsObject(_,y),A=y.routeToJSTracer,S=void 0===A||A;this.isStrmLogUrl&&S&&(T.routeToJSTracer=!0),this.sendData(O,r(161).jsonStringifyCircular(T))}catch(t){e.isSendingData=!1,this.params.onLogError(new(r(24).CustomError)(t,{details:{service:b,version:E,eventType:a,eventName:i}}))}e.isSendingData=!1}},e.prototype.sendData=function(e,t){if(this.params.useSendBeacon&&r(265).sendBeaconShim(e,t))return;r(45).request({url:e,data:t,method:"POST",onBeforeSend:this.params.onBeforeSend})},e.prototype.createFullStatsObject=function(e,o){var i=e.service,c=e.version,u=e.eventName,p=e.eventType,l=e.data,f=e.additionalStatsLabels,v=e.value,h=(this.params.createTagsFunction||t.CREATE_TAGS_FOR_STATS_DEFAULT)(e),g=n(n(n({},this.labels),f),{version:this.params.version}),y={service:i,tags:r(165).entriesToObject(r(51).getObjectEntries(h).map((function(e){var t=e[0],n=e[1];return d.test(t)?[t,n]:[r(117).RECOVER_PARAMS.sensorName,n]}))),labels:r(165).entriesToObject(r(51).getObjectEntries(g).map((function(e){var t=e[0],n=e[1];return a.test(t)||(t=r(117).RECOVER_PARAMS.labelKey),s.test(n)||(n=r(117).RECOVER_PARAMS.labelValue),[t,n]})))},m=r(141).getTopLocationData(document),b=m.location,E=m.referrer;return n(n(n(n({},o),this.rootFields),y),{timestamp:Date.now(),eventType:p,eventName:u,data:l,sid:this.params.sid,version:c,location:r(77).getWindowLocation(window),topLocation:b,topAncestor:r(67).TOP_ANCESTOR,isTopAncestorUndetermined:!r(67).IS_TOP_ANCESTOR_TRUSTED||void 0,ancestorOrigins:r(266).ANCESTOR_ORIGINS,documentIsVisible:r(267).getDocumentVisibility(document),referrer:window.document.referrer,topReferrer:E,currentScriptSrc:r(166).CURRENT_SCRIPT_SRC,secureIFrame:r(98).isInSecureIFrame,isVideoADB:r(2).isFunction(r(205).videoEncode),value:v,rnd:r(164).RANDOM,topDocumentFocus:r(269).getTopDocumentFocus()})},e.isSendingData=!1,e}();t.Stats=c,t.stats=new c({service:r(270).COMMON_LOCAL_STATS_SERVICE_NAME,version:"0",sid:r(60).generateHexString(r(162).DEFAULT_SID_LENGTH)})},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAncestorOrigins=void 0,t.getAncestorOrigins=function(e){return r(225).isAncestorOriginsSupported?r(85).listToArray(e.location.ancestorOrigins):[]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopLocationData=void 0,t.getTopLocationData=function(e){var t="",n="";return e&&r(193).getParentLocationsData(e).reverse().forEach((function(e){var r=e.location,o=e.referrer;t=t||r,n=n||o})),{location:t,referrer:n}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDate=void 0;t.isDate=function(e){return e instanceof Date||"Date"===r(64).getInternalClass(e)}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespace=t.AttributeNames=t.NS=void 0;var n=r(20);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={},n.forOwn(t.AttributeNames,(function(e,r){var n=e.split(":"),o=t.NS[n[0]];o&&(t.AttributeNamespace[r]=o)}))},,function(e,t,r){"use strict";var n=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};function o(e){var t=n([],e),r=t.pop();if(!r||0===t.length)throw new Error("memoizeSingle need at least 2 functions as arg");return{preparers:t,resolver:r}}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 r,n=o(e),i=n.resolver,a=n.preparers,s=null,d=null;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(s&&s.every((function(t,r){return e[r]===t})))return r;var n=a.map((function(t){return t.apply(void 0,e)}));if(d&&d.every((function(e,t){return n[t]===e})))return s=e,r;var o=i.apply(void 0,n);return s=e,d=n,r=o,o}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serverEncodeEnabled=void 0,t.serverEncodeEnabled=function(e){return!!Boolean(e)&&(r(2).isFunction(e.encodeCSS)&&r(2).isFunction(e.encodeUrl)&&r(2).isFunction(e.decodeUrl)&&r(2).isFunction(e.isEncodedUrl))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsSafari=void 0;t.getIsSafari=function(e){void 0===e&&(e=window);var t=r(70).getUserAgent(e).toLowerCase();if(t.indexOf("android")>-1)return!1;var n=t.replace(/\(.+?\)/gi,"").split(" ").map((function(e){return e.trim().split("/")[0]})).filter((function(e){return e&&"mobile"!==e}));return 4===n.length&&"mozilla"===n[0]&&"applewebkit"===n[1]&&"version"===n[2]&&"safari"===n[3]}},,function(e,t,r){"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){e.exports=function(e){e||(e=window);var t=e.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeUrl=void 0;var n=r(9).isObject(r(63).M)&&r(63).M.fn&&r(2).isFunction(r(63).M.fn.encodeUrl)?r(63).M.fn.encodeUrl:void 0;t.encodeUrl=void 0!==n?function(e){return n(e)}:void 0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jsonStringifyCircular=void 0,t.jsonStringifyCircular=function(e){var t,n,o,i;return r(181).getNativeJSON().stringify(e,(t=[],o="undefined"!=typeof WeakMap?new WeakMap:void 0,i=[],n={set:function(e,t){if(void 0!==o)try{o.set(e,t)}catch(r){i.push({path:t,value:e})}else i.push({path:t,value:e})},get:function(e){var t=r(84).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(r(2).isFunction(o))return r(3).isString(o.name)?o.name:"[Function]";if(!r(9).isObject(o))return o;var i=n.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}),n.set(o,a),o}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SID_LENGTH=void 0,t.DEFAULT_SID_LENGTH=64},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rethrowError=void 0,t.rethrowError=function(e){setTimeout((function(){throw e}),0)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RANDOM=void 0,t.RANDOM=r(55).random()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.entriesToObject=void 0,t.entriesToObject=function(e){var t={};return e.forEach((function(e){var r=e[0],n=e[1];t[r]=n})),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CURRENT_SCRIPT_SRC=void 0;var n=r(219).getCurrentScript();t.CURRENT_SCRIPT_SRC=n?n.src:""},,,,function(e,t,r){"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 r={};return t.defineProperty(r,"sentinel",{}),"sentinel"in r}catch(e){return!1}}},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleToString=t.setStyle=void 0;var n=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,r,o){void 0!==r&&void 0!==t&&(r+=!n.test(t)&&r>>>0?"px":"",e.style.setProperty?e.style.setProperty(t,r,o?"important":""):e.style.cssText+=";"+t+": "+r+(o?"!important":""))}t.setStyle=function(e,t,n,i){r(9).isObject(t)?(i=Boolean(n),r(20).forOwn(t,(function(t,r){o(e,r,t,i)}))):o(e,t,n,i)},t.styleToString=function(e,t){void 0===t&&(t=!1);var o=t?"!important":"",i="";return r(20).forOwn(e,(function(e,t){if(void 0!==e&&void 0!==t){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e+=!n.test(r)&&e>>>0?"px":"",i+=r+": "+e+o+";"}})),i}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsSafariBasedBrowser=void 0,t.getIsSafariBasedBrowser=function(e){return void 0===e&&(e=window),r(150).getIsSafari(e)||r(92).getIsIOS(e)||r(227).getIsAppleTouchDevice(e)}},function(e,t,r){"use strict";var n;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=r(220).createHiddenFriendlyIFrame(e);return{JSON:t.contentWindow.JSON,clean:function(){return r(221).removeIframe(t)}}},t.getNativeJSON=function(e){return void 0===e&&(e=window),void 0===n&&(n=i(e)?e.JSON:{stringify:o("stringify"),parse:o("parse")}),n};var o=function(e){return function(r){var n=t.extractJSONFromIframe(),o=n.JSON,i=n.clean;try{return o[e](r)}finally{i()}}};function i(e){return void 0===e&&(e=window),e.JSON&&r(17).checkNativeCode(e.JSON.stringify)&&r(17).checkNativeCode(e.JSON.parse)}t.checkNativeJSON=i},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFriendlyWindowsChain=void 0;t.getFriendlyWindowsChain=function(e){for(var t=[];e;)try{if(r(77).getWindowLocation(e),t.push(e),e.parent===e)break;e=e.parent}catch(e){break}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFriendlyIFrame=void 0,t.createFriendlyIFrame=function(e,t){var r=void 0===t?{}:t,n=r.content,o=r.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(),n&&a.write(n),a.close(),a.body.style.margin="0",i.style.borderWidth="0",i}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafariBasedBrowser=void 0,t.isSafariBasedBrowser=r(180).getIsSafariBasedBrowser()},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentLocationsData=void 0,t.getParentLocationsData=function(e){var t=r(132).getParentFriendlyIFrames(e.documentElement).map((function(e){return e.ownerDocument}));return t.unshift(e),t.map((function(e){return{location:r(77).getWindowLocation(e.defaultView),referrer:e.referrer}}))}},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasTouchEvents=void 0,t.hasTouchEvents=function(e){return"ontouchstart"in e}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.videoEncode=void 0,t.videoEncode=r(262).getVideoEncode(window)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forOwn=void 0,Object.defineProperty(t,"forOwn",{enumerable:!0,get:function(){return r(20).forOwn}})},,function(e,t,r){"use strict";t.__esModule=!0,Object.keys(r(28)).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=r(28)[e])}))},,function(e,t,r){"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||{},r=t.msMaxTouchPoints,n=t.maxTouchPoints;return r||n||0}(e)>0&&!r(211).getIsEdge(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsEdge=void 0;t.getIsEdge=function(e){return void 0===e&&(e=window),r(86).getInternetExplorerVersion(e)>11}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingAnyPointerCoarse=void 0;var n=r(6).map(r(95).cssPrefixes,(function(e){return"("+e+"any-pointer:coarse)"})).join(",");t.isMatchingAnyPointerCoarse=function(e){return r(129).isMatchingMediaQuery(e,n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMatchingTouchEnabled=t.TOUCH_ENABLED_QUERY=void 0,t.TOUCH_ENABLED_QUERY=r(6).map(r(95).cssPrefixes,(function(e){return"("+e+"touch-enabled)"})).join(","),t.isMatchingTouchEnabled=function(e){return r(129).isMatchingMediaQuery(e,t.TOUCH_ENABLED_QUERY)}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_BROKEN_MATH_RANDOM=void 0,t.IS_BROKEN_MATH_RANDOM=!r(17).checkNativeCode(Math.random)||Math.random()==Math.random()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoRandom=void 0;var n=Date.now()*r(217).performanceNow()%2147483647;t.pseudoRandom=function(){return((n=16807*n%2147483647)-1)/2147483646}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceNow=t.performanceNowShim=t.isPerformanceNowSupported=void 0;var n="undefined"==typeof window?void 0:window.performance;t.isPerformanceNowSupported=n&&r(2).isFunction(n.now);var o=n&&n.timing&&n.timing.navigationStart?n.timing.navigationStart:r(130).dateNow(),i=0;t.performanceNowShim=function(){var e=r(130).dateNow()-o;return i=Math.max(e,i)},t.performanceNow=t.isPerformanceNowSupported?function(){return n.now()}:function(){return t.performanceNowShim()}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentScript=void 0,t.getCurrentScript=function(e,t){void 0===e&&(e=document);var r=e.currentScript;if(r)return r;for(var n=e.getElementsByTagName("script"),o=[],i=0;i<n.length;i++)o.push(n[i]);if("function"==typeof t){var a=o.filter(t);return a[a.length-1]}return o[o.length-1]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHiddenFriendlyIFrame=void 0,t.createHiddenFriendlyIFrame=function(e){var t=r(186).createFriendlyIFrame(e);return t.width="0",t.height="0",t.style.position="absolute",t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeIframe=void 0,t.removeIframe=function(e){e.src="",r(49).removeNodeFromParent(e)}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopAncestor=void 0,t.getTopAncestor=function(e){void 0===e&&(e=window);var t=r(140).getAncestorOrigins(e);if(t.length>0)return{topAncestor:t[t.length-1],isTrusted:!0};var n=r(141).getTopLocationData(e.document),o=n.location,i=n.referrer,a=r(98).isInSecureIFrame?i:o,s=!r(98).isInSecureIFrame||r(229).getWindowsChain(r(58).TOP_FRIENDLY_WINDOW).length<2,d=r(21).parseUrl(a),c=d.protocol,u=d.hostname,p=d.host,l=d.port;return{topAncestor:r(21).urlFromUrlObject({protocol:c,hostname:u,host:p,port:l,originalPath:"",href:"",pathname:"",search:"",hash:""}),isTrusted:s}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAncestorOriginsSupported=void 0,t.isAncestorOriginsSupported=r(226).getIsAncestorOriginsSupported()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsAncestorOriginsSupported=void 0,t.getIsAncestorOriginsSupported=function(){return Boolean(window.location.ancestorOrigins)}},function(e,t,r){"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)&&r(100).isTouchDevice(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInSecureIFrame=void 0,t.isInSecureIFrame=function(){var e=r(6).map(r(88).parentFriendlyIFrames,(function(e){return e.ownerDocument})),t=e.length,n=(t?e[t-1]:document).defaultView;return!!n&&n.self!==n.parent}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowsChain=void 0,t.getWindowsChain=function(e){for(var t=e,r=[e],n=e.top;t!==n;)t=t.parent,r.push(t);return r}},function(e,t,r){"use strict";var n,o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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"}(n||(n={}));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(),n={};return r(0).forEach(t,(function(t){if(t&&-1===r(33).indexOf(e.cache,t)){e.cache.push(t);var i=e.getPrefix(t.name);n=o(o({},n),e.getNetworkObject(t,i))}})),Object.keys(n).length?n:null},e.prototype.getPerformanceEntries=function(){var e=this,t=[];return r(0).forEach(this.windows,(function(e){try{t=t.concat(e.performance.getEntries())}catch(e){}})),r(14).filter(t,(function(t){return r(9).isObject(t)&&r(44).some(e.prefixes,(function(e){return e.re.test(t.name)}))}))},e.prototype.getPrefix=function(e){var t="";return r(0).forEach(this.prefixes,(function(r){r.re.test(e)&&(t=r.prefix)})),t},e.prototype.getNetworkObject=function(e,t){var r,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(r in o){var s=o[r];void 0!==s&&(a[t+"_"+n[r]]=s)}return a},e}();t.NetworkPerformanceManager=a},function(e,t,r){"use strict";function n(){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 r=function(e){return e.stopPropagation||(e.stopPropagation=o),e.preventDefault||(e.preventDefault=n),e.target||(e.target=e.srcElement),e}(t);e.call(this,r)}}},,,,function(e,t,r){"use strict";var n,o,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});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,n){var o=e.call(this,t,n)||this,i=r(458).getNativeXhr({onWindowCreation:function(e){return r(347).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 r=this.xr;r.onreadystatechange=function(){4===r.readyState&&(200===r.status||304===r.status?t.onLoad(r.response):t.onError(r.statusText,r.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&&r(20).forOwn(t,(function(t,r){return e.xr.setRequestHeader(r,t)}))},t}(a),d=function(e){function t(t,n){var o=e.call(this,r(356).replaceProtocolToHTTPS(t),n)||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 r={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},n=window.XDomainRequest?new d(e,r):new s(e,r);return n.send(),function(){return n.abort()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validationErrors=t.templateErrorMessage=void 0;t.templateErrorMessage=function(e,t){return e.replace(/\{\{([0-9])\}\}/g,(function(e,r){return t[r]}))},t.validationErrors={wrongStructure:{code:0,message:"AdUnit with code {{0}} has wrong structure."},similarBidderNames:{code:1,message:"adUnit with code {{0}} has more than one bids with similar biddernames."},similarBidderIds:{code:2,message:"adUnit with code {{0}} has more than one bids with similar {{1}}={{2}}."},similarElementIds:{code:3,message:"config has adUnits with similar id = {{0}}."},unnecessaryAdBreakTypes:{code:4,message:"adUnit with code {{0}} is marked by codeType {{1}} but has bids with unnecessary adBreakTypes field."},adBreakTypesIsNotArray:{code:5,message:"adUnit with code {{0}} is marked by codeType instream so its bid {{1}} should have field adBreakTypes as array([])."},adBreakTypesIsEmpty:{code:6,message:"adUnit with code {{0}} is marked by codeType instream so adBreakTypes of its bid {{1}} should not be empty."},adBreakTypeIsNotCorrect:{code:7,message:"adUnit with code {{0}} has bid {{1}} with incorrect adBreakType {{2}}. Supported ones are {{3}}."},unsupportedCodeType:{code:8,message:"adUnit with code {{0}} has unsupported codeType {{1}}."}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildBidForAdfox=t.createEmptyFetchedBids=t.separateByDomain=t.getPlacementId=t.getBidderNames=t.getBids=void 0;t.getBids=function(e,t){var n=[];return r(0).forEach(t,(function(t){var o=t.code,i=t.bids,a=t.sizes,s=t.codeType,d=r(14).filter(i,(function(t){return t.bidder===e}));if(d.length){var c=d[0];s?c.params.codeType=s:delete c.params.codeType,n.push({code:o,params:c.params,sizes:a,customDomain:c.customDomain})}})),n};t.getBidderNames=function(e){var t,n=(t=[]).concat.apply(t,r(6).map(e,(function(e){return r(6).map(e.bids,(function(e){return e.bidder}))})));return r(72).unique(n)};t.getPlacementId=function(e){var t=e.zoneId,r=e.siteid,n=e.placementId;return t=void 0===t?t:t.toString(),n||r||t};t.separateByDomain=function(e){var t=[];return r(20).forOwn(e,(function(e){var n={};r(0).forEach(e,(function(e){var t=e.customDomain||"ads.adfox.ru";n[t]?n[t].push(e):n[t]=[e]})),r(20).forOwn(n,(function(e){return t.push(e)}))})),t},t.createEmptyFetchedBids=function(){return{bids:[],creatives:{},creativeUrls:{}}},t.buildBidForAdfox=function(e){return e instanceof r(18).BidError?function(e){var t={campaign_id:e.campaignId,response_time:e.requestDuration,error:{code:e.errorCode}};e.placementId&&(t.placement_id=String(e.placementId));return t}(e):function(e){var t=e.placementId,r=e.campaignId,n=e.cost,o=n.currency,i=n.price,a=n.unit,s={campaign_id:r,response_time:e.requestDuration,bid:i,currency:o,unit:a};"winNotice"in e&&(s.win_notice=e.winNotice);t&&(s.placement_id=String(t));return s}(e)}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeSendBeaconSupported=void 0;t.isNativeSendBeaconSupported=function(e){return r(17).checkNativeCode(e.navigator.sendBeacon)}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.difference=void 0,t.difference=function(e,t){return r(14).filter(e,(function(e){return!r(44).some(t,(function(t){return e===t}))}))}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.biddersStorage=t.BiddersStorage=void 0;var n=function(){function e(){this.biddersRequested=[],this.onBidsReceivedCallbacks=[]}return e.prototype.reset=function(){this.biddersRequested=[],this.onBidsReceivedCallbacks=[]},e.prototype.onBidsRecieved=function(){this.biddersRequested=[],r(0).forEach(this.onBidsReceivedCallbacks,(function(e){return e()}))},e.prototype.getBiddersRequested=function(){return this.biddersRequested},e}();t.BiddersStorage=n,t.biddersStorage=new n},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectCreate=void 0,t.objectCreate=r(316).getNativeMethod(Object,"create")?Object.create:function(e,t){function n(){}if(n.prototype=e,r(9).isObject(t))for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return new n}},function(e,t){e.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r]);return e})},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadImage=void 0,t.loadImage=function(e){var t=new Image;r(2).isFunction(e.onLoad)&&r(31).on(t,"load",e.onLoad,e.ctx),r(2).isFunction(e.onError)&&r(31).on(t,"error",e.onError,e.ctx),t.src=e.src}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoEncode=void 0;t.getVideoEncode=function(e){if(void 0===e&&(e=window),r(160).encodeUrl)return r(160).encodeUrl;for(var t=r(185).getFriendlyWindowsChain(e);t.length;){var n=t.pop();if(n){var o=r(79).get(n,"ya.videoAd.encodeUrl");if(r(2).isFunction(o))return o}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFirstDefined=void 0,t.getFirstDefined=function(e){return r(14).filter(e,(function(e){return void 0!==e}))[0]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.portion=void 0,t.portion=function(e,t,n,o){void 0===o&&(o=!1);var i=(o?r(55).random():r(164).RANDOM)<e,a=i?t:n;return"function"==typeof a&&a(),i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendBeaconShim=void 0;var n=r(241).isNativeSendBeaconSupported(window);t.sendBeaconShim=function(e,t){return!!n&&window.navigator.sendBeacon(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ANCESTOR_ORIGINS=void 0,t.ANCESTOR_ORIGINS=r(140).getAncestorOrigins(window)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentVisibility=void 0,t.getDocumentVisibility=function(e,t){void 0===t&&(t=!0);var n=r(268).getDocumentHiddenProperty(e);return n?!e[n]:t}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTopDocumentFocus=void 0,t.getTopDocumentFocus=function(){if(r(58).TOP_FRIENDLY_WINDOW&&r(58).TOP_FRIENDLY_WINDOW.document&&"function"==typeof r(58).TOP_FRIENDLY_WINDOW.document.hasFocus)try{return r(58).TOP_FRIENDLY_WINDOW.document.hasFocus()}catch(e){}}},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPercent=void 0;function n(e){return Number((e/100).toFixed(2))}t.isPercent=function(e){return Math.random()<n(e)}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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(r(138).Stats)({service:t,version:String(r(104).loaderVersion),createTagsFunction:function(e){return e.eventName===r(144).EVENT_RENDER_PERFOMANCE||e.eventName===r(144).EVENT_NETWORK_PERFOMANCE?e.values:r(138).CREATE_TAGS_FOR_STATS_DEFAULT(e)}}),a={bundleVersion:String(r(104).bundleVersion),isAnYandexLoader:r(112).isAnYandexLoader(),comboLoaderExp:r(112).comboLoaderExperimentValue()};return{logEvent:function(e){if("string"==typeof e)i.event({name:e,probability:o});else{var t=e.name,r=e.labels,s=e.data,d=e.probability,c=void 0===d?o:d;i.event({name:t,labels:r,data:n(n({},s),a),probability:c})}},logError:function(e){if("string"==typeof e)i.error({error:new(r(24).CustomError)({code:e}),probability:o});else{var t=e.message,n=e.labels,a=e.data,s=e.probability,d=void 0===s?o:s;i.error({error:new(r(24).CustomError)({code:t,details:a}),labels:n,probability:d})}},logValue:function(e){var t=e.name,r=e.labels,s=e.value,d=e.data,c=e.probability,u=void 0===c?o:c;i.value({name:t,labels:r,value:s,probability:u,data:n(n({},d),a)})},logValues:function(e){var t=e.name,r=e.values,s=e.labels,d=e.data,c=e.probability,u=void 0===c?o:c;i.values({name:t,labels:s,values:r,data:n(n({},d),a),probability:u})},errorToStats:function(e,t){i.errorToStats(e,t)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_TIMEOUT=void 0,t.DEFAULT_TIMEOUT=300},function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Cost=t.Currency=t.Units=void 0,function(e){e[e["100-TH"]=0]="100-TH",e[e["1-TH"]=1]="1-TH",e[e["1000-TH"]=2]="1000-TH"}(n=t.Units||(t.Units={})),function(e){e["RUB"]="RUB",e["USD"]="USD"}(o=t.Currency||(t.Currency={}));var i=function(){function e(t){var r=t.currency,n=void 0===r?o.RUB:r;this.currency=n;var i=e.increaseUnit(t),a=i.price,s=i.unit;this.unit=s,this.price=a,this.cpm=e.countCpmFromUnit(t).price}return e.increaseUnit=function(t){var r=t.price,o=t.unit;if(!e.isInt(r))switch(o){case n["1-TH"]:return e.increaseUnit({price:100*r,unit:n["100-TH"]});case n["100-TH"]:return e.increaseUnit({price:10*r,unit:n["1000-TH"]})}return{price:Math.floor(r),unit:o}},e.countCpmFromUnit=function(t){var r=t.price,o=t.unit;switch(o){case n["1000-TH"]:return e.countCpmFromUnit({price:r/10,unit:n["100-TH"]});case n["100-TH"]:return e.countCpmFromUnit({price:r/100,unit:n["1-TH"]});default:return{price:r,unit:o}}},e.isInt=function(e){return Number(e.toFixed(3))%1==0},e}();t.Cost=i},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeMethod=void 0,t.getNativeMethod=function(e,t){var n=e[t];if(!r(17).checkNativeCode(n)){var o=n;try{delete e[t],n=e[t],e[t]=o}catch(e){}}return n}},,,function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepCopy=void 0;t.deepCopy=function(e,n){void 0===n&&(n={preserveConstructors:!0});var o=e;return r(10).isArray(e)?e.map((function(e){return t.deepCopy(e,n)})):r(143).isDate(e)?new Date(e.getTime()):(!r(2).isFunction(e)&&r(9).isObject(e)&&(o=n.preserveConstructors?r(253).objectCreate(e):{},r(20).forOwn(e,(function(e,r){o[r]=t.deepCopy(e,n)}))),o)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.networkPerfomaceManager=void 0;t.networkPerfomaceManager=new(r(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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAllCookies=void 0,t.isAllCookies=r(286).isPercent(25)},,,,,function(e,t,r){"use strict";t.__esModule=!0,t.report=function(e,t){!e||"string"!=typeof e||t&&n[e]||(n[e]=!0,(0,r(463).sendPixel)(e))},t.clearCache=function(){0};var n={}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceProtocolToHTTPS=void 0;t.replaceProtocolToHTTPS=function(e){return e.replace(/^http:/,"https:")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPr=void 0,t.getPr=function(){return r(19).ns.pr||r(81).ns.headerBidding&&r(81).ns.headerBidding.pr}},,,,,function(e,t,r){"use strict";t.__esModule=!0,t["default"]=void 0;var n={hasClass:r(91).hasClass,addClass:r(91).addClass,clearClasses:r(91).clearClasses,removeClass:r(91).removeClass,toggleClass:r(91).toggleClass,setStyle:r(176).setStyle,innerHTML:r(386).innerHtml};t["default"]=n},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerHtml=void 0,t.innerHtml=function(e,t){e.innerHTML=t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getNativeXhr=t.isXhrNative=void 0;var o,i=n(r(362)),a=window;t.isXhrNative=function(e){var t=e.prototype,n=r(14).filter(r(37).getObjectKeys(t),(function(e){try{return"function"==typeof t[e]}catch(e){return!1}}));return r(94).every(n,(function(e){return r(17).checkNativeCode(t[e])}))};t.getNativeXhr=function(e){var n=(void 0===e?{}:e).onWindowCreation,s=a.XMLHttpRequest&&t.isXhrNative(a.XMLHttpRequest),d=Boolean(document.body);return s||!d?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),r(2).isFunction(n)&&o.contentWindow&&n(o.contentWindow)),o.contentWindow.XMLHttpRequest)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseRequestParams=void 0;t.getBaseRequestParams=function(e){var t=e.win,n=e.date,o=void 0===n?new Date:n,i=e.pr1,a=void 0===i?r(122).generatePr():i,s=r(135).isAMP?t.context.sourceUrl:t.document.referrer,d=r(135).isAMP?t.context.sourceUrl:t.location;return{dl:String(d),date:r(461).toISOString(o),pd:o.getDate().toString(),pdh:t.screen.height.toString(),pdw:t.screen.width.toString(),pr1:a.toString(),pr:r(357).getPr().toString(),prr:s,pv:o.getHours().toString(),pw:o.getDay().toString(),extid_loader:r(208).encode(r(109).getCookie(t.document,"_ym_uid")||""),extid_tag_loader:t.location.hostname}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toISOString=void 0;var n=function(e,t){var r=e.toString();return"0000".substr(0,t-r.length)+r};t.toISOString=function(e){return e.getFullYear()+"-"+n(e.getMonth()+1,2)+"-"+n(e.getDate(),2)+"T"+n(e.getHours(),2)+":"+n(e.getMinutes(),2)+":"+n(e.getSeconds(),2)+"."+n(e.getMilliseconds(),3)+function(e){var t=-e.getTimezoneOffset();return""+(t>=0?"+":"-")+n(Math.floor(Math.abs(t)/60),2)+":"+n(Math.abs(t)%60,2)}(e)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendPixel=void 0,t.sendPixel=function(e,t,n){r(259).loadImage({src:e,onLoad:t,ctx:n})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAdfoxBidder=void 0;t.isAdfoxBidder=function(e){return 0===e.indexOf("adfox_")}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BidFactory=t.BidType=void 0,function(e){e["error"]="error",e["native"]="native",e["banner"]="banner",e["adfox"]="adfox"}(n=t.BidType||(t.BidType={}));var o=function(){function e(){}return e.getBid=function(e){var t,o=e.type,i=e.adapterName,a=e.containerId,s=e.campaignId,d=e.requestStartTime;switch(o){case n.banner:t=new(r(18).BannerBid)(i,a,s);break;case n["native"]:t=new(r(18).NativeBid)(i,a,s);break;case n.error:t=new(r(18).BidError)(i,a,s);break;case n.adfox:t=new(r(18).AdfoxBid)(i,a,s);break;default:throw Error("BidFactory: no such bid type")}return t.setRequestDuration(d),t},e}();t.BidFactory=o},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomString=void 0,t.getRandomString=function(e){for(var t=[],n=0;n<e;n++)t.push(r(504).getRandomChar());return t.join("")}},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkAdUnitsStructure=t.BidParamsKeys=void 0,t.BidParamsKeys=["zoneid","siteid","placementId"];var n=function(e){return e.hasOwnProperty("params")&&r(9).isObject(e.params)&&(r(464).isAdfoxBidder(e.bidder)||function(e){for(var n=!1,o=0,i=t.BidParamsKeys;o<i.length;o++){var a=i[o];if(e.hasOwnProperty(a)){var s=String(e[a]).trim();if(!/[^\s0.]/.test(s))return!1;e[a]=s,n=!0}}return n||e.hasOwnProperty("nativeCallback")&&r(2).isFunction(e["nativeCallback"])}(e.params))};t.checkAdUnitsStructure=function(e,t){return r(14).filter(e,(function(e){var o=r(9).isObject(e)&&function(e){return e.hasOwnProperty("code")&&"string"==typeof e.code}(e)&&function(e){return e.hasOwnProperty("bids")&&r(10).isArray(e.bids)&&r(94).every(e.bids,(function(e){return function(e){return e.hasOwnProperty("bidder")&&"string"==typeof e.bidder}(e)&&n(e)}))}(e)&&function(e){var t=e.sizes;return!t||e.hasOwnProperty("sizes")&&r(10).isArray(t)&&r(94).every(t,(function(e){return r(10).isArray(e)&&(n=(t=e)[0],o=t[1],"number"==typeof n&&"number"==typeof o);var t,n,o}))}(e);return o||t(e),o}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedAdBreakTypes=void 0,t.SupportedAdBreakTypes=["preroll","midroll","postroll"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAuctionRunning=t.stopAuction=t.startAuction=void 0;var n=!1;t.startAuction=function(){n=!0},t.stopAuction=function(){n=!1},t.isAuctionRunning=function(){return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XhrForAdapter=void 0;var n=function(){function e(e){var t=e.publisherTagUrl,n=e.timeout,o=e.data,i=e.callbacks,a=e.method;this.isRequesting=!1,this.isResponsedWithError=!1,this.callbacks={onResponse:function(){},onError:function(){},onTimeout:function(){}},this.abort=function(){},this.publisherTagUrl=t,this.timeout=n,this.data=o&&r.lv["json"].stringify(o),this.method=a,this.callbacks.onResponse=i.onResponse,this.callbacks.onError=i.onError,this.callbacks.onTimeout=i.onTimeout}return e.prototype.sendXhr=function(){var e=this;this.isRequesting=!0,this.isResponsedWithError=!1,r(45).request({url:this.publisherTagUrl,onSetup:function(t){e.abort=t.abort},onSuccess:function(t){return e.onResponse(t.response)},onError:function(t,n){t instanceof Error?0===t.message.indexOf("Request timeout")?e.onTimeout():e.onError(t.message,r(74).ERRORS.HTTP_ERROR.code):e.onError(n.statusText,r(74).ERRORS.HTTP_ERROR.code)},data:this.data,method:this.method||r(235).Methods.POST,withCredentials:!0,headers:{"Content-Type":"text/plain"},timeout:this.timeout})},e.prototype.onResponse=function(e){this.isRequesting&&(this.isRequesting=!1,this.callbacks.onResponse(e))},e.prototype.onError=function(e,t){this.isResponsedWithError=!0,this.isRequesting&&(this.isRequesting=!1,this.callbacks.onError(e,t))},e.prototype.onTimeout=function(){this.isRequesting&&!this.isResponsedWithError&&(this.isRequesting=!1,this.callbacks.onTimeout())},e}();t.XhrForAdapter=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Adapter=void 0;var n=function(){function e(e,t){this.win=window,this.protocol="https://",this.bidManager=e,this.name=t}return e.prototype.callBids=function(e){},e.prototype.createErrorBids=function(e,t){var n=this;r(0).forEach(e,(function(e){return n.createErrorBid(e,t)}))},e.prototype.createErrorBid=function(e,t){var n=this.bidManager.createNewBidError(e.bidderName||this.name,e.code);n.placementId=r(237).getPlacementId(e.params),n.errorCode=t,this.bidManager.addBidResponse(n)},e.prototype.onError=function(e,t,n){r(106).consoleWarn("Error "+e+" from "+this.name),this.createErrorBids(t,n)},e.prototype.onTimeout=function(e){this.logError(r(46).HeaderBiddingErrors.timeout),r(106).consoleWarn("Timeout from "+this.name),this.createErrorBids(e,r(74).ERRORS.TIMEOUT.code)},e.prototype.logError=function(e){r(46).logError({message:e,labels:{bidder:this.name}})},e.prototype.logEvent=function(e){r(46).logEvent({name:e,labels:{bidder:this.name}})},e}();t.Adapter=n},,,,,,,function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.loadScriptLite=void 0;var o=function(e){return!0};t.loadScriptLite=function(e){var t=e.dropCacheOnRetry,i=void 0!==t&&t,a=e.onBeforeLoad,s=void 0===a?r(4).noop:a,d=e.retries,c=void 0===d?0:d;if(!e.checkLoad||!e.checkLoad()){var u=s,p=0;return i&&c>0&&(u=function(e){if(s(e),p>0){var t=-1===e.src.indexOf("?")?"?":"&",n=r(474).getRandomString(4);e.src+=t+n}p++}),function e(t){var i=t.src,a=t.win,s=void 0===a?window:a,d=t.charset,c=void 0===d?r(505).CHARSET_UTF_8:d,u=t.async,p=void 0===u||u,l=t.retries,f=void 0===l?0:l,v=t.onRetry,h=void 0===v?r(4).noop:v,g=t.retryDelay,y=void 0===g?0:g,m=t.checkLoad,b=void 0===m?o:m,E=t.onBeforeLoad,_=void 0===E?r(4).noop:E,O=t.onLoad,T=void 0===O?r(4).noop:O,A=t.onError,S=void 0===A?r(4).noop:A,M=s.document.createElement("script"),B=function(o){f>0?(h(o),e(n(n({},t),{src:i,retries:f-1}))):S(o),r(49).removeNodeFromParent(M)};M.type="text/javascript",M.async=p,M.onload=function(){return b(M)?T():B(new Error("checkLoad for "+i+" failed"))},M.onerror=function(e){try{s.setTimeout((function(){B(e)}),y)}catch(e){}},M.src=i,M.charset=c,_(M),r(54).getHead(s).appendChild(M)}(n(n({},e),{onBeforeLoad:u}))}e.onLoad&&e.onLoad()}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomChar=void 0,t.getRandomChar=function(e,t){void 0===e&&(e="a"),void 0===t&&(t="z");var n=r(108).getRandomInt(e.charCodeAt(0),t.charCodeAt(0));return String.fromCharCode(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSET_UTF_8=void 0,t.CHARSET_UTF_8="utf-8"},function(e,t,r){"use strict";function n(e){var t=!1,r=!1,n=!1;return!0===e?t=!0:"object"==typeof e&&(t=Boolean(e.capture),r=Boolean(e.passive),n=Boolean(e.once)),{capture:t,passive:r,once:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.addEventListener=t.createFullOptionsObject=void 0,t.createFullOptionsObject=n,t.addEventListener=function(e,t,o,i){var a=n(i),s=r(102).isSupportsCaptureOption?a:a.capture,d=a.once&&!r(102).isSupportsOnceOption?function(e){c(),o.call(this,e)}:o,c=function(){r(52).removeEventListenerFunction(e,t,d,s)};return r(52).addEventListenerFunction(e,t,d,s),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getMatchidManager=t.MatchIdCookieManager=void 0;var o=r(348).isAllCookies?{method:r(235).Methods.POST,headers:{"Content-Type":"application/json"},data:r.lv["json"].stringify({cookie_names:["yandexuid","L","sz","yp","ys","user-bans","yandex_gid","my","i","icon"]})}:{method:r(235).Methods.GET},i=new(r(138).Stats)({service:"adfox",version:String(r(104).bundleVersion),sid:r(60).generateHexString(64)}),a=function(){function e(){this.callbacks=[],this.requestState="not-started",this.cookies={}}return e.prototype.requestMatchIdCookie=function(){var e=this;if("not-started"===this.requestState){var t=Number(new Date);this.requestState="started",r(235).request("https://webcf.waybackmachine.org/web/20211018005227/https://matchid.adfox.yandex.ru/getcookie",n(n({},o),{onerror:function(){e.requestState="ended",e.performCallbacks()},onload:function(n){i.event({name:"matchidCookieRequestDuration",data:{requestDuration:Number(new Date)-t,isAllCookies:r(348).isAllCookies},probability:.01});var o,a=r.lv["json"].parse(n);e.setMatchIdCookie((o=a,r(348).isAllCookies?{"matchid-cookies":(o=o).cookies,"matchid-cookies-sign":o.cookies_sign}:{yandexuid:(o=o).cryptouid,sign:o.cryptouid_sign})),e.requestState="ended",e.performCallbacks()},withCredentials:!0}))}},e.prototype.setMatchIdCookie=function(e){this.cookies=e},e.prototype.getMatchIdCookie=function(){return this.cookies},e.prototype.performCallbacks=function(){for(;this.callbacks.length>0;)this.callbacks.shift()(this.cookies)},e.prototype.waitForMatchIdCookie=function(e,t){var r=this;"ended"===this.requestState?e(this.cookies):(this.requestMatchIdCookie(),this.callbacks.push(e),setTimeout((function(){r.callbacks.indexOf(e)>-1&&(r.callbacks=r.callbacks.filter((function(t){return t!==e})),e(r.cookies))}),t))},e}();t.MatchIdCookieManager=a;t.getMatchidManager=function(){return r(19).ns.matchidManager||(r(19).ns.matchidManager=new a),r(19).ns.matchidManager}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0;t.identity=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e}},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapValues=void 0;t.mapValues=function(e,t){var n={};return r(206).forOwn(e,(function(e,r){n[r]=t(e,r)})),n}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicYaWrapper=void 0;var n=window;r(659).getMatchidManager().requestMatchIdCookie();var o=function(){function e(e){void 0===e&&(e=window),this.pr=r(19).ns.pr||r(122).generatePr(),this.managerForAdfox=new(r(845).HBManager)(e)}return e.prototype.setSettings=function(e){void 0===e&&(e={}),n.YaHeaderBiddingSettings=e},e.prototype.pushAdUnits=function(e){this.managerForAdfox.addAdUnits(e),this.managerForAdfox.callBids(e)},e.prototype.fetchBids=function(e){return this.managerForAdfox.fetchBids(e)},e.prototype.getBidsReceived=function(){return this.managerForAdfox.getBidsReceived()},e.prototype.getLastBidsReceived=function(){return this.managerForAdfox.getLastBidsReceived()},e.prototype.getTrustedOwners=function(){return this.managerForAdfox.getTrustedOwners()},e}();function i(e){r(8).protect("hbCallback",e)()}t.PublicYaWrapper=o,r(81).ns.headerBidding=new o(window),r(10).isArray(r(19).ns.hbCallbacks)&&r(0).forEach(r(19).ns.hbCallbacks,i),r(19).ns.hbCallbacks={push:i}},function(e,t,r){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.HBManager=t.adUnitsStorage=void 0,t.adUnitsStorage=[];var i=function(){function e(e){var n=this;void 0===e&&(e=window),this.timeout=r(311).DEFAULT_TIMEOUT,this.validator=new(r(846).AdUnitsValidator),this.loaderVersion=r(104).loaderVersion,this.requestBids=function(e){if(r(493).isAuctionRunning())r(106).consoleLog("Auction is running");else{if(r(493).startAuction(),e&&n.setSettings(e),!t.adUnitsStorage||t.adUnitsStorage.length<1)return r(106).consoleLog("No adUnits configured. No bids requested."),void r(27).bidManager.executeCallback();r(46).logEvent(r(46).HeaderBiddingEvents.called),n.callBids(r(14).filter(t.adUnitsStorage,(function(e){return"instream"!==e.codeType})))}},r(249).biddersStorage.reset(),r(493).stopAuction(),t.adUnitsStorage=[],e.YaHeaderBiddingSettings&&(this.settings=e.YaHeaderBiddingSettings,this.requestBids(this.settings)),Object.defineProperty(e,"YaHeaderBiddingSettings",{set:function(e){n.settings=e,n.requestBids(n.settings)},get:function(){return n.settings},configurable:!0}),new(r(849).HBPostMessageListener)(e,this)}return e.prototype.render=function(e,t,n,o,i){var a=this.getBid(n,o);r(850).render({win:e,container:t,bid:a,callbacks:i})},e.prototype.addAdfoxCallback=function(e){r(2).isFunction(e)&&r(27).bidManager.addAdfoxCallback(e)},e.prototype.getBid=function(e,t){return r(27).bidManager.getBid(e,Number(t))},e.prototype.getBidsForAdfoxByContainerId=function(e,t){r(27).bidManager.getBidsForAdfoxByContainerId(e,t)},e.prototype.getBidsReceived=function(){return r(27).bidManager.getBidsReceived()},e.prototype.getLastBidsReceived=function(){return r(27).bidManager.getLastBidsReceived()},e.prototype.getBiddersRequested=function(){return r(27).bidManager.getBiddersRequested()},e.prototype.isReady=function(){return r(27).bidManager.isReady},e.prototype.addAdUnits=function(e){if(e){var n=r(10).isArray(e)?e:[e],i=o(o([],t.adUnitsStorage),n),a=this.validator.validate(i);if(this.validator.isLastValidationWithErrors()){var s=r(851).flatten(r(6).map(this.validator.getLog(),(function(e){return e.errors}))),d=r(6).map(s,(function(e){return e.code}));-1!==d.indexOf(r(236).validationErrors.similarElementIds.code)?console.log("HeaderBidding: Process of merging old adUnits and new adUnits is canceled"):(r(46).errorToStats(new Error("ConfigValidation "+d)),t.adUnitsStorage=a);var c=this.validator.getMessage();c&&console.log("HeaderBidding: "+c)}else t.adUnitsStorage=a}},e.prototype.setRequestTimeout=function(e){e&&(this.timeout=e)},e.prototype.getAdunits=function(){return t.adUnitsStorage},e.prototype.getRequestTimeout=function(){return this.timeout},e.prototype.setBiddersMap=function(e){e&&r(27).bidManager.setBiddersMap(e)},e.prototype.setSettings=function(e){var t=void 0===e?{}:e,r=t.adUnits,n=t.timeout,o=t.biddersMap,i=t.callbacks,a=t.syncPixels;this.addAdUnits(r),this.setRequestTimeout(n),this.addCallbacks(i),this.setBiddersMap(o),this.setSyncPixels(a)},e.prototype.requestBidForContainer=function(e){var n=r(14).filter(t.adUnitsStorage,(function(t){return t.code===e}));void 0!==n&&0!==n.length?this.callBids(n):r(106).consoleWarn("No adUnit for such container code")},e.prototype.callBids=function(e){var t=r(10).isArray(e)?e:[e];t.length>0&&(r(43).adapterManager.callBids(t,this.timeout),r(0).forEach(t,(function(e){var t=r(27).bidManager.getAdUnitBox(e.code);t&&t.timeoutToRequest||(t=new(r(889).AdUnitBox)({adUnit:e}),r(27).bidManager.addAdUnitBox(e.code,t),t.waitBids().then((function(e){return r(27).bidManager.resolveBids(e)})))})))},e.prototype.hasOneOfAdUnits=function(e){return!!r(10).isArray(e)&&r(44).some(t.adUnitsStorage,(function(t){return e.indexOf(t.code)>-1}))},e.prototype.fetchBids=function(e){if(!r(10).isArray(e))return Promise.resolve([]);for(var t=[],n=0;n<e.length;n++){if(e[n].containerId&&e[n].adBreakType){var o=this.fetchBidsByContainerId(e[n].containerId,e[n].adBreakType);t.push(o)}}return Promise.all(t)["catch"]((function(t){return r(46).errorToStats(t),Promise.resolve(r(6).map(e,r(237).createEmptyFetchedBids))}))},e.prototype.fetchBidsByContainerId=function(e,t){var n=this;if(!(void 0===t||r(44).some(r(492).SupportedAdBreakTypes,(function(e){return e===t}))||"inpage"===t))return r(106).consoleWarn("Incorrect adBreakType "+t),Promise.resolve(r(237).createEmptyFetchedBids());var o=this.getAdUnitByCodeType(e,t);return void 0===o||0===o.length?(r(106).consoleWarn("No adUnit for such "+e),Promise.resolve(r(237).createEmptyFetchedBids())):(this.callBids(o),new Promise((function(t){n.getBidsForAdfoxByContainerId(e,(function(){var e=r(27).bidManager.getRawLastBids(),o={},i={},a=[];r(0).forEach(e,(function(e){var t=n.getBidCreative(e);t&&(t.type===r(18).BannerSource.CODE?o[e.campaignId]=t.creative:i[e.campaignId]=t.creative),a.push(r(237).buildBidForAdfox(e))})),t({bids:a,creatives:o,creativeUrls:i})}))})))},e.prototype.getBidCreative=function(e){if(e instanceof r(18).BannerBid)return{creative:e.banner.src,type:e.banner.sourceType};if(e instanceof r(18).AdfoxBid){if(e.creative.attributes.vastBase64)return{creative:e.creative.attributes.vastBase64,type:r(18).BannerSource.CODE};if(e.creative.attributes.vastUrl)return{creative:e.creative.attributes.vastUrl,type:r(18).BannerSource.URL}}return null},e.prototype.getBannerAdUnits=function(e,o){var i=r(14).filter(t.adUnitsStorage,(function(t){return t.code===e}));return 0===i.length?[]:r(14).filter(r(6).map(i,(function(e){return"instream"===e.codeType?null:n(n({},e),{codeType:o})})),(function(e){return null!==e}))},e.prototype.getInstreamAdUnits=function(e,o){var i=r(14).filter(t.adUnitsStorage,(function(t){return t.code===e}));if(0===i.length)return[];return r(14).filter(r(6).map(i,(function(e){if("instream"===e.codeType){var t=function(e){return r(14).filter(e,(function(e){return r(10).isArray(e.adBreakTypes)&&r(44).some(e.adBreakTypes,(function(e){return o===e}))}))}(e.bids);if(t.length>0)return n(n({},e),{codeType:o,bids:t})}return null})),(function(e){return null!==e}))},e.prototype.getAdUnitByCodeType=function(e,t){switch(t){case void 0:case"inpage":return this.getBannerAdUnits(e,t);case"preroll":case"midroll":case"postroll":return this.getInstreamAdUnits(e,t);default:return[]}},e.prototype.addCallbacks=function(e){var t=(void 0===e?{}:e).onBidsRecieved;r(2).isFunction(t)&&r(27).bidManager.addUserCallback(t)},e.prototype.getAdunitsValidationLog=function(){return this.validator.getLog()},e.prototype.setSyncPixels=function(e){r(43).adapterManager.setSyncPixels(e)},e.prototype.getTrustedOwners=function(){var e,t=null===(e=this.settings)||void 0===e?void 0:e.trustedOwners;return r(10).isArray(t)?t:[]},e}();t.HBManager=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdUnitsValidator=void 0;var n=function(){function e(){this.log=[]}return e.prototype.validate=function(e){this.createNewSession(),e=r(10).isArray(e)?e:[e];var t=this.checkStructure(e),n=this.correctAdUnitsBidderNames(t),o=this.filterSimilarElementIds(n),i=this.filterSimilarBidderNames(o),a=this.filterSimilarBidderIds(i);return this.filterAdUnitsByCodeTypes(a)},e.prototype.createNewSession=function(){this.log.push({date:new Date,errors:[]})},e.prototype.getLastSession=function(){return this.log[this.log.length-1]},e.prototype.getLog=function(){return this.log},e.prototype.getMessage=function(){return r(6).map(this.getLog(),(function(e){var t=e.errors;return r(6).map(t,(function(e){return e.message+" It was excluded from HB config!"})).join("\n")})).join("\n")},e.prototype.isLastValidationWithErrors=function(){return this.getLastSession().errors.length>0},e.prototype.checkStructure=function(e){var t=this;return r(491).checkAdUnitsStructure(e,(function(e){return t.addError(r(236).validationErrors.wrongStructure,e.code)}))},e.prototype.filterSimilarBidderNames=function(e){var t=this;return r(14).filter(e,(function(e){var n=e.bids,o=e.code,i=r(6).map(n,(function(e){return e.bidder})),a=r(94).every(i,(function(e,t,r){return r.indexOf(e)===t}));return a||t.addError(r(236).validationErrors.similarBidderNames,o),a}))},e.prototype.filterSimilarBidderIds=function(e){var t=this;return r(14).filter(e,(function(e){return t.hasAdunitSimilarBidderIds(e)}))},e.prototype.hasAdunitSimilarBidderIds=function(e){var t=this,n=e.bids,o=e.code,i={};return r(94).every(n,(function(e){for(var n=e.params,a=0;a<r(491).BidParamsKeys.length;a++){var s=n[r(491).BidParamsKeys[a]];if(void 0!==s){if(i[s])return t.addError(r(236).validationErrors.similarBidderIds,o,r(491).BidParamsKeys[a],s),!1;i[s]=!0}}return!0}))},e.prototype.filterSimilarElementIds=function(e){var t=this,n=this.createMapCodeToUnit(e);return r(14).filter(r(6).map(Object.keys(n),(function(e){return 1===n[e].length?n[e][0]:void t.addError(r(236).validationErrors.similarElementIds,e)})),Boolean)},e.prototype.filterAdUnitsByCodeTypes=function(e){var t=this;return r(14).filter(e,(function(e){switch(e.codeType){case void 0:case"inpage":case"combo":return!!t.checkAdBreakTypesUndefined(e)||(t.addError(r(236).validationErrors.unnecessaryAdBreakTypes,e.code,e.codeType||"undefined"),!1);case"instream":return!!t.checkCorrectAdBreakTypes(e);default:return t.addError(r(236).validationErrors.unsupportedCodeType,e.code,e.codeType),!1}}))},e.prototype.checkAdBreakTypesUndefined=function(e){return r(94).every(e.bids,(function(e){return void 0===e.adBreakTypes}))},e.prototype.checkCorrectAdBreakTypes=function(e){var t=this;return r(94).every(e.bids,(function(n){return r(10).isArray(n.adBreakTypes)?0===n.adBreakTypes.length?(t.addError(r(236).validationErrors.adBreakTypesIsEmpty,e.code,n.bidder),!1):r(94).every(n.adBreakTypes,(function(o){return r(492).SupportedAdBreakTypes.indexOf(o)>-1||(t.addError(r(236).validationErrors.adBreakTypeIsNotCorrect,e.code,n.bidder,o,r(492).SupportedAdBreakTypes.toString()),!1)})):(t.addError(r(236).validationErrors.adBreakTypesIsNotArray,e.code,n.bidder),!1)}))},e.prototype.correctAdUnitsBidderNames=function(e){return r(0).forEach(e,(function(e){r(0).forEach(e.bids,(function(e){r(464).isAdfoxBidder(e.bidder)||(e.bidder=e.bidder.toLowerCase())}))})),e},e.prototype.addError=function(e){for(var t=e.code,n=e.message,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];this.getLastSession().errors.push({code:t,message:r(236).templateErrorMessage(n,o)})},e.prototype.createMapCodeToUnit=function(e){return r(69).reduce(e,(function(e,t){return e[t.code]?e[t.code].push(t):e[t.code]=[t],e}),{})},e}();t.AdUnitsValidator=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return r.lv["json"].parse(r.lv["json"].stringify(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareLastBidsReceived=void 0;t.prepareLastBidsReceived=function(e){return r(6).map(e,(function(e){var t={adapterName:e.adapterName,containerId:e.containerId,campaignId:e.campaignId,requestDuration:e.requestDuration};return e instanceof r(18).BannerBid?(t.banner={src:e.banner&&e.banner.src},t.cost={cpm:e.cost&&e.cost.cpm,currency:e.cost&&e.cost.currency}):e instanceof r(18).NativeBid?(t["native"]={nativePayload:e.nativePayload},t.cost={cpm:e.cost&&e.cost.cpm,currency:e.cost&&e.cost.currency}):e instanceof r(18).BidError&&(t.error={code:e.errorCode}),t}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HBPostMessageListener=void 0;var n=function(){function e(e,t){var n=this;this.hbManager=t,r(506).addEventListener(e,"message",(function(e){return n.handleEvent(e)}))}return e.prototype.handleEvent=function(e){var t=e.data||{},n=t.id,o=t.methodName;if(r(3).isString(n))switch(o){case"FetchBids":return void this.fetchBids(e);default:return}},e.prototype.fetchBids=function(e){var t=e.data||{},n=t.id,o=t.data;if(r(10).isArray(o)&&e.source&&this.hbManager.hasOneOfAdUnits(r(6).map(o,(function(e){return e.containerId})))){var i=2*this.hbManager.getRequestTimeout(),a=setTimeout((function(){r(46).logError({message:"fetch-bids-postmessage-timeout"})}),i),s={id:n,methodName:"FetchBidsStart",data:{timeout:i}};e.source.postMessage(s,"*"),this.hbManager.fetchBids(o).then((function(t){clearTimeout(a);var r={id:n,methodName:"FetchBidsComplete",data:t};e.source.postMessage(r,"*")}))}},e}();t.HBPostMessageListener=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var n=[r(32).ADAPTER_NAMES.CRITEO,r(32).ADAPTER_NAMES.RTBHOUSE,r(32).ADAPTER_NAMES.MAIL,r(32).ADAPTER_NAMES.VIDEONOW],o=function(e){var t=e.container,o=e.adapterName,i=e.win;if(!r(66).includes(n,o)){var a=t.style.position;if("static"!==a){""===a&&(t.style.position="relative");var s=i.document.createElement("div");s.innerHTML=o.toUpperCase(),s.style.display="block",s.style.position="absolute",s.style.top="1px",s.style.left="1px",s.style.padding="3px 4px",s.style.font="400 normal 9px/1.2 sans-serif",s.style.color="#161616",s.style.background="rgba(255,255,255,0.85)",s.style.opacity="0.8",s.style.border="none",s.style.borderRadius="0 0 2px",s.style.pointerEvents="none",t.appendChild(s),t.addEventListener("mouseenter",(function(){s.style.display="none"})),t.addEventListener("mouseleave",(function(){s.style.display="block"}))}}},i=function(e){var t=document.createElement("iframe");return t.setAttribute("height",""+e.height),t.setAttribute("width",""+e.width),t.setAttribute("marginwidth","0"),t.setAttribute("marginheight","0"),t.setAttribute("frameborder","0"),t},a=function(e){return'<script src="'+e+'"><\/script>'},s=function(e){return'<html style="width: 100%; height: 100%;"><head></head><body style="width: 100%; height: 100%;">'+('<iframe width="100%" height="100%" src="'+e+'" frameborder="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>')+"</body></html>"};t.render=function(e){var t=e.win,n=e.container,d=e.bid,c=e.callbacks,u=void 0===c?{}:c,p=u.onError,l=void 0===p?function(){}:p,f=u.onRender,v=void 0===f?function(){}:f,h=u.onAdfoxBid,g=void 0===h?function(e,t){}:h,y=u.initSf,m=void 0===y?r(115).initSafeframe:y,b=u.confirm,E=void 0===b?r(353).report:b;if(!(d instanceof r(18).BidError)){var _=d.adapterName.indexOf("adfox")<0?d.adapterName:"adfox",O=function(){return r(46).logEvent({name:r(46).HeaderBiddingEvents.rendered,labels:{bidder:_}})},T=function(){O(),v()};if(d instanceof r(18).NativeBid)!function(e,t){(0,e.nativeCallback)(e.nativePayload),t()}(d,T);else{if(d instanceof r(18).AdfoxBid)return E(d.winNotice),void g(d.creative,{onRender:O});var A=d.banner,S=A.src,M=A.type,B=A.sourceType;if(M===r(18).BannerType.VAST){var w={campaignId:String(d.campaignId)};return d.banner.sourceType===r(18).BannerSource.CODE?w.vastBase64=d.banner.src:d.banner.sourceType===r(18).BannerSource.URL&&(w.vastUrl=d.banner.src),void g({type:"banner.inpage",attributes:w},{onRender:O})}var R=d.size,P=R.width>0&&R.height>0;if(B===r(18).BannerSource.URL)return P?(function(e){var t=e.win,r=e.container,n=e.html,o=e.size,i=o.width,a=o.height,s=e.callbacks,d=e.logRender,c={width:i,height:a,html:n};(0,e.initSf)(t,function(e,t,r){var n=e.ownerDocument.createElement("div"),o=e.ownerDocument.createElement("div");return n.style.width=t+"px",n.style.height=r+"px",n.style.margin="0 auto",n.appendChild(o),e.appendChild(n),o}(r,i,a),c,s.onError,s.onRender,void 0,"referrer="+window.location.href),d()}({win:t,container:n,html:M===r(18).BannerType.JS?a(S):s(S),size:R,callbacks:{onError:l,onRender:v},logRender:O,initSf:m}),void o({container:n,win:t,adapterName:d.adapterName})):void(M===r(18).BannerType.JS?function(e,t,r){var n=document.createElement("script");n.src=t,e.appendChild(n),r()}(n,S,T):(!function(e,t,r,n){var o=i(r);o.src=t,e.appendChild(o),n()}(n,S,R,T),o({container:n,win:t,adapterName:d.adapterName})));M===r(18).BannerType.JS?function(e,t,r){var n=document.createElement("script");n.innerHTML=t,e.appendChild(n),r()}(n,S,T):(!function(e,t,r,n){var o=i(r);e.appendChild(o);var a=o.contentDocument;a.open(),a.write(t),a.close(),n()}(n,S,R,T),o({container:n,win:t,adapterName:d.adapterName}))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=void 0;t.flatten=function e(t){return r(69).reduce(t,(function(t,n){return t.concat(r(10).isArray(n)?e(n):n)}),[])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findLastIndex=void 0;t.findLastIndex=function(e,t,n){void 0===t&&(t=function(e){return Boolean(r(704).identity(e))}),void 0===n&&(n=e.length-1);for(var o=n;o>=0;o--)if(t(e[o],o,e))return o;return-1}},function(e,t,r){var n={"./adfoxAdapter.ts":854,"./admixerAdapter.ts":855,"./adspendAdapter.ts":856,"./adtelligentAdapter.ts":857,"./aioAdapter.ts":858,"./alfasenseAdapter.ts":859,"./astralabAdapter.ts":860,"./betweenDigitalAdapter.ts":861,"./bidvolAdapter.ts":862,"./buzzoolaAdapter.ts":863,"./clioAdapter.ts":864,"./criteoAdapter.ts":865,"./dgtSspAdapter.ts":866,"./facebookAdapter.ts":867,"./fotostranaAdapter.ts":868,"./getintentAdapter.ts":869,"./gnezdoAdapter.ts":870,"./hpmdAdapter.ts":871,"./hybridAdapter.ts":872,"./mailAdapter.ts":873,"./maximaTelecomAdapter.ts":874,"./mediaTodayAdapter.ts":875,"./mgidAdapter.ts":876,"./mitAdapter.ts":877,"./mtsAdapter.ts":878,"./otmAdapter.ts":879,"./pladformAdapter.ts":880,"./redllamaAdapter.ts":881,"./relapAdapter.ts":882,"./rtbhouseAdapter.ts":883,"./sapeAdapter.ts":884,"./segmentoAdapter.ts":885,"./solowayAdapter.ts":886,"./tinkoffAdapter.ts":887,"./videonowAdapter.ts":888};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=853},function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.AdfoxAdapter=void 0;var s=r(32).ADAPTER_NAMES.ADFOX,d=function(e){function t(t){var r=e.call(this,t,s)||this;return r.biddersRequested=[],r.cookiesRecieved=!1,r}return o(t,e),t.prototype.callForCookies=function(e){var t=this;this.cookiesRecieved?e():r(659).getMatchidManager().waitForMatchIdCookie((function(r){t.matchIdCookies=r,t.cookiesRecieved=Boolean(t.matchIdCookies),t.cookiesRecieved&&e()}),100)},t.prototype.callBids=function(e,t){var r=this;if(this.biddersRequested.push(e),!t){var n=this.biddersRequested;this.biddersRequested=[],this.callForCookies((function(){var e=r.prepareRequestData(n),t=e.requests,o=e.bids,i=e.timeout;r.biddersRequested=[],r.sendMultiplePosts(t,o,i)}))}},t.prototype.prepareRequestData=function(e){var t=this,n={},o=[],a=[],s=r(460).getBaseRequestParams({win:this.win});r(0).forEach(e,(function(e){var d=e.bidderName,c=e.bids,u=e.timeout;o.push(u),a.push.apply(a,r(6).map(c,(function(e){return i(i({},e),{bidderName:d})}))),r(0).forEach(c,(function(e){var o=e.code,a=e.params,c=e.customDomain,u=i(i(i(i({},s),a),t.matchIdCookies),{ylv:"0."+r(104).loaderVersion}),p=r(722).mapValues(u,String),l=d.replace("adfox_","");n[l]=n[l]||[],n[l].push({id:o,bidder:l,parameters:p,customDomain:c})}))}));var d=r(237).separateByDomain(n),c=[],u=Math.max.apply(Math,o);return r(0).forEach(d,(function(e){c.push({meta:{session_id:String(r(357).getPr()),request_id:String(Math.random())},jsonapi:{version:"1.0",meta:{protocol_version:"2.0"}},data:e,customDomain:e[0].customDomain})})),{requests:c,timeout:u,bids:a}},t.prototype.sendMultiplePosts=function(e,t,n){var o=this;this.logEvent(r(46).HeaderBiddingEvents.sent);var i=[],a=!1,s=function(){a=!0,r(0).forEach(d,(function(e){return e.abort()}))},d=e.map((function(e){var c=e.customDomain,u=c?"https://"+c+"/hb":"https://webcf.waybackmachine.org/web/20211018005227/https://ads.adfox.ru/hb";delete e.customDomain;var p=new(r(494).XhrForAdapter)({publisherTagUrl:u,data:e,timeout:n,callbacks:{onResponse:function(e){i.push(e),r(94).every(d,(function(e){return!e.isRequesting}))&&!a&&o.onResponse(i,t)},onError:function(e,n){a||(s(),o.logError(r(46).HeaderBiddingErrors.http+"_"+n),o.onError(e,t,n))},onTimeout:function(){a||(s(),o.onTimeout(t))}}});return p.sendXhr(),p}))},t.prototype.onResponse=function(e,t){try{var n={data:[],errors:[]};r(0).forEach(e,(function(e){var t=r.lv["json"].parse(e),o=t.data,i=t.errors;o&&(n.data=a(a([],n.data),o)),i&&(n.errors=a(a([],n.errors),i))})),this.processResponse(n,t)}catch(e){this.logError(r(46).HeaderBiddingErrors.parse),this.onError(e.message,t,r(74).ERRORS.INVALID_RESPONSE.code)}},t.prototype.processResponse=function(e,t){var n=this,o=e.data,i=e.errors;r(0).forEach(t,(function(e){var t=e.bidderName,a=e.code;if(i&&r(84).find(i,(function(e){var r=e.id,n=e.bidder;return r===a&&"adfox_"+n===t})))n.createErrorBid(e,r(74).ERRORS.NO_RESPONSE.code);else{var s=r(84).find(o,(function(e){var r=e.id,n=e.bid.bidder;return r===a&&"adfox_"+n===t}));if(s){var d=s.id,c=s.type,u=s.attributes,p=s.bid,l=p.win_notice,f=p.cpm,v=n.bidManager.createNewAdfoxBid(t,d);void 0!==f?v.setCost({price:f,unit:r(312).Units["1-TH"]}):v.setCost({price:1,unit:r(312).Units["1-TH"]}),v.creative={type:c,attributes:u},v.winNotice=l,v.placementId=e.params.placementId,n.bidManager.addBidResponse(v)}else n.createErrorBid(e,r(74).ERRORS.NO_RESPONSE_WITHOUT_STATUS.code)}}))},t}(r(495).Adapter);t.AdfoxAdapter=d,r(43).adapterManager.registerBidAdapter(new d(r(27).bidManager),s)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.ADMIXER;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"inv-nets.admixer.net/afprebid.aspx",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.ADSPEND;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"rtb.com.ru/adfox-bid",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.ADTELLIGENT;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"hb.adtelligent.com/v3/auction",name:n,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.AIO;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"api.aio.media/v1/hb",name:n,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.ALFASENSE;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"pbs.alfasense.com/yandex/auction",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.ASTRALAB;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ssp.afp.ai/api/adfox/bids",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.BETWEEN_DIGITAL;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ads.betweendigital.com/adjson?t=adfox",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.BIDVOL;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ssp.bidvol.com/rtb/pl999",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.BUZZOOLA;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"exchange.buzzoola.com/ssp/adfox",name:n,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.CLIO;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ag.adgear.ru/hb",name:n,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(32).ADAPTER_NAMES.CRITEO,a=function(e){function t(t){var r=e.call(this,t,i)||this;return r.publisherTagUrl=r.protocol+"static.criteo.net/js/ld/publishertag.js",r.scriptWasRequested=!1,r}return o(t,e),t.prototype.callBids=function(e){this.pushBidRequestEvent(e),this.loadScript(e)},t.prototype.loadScript=function(e){var t=this,n=e.bids;this.win.criteo_pubtag&&!r(10).isArray(this.win.criteo_pubtag)||this.scriptWasRequested||(this.scriptWasRequested=!0,r(502).loadScriptLite({win:this.win,src:this.publisherTagUrl,onError:function(e){t.onError(e.message,n,r(74).ERRORS.HTTP_ERROR.code)}}))},t.prototype.pushBidRequestEvent=function(e){var t=this,n=e.timeout,o=e.bids;this.win.Criteo=this.win.Criteo||{},this.win.Criteo.events=this.win.Criteo.events||[];var i=this.win.Criteo,a=this.buildRequestAdUnits(o);this.logEvent(r(46).HeaderBiddingEvents.sent),i.events.push((function(){return t.win.Criteo.RequestBids(a,(function(e,r){t.onResponse(e,o,r)}),n)}))},t.prototype.buildRequestAdUnits=function(e){var t=[];return r(0).forEach(e,(function(e){var r=e.code,n=e.params,o=n.zoneid,i=n.placementId,a=n.nativeCallback,s=o||i||0;t.push({slotid:r,zoneid:Number(s),nativeCallback:a})})),{placements:t}},t.prototype.onResponse=function(e,t,n){try{this.processData(e,t,n)}catch(e){this.logError(r(46).HeaderBiddingErrors.parse),this.onError(e.message,t,r(74).ERRORS.INVALID_RESPONSE.code)}},t.prototype.processData=function(e,t,n){void 0===n&&(n=200);var o,i=n,a="";if(200===i)if(r(106).consoleLog("Received response from "+this.name+" with bids",e),void 0===e)i=r(74).ERRORS.TIMEOUT.code,a="Timeout from "+this.name,this.logError(r(46).HeaderBiddingErrors.timeout),o=t;else{if(e=this.cleanBids(e,t),!(t.length>e.length))return void this.createBidResponse(e);var s=r(6).map(e,(function(e){return e.impressionId})),d=r(6).map(t,(function(e){return e.code})),c=r(14).filter(d,(function(e){return-1===s.indexOf(e)}));o=r(6).map(c,(function(e){return function(e){return r(14).filter(t,(function(t){return t.code===e}))[0]}(e)})),i=r(74).ERRORS.NO_RESPONSE.code,a="Empty response from "+this.name,this.createBidResponse(e)}else a="httpStatus "+i+" from "+this.name,this.logError(r(46).HeaderBiddingErrors.http+"_"+i),o=t;void 0!==o&&this.onError(a,o,i)},t.prototype.createBidResponse=function(e){var t=this;r(0).forEach(e,(function(e){var r=t.buildBidObject(e);t.bidManager.addBidResponse(r)}))},t.prototype.cleanBids=function(e,t){return this.cleanFromNotRequestedBids(this.cleanFromCachedBids(e),t)},t.prototype.cleanFromCachedBids=function(e){var t={},n=[];for(var o in r(0).forEach(e,(function(e){return t[e.impressionId]=e})),t)n.push(t[o]);return n},t.prototype.cleanFromNotRequestedBids=function(e,t){var n={},o=[];for(var i in r(0).forEach(t,(function(t){var o,i=t.code;return n[i]=(o=i,r(14).filter(e,(function(e){return e.impressionId===o}))[0])})),n)n[i]&&o.push(n[i]);return o},t.prototype.buildBidObject=function(e){var t,n=e.impressionId,o=e.cpm;if(function(e){return e&&Boolean(e.nativePayload)&&r(2).isFunction(e.nativeCallback)}(e)){t=this.bidManager.createNewNativeBid(this.name,n);var i=e.zoneId,a=e.nativeCallback,s=e.nativePayload;t.params={zoneid:i,status:c},t.placementId=i.toString(),t.nativeCallback=a,t.nativePayload=s}else{var d=e,c=(i=d.zoneId,d.status),u=d.width,p=d.height,l=d.displayUrl,f=d.creative;(t=this.bidManager.createNewBannerBid(this.name,n)).setBanner(l,{type:r(18).BannerType.JS,sourceType:r(18).BannerSource.URL}),t.setSize(u,p),t.params={zoneId:i,status:c,creative:f},t.placementId=void 0!==typeof i?i.toString():i}return t.setCost({price:o,unit:r(312).Units["1-TH"]}),t},t}(r(495).Adapter);t["default"]=a,r(43).adapterManager.registerBidAdapter(new a(r(27).bidManager),i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.DGT_SSP;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ssp.ainads.ru/hbya",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.FacebookAdapter=t.getTemplate=void 0;var a=r(32).ADAPTER_NAMES.FACEBOOK;t.getTemplate=function(e,t,r){return'\n <html>\n <body>\n <div style="display:none; position: relative;">\n <script type="text/javascript">\n var data = {\n placementid: \''+e+"',\n format: '"+t+"',\n bidid: '"+r+'\',\n testmode: false,\n onAdLoaded: function(element) {\n element.style.display = \'block\';\n },\n onAdError: function(errorCode, errorMessage) {}\n };\n <\/script>\n <script>\n (function(a,b,c){var d="https://webcf.waybackmachine.org/web/20211018005227/https://www.facebook.com",e="https://webcf.waybackmachine.org/web/20211018005227/https://connect.facebook.net/en_US/fbadnw55.js",f={iframeLoaded:true,xhrLoaded:true},g=a.data,h=function(){if(Date.now)return Date.now();else return+new Date()},i=function(B){var C=d+"/audience_network/client_event",D={cb:h(),event_name:"ADNW_ADERROR",ad_pivot_type:"audience_network_mobile_web",sdk_version:"5.5.web",app_id:g.placementid.split("_")[0],publisher_id:g.placementid.split("_")[1],error_message:B},E=[];for(var F in D)E.push(encodeURIComponent(F)+"="+encodeURIComponent(D[F]));var G=C+"?"+E.join("&"),H=new XMLHttpRequest();H.open("GET",G,true);H.send();if(g.onAdError)g.onAdError("1000","Internal error.")},j=function(){if(b.currentScript)return b.currentScript;else{var B=b.getElementsByTagName("script");return B[B.length-1]}},k=function(B){try{return B.document.referrer}catch(C){}return""},l=function(){var B=a,C=[B];try{while(B!==B.parent&&B.parent.document)C.push(B=B.parent)}catch(D){}return C.reverse()},m=function(){var B=l();for(var C=0;C<B.length;C++){var D=B[C],E=D.ADNW||{};D.ADNW=E;if(!D.ADNW)continue;return E.v55=E.v55||{ads:[],window:D}}throw new Error("no_writable_global")},n=function(B){var C=B.indexOf("/",B.indexOf("://")+3);if(C===-1)return B;return B.substring(0,C)},o=function(B){return B.location.href||k(B)},p=function(B){if(B.sdkLoaded)return;var C=B.window.document,D=C.createElement("iframe");D.name="fbadnw";D.style.display="none";D.onload=function(){var E=D.contentDocument.createElement("script");E.src=e;E.async=true;D.contentDocument.body.appendChild(E)};C.body.appendChild(D);B.sdkLoaded=true},q=function(B){var C=/^https?:\\/\\/www\\.google(\\.com?)?.\\w{2,3}$/;return!!B.match(C)},r=function(B){return!!B.match(/cdn.ampproject.org$/)},s=function(){var B=c.ancestorOrigins||[],C=B[B.length-1]||c.origin,D=B[B.length-2]||c.origin;if(q(C)&&r(D))return n(D);else return n(C)},t=function(B){try{return JSON.parse(B)}catch(A){i(A.message);throw A}},u=function(B,C,D){if(!B.iframe){var E=D.createElement("iframe");E.src=d+"/audiencenetwork/iframe/";E.style.display="none";D.body.appendChild(E);B.iframe=E;B.iframeAppendedTime=h();B.iframeData={}}C.iframe=B.iframe;C.iframeData=B.iframeData;C.tagJsIframeAppendedTime=B.iframeAppendedTime||0},v=function(B){var C=d+"/audiencenetwork/xhr/?sdk=5.5.web";for(var D in B)if(typeof B[D]!=="function")C+="&"+D+"="+encodeURIComponent(B[D]);var E=new XMLHttpRequest();E.open("GET",C,true);E.withCredentials=true;E.onreadystatechange=function(){if(E.readyState===4){var F=t(E.response);B.events.push({name:"xhrLoaded",source:B.iframe.contentWindow,data:F,postMessageTimestamp:h(),receivedTimestamp:h()})}};E.send()},w=function(B,C){var D=d+"/audiencenetwork/xhriframe/?sdk=5.5.web";for(var E in C)if(typeof C[E]!=="function")D+="&"+E+"="+encodeURIComponent(C[E]);var F=b.createElement("iframe");F.src=D;F.style.display="none";b.body.appendChild(F);C.iframe=F;C.iframeData={};C.tagJsIframeAppendedTime=h()},x=function(B){var C=function(event){try{var E=event.data;if(E.name in f)B.events.push({name:E.name,source:event.source,data:E.data})}catch(A){}},D=B.iframe.contentWindow.parent;D.addEventListener("message",C,false)},y=function(a){if(a.context&&a.context.sourceUrl)return true;try{return!!JSON.parse(decodeURI(a.name)).ampcontextVersion}catch(A){return false}},z=function(B){var C=h(),D=l()[0],E=j().parentElement,F=D!=a.top,G=D.$sf&&D.$sf.ext,H=o(D),I=m();p(I);var J={amp:y(D),events:[],tagJsInitTime:C,rootElement:E,iframe:null,tagJsIframeAppendedTime:I.iframeAppendedTime||0,url:H,domain:s(),channel:n(o(D)),width:screen.width,height:screen.height,pixelratio:a.devicePixelRatio,placementindex:I.ads.length,crossdomain:F,safeframe:!!G,placementid:g.placementid,format:g.format||"300x250",testmode:!!g.testmode,onAdLoaded:g.onAdLoaded,onAdError:g.onAdError};if(g.bidid)J.bidid=g.bidid;if(F||!c.ancestorOrigins)w(I,J);else{u(I,J,D.document);v(J)}x(J);J.rootElement.dataset.placementid=J.placementid;I.ads.push(J)};try{z()}catch(A){i(A.message||A);throw A}})(window,document,location);\n <\/script>\n </div>\n </body>\n </html>\n'};var s=function(e){function n(t){var n=e.call(this,t,a)||this;return n.containerIdsMap={},n.publisherTagUrl=r(21).addParamsToUrl(n.protocol+"an.facebook.com/v2/placementbid.json",{sdk:"5.5.web",testmode:String(!1)}),n}return o(n,e),n.prototype.callBids=function(e){this.publisherTagUrl=this.prepareUrl(this.publisherTagUrl,e),this.sendGet(e)},n.prototype.sendGet=function(e){var t=this,n=e.timeout,o=e.bids;this.logEvent(r(46).HeaderBiddingEvents.sent),new(r(494).XhrForAdapter)({publisherTagUrl:this.publisherTagUrl,method:r(235).Methods.GET,timeout:n,callbacks:{onResponse:function(e){return t.onResponse(e,o)},onError:function(e,n){t.logError(r(46).HeaderBiddingErrors.http+"_"+n),t.onError(e,o,n)},onTimeout:function(){return t.onTimeout(o)}}}).sendXhr()},n.prototype.onResponse=function(e,t){try{var n=r.lv["json"].parse(e);this.processData(n,t)}catch(e){this.logError(r(46).HeaderBiddingErrors.parse),this.onError(e.message,t,r(74).ERRORS.INVALID_RESPONSE.code)}},n.prototype.getRequestedBidNames=function(e){return r(6).map(e,(function(e){return e.code}))},n.prototype.getResponsedBidNames=function(e){var t=this;return r(6).map(Object.keys(e),(function(e){return t.getContainerById(e).code}))},n.prototype.getDiffBidNames=function(e,t){return r(14).filter(e,(function(e){return t.indexOf(e)<0}))},n.prototype.sortRequestedBidsByNames=function(e,t){return r(14).filter(e,(function(e){return t.indexOf(e.code)>=0}))},n.prototype.filterErrorBids=function(e,t){var r=this.getRequestedBidNames(t),n=this.getResponsedBidNames(e),o=this.getDiffBidNames(r,n);return this.sortRequestedBidsByNames(t,o)},n.prototype.processData=function(e,t){var n=e.bids;if(n){var o=this.filterErrorBids(n,t);this.createBidResponse(n,t),this.createErrorBids(o,r(74).ERRORS.NO_RESPONSE.code)}},n.prototype.responsedBidToRequested=function(e,t){var n=this.getContainerById(e.placement_id).code;return r(14).filter(t,(function(e){return n===e.code}))[0]},n.prototype.createBidResponse=function(e,t){var n=this;r(20).forOwn(e,(function(e){var o=e[0];if("cpm"===o.bid_price_model){var i=n.buildBidObject(o);n.bidManager.addBidResponse(i)}else{var a=n.responsedBidToRequested(o,t);n.createErrorBid(a,r(74).ERRORS.WRONG_SETTINS.code)}}))},n.prototype.buildBidObject=function(e){var n=this.getContainerById(e.placement_id),o=n.sizes,a=n.code,s=this.bidManager.createNewBannerBid(this.name,a),d=e.bid_price_cents/100;s.setCost({price:d,unit:r(312).Units["1-TH"],currency:r(312).Currency.USD});var c=t.getTemplate(e.placement_id,this.prepareSize(o),e.bid_id);if(s.setBanner(c,{type:r(18).BannerType.HTML,sourceType:r(18).BannerSource.CODE}),o){var u=o[0],p=u[0],l=u[1];s.setSize(p,l)}else s.setSize(-1,-1);return s.placementId=e.placement_id,s.params=i({},e),s},n.prototype.saveContainerById=function(e,t){this.containerIdsMap[e]=t},n.prototype.getContainerById=function(e){return this.containerIdsMap[e]},n.prototype.prepareUrl=function(e,t){var n=this,o=t.bids,i={placementids:[],adformats:[]};return r(0).forEach(o,(function(e){if(e.params.placementId){var t=e.sizes,r=e.code,o=e.params.placementId;n.saveContainerById(o,{sizes:t,code:r}),i.placementids.push(o),i.adformats.push(n.prepareSize(t))}})),r(21).addParamsToUrl(e,i)},n.prototype.prepareSize=function(e){if(e){var t=e[0];return t[0]+"x"+t[1]}return""},n}(r(495).Adapter);t.FacebookAdapter=s,r(43).adapterManager.registerBidAdapter(new s(r(27).bidManager),a)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.FOTOSTRANA;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"king.fotostrana.ru/get/gp",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.GET_INTENT;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"px.adhigh.net/rtb/yandex_hb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.GNEZDO;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"fcgi4.gnezdo.ru/hb/Yandex/",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"banner.hpmdnetwork.ru/bidder/request",name:r(32).ADAPTER_NAMES.HPMD,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),r(32).ADAPTER_NAMES.HPMD)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.HYBRID;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"hbe199.hybrid.ai/adfoxhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.MailAdapter=void 0;var i=function(e){function t(t){return e.call(this,{bidManager:t,url:"ad.mail.ru/hbid_yandex/",name:r(32).ADAPTER_NAMES.MAIL,bannerType:r(18).BannerType.HTML})||this}return o(t,e),t.prototype.assignAdditionalParams=function(e,t){void 0!==t.pos&&(e.pos=t.pos)},t}(r(59).AdapterForNew);t.MailAdapter=i,r(43).adapterManager.registerBidAdapter(new i(r(27).bidManager),r(32).ADAPTER_NAMES.MAIL)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.QVANT_DSP;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"d.wi-fi.ru/b/v1/ya/hb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.MEDIATODAY;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"mediatoday.ru/core/rtb/hb/bid",name:n,bannerType:r(18).BannerType.JS,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.MGID;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"prebid.mgid.com/adfoxhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.MIT;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"mitdsp.whiteboxdigital.ru/adfoxhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.MTS;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"dsp.rtb.mts.ru/bidder",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.OTM;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"yhb.p.otm-r.com/yhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.PLADFORM;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"adx.pladform.ru/engine/adx/koxPA7PL",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.REDLLAMA;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"redllama.ru/core/headbidd",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"relap.io/hb/adfox/bid",name:r(32).ADAPTER_NAMES.RELAP,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),r(32).ADAPTER_NAMES.RELAP)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"adfox-c2s-ams.creativecdn.com/bidder/adfox/bids",name:r(32).ADAPTER_NAMES.RTBHOUSE,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),r(32).ADAPTER_NAMES.RTBHOUSE)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.SAPE;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ssp-rtb.sape.ru/adfoxhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.SEGMENTO;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"adfox-hb-bidder.rutarget.ru/bid",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";var n,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=r(32).ADAPTER_NAMES.SOLOWAY,s=function(e){function t(t){var r=e.call(this,t,a)||this;return r.publisherTagUrl=r.protocol+"pb.adriver.ru/cgi-bin/bid.cgi",r.containerDataMap={},r}return o(t,e),t.prototype.callBids=function(e){var t=this.getData(e);t.imp.length?this.sendPost(t,e):this.createErrorBids(e.bids,r(74).ERRORS.INVALID_DATA.code)},t.prototype.sendPost=function(e,t){var n=this,o=t.timeout,i=t.bids;this.logEvent(r(46).HeaderBiddingEvents.sent),new(r(494).XhrForAdapter)({publisherTagUrl:this.publisherTagUrl,data:e,timeout:o,callbacks:{onResponse:function(e){return n.onResponse(e,i)},onError:function(e,t){n.logError(r(46).HeaderBiddingErrors.http+"_"+t),n.onError(e,i,t)},onTimeout:function(){return n.onTimeout(i)}}}).sendXhr()},t.prototype.onResponse=function(e,t){try{var n=r.lv["json"].parse(e);this.processData(n,t)}catch(e){this.logError(r(46).HeaderBiddingErrors.parse),this.onError(e.message,t,r(74).ERRORS.INVALID_RESPONSE.code)}},t.prototype.processData=function(e,t){var n,o=this,i=e.seatbid,a=200,s="";if(r(106).consoleLog("Received response from "+this.name+" with bids",i),void 0===i||"{}"===r.lv["json"].stringify(i))n=t,a=r(74).ERRORS.NO_RESPONSE.code;else{if(t.length===i.length)return void this.createBidResponse(i);var d=r(6).map(i,(function(e){var t=e.bid[0];return o.getContainerId(t)})),c=r(6).map(t,(function(e){return e.code})),u=r(14).filter(c,(function(e){return d.indexOf(e)<0}));n=r(6).map(u,(function(e){return r(14).filter(t,(function(t){return t.code===e}))[0]})),a=r(74).ERRORS.NO_RESPONSE.code,s="Empty response from "+this.name,this.createBidResponse(i)}void 0!==n&&(r(106).consoleWarn(s),this.createErrorBids(n,a))},t.prototype.getContainerId=function(e){return this.containerDataMap[e.impid]?this.containerDataMap[e.impid].code:""},t.prototype.getContainerType=function(e){return this.codeTypeToBannerType(this.containerDataMap[e.impid].codeType)},t.prototype.codeTypeToBannerType=function(e){switch(e){case"inpage":case"preroll":case"midroll":case"postroll":return r(18).BannerType.VAST;default:return r(18).BannerType.HTML}},t.prototype.createBidResponse=function(e){var t=this;r(0).forEach(e,(function(e){var r=e.bid,n=t.buildBidObject(r[0]);t.bidManager.addBidResponse(n)}))},t.prototype.buildBidObject=function(e){var t=this.bidManager.createNewBannerBid(a,this.getContainerId(e));return t.setCost({price:e.price,unit:r(312).Units["1-TH"]}),t.setBanner(e.nurl,{type:this.getContainerType(e),sourceType:r(18).BannerSource.URL}),t.setSize(e.w,e.h),t.params=i({},e),t.placementId=e.impid,t},t.prototype.formPlaceBanner=function(e){return{w:0,h:0,format:null==e?void 0:e.map((function(e){return{w:e[0],h:e[1]}}))}},t.prototype.formPlaceVideo=function(e,t){var r="inpage"===t?3:1;return{w:e[0],h:e[1],api:[1,2],linearity:1,maxduration:120,mimes:["video/mp4","application/javascript","video/webm","video/mpg"],minduration:1,placement:r,protocols:[1,2,3,4,5,6]}},t.prototype.getData=function(e){var t=this,n=[],o="";return r(0).forEach(e.bids,(function(e){var i=e.params.siteid||e.params.placementId;if(i){t.containerDataMap[i]={code:e.code,codeType:e.params&&e.params.codeType};var a=e.sizes&&e.sizes[0]||[0,0],s={id:i,bidfloor:0,bidfloorcur:"RUB",secure:"https:"===document.location.protocol?1:0};switch(t.codeTypeToBannerType(e.params.codeType)){case r(18).BannerType.VAST:s.video=t.formPlaceVideo(a,e.params.codeType);break;default:s.banner=t.formPlaceBanner(e.sizes)}n.push(s),o=i}})),{cur:["RUB"],site:{name:location.origin,domain:location.host,id:o,page:location.href},id:Math.random().toString(),user:{buyerid:0},device:{ua:navigator.userAgent,ip:"1"},imp:n,at:1}},t}(r(495).Adapter);t["default"]=s,r(43).adapterManager.registerBidAdapter(new s(r(27).bidManager),a)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"ssp.datamind.ru/v2/yhb",name:r(32).ADAPTER_NAMES.TINKOFF,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),r(32).ADAPTER_NAMES.TINKOFF)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32).ADAPTER_NAMES.VIDEONOW;r(43).adapterManager.registerBidAdapter(new(r(59).AdapterForNew)({url:"adx.videonow.ru/yhb",name:n,bannerType:r(18).BannerType.HTML,bidManager:r(27).bidManager}),n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdUnitBox=void 0;var n=r(311).DEFAULT_TIMEOUT,o=function(){function e(e){this.adUnitBidders={},this.adUnit=e.adUnit,this.code=this.adUnit.code,this.timeoutToRequest=!1}return e.prototype.waitBids=function(){return this.waitingBids||this.initWaitingBids(),this.waitingBids},e.prototype.initWaitingBids=function(){var e,t,o,i=this;this.timeoutToRequest=!0,this.adUnitBidders=(e=this.code,t=r(249).biddersStorage.getBiddersRequested(),o={},r(0).forEach(t,(function(t){var n=t.bidderName,i=t.bids,a=r(84).find(i,(function(t){return e===t.code}));a&&(o[n]=function(e){var t=new(r(128).Deferred);return{request:e,deferred:t,response:t.promise}}(a))})),o);var a=r(6).map(r(37).getObjectKeys(this.adUnitBidders),(function(e){return i.adUnitBidders[e].response}));this.waitingBids=Promise.all(a),this.waitingBids.then((function(e){i.receivedBids=e})),setTimeout((function(){i.timeoutToRequest=!1}),n)},e.prototype.resolveBid=function(e){var t=e.adapterName,r=this.adUnitBidders[t];e&&r&&r.deferred.resolve(e)},e.prototype.getBids=function(){return this.receivedBids||[]},e}();t.AdUnitBox=o}]); } /* FILE ARCHIVED ON 00:52:27 Oct 18, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 22:38:02 Nov 16, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.648 exclusion.robots: 0.028 exclusion.robots.policy: 0.017 esindex: 0.01 cdx.remote: 6.754 LoadShardBlock: 184.717 (6) PetaboxLoader3.datanode: 171.049 (7) load_resource: 130.152 PetaboxLoader3.resolve: 100.864 */