iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://ssp.rambler.ru/capirs_async.js
var SSPjs;!function(){var e,t,n={3324:function(e,t){"use strict";var n=function(){function e(e){this.regValidKey=new RegExp("([a-zA-Z0-9_-]{0,})","i"),this.hash=e||location.hostname}return e.prototype.isSupported=function(){return"object"==typeof document&&"string"==typeof document.cookie},e.prototype.setItem=function(e,t,n,r,o,i,a,s){void 0===e&&(e=!0),void 0===r&&(r=30),void 0===o&&(o="/"),void 0===i&&(i=location.hostname.split(".").slice(-2).join(".")),void 0===a&&(a="https:"===location.protocol),void 0===s&&(s=!0);try{if("boolean"==typeof e&&"string"==typeof t&&this.regValidKey.test(t)&&"string"==typeof n&&(""===n||this.regValidKey.test(n))&&"number"==typeof r&&"string"==typeof o&&"string"==typeof i&&-1!==location.hostname.indexOf(i)&&"boolean"==typeof a&&a===("https:"===location.protocol)){var c=document.createElement("a");if(c.href="?x=http://"+i+o,c.hostname===i||c.pathname===o){if(!e||this.isSupported()){var u="";u+=s?this.hash+"_"+t:t;var l=new Date;l.setTime(l.getTime()+24*r*60*60*1e3);var p=l.toUTCString();return n=encodeURIComponent(n),document.cookie=u+"="+n+(p?"; expires="+p:"")+(o?"; path="+o:"")+(i?"; domain="+i:"")+(a?"; secure":""),this.getItem(e,t,s)===decodeURIComponent(n)}return!1}return!1}return!1}catch(e){return!1}},e.prototype.getItem=function(e,t,n){void 0===e&&(e=!0),void 0===n&&(n=!0);try{if("boolean"!=typeof e||"string"!=typeof t||!this.regValidKey.test(t))return!1;if(e&&!this.isSupported())return!1;n&&(t=this.hash+"_"+t);for(var r=document.cookie.split(";"),o=[],i=0;i-1?o(n):n}},5559:function(e,t,n){"use strict";var r=n(8612),o=n(210),i=n(7771),a=n(4453),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(c,s),l=n(4429),p=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(r,c,arguments);return i(t,1+p(0,e.length-(arguments.length-1)),!0)};var f=function(){return u(r,s,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},3241:function(){ /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ "document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){"use strict";if("Element"in e){var t="classList",n="prototype",r=e.Element[n],o=Object,i=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},d=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,i);if(c){for(var p=0;p>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],d=e[t+2],h=e[t+3],v=e[t+4],g=e[t+5],m=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],S=e[t+11],E=e[t+12],O=e[t+13],k=e[t+14],T=e[t+15],x=i[0],P=i[1],I=i[2],C=i[3];x=u(x,P,I,C,a,7,s[0]),C=u(C,x,P,I,c,12,s[1]),I=u(I,C,x,P,d,17,s[2]),P=u(P,I,C,x,h,22,s[3]),x=u(x,P,I,C,v,7,s[4]),C=u(C,x,P,I,g,12,s[5]),I=u(I,C,x,P,m,17,s[6]),P=u(P,I,C,x,y,22,s[7]),x=u(x,P,I,C,b,7,s[8]),C=u(C,x,P,I,w,12,s[9]),I=u(I,C,x,P,_,17,s[10]),P=u(P,I,C,x,S,22,s[11]),x=u(x,P,I,C,E,7,s[12]),C=u(C,x,P,I,O,12,s[13]),I=u(I,C,x,P,k,17,s[14]),x=l(x,P=u(P,I,C,x,T,22,s[15]),I,C,c,5,s[16]),C=l(C,x,P,I,m,9,s[17]),I=l(I,C,x,P,S,14,s[18]),P=l(P,I,C,x,a,20,s[19]),x=l(x,P,I,C,g,5,s[20]),C=l(C,x,P,I,_,9,s[21]),I=l(I,C,x,P,T,14,s[22]),P=l(P,I,C,x,v,20,s[23]),x=l(x,P,I,C,w,5,s[24]),C=l(C,x,P,I,k,9,s[25]),I=l(I,C,x,P,h,14,s[26]),P=l(P,I,C,x,b,20,s[27]),x=l(x,P,I,C,O,5,s[28]),C=l(C,x,P,I,d,9,s[29]),I=l(I,C,x,P,y,14,s[30]),x=p(x,P=l(P,I,C,x,E,20,s[31]),I,C,g,4,s[32]),C=p(C,x,P,I,b,11,s[33]),I=p(I,C,x,P,S,16,s[34]),P=p(P,I,C,x,k,23,s[35]),x=p(x,P,I,C,c,4,s[36]),C=p(C,x,P,I,v,11,s[37]),I=p(I,C,x,P,y,16,s[38]),P=p(P,I,C,x,_,23,s[39]),x=p(x,P,I,C,O,4,s[40]),C=p(C,x,P,I,a,11,s[41]),I=p(I,C,x,P,h,16,s[42]),P=p(P,I,C,x,m,23,s[43]),x=p(x,P,I,C,w,4,s[44]),C=p(C,x,P,I,E,11,s[45]),I=p(I,C,x,P,T,16,s[46]),x=f(x,P=p(P,I,C,x,d,23,s[47]),I,C,a,6,s[48]),C=f(C,x,P,I,y,10,s[49]),I=f(I,C,x,P,k,15,s[50]),P=f(P,I,C,x,g,21,s[51]),x=f(x,P,I,C,E,6,s[52]),C=f(C,x,P,I,h,10,s[53]),I=f(I,C,x,P,_,15,s[54]),P=f(P,I,C,x,c,21,s[55]),x=f(x,P,I,C,b,6,s[56]),C=f(C,x,P,I,T,10,s[57]),I=f(I,C,x,P,m,15,s[58]),P=f(P,I,C,x,O,21,s[59]),x=f(x,P,I,C,v,6,s[60]),C=f(C,x,P,I,S,10,s[61]),I=f(I,C,x,P,d,15,s[62]),P=f(P,I,C,x,w,21,s[63]),i[0]=i[0]+x|0,i[1]=i[1]+P|0,i[2]=i[2]+I|0,i[3]=i[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<>>32-i)+t}function l(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<>>32-i)+t}function f(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),r.MD5)},5119:function(e,t,n){"use strict";n.r(t);var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".inview-timers-wrapper{font-family:Helvetica, Arial, sans-serif;position:fixed;overflow:hidden;top:50px;right:10px;z-index:9999999999;width:280px;height:auto;max-height:100vh;background:#fff;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5);padding:4px;font-size:12px}.inview-timers-wrapper .inview-timers__row{position:relative;overflow:hidden;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.inview-timers-wrapper .inview-timers__row svg{width:1em;height:1em}.inview-timers-wrapper .inview-timers__row.is-widget-header svg{width:1.5em;height:1.5em}.inview-timers-wrapper .column{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;overflow:hidden;text-align:center;padding:0.25em;float:none;width:12.5%}.inview-timers-wrapper .column hr{padding:0;margin:0}.inview-timers-wrapper .column.is-title{max-height:32px}.inview-timers-wrapper .column.is-viewed-indicator svg,.inview-timers-wrapper .column.is-nohover-indicator svg,.inview-timers-wrapper .column.is-reloaded-indicator svg{display:none}.inview-timers-wrapper .column.is-viewed-indicator svg.is-visible,.inview-timers-wrapper .column.is-nohover-indicator svg.is-visible,.inview-timers-wrapper .column.is-reloaded-indicator svg.is-visible{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inview-timers-wrapper .column.is-direction-indicator{-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.inview-timers-wrapper .column.is-direction-indicator::after{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;content:'';width:0;height:100%}.inview-timers-wrapper .column.is-direction-indicator svg{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inview-timers-wrapper .is-widget-title{text-align:center}.inviewtime-sticker{display:flex;align-items:center;white-space:nowrap;font:12px/1 Helvetica, Arial, sans-serif;position:absolute;top:0;left:0;background:#f00;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;text-align:center;z-index:9;padding:10px}.inviewtime-sticker::before{content:'';display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;height:100%}.inviewtime-sticker hr{padding:0;margin:0.25em 0}.inviewtime-sticker span{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inviewtime-sticker span.inviewtime-sticker__symbol{font-size:18px}\n",""]),t.default=a},8262:function(e,t,n){"use strict";n.r(t);var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"div[id^='AdFox_banner'],div[id^='begun_block'],div[id^='begun_block']>iframe,iframe[id^='AdFox_iframe']{display:block;margin-right:auto;margin-left:auto}div[id^='begun_block'],div[id^='__ban_']{flex:1 1 auto;max-width:100%;width:100%}#pushwoosh-popup{pointer-events:auto !important}.pushwoosh__container{pointer-events:none !important}.mol-vast-skip-control{display:none}\n",""]),t.default=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},8081:function(e){"use strict";e.exports=function(e){return e[1]}},2296:function(e,t,n){"use strict";var r=n(4429),o=n(3464),i=n(4453),a=n(7296);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],p=!!a&&a(e,t);if(r)r(e,t,{configurable:null===u&&p?p.configurable:!u,enumerable:null===s&&p?p.enumerable:!s,value:n,writable:null===c&&p?p.writable:!c});else{if(!l&&(s||c||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},3654:function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1})},4429:function(e,t,n){"use strict";var r=n(210)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},3981:function(e){"use strict";e.exports=EvalError},1648:function(e){"use strict";e.exports=Error},4726:function(e){"use strict";e.exports=RangeError},6712:function(e){"use strict";e.exports=ReferenceError},3464:function(e){"use strict";e.exports=SyntaxError},4453:function(e){"use strict";e.exports=TypeError},3915:function(e){"use strict";e.exports=URIError},7648:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=C(e,0,1),n=C(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return I(e,R,(function(e,t,n,o){r[r.length]=n?I(o,D,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=j("%"+r+"%",t),i=o.name,a=o.value,s=!1,l=o.alias;l&&(r=l[0],P(n,x([0,1],l)));for(var p=1,f=!0;p=n.length){var m=d(a,h);a=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[h]}else f=T(a,h),a=a[h];f&&!s&&(_[i]=a)}}return a}},7296:function(e,t,n){"use strict";var r=n(210)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},1044:function(e,t,n){"use strict";var r=n(4429),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},8185:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},1405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},8824:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(8612);e.exports=i.call(r,o)},4861:function(e){!function(){function t(e,t,n){var r;document.createEvent?(r=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):document.createEventObject&&((r=document.createEventObject()).eventType=t),r.state=n,r.eventName=t,e.dispatchEvent?e.dispatchEvent(r):e.fireEvent&&htmlEvents["on"+t]?e.fireEvent("on"+r.eventType,r):e[t]?e[t]():e["on"+t]&&e["on"+t]()}function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&htmlEvents["on"+t]?e.attachEvent("on"+t,n):e["on"+t]=n}function r(){return"undefined"!=typeof window&&window.history&&"pushState"in window.history}if(r()){var o=window.history,i=o.pushState;o.pushState=function(e){var n=i.apply(o,arguments);return t(window,"pushstate",e),t(window,"changestate",e),n};var a=o.replaceState;o.replaceState=function(e){var n=a.apply(o,arguments);return t(window,"replacestate",e),t(window,"changestate",e),n},n(window,"popstate",(function(e){t(window,"changestate",e.state)}))}var s={isHistorySupported:r,addEventListener:n,removeEventListener:function(e,t,n){e.removeventListener?e.removeEventListener(t,n,!1):e.detachEvent&&htmlEvents["on"+t]?e.detachEvent("on"+t,n):e["on"+t]=null},triggerEvent:t};r()&&(window.HistoryEvents=s),e.exports=s}()},6337:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var l=o(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=o(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function l(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function d(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?o(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function v(e){return e&&9===e.nodeType}}()},1309:function(e,t,n){var r=n(479),o=n(3925);e.exports=r,e.exports.murmur3=r,e.exports.murmur2=o},3925:function(e){e.exports=function(e,t){for(var n,r=e.length,o=t^r,i=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(n>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(i)))+((1540483477*(o>>>16)&65535)<<16)}return o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16),(o^=o>>>15)>>>0}},479:function(e){e.exports=function(e,t){var n,r,o,i,a,s,c,u;for(n=3&e.length,r=e.length-n,o=t,a=3432918353,s=461845907,u=0;u>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(c=0,n){case 3:c^=(255&e.charCodeAt(u+2))<<16;case 2:c^=(255&e.charCodeAt(u+1))<<8;case 1:o^=c=(65535&(c=(c=(65535&(c^=255&e.charCodeAt(u)))*a+(((c>>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,O=Array.prototype.join,k=Array.prototype.slice,T=Math.floor,x="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===C||"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-T(-e):T(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var B=n(4654),N=B.custom,F=H(N)?N:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function M(e){return b.call(String(e),/"/g,""")}function V(e){return!("[object Array]"!==z(e)||A&&"object"==typeof e&&A in e)}function U(e){return!("[object RegExp]"!==z(e)||A&&"object"==typeof e&&A in e)}function H(e){if(C)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var c=r||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var v=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof v&&"symbol"!==v)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return X(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return w?j(t,S):S}if("bigint"==typeof t){var T=String(t)+"n";return w?j(t,T):T}var P=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=P&&P>0&&"object"==typeof t)return V(t)?"[Array]":"[Object]";var N=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=O.call(Array(e.indent+1)," ")}return{base:n,prev:O.call(Array(t+1),n)}}(c,o);if(void 0===s)s=[];else if(G(s,t)>=0)return"[Circular]";function W(t,n,r){if(n&&(s=k.call(s)).push(n),r){var i={depth:c.depth};return q(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if("function"==typeof t&&!U(t)){var J=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,W);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(ee.length>0?" { "+O.call(ee,", ")+" }":"")}if(H(t)){var te=C?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||C?te:K(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+_.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe"}if(V(t)){if(0===t.length)return"[]";var ie=Z(t,W);return N&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+Q(ie,N)+"]":"[ "+O.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||A&&"object"==typeof e&&A in e)}(t)){var ae=Z(t,W);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+O.call(ae,", ")+" }":"{ ["+String(t)+"] "+O.call(E.call("[cause]: "+W(t.cause),ae),", ")+" }"}if("object"==typeof t&&v){if(F&&"function"==typeof t[F]&&B)return B(t,{depth:P-o});if("symbol"!==v&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(W(n,t,!0)+" => "+W(e,t))})),Y("Map",i.call(t),se,N)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return l&&l.call(t,(function(e){ce.push(W(e,t))})),Y("Set",u.call(t),ce,N)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==z(e)||A&&"object"==typeof e&&A in e)}(t))return K(W(Number(t)));if(function(e){if(!e||"object"!=typeof e||!x)return!1;try{return x.call(e),!0}catch(e){}return!1}(t))return K(W(x.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||A&&"object"==typeof e&&A in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==z(e)||A&&"object"==typeof e&&A in e)}(t))return K(W(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==z(e)||A&&"object"==typeof e&&A in e)}(t)&&!U(t)){var ue=Z(t,W),le=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!le&&A&&Object(t)===t&&A in t?y.call(z(t),8,-1):pe?"Object":"",de=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+O.call(E.call([],fe||[],pe||[]),": ")+"] ":"");return 0===ue.length?de+"{}":N?de+"{"+Q(ue,N)+"}":de+"{ "+O.call(ue,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return W.call(e,t)}function z(e){return v.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return X(y.call(e,0,t.maxStringLength),t)+r}return L(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function Y(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):O.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+O.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var o=0;o-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var p=0;n.depth>0&&null!==(s=a.exec(i))&&p=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,p=parseInt(l,10);n.parseArrays||""!==l?!isNaN(p)&&s!==l&&String(p)===l&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(a=[])[p]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,p),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(g=i(g)?[g]:g);var w=o.call(u,v);w&&"combine"===t.duplicates?u[v]=r.combine(u[v],g):w&&"last"!==t.duplicates||(u[v]=g)}return u}(e,n):e,p=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d0?T.join(",")||null:void 0}];else if(c(g))A=g;else{var D=Object.keys(T);A=m?D.sort(m):D}var j=f?n.replace(/\./g,"%2E"):n,B=a&&c(T)&&1===T.length?j+"[]":j;if(s&&c(T)&&0===T.length)return B+"[]";for(var N=0;N0?w+b:""}},2769:function(e,t,n){"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;rthis._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(o(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=q(t,e),this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback;return this._globalOptions.breadcrumbCallback=q(t,e),this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=q(t,e),this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!!this._hasJSON&&(!!this._globalServer||(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),!1))},afterLoad:function(){var e=U.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(H){if(!(e=w({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},e)).eventId)throw new a("Missing eventId");if(!e.dsn)throw new a("Missing DSN");var t=encodeURIComponent,n=[];for(var r in e)if("user"===r){var o=e.user;o.name&&n.push("name="+t(o.name)),o.email&&n.push("email="+t(o.email))}else n.push(t(r)+"="+t(e[r]));var i=this._getGlobalServer(this._parseDSN(e.dsn)),s=H.createElement("script");s.async=!0,s.src=i+"/api/embed/error-page/?"+n.join("&"),(H.head||H.body).appendChild(s)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout((function(){e._ignoreOnError-=1}))},_triggerEvent:function(e,t){var n,r;if(this._hasDocument){for(r in t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),H.createEvent?(n=H.createEvent("HTMLEvents")).initEvent(e,!0,!0):(n=H.createEventObject()).eventType=e,t)E(t,r)&&(n[r]=t[r]);if(H.createEvent)H.dispatchEvent(n);else try{H.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(n){if(t._keypressTimeout=null,t._lastCapturedEvent!==n){var r;t._lastCapturedEvent=n;try{r=x(n.target)}catch(e){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},_keypressEventHandler:function(){var e=this;return function(t){var n;try{n=t.target}catch(e){return}var r=n&&n.tagName;if(r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)){var o=e._keypressTimeout;o||e._breadcrumbEventHandler("input")(t),clearTimeout(o),e._keypressTimeout=setTimeout((function(){e._keypressTimeout=null}),1e3)}}},_captureUrlChange:function(e,t){var n=C(this._location.href),r=C(t),o=C(e);this._lastHref=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===o.protocol&&n.host===o.host&&(e=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_patchFunctionToString:function(){var e=this;e._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return"function"==typeof this&&this.__raven__?e._originalFunctionToString.apply(this.__orig__,arguments):e._originalFunctionToString.apply(this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns;function n(t){return function(n,r){for(var o=new Array(arguments.length),i=0;i"}}},a)),t.apply?t.apply(this,o):t(o[0],o[1])}}var r=this._globalOptions.autoBreadcrumbs;function o(n){var o=U[n]&&U[n].prototype;o&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(A(o,"addEventListener",(function(t){return function(o,i,a,s){try{i&&i.handleEvent&&(i.handleEvent=e.wrap({mechanism:{type:"instrument",data:{target:n,function:"handleEvent",handler:i&&i.name||""}}},i.handleEvent))}catch(e){}var c,u,l;return r&&r.dom&&("EventTarget"===n||"Node"===n)&&(u=e._breadcrumbEventHandler("click"),l=e._keypressEventHandler(),c=function(e){if(e){var t;try{t=e.type}catch(e){return}return"click"===t?u(e):"keypress"===t?l(e):void 0}}),t.call(this,o,e.wrap({mechanism:{type:"instrument",data:{target:n,function:"addEventListener",handler:i&&i.name||""}}},i,c),a,s)}}),t),A(o,"removeEventListener",(function(e){return function(t,n,r,o){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(e){}return e.call(this,t,n,r,o)}}),t))}A(U,"setTimeout",n,t),A(U,"setInterval",n,t),U.requestAnimationFrame&&A(U,"requestAnimationFrame",(function(t){return function(n){return t(e.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:t&&t.name||""}}},n))}}),t);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a=0;a"}}},n)}))}if(t.xhr&&"XMLHttpRequest"in U){var o=U.XMLHttpRequest&&U.XMLHttpRequest.prototype;A(o,"open",(function(t){return function(n,r){return g(r)&&-1===r.indexOf(e._globalKey)&&(this.__raven_xhr={method:n,url:r,status_code:null}),t.apply(this,arguments)}}),n),A(o,"send",(function(t){return function(){var n=this;function o(){if(n.__raven_xhr&&4===n.readyState){try{n.__raven_xhr.status_code=n.status}catch(e){}e.captureBreadcrumb({type:"http",category:"xhr",data:n.__raven_xhr})}}for(var i=["onload","onerror","onprogress"],a=0;a"}}},t,o)})):n.onreadystatechange=o,t.apply(this,arguments)}}),n)}t.xhr&&R()&&A(U,"fetch",(function(t){return function(){for(var n=new Array(arguments.length),r=0;r2?arguments[2]:void 0;return n&&e._captureUrlChange(e._lastHref,n+""),t.apply(this,arguments)}};A(U.history,"pushState",c,n),A(U.history,"replaceState",c,n)}if(t.console&&"console"in U&&console.log){var u=function(t,n){e.captureBreadcrumb({message:t,level:n.level,category:"console"})};b(["debug","info","warn","error","log"],(function(e,t){F(console,t,u)}))}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],n=e[1],r=e[2];t[n]=r}},_restoreConsole:function(){for(var e in this._originalConsoleMethods)this._originalConsole[e]=this._originalConsoleMethods[e]},_drainPlugins:function(){var e=this;b(this._plugins,(function(t,n){var r=n[0],o=n[1];r.apply(e,[e].concat(o))}))},_parseDSN:function(e){var t=M.exec(e),n={},r=7;try{for(;r--;)n[L[r]]=t[r]||""}catch(t){throw new a("Invalid DSN: "+e)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new a("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(e,t){(t=t||{}).mechanism=t.mechanism||{type:"onerror",handled:!1},this._ignoreOnError||this._handleStackInfo(e,t)},_handleStackInfo:function(e,t){var n=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,n,t)},_prepareFrames:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(b(e.stack,(function(t,o){var i=n._normalizeFrame(o,e.url);i&&r.push(i)})),t&&t.trimHeadFrames))for(var o=0;o0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),e=this._sanitizeData(e),Object.keys(e).forEach((function(t){(null==e[t]||""===e[t]||y(e[t]))&&delete e[t]})),v(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!y(e)&&(v(t.shouldSendCallback)&&!t.shouldSendCallback(e)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",e):"number"==typeof t.sampleRate?Math.random()1&&o+3*n.length+t.length>=80);)n.push(t),o+=t.length,e=e.parentNode;return n.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(e,t){return!v(e,t)&&(e=e.values[0],t=t.values[0],e.type===t.type&&e.value===t.value&&(n=e.stacktrace,r=t.stacktrace,(!i(n)||!i(r))&&g(e.stacktrace,t.stacktrace)));var n,r},isSameStacktrace:g,parseUrl:function(e){if("string"!=typeof e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}},fill:function(e,t,n,r){if(null!=e){var o=e[t];e[t]=n(o),e[t].__raven__=!0,e[t].__orig__=o,r&&r.push([e,t,o])}},safeJoin:function(e,t){if(!c(e))return"";for(var n=[],r=0;ro?e(t,n-1):i},serializeKeysForMessage:function(e,t){if("number"==typeof e||"string"==typeof e)return e.toString();if(!Array.isArray(e))return"";if(0===(e=e.filter((function(e){return"string"==typeof e}))).length)return"[object has no keys]";if(t="number"!=typeof t?40:t,e[0].length>=t)return e[0];for(var n=e.length;n>0;n--){var r=e.slice(0,n).join(", ");if(!(r.length>t))return n===e.length?r:r+"…"}return""},sanitize:function(e,t){if(!c(t)||c(t)&&0===t.length)return e;var n,o=d(t);try{n=JSON.parse(r(e))}catch(t){return e}return function e(t){return c(t)?t.map((function(t){return e(t)})):a(t)?Object.keys(t).reduce((function(n,r){return o.test(r)?n[r]="********":n[r]=e(t[r]),n}),{}):t}(n)}}},9026:function(e,t,n){var r=n(6862),o={collectWindowErrors:!0,debug:!1},i="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},a=[].slice,s="?",c=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function u(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var e,t,n=[],l=null,p=null,f=null;function d(e,t){var r=null;if(!t||o.collectWindowErrors){for(var i in n)if(n.hasOwnProperty(i))try{n[i].apply(null,[e].concat(a.call(arguments,2)))}catch(e){r=e}if(r)throw r}}function h(t,n,i,a,l){var p=r.isErrorEvent(l)?l.error:l,h=r.isErrorEvent(t)?t.message:t;if(f)o.computeStackTrace.augmentStackTraceWithInitialElement(f,n,i,h),v();else if(p&&r.isError(p))d(o.computeStackTrace(p),!0);else{var g,m={url:n,line:i,column:a},y=void 0;if("[object String]"==={}.toString.call(h))(g=h.match(c))&&(y=g[1],h=g[2]);m.func=s,d({name:y,message:h,url:u(),stack:[m]},!0)}return!!e&&e.apply(this,arguments)}function v(){var e=f,t=l;l=null,f=null,p=null,d.apply(null,[e,!1].concat(t))}function g(e,t){var n=a.call(arguments,1);if(f){if(p===e)return;v()}var r=o.computeStackTrace(e);if(f=r,p=e,l=n,setTimeout((function(){p===e&&v()}),r.incomplete?2e3:0),!1!==t)throw e}return g.subscribe=function(r){!function(){if(t)return;e=i.onerror,i.onerror=h,t=!0}(),n.push(r)},g.unsubscribe=function(e){for(var t=n.length-1;t>=0;--t)n[t]===e&&n.splice(t,1)},g.uninstall=function(){!function(){if(!t)return;i.onerror=e,t=!1,e=void 0}(),n=[]},g}(),o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,n,r,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=e.stack.split("\n"),f=[],d=(/^(.*) is undefined$/.exec(e.message),0),h=p.length;d eval")>-1&&(t=c.exec(n[3]))?(n[3]=t[1],n[4]=t[2],n[5]=null):0!==d||n[5]||void 0===e.columnNumber||(f[0].column=e.columnNumber+1),r={url:n[3],func:n[1]||s,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!r.func&&r.line&&(r.func=s),r.url&&"blob:"===r.url.substr(0,5)){var g=new XMLHttpRequest;if(g.open("GET",r.url,!1),g.send(null),200===g.status){var m=g.responseText||"",y=(m=m.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(y){var b=y[1];"~"===b.charAt(0)&&(b=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+b.slice(1)),r.url=b.slice(0,-4)}}}f.push(r)}return f.length?{name:e.name,message:e.message,url:u(),stack:f}:null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=s),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function n(e,i){for(var a,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,p=[],f={},d=!1,h=n.caller;h&&!d;h=h.caller)if(h!==r&&h!==o.report){if(c={url:null,func:s,line:null,column:null},h.name?c.func=h.name:(a=l.exec(h.toString()))&&(c.func=a[1]),void 0===c.func)try{c.func=a.input.substring(0,a.input.indexOf("{"))}catch(e){}f[""+h]?d=!0:f[""+h]=!0,p.push(c)}i&&p.splice(0,i);var v={name:e.name,message:e.message,url:u(),stack:p};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function r(t,r){var i=null;r=null==r?0:+r;try{if(i=e(t))return i}catch(e){if(o.debug)throw e}try{if(i=n(t,r+1))return i}catch(e){if(o.debug)throw e}return{name:t.name,message:t.message,url:u()}}return r.augmentStackTraceWithInitialElement=t,r.computeStackTraceFromStackProp=e,r}(),e.exports=o},2264:function(e,t){function n(e,t){for(var n=0;n0){var s=n(r,this);~s?r.splice(s+1):r.push(this),~s?o.splice(s,1/0,i):o.push(i),~n(r,a)&&(a=t.call(this,i,a))}else r.push(a);return null==e?a instanceof Error?function(e){var t={stack:e.stack,message:e.message,name:e.name};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(a):a:e.call(this,i,a)}}(e.exports=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)}).getSerialize=r},705:function(e){function t(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function n(e,n,r,o,i,a){return t((s=t(t(n,e),t(o,a)))<<(c=i)|s>>>32-c,r);var s,c}function r(e,t,r,o,i,a,s){return n(t&r|~t&o,e,t,i,a,s)}function o(e,t,r,o,i,a,s){return n(t&o|r&~o,e,t,i,a,s)}function i(e,t,r,o,i,a,s){return n(t^r^o,e,t,i,a,s)}function a(e,t,r,o,i,a,s){return n(r^(t|~o),e,t,i,a,s)}function s(e,n){var s,c,u,l,p;e[n>>5]|=128<>>9<<4)]=n;var f=1732584193,d=-271733879,h=-1732584194,v=271733878;for(s=0;s>5]>>>t%32&255);return n}function u(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return o}function p(e){return unescape(encodeURIComponent(e))}function f(e){return function(e){return c(s(u(e),8*e.length))}(p(e))}function d(e,t){return function(e,t){var n,r,o=u(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=s(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=s(i.concat(u(t)),512+8*t.length),c(s(a.concat(r),640))}(p(e),p(t))}e.exports=function(e,t,n){return t?n?d(t,e):l(d(t,e)):n?f(e):l(f(e))}},6702:function(){window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}},2018:function(e,t,n){e.exports=function(){"use strict";var e=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},l.prototype.connect_=function(){t&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},l.prototype.disconnect_=function(){t&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},l.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),c.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null;var p=function(e,t){for(var n=0,r=Object.keys(t);n0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+v(e["border-"+n+"-width"])}),0)}function m(e){for(var t={},n=0,r=["top","right","bottom","left"];n0};var I="undefined"!=typeof WeakMap?new WeakMap:new e,C=function(e){if(!(this instanceof C))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=l.getInstance(),n=new P(e,t,this);I.set(this,n)};return["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){return(t=I.get(this))[e].apply(t,arguments);var t}})),void 0!==r.ResizeObserver?r.ResizeObserver:C}()},7771:function(e,t,n){"use strict";var r=n(210),o=n(2296),i=n(1044)(),a=n(7296),s=n(4453),c=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(u=!1)}return(r||u||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},7478:function(e,t,n){"use strict";var r=n(210),o=n(1924),i=n(631),a=n(4453),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(c){if(t)return f(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(c){if(t)return h(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):c?(t||(t=new c),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},3249:function(e,t,n){var r=n(5119);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},1485:function(e,t,n){var r=n(8262);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},2238:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",p="model",f="name",d="type",h="vendor",v="version",g="architecture",m="console",y="mobile",b="tablet",w="smarttv",_="wearable",S="embedded",E="Amazon",O="Apple",k="ASUS",T="BlackBerry",x="Browser",P="Chrome",I="Firefox",C="Google",A="Huawei",R="LG",D="Microsoft",j="Motorola",B="Opera",N="Samsung",F="Sharp",L="Sony",M="Xiaomi",V="Zebra",U="Facebook",H="Chromium OS",W="Mac OS",q=function(e){for(var t={},n=0;n0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r2&&(e[p]="iPad",e[d]=b),e},this.getEngine=function(){var e={};return e[f]=i,e[v]=i,J.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=i,e[v]=i,J.call(e,r,w.os),_&&!e[f]&&m&&"Unknown"!=m.platform&&(e[f]=m.platform.replace(/chrome os/i,H).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>350?X(e,350):e,this},this.setUA(r),this};Q.VERSION="1.0.36",Q.BROWSER=q([f,v,l]),Q.CPU=q([g]),Q.DEVICE=q([p,h,d,m,y,w,b,_,S]),Q.ENGINE=Q.OS=q([f,v]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):n.amdO?(r=function(){return Q}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=Q);var Z=typeof o!==s&&(o.jQuery||o.Zepto);if(Z&&!Z.ua){var ee=new Q;Z.ua=ee.getResult(),Z.ua.get=function(){return ee.getUA()},Z.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Z.ua[n]=t[n]}}}("object"==typeof window?window:this)},2511:function(e,t,n){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,u=1,l=26,p=38,f=700,d=72,h=128,v="-",g=/^xn--/,m=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,_=Math.floor,S=String.fromCharCode;function E(e){throw new RangeError(b[e])}function O(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function k(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+O((e=e.replace(y,".")).split("."),t).join(".")}function T(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)})).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,n){var r=0;for(e=n?_(e/f):e>>1,e+=_(e/t);e>w*l>>1;r+=c)e=_(e/w);return _(r+(w+1)*e/(e+p))}function C(e){var t,n,r,o,i,a,p,f,g,m,y,b=[],w=e.length,S=0,O=h,k=d;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r=128&&E("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=w&&E("invalid-input"),((f=(y=e.charCodeAt(o++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:c)>=c||f>_((s-S)/a))&&E("overflow"),S+=f*a,!(f<(g=p<=k?u:p>=k+l?l:p-k));p+=c)a>_(s/(m=c-g))&&E("overflow"),a*=m;k=I(S-i,t=b.length+1,0==i),_(S/t)>s-O&&E("overflow"),O+=_(S/t),S%=t,b.splice(S++,0,O)}return x(b)}function A(e){var t,n,r,o,i,a,p,f,g,m,y,b,w,O,k,x=[];for(b=(e=T(e)).length,t=h,n=0,i=d,a=0;a=t&&y_((s-n)/(w=r+1))&&E("overflow"),n+=(p-t)*w,t=p,a=0;as&&E("overflow"),y==t){for(f=n,g=c;!(f<(m=g<=i?u:g>=i+l?l:g-i));g+=c)k=f-m,O=c-m,x.push(S(P(m+k%O,0))),f=_(k/O);x.push(S(P(f,0))),i=I(n,w,r==o),n=0,++r}++n,++t}return x.join("")}a={version:"1.4.1",ucs2:{decode:T,encode:x},decode:C,encode:A,toASCII:function(e){return k(e,(function(e){return m.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return k(e,(function(e){return g.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},8575:function(e,t,n){"use strict";var r=n(2511);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),l=["%","/","?",";","#"].concat(u),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(129);function y(e,t,n){if(e&&"object"==typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?R+="x":R+=A[D];if(!R.match(f)){var B=I.slice(0,T),N=I.slice(T+1),F=A.match(d);F&&(B.push(F[1]),N.unshift(F[2])),N.length&&(y="/"+N.join(".")+y),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+L,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!h[_])for(T=0,C=u.length;T0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=S.slice(-1)[0],k=(n.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,T=0,x=S.length;x>=0;x--)"."===(O=S[x])?S.splice(x,1):".."===O?(S.splice(x,1),T++):T&&(S.splice(x,1),T--);if(!w&&!_)for(;T--;T)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),k&&"/"!==S.join("/").substr(-1)&&S.push("");var P,I=""===S[0]||S[0]&&"/"===S[0].charAt(0);E&&(n.hostname=I?"":S.length?S.shift():"",n.host=n.hostname,(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname));return(w=w||n.host&&S.length)&&!I&&S.unshift(""),S.length>0?n.pathname=S.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.Qc=y},3876:function(e,t,n){e.exports=n(6253)},9661:function(e){!function(t){var n=-1,r={onVisible:function(e){var t=r.isSupported();if(!t||!r.hidden())return e(),t;var n=r.change((function(t,o){r.hidden()||(r.unbind(n),e())}));return n},change:function(e){if(!r.isSupported())return!1;var t=n+=1;return r._callbacks[t]=e,r._listen(),t},unbind:function(e){delete r._callbacks[e]},afterPrerendering:function(e){var t=r.isSupported(),n="prerender";if(!t||n!=r.state())return e(),t;var o=r.change((function(t,i){n!=i&&(r.unbind(o),e())}));return o},hidden:function(){return!(!r._doc.hidden&&!r._doc.webkitHidden)},state:function(){return r._doc.visibilityState||r._doc.webkitVisibilityState||"visible"},isSupported:function(){return void 0!==r._doc.hidden||void 0!==r._doc.webkitHidden},_doc:document||{},_callbacks:{},_change:function(e){var t=r.state();for(var n in r._callbacks)r._callbacks[n].call(r._doc,e,t)},_listen:function(){if(!r._init){var e="visibilitychange";r._doc.webkitVisibilityState&&(e="webkit"+e);var t=function(){r._change.apply(r,arguments)};r._doc.addEventListener?r._doc.addEventListener(e,t):r._doc.attachEvent(e,t),r._init=!0}}};e.exports?e.exports=r:t.Visibility=r}(this)},6253:function(e,t,n){!function(t){var r=-1,o=function(e){return e.every=function(t,n,o){e._time(),o||(o=n,n=null);var i=r+=1;return e._timers[i]={visible:t,hidden:n,callback:o},e._run(i,!1),e.isSupported()&&e._listen(),i},e.stop=function(t){return!!e._timers[t]&&(e._stop(t),delete e._timers[t],!0)},e._timers={},e._time=function(){e._timed||(e._timed=!0,e._wasHidden=e.hidden(),e.change((function(){e._stopRun(),e._wasHidden=e.hidden()})))},e._run=function(n,r){var o,i=e._timers[n];if(e.hidden()){if(null===i.hidden)return;o=i.hidden}else o=i.visible;var a=function(){i.last=new Date,i.callback.call(t)};if(r){var s=new Date-i.last;o>s?i.delay=setTimeout((function(){i.id=setInterval(a,o),a()}),o-s):(i.id=setInterval(a,o),a())}else i.id=setInterval(a,o)},e._stop=function(t){var n=e._timers[t];clearInterval(n.id),clearTimeout(n.delay),delete n.id,delete n.delay},e._stopRun=function(t){var n=e.hidden(),r=e._wasHidden;if(n&&!r||!n&&r)for(var o in e._timers)e._stop(o),e._run(o,!n)},e};e.exports?e.exports=o(n(9661)):o(t.Visibility||n(9661))}(window)},8726:function(e){e.exports=decodeURIComponent("%3Cdiv%20class%3D%22column%20is-banner-id%22%3E%23%7Bsymbol%7D%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-recording-flag%22%3E0%25%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-inview-time%22%3E0.00%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-viewed-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-nohover-time%22%3E0.00%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-nohover-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-reloaded-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%3E%3Cpath%20d%3D%22M14%208c-.609%200-.898.43-1%20.883C12.635%2010.516%2011.084%2013%208%2013a4.947%204.947%200%200%201-2.114-.474L6.414%2012c.359-.344.586-.555.586-1%200-.523-.438-1-1-1H3c-.609%200-1%20.492-1%201v3c0%20.541.428%201%201%201%20.484%200%20.688-.273%201-.594l.408-.407A6.933%206.933%200%200%200%208%2015c4.99%200%207-4.75%207-5.938C15%208.336%2014.469%208%2014%208zM3%207.117C3.365%205.485%204.916%203%208%203c.757%200%201.473.171%202.114.473L9.586%204C9.227%204.344%209%204.555%209%205c0%20.523.438%201%201%201h3c.609%200%201-.492%201-1V2c0-.541-.428-1-1-1-.484%200-.688.273-1%20.594l-.408.407A6.933%206.933%200%200%200%208%201C3.01%201%201%205.75%201%206.938%201%207.664%201.531%208%202%208c.609%200%20.898-.43%201-.883z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-direction-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Cpath%20d%3D%22M15%206H8V3c0-.484-.375-1-1-1-.461%200-.695.287-1%20.54L.625%207C.242%207.313%200%207.555%200%208s.242.688.625%201L6%2013.46c.305.253.539.54%201%20.54.625%200%201-.516%201-1v-3h7c.55%200%201-.45%201-1V7c0-.55-.45-1-1-1z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E")},4456:function(e){e.exports=decodeURIComponent("%3Cdiv%20class%3D%22inview-timers__row%20is-widget-header%22%3E%3Cdiv%20class%3D%22column%20is-title%20is-banner-id%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M8%2021c-1.66%200-3%201.34-3%203s1.34%203%203%203%203-1.34%203-3-1.34-3-3-3zM8%209c-1.66%200-3%201.34-3%203s1.34%203%203%203%203-1.34%203-3-1.34-3-3-3zm0%2024.33a2.67%202.67%200%201%200-.001%205.339A2.67%202.67%200%200%200%208%2033.33zM14%2038h28v-4H14v4zm0-12h28v-4H14v4zm0-16v4h28v-4H14z%22%2F%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h48v48H0z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23333%22%20fill-rule%3D%22evenodd%22%20d%3D%22M17%209C8%209%204%2016%204%2016s4%207%2013%207%2013-7%2013-7-4-7-13-7Zm0%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208Zm0-1a3%203%200%201%200%200-6%203%203%200%200%200%200%206Zm0-2a1%201%200%201%200%200-2%201%201%200%200%200%200%202Z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23000%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20data-name%3D%22171-Time%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2215%22%20class%3D%22cls-1%22%2F%3E%3Cpath%20d%3D%22M16%205v11l-7%207%22%20class%3D%22cls-1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xml%3Aspace%3D%22preserve%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23000%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20data-name%3D%22171-Time%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2215%22%20class%3D%22cls-1%22%2F%3E%3Cpath%20d%3D%22M16%205v11l-7%207%22%20class%3D%22cls-1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xml%3Aspace%3D%22preserve%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%3E%3Cpath%20d%3D%22M14%208c-.609%200-.898.43-1%20.883C12.635%2010.516%2011.084%2013%208%2013a4.947%204.947%200%200%201-2.114-.474L6.414%2012c.359-.344.586-.555.586-1%200-.523-.438-1-1-1H3c-.609%200-1%20.492-1%201v3c0%20.541.428%201%201%201%20.484%200%20.688-.273%201-.594l.408-.407A6.933%206.933%200%200%200%208%2015c4.99%200%207-4.75%207-5.938C15%208.336%2014.469%208%2014%208zM3%207.117C3.365%205.485%204.916%203%208%203c.757%200%201.473.171%202.114.473L9.586%204C9.227%204.344%209%204.555%209%205c0%20.523.438%201%201%201h3c.609%200%201-.492%201-1V2c0-.541-.428-1-1-1-.484%200-.688.273-1%20.594l-.408.407A6.933%206.933%200%200%200%208%201C3.01%201%201%205.75%201%206.938%201%207.664%201.531%208%202%208c.609%200%20.898-.43%201-.883z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Cpath%20d%3D%22M15%206H8V3c0-.484-.375-1-1-1-.461%200-.695.287-1%20.54L.625%207C.242%207.313%200%207.555%200%208s.242.688.625%201L6%2013.46c.305.253.539.54%201%20.54.625%200%201-.516%201-1v-3h7c.55%200%201-.45%201-1V7c0-.55-.45-1-1-1z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3C%2Fdiv%3E")},8717:function(e){e.exports=decodeURIComponent("%3Cspan%20class%3D%22inviewtime-sticker__symbol%22%3E%23%7Bsymbol%7D%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__inview%22%3E0%25%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__inview-timer%22%3E0.00%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__nohovertimer%22%3E0.00%3C%2Fspan%3E")},2480:function(){},4654:function(){},2239:function(e){"use strict";e.exports=JSON.parse('{"sentryUrl":"","minLoggerLevel":400,"projectName":"sspjs","projectVersion":"38.56.28"}')},7852:function(e){"use strict";e.exports=JSON.parse('{"RQ_COUNT":null,"COLLECT_ANALITYCS_ON_HISTORY_CHANGE":true,"RESET_SYNC_BANNERS_STATE_ON_HISTORY_CHANGE":true,"STYLE_NONCE_VALUE":"","SCRIPT_NONCE_VALUE":""}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.amdO={},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return"js/chunks/"+{386:"e17d8b78eb503e7a67be",689:"62b1cb170a93905fa89a",723:"eb926c6b5083c82eae18"}[e]+".js"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="SSPjs:",o.l=function(n,r,i,a){if(e[n])e[n].push(r);else{var s,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;lwindow.screen.logicalXDPI?e=window.screen.systemXDPI/window.screen.logicalXDPI:void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e),size:{height:window.screen.height,width:window.screen.width}},system:{name:x(),version:P()}};var e},C=window||o.g,A=function(){function e(e){void 0===e&&(e=200);var t=this;this.watch=function(){try{try{t.parallelWatch()}catch(e){t._errorHandler(e)}try{t.serialWatch()}catch(e){t._errorHandler(e)}setTimeout(t.watch,t._delay)}catch(e){t._errorHandler(e)}},this._delay=e,this._serialStackPointer=0,this._parallelStack={},this._serialStack={},this.errorHandler=null,this.watch()}return e.prototype.subscribe=function(e){var t=void 0===e?{}:e,n=t.callback,r=void 0===n?function(){return null}:n,o=t.context,i=void 0===o?C:o,a=t.ID,s=void 0===a?this._generateID():a,c=t.params,u=void 0===c?[]:c;return this.parallelSubscribe({ID:s,callback:r,context:i,params:u})},e.prototype.parallelSubscribe=function(e){var t=e.callback,n=void 0===t?function(){return null}:t,r=e.context,o=void 0===r?C:r,i=e.ID,a=void 0===i?this._generateID():i,s=e.params,c=void 0===s?[]:s;return this._parallelStack[a]={callback:n,context:o,params:c},a},e.prototype.serialSubscribe=function(e){var t=e.callback,n=void 0===t?function(){return null}:t,r=e.context,o=void 0===r?C:r,i=e.ID,a=void 0===i?this._generateID():i,s=e.params,c=void 0===s?[]:s;return this._serialStack[a]={callback:n,context:o,params:c},a},e.prototype.unsubscribe=function(e){return this.parallelUnsubscribe(e)},e.prototype.parallelUnsubscribe=function(e){return!("string"!=typeof e||!this._parallelStack[e])&&(this._parallelStack[e]=null,delete this._parallelStack[e],!0)},e.prototype.serialUnsubscribe=function(e){return!("string"!=typeof e||!this._serialStack[e])&&(this._serialStack[e]=null,delete this._serialStack[e],!0)},e.prototype.parallelWatch=function(){try{if(this._parallelStack&&"object"==typeof this._parallelStack&&Object.keys(this._parallelStack).length>0)for(var e in this._parallelStack)if(this._parallelStack.hasOwnProperty(e))try{if(e&&"string"==typeof e){var t=this._parallelStack[e];t&&"object"==typeof t&&t.context&&t.callback&&t.params&&"object"==typeof t.context&&"function"==typeof t.callback&&Array.isArray(t.params)&&t.callback.apply(t.context,t.params)}}catch(e){this._errorHandler(e)}}catch(e){this._errorHandler(e)}},e.prototype.serialWatch=function(){try{if(this._serialStack&&"object"==typeof this._serialStack){var e=Object.keys(this._serialStack);if(e&&e.length>0){this._serialStackPointer>=e.length&&(this._serialStackPointer=0);var t=e[this._serialStackPointer];if(this._serialStackPointer++,this._serialStack.hasOwnProperty(t)&&t&&"string"==typeof t){var n=this._serialStack[t];n&&"object"==typeof n&&n.context&&n.callback&&n.params&&"object"==typeof n.context&&"function"==typeof n.callback&&Array.isArray(n.params)&&n.callback.apply(n.context,n.params)}}}}catch(e){this._errorHandler(e)}},e.prototype._errorHandler=function(e){this.errorHandler&&this.errorHandler(e)},e.prototype._generateID=function(){return"x-"+(new Date).getTime()+"-"+Math.round(1e6*Math.random())},e}(),R=A,D=function(){function e(){this._watchers={}}return e.getInstance=function(){return e._instance||(e._instance=new e),e._instance},e.prototype.init=function(e){void 0===e&&(e=200);var t=this._watchers[e];return t||(t=new R(e),this._watchers[e]=t),t},e.prototype.remove=function(e){var t=this;Object.keys(this._watchers).forEach((function(n){t._watchers[n]===e&&delete t._watchers[n]}))},e}(),j=D,B=o(8341),N=o.n(B),F=o(8214),L=o.n(F),M=j.getInstance().init(200),V={600:"Some uncaught error",503:"Attempt reattach the scripts to the non-object",502:"Block doesn't exist",501:"Banner place doesn't exist",500:"Some caught error",401:"Deprecated call",400:"Some warning",300:"Some info",200:"Some log",101:"Entry point",100:"Some debug",0:"Something"},U=function(){function e(){}return e.init=function(t){if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&(e.settings[n]=t[n]);return e.settings.sentryUrl&&N().config(e.settings.sentryUrl,{environment:"production",logger:"CSLogger",release:e.settings.projectVersion,sampleRate:.25}).install(),e},e.log=function(t,r,o){if("number"==typeof t&&t>0&&"string"==typeof r&&r.length>0){if(t=t||101,r=r||V[t]||"",o=o||{},t>=e.settings.minLoggerLevel){var i={date:new Date,location:location.href,projectName:e.settings.projectName,projectVersion:e.settings.projectVersion,stack:v(),user:I(),message:r,properties:o,status:t,aab_info:n()};e.arrLog.push(i)}return!0}return!1},e.statusLavelSentry=function(e){return"number"==typeof e&&e>0?e>=200&&e<300?"log":e>=300&&e<400?"info":e>=400&&e<500?"warning":e>=500?"error":"debug":""},e.statusLavelConsole=function(e){return"number"==typeof e&&e>0?e>=200&&e<300?"log":e>=300&&e<400?"info":e>=400&&e<500?"warn":e>=500?"error":"debug":""},e.showMessange=function(t,n){if("number"==typeof t&&t>0&&"string"==typeof n&&n.length>0){var r=e.statusLavelConsole(t);return"object"==typeof window&&"object"==typeof window.Debug&&"object"==typeof window.Debug.console&&"function"==typeof window.Debug.console[r]?window.Debug.console[r](n):"object"==typeof window&&"object"==typeof window.CSDebug&&"object"==typeof window.CSDebug.console&&"function"==typeof window.CSDebug.console[r]?window.CSDebug.console[r](n):"object"==typeof console&&"function"==typeof console[r]&&console[r](n),!0}return!1},e.watch=function(){if(e.arrLog.length>0&&e.arrLog.length<100){for(var t=0;t0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r0)for(var r=0;r"),cachedBlockShowLoggerFactory:Symbol.for("Factory"),EventEmitter:Symbol.for("EventEmitter"),Store:Symbol.for("Store"),Config:Symbol.for("Config"),ConfigOptions:Symbol.for("ConfigOptions"),UaParserService:Symbol.for("UaParserService"),RenderingWatcherFactory:Symbol.for("Factory"),CoveringWatcher:Symbol.for("CoveringWatcher"),BannerTemplatesStore:Symbol.for("BannerTemplatesStore"),SSPRequestParamsBuilderFactory:Symbol.for("SSPRequestParamsBuilderFactory"),SSPRequestParamsDirector:Symbol.for("SSPRequestParamsDirector"),VastPlaybackWrapper:Symbol.for("VastPlaybackWrapper"),PerformanceTemplatesWrapper:Symbol.for("PerformanceTemplatesWrapper")},K=function(e){this.t=e};K.prototype.inSingletonScope=function(){this.t.singleton=!0};var $=function(e){this.t=e};$.prototype.to=function(e){return this.t.object=e,new K(this.t)},$.prototype.toFactory=function(e){return this.t.factory=e,new K(this.t)},$.prototype.toValue=function(e){if(void 0===e)throw"cannot bind a value of type undefined";this.t.value=e};var Y=function(){this.i=new Map,this.o=[]};Y.prototype.bind=function(e){return new $(this.u(e))},Y.prototype.rebind=function(e){return this.remove(e).bind(e)},Y.prototype.remove=function(e){if(void 0===this.i.get(e))throw e.toString()+" was never bound";return this.i.delete(e),this},Y.prototype.get=function(e){var t=this.i.get(e);if(void 0===t)throw"nothing bound to "+e.toString();var n=t.object,r=t.factory,o=t.value,i=t.cache,a=t.singleton,s=function(e){return a&&void 0!==i?i:a?(t.cache=e(),t.cache):e()};if(void 0!==o)return o;if(void 0!==n)return s((function(){return new n}));if(void 0!==r)return s((function(){return r()}));throw"nothing is bound to "+e.toString()},Y.prototype.snapshot=function(){return this.o.push(new Map(this.i)),this},Y.prototype.restore=function(){return this.i=this.o.pop()||this.i,this},Y.prototype.u=function(e){if(void 0!==this.i.get(e))throw"object can only bound once: "+e.toString();var t={singleton:!1};return this.i.set(e,t),t};var Q=Symbol("NOCACHE");function Z(e,t,n,r,o){Object.defineProperty(e,t,{get:function(){var e=n.get(r);return-1===o.indexOf(Q)&&Object.defineProperty(this,t,{value:e,enumerable:!0}),e},configurable:!0,enumerable:!0})}var ee,te,ne=new Y,re=function(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return function(e,t,n){return function(r,o){Z(r,o,t,e,n)}}(t,e,n)}}(ne),oe=function(e){return function(t){for(var n,r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];return function(){return-1===r.indexOf(Q)&&void 0!==n||(n=e.get(t)),n}}}(ne),ie=function(e){return(e.context&&e.context.location||e.document&&e.document.location).href};!function(e){e.LIB="lib",e.FEED="feed",e.BLOCK="block",e.PAGE="page"}(ee||(ee={})),function(e){e.INIT="init",e.LOAD="load",e.PREDRAW="predraw",e.DRAW="draw",e.DRAW_COMPLETE="drawComplete",e.UNEXIST="unexist",e.SPA_UPDATE="spaUpdate",e.REAL_SHOW="realShow"}(te||(te={}));var ae,se,ce=o(2238),ue=o.n(ce),le=o(3876),pe=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},de=function(){function e(e,t){var n=(void 0===t?{}:t).subscribeOnInit,r=void 0===n||n,o=this;this._externalCallback=e,this._subscribed=!1,this._unregisterSpaPageUpdate=function(){o._eventEmitter.unregister(ee.PAGE,te.SPA_UPDATE,o._onUnload)},this._registerSpaPageUpdate=function(){var e,t;o._eventEmitter.register(((e={})[ee.PAGE]=((t={})[te.SPA_UPDATE]=o._onUnload,t),e))},this._onUnload=function(){o.unsubscribe(),o._externalCallback(!0)},r&&this.subscribe()}return e.prototype.subscribe=function(){this._subscribed||(this._subscribed=!0,this._setCommonListeners(),this._setMobileListeners(),this._registerSpaPageUpdate())},e.prototype.unsubscribe=function(){var t=this;this._subscribed&&(this._subscribed=!1,this._unregisterSpaPageUpdate(),e.events.forEach((function(e){return window.removeEventListener(e,t._onUnload)})),(0,le.unbind)(this._pageVisibilityListenerId))},e.prototype._setMobileListeners=function(){var e=this;"mobile"!==this._uaparser.getDevice().type&&"tablet"!==this._uaparser.getDevice().type||(this._pageVisibilityListenerId=(0,le.change)((function(){(0,le.hidden)()&&e._onUnload()})))},e.prototype._setCommonListeners=function(){var t=this;e.events.forEach((function(e){return window.addEventListener(e,t._onUnload,!1)}))},e.events=["unload","beforeunload","pagehide"],pe([re(J.EventEmitter),fe("design:type",Object)],e.prototype,"_eventEmitter",void 0),pe([re(J.UaParserService),fe("design:type",ue())],e.prototype,"_uaparser",void 0),e}(),he=de,ve=function(e,t,n){return e.includes("?")?"".concat(e,"&").concat(t,"=").concat(n):"".concat(e,"?").concat(t,"=").concat(n)},ge=function(e){var t,n=!0,r="https:";if(t=window.context&&window.context.location&&(window.context.location.protocol||window.context.location.href)?window.context.location.protocol?window.context.location.protocol.toLowerCase():window.context.location.href.split(":").shift().toLowerCase():document.location.protocol.toLowerCase(),r===(t="".concat(t.split(":").shift(),":"))){var o=e.match(/^[^:\/?#]+:/);null!==o&&(n=o[0]===r)}return n},me=function(e){if(-1!==e.indexOf("&ut={{TIME}}")){var t=Date.now();e=e.replace("{{TIME}}","".concat(t))}if(ge(e)){var n=document.createElement("img");return n.setAttribute("src",e),n}return!1},ye=function(e,t){var n=e.contentWindow,r=n?n.document:null;r&&"complete"===r.readyState?t(r):e.onload=function(){e.onload=null,t(n.document)}},be=function(e){var t="object"==typeof e?e:document.getElementById(e);return t&&!t.id&&(t.id=Math.random().toString(36).replace(/[^a-z]+/g,"")),t},we=function(){return we=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Me=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ve=q(o(2239)),Ue=function(){function e(){this.eventsArray=[],this.bannerInfoMap=new Map,this.commonInfo=this.getCommonInfo()}return e.prototype.serialize=function(e){var t=JSON.stringify(e),n=new TextEncoder;return Array.from(n.encode(t))},e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.logMetrics=function(e){var t=e.divId,n=e.eventType,r=e.bannerInfo,o=e.impressionId,i=e.misc,a=e.mime,s=e.method,c=e.bannerTime;r||(r=this.bannerInfoMap.get(t));var u=void 0!==c?c:this._metricsTimer.getTime(t,n);if("number"==typeof u){if(u<0)return;return this.bannerInfoMap.set(t,r),this.sendMetrics({divId:t,bannerInfo:r,eventType:n,bannerTimers:u,impressionId:o,misc:i,mime:a,method:s})}Ve.log(400,u.message,r)},e.prototype.freezeTimer=function(e){this._metricsTimer.freezeTimer(e)},e.prototype.unFreezeTimer=function(e){this._metricsTimer.unFreezeTimer(e)},e.prototype.clearBannerTimersMap=function(e){e?this._metricsTimer.clearBannerTimersMap(e):this._metricsTimer.clearBannerTimersMap()},e.prototype.sendMetrics=function(t){var n=t.divId,r=t.bannerInfo,o=t.eventType,i=t.bannerTimers,a=t.impressionId,s=t.misc,c=t.mime,u=t.method,l=Date.now(),p={event_bytes:this.serialize(Fe(Fe(Fe({divId:n},r),this.commonInfo),{impressionId:a,time:i,type:o,timestamp:l,misc:s,mime:c,method:u})),type:"m-capirs"};return this.eventsArray.push(p),this.eventsArray.length>=e.BATCH_SIZE?this.sendMetricsRequest():(window.clearTimeout(this.sendTimeoutId),this.sendTimeoutId=window.setTimeout(this.sendMetricsRequest.bind(this),800)),ie(window).includes(h.METRICS)&&console.log(Fe(Fe(Fe({divId:n},r),this.commonInfo),{impressionId:a,time:i,type:o,timestamp:l,misc:s,mime:c,method:u})),Fe(Fe(Fe({divId:n},r),this.commonInfo),{time:i,type:o})},e.prototype.sendMetricsRequest=function(){if(this.eventsArray.length){var t=this.eventsArray.splice(0,e.BATCH_SIZE),n=Date.now(),r=JSON.stringify({req_guid:Math.random().toString(),sent_time:{seconds:Math.floor(n/1e3),nanos:n%1e3*1e6},events:t});fetch("https://cls.ad-tech.ru/api/v1/events",{method:"POST",headers:{"Content-Type":"application/json","X-User-ID":"user-4",Accept:"application/json, text/plain, */*"},body:r}).catch((function(e){return console.log("error",e)}))}},e.prototype.getCommonInfo=function(){var e=I().browser,t=e.browser,n=e.version,r=I().system,o=r.name,i=r.version;return{capirsVersion:a,browserName:t,browserVersion:n,deviceType:Re(this._uaparser.getDevice().type),osName:o,osVersion:i}},e.BATCH_SIZE=10,Le([re(J.UaParserService),Me("design:type",ue())],e.prototype,"_uaparser",void 0),Le([re(J.MetricsTimer),Me("design:type",Object)],e.prototype,"_metricsTimer",void 0),e}(),He=function(){function e(){}return e.prototype.logMetrics=function(){},e.prototype.clearBannerTimersMap=function(){},e.prototype.freezeTimer=function(){},e.prototype.unFreezeTimer=function(){},e}();!function(e){e[void 0]="before_all",e.callAd="m_call_ad",e.startReq="m_start_req",e.feed="m_feed",e.noBanner="m_no_banner",e.nurlCallBanner="m_nurl_call_banner",e.nurlBanner="m_nurl_banner",e.nurlNoBanner="m_nurl_no_banner",e.rendered="m_rendered",e.viewable="m_viewable",e.reached="m_reached",e.feed_ttfb="m_feed_ttfb",e.nurl_ttfb="m_nurl_ttfb"}(ae||(ae={})),function(e){e.wrongEventType="Wrong event type",e.wrongEventOrder="Wrong event order",e.wrongFreezeOrder="Wrong freeze order"}(se||(se={}));var We,qe=function(){function e(){this.freezeTimersMap=new Map,this.bannerTimersMap=new Map}return e.prototype.freezeTimer=function(e){this.freezeTimersMap.get(e)||this.freezeTimersMap.set(e,[Date.now(),0])},e.prototype.unFreezeTimer=function(e){var t=this.freezeTimersMap.get(e);t[1]||(t[1]=Date.now(),this.freezeTimersMap.set(e,t))},e.prototype.getTime=function(e,t){var n=this.getBannerTimers(e),r=this.freezeTimersMap.get(e),o=n.lastMetricType;if(t===ae.callAd&&t===o)return-1;var i=this.getEventTimers(n,t,r);return!0===i.ok?(n.timers[t]=i.result,n.lastMetricType=t,this.setBannerTimers(e,n),this.freezeTimersMap.delete(e),n.timers[t].timeSinceLast):new Error(i.error)},e.prototype.clearBannerTimersMap=function(e){e?(this.bannerTimersMap.delete(e),this.freezeTimersMap.delete(e)):(this.bannerTimersMap.clear(),this.freezeTimersMap.clear())},e.prototype.getBannerTimers=function(e){var t=this.bannerTimersMap.get(e);return t||{timers:{},lastMetricType:ae.undefined}},e.prototype.setBannerTimers=function(e,t){this.bannerTimersMap.set(e,t)},e.prototype.getEventTimers=function(e,t,n){var r=e.timers,o=e.lastMetricType,i=0;if(n){var a=n[0];i=n[1]-a}return this.getTimer(r,t,i,o)},e.prototype.getTimer=function(e,t,n,r){return n<0?{ok:!1,error:se.wrongFreezeOrder}:t===ae.callAd&&r===ae.undefined?void 0!==e[t]?{ok:!1,error:se.wrongEventOrder}:{ok:!0,result:{eventTime:Date.now(),timeSinceLast:0}}:void 0===e[r]||void 0!==e[t]?{ok:!1,error:se.wrongEventOrder}:{ok:!0,result:{eventTime:Date.now(),timeSinceLast:Date.now()-e[r].eventTime-n}}},e}();function ze(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$e=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ye=function(){function e(){this._configStore={},this._hydrate()}return e.prototype.getConfigValue=function(e){return this._configStore[e]},e.prototype.getConfigStore=function(){return this._configStore},e.prototype._hydrate=function(){for(var e=window.CAPIRS_CONFIG||{},t=Object.keys(this._allowedOptions),n=0;n-1};var Qt=function(e,t){var n=this.__data__,r=Xt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Zt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},An=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Rn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Dn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Nn=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Fn=function(){function e(){}return e.prototype.attemptRefresh=function(e,t){var n=this._inViewTimersService.inViewTimers[e];return!(!n||this._syncBannersService.isSessionBanner({nodeID:e}))&&n.attemptRefresh(t)},Bn([re(J.SyncShow),Nn("design:type",jn)],e.prototype,"_syncBannersService",void 0),Bn([re(J.MethodsInitializer),Nn("design:type",Object)],e.prototype,"_inViewTimersService",void 0),e}(),Ln=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Mn=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Vn=function(){function e(e,t,n,r,o,i,a){this.isUrlCalled=!1,this._viewableBanner=t,this._ID=n,this.url=e.url,this.impressionId=o,this.misc=i,this.mime=a,this.percent=e.percent,this.time=e.time,this._div_ID=r}return e.prototype.startTimer=function(){var e=this;this.stopTimer(),this._timer=setTimeout((function(){e._callUrl(),e._logUrlCall()}),this.time)},e.prototype.isTimerStarted=function(){return!!this._timer},e.prototype.stopTimer=function(){clearTimeout(this._timer),this._timer=null},e.prototype.setViewableBanner=function(e){this._viewableBanner=e},e.prototype.getViewableBanner=function(){return this._viewableBanner},e.prototype._callUrl=function(){Oe({src:ve(this.url,"capirs_nocache",Date.now()),target:document.body,document:document}),this.isUrlCalled=!0},e.prototype._logUrlCall=function(){var e=0===this.percent?"minimal part":"".concat(100*this.percent,"%");this._metricsTransport.logMetrics({divId:this._div_ID,eventType:ae.viewable,impressionId:this.impressionId,misc:this.misc,mime:this.mime}),window.Debug.info("Banner was seen for ".concat(e," during ").concat(this.time,"ms, ID: ").concat(this._ID,", called url: ").concat(this.url))},Ln([re(J.MetricsTransport),Mn("design:type",Ue)],e.prototype,"_metricsTransport",void 0),e}();!function(e){e.FULLSCREEN="fullscreen",e.FLOATING_BILLBOARD="floatingBillboard"}(kn||(kn={}));var Un=function(){function e(){}return e.checkRootLVLBannerByFeed=function(t){if(t&&t.banners.graph[0]){var n=t.banners.graph[0].view_type;for(var r in e.rootBannersTypes)if(e.rootBannersTypes.hasOwnProperty(r)&&n.includes(e.rootBannersTypes[r]))return r}},e.getRootElementType=function(t){for(var n in"string"==typeof t&&(t=window.document.getElementById(t)),e.rootBannersTypes)if(e.rootBannersTypes.hasOwnProperty(n)){var r=e.rootBannersTypes[n];if(t.querySelector("script[src*=".concat(r,"]")))return n}return null},e.getActualBannerPlace=function(t,n){return n||(n=e.getRootElementType(t)),n?e.getNestedBanner(t,n)||e.findByDataPlaceId(t)||e.getGlobalBanner(n):e.findByDataPlaceId(t)},e.getNestedBanner=function(t,n){return t?t.querySelector(e.rootBannersQuerySelectors[n]):null},e.findByDataPlaceId=function(t,n){if(void 0===n&&(n=document),!t)return null;var r=t.querySelector("[".concat(e.PLACE_ID_ATTR,"]"));return r&&Array.from(n.querySelectorAll("[".concat(e.PLACE_ID_ATTR,'="').concat(r.dataset.bannerPlaceId,'"]'))).find((function(e){return e!==r}))||null},e.getGlobalBanner=function(t){return document.querySelector(e.rootBannersQuerySelectors[t])},e.rootBannersTypes={branding:"Branding",fullscreen:"Fullscreen",floatingBillboard:"FloatingBillboard",shade:"Shade"},e.PLACE_ID_ATTR="data-banner-place-id",e.rootBannersQuerySelectors={branding:"[class*='branding-wrapper'][data-banner-place-id]",fullscreen:"[class*='fullscreen-wrapper'][data-banner-place-id]",floatingBillboard:"[class*='floating-billboard'][data-project-name='floatingbillboard']",shade:"[class*='shade-banner'][data-project-name='Shade']"},e}(),Hn=function(e){return e&&"object"==typeof e&&e.document&&"object"==typeof e.document},Wn=function(e){return void 0===e&&(e=window),Hn(e)?e.pageYOffset||e.document.documentElement&&e.document.documentElement.scrollTop||e.document.body&&e.document.body.scrollTop:NaN},qn=Math.ceil,zn=Math.max;var Gn=function(e,t,n,r){for(var o=-1,i=zn(qn((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a};var Xn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Jn=function(e){return null!=e&&Xn(e.length)&&!wt(e)},Kn=/^(?:0|[1-9]\d*)$/;var $n=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Kn.test(e))&&e>-1&&e%1==0&&es))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var p=-1,f=!0,d=2&n?new wr:void 0;for(i.set(e,t),i.set(t,e);++p-1};var oi=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r=200){var u=t?null:ai(e);if(u)return Tr(u);a=!1,o=Sr,c=new wr}else c=t?[]:s;e:for(;++rdocument.documentElement.clientHeight?document.documentElement.clientHeight:o}},hi=function(e,t){var n=di(e),r=di(t);return n.topr.top&&n.leftr.left},vi=function(e,t){return e.top>=t.top&&e.bottom<=t.bottom&&e.left>=t.left&&e.right<=t.right},gi=dn((function(e,t){return[.3*e,.3*t]})),mi=function(e){var t,n=e.elementFromPoint,r=e.covered,o=e.nodeToExclude;return n&&!r.isSameNode(n)&&!document.body.isSameNode(n)&&!fi(n,r)&&!fi(r,n)&&!function(e,t){return!!e&&(fi(e,t)||t.isSameNode(e))}(o,n)&&!fi(null===(t=document.getElementsByClassName("branding-wrapper"))||void 0===t?void 0:t[0],n)&&!n.classList.contains("rectangle-point")},yi=function(e,t){var n=document.querySelector(".inview-timers-wrapper"),r=[];return t.forEach((function(e){var t,n,o=(t=e[0],n=e[1],document.elementsFromPoint?document.elementsFromPoint(t,n):Array.from(document.msElementsFromPoint(t,n)));r.push.apply(r,o)})),Array.from(new Set(r)).filter((function(t){return mi({covered:e,elementFromPoint:t,nodeToExclude:n})}))},bi=function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left}},wi=function(e){var t,n,r=yi(e,function(e,t){var n=di(e.getBoundingClientRect()),r=n.left,o=n.right,i=n.top,a=n.bottom,s=ur(r+2,o-2,t[0]),c=ur(i+2,a-2,t[1]);return s.reduce((function(e,t){return pi(pi([],e,!0),c.map((function(e){return[t,e]})),!0)}),[])}(e,gi(e.clientWidth,e.clientHeight)));if(r.length>0){var o=r.find((function(e){return e.id.includes("pushwoosh-popup")})),i=r.reduce((function(t,n){var r=function(e,t){for(var n=[],r=e;r.parentElement&&!r.parentElement.contains(t)&&r.parentElement.clientHeight*r.parentElement.clientWidth>=r.clientHeight*r.clientWidth;)n.push(r.parentElement),r=r.parentElement;return n}(n,e).reverse().find((function(e){return e.getBoundingClientRect().bottom>=0}));return pi(pi([],t,!0),[r||n],!1)}),[]);o&&(i=i.filter((function(e){return!e.contains(o)}))).push(o);var a=function(e){if(1===e.length)return e;for(var t=pi([],e.slice(0),!0),n=function(e){var n=t[e],r=e,o=t.reduce((function(e,t,o){return n&&t&&hi(t,n)&&r!==o?pi(pi([],e,!0),[{intersectedIndex:o,intersectedElement:t}],!1):e}),[]);if(o.length>0)for(var i=0;ih&&(m={top:u,right:l,bottom:p,left:h},s.right=h,t.push(m)),p>v&&(m={top:v,right:l,bottom:p,left:f},s.bottom=v,t.push(m)),f"),document.body.append(a)})));var s=(a||[]).reduce((function(t,n){return t+function(e,t){var n=di(e),r=di(t),o=r.top,i=r.right,a=r.bottom,s=r.left,c=n.top,u=n.right,l=n.bottom,p=n.left,f=l-c,d=u-p,h=i-s,v=a-o;if(vi(r,n))return Math.round(v*h/(f*d)*100);if(vi(n,r))return 100;var g=0,m=0;return g=o<=c?a>=l?f:a-c:a>=l?l-o:v,m=s<=p?i>=u?d:i-p:i>=u?u-s:h,Math.round(g*m/(f*d)*100)}(bi(e),n)}),0);return Math.min(s,100)}return 0},_i=function(){function e(){this.subscribers={},this.observables={}}return e.prototype.stopCheckCovering=function(e){cancelIdleCallback(this.observables[e].idleCallbackId),delete this.observables[e]},e.prototype.subscribe=function(e,t){this.subscribers[e]=this.subscribers[e]||[],this.subscribers[e].push(t),this.observables[e]||(this.observables[e]=this.observables[e]||{idleCallbackId:null,isCoveringCheckPermitted:!1,coveringPercent:null},this.setCoveringCheckPermission(e),this.initIdleCallback(e))},e.prototype.unsubscribe=function(e,t){this.subscribers[e]=this.subscribers[e].filter((function(e){return e!==t})),this.subscribers[e].length<1&&this.stopCheckCovering(e)},e.prototype.initIdleCallback=function(e){var t=this;if(this.observables[e].isCoveringCheckPermitted){var n=document.getElementById(e),r=function(){t.emitCurrentState(e,wi(n)),requestIdleCallback(r)};this.observables[e].idleCallbackId=requestIdleCallback(r)}},e.prototype.setCoveringCheckPermission=function(e){this.observables[e].isCoveringCheckPermitted=u.some((function(t){return"begun_block_".concat(t)===e}))},e.prototype.emitCurrentState=function(e,t){this.subscribers[e].forEach((function(e){return e(t)}))},e}(),Si=function(){return Si=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Oi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ki=".unbounded-banner-place",Ti="[data-project-name='unbounded']",xi=function(){function e(e,t,n,r,o,i){var a=this;this._isRealBannerPlaceFound=!1,this._unboundedBannerThreshold={isEnabled:!1,value:ur(0,.9,.01).map((function(e){return Math.round(100*e)/100}))},this._coveringPercent=0,this.updateCoveringPercent=function(e){e!==a._coveringPercent&&(a._coveringPercent=e,a._observer.unobserve(a._viewableElement),a._observer.observe(a._viewableElement))},e&&"object"==typeof e&&1===e.nodeType&&e.parentElement&&"HTML"!==e.parentElement.nodeName?(this._ID=e.id||ke(),e.id=this._ID):e&&"string"==typeof e&&e.length>0?(this._ID=e,e=document.getElementById("".concat(this._ID))):e=null,(e||"string"==typeof this._ID)&&(this._viewableElement=e,this._div_ID=this._viewableElement.parentElement.id,this.impressionId=r,this.misc=o,this.mime=i,this._setUnboundedBannerThreshold(),this._viewabilityBreakpoints=t.map((function(e){return new Vn(e,a._viewableElement,a._ID,a._div_ID,a.impressionId,a.misc,a.mime)})),"string"==typeof n?this._searcherID=n:"string"==typeof this._ID?this._searcherID=this._ID:this._searcherID="",this._timer=j.getInstance().init(100),this._searcherID=this._timer.subscribe({context:this,callback:this._trackViewableElement,ID:this._searcherID||void 0}),this.coveringWatcher.subscribe(this._viewableElement.id,this.updateCoveringPercent),this._watch())}return e.prototype.stopSearch=function(){this._timer.unsubscribe(this._searcherID)},e.prototype._trackViewableElement=function(){if(this._checkBannerExistingInDOM(),this._checkThatViewableElementFound(),this._isRealBannerPlaceFound)this.stopSearch();else{var e=this._viewableElement;this._attemptFindRealBannerPlace(),this._isRealBannerPlaceFound&&(this._observer.unobserve(e),this._observer.observe(this._viewableElement))}},e.prototype._watch=function(){var e=this;this._viewableElement.onclick=this.callViewPoint.bind(this),this._viewableElement.oncontextmenu=this.callViewPoint.bind(this);var t=null;this._unboundedBannerThreshold.isEnabled?(t=this._unboundedBannerThreshold.value,this._mutationObserver=new MutationObserver((function(t){for(var n=0,r=t;n=t},e.prototype._isSizeSatisfied=function(e,t){return e>15&&t>15},e.prototype._isBannerRendered=function(e){if(this._unboundedBannerThreshold.isEnabled){var t=e.querySelector(ki);return!!t&&!!t.querySelector(Ti)}return!0},e.prototype._setUnboundedBannerThreshold=function(){this._unboundedBannerThreshold.isEnabled=!!this._viewableElement.querySelector("script[src*=Unbounded]")},e.prototype.callViewPoint=function(){this._viewabilityBreakpoints=this._viewabilityBreakpoints.filter((function(e){return!e.isUrlCalled&&(e.startTimer(),!0)}))},Ei([re(J.CoveringWatcher),Oi("design:type",_i)],e.prototype,"coveringWatcher",void 0),e}(),Pi=xi,Ii=function(){function e(){this.timer=j.getInstance().init(100)}return e.prototype.create=function(e,t,n,r,o){var i,a=this,s=new Promise((function(s){var c;"string"==typeof(c="object"==typeof e?e:"AdFox_banner_".concat(e))&&((c=window.document.getElementById(c))||(c=window.document.getElementById("AdFox_iframe_".concat(e)))),c&&(i=a.timer.subscribe({context:a,callback:function(e,t){(e=Un.getActualBannerPlace(e)||e).clientWidth*e.clientHeight>0&&e.clientWidth>15&&e.clientHeight>15&&(a.timer.unsubscribe(i),s(new Pi(e,t,i,n,r,o)))},params:[c,t]}))}));return function(){a.timer.unsubscribe(i),s.then((function(e){return e.stopSearch()}))}},e}(),Ci=Ii,Ai=function(e){return"object"==typeof e&&null!==e?(e.id||(e.id=Math.random().toString(36).replace(/[^a-z]+/g,"")),e.id):e},Ri=function(){return Ri=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=a&&(s.style.height="auto");for(var c=[],u=0,l=s.children;u0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] .is-link","div[class*='-banner-place'] > div[class*='-banner']"];e15&&t.clientHeight>n},e.prototype._doesBegunBlockHaveAd=function(){var e=this._mainBannerPlace.querySelector("#begun_block_".concat(this._optionsB["begun-block-id"]));return e&&e.children.length>0},e.prototype._isWatchingTimeOver=function(){var e=this._isTimeToWatchFinite?1e4:1/0;return Date.now()-this._bannerPlaceStartTime>e},e.prototype._isTimeToFindBannerPlaceOver=function(){return Date.now()-this._bannerPlaceStartTime>2e3},e.CHECK_INTERVAL=1e3/30,e.mediaTemplatesWithMimeXFrameHTML={},e}(),$i=Ki,Yi=function(e){return e&&e.feed};!function(e){e.X_HTML="application/x-html",e.X_MIXED_IFRAME_HTML="application/x-mixed-iframe-html",e.X_IFRAME_HTML="application/x-iframe-html",e.X_FIXED_IFRAME_HTML="application/x-fixed-iframe-html",e.X_JAVASCRIPT="application/x-javascript",e.X_SHOCKWAVE_FLASH="application/x-shockwave-flash",e.X_SHARED_SCRIPTS="application/x-shared-scripts",e.VAST_XML="application/vast-xml",e.TEXT_HTML="text/html",e.TEXT_URL="text/url"}(Mi||(Mi={})),function(e){e.ATOMS="Atoms",e.BRANDING="Branding",e.FULLSCREEN="Fullscreen"}(Vi||(Vi={}));var Qi,Zi=function(){return Zi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.+[&]?.*\}/g,this.tpl=e||"",this.braces=/\{\{(.*?)}}/g}return e.prototype.evaluate=function(e){var t=this.tpl.match(this.arrowCssRuleRegExp);return null!==t&&t.length>0&&(e=this.unifyVariableObject(e)),this.tpl=this.tpl.replace(/[$#]\{([^$#}]+)}/gi,(function(t,n){return n.split("&")[0].split("->").reduce((function(e,t){return e[t]||""}),e)||n.split("&")[1]||""})),this.tpl},e.prototype.unifyVariableObject=function(e){for(var t in e)if(e.hasOwnProperty(t)&&t.indexOf(":")>0){var n=t.split(":");"object"==typeof e[n[0]]||(e[n[0]]={}),e[n[0]][n[1]]=e[t]}return e},e}(),oa=function(e){var t=window.getComputedStyle(e).getPropertyValue("position");""!==t&&"static"!==t||(e.style.position="relative")};function ia(e,t){var n=e.match(l);if(n){var r=n.map((function(e){return e.replace(/ |:|\[|\]/gi,"")}));r=r.join(",").split(",");for(var o=0,i=1;io?Number(r[i]):o;return"".concat(o,"px")}return t}var aa,sa,ca=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ua=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},la=ur(0,1.01,.01).map((function(e){return Math.round(100*e)/100})),pa=function(){function e(e,t){var n=this;this._emitter=t,this.indexScss=o(3249),this.indexPug=o(4456),this.bannerLinePug=o(8726),this.stickerPug=o(8717),this.defaultSettings={defaultViewedPercent:.5,customViewedPercent:0,thresholdViewedTime:0,thresholdNoHoverTime:0,removeAfterResolve:!1,demo:!1,showPanel:-1!==location.search.indexOf("view_time=true")},this.indicators={panel:null,line:null,id:null,recording:null,inviewTimer:null,viewedIndicator:null,viewedIndicatorNotViewed:null,viewedIndicatorViewed:null,nohoverTimer:null,nohoverIndicator:null,nohoverIndicatorNotViewed:null,nohoverIndicatorViewed:null,reloadedIndicator:null,reloadedIndicatorNotViewed:null,reloadedIndicatorViewed:null,directionIndicator:null,sticker:null,stickerInView:null,stickerInViewTimer:null,stickerNoHoverTimer:null},this.inViewTimerStart=Date.now(),this.inViewPrevTimestamp=Date.now(),this.noHoverTimerStart=Date.now(),this.noHoverPrevTimestamp=Date.now(),this.inViewTimerCount=0,this.inViewSessionTime=0,this.noHoverTimerCount=0,this.noHoverTimerSessionTime=0,this._coveringPercent=0,this._updateCoveringPercent=function(e){n._coveringPercent!==e&&(n._coveringPercent=e,n._observer.unobserve(n.params.target),n._observer.observe(n.params.target))},this._handleDemoMode(e.demo),this.params=Object.assign(this.defaultSettings,e),this.params.target&&(this.preInit(),this.params.showPanel&&this.init(),this.postInit())}return e.prototype.attemptRefresh=function(e){var t=e.areaThreshold,n=e.timeThreshold,r=e.targetTimeThreshold;if(!this.isRefreshStarted){var o=this.getInViewTime(r),i=this.calculateInView(Fi(this.params.target));if(o>=n&&i>=t)return this.isRefreshStarted=!0,this._manualRefreshPromiseResolve("manualRefresh"),this.inViewTimerResolve(),this.noHoverTimerResolve(),!0}return!1},e.prototype.preInit=function(){var t=this;this._observer=new IntersectionObserver((function(e){var n=e&&e[0];t._inViewBannerPercent=100*n.intersectionRatio-n.intersectionRatio*t._coveringPercent}),{root:null,rootMargin:"0px",threshold:la}),this._observer.observe(this.params.target),this.params.target_id="".concat(this.params.target.id,"-").concat(Math.random().toString(36).replace(/[^a-z]+/g,"")),this.inViewTimerPromise=new Promise((function(e,n){t.inViewTimerReject=n,t.inViewTimerResolve=e})),this.noHoverTimerPromise=new Promise((function(e,n){t.noHoverTimerReject=n,t.noHoverTimerResolve=e})),this._manualRefreshPromise=new Promise((function(e,n){t._manualRefreshPromiseResolve=e,t._manualRefreshPromiseReject=n})),this.promise=new Promise((function(e,n){t.reject=n,t.resolve=e,Promise.race([t.inViewTimerPromise,t.noHoverTimerPromise]).then((function(){if(t.indicators.sticker){var e=ke(),n=qi({rules:{background:"hsl(50, 100%, 33%)"},nonce:t._config.getConfigValue("STYLE_NONCE_VALUE"),className:e});t.indicators.sticker.parentElement.appendChild(n),t.indicators.sticker.classList.add(e)}})),Promise.all([t.inViewTimerPromise,t.noHoverTimerPromise]).then((function(){if(t.indicators.sticker){var n=ke(),r=qi({rules:{background:"hsl(100, 100%, 33%)"},nonce:t._config.getConfigValue("STYLE_NONCE_VALUE"),className:n});t.indicators.sticker.parentElement.appendChild(r),t.indicators.sticker.classList.add(n)}t.params.removeAfterResolve?e():e(t._manualRefreshPromise)})).catch(n)})),e.timer.errorHandler=this.reject},e.prototype.init=function(){if(this.indicators.panel=this.indicators.panel||window.document.querySelector(".inview-timers-wrapper"),!this.indicators.panel){var t=window.document.createElement("div");t.className="inview-timers-wrapper",t.innerHTML=new ra(this.indexPug).evaluate({}),this.indicators.panel=window.document.body.appendChild(t);var n=window.document.createElement("style"),r=new ra(this.indexScss).evaluate({});void 0!==n.textContent?n.textContent=r:n.innerText=r,window.document.body.appendChild(n)}if(this.indicators.panel){var o=this.idOf(e.bannerSymbolIndex);e.bannerSymbolIndex+=1;var i=window.document.createElement("div");if(i.className="inview-timers__row",i.innerHTML=new ra(this.bannerLinePug).evaluate({symbol:o}),this.indicators.panel.appendChild(i),this.indicators.line=i,this.indicators.id=i.querySelector(".is-banner-id"),this.indicators.recording=i.querySelector(".is-recording-flag"),this.indicators.inviewTimer=i.querySelector(".is-inview-time"),this.indicators.viewedIndicator=i.querySelector(".is-viewed-indicator"),this.indicators.viewedIndicatorNotViewed=i.querySelector(".is-viewed-indicator .not-viewed-icon"),this.indicators.viewedIndicatorViewed=i.querySelector(".is-viewed-indicator .viewed-icon"),this.indicators.nohoverTimer=i.querySelector(".is-nohover-time"),this.indicators.nohoverIndicator=i.querySelector(".is-nohover-indicator"),this.indicators.nohoverIndicatorNotViewed=i.querySelector(".is-nohover-indicator .not-viewed-icon"),this.indicators.nohoverIndicatorViewed=i.querySelector(".is-nohover-indicator .viewed-icon"),this.indicators.reloadedIndicator=i.querySelector(".is-reloaded-indicator"),this.indicators.reloadedIndicatorNotViewed=i.querySelector(".is-reloaded-indicator .not-viewed-icon"),this.indicators.reloadedIndicatorViewed=i.querySelector(".is-reloaded-indicator .viewed-icon"),this.indicators.directionIndicator=i.querySelector(".is-direction-indicator svg"),this.params.removeAfterResolve)try{this.indicators.reloadedIndicatorNotViewed.classList.toggle("is-visible"),this.indicators.reloadedIndicatorViewed.classList.toggle("is-visible")}catch(e){}var a=window.document.createElement("div");a.className="inviewtime-sticker",a.innerHTML=new ra(this.stickerPug).evaluate({symbol:o}),this.indicators.sticker=a,this.indicators.stickerInView=a.querySelector(".inviewtime-sticker__inview"),this.indicators.stickerInViewTimer=a.querySelector(".inviewtime-sticker__inview-timer"),this.indicators.stickerNoHoverTimer=a.querySelector(".inviewtime-sticker__nohovertimer"),this._appendSticker(this.params.target,a)}},e.prototype.postInit=function(){var e=this;this.inViewTimerCount=0,this.noHoverTimerCount=0,this.browserIsActive=!0,this.inViewDone=!1,this.inViewActivity=!1,this.noHoverDone=!1,this.bannerWasUnderHover=!1,this.bannerIsUnderHover=!1,this.params.target.addEventListener("mouseenter",(function(){e.bannerIsUnderHover=!0})),this.params.target.addEventListener("mouseleave",(function(){e.bannerIsUnderHover=!1})),window.document.addEventListener("visibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("mozvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("webkitvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("msvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("pageshow",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("pagehide",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("focus",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("blur",this.checkBrowserWindowActivity.bind(this))},e.prototype.checkBrowserWindowActivity=function(e){var t={focus:!0,focusin:!0,pageshow:!0,blur:!1,focusout:!1,pagehide:!1},n=e||window.event;n.type in t?this.browserIsActive=t[n.type]:this.browserIsActive=!document.hidden,this.noHoverPrevTimestamp=Date.now(),this.inViewPrevTimestamp=Date.now(),this.inViewTimerStart=Date.now(),this.noHoverTimerStart=Date.now()},e.prototype.idOf=function(e){return(e>=26?this.idOf((e/26|0)-1):"")+"ABCDEFGHIJKLMNOPQRSTUVWXYZ"[e%26|0]},e.prototype.calculateInView=function(e){var t,n=this;if(this.indicators.directionIndicator){var r=(e.top-.5*window.innerHeight)/(void 0===t&&(t=window),Hn(t)?Math.max(t.document.body.scrollHeight,t.document.body.clientHeight,t.document.body.offsetHeight,t.document.documentElement.scrollHeight,t.document.documentElement.offsetHeight,t.document.documentElement.clientHeight):NaN);["webkitTransform","MozTransform","msTransform","OTransform","transform"].forEach((function(e){n.indicators.directionIndicator.style[e]="rotate(".concat(90*-r,"deg)")}))}if(this.indicators.recording&&(this.indicators.recording.innerHTML="".concat(Math.round(this._inViewBannerPercent),"%"),this.indicators.stickerInView.innerHTML=" ".concat(this.indicators.recording.innerHTML," |")),this.indicators.line){var o="hsl(".concat(Math.round(this._inViewBannerPercent),", 100%, ").concat(Math.round(this._inViewBannerPercent/3),"%)"),i=ke(),a=qi({className:i,rules:{color:o,fill:o},nonce:this._config.getConfigValue("STYLE_NONCE_VALUE")});this.indicators.line.classList.add(i),this.indicators.line.parentElement.appendChild(a)}return this._inViewBannerPercent},e.prototype.calculateInViewActivity=function(){if(Bi(this.params.target,window.document)){var e=void 0;e=this.params.customViewedPercent?.01*this.params.customViewedPercent:this.params.defaultViewedPercent;var t=Fi(this.params.target),n=this.calculateInView(t)||0;return!1===this.inViewActivity?(this.inViewPrevTimestamp=Date.now(),this.inViewTimerStart=Date.now(),this.noHoverTimerStart=Date.now(),this._recalcNoHoverTotalTime(),.01*n>=e):(this._recalcNoHoverTotalTime(),.01*n").concat(this.formatTime(t)):"".concat(this.formatTime(e))},e.prototype.formatTime=function(e){var t=~~(e/3600),n=~~(e%3600/60),r=e%60,o="";return o=t?"".concat(t,":").concat(this.padZero(n),":").concat(this.padZero(r)):n?"".concat(n,":").concat(this.padZero(r)):"".concat(r.toFixed(r>=10?1:2))," ".concat(o," ")},e.prototype.padZero=function(e){return"".concat(e=~~e).length<2?"0".concat(e):e},e.prototype.getInViewTime=function(e){var t;switch(e){case Qi.total:t=this.inViewTimerCount;break;case Qi.session:default:t=this.browserIsActive?Date.now()-this.inViewTimerStart:0}return parseFloat((.001*t).toFixed(2))},e.prototype._getNoHoverTime=function(e){var t;if("total"===e)t=this.noHoverTimerCount;else t=this.bannerIsUnderHover||!this.browserIsActive?0:Date.now()-this.noHoverTimerStart;return parseFloat((.001*t).toFixed(2))},e.prototype.canCleanTimer=function(){if(this._selfDestructionTime){if((new Date).getTime()-this._selfDestructionTime.getTime()>1e3)return!0}else this._selfDestructionTime=new Date;return!1},e.prototype._toggleViewedIndicator=function(e){this.indicators.viewedIndicatorViewed&&this.indicators.viewedIndicatorViewed.classList[e?"add":"remove"]("is-visible"),this.indicators.viewedIndicatorNotViewed&&this.indicators.viewedIndicatorNotViewed.classList[e?"remove":"add"]("is-visible")},e.prototype._toggleNoHoverIndicator=function(e){this.indicators.nohoverIndicatorViewed&&this.indicators.nohoverIndicatorViewed.classList[e?"add":"remove"]("is-visible"),this.indicators.nohoverIndicatorNotViewed&&this.indicators.nohoverIndicatorNotViewed.classList[e?"remove":"add"]("is-visible")},e.prototype._handleDemoMode=function(e){e&&(this.defaultSettings.thresholdViewedTime=1,this.defaultSettings.thresholdNoHoverTime=1)},e.prototype._fixStickerPosition=function(){var e=this,t=this.indicators.sticker.parentElement.getBoundingClientRect(),n=this.indicators.sticker.getBoundingClientRect(),r="".concat(Math.min(t.height-n.height,-Math.min(t.top,0)),"px"),o="".concat(Math.min(t.width-n.width,-Math.min(t.left,0)),"px");["webkitTransform","MozTransform","msTransform","OTransform","transform"].forEach((function(t){e.indicators.sticker.style[t]="translate(".concat(o,", ").concat(r,")")}))},e.prototype._startTimer=function(){this._coveringWatcher.subscribe(this.params.target.id,this._updateCoveringPercent),this._ID=e.timer.subscribe({callback:this._watch,context:this,params:[]})},e.prototype._emitCurrentState=function(){this._emitter.dispatch("inView",this.params.adContainerID,null,[{actualTarget:this.params.target,currentInViewPercent:this._inViewBannerPercent,totalInViewTime:this.getInViewTime(Qi.total),sessionInViewTime:this.getInViewTime(Qi.session),noHoverTime:this._getNoHoverTime("session")}])},e.prototype._watch=function(){},e.prototype._recalcNoHoverTotalTime=function(){this.calculateNoHoverActivity()?(this.noHoverTimerCount+=Date.now()-this.noHoverPrevTimestamp,this.noHoverPrevTimestamp=Date.now()):(this.noHoverTimerCount=0,this.noHoverPrevTimestamp=Date.now())},e.prototype._appendSticker=function(e,t){"IFRAME"!==e.tagName&&"IMG"!==e.tagName?(oa(this.params.target),e.appendChild(t)):(oa(this.params.target.parentElement),e.parentElement.insertBefore(t,e))},e.bannerSymbolIndex=0,e.timer=j.getInstance().init(100),ca([re(J.CoveringWatcher),ua("design:type",_i)],e.prototype,"_coveringWatcher",void 0),ca([re(J.Config),ua("design:type",Object)],e.prototype,"_config",void 0),e}(),fa=pa,da=(aa=function(e,t){return aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},aa(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}aa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ha=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._startTimer(),r}return da(t,e),t.prototype._watch=function(){if(this.params.target.clientWidth<15||this.params.target.clientHeight<15)this.canCleanTimer()&&this.clean();else{if(this.indicators.sticker&&this._fixStickerPosition(),this.browserIsActive&&(this.inViewActivity=this.calculateInViewActivity(),this.inViewActivity)){var e=this.getInViewTime();if(this.inViewDone||(this.indicators.nohoverTimer&&(this.indicators.inviewTimer.innerHTML=this.formatTimer(e,this.params.thresholdViewedTime),this.params.thresholdViewedTime?this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML.replace("<","|<"),"|"):this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML,"|")),0!==this.params.thresholdViewedTime&&e>=this.params.thresholdViewedTime&&(this.inViewDone=!0,this.inViewTimerResolve(),this.noHoverDone&&this.noHoverTimerResolve(),this._toggleViewedIndicator(!0))),this.bannerWasUnderHover=this.calculateNoHoverActivity(),this.bannerWasUnderHover){if(!this.noHoverDone){var t=this._getNoHoverTime();this.indicators.nohoverTimer&&(this.indicators.nohoverTimer.innerHTML=this.formatTimer(t,this.params.thresholdNoHoverTime),this.indicators.stickerNoHoverTimer.innerHTML=this.indicators.nohoverTimer.innerHTML),0!==this.params.thresholdNoHoverTime&&t>=this.params.thresholdNoHoverTime&&(this.noHoverDone=!0,this.inViewDone&&this.noHoverTimerResolve(),this._toggleNoHoverIndicator(!0))}}else this.noHoverDone=!1,this._toggleNoHoverIndicator(!1)}this._emitCurrentState()}},t}(fa),va=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ga=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._startTimer(),r}return va(t,e),t.prototype._watch=function(){if(this.params.target.clientWidth<15||this.params.target.clientHeight<15)this.canCleanTimer()&&this.clean();else if(this.indicators.sticker&&this._fixStickerPosition(),this.browserIsActive&&(this.inViewActivity=this.calculateInViewActivity(),this.inViewActivity)){var e=this.getInViewTime();if(this.indicators.nohoverTimer&&(this.indicators.inviewTimer.innerHTML=this.formatTimer(e),this.params.thresholdViewedTime?this.indicators.stickerInViewTimer.innerHTML=this.indicators.inviewTimer.innerHTML.replace("<","|<"):this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML,"|")),0!==this.params.thresholdViewedTime&&e>=this.params.thresholdViewedTime&&(this._toggleViewedIndicator(!0),this.inViewDone=!0,this.inViewTimerResolve(),this.noHoverDone&&this.noHoverTimerResolve()),this.bannerWasUnderHover=this.calculateNoHoverActivity(),this.bannerWasUnderHover){var t=this._getNoHoverTime();this.indicators.nohoverTimer&&(this.indicators.nohoverTimer.innerHTML=this.formatTimer(t),this.indicators.stickerNoHoverTimer.innerHTML=this.indicators.nohoverTimer.innerHTML),0!==this.params.thresholdNoHoverTime&&t>=this.params.thresholdNoHoverTime&&(this._toggleNoHoverIndicator(!0),this.inViewDone&&this.noHoverTimerResolve(),this._toggleNoHoverIndicator(!0))}else this.noHoverDone=!1,this._toggleNoHoverIndicator(!1)}this._emitCurrentState()},t}(fa),ma=function(e,t){return e.demo?new ga(e,t):new ha(e,t)},ya=function(){return ya=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wa=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},_a=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Sa=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0,a=ya({target:r,removeAfterResolve:t,adContainerID:n,demo:ie(window).includes(this.VIEW_DEMO)},e.settings),s=ma(a,this.begunAutocontext.Callbacks),this.adInitializer.inViewTimers[n]=s,[2,s.promise.then((function(e){return!!c.checkRefreshAvailability({doesInViewTimerParamsExist:t,inViewTimerResolveValue:e,nodeID:n,nonReloadable:i})&&(c.inViewTimerReloadCounter[o]-=1,!0)}))]):[2]}))}))},e.prototype.initInViewTimerWithoutSettings=function(e,t){return _a(this,void 0,void 0,(function(){var n,r,o=this;return Sa(this,(function(i){return n={target:t,removeAfterResolve:!1,adContainerID:e,demo:ie(window).includes(this.VIEW_DEMO)},r=ma(n,this.begunAutocontext.Callbacks),this.adInitializer.inViewTimers[e]=r,[2,r.promise.then((function(t){return o.checkRefreshAvailability({doesInViewTimerParamsExist:!1,inViewTimerResolveValue:t,nodeID:e})}))]}))}))},e.prototype.getReloadingSettings=function(e){var t=e.impressionID,n=e.blockOptions,r=this.getBannerReloadingSettings(t);if(r)return{settings:r,settingsType:sa.BANNER};var o=this.getPlatformBlockReloadingSettings(n)||this.getBlockReloadingSettings(t);return o?{settings:o,settingsType:sa.BLOCK}:void 0},e.prototype.checkRefreshAvailability=function(e){var t=e.doesInViewTimerParamsExist,n=e.inViewTimerResolveValue,r=e.nodeID,o=e.nonReloadable;return(t||"manualRefresh"===n)&&!(void 0!==o&&o)&&!this.syncShow.isSessionBanner({nodeID:r})},e.prototype.getBannerReloadingSettings=function(e){if(e){var t,n,r=(t=this.begunAutocontext.savedFeeds[e].feed,void 0===(n=this.store.get("".concat(e,".nbanner")))&&(n=0),t&&t.banners&&t.banners.graph&&t.banners.graph[n]&&"object"==typeof t.banners.graph[n]&&t.banners.graph[n].frontend_params&&t.banners.graph[n].frontend_params.reload_thresholds);return r||void 0}},e.prototype.getBlockReloadingSettings=function(e){if(e)return(this.begunAutocontext.savedFeedsOptions[e]||{}).inViewTimer},e.prototype.getPlatformBlockReloadingSettings=function(e){return"object"==typeof e.startInViewTimer&&e.startInViewTimer||void 0},e.prototype.isNonReloadablePlace=function(e,t){var n=this.store.get("".concat(e,".nbanner"))||0,r=this.begunAutocontext.savedFeeds[e].feed.banners.graph[n].user_id;return t.some((function(e){return r===Number(e)}))},ba([re(J.BegunAutocontext),wa("design:type",Object)],e.prototype,"begunAutocontext",void 0),ba([re(J.SyncShow),wa("design:type",jn)],e.prototype,"syncShow",void 0),ba([re(J.Store),wa("design:type",Object)],e.prototype,"store",void 0),ba([re(J.MethodsInitializer),wa("design:type",Object)],e.prototype,"adInitializer",void 0),e}(),ka=Oa,Ta=function(e){ie(window).includes("capirs_log_statuses")&&console.log(e)},xa=function(){return xa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?n.pageNumber=Number(t.pageNumber):n.pageNumber=0,n},Is=["gazeta.ru","auto.rambler.ru","doctor.rambler.ru","finance.rambler.ru","games.rambler.ru","kino.rambler.ru","news.rambler.ru","sport.rambler.ru","travel.rambler.ru","weekend.rambler.ru","woman.rambler.ru","horoscopes.rambler.ru","m.horoscopes.rambler.ru","weather.rambler.ru","m.weather.rambler.ru"],Cs=function(e,t){var n,r;void 0===t&&(t={}),e.params=e.params||{};var o,i,a,s,c=xs(t);c.puid42=function(e){void 0===e&&(e=1e5);var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t?t.downlink>e?void 0:t.downlink:void 0}(),c.pli=t.pli?t.pli:"a",c.plp=t.plp?t.plp:"a",c.pop=t.pop?t.pop:"a",o=new URL(ie(window)),i=o.hostname,a=function(e,t){for(var n=!1,r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ds=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},js=function(){function e(){var e,t,n=this;this._handleLocationChange=function(){n._store.set("rq_sess",n.genNewRequestToken())},this._initRequestToken(),this._eventEmitter.register(((e={})[ee.PAGE]=((t={})[te.SPA_UPDATE]=this._handleLocationChange,t),e)),(0,In.addEventListener)(window,"changestate",this._handleLocationChange)}return e.prototype.getPageRequestToken=function(){return this._store.get("rq_sess")},e.prototype.genNewRequestToken=function(){for(var e="",t=0;t<32;)e+=Math.floor(16*Math.random()).toString(16),t+=1;return e.toUpperCase()},e.prototype._initRequestToken=function(){this._store.get("rq_sess")||this._store.set("rq_sess",this.genNewRequestToken())},Rs([re(J.Store),Ds("design:type",Object)],e.prototype,"_store",void 0),Rs([re(J.EventEmitter),Ds("design:type",Object)],e.prototype,"_eventEmitter",void 0),e}(),Bs=o(3324),Ns="adtech_uid",Fs=function(){function e(e){this.regValidKey=new RegExp("([a-zA-Z0-9_-]{0,})","i"),this.cookies=e}return e.prototype.getItem=function(e,t){var n,r,o=this.cookies.split(";").reduce((function(e,n){var r=n.trim().split("="),o=r[0],i=r[1];return o===t&&e.push(decodeURIComponent(i)),e}),[]);if(!o.length)return!1;for(var i=0,a=o;i0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0?(n=t.getParameter(t.getExtension("WEBGL_debug_renderer_info").UNMASKED_VENDOR_WEBGL),r=t.getParameter(t.getExtension("WEBGL_debug_renderer_info").UNMASKED_RENDERER_WEBGL)):(n="Not supported",r="Not supported"),[n,r]}catch(e){return"Not supported;;;Not supported"}},e}(),dc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},hc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=3?r():setTimeout(c,500)}}catch(e){r(e)}};c(),t=function(){o||(o=!0,a>0&&s())}}));return[n,t]},e.prototype.getHash=function(e){for(var t=0,n=0;nwindow.screen.logicalXDPI?e=window.screen.systemXDPI/window.screen.logicalXDPI:void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e),size:{height:window.screen.height,width:window.screen.width}},system:{name:Cc(),version:Ac()}},userLanguage:this.getUserLanguage(),timezoneOffset:this.getTimezoneOffset(),plugins:this.getPlugins()};var e},e.prototype.getTimezoneOffset=function(){try{return{TimezoneOffset:(new Date).getTimezoneOffset()}}catch(e){return null}},e.prototype.onUserDataGathered=function(){var e=this;this.onUserDataGatheredCallbacks.forEach((function(t){t(e.userData)}))},e.prototype.getCollectedUserData=function(){var e=Rc({},this.baseFpProperties);return 0===this.baseFpProperties.browser.screen.pixelRatio&&(e.browser.screen.pixelRatio=1),Dc([{UserAgent:navigator.userAgent}],Object.values(e),!0)},e.prototype.getPlugins=function(){try{return{Plugins:this.getRegularPlugins()}}catch(e){return null}},e.prototype.getRegularPlugins=function(){var e=this;try{for(var t=[],n=0;nt.name?1:e.name0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]>=8;return t},e.getFingerPrintHash=function(t){var n=1471357547+Number(nc.split(".").map((function(e){return ec("0",2-e.length)+e})).join("")),r=e.fnv32a(t.substr(0,t.length/2),2166136261),o=e.fnv32a(t.substr(t.length/2),r);o=4294967040&o|1;var i="";return i+=e.tobinary(4004),i+=e.tobinary(n),i+=e.tobinary(r),i+=e.tobinary(o),i+=String.fromCharCode(0),btoa(i)},e.prototype.getUserLanguage=function(){return this.userData.baseFpProperties.userLanguage?this.userData.baseFpProperties.userLanguage:null},e.prototype.getTimezoneOffset=function(){return this.userData.baseFpProperties.timezoneOffset?this.userData.baseFpProperties.timezoneOffset:null},e.prototype.getCompleteFingerprint=function(){return this.completeFPPromise},e.prototype.getJsonFpParams=function(){return Mc(this,void 0,void 0,(function(){var e,t,n,r,o;return Vc(this,(function(i){switch(i.label){case 0:return[4,this.completeFPPromise];case 1:return e=i.sent(),t=e.fp,n=e.screen,r=e.others,o={f:{p:t.plugins,c:t.canvasWinding,i:t.canvasImage,v:t.webGLVendor,r:t.webGLRenderer,w:t.webAudioContext},s:{w:n.screenWidth,h:n.screenHeight,a:n.screenAvalWidth,b:n.screenAvalHeight,p:n.pixelRatio,c:n.colorDepth},o:{t:r.timezoneOffset,u:r.userLanguage}},[2,JSON.stringify(o)]}}))}))},e.prototype.getVersion=function(){return nc},e.prototype.getGatheredIP=function(){return this._gatheredIP||this.defaultIP.IP},e.prototype.getCollectedUserData=function(){return this.userDataString},e.prototype.getExperimentalFingerprints=function(){return this.experimentalFingerprints.get()},e.prototype.getWebAudioFp=function(){return Mc(this,void 0,void 0,(function(){var t,n,r;return Vc(this,(function(o){switch(o.label){case 0:return[4,this.webAudioFp.getFingerprint()];case 1:return(t=o.sent()).ok?(n=t.webAudioHash(),r=JSON.parse(this.getCollectedUserData()),[2,e.getFingerPrintHash(JSON.stringify(Uc(Uc([],r,!0),[{hash:n}],!1)))]):[2,""]}}))}))},e.prototype.getUserIDs=function(){return Promise.all([this.getFingerPrint()])},e.prototype.getBaseFingerprint=function(){return this.baseFingerprint},e.prototype.getFingerPrint=function(e){var t=this;return void 0===e&&(e=!1),new Promise((function(n){if(t.isAccurate)return n(t.getID());t.isGetFingerPrintCalled&&!e?t.onceFullUidResolve.push((function(){n(t.getID())})):(t.isGetFingerPrintCalled=!0,t.getUIDParams().then((function(e){t.onUidResolved(e),t.emitUidResolve(),n(t.getID())})).catch((function(){t.resetState(),t.emitUidResolve(),n(t.getID())})))}))},e.prototype.getID=function(){return this.accurateFingerprint||this.baseFingerprint},e.prototype.subscribeOnWebRTC=function(e){this.webRTCIP&&this.webRTCIP.onWebRTCRequest(e)},e.prototype.generateCompleteFingerprint=function(){return Mc(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s,c,u,l,p,f,d,h,v,g;return Vc(this,(function(m){switch(m.label){case 0:return(e=this.userData.baseFpProperties).plugins?(n=JSON.stringify(e.plugins.Plugins),t=(0,tc.murmur3)(n)):t=null,r=this.fpWithCanvas.getCanvas(),o=r.canvasWinding,i=r.image,a=!0===o?1:null,s=i?(0,tc.murmur3)(i):null,"string"==typeof(l=this.fpWithCanvas.getWebGL())?(c=null,u=null):(c=l[0],u=l[1],"Not supported"===c&&(c=null),"Not supported"===u&&(u=null)),[4,this.getWebAudioFp()];case 1:return p=m.sent(),f=""===p?null:(0,tc.murmur3)(p),d=e.timezoneOffset?e.timezoneOffset.TimezoneOffset:null,h=e.userLanguage?e.userLanguage.UserLanguage:null,v=e.browser.screen,g=v.pixelRatio||null,[2,{fp:{plugins:t,canvasWinding:a,canvasImage:s,webGLVendor:c,webGLRenderer:u,webAudioContext:f},screen:{screenWidth:v.size.width,screenHeight:v.size.height,screenAvalWidth:v.availableSize.width,screenAvalHeight:v.availableSize.height,pixelRatio:g,colorDepth:v.colorDepth},others:{timezoneOffset:d,userLanguage:h}}]}}))}))},e.prototype.getUIDParams=function(){var e=this;return this.getIP().then((function(t){return Uc(Uc([],e.userData.userData,!0),[null===t?{IP:null}:t],!1)}))},e.prototype.getIP=function(){return Mc(this,void 0,void 0,(function(){var e,t;return Vc(this,(function(n){switch(n.label){case 0:if(!this.settings||!this.settings.ipDiscUrl)return[3,8];n.label=1;case 1:return n.trys.push([1,6,,7]),[4,this.getIPFromServer()];case 2:return(e=n.sent())?(t=e,[3,5]):[3,3];case 3:return[4,this.getWebRTCIP()];case 4:t=n.sent(),n.label=5;case 5:return[2,t];case 6:return n.sent(),[2,this.defaultIP];case 7:return[3,9];case 8:return[2,this.getWebRTCIP()];case 9:return[2]}}))}))},e.prototype.getWebRTCIP=function(){return Mc(this,void 0,void 0,(function(){var e;return Vc(this,(function(t){switch(t.label){case 0:if(!this.webRTCIP)return[2,this.defaultIP];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.webRTCIP.getIP()];case 2:return[2,(e=t.sent())?{IP:e}:this.defaultIP];case 3:return t.sent(),[2,this.defaultIP];case 4:return[2]}}))}))},e.prototype.getIPFromServer=function(){var e=this;return new Promise((function(t){if(!e.settings||!e.settings.ipDiscUrl)return t(null);setTimeout((function(){t(null)}),1e3);var n=new XMLHttpRequest;n.onload=function(){4===n.readyState&&(200===n.status&&n.responseText?t({IP:n.responseText}):t(null))},n.onerror=function(){t(null)},n.open("GET",e.settings.ipDiscUrl,!0),n.send()}))},e.prototype.emitUidResolve=function(){this.onceFullUidResolve.forEach((function(e){e()})),this.onceFullUidResolve=[]},e.prototype.onUidResolved=function(t){this.userDataString=JSON.stringify(t);for(var n=0,r=Object.values(t);n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Xc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Jc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Kc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},tu=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},nu=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},ru=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},au=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},su=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},cu=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]":">",'"':""","'":"'"}),Su=/[&<>"']/g,Eu=RegExp(Su.source);var Ou=function(e){return(e=_n(e))&&Eu.test(e)?e.replace(Su,_u):e};function ku(e){return ku="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ku(e)}function Tu(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(ku(r)));var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),o=!1,n},set:function(e){r=e}}}var xu=function(){return xu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Iu=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Cu=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Au=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0,u="string"==typeof e&&e.length>0;if(c&&u){var l=be(e);if(!l)return new Promise((function(t){var r={nodeID:e,reason:ci.DoesNotExist,optionsB:n,status:!1};Ta(r),t(r)}));l.className="".concat(l.className||""," ").concat(r)}var p=this._syncShow.getSession(n["begun-block-id"])||{};n.sessionKey=p.key||"",window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:ui.PENDING});var f=be(e);return new Promise((function(o,c){window.Begun.Autocontext.addBlock(wu(n,Du),(function(u,l,p,f,d){var h=Ps({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:l,misc:n["begun-misc"],reached:0,graphAmount:d,node_id:je(e)},t);s._cachedBlockShowLoggerFactory(e,Date.now(),h,n),a?a(u,l,p):s._syncShow.show({divID:e,options:t,optionsB:n,optClass:r,callback:i,priority:u,impressionID:l,blockID:p,sessionKeys:f}).then((function(r){return s.bannerIsRendered(e,{sspJparams:t,optionsB:n,syncShowResult:r,impressionID:l})})).then((function(e){return s._eventEmitter.dispatch(ee.BLOCK,te.DRAW_COMPLETE,null,[xu(xu({},na(e)),{impressionID:l})]),e})).then(o).catch(c)}),e)})).then((function(e){if(n.wipeBeforeRender&&f){var t=ke(),r=qi({className:t,rules:{height:"initial"},nonce:s._config.getConfigValue("STYLE_NONCE_VALUE")});f.parentElement.appendChild(r),f.classList.add(t)}return e}))},e.prototype.sspScroll=function(e,t,n,r,o,i,a){var s;return void 0===t&&(t={}),s=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.desktopScrollRate?window.Adf.desktopScrollRate:0,this.scrollCore({methodName:"sspScroll",scrollRate:s},{divID:e,sspJparams:t,optionsB:n,optClass:r,optWin:o,callback:i,hardCallback:a})},e.prototype.sspScrollMobile=function(e,t,n,r,o,i,a){var s;return void 0===t&&(t={}),s=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.mobileScrollRate?window.Adf.mobileScrollRate:0,this.scrollCore({methodName:"sspScrollMobile",scrollRate:s},{divID:e,sspJparams:t,optionsB:n,optClass:r,optWin:o,callback:i,hardCallback:a})},e.prototype.deferredSsp=function(e,t,n,r){var o=this;void 0===t&&(t={}),void 0===r&&(r={}),n=Pa(n);var i=this._syncShow.getSession(n["begun-block-id"])||{};n.sessionKey=i.key||"",window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:ui.PENDING});var a=be(e),s=null,c=null,u=new Promise((function(e,t){s=e,c=t}));return window.Begun.Autocontext.addBlock(wu(n,Du),(function(i,u,l,p,f){var d=Ps({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:u,misc:n["begun-misc"],reached:0,graphAmount:f,node_id:je(e)},t);o._cachedBlockShowLoggerFactory(e,Date.now(),d,n),o._metricsTransport.freezeTimer(e.toString());var h=new IntersectionObserver((function(f){var d=f&&f[0];d&&d.isIntersecting&&(o._metricsTransport.unFreezeTimer(e.toString()),h.unobserve(a),o._syncShow.show({divID:e,options:t,optionsB:n,priority:i,impressionID:u,blockID:l,sessionKeys:p,doWipe:r.doWipe}).then((function(r){return o.bannerIsRendered(e,{sspJparams:t,optionsB:n,syncShowResult:r,impressionID:u})})).then(s).catch(c))}),{root:n.customRoot||null,rootMargin:n.customRootMargin||(n.customRootMarginPercent?"0px 0px ".concat(n.customRootMarginPercent,"% 0px"):"0px 0px 0px 0px"),threshold:r.inViewThresholds||[0]});h.observe(a)}),e),u.then((function(e){if((r.doWipe||n.wipeBeforeRender)&&a){var t=ke(),i=qi({className:t,rules:{height:"initial"},nonce:o._config.getConfigValue("STYLE_NONCE_VALUE")});a.parentElement.appendChild(i),a.classList.add(t)}return e}))},e.prototype.reloadssp=function(e,t,n,r,o){void 0===t&&(t={}),Ru.log(401,"Данный метод помечен как deprecated \n Используйте ssp|sspScroll для перезагрузки баннера, \n передав в optionsB forceNewSesion со значением true. \n");var i=be(e);return new Promise(i?function(i){n.forceNewSession=!0,n.wipeBeforeRender=!0,n.shouldFreezeWrapperHeight=!0,window.Adf.banner.ssp(e,t,n,null,null,r,o).then((function(e){i(e)}))}:function(t){var r={nodeID:e,optionsB:n,reason:ci.DoesNotExist,status:!1};Ta(r),t(r)})},e.prototype.feed_ssp=function(e,t,n,r){var o,i,a=this;void 0===t&&(t={}),n=Pa(n),r.banners.graph.forEach((function(e,t){return lu(["source","viewability","tracking"],t,e)})),(null===(i=null===(o=r.debug)||void 0===o?void 0:o.request)||void 0===i?void 0:i.url)&&(r.debug.request.url=Ou(r.debug.request.url));var s={block_id:n["begun-block-id"],pad_id:n["begun-auto-pad"],method:n.calledMethod},c=Ps({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:r.params.impression_id,misc:n["begun-misc"],reached:0,uuid:r.cookies&&r.cookies.uuid||"",rq_type:1,graphAmount:r.banners.graph.length,node_id:je(e)},t);return this._blockShowLoggerFactory(e,Date.now(),c,n,r),window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:ui.PENDING}),this._syncShow.show({divID:e,options:t,optionsB:n,priority:r.params.priority,impressionID:{feed:r,blockData:s},blockID:s.block_id,sessionKeys:r.params.session_keys}).then((function(o){return a.bannerIsRendered(e,{sspJparams:t,optionsB:n,bannerData:{feed:r,blockData:s},impressionID:xn(r),syncShowResult:o})})).then((function(e){return a._eventEmitter.dispatch(ee.BLOCK,te.DRAW_COMPLETE,null,[xu(xu({},na(e)),{impressionID:xn(r)})]),e}))},e.prototype.feed_sspScroll=function(e,t,n,r){var o;return void 0===t&&(t={}),o=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.desktopScrollRate?window.Adf.desktopScrollRate:0,this.scrollCore({methodName:"feed_sspScroll",destinationMethod:"feed_ssp",scrollRate:o},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.feed_sspScrollMobile=function(e,t,n,r){var o;return void 0===t&&(t={}),o=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.mobileScrollRate?window.Adf.mobileScrollRate:0,this.scrollCore({methodName:"feed_sspScrollMobile",destinationMethod:"feed_ssp",scrollRate:o},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.feed_sspRich=function(e,t,n,r){return void 0===t&&(t={}),this.richCore({methodName:"feed_sspRich",destinationMethod:"feed_ssp"},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.ssp_video=function(e){var t=e.divID,n=e.sspJparams,r=e.optionsB;return Cu(this,void 0,void 0,(function(){var e,o;return Au(this,(function(i){switch(i.label){case 0:return(e=document.getElementById(t))?[4,this._vapirsFeed.getRequestURL({sspJparams:n,optionsB:r,divID:t})]:[2,{success:!1,error:new Error("Unable to find dom element with ".concat(t))}];case 1:return o=i.sent(),[2,this.vastPlaybackWrapper.startVideo(e,{mute:!0,url:o})]}}))}))},e.prototype.spaPageUpdate=function(){this._metricsTransport.clearBannerTimersMap(),this._eventEmitter.dispatch(ee.PAGE,te.SPA_UPDATE)},e.prototype.log=function(e,t,n){return Ru.log(e,t,n)},e.prototype.richCore=function(e,t){var n=this,r=e.destinationMethod,o=void 0===r?"ssp":r;t.optionsB=Pa(t.optionsB);var i=be(t.divID);return new Promise(i?function(e,r){var i=function(){var a,s=(void 0===a&&(a=window),{height:pu(a),width:fu(a)}).height;if(Wn()+20>=s)if("feed_ssp"===o)n.feed_ssp(t.divID,t.sspJparams,t.optionsB,t.feed).then(e).catch(r);else n.ssp(t.divID,t.sspJparams,t.optionsB,t.optClass,t.optWin,t.callback,t.hardCallback).then(e).catch(r);else setTimeout(i,100)};i()}:function(e){var n={nodeID:t.divID,reason:ci.DoesNotExist,optionsB:t.optionsB,status:!1};Ta(n),e(n)})},e.prototype.scrollCore=function(e,t){var n=this,r=e.destinationMethod,o=void 0===r?"ssp":r,i=e.scrollRate,a=void 0===i?0:i,s=e.topTreshold,c=void 0===s?0:s,u=this._store.get("".concat(Ai(t.divID),".intersectionObserver"));u&&u.disconnect(),t.optionsB=Pa(t.optionsB);var l=be(t.divID);return l?(t.optionsB.wipeImmediately&&(l.innerHTML=""),new Promise((function(e,r){n._metricsTransport.freezeTimer(t.divID.toString());var i=new IntersectionObserver((function(a){var s=a&&a[0];if(s&&s.isIntersecting)if(n._metricsTransport.unFreezeTimer(t.divID.toString()),i.unobserve(l),n._store.delete("".concat(Ai(t.divID),".intersectionObserver")),"feed_ssp"===o)window.Adf.banner.feed_ssp(t.divID,t.sspJparams,t.optionsB,t.feed).then(e).catch(r);else window.Adf.banner.ssp(t.divID,t.sspJparams,t.optionsB,t.optClass,t.optWin,t.callback,t.hardCallback).then(e).catch(r)}),{root:t.optionsB.customRoot||null,rootMargin:t.optionsB.customRootMargin||"0px 0px ".concat(a,"% 0px"),threshold:[c]});i.observe(l),n._store.set("".concat(Ai(t.divID),".intersectionObserver"),i)}))):new Promise((function(e){var n={nodeID:t.divID,reason:ci.DoesNotExist,optionsB:t.optionsB,status:!1};Ta(n),e(n)}))},Pu([re(J.cachedBlockShowLoggerFactory),Iu("design:type",Function)],e.prototype,"_cachedBlockShowLoggerFactory",void 0),Pu([re(J.SyncShow),Iu("design:type",jn)],e.prototype,"_syncShow",void 0),Pu([re(J.InViewTimerStarter),Iu("design:type",ka)],e.prototype,"_inViewTimerStarter",void 0),Pu([re(J.blockShowLoggerFactory),Iu("design:type",Function)],e.prototype,"_blockShowLoggerFactory",void 0),Pu([re(J.EventEmitter),Iu("design:type",Object)],e.prototype,"_eventEmitter",void 0),Pu([re(J.Store),Iu("design:type",Object)],e.prototype,"_store",void 0),Pu([re(J.Config),Iu("design:type",Object)],e.prototype,"_config",void 0),Pu([re(J.VastPlaybackWrapper),Iu("design:type",Object)],e.prototype,"vastPlaybackWrapper",void 0),Pu([re(J.MetricsTransport),Iu("design:type",Ue)],e.prototype,"_metricsTransport",void 0),Pu([Tu,ze,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"ssp",null),Pu([Tu,ze,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"sspScroll",null),Pu([Tu,ze,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"sspScrollMobile",null),Pu([Tu,ze,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"deferredSsp",null),Pu([Tu,Ia(2,!0),As(1,2),Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"reloadssp",null),Pu([Tu,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"feed_ssp",null),Pu([Tu,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"feed_sspScroll",null),Pu([Tu,Ia(2),As(1,2),Ra,Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"feed_sspScrollMobile",null),Pu([Tu,Ia(2),As(1,2),Iu("design:type",Function),Iu("design:paramtypes",[Object,Object,Object,Object]),Iu("design:returntype",Promise)],e.prototype,"feed_sspRich",null),e}(),Bu=ju,Nu=function(){function e(e){this.Autocontext=e}return e.prototype.push=function(e){var t=this.Autocontext.__blocks||[];t[t.length]=e,this.Autocontext.__blocks=t},e.prototype.getBlockById=function(e,t){if(e){var n=void 0,r=0;t=t||this.Autocontext.__blocks||[];do{if((n=t[r])&&n.id.toString()===e.toString())return n;r+=1}while(n)}},e}(),Fu=Nu,Lu=q(o(2239)),Mu=function(){function e(){}return e.includeScript=function(t,n,r){if(void 0===n&&(n="append"),t&&ge(t)){var o=function(){r&&r()};return"write"===n?Ce({action:"write",type:e.SCRIPT_TYPE,src:t,target:document.head||document.body,removeAfterLoading:!0,document:document,onload:o}):"append"===n&&Ce({action:"append",type:e.SCRIPT_TYPE,async:!0,src:t,target:document.head||document.body,removeAfterLoading:!0,document:document,onload:o}),!0}return!1},e.foundScript=function(e){return!!Array.from(document.head.getElementsByTagName("script")).find((function(t){return e.src?e.src===t.src:e.textContent===t.textContent}))},e.createScript=function(e,t){try{var n=t.createElement("script");n.type="text/javascript",n.text=e.text||e.innerText||e.textContent,n.text=n.text.replace(/\sdocument\.write\(/gi," window.document.write("),n.text=n.text.replace(/\swindow\.document\.write\(/gi," window.document.open('text/html');window.document.write(");var r=t.getElementsByTagName("script")[0];(window.CAPIRS_CONFIG||{}).SCRIPT_NONCE_VALUE&&n.setAttribute("nonce",window.CAPIRS_CONFIG.SCRIPT_NONCE_VALUE),r?r.parentNode.insertBefore(n,r):(o="head",i=t,a=0,void 0===i&&(i=document),"string"==typeof o&&ji(i)&&"number"==typeof a&&i.getElementsByTagName(o)[a]||null).appendChild(n)}catch(e){Lu.log(500,"Creating script failed",{Error:e})}var o,i,a},e.reattachScriptsOnce=function(t,n){void 0===n&&(n=document);for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Wu=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},qu=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0&&(this.dispatchBlockDrawCallback(n,t),this.runViewAbility({feed:t,subscriptionID:r,showUrls:o,domObj:n}))},e.prototype.dispatchBlockDrawCallback=function(e,t){window.Begun.Autocontext.Callbacks.dispatch(ee.BLOCK,te.DRAW,e,[t])},e.prototype.addSubscription=function(e,t,n){var r,o,i,a,s=null===(o=null==n?void 0:n.banners)||void 0===o?void 0:o.graph,c="";if(s&&s.length){var u=s[0];c=u.view_type.includes(Vi.ATOMS)?"atoms":u.mime}this.subscriptions[e]=(r=this._utilService.viewAbility).create.apply(r,qu(qu([],t,!1),[e,null===(a=null===(i=null==n?void 0:n.params)||void 0===i?void 0:i.marks)||void 0===a?void 0:a.misc,c],!1))},e.prototype.checkSubscription=function(e){return!!this.subscriptions[e]},e.prototype.unsubscribe=function(e){this.subscriptions[e]()},Hu([re(J.AdfUtil),Wu("design:type",Object)],e.prototype,"_utilService",void 0),e}(),Xu=Gu,Ju=q(o(2239)),Ku=function(){function e(){}return e.prototype.load=function(e,t){return void 0===t&&(t={}),new Promise((function(n,r){var o,i=new XMLHttpRequest;void 0!==t.withCredentials&&(i.withCredentials=t.withCredentials);var a=_e(e,{https:!0}),s=performance.now();i.open("GET",a,!0),i.onreadystatechange=function(){2===i.readyState&&(o=performance.now()-s)},i.onload=function(){n({responseText:i.responseText,status:i.status,ttfb:o})};var c=0;i.onerror=function(e){Ju.log(500,"Feed fetch src failed",{src:a,Error:e}),c<1?(c+=1,i.open("GET",a,!0),i.send()):r(e)},i.send()}))},e}();var $u=function(){};function Yu(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Yu.prototype=hs($u.prototype),Yu.prototype.constructor=Yu;var Qu=Yu,Zu=rt?rt.isConcatSpreadable:void 0;var el=function(e){return Ze(e)||Wr(e)||!!(Zu&&e&&e[Zu])};var tl=function e(t,n,r,o,i){var a=-1,s=t.length;for(r||(r=el),i||(i=[]);++a0&&r(c)?n>1?e(c,n-1,r,o,i):Cr(i,c):o||(i[i.length]=c)}return i};var nl=function(e){return(null==e?0:e.length)?tl(e,1):[]};var rl=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},ol=Math.max;var il=function(e,t,n){return t=ol(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=ol(r.length-t,0),a=Array(i);++o0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},ll=ul(sl);var pl=function(e){return ll(il(e,void 0,nl),e+"")},fl=wo&&new wo,dl=fl?function(e){return fl.get(e)}:ii,hl={},vl=Object.prototype.hasOwnProperty;var gl=function(e){for(var t=e.name+"",n=hl[t],r=vl.call(hl,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t};function ml(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}ml.prototype=hs($u.prototype),ml.prototype.constructor=ml;var yl=ml;var bl=function(e){if(e instanceof yl)return e.clone();var t=new Qu(e.__wrapped__,e.__chain__);return t.__actions__=$a(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},wl=Object.prototype.hasOwnProperty;function _l(e){if(dt(e)&&!Ze(e)&&!(e instanceof yl)){if(e instanceof Qu)return e;if(wl.call(e,"__wrapped__"))return bl(e)}return new Qu(e)}_l.prototype=$u.prototype,_l.prototype.constructor=_l;var Sl=_l;var El=function(e){var t=gl(e),n=Sl[t];if("function"!=typeof n||!(t in yl.prototype))return!1;if(e===n)return!0;var r=dl(n);return!!r&&e===r[0]};var Ol,kl,Tl=function(e){return pl((function(t){var n=t.length,r=n,o=Qu.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!a&&"wrapper"==gl(i))var a=new Qu([],!0)}for(r=a?r:n;++r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Bl=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Nl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Fl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]googletag.cmd.push(function(){".concat(Ml(e,t),"});<\/script>")}(n,r)):t.replace(d,function(e,t){return"