!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{decode:function(){return q},encode:function(){return N}}),window.__adFormats=window.__adFormats||{},window.__formatsGetters=window.__formatsGetters||{};var r,n=window.__adFormats,s=window.__formatsGetters;!function(e){e.fatal="fatal",e.error="error",e.warning="warning",e.log="log",e.info="info",e.debug="debug",e.critical="critical"}(r||(r={}));const i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c="?",l=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function u(e){return(e&&e.message||"No error message").split("\n").filter((e=>!!e))[0]}function d(e){try{const t=function(e){if(!e.stack)return null;const t=[],r=e.stack.split("\n");let n,s;for(let l=0;l{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function h(e,t){return"[object RegExp]"===Object.prototype.toString.call(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t)}const m=100;function f(){return window}class g extends p{constructor(e,t=f()){super(e),this.options=e,this.window=t,this.breadcrumbsKeyName="breadcrumbs",this.destroyed=!1,this._state={};const{plugins:r=[],beforeSend:n=e=>e,beforeBreadcrumb:s=e=>e,blacklistUrls:i=[],ignoreErrors:o=[],release:a,maxBreadcrumbs:c=m}=this.options||{}||[];this.plugins=r.map((e=>new e(this))),this.beforeSend=n,this.beforeBreadcrumb=s,this.blacklistUrls=i,this.ignoreErrors=o,this.release=a,this.maxBreadcrumbs=c>=0?c:m}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",e?{...e}:void 0),this}clone(){const e=new g({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){const t=this.beforeBreadcrumb(e);t&&(this.extendState({[this.breadcrumbsKeyName]:[{timestamp:Date.now()/1e3,...t}]}),this.trimBreadcrumbs())}setBreadcrumbs(e){this.setKeyState(this.breadcrumbsKeyName,e),this.trimBreadcrumbs()}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach((e=>{e.destroy&&e.destroy()}))}isIgnoredError(e){return!!this.ignoreErrors.length&&this.getPossibleEventMessages(e).some((e=>this.ignoreErrors.some((t=>h(e,t)))))}extractQueryString(e){let t=e;if(t){t.startsWith("/")&&(t=`http://prefix${t}`);try{const e=new URL(t).search.slice(1);return e.length?e:void 0}catch(e){return}}}getRequestBlank(){const e=this.window.location.toString();return{request:{url:e,query_string:this.extractQueryString(e),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){if(this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e))return;const t=this.beforeSend({release:this.release,...e});t&&(super.send(t),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:r=""}=e.exception.values&&e.exception.values[0]||{};return[`${r}`,`${t}: ${r}`]}catch(e){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return!!t&&this.blacklistUrls.some((e=>h(t,e)))}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(e){return null}}extendState(e){this._state=Object.keys(e).reduce(((t,r)=>{const n=this._state[r],s=Array.isArray(n)?n:null,i=e[r],o=Array.isArray(i)?i:null;return{...t,[r]:s||o?[...s||[],...o||[]]:{..."string"!=typeof n?n:{},..."string"!=typeof i?i:{}}}}),this._state)}setKeyState(e,t){this._state[e]=t}getKeyState(e){return this._state[e]}trimBreadcrumbs(){const e=this.getKeyState(this.breadcrumbsKeyName);e&&(e.length??0)>this.maxBreadcrumbs&&this.setKeyState(this.breadcrumbsKeyName,this.maxBreadcrumbs>0?e.slice(-this.maxBreadcrumbs):[])}}function y(e){let{adManagerEnv:t,spotConfig:r,width:n,height:s,interestIds:i}=e;const o=t.isMetaMaskActive?"cryptocurrency":"",a=r.exoclick_zone_id??null,c=t.magmaSourceId||t.sub,l=a?c:r.sub_id,u="about:blank"===window.location.href?window?.top?.location?.href:window.location.href;return{imp:[{secure:"https:"===window.location.protocol?1:0,ext:{user_keywords:o,tag_ab:t.tagAbVersion,labels:r.labels,title:encodeURIComponent(t.title),site_id:Number(r.siteId),spaceid:Number(r.id),userId:r.user_id,type:r.options.in_stream_ad_type,subid:String(l),ssp:r.ssp_id,idzone:a,utm1:t.holdableQSParams.utm_source,utm2:t.holdableQSParams.utm_medium,utm3:t.holdableQSParams.utm_campaign?String(t.holdableQSParams.utm_campaign):null,utm4:t.holdableQSParams.utm_content,mo:t.ua.device.model,vmap:r.options.vmap?1:0,ve:t.ua.device.vendor,spot_id:Number(r.id),ad_tags:`${t.keywords},${t.isMetaMaskActive?"cryptocurrency":""}`,refdomain:t.entryReferrerDomain,gyr:t.isGyroscope,accel:t.isAccelerometer,skip:r.options.max_skip_time,v2:t.v2},video:{w:n||0,h:s||0},pext:{ab:Boolean(t.isAdBlock)},metrics:{topics:t.topics}}],site:{id:String(r.id),cat:[`IAB${t.iabCategory}`],page:encodeURIComponent(u??"").replace(/%2F/g,"/").split("tgWebApp")[0],ctid:t.cabsId??1},device:{w:t.resolution[0],h:t.resolution[1]},user:{id:t.userId,fp:t.visitorId,fp_str:t.visitorIdString,interest_ids:i,telegram:t.telegram},ext:{dt:Date.now(),direct:r.options?.ssp_direct}}}function b(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t{var i="".concat(e).concat(r,"=").concat(encodeURIComponent(t[r]));return n!==s.length-1&&(i+="&"),i}),"");return"".concat(e,"?").concat(r)}(c,e.params),!0),a.timeout=e.timeout,a.onreadystatechange=function(){if(a&&4===a.readyState&&(0!==a.status||a.responseURL&&0===a.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in a?a.getAllResponseHeaders().split("\r\n").reduce(((e,t)=>{var[r,n]=t.split(": ");return r?w(w({},e),{},{[null==r?void 0:r.toLowerCase()]:n}):e}),{}):null,s={data:e.responseType&&"text"!==e.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:n,config:e,request:a};!function(e,t,r){!r.status||r.status>=200&&r.status<300?e(r):t(x("Request failed with status code "+r.status,r.config,null,r.request,r))}(t,r,s),a=null}},a.onabort=function(){a&&(r(x("Request aborted",e,"ECONNABORTED",a)),a=null)},a.onerror=function(){r(x("Network Error",e,null,a)),a=null},a.ontimeout=function(){var t="timeout of ".concat(e.timeout,"ms exceeded");e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(x(t,e,"ECONNABORTED",a)),a=null},"setRequestHeader"in a&&function(e,t){var r;if(null!=e)if("object"!=typeof e&&(e=[e]),r=e,"[object Array]"===Object.prototype.toString.call(r))for(var n=0,s=e.length;n1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatchRequest(w(w({},t),{},{url:e,method:"get"}))}post(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.dispatchRequest(w(w({},r),{},{url:e,method:"post",data:r.data?r.data:t}))}};var k=async function(e){if(!e)return[];try{let t=await e.get("_crtverts");return"string"==typeof t&&(t=function(e,t){var r;try{r=JSON.parse(e||"".concat(t))}catch(e){r=t}return r}(t)),Array.isArray(t)?t:[]}catch{return[]}},O="__in-stream-ad-init",j="https://vast.yomeno.xyz",C="linkRequestTime",R=new class{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}},E={set(e,t){return localStorage.setItem(e,t)},get(e){return localStorage.getItem(e)},remove(e){return localStorage.removeItem(e)}};try{E.set("__try",1),E.get("__try"),E.remove("__try")}catch(e){E=R}var A=E;const P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",B=new Uint8Array(256);for(let e=0;e>2],i+=t[(3&n[e])<<4|n[e+1]>>4],i+=t[(15&n[e+1])<<2|n[e+2]>>6],i+=t[63&n[e+2]];return s%3==2?i=i.slice(0,i.length-1)+r:s%3==1&&(i=i.slice(0,i.length-2)+r+r),i}function q(e,t=B){const r=e.length;let n=Math.floor(.75*e.length),s=0;"="===e[r-1]&&(n--,"="===e[r-2]&&n--);const i=new Uint8Array(n);for(let n=0;n>4,i[s++]=(15&o)<<4|a>>2,i[s++]=(3&a)<<6|63&c}return i}B[45]=62,B[95]=63;const T=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],M=((e=>{const t={};e.forEach(((e,r)=>t[e]=r))})(T),String.fromCharCode.bind(String),e=>{let t,r,n,s,i="";const o=e.length%3;for(let o=0;o255||(n=e.charCodeAt(o++))>255||(s=e.charCodeAt(o++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|s,i+=T[t>>18&63]+T[t>>12&63]+T[t>>6&63]+T[63&t]}return o?i.slice(0,o-3)+"===".substring(o):i});class D{constructor({wrappedUrlPath:e}){this.wrappedUrlPath=e}extendedEncode(e){return function(e,t){for(const r in t)e=e.replace(new RegExp(r,"g"),t[r]);return e}(M(e),{sw:"gu1",Sw:"gu2",sW:"gu3",SW:"gu4"})}wrapVastUrl(e,t){return`${e.includes("http")?e:`https://${e}`}${this.wrappedUrlPath}${this.extendedEncode(t)}`}}const I={};async function $(e,t,r,n,s){(await function(e,t){return window[e]?Promise.resolve(window[e]):function(e){if(I[e])return I[e];const t=document.createElement("script");return t.src=e,document.head.appendChild(t),I[e]=new Promise((e=>{t.onload=e})),I[e]}(t).then((()=>window[e]))}(e,t))(r,n,s)}async function K(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.debugMode&&console.log("Inst. Version: 1.93.1");const n=e.vast_urls??[],s=e.options.in_stream_ad_type,{selector:i}=e.options,{isAdBlock:o}=t;let a=r?.DisplayAdblockService?.hashedDomain;t.isTubeSite&&e.in_stream_ad_ad_block_domain&&(a=e.in_stream_ad_ad_block_domain);const c=e.primary_auction_url,l=e.in_stream_ad_ssp_url??`${j}/vast`,u="https://mcpuwpsh.com/get",d=e.scripts,p=o&&a?function(e){let{adBlockDomain:t,originSspUrls:r}=e;const n=new D({wrappedUrlPath:"/a/"});return r.filter((e=>e)).map((e=>n.wrapVastUrl(t,e)))}({adBlockDomain:a,originSspUrls:[c,l]}):[c,l],h=async(n,s)=>(async e=>{const{adManagerDependencies:t}=e,r=await k(t.SharedStorage),n=y({...e,interestIds:r}),s=e.sspUrls[0]??e.sspUrls[1];return U.post(s,n).then((e=>{if(e.status<200||e.status>=400)throw new Error;return e.data})).catch((()=>U.post(e.sspUrls[1],n).then((e=>{let{data:t}=e;return t}))))})({sspUrls:p,spotConfig:e,adManagerEnv:t,adManagerDependencies:r,width:n,height:s});if("overlay"===s)return $("initCdOverlay",d.overlay,{...e,vastUrls:n,mountTargetSelector:i,playerUrl:d.player,fetchCreatives:h,sspUrl:u},t,r);if("slider"===s)return $("initCdVideoSlider",d.slider,{...e,playerUrl:d.player,fetchCreatives:h,sspUrl:u},t,r);if("native"===s&&e.options.fly_roll)return $("initCdFlyRoll",d.flyRoll,{...e,vastUrls:n,selector:i,playerUrl:d.player,fetchCreatives:h,sspUrl:u},t,r);if("native"===s)return $("initCdNativeRoll",d.native,{...e,vastUrls:n,selector:i,playerUrl:d.player,fetchCreatives:h,sspUrl:u},t,r);if("link"===s){if(!function(){const e=A.get(C);return!(e&&(t=e,!(t&&Date.now()-t>18e5))||(A.set(C,new Date),0));var t}())return!1;await(async e=>{const t=y(e);return U.post(`${j}/prepare`,t)})({spotConfig:e,adManagerEnv:t})}return"jwpreroll"===s?$("initCdJwPreRoll",d.jwPreRoll,{...e,fetchCreatives:h},t,r):(console.error("Unknown in-stream ad type",s),!1)}const H=new g({dsn:"https://4d5ae83e4d7502c1053589b22c31178f@sentry.infra.infrapu.sh/36",release:"[instream]1.93.1"});try{const e=window[O];e&&"object"==typeof e&&K(e),window[O]=K,z=K,n[L="__in-stream-ad-event"]=z,s[L]&&(function(e){s[e].forEach((t=>{t(n[e])}))}(L),s[L]=null)}catch(e){H.report(e)}var L,z}();