(function(e){"use strict";var n="2.2.0",t={defaults:{script:null,autobind:!0,barrier:null,priorBjs:!0,otherBjs:[],callbacks:{open:[],scheme:[]},window:{url:null,fullscreen:!1,w:1001,h:800,type:"popunder",chromePopunder:!1},freq:{qty:2,period:60*60*24,distances:null,scheme:"time",distance:0,context:"domain",session:!1,sessionKeepAliveTime:0,sessionExpiration:60*60,hashed:!0,pagelim:0,max:0},misc:{chromeTab:!0,ontouch:!0,newTab:!1,under:!0,bindTo:[],ignoreTo:[],download:[],stopUrls:[],perpage:1e3,coverIframe:!0,coverScrollbar:!0,fallbackToPopup:!1,forcePopup:!1},elements:{media:!0,include:null,exclude:!1,isActiveElement:null},add:{pixels:[],scripts:[],callbacks:{open:[],scheme:[]},title:null,keywords:null,urlParamsObj:{}},counters:{domain:"__cntd",page:"__cntp",iframePage:"__cntip",max:"__cntm",schemeClicks:"__cnsc",schemeSeq:"__cnss",dailySeq:"__cns24s",firstLoadTimer:"__tlfr",lastTimer:"__tlo",lastPageTimer:"__tlop"},counterPostfixes:{domain:null,page:null,iframePage:null,max:null,schemeClicks:null,schemeSeq:null,dailySeq:null,firstLoadTimer:null,lastTimer:null,lastPageTimer:null},pageGroup:"abcdefgh",names:{iabc:"__iabc",schemeSeq:"sseq",dailySeq:"dseq",clickedElement:"1",windowType:"rsrc",clickedElementLink:"cel"},delayPop:{url:null,isActive:!1,delay:30},onlyClickable:!1,hash:null,bdVar:"__htaBDI"},settings:{},localCounters:{lastActiveTime:0,lastOpenTime:0,loadedTime:Math.floor((new Date).getTime()/1e3)},iframes:[],eventTarget:null,init:function(e){if(!this.utils.cookieEnabled())return;this.mergeSettings(e),this.addPostfixToCounters(),this.settings.autobind&&this.init3rdp(),this.addEmbeds()},mergeSettings:function(e){try{var n={},s=document.querySelector('script[src*="'+e.scriptSrc+'"]');s!==null&&s.settings?n=s.settings:n=window.__htapop?window.__htapop:{},this.utils.merge(this.defaults,n),this.settings=this.utils.merge(this.defaults,e||{}),n&&n.window&&n.window.url&&(this.settings.window.url=n.window.url)}catch(e){t.sendError(e,{situation:"mergeSettings"})}},getPopUrl:function(){var t,e=[],s=this.settings.window.url.indexOf("?")===-1?"?":"&",n=this.settings.add.urlParamsObj;for(t in n)e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]));switch(e=e.join("&"),this.utils.ige(navigator.userAgent)&&(e+="&"+this.settings.names.iabc+"=1"),e+="&"+this.settings.names.schemeSeq+"="+(this.getSchemeSeq()+1).toString()+"&"+this.settings.names.dailySeq+"="+(this.getDailySeq()+1).toString()+"&"+this.settings.names.windowType+"=popscript_"+this.settings.window.type,!0){case this.utils.elements.isThumbnailLink(this.eventTarget):e+="&"+this.settings.names.clickedElement+"=tmb&"+this.settings.names.clickedElementLink+"="+encodeURIComponent(this.eventTarget.href);break;case this.utils.elements.isTextLinkOrSimilar(this.eventTarget):e+="&"+this.settings.names.clickedElement+"=lnk&"+this.settings.names.clickedElementLink+"="+encodeURIComponent(this.eventTarget.href);break}return this.settings.window.url+s+e},addEmbeds:function(){var n,s,e=this.settings.add.pixels,t=this.settings.add.scripts;if(Object.prototype.toString.call(e)==="[object Array]"&&e.length>0)for(n=0;n<=e.length;n++){if(!e[n])continue;this.utils.addPixel(e[n])}if(Object.prototype.toString.call(t)==="[object Array]"&&t.length>0)for(s=0;s<=t.length;s++){if(!t[s])continue;this.utils.addScript(t[s])}},changePriorClass:function(e){document.body&&(document.body["ydоb".split("").reverse().join("")]=!!e||void 0)},getOtherBjs:function(){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(window).forEach(function(e){try{if(n=["webkitStorageInfo","content","onmozfullscreenchange","onmozfullscreenerror"],n.indexOf(e)!==-1)return;var n,t=e&&window[e],s="kcatSteg".split("").reverse().join("");t&&typeof t=="string"&&typeof window[t]=="object"&&s in window[t]&&e!==this.settings.popns&&this.settings.otherBjs.indexOf(t)===-1&&this.settings.otherBjs.push(t)}catch{}},this),this.settings.otherBjs},prior:function e(){function n(){var e,t,n,s,o=this.getOtherBjs(),i="kcatSteg".split("").reverse().join("");o.length&&(this.changePriorClass(!0),o.forEach(function(o){if(typeof window[o][i]!="function")return;if(e=window[o][i]()[0],typeof e!="object")return;for(n in e){if(t=e[n],typeof t!="object"||!("shouldFire"in t))continue;for(s in e[n]){if(t[s]!==t.shouldFire)continue;t[s]=function(){if(document.body["ydоb".split("").reverse().join("")])return!1;if(e&&e._options)return t.shouldFire()};break}break}}))}function o(){this.changePriorClass(!1),window[s]=void 0}function i(){window[s]=!0,document.readyState==="complete"?n.call(this):window.addEventListener("load",n.bind(this))}try{var s="reggirTelbasiDupp".split("").reverse().join("");this.isSchemeReached()?o.call(this):i.call(this),e.intervals===void 0&&(e.intervals=!0,setInterval(e.bind(this),5e3),this.settings.callbacks.open.push(e.bind(this)))}catch(e){Math.random()<.05&&t.sendError(e,{situation:"Error in priorF."})}},init3rdp:function(){if(window[this.settings.popns||"popns"])return;var o,n=this,s=this.utils.randomString();this.addBDToUrl(),window[this.settings.popns||"popns"]=s,this.utils.cneckLoadBjs(this.settings.script),this.initFirstLoadTime(),this.runSessionOption(),this.runSPASupport(),this.bindIncSchemeClicks(),this.utils.addScript(this.settings.script),this.checkBarrier(),this.settings.priorBjs&&!this.isUrlStopping()&&this.prior(),o=setInterval(function(){if(!window[s])return;clearInterval(o),t.settings.misc.coverIframe&&(t.runIframeWrappers(),t.syncIframeWrappers()),function(s){var o,c,d=!1,u=!1,i=t.settings,a=i.misc,g=a.coverScrollbar,p=a.fallbackToPopup,h=a.forcePopup,m=a.ignoreTo,f=a.perpage,l=!1,r=!1;i.window.type!=="popup"&&(d=a.newTab,u=a.under),i.delayPop.isActive&&i.delayPop.url!==null&&(l=!0),l&&(!s.Browser.isMac||window.screenTop&&window.screenY)&&(r=!0),c={debug:!1,perpage:f,mobileSensitive:10,ignoreTo:m,allowPopUnderTrick:!1,allowScrollbar:g},r&&s.Browser.isChrome&&i.delayPop.delay!==null&&(c.interval=i.delayPop.delay),o={tab:d,under:u,expires:1,beforeOpen:function(){e.url=n.getPopUrl(),n.afterOpen()},shouldFire:function(e,t,s){return n.settings.freq.session&&n.doSessionWork(),n.allowPop(s)}},(h||p&&s.Browser.isChrome&&s.Browser.version>=68&&!s.Browser.isMobile)&&(o.tab=!1,o.under=!1,o.top=window.screenY+100,o.left=window.screenX+100,o.width=Math.max(Math.round(window.innerWidth*.7),300),o.height=Math.max(Math.round(window.innerHeight*.8),300)),s.config(c).add(n.getPopUrl(),o),r&&s.add(i.delayPop.url,{under:!s.Browser.isOpera&&!s.Browser.isMac,tab:!1,width:"5px",height:"5px",toolbar:0,menubar:0,scrollbar:0,top:9999,left:9999,expires:60*60*24})}(window[s])},5)},checkBarrier:function(){function n(e){return e.split("").reverse().join("")}function s(e){if(s.flag)return;o.utils.addScript(o.settings.barrier+(o.settings.barrier.indexOf("?")===-1?"?":"&")+"b="+e),s.flag=!0}function i(){var t,a,i={7:function(){if(n("llAtAsdAon")in window)return 7},6:function(){if(document.getElementById(n("xob-elprup-yretsohg")))return 6},5:function(){try{var t,s,o,i,a=/hitCallback/gi.test(window.ga)}catch{return 5}if(a)return 5;if("getOwnPropertyNames"in Object){try{s=n("snpop")in window&&(typeof window[n("snpop")]=="undefined"||Object.getOwnPropertyNames(window[n("snpop")]).length===0)}catch{return 5}if(s)return 5;try{o=n("sdApoP")in window&&Object.getOwnPropertyNames(window[n("sdApoP")]).length===0}catch{}if(o)return 5}if(n("redaoLoxE")in window)try{window[n("redaoLoxE")]=window[n("redaoLoxE")],void window[n("redaoLoxE")][n("enoZdda")],void window[n("redaoLoxE")][n("evres")]}catch{return 5}if(n("2tnirpregniF")in window)try{window[n("2tnirpregniF")]=window[n("2tnirpregniF")]}catch{return 5}if(n("srav_ppa")in window)try{void window[n("srav_ppa")][n("kcolbda_elbasid_ecrof")]}catch{return 5}try{t=new String("2+2"),t.toString=function(){return i=!0,""},eval(t)}catch{}if(i)return 5},8:function(){function t(){return/pbWindowOpen/gi.test(window.open.toString())}if(!window.open||!("toString"in window.open))return;if(t())return 8},1:function(){function r(e,t){return o.utils.appendToBody({callback:function(){return m(e,t)},element:e,instant:!0})}function m(t,n){return i=!!t&&t.offsetHeight===0,i?(e||s(n),o.utils.removeElement(t),d()):a.push({id:n,element:t}),i}function d(){"fakeBody"in document.body&&document.body.parentElement.removeChild(document.body)}function u(){if(i===!0||!a)return;a.forEach(function(e){var t=e.element;!i&&document.body.contains(t)&&t.offsetHeight===0&&(i=!0,s(e.id)),o.utils.removeElement(t)}),a=void 0,d()}var i,c,l,a=[],h=e.cloneNode(!0);if(h.setAttribute(n("di-da"),n("daelgoog")),r(h,2))return 2;if(c=e.cloneNode(!0),c.className=n("repparw-da"),r(c,1))return 1;if(l=e.cloneNode(!0),l.id=n("0-987654321-da-tpg-vid"),r(l,3))return 3;"requestAnimationFrame"in window?window.requestAnimationFrame(u):setTimeout(u,4),e=void 0},9:function t(){if(typeof MutationObserver=="undefined")return;var i,r,a=e.cloneNode(!0);a.id=n("0-123456789-da-tpg-vid"),i={config:{childList:!0},container:document.head,checkMutation:function(e){for(var t=0;t0&&!e.closest(n.join(",")))return!1},isClickableElement:function(e){var t,s=["a","button","input","textarea","select","details",".btn",".button","label[for]","[contenteditable]",'[role="button"]','[data-toggle="dropdown"]','[data-toggle="collapse"]',"video","audio","embed","object","canvas","map","img","picture"],n=["onclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onfocus","onchange","onkeydown","onkeypress","onkeyup","onblur","oncontextmenu","ondblclick","oninput","onsubmit","ontouchstart","ontouchmove","ontouchend","ontouchcancel","ontouchforcechange","ongesturestart","ongesturechange","ongestureend"];if(window.getComputedStyle(e).cursor==="pointer")return!0;if(e.matches(s.join(",")))return!0;for(t in n)if(typeof e[n[t]]=="function")return!0;return!1},isSchemeReached:function(){if(this.isMaxReached()||this.isPagelimReached()||this.isQtyReached()||this.isBlockedByDistance())return!0},isMaxReached:function(){return!!this.settings.freq.max&&this.getCounterTotalValue(this.settings.counters.domain)>=this.settings.freq.max},isPagelimReached:function(){if(!this.settings.freq.pagelim)return!1;var e=this.getCounterDataByContext(),t=this.getCounterValue(this.settings.counters[e.counterName],e.context);return t>=this.settings.freq.pagelim},getCounterDataByContext:function(){var e={};return this.settings.freq.context==="iframe-page"&&document.referrer?(e.counterName="iframePage",e.context="iframe-page"):e.counterName=e.context="page",e},isQtyReached:function(){var e=this.getPopCounterValue();return e>0&&e>=this.settings.freq.qty},isBlockedByDistance:function(){var s=this.getSchemeClicks(),t=this.getPageCounter(this.getPopCounterName()),n=this.settings.freq.distances,o=t.last||(this.settings.freq.context==="domain"?this.getFirstLoadTime():this.localCounters.loadedTime),e=t.counter>0?this.settings.freq.distance:0;switch(n&&(e=n.split(",")[t.counter]||n.split(",").pop()),this.settings.freq.scheme){case"time":if(this.utils.timestamp()-o=a,u=!this.multipleTabs,h=!this.alreadyOpen,m=this.checkIfSessionExpired();n==="domain"&&i?e=t.exec(s)[1]!==i[1]:n==="page"&&(e=s!==o),(m||c&&e&&d&&u&&h)&&this.resetPopCounters()},checkIfSessionExpired:function(){var e=this.getWindowOpenTime(),t=this.settings.freq.sessionExpiration;return this.utils.timestamp()-e>t},getHash:function(e){if(this.settings.hash)return this.settings.hash.substr(0,8);if(e||(e=this.settings.freq.context),e==="domain")return this.settings.pageGroup;var t,n,s,o,a,i="";return e==="iframe-page"&&document.referrer?(a=document.referrer,i=/^(?:[^:/?#]+:)?(?:\/\/([^/?#]*))/i.exec(a),i=i?i[1]:"",n=/^(?:[^:/?#]+:)?(?:\/\/[^/?#]*)?([^?#]*)/i.exec(a),n=n?n[1]:"",s=/^(?:[^:/?#]+:)?(?:\/\/[^/?#]*)?[^?#]*(\?[^#]*)/i.exec(a),s=s?s[1]:"",o=/^(?:[^:/?#]+:)?(?:\/\/[^/?#]*)?[^?#]*(?:\?[^#]*)?(#.*)/i.exec(a),o=o?o[1]:""):(n=window.location.pathname,s=window.location.search,o=window.location.hash),t=i+n+s+(this.settings.freq.hashed?o:""),t.slice(-1)==="#"&&(t=t.slice(0,-1)),t||(t="0"),this.utils.hash(t).substr(0,8)},getCounter:function(e){var t=_storage(e);return this.actualizeCounter(t)},getPageCounter:function(e,t){var n=this.getCounter(e),s=this.getHash(t);return n[s]||{counter:0}},getPageFlags:function(e,t){var n=_storage(e),s=this.getHash(t);return n[s]||{}},getCounterValue:function(e,t){return this.getPageCounter(e,t).counter||0},getCounterTotalValue:function(e){var t=this.getCounter(e);return Object.keys(t).reduce(function(e,n){return e+=t[n].counter||0},0)},setCounter:function(e,t,n,s){var o=this.getCounter(e),r=this.getHash(n),i=o[r]||(o[r]={}),a=this.utils.timestamp();return i.counter=typeof s=="undefined"?0:s,i.last=a,i.expire=t?a+t:i.expire||a+parseInt(this.settings.freq.period),this.pushCounter(e,o),o},setFlags:function(e,t,n){var s=_storage(e),o=this.getHash(n),i=s[o]||(s[o]={});return i[t]=!0,_storage(e,s),s},calcCounter:function(e,t,n,s){var i=this.getCounter(e),r=this.getHash(n),o=i[r]||(i[r]={}),a=this.utils.timestamp();return s=typeof s=="undefined"?1:s,o.counter=(o.counter||0)+s,o.last=a,o.expire=(t?a+parseInt(t):o.expire)||a+parseInt(this.settings.freq.period),this.pushCounter(e,i),o.counter},pushCounter:function(e,t){return t=this.actualizeCounter(t),_storage(e,t)},removePageCounter:function(e){var t=this.getCounter(e),n=this.getHash();return t[n]&&delete t[n],this.pushCounter(e,t)},removePageCounters:function(e){e.forEach(function(e){this.removePageCounter(e)},this)},actualizeCounter:function(e){var t,n=this.utils.timestamp();for(t in e)n>=e[t].expire&&delete e[t];return e||{}},runCallbacks:function(){this.settings.callbacks.open.forEach(function(e){typeof e=="function"&&e()})},addBDToUrl:function(){var e=window[this.settings.bdVar];e&&typeof e.getValuesAsParams=="function"&&(this.settings.add.urlParamsObj=e.getValues(),e.lateValuesUpdateCbs.push(function(){this.settings.add.urlParamsObj=e.getValues()}.bind(this)))},runSPASupport:function(){window.addEventListener("hashchange",function(){if(window.location.hash.indexOf("/")===-1)return;this.localCounters.loadedTime=this.utils.timestamp()}.bind(this),!1)},runIframeWrappers:function(){if(!this.isSchemeReached()){var e=document.querySelectorAll("iframe");e.forEach(e=>{if(e.offsetWidth===0||e.offsetHeight===0||e.wrp&&e.wrp.offsetWidth>0&&e.wrp.offsetHeight>0)return;e.relativeParent=this.utils.getRelativeParent(e)||document.body;const n=this.utils.getAbsoluteOffsetFromGivenElement(e,e.relativeParent),t=document.createElement("div");t.style.width=e.offsetWidth+"px",t.style.height=e.offsetHeight+"px",t.style.opacity="0",t.style.position="absolute",t.style.zIndex="2147483647",t.style.left=n.left+"px",t.style.top=n.top+"px",t.style.cursor="pointer",t.addEventListener("click",t=>{t.target.remove(),e.wrp=null}),e.insertAdjacentElement("afterend",t),e.wrp=t,this.iframes.push(e)})}setTimeout(this.runIframeWrappers.bind(this),3e3)},syncIframeWrappers:function(){setInterval(()=>{var e=this.iframes.filter(e=>!!e.wrp);e.forEach(e=>{const t=this.utils.getAbsoluteOffsetFromGivenElement(e,e.relativeParent);e.wrp.style.width=e.offsetWidth+"px",e.wrp.style.height=e.offsetHeight+"px",e.wrp.style.left=t.left+"px",e.wrp.style.top=t.top+"px"})},400)},getTopLinkInfo:function(){var n,s,o,i,t={};try{t.topHref=top.location.href}catch{try{if(s=window.location.ancestorOrigins,s){t.parentsDomains=[];for(o=0;o=200&&s.status<300?t.utils.setParamToBody("psonsp","f"):t.utils.setParamToBody("psonsp",t.settings.popns||"popns")},s.onerror=function(){t.utils.setParamToBody("psonsp",t.settings.popns||"popns")},s.ontimeout=function(){t.utils.setParamToBody("psonsp",t.settings.popns||"popns")},s.send()},setParamToBody:function(t,n){document.body[t.split("").reverse().join("")]=n},getParamFromBody:function(t){return document.body[t.split("").reverse().join("")]},getAbsoluteOffsetFromGivenElement:function(e,t){for(var n=0,s=0;e&&e!=t&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)n+=e.offsetLeft-e.scrollLeft+e.clientLeft,s+=e.offsetTop-e.scrollTop+e.clientTop,e=e.offsetParent;return{top:s,left:n}},getRelativeParent:function(e){for(var n="",t=e;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)if(t=t.offsetParent,t!=null&&(window.getComputedStyle!=="undefined"?n=window.getComputedStyle(t,null).getPropertyValue("position"):n=t.currentStyle.position,n==="relative"))return t;return null},isDOMElement:function(t){var n;return typeof HTMLElement=="function"||typeof HTMLElement=="object"?n=t instanceof HTMLElement:n=t&&typeof t=="object"&&t.nodeType===1&&typeof t.nodeName=="string",!!n},cookieEnabled:function(){try{document.cookie="cookietest=1";var t=document.cookie.indexOf("cookietest=")!==-1;return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}},isReloaded:function(){var t=this.settings.freq.context==="iframe-page"?window.parent:window;return t.performance.navigation?t.performance.navigation.type===t.performance.navigation.TYPE_RELOAD:null},_storage:function(){var e=function(t,n){var s;return e.prototype.instance?s=e.prototype.instance:(s=Object.create(e.prototype),e.prototype.instance=s,s._init()),arguments.length===1?s.get(t):arguments.length===2?(s.set(t,n),n):s};e.prototype={_list:{},_isAvailable:function e(t,n){if(e.result!==void 0)return e.result;try{var a,o=!1,s=window[t],i="__storage_test__";return s.setItem(i,i),e.message="true: "+s.getItem(i)+"; type: "+t+"; from: "+n,e.result=!0,!0}catch(t){return e.message="catch",a=typeof DOMException!="undefined"&&t instanceof DOMException,o=e.result=a&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")&&s&&s.length!==0,o&&(e.message="Result: TRUE. Details: e.isDOMException - "+a+"; e.code - "+t.code+"; e.name - "+t.name+"; e.storage - "+s+(s?"; storage.length - "+s.length:"")+"; FROM... "+n+"!"),o}},_init:function(){"onstorage"in window&&window.addEventListener("storage",this._storageEvent.bind(this))},subscribe:function(e,t){return e!=null&&typeof t=="function"&&(this._list.hasOwnProperty(e)||(this._list[e]=[]),this._list[e].push(t)),this},_storageEvent:function(e){e=e||window.event,this._list.hasOwnProperty(e.key)&&this._list[e.key].forEach(function(t){t(this.get(e.key),e)},this)},get:function(e){if(!this._isAvailable("localStorage","get"))return void 0;try{var n,o,i,s=window.localStorage.getItem(e)}catch(i){try{o=window.localStorage.getItem("__storage_test__")}catch(s){return n="",typeof s=="object"?(n+="Message: "+s.message,n+=` Stack: `+s.stack,n+=` error.code: `+s.code,n+=` error.name: `+s.name):n+="Error is not an object, it's "+typeof s,n+=` testValue: `+o,n+=` name: `+e,n+=` _isAvailable.result: `+this._isAvailable.result,this._isAvailable.result&&(n+=` _isAvailable.message: `+this._isAvailable.message),t.sendInfo({message:n}),void 0}return typeof i=="object"?(n+="Message: "+i.message,n+=` Stack: `+i.stack,n+=` error.code: `+i.code,n+=` error.name: `+i.name):n+="Error is not an object, it's "+typeof i,n+=` value: `+s,t.sendInfo({message:n}),void 0}return i={0:function(){return null},n:function(e){return Number(e)},b:function(e){return"true"===e},d:function(e){return new Date(e)},f:function(e){return Function("return "+e)()}},s&&/^:[bdfn0]:/.test(s)?i[s.slice(1,2)](s.slice(3)):JSON.parse(s)},set:function(e,t){if(!this._isAvailable("localStorage","set"))return this;var n={Null:"0",Date:"d",Number:"n",Boolean:"b",Function:"f"},s=Object.prototype.toString.call(t).split(/\s|]/)[1];if(n.hasOwnProperty(s)){switch(n[s]){case"d":case"f":t=t.toString();break;default:t=JSON.stringify(t)}t=":"+n[s]+":"+t}else t=JSON.stringify(t);return localStorage.setItem(e,t),this}},window._storage=e}(),addScript:function(t){this.addEmbed(t,"SCRIPT")},addPixel:function(t){this.addEmbed(t,"IMG")},addEmbed:function(n,s){try{if(!n)return;var o=document.createElement(s);s&&s.toUpperCase()==="IMG"&&(o.width=o.height="16",o.style.display="none",o.onload=o.onerror=this.removeElement),o.src=n,this.appendToBody({element:o})}catch(e){t.sendError(e,{situation:"Error in addEmbed."})}},appendToBody:function(n){var s,o="init";try{if(!document.body)if(n.instant)try{document.body=document.createElement("BODY"),document.body.fakeBody=!0}catch{return o="instant",window.addEventListener("DOMContentLoaded",function(){o="instant after DOMContentLoaded",this.appendElement(n.element,n.callback)}.bind(this),!1)}else if(!/complete|interactive|loaded/.test(document.readyState))return o="not instant",window.addEventListener("DOMContentLoaded",function(){o="not instant after DOMContentLoaded",this.appendElement(n.element,n.callback)}.bind(this),!1);return o="document.body is OK",this.appendElement(n.element,n.callback)}catch(e){s="appendToBodyF FAIL:",typeof e=="object"&&(s+=` Message: `+e.message,s+=` Situation: `+o,s+=` Stack: `+e.stack,s+=` error.code: `+e.code,s+=` error.name: `+e.name),t.sendInfo({message:s})}},appendElement:function(t,n){if(document.body.appendChild(t),n)return n(t)},removeElement:function(n){var s="";try{n instanceof Node||(n=this)}catch(e){s="instanceof Node!",typeof e=="object"?(s+=` Message: `+e.message,s+=` Stack: `+e.stack,s+=` error.code: `+e.code,s+=` error.name: `+e.name):s+="Error is not an object, it's "+typeof e,t.sendInfo({message:s})}try{return n&&n.parentElement&&n.parentElement.removeChild(n)}catch(e){s="parentElement?",typeof e=="object"?(s+=` Message: `+e.message,s+=` Stack: `+e.stack,s+=` error.code: `+e.code,s+=` error.name: `+e.name):s+="Error is not an object, it's "+typeof e,t.sendInfo({message:s})}},ige:function(t){if(!/android|iphone|ipad|ipod/.test(t))return!1;n=!1,s=navigator.mimeTypes;try{if(s){for(var n,s,i,o=0,a=s.length;o0&&n.getElementsByTagName("img")[0].clientWidth>90&&n.getElementsByTagName("img")[0].clientHeight>90)return!0;if(!this.isElement(n.parentElement))return!1;n=n.parentElement}return!1},isTextLinkOrSimilar:function(t){if(!this.isElement(t))return!1;for(var n=t;this.isElement(n);){if(n.tagName==="A"&&n.getElementsByTagName("img").length<=0)return!0;if(!this.isElement(n.parentElement))return!1;n=n.parentElement}return!1}},polyfills:{matches:function(e){var t=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector;t?e.matches=e.matchesSelector=t:e.matches=e.matchesSelector=function e(t){var e=document.querySelectorAll(t),n=this;return Array.prototype.some.call(e,function(e){return e===n})}}(Element.prototype),closest:function(e){e.closest=e.closest||function(t){return this?this.matches(t)?this:this.parentElement?this.parentElement.closest(t):null:null}}(Element.prototype),once:function(){var e,n,s,o,i,a,t=!1;window.addEventListener("test",null,{get once(){return t=!0,!1}}),t||(n=Node.prototype.addEventListener,e=Node.prototype.removeEventListener,s=Event.prototype.preventDefault,o=function(t,s,o){o=o||!1;var a=this,i=typeof o=="object",r=i&&"capture"in o&&o.capture===!0,c=i&&"once"in o&&o.once===!0,l=i&&"passive"in o&&o.passive===!0;({handleEvent:function(n){c&&e.call(a,t,this,r),n.__passive=l,s(n)},add:function(){n.call(a,t,this,r)}}.add())},i=function(t,n,s){s=s||!1;var o=this,i=typeof s=="object"&&"capture"in s&&s.capture===!0;e.call(o,t,n,i)},a=function(){if(this.__passive)return;s.apply(this)},Object.defineProperty(Node.prototype,"addEventListener",{get:function(){return o}}),Object.defineProperty(Node.prototype,"removeEventListener",{get:function(){return i}}),Object.defineProperty(Event.prototype,"preventDefault",{get:function(){return a}}))}()},randomString:function(t){var n,s="",o="abcdefghijklmnopqrstuvwxyz";for(n=0;n<(t||6);n++)s+=o.charAt(Math.floor(Math.random()*o.length));return s},timestamp:function(){return Math.floor((new Date).getTime()/1e3)},trim:function(t){var n=String.prototype.trim?String.prototype.trim.call(t):t.toString().replace(/^\s+/,"").replace(/\s+$/,"");return t==null?"":n},merge:function(t,n){for(var s in n)s in t&&typeof t[s]=="object"&&typeof n[s]=="object"?this.merge(t[s],n[s]):t[s]=n[s];return t},hash:function(t){t=t.toString();var s,o,i,a,n=0;if(t.length!==0)for(o=0,a=t.length;o{if(t.readyState!==4)return;t.status!==200&&this.sendError({},"sendXhr","Status: "+t.status+` ResponseUrl: `+t.responseURL)}},sendError(e,t,n){var o=document.createElement("script"),a=document.head||document.getElementsByTagName("head")[0],s="",i="[[ navigator is not available ]]";try{i=navigator.userAgent}catch{}e.stack&&(s+=` Stack: `+e.stack),e.message&&(s+=` Message: `+e.message),t&&(s+=` Situation: `+t),n&&(s+=` More info: `+n),s+=` Url: `+window.location.href,s+=` Version: `+this.scriptInfo.version,o.src="//"+("altruistic-departure.com"==="{{JSErrorDomain}}"?"ptekuwiny.pro":"altruistic-departure.com")+"/jserr?msg="+encodeURIComponent(s)+"&ua="+encodeURIComponent(i)+"&tag=dc",a.appendChild(o)}};try{t.run(e||{})}catch(e){t.sendError(e,"ht_dc")}}({url:"https://altruistic-departure.com/YO2_xQpRZ.WS5T0-ZVGWFX0YY_Ta9byccdm-lfkgPhWiJ_jkYl2mFnk-Ypjqkr2sN_zucv2wZxD-Mz3ANBzCN_mEYFWGMH4-MJTKYLzMN_GOUP0QMRT-lTmUOVWWN_jY"})