(()=>{"use strict";const e={get:function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),i=0;i1?t-1:0),i=1;iObject.keys(e).map((t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t]))).join("&");function o(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild}function r(){var t=a();return window.ad_sub||t.promo||t.source||t.sub||e.get("source")||0}function a(e){if(""===location.search)return{};var t=location.search.substr(1).split("&").reduce(((e,t)=>{var n=t.split("=");return e[n[0]]=n[1],e}),{});return void 0!==e?e.reduce(((e,n)=>(t[n]&&(e[n]=t[n]),e)),{}):t}function s(e){var t="_tcpu_",n=a(),i={};return e.forEach((function(e){var o=localStorage.getItem(t+e),r=n[e]||o;r&&(i[e]=r),n[e]&&localStorage.setItem(t+e,n[e])})),i}var c=(e,t,n)=>{if(t&&e&&n){document.body.addEventListener(e,(function(e){var i=Array.from(function(e){if(e.path)return e.path;for(var t=[],n=e.target;n.parentNode;)t.push(n),n=n.parentNode;return t.push(document,window),t}(e)).filter((e=>e!=document&&e!=window)).filter((e=>(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t)))[0];i&&n.call(i,e)}))}};function u(){return!!window.matchMedia("(display-mode: standalone)").matches||!(!("standalone"in navigator)||!navigator.standalone)}function l(e){return"Mobile Safari"===e}function d(e){return"Safari"===e}function p(e){return-1!==e.indexOf("Edg")}const v={eventsStack:{},fireAll(e,t){var n=this.eventsStack[e];Array.isArray(n)&&n.forEach((function(e){e(t)}))},dispatch(e,t){this.fireAll(e,t)},on(e,t){if(null==typeof e)return new Error("Bad tcpusher messager event");if("function"!=typeof t)return new Error("tcpusher messager callback must be a function");var n=this.eventsStack[e];n?n.push(t):this.eventsStack[e]=[t]},sendParent(e,t){window.opener?window.opener.postMessage({event:e,data:t},"*"):console.warn("Cannot run in parent window")},init(e){window.addEventListener("message",(t=>{var n,i;t.origin===(n=e,(i=document.createElement("a")).href=n,i.protocol+"//"+i.host)&&this.dispatch(t.data.event,t.data.data)}))}};function h(e,t,n,i,o,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,o)}class m{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.path=e,this.options=Object.assign(t,{updateViaCache:"none"})}register(){var e,t=this;return(e=function*(){try{var e=yield navigator.serviceWorker.register(t.path,t.options);return yield e.update(),e}catch(e){throw new Error("TCPusher service worker register error "+e)}},function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(e){h(r,i,o,a,s,"next",e)}function s(e){h(r,i,o,a,s,"throw",e)}a(void 0)}))})()}}const w={possEvents:["click"],made:!1,wait(e){var t=this;return new Promise((n=>{this.made&&n(!0),"object"==typeof e&&0!==Object.keys(e).length||n(!0),this.possEvents.indexOf(event)>-1&&n(!0);var i=function(i){Array.isArray(e[i])&&e[i].forEach((e=>{c(i,e,((e,i)=>{t.made=!0,n(!0)}))}))};for(var o in e)i(o)}))}};var b="tcPusherRemoteRegStatus",y="other",f="https://subscribers.production.wpu.sh",g="/register",S="/in/subscription-error",A="https://sw.cowtpvi.com",P=Number("0"),D="_calActivator",M="_calActivatorStarted";function I(e,t,n,i,o,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,o)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(e){I(r,i,o,a,s,"next",e)}function s(e){I(r,i,o,a,s,"throw",e)}a(void 0)}))}}const E={isPermissionDenied:()=>"denied"===Notification.permission,isPermissionGranted:()=>"granted"===Notification.permission,isPushAvailible:()=>"PushManager"in window,isNotPushAvailable:()=>!("PushManager"in window),isSslMode:()=>P||"https:"===location.protocol,isNotSslMode:()=>!(P||"https:"===location.protocol),isRemoteMode:()=>!(!opener||!a().remTSub),isFirefox:()=>null!==navigator.userAgent.match(/Firefox\/\d+/),isChrome:()=>null!==navigator.userAgent.match(/Chrome\/\d+/)&&!p(navigator.userAgent),isSafari:()=>!!navigator.userAgent.match(/Safari\/\d+/),isAndroid:e=>"Android"===e.os.name,isAdBlock:()=>new Promise((e=>{var t=document.createElement("script");t.async=1,t.src=A+"/npc/sdk/wp-banners.js",t.onload=()=>e(!1),t.onerror=()=>e(!0),document.head.appendChild(t)})),isPrivateMode(){return new Promise((e=>{var t=()=>e(!0),n=()=>e(!1);if("https:"!==location.protocol)return n();if(this.isChrome())return void 0!==Promise&&void 0!==Promise.allSettled?void navigator.webkitTemporaryStorage.queryUsageAndQuota((function(e,i){var o;i<(void 0!==(o=window).performance&&void 0!==o.performance.memory&&void 0!==o.performance.memory.jsHeapSizeLimit?performance.memory.jsHeapSizeLimit:1073741824)?t():n()})):function(){if(window.webkitRequestFileSystem||window.RequestFileSystem){function e(){return i.apply(this,arguments)}function i(){return(i=O((function*(){if("storage"in navigator&&"estimate"in navigator.storage){var{usage:e,quota:i}=yield navigator.storage.estimate();return i<12e7?t():n()}}))).apply(this,arguments)}e()}}();if("MozAppearance"in document.documentElement.style){if(null===indexedDB)return t();var i=indexedDB.open("test");return i.onerror=t,void(i.onsuccess=n)}var o=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(o){if(parseInt(o[1],10)<11)return(()=>{try{localStorage.length||(localStorage.x=1,localStorage.removeItem("x")),n()}catch(e){navigator.cookieEnabled?t():n()}})();try{return window.openDatabase(null,null,null,null),n()}catch(e){return t()}}return window.indexedDB||!window.PointerEvent&&!window.MSPointerEvent?n():t()}))}},k="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBjbGFzcz0iIj48Zz48Zz4KCTxnPgoJCTxwYXRoIGQ9Ik00NjcuODEyLDQzMS44NTFsLTM2LjYyOS02MS4wNTZjLTE2LjkxNy0yOC4xODEtMjUuODU2LTYwLjQ1OS0yNS44NTYtOTMuMzEyVjIyNGMwLTY3LjUyLTQ1LjA1Ni0xMjQuNjI5LTEwNi42NjctMTQzLjA0ICAgIFY0Mi42NjdDMjk4LjY2LDE5LjEzNiwyNzkuNTI0LDAsMjU1Ljk5Mywwcy00Mi42NjcsMTkuMTM2LTQyLjY2Nyw0Mi42NjdWODAuOTZDMTUxLjcxNiw5OS4zNzEsMTA2LjY2LDE1Ni40OCwxMDYuNjYsMjI0djUzLjQ4MyAgICBjMCwzMi44NTMtOC45MzksNjUuMTA5LTI1LjgzNSw5My4yOTFsLTM2LjYyOSw2MS4wNTZjLTEuOTg0LDMuMzA3LTIuMDI3LDcuNDAzLTAuMTI4LDEwLjc1MmMxLjg5OSwzLjM0OSw1LjQxOSw1LjQxOSw5LjI1OSw1LjQxOSAgICBINDU4LjY2YzMuODQsMCw3LjM4MS0yLjA2OSw5LjI4LTUuMzk3QzQ2OS44MzksNDM5LjI3NSw0NjkuNzc1LDQzNS4xMzYsNDY3LjgxMiw0MzEuODUxeiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9ImFjdGl2ZS1wYXRoIiBzdHlsZT0iZmlsbDojMUM3MkJEIiBkYXRhLW9sZF9jb2xvcj0iIzFjNzJiZCI + PC9wYXRoPgoJPC9nPgo8L2c + PGc + Cgk8Zz4KCQk8cGF0aCBkPSJNMTg4LjgxNSw0NjkuMzMzQzIwMC44NDcsNDk0LjQ2NCwyMjYuMzE5LDUxMiwyNTUuOTkzLDUxMnM1NS4xNDctMTcuNTM2LDY3LjE3OS00Mi42NjdIMTg4LjgxNXoiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSJhY3RpdmUtcGF0aCIgc3R5bGU9ImZpbGw6IzFDNzJCRCIgZGF0YS1vbGRfY29sb3I9IiMxYzcyYmQiPjwvcGF0aD4KCTwvZz4KPC9nPjwvZz4gPC9zdmc + ",L={en:{title:"Subscribe to our push notifications.",buttonAction:"Subscribe",buttonDecline:"No Thanks"},ru:{title:"Подпишитесь на наши push-уведомления!",buttonAction:"Подписаться",buttonDecline:"Позже"},de:{title:"Abonnieren Sie unsere Push-Benachrichtigungen!",buttonAction:"Ermöglichen",buttonDecline:"Später"},fr:{title:"Abonnez-vous à nos notifications push!",buttonAction:"Retirer",buttonDecline:"Plus tard"},it:{title:"Iscriviti alle nostre notifiche push!",buttonAction:"Permettere",buttonDecline:"Dopo"},es:{title:"Suscríbete a nuestras notificaciones push!",buttonAction:"Permitir",buttonDecline:"Luego"},ja:{title:"私たちのプッシュ通知を購読する!",buttonAction:"許可する",buttonDecline:"後"},hi:{title:"हमारे पुश सूचनाओं की सदस्यता लें!",buttonAction:"अनुमति दें",buttonDecline:"बाद में"}},x={en:{title:"".concat(window.location.hostname," has been asked to send notifications"),buttonAction:"Allow",buttonDecline:"Block"},ru:{title:"с сайта ".concat(window.location.hostname," поступил запрос на отправку уведомлений"),buttonAction:"Разрешить",buttonDecline:"Блокировать"},de:{title:"Es liegt eine Anfrage von ".concat(window.location.hostname," zum Senden von Benachrichtigungen vor"),buttonAction:"Ermöglichen",buttonDecline:"Block"},fr:{title:"".concat(window.location.hostname," a reçu une demande d'envoi de notifications"),buttonAction:"Retirer",buttonDecline:"Blocs"},it:{title:"".concat(window.location.hostname," ha ricevuto una richiesta di invio di notifiche"),buttonAction:"Permettere",buttonDecline:"Blocco"},es:{title:"".concat(window.location.hostname," ha recibido una solicitud para enviar notificaciones"),buttonAction:"Permitir",buttonDecline:"Bloque"},ja:{title:"".concat(window.location.hostname,"が通知の送信を依頼されました。"),buttonAction:"許可する",buttonDecline:"ブロック"},hi:{title:"".concat(window.location.hostname," को सूचनाएं भेजने के लिए कहा गया है"),buttonAction:"अनुमति दें",buttonDecline:"अवरोध पैदा करना"}};var N=L[t]||L.en,j=x[t]||x.en,C={negative:"actor-negative",positive:"actor-positive"};const z={pop:null,show(e){this.pop&&(this.pop.classList.add("poper_show"),n(e,this))},close(e){this.pop&&(this.pop.classList.remove("poper_show"),n(e,this))},setEvents(e,t){this.pop.addEventListener("click",(n=>{(n.target.matches(".actor-negative")||n.target.matches(".actor-negative font"))&&this.close(e),(n.target.matches(".actor-positive")||n.target.matches(".actor-positive font"))&&this.close(t)}),!1)},create(){var{title:e=N.title,buttonAction:t={},buttonDecline:n={},icon:i=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,a=[Object.assign(n,{text:n.text||(r?j.buttonDecline:N.buttonDecline),order:n.order||"0",style:n.style,type:"negative"}),Object.assign(t,{text:t.text||(r?j.buttonAction:N.buttonAction),order:t.order||"1",style:t.style,type:"positive"})].sort(((e,t)=>e.order-t.order)).map((e=>function(e){var t="";if(e.style)for(var n in e.style)t+="".concat(n,":").concat(e.style[n],";");return'")}(e))).join(""),s=o('
'+e+'
'+a+"
");return document.body.appendChild(s),s},init(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return this.pop=this.create({title:t?j.title:e.title,buttonAction:e.buttonAction||j.buttonAction,buttonDecline:e.buttonDecline||j.buttonDecline,icon:e.icon},t),this.setEvents(e.onClose,e.onAccept),this}};function B(e){return{get:function(t){try{return e.getItem(t)}catch(e){return console.warn(e),null}},add:function(t,n){try{e.setItem(t,n)}catch(e){console.warn(e)}},delete:function(t){try{e.removeItem(t)}catch(e){console.warn(e)}}}}function _(e){return Object.assign({},e,{get:function(t){var n=null;try{n=JSON.parse(e.get(t))}catch(e){console.error(e)}return!n||n.timestamp&&Date.now()>=n.timestamp?(e.delete(t),null):n.value},add:function(t,n,i){var o=60*i*1e3;return e.add(t,JSON.stringify({value:n,timestamp:Date.now()+o})),n}})}var T=B(window.sessionStorage),K=(_(T),B(window.localStorage)),R=_(K);var U,Y,G;Y=document.scrollingElement||document.documentElement,G=null,U=null;var W=function(){return G=Y.scrollTop,U=document.body.style.cssText,document.body.style.cssText=";overflow: hidden; position: fixed; height: 100%; width: 100%; top:"+-G+"px; "},F=function(){return document.body.style.cssText=U,Y.scrollTop=G};class H{constructor(e){this.params=Object.assign(e,{transparency:e.transparency||".8",text:e.text||"Press “Allow” to continue!",onShow:e.onShow,onClose:e.onClose}),this.overlay=this.createOverlay(),this.is=!1}createOverlay(){var e=o('
\n
\n '],{type:"image/svg+xml"})),'">\n
').concat(this.params.text,"
\n
\n
"));return document.body.appendChild(e),e}show(){var{helperTopMargin:e=null,showHelper:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.is){if(t){var i=document.getElementById("puoverlay-box");e&&(i.style.marginTop=e),i.classList.remove("puoverlay-hidden")}this.overlay.classList.remove("puoverlay-hidden"),this.is=!0,W(),n(this.params.onShow)}}close(){this.is&&(this.overlay.classList.add("puoverlay-hidden"),this.is=!1,F(),n(this.params.onClose))}showHelper(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.is){var t=document.getElementById("puoverlay-box");e&&(t.style.marginTop=e),t.classList.remove("puoverlay-hidden")}}}function Z(e,t,n,i,o,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,o)}class J{constructor(e){this.overlay=e?new H(e):null}createStyle(){return new Promise((e=>{var t=document.createElement("link");t.href=A+"/npc/sdk/push/styles.css",t.rel="stylesheet",document.head.appendChild(t),t.onload=()=>e()}))}showNativePrompt(){var e,t=this;return(e=function*(){t.overlay&&t.overlay.show({showHelper:!0});var e=yield Notification.requestPermission();return t.overlay&&t.overlay.close(),e},function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(e){Z(r,i,o,a,s,"next",e)}function s(e){Z(r,i,o,a,s,"throw",e)}a(void 0)}))})()}canShow(e){return!R.get("tcPPopupStoper_".concat(e))}showPopupPrompt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((i=>{var o=e.id?"tcPPopupStoper_".concat(e.id):"tcPPopupStoper",r=z.init({title:e.title,buttonAction:e.buttonAction,buttonDecline:e.buttonDecline,icon:e.icon,onClose:()=>{var t;this.overlay&&this.overlay.close(),R.add(o,1,null!==(t=e.capping)&&void 0!==t?t:360),n(e.onClose),i({status:!1})},onAccept:()=>{var r;(n(e.onAccept),t)&&(this.overlay&&this.overlay.close(),R.add(o,1,null!==(r=e.capping)&&void 0!==r?r:360));i({status:!0,end:()=>{this.overlay&&this.overlay.close()}})}},t);setTimeout((()=>{this.overlay&&!e.noOverlay&&this.overlay.show({showHelper:e.showHelper,helperTopMargin:"170px"}),r.show(e.onShow)}),e.showDelay)}))}}const Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&e.blocked){var i=e.blocked[t]||e.default&&e.default[t]||e.blocked.en;if(i)return i}return e.default&&(e.default[t]||e.default.en)||e};window.__adFormats=window.__adFormats||{},window.__formatsGetters=window.__formatsGetters||{};var V=window.__adFormats,X=window.__formatsGetters;function q(e){var t=window["_on".concat(e)];t&&t()}var $={DENIED:"PermissionDenied",GRANTED:"PermissionAllowed",NOT_SUPPORTED:"WebPushNotSupported",ALREADY_DENIED:"AlreadyDenied",ALREADY_SUBSCRIBED:"AlreadySubscribed"};function ee(){return new Promise((e=>{var t=()=>{document.body.removeEventListener("click",t),e()};document.body.addEventListener("click",t)}))}for(var te=(e,t)=>{var n=t||"https://notification.tubecup.net/in/subscription-offers";(new Image).src="".concat(n,"?").concat(e)},ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",ie=new Uint8Array(256),oe=0;oe1&&void 0!==arguments[1]?arguments[1]:ne,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=new Uint8Array(e),o=i.length,r="",a=0;a>2],r+=t[(3&i[a])<<4|i[a+1]>>4],r+=t[(15&i[a+1])<<2|i[a+2]>>6],r+=t[63&i[a+2]];return o%3==2?r=r.slice(0,r.length-1)+n:o%3==1&&(r=r.slice(0,r.length-2)+n+n),r}ie[45]=62,ie[95]=63;const ae=JSON.parse('{"z":{"Z":"BA+ojkq9so7q7OARyvfbHGohFYx7mCLSzi2lztFiKoL5Nrnh2Iqdx7/3A12uiiYs4zRO9qotEtHApQ02R7KeY/Y="},"x":[{"id":0,"publicKey":"BA+ojkq9so7q7OARyvfbHGohFYx7mCLSzi2lztFiKoL5Nrnh2Iqdx7/3A12uiiYs4zRO9qotEtHApQ02R7KeY/Y=","privateKey":"J0SwjEIJcfxppH2m6jxyUa/GL8E6K1jKf/NZr3tEhDg="},{"id":1,"publicKey":"BPZP2eiVQ9M9ldQ7r2fhzutv-XFsMp-Td09w-YeUa4GfRM0v67zx1qaGM63ObPzaTsCP5dDka49rKFLAdMPE6OE","privateKey":"SRw6iGC8p0D_rch2VJJAD2DfI39Rq3aLy6kYBLcw54Y"},{"id":2,"publicKey":"BF6EtvSBQCWLNPiIKFl1BDdED6YuQP6-SzMrPMbNW7sVfANmHqfBFw740chC-It4jksmVqZisq0_PSF7gAgP5nQ","privateKey":"dMhda8ZV6PvVZKrtCO6m_zXhTTY_PO7Gca--ay32pX0"},{"id":3,"publicKey":"BEHF3tidJXPYC72Em3qikxTlUu8muOulHJZslAdiiYUnfzHf4WK4DcgPwmrPaAogLp5qPnC8heItmL_1YWFSAhY","privateKey":"K4-CPL84qFnYUzJyfOy7S2SJOO5-aWCtD7dZ-32FImQ"},{"id":4,"publicKey":"BBDqg-WUChOYKzOIX6NN5XJrar5S07W-CKaZZXXJGB60ZSgxwngaE2rUaAEtk6d7YubEG8O41nTU3WfgUylFQ58","privateKey":"HlH2-3te9k6uump5dD1yGtO1VF_xzGaewzwI2tUz_HM"},{"id":5,"publicKey":"BJYNCsbiJGzE8t9JwcXGYGuCqCMpnvmXWrbMoSzmbnjzxMHQj1q1ID-opWyEWc_S9uV4O8AywYCrlsXmm9tXiOo","privateKey":"6AL8w5ADSWOpTiyWeLYCmQbATZojYRVVpVCZSmPPfzI"},{"id":6,"publicKey":"BPXqJtk9Bdkncr9C2ufUukTZSSF9glUiIZAIiSzAcxW0dLYQQIybaflPfEAKB5SniyGy4ClBMyRK4vCZ1pKsPqI","privateKey":"Rtq7aePf5xT5cXdUQ8-aV2mKiKGnxJpgSvTkTwIlvCw"},{"id":7,"publicKey":"BMJh9g24g8sh8vW1tkCeH_KtNuZnibzf1I-7Bs6vrwFaLsQIMovo1V5xjG2OFLhyATSkD0w2KCHtBaQOcQSnuHk","privateKey":"wNDseDj6MMa1fZODaHqMZdWF7PvceFfGaFz1dMNNWBI"},{"id":8,"publicKey":"BE2A1EVOc4rObFyk2Nm-xFoDzyWzQcpnJGrWddYd4ZqNZDR-5YpjJ19iDI6JVwk9C_AkxaHqAw5URUyg7HIIPYk","privateKey":"X4cCxtvFpbZwaHg4D6BpItXRoCPD3rRVWlRhDhMulb0"},{"id":9,"publicKey":"BAqDDxkwMOnPahAtxNpsYdK8YCQFtaOdHE98XBO89YW0MZ0F7WZnTK7Q5Pz6wQ-N3ZHoPfZVZcgAs6VwPlLbQYY","privateKey":"B1S_I-klUdAPZsuDO59BIhrCEUEb-BceCUm9nrAvcX8"},{"id":10,"publicKey":"BBzCwiEPu1eobZvl_KHxzz3SUYJolGR4YZM-oplWC-oT5DfXXAcolbHY0i3qXwekwgD8ALMNwPtfpTuu77TpeFo","privateKey":"Wx-mwGLAmRGLuT4fsLqrA9dl-BTGTMYV4ghUpGGswDs"},{"id":11,"publicKey":"BEFv-JC2neGUXalb09va2aGjz4D5GHVHPcT6oHhoLhb3ZUgQywuVFy4HTh7VM_W74ZXGGa2p94IsZa2muhfTtDo","privateKey":"zQEKtUrcM0HvqgQzoA7kELu7_hGTVAUCOEaBl7TIjQM"},{"id":12,"publicKey":"BBzueAo9ImxPRg1hAT45FOxxkOhpw6nqsAOn78o4K94vuGrYxhn6Z5R9n_40IjhTfIM2DCxY1-k8A5c19omjKEQ","privateKey":"4BkiHfeJ_igDORlmx1MlJ3Heceez4CyoQfu6wjbv6GY"},{"id":13,"publicKey":"BCyBc56nn-zkbnQKJLh7G_KHGYRRN0zB7wSuwHhKo04zKj_ajZCbtGiufGddn_Hn9R1ShgdGPYuen3YkPuREDNk","privateKey":"2AJsDkii7KOhUIWfW9rN7riCtKdhquuEJAO8E_Wmlwg"},{"id":14,"publicKey":"BBdjVYgvM8VxAOPHBj1lPKxMtNgudcgw6UjkvPCvwicj3Go6iCgNdE9UsJXESnUbsBdxWPtaphjZ5Z0p_B0DOxU","privateKey":"HQEfHtvc_kwvAUyUqCFkGEbixMfzwsIB6aXnp0s4QG0"},{"id":15,"publicKey":"BFN9nGQSgD4PkkiGmgzf1jhImZrDdXkX-nUi1J_Vi6AtFymSfSMMXjF5GSsUjbL0NQO81YWuIpRsOSz7eR1Hs2Q","privateKey":"QOVWcay4m0NXSElJS-tBfyB2dvb_69n4lqeJr67WOGM"},{"id":16,"publicKey":"BBVEJplDPoX7Wl9-uHQFYPmUhDxBnBUdO_2ilTUN4gsUcqh7R7Z-zqJMHdbkx2UI2FIZ2yKFwNX9ov3FUGa-FT8","privateKey":"AwM1XS3A4TaJJL7DhQkPfZpQ_l3hAJCNCvofv6zDD-4"},{"id":17,"publicKey":"BMcljipZcnmxn2I-vVmWr3eENKXMxZ1C1X_ffIV02S2h5ltE0gL9iRuukT2gB-HYdh5VkIlJQus0DfeWEXQnBFA","privateKey":"eYmTgEF-oZven1YK8O3lGOU3s1Xq611Lh6MszwgzLyc"},{"id":18,"publicKey":"BDODN9DbpTXP3FB-NUE_pPxsS-OBMlpJUI-YAUsY-RguSzboQQeuMTzzopfDrmdGCScB4W_5DIMdmJ7g6bTLLYs","privateKey":"F-lsx0NoUCu_3OkNpoqOoeVZ1MGEj6hP46yuo4_aVYA"},{"id":19,"publicKey":"BPkizkKtqQTLNLR-SSYwi3nvAMSMFWJ5PzPV7iAS0c1VZVNPqAZt-iSCdKi0SNqL96afrnz959x5a3LI0nxCLe0","privateKey":"hzIxQXjSEiSOw3r234RkRg1vRCRJMRbOdpnp1-mOJPQ"},{"id":20,"publicKey":"BORkMYRMLhgUSKHs3w4AE5pNuLGU795obmB3nrUWmzEJHWddWEszHG8A1BYTk8SER80M2qEJa55kDtEAhbSHP-o","privateKey":"Mv3-4zDqM8iGv6FwFx0IPhY_pIFAZZj7jL64sZZMBCk"},{"id":21,"publicKey":"BBWGT0JNCgkuEbakF26pyL6CGEYJZiMsdKR-FGVBpshr9yDtYdlNDqnMrP7Tsgsg9oayG7qyA8hwAId2rvbHNxY","privateKey":"dImp_iFqstH8GrG641WwCTIfvH-gUYWyY0G-dGV2Ev8"},{"id":22,"publicKey":"BAiXrsjkiBnG49Nqb-CHOrtoLWZ0WyjV0FKLw3K0xZeGsUyREy-Rt_nmjLNd5zXXmXfEfcTqzBvrUBX18N3gkS4","privateKey":"zHomSXSv_nuZWHNBb7LzVfsl0z5lZvbO3YcP8UEI9mA"},{"id":23,"publicKey":"BKHxooeIkJAGM__VZMOPNf_eWW7xDPc9A1U8QU5pFNgfJQjIaUcJUiiSLOS3BYzDbxAUOI361KAIZQD22BKhB9Y","privateKey":"mB_5soSImOI-xElX-HrHojkUQ1ZSYSxy4Ga_-iRXrfg"},{"id":24,"publicKey":"BAIPvLA7WiYtvC-RdxhY7FvdnzEdA3o1MKqxnTfWjkfyK_gnlWtBVV5zOMiYQvhr1nbfzZi0GH8ye75n_ufgVvU","privateKey":"9IpMgu7qiUfR_vuedSo3YphgeV41yJNIi0FbqzzXZ7U"},{"id":25,"publicKey":"BFJnYsFNNuHSacuzylt1M6fyCYrZT3NNGxKGeQeG8f4mIsDcDHjK0MAoqeDD4vhBp_ZSj_IFJOZidFGfhbqolno","privateKey":"HSuyfoUfoGvR3Vb0OwtD3i1UC5V2bG4XTvZkQR2OQjI"},{"id":26,"publicKey":"BA6epAzFJ6vGppad_WPQ9e4hybpsOtx60Gg7AzKROy_Msbdi4vQN9TVCWiLVkagkXC4lUp7W03i7Uv7mFOhMF50","privateKey":"XrvW6TH0i9kDf1tSJcVBhAIBFKkzgizcX6CUKILRb6U"},{"id":27,"publicKey":"BFDJdEweGkbC7tyox7a5id6deOvOEg5jI4zD3_mM5Nthxcchr0IMr4-Sp6C40AH6oKUtJ-__O0nirPNUUO_rXdU","privateKey":"dBWCDB4w9NpEqF-mpn7K30-Po43ThpJO4vTVfM0ae3o"},{"id":28,"publicKey":"BFi-zcJoVhHOde2CmQYIi8ht30R1176eeUcAsWsxyTzQaARhGI7gmcv92oS_tZQx3OJhEOygU3gGBz_dGqBpMFE","privateKey":"VCjppYkHbDDtrQoNoimLyvLgRbtVKdHp5j-b7znzTyI"},{"id":29,"publicKey":"BAPJbkUpORgly-IyS7SWb2MOwgapL_RzE5zvRc_85Oa_9vVEmbg1JWmniOVPVgu9NjICSFmRozPvskGvicuNQWo","privateKey":"5m9xHyGByOgl5Bvj8CGWS8fMC5hzb8ZeNg5rWire3mU"},{"id":30,"publicKey":"BO5ulR7aC1L9nBV9zZSdMCOa75Dy87xu2n5dL53V0B-maYLcJ2ojCpNFB5MlXHvhVC1xbHIrEdUybb8I_BgQo90","privateKey":"8xd56TwJsx9VXya98BgET8Rm-sRVLyFyLzsmIBGeERg"}]}');function se(e,t,n,i,o,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,o)}function ce(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(e){se(r,i,o,a,s,"next",e)}function s(e){se(r,i,o,a,s,"throw",e)}a(void 0)}))}}var ue=["BJaXyY29eaA7ORRtA0xpeKc9C0Ui8R7QNXspoA4TlsUO-LU7qkQ5S_zJxEkICBMoCvisA4NHEygK0iQrA0yt7Jg","BPUg78IJ6rQgVgAm4XvxehGgZhHxv5cXWYgHs5JvLWilfDrkSTJnzqPtyGlpgMqMFXspeYPKe6dDmmUhpxLo818"],le=[...ae.x.map((e=>{var{publicKey:t}=e;return t})),ae.z.Z];function de(){return(de=ce((function*(){var e=yield navigator.serviceWorker.getRegistrations();return(yield Promise.all(e.map((e=>e.pushManager.getSubscription())))).map((e=>{var t;return re(null==e||null===(t=e.options)||void 0===t?void 0:t.applicationServerKey)})).filter((e=>""!==e&&!le.includes(e))).map((e=>ue.includes(e)?"pushhouse":"undefined")).join(",")}))).apply(this,arguments)}function pe(e){var t=0,n=setInterval(ce((function*(){var i=yield function(){return de.apply(this,arguments)}();t++,i?(e(i),clearInterval(n)):3===t&&clearInterval(n)})),3e3)}class ve{constructor(e){this.params=Object.assign(e,{skip:e.skip||[],onRemoteWinClose:e.onRemoteWinClose||null,remoteDomain:e.remoteDomain||"https://".concat(Math.random().toString(36).substring(7),".").concat("makenoads.com/sub/")}),this.remoteWin={width:300,height:100},this.resenderParams=["sub","subid1","subid2","subid3","subid4","tcid","spot_id","tube"],this.remoteStatus=K.get(b)||3}isPossible(){return!this.params.skip.some((e=>location.href.indexOf(e)>-1))&&3==+this.remoteStatus}subscribe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v.init(this.params.remoteDomain);var t=this.params.remoteDomain+"?remTSub="+encodeURIComponent(location.origin+location.pathname)+this.resenderParams.reduce(((t,n)=>t+"&".concat(n,"=").concat(encodeURIComponent(e[n]))),"");return new Promise((e=>{var i=function(e,t,n,i){null!=window.screenLeft?window.screenLeft:window.screenX,null!=window.screenTop?window.screenTop:window.screenY;var o=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,r=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,o/window.screen.availWidth),a=window.open(e,t,"scrollbars=yes, width="+n/r+", height="+i/r+", top=0, left=0");return window.focus&&a.focus(),a}(t,"_blank",this.remoteWin.width,this.remoteWin.height),o=setInterval((()=>{i.closed&&(clearInterval(o),n(this.params.onRemoteWinClose),e(3))}),500);v.on("sub",(t=>{i.close(),K.add(b,t),e(t)}))}))}}window.getRemoteSubscriber=function(){return ve};var he=e=>{var t=new Image;t.referrerPolicy="no-referrer",t.src=e},me=e=>{he("https://s.uuidksinc.net/match/1256/?remote_uid=".concat(e)),he("https://s.uuidksinc.net/match/1257/?remote_uid=".concat(e))};Error;Error;function we(e){e&&!window._rdrlnk&&(window._rdrlnk=e,window.location.replace(e))}function be(e){window.open(location.href,"_blank"),location.href=e}function ye(e){if(e){var t=!1,n=i=>(i.preventDefault(),t&&setTimeout((()=>{window.removeEventListener("beforeunload",n),window.location.replace(e)}),100),"*"),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t=e,window.addEventListener("beforeunload",n)};history.pushState({foo:"bar"},"back btn",window.location.href),history.replaceState(null,document.title,location.pathname+location.search);for(var o=0;o<2;o++)try{history.pushState(null,document.title,location.pathname+location.search)}catch(e){o=10}window.addEventListener("popstate",(function(){history.replaceState(null,document.title,location.pathname+location.search),window.removeEventListener("beforeunload",n),we(e)}),!1);try{window.performance.getEntriesByType("navigation").forEach((function(e){"reload"!==e.type&&("navigate"===e.type?i():i(!0))}))}catch(e){i(!0)}}}class fe{constructor(){this.CAPPING_KEY="_si_lst_shw"}show(e){if(this.canShow(e.capping))return setTimeout((()=>{z.init({onClose:()=>be(e.directLink),onAccept:()=>be(e.directLink)},!0).show(),e.contentBlocked&&new H({}).show({})}),1e3*e.showDelay)}canShow(e){var t=JSON.parse(localStorage.getItem(this.CAPPING_KEY));if(!t)return localStorage.setItem(this.CAPPING_KEY,JSON.stringify(Date.now())),!0;var n=Date.now()-new Date(t)>1e3*e;return n&&localStorage.setItem(this.CAPPING_KEY,JSON.stringify(Date.now())),n}}function ge(){var e=new RegExp("(WebView|(iPhone|iPod|iPad)(?!.*Safari/)|Android.*(wv))","ig");return Boolean(window.navigator.userAgent.match(e))&&-1!==window.navigator.userAgent.indexOf("fb")||-1!==window.navigator.userAgent.indexOf("android")||-1!==window.navigator.userAgent.indexOf("wv")}function Se(e){return"intent://"+e+"#Intent;scheme=https;package=com.android.chrome;end"}function Ae(e){document.body.addEventListener("click",(()=>{window.onbeforeunload=null,window.open(e,"_system")}))}function Pe(e){return"".concat(1===e?D:3===e?"_startMBpush":4===e?"pushONclsuboffer":D)}function De(e){return"".concat(1===e?M:3===e?"_startMBpushStarted":4===e?"pushONclStarted":M)}function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ie(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},{_pdomain:o=null,_psubdomain:a=null,initActions:c=null,withoutPermissionRegister:h=!0,serviceWorkerPath:b="/tcpusher.js",serviceWorkerOptions:A={},isRemoteSW:P=!1,promptOptions:D={},subLocker:M=null,remoteSub:I={poperText:{},tryDelay:360,onSubscriptionReceived:null},tube:O="tcpublisher",sub:k=t.magmaSourceId||t.sub||r(),subid1:L="",subid2:x="",subid3:N="",subid4:j="",tcid:C=0,spot_id:z=0,extSubParams:B={},skipsw:_=!1,onProcessPermission:T=null,onRequestPermission:K=null,onSubProcess:R=null,auction_url:U,allowed_link:Y="",denied_link:G="",already_subscribed_link:W="",unsupported_link:F="",back_button_link:H="",track_sub_url:Z,subInterstitialSettings:V={enabled:!1,onlyAndroid:!0},primary_auction_url:X,rfb:ne=!1,isManualStart:ie=!1}=e,oe={activate:()=>ke((function*(){if(ne&&ge()){Ae(Se(window.location.hostname+window.location.pathname+window.location.search))}else{var r=t=>{e.onSubscribed&&e.onSubscribed(t),we(Y)},ie=!V.onlyAndroid||E.isAndroid(t.ua),oe=V.enabled&&ie;ye(H);var re=()=>(new fe).show(V),ae=e.remoteSubOnDenied,se=Ie(Ie({href:location.href,tcid:C,spot_id:z,site:O,source_id:k},s(["utm_source","utm_medium","utm_campaign","utm_content"])),B);if(t.visitorId&&me(t.visitorId),_){if("object"!=typeof _)return;if(_.ff&&E.isFirefox())return}if((yield E.isPrivateMode())||!E.isPushAvailible())return q($.NOT_SUPPORTED),void we(F);if(E.isSslMode()&&h){var ce=new m(b,A);Ne.serviceWorkerRegistration=yield ce.register()}c&&!E.isPermissionGranted()&&(yield w.wait(c));var ue=new J(M);if(yield ue.createStyle(o),E.isPermissionDenied()&&oe)re();else{if(!Ne.isRemote&&(!E.isSslMode()||ae&&E.isPermissionDenied())){if(!ue.canShow("remote"))return;var le=new ve(I);if(!le.isPossible())return;var de=Q(I.poperText,E.isPermissionDenied());se.custom_p=1;var he=i(se);te(he,Z);var be=yield ue.showPopupPrompt({title:de.title,buttonAction:de.buttonAction,buttonDecline:de.buttonDecline,icon:I.icon,onClose:I.onPoperDecline,onAccept:I.onPoperAction,onShow:I.onPoperShow,showDelay:I.showPoperDelay,capping:I.tryDelay,noOverlay:I.noOverlay,showHelper:!0,id:"remote"});if(!be.status)return;var Pe=yield le.subscribe({sub:k,subid1:L,subid2:x,subid3:N,subid4:j,tcid:C,spot_id:z,tube:O});return n(I.onSubscriptionReceived,Pe),void be.end()}if(E.isPermissionDenied())q($.ALREADY_DENIED);else{if(!E.isPermissionGranted()){n(T);var De=!1,Me=i(se);if(p(t.ua.browser.name))yield ee();else if(E.isFirefox()||d(t.ua.browser.name)||l(t.ua.browser.name)&&u()||Object.keys(D).length>0){if(!ue.canShow("prompt"))return;if(te(Me,Z),De=!0,!(yield ue.showPopupPrompt(Object.assign(D,{title:D.title,buttonAction:D.buttonAction,buttonDecline:D.buttonDecline,onAccept:D.onAccept,onClose:D.onClose,onShow:D.onShow,capping:D.closeCapping,showHelper:!1,id:"prompt"}))).status)return}if(l(t.ua.browser.name)&&!u())return;De||te(Me,Z);var Oe=yield ue.showNativePrompt();if(n(K,Oe),q($[Oe.toUpperCase()]),"granted"!==Oe)return Ne.isRemote&&v.sendParent("sub","denied"===Oe?2:3),oe&&re(),void we(G)}if(!Ne.serviceWorkerRegistration){var Ee=new m(b,A);Ne.serviceWorkerRegistration=yield Ee.register()}var ke=new URLSearchParams(window.location.search).get("clickid"),Le=Ie(Ie(Ie(Ie({registerUrl:(a||f)+g,errorUrl:(a||f)+S,tube:O,sub:k,subid1:L,subid2:x,subid3:N,subid4:j,referrer:document.referrer||"",tcid:C,spot_id:z,is_adblock:Number(t.isAdBlock),is_pwa_subscriber:l(t.ua.browser.name)&&u(),href:window.location.href,fp:t.userId,fp_str:t.visitorIdString||""},ke&&{clickId:ke}),s(["utm_source","utm_medium","utm_campaign","utm_content"])),B),P&&Ne.uriParams);Le.tube=Le.tube||y,Le.sub=Number(Le.sub)||0,Le.subid1=Le.subid1||"",Le.subid2=Le.subid2||"",Le.subid3=Le.subid3||"",Le.subid4=Le.subid4||"",Le.tcid=Number(Le.tcid)||0,Le.spot_id=Number(Le.spot_id)||0;var xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Ne.serviceWorkerRegistration.active.postMessage({adManagerEnv:t,subscriptions:e,language:navigator.language,auctionUrl:U,primaryAuctionUrl:X,subscribeSW:!0,subscribeParams:Le})};pe((e=>{xe(e)})),xe();navigator.serviceWorker.addEventListener("message",(e=>{"subscribed"===e.data.status&&(n(r,e.data.data),Ne.isRemote&&v.sendParent("sub",e.data.data?1:3)),"failed"===e.data.status&&(console.error("Subscription error",e.data.data),Ne.isRemote&&v.sendParent("sub",3)),"progress"===e.data.status&&n(R),"subscriptionExist"===e.data.status&&(q($.ALREADY_SUBSCRIBED),we(W),n(r,e.data.data))}))}}}}))()};if(ie){var re=t.cabsId,ae=Pe(re),se=De(re);window["".concat(ae)]=oe;var ce=new Event(se,{bubbles:!0,cancelable:!1});document.dispatchEvent(ce)}else oe.activate()})),Ce.apply(this,arguments)}window.init=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i