turbolink-ai 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1 +1 @@
1
- var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,i=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n),a=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{c(n.next(e))}catch(e){o(e)}},a=e=>{try{c(n.throw(e))}catch(e){o(e)}},c=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);c((n=n.apply(e,t)).next())}));let c="https://www.allapp.link";const s=({url:e,method:i="POST",headers:a,params:s})=>new Promise(((u,l)=>{const d=((e,i)=>{for(var a in i||(i={}))n.call(i,a)&&o(e,a,i[a]);if(t)for(var a of t(i))r.call(i,a)&&o(e,a,i[a]);return e})({"Content-Type":"application/json;charset=utf-8"},a);mt.appKey&&(d.Authorization="Bearer "+mt.appKey),fetch(c+e,{method:i,headers:d,body:JSON.stringify(s)}).then((e=>{if(e.ok)return e.json();throw new Error("Network response was not ok.")})).then((e=>{u(e)})).catch((e=>{u(e)}))}));var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var f={exports:{}};var h={exports:{}};const m=d(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var v,p,g,y,b,w,L,S,k;function V(){return v||(v=1,h.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==u&&u.crypto&&(n=u.crypto),!n)try{n=m}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},a=i.lib={},c=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),(!t.hasOwnProperty("init")||this.init===t.init)&&(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=a.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var c=0;c<o;c+=4)t[r+c>>>2]=n[c>>>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<e;n+=4)t.push(r());return new s.init(t,e)}}),l=i.enc={},d=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>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<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new s.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[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<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new s.init(n,t)}},h=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)))}},v=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.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,c=i/(4*a),u=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*a,l=e.min(4*u,i);if(u){for(var d=0;d<u;d+=a)this._doProcessBlock(o,d);n=o.splice(0,u),r.sigBytes-=l}return new s.init(n,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=v.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new p.HMAC.init(e,n).finalize(t)}}});var p=i.algo={};return i}(Math),e)),h.exports;var e}const x=l(f.exports=(k=V(),g=(p=k).lib,y=g.WordArray,b=g.Hasher,w=p.algo,L=[],S=w.SHA1=b.extend({_doReset:function(){this._hash=new y.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],s=0;s<80;s++){if(s<16)L[s]=0|e[t+s];else{var u=L[s-3]^L[s-8]^L[s-14]^L[s-16];L[s]=u<<1|u>>>31}var l=(r<<5|r>>>27)+c+L[s];l+=s<20?1518500249+(o&i|~o&a):s<40?1859775393+(o^i^a):s<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=l}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=b.clone.call(this);return e._hash=this._hash.clone(),e}}),p.SHA1=b._createHelper(S),p.HmacSHA1=b._createHmacHelper(S),k.SHA1));var _=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)};function M(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,c)}s((r=r.apply(e,t||[])).next())}))}function C(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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}function P(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var W="4.2.0";function Z(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function I(){return Z(0)}function A(e){return!!e&&"function"==typeof e.then}function R(e,t){try{var n=e();A(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(e){t(!1,e)}}function E(e,t,n){return void 0===n&&(n=16),M(this,void 0,void 0,(function(){var r,o,i,a;return C(this,(function(c){switch(c.label){case 0:r=Array(e.length),o=Date.now(),i=0,c.label=1;case 1:return i<e.length?(r[i]=t(e[i],i),(a=Date.now())>=o+n?(o=a,[4,Z(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++i,[3,1];case 4:return[2,r]}}))}))}function j(e){e.then(void 0,(function(){}))}function F(e){return parseInt(e)}function G(e){return parseFloat(e)}function Y(e,t){return"number"==typeof e&&isNaN(e)?t:e}function N(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function H(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function X(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=0,l=0,d=0,f=0;d+=(f+=i+(65535&t[1]))>>>16,f&=65535,l+=(d+=o+s)>>>16,d&=65535,u+=(l+=r+c)>>>16,l&=65535,u+=n+a,u&=65535,e[0]=u<<16|l,e[1]=d<<16|f}function O(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=65535&t[1],l=0,d=0,f=0,h=0;f+=(h+=i*u)>>>16,h&=65535,d+=(f+=o*u)>>>16,f&=65535,d+=(f+=i*s)>>>16,f&=65535,l+=(d+=r*u)>>>16,d&=65535,l+=(d+=o*s)>>>16,d&=65535,l+=(d+=i*c)>>>16,d&=65535,l+=n*u+r*s+o*c+i*a,l&=65535,e[0]=l<<16|d,e[1]=f<<16|h}function T(e,t){var n=e[0];32===(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function B(e,t){0!==(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function J(e,t){e[0]^=t[0],e[1]^=t[1]}var D=[4283543511,3981806797],z=[3301882366,444984403];function U(e){var t=[0,e[0]>>>1];J(e,t),O(e,D),t[1]=e[0]>>>1,J(e,t),O(e,z),t[1]=e[0]>>>1,J(e,t)}var K=[2277735313,289559509],Q=[1291169091,658871167],q=[0,5],$=[0,1390208809],ee=[0,944331445];function te(e,t){var n=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return(new TextEncoder).encode(e);t[n]=r}return t}(e);t=t||0;var r,o=[0,n.length],i=o[1]%16,a=o[1]-i,c=[0,t],s=[0,t],u=[0,0],l=[0,0];for(r=0;r<a;r+=16)u[0]=n[r+4]|n[r+5]<<8|n[r+6]<<16|n[r+7]<<24,u[1]=n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24,l[0]=n[r+12]|n[r+13]<<8|n[r+14]<<16|n[r+15]<<24,l[1]=n[r+8]|n[r+9]<<8|n[r+10]<<16|n[r+11]<<24,O(u,K),T(u,31),O(u,Q),J(c,u),T(c,27),X(c,s),O(c,q),X(c,$),O(l,Q),T(l,33),O(l,K),J(s,l),T(s,31),X(s,c),O(s,q),X(s,ee);u[0]=0,u[1]=0,l[0]=0,l[1]=0;var d=[0,0];switch(i){case 15:d[1]=n[r+14],B(d,48),J(l,d);case 14:d[1]=n[r+13],B(d,40),J(l,d);case 13:d[1]=n[r+12],B(d,32),J(l,d);case 12:d[1]=n[r+11],B(d,24),J(l,d);case 11:d[1]=n[r+10],B(d,16),J(l,d);case 10:d[1]=n[r+9],B(d,8),J(l,d);case 9:d[1]=n[r+8],J(l,d),O(l,Q),T(l,33),O(l,K),J(s,l);case 8:d[1]=n[r+7],B(d,56),J(u,d);case 7:d[1]=n[r+6],B(d,48),J(u,d);case 6:d[1]=n[r+5],B(d,40),J(u,d);case 5:d[1]=n[r+4],B(d,32),J(u,d);case 4:d[1]=n[r+3],B(d,24),J(u,d);case 3:d[1]=n[r+2],B(d,16),J(u,d);case 2:d[1]=n[r+1],B(d,8),J(u,d);case 1:d[1]=n[r],J(u,d),O(u,K),T(u,31),O(u,Q),J(c,u)}return J(c,o),J(s,o),X(c,s),X(s,c),U(c),U(s),X(c,s),X(s,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function ne(e,t,n){var r=Object.keys(e).filter((function(e){return function(e,t){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(e,t)}(n,e)})),o=E(r,(function(n){return function(e,t){var n=new Promise((function(n){var r=Date.now();R(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Date.now()-r;if(!e[0])return n((function(){return{error:e[1],duration:o}}));var i=e[1];if(function(e){return"function"!=typeof e}(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(e){var t=Date.now();R(i,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o+Date.now()-t;if(!n[0])return e({error:n[1],duration:i});e({value:n[1],duration:i})}))}))}))}))}));return j(n),function(){return n.then((function(e){return e()}))}}(e[n],t)}));return j(o),function(){return M(this,void 0,void 0,(function(){var e,t,n,i;return C(this,(function(a){switch(a.label){case 0:return[4,o];case 1:return[4,E(a.sent(),(function(e){var t=e();return j(t),t}))];case 2:return e=a.sent(),[4,Promise.all(e)];case 3:for(t=a.sent(),n={},i=0;i<r.length;++i)n[r[i]]=t[i];return[2,n]}}))}))}}function re(){var e=window,t=navigator;return N(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function oe(){var e=window,t=navigator;return N(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function ie(){var e=window,t=navigator;return N(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function ae(){var e=window,t=e.HTMLElement,n=e.Document;return N(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ce(){var e=window;return!!function(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&N(["[object WebPageNamespace]"===String(e.browser),"MicrodataExtractor"in e])>=1}function se(){var e,t,n=window;return N(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function ue(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return N([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function le(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function de(){var e=oe(),t=se(),n=window;return e?N([!("SharedWorker"in n),fe(),!("sinkId"in new window.Audio)])>=2:!!t&&N(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function fe(){try{return new Notification(""),!1}catch(e){if(e instanceof Error&&e.message.includes("ServiceWorkerRegistration.showNotification()"))return!0}return!1}function he(e,t,n){var r,o,i;return void 0===n&&(n=50),M(this,void 0,void 0,(function(){var a,c;return C(this,(function(s){switch(s.label){case 0:a=document,s.label=1;case 1:return a.body?[3,3]:[4,Z(n)];case 2:return s.sent(),[3,1];case 3:c=a.createElement("iframe"),s.label=4;case 4:return s.trys.push([4,,10,11]),[4,new Promise((function(e,n){var r=!1,o=function(){r=!0,e()};c.onload=o,c.onerror=function(e){r=!0,n(e)};var i=c.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",t&&"srcdoc"in c?c.srcdoc=t:c.src="about:blank",a.body.appendChild(c);var s=function(){var e,t;r||("complete"===(null===(t=null===(e=c.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(s,10))};s()}))];case 5:s.sent(),s.label=6;case 6:return null!==(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)&&void 0!==o&&o.body?[3,8]:[4,Z(n)];case 7:return s.sent(),[3,6];case 8:return[4,e(c,c.contentWindow)];case 9:return[2,s.sent()];case 10:return null===(i=c.parentNode)||void 0===i||i.removeChild(c),[7];case 11:return[2]}}))}))}function me(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},c=/([.:#][\w-]+|\[.+?\])/gi,s=function(e,t){a[e]=a[e]||[],a[e].push(t)};;){var u=c.exec(o[2]);if(!u)break;var l=u[0];switch(l[0]){case".":s("class",l.slice(1));break;case"#":s("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);s(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[i,a]}(e),n=t[0],r=t[1],o=document.createElement(null!=n?n:"div"),i=0,a=Object.keys(r);i<a.length;i++){var c=a[i],s=r[c].join(" ");"style"===c?ve(o.style,s):o.setAttribute(c,s)}return o}function ve(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var a=i[1],c=i[2],s=i[4];e.setProperty(a,c,s||"")}}}var pe=44100,ge=4e4;function ye(){return M(this,void 0,void 0,(function(){var e,t,n;return C(this,(function(r){switch(r.label){case 0:return t=new Promise((function(e){var t=document,n="visibilitychange",r=function(){t.hidden||(t.removeEventListener(n,r),e())};t.addEventListener(n,r),r()})).then((function(){return Z(500)})),n=function(){return M(this,void 0,void 0,(function(){var e,t,n,r,o,i,a;return C(this,(function(c){switch(c.label){case 0:return e=window,(t=e.OfflineAudioContext||e.webkitOfflineAudioContext)?!ie()||ae()||function(){var e=window;return N(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()?[4,be(t)]:[2,-1]:[2,-2];case 1:return(n=c.sent())?(r=new t(1,n.length-1+ge,pe),(o=r.createBufferSource()).buffer=n,o.loop=!0,o.loopStart=(n.length-1)/pe,o.loopEnd=n.length/pe,o.connect(r.destination),o.start(),[4,we(r)]):[2,-3];case 2:return(i=c.sent())?(a=function(e,t){for(var n=void 0,r=!1,o=0;o<t.length;o+=Math.floor(t.length/10))if(0!==t[o])if(void 0===n)n=t[o];else if(n!==t[o]){r=!0;break}return void 0===n?n=e.getChannelData(0)[e.length-1]:r&&(n=function(e){for(var t=1/0,n=-1/0,r=0;r<e.length;r++){var o=e[r];0!==o&&(o<t&&(t=o),o>n&&(n=o))}return(t+n)/2}(t)),n}(n,i.getChannelData(0).subarray(n.length-1)),[2,Math.abs(a)]):[2,-3]}}))}))}().then((function(t){return e=[!0,t]}),(function(t){return e=[!1,t]})),[4,Promise.race([t,n])];case 1:return r.sent(),[2,function(){if(!e)return-3;if(!e[0])throw e[1];return e[1]}]}}))}))}function be(e){return M(this,void 0,void 0,(function(){var t,n,r,o;return C(this,(function(i){switch(i.label){case 0:return 3395,t=new e(1,3396,pe),(n=t.createOscillator()).type="square",n.frequency.value=1e3,(r=t.createDynamicsCompressor()).threshold.value=-70,r.knee.value=40,r.ratio.value=12,r.attack.value=0,r.release.value=.25,(o=t.createBiquadFilter()).type="allpass",o.frequency.value=5.239622852977861,o.Q.value=.1,n.connect(r),r.connect(o),o.connect(t.destination),n.start(0),[4,we(t)];case 1:return[2,i.sent()]}}))}))}function we(e){return new Promise((function(t,n){var r=25;e.oncomplete=function(e){return t(e.renderedBuffer)};var o=function(){try{var i=e.startRendering();A(i)&&j(i),"suspended"===e.state&&(document.hidden||r--,r>0?setTimeout(o,200):t(null))}catch(e){n(e)}};o()}))}var Le=["monospace","sans-serif","serif"],Se=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function ke(e,t){return M(this,void 0,void 0,(function(){var n,r,o;return C(this,(function(i){switch(i.label){case 0:return function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(e,t),[4,I()];case 1:return i.sent(),n=Ve(e),r=Ve(e),n!==r?[2,["unstable","unstable"]]:(function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var o=r[n],i=o[0],a=o[1],c=o[2];t.fillStyle=i,t.beginPath(),t.arc(a,c,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t),[4,I()]);case 2:return i.sent(),o=Ve(e),[2,[n,o]]}}))}))}function Ve(e){return e.toDataURL()}var xe,_e,Me=2500;function Ce(){var e=this;return function(){if(void 0===_e){var e=function(){var t=Pe();We(t)?_e=setTimeout(e,Me):(xe=t,_e=void 0)};e()}}(),function(){return M(e,void 0,void 0,(function(){var e;return C(this,(function(t){switch(t.label){case 0:return We(e=Pe())?xe?[2,P([],xe,!0)]:function(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,le()]:[3,2]:[3,2];case 1:t.sent(),e=Pe(),t.label=2;case 2:return We(e)||(xe=e),[2,e]}}))}))}}function Pe(){var e=screen;return[Y(G(e.availTop),null),Y(G(e.width)-G(e.availWidth)-Y(G(e.availLeft),0),null),Y(G(e.height)-G(e.availHeight)-Y(G(e.availTop),0),null),Y(G(e.availLeft),null)]}function We(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function Ze(e){var t;return M(this,void 0,void 0,(function(){var n,r,o,i,a,c,s;return C(this,(function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(e.length),i={},Ie(r),s=0;s<e.length;++s)"DIALOG"===(a=me(e[s])).tagName&&a.show(),Ie(c=n.createElement("div")),c.appendChild(a),r.appendChild(c),o[s]=a;u.label=1;case 1:return n.body?[3,3]:[4,Z(50)];case 2:return u.sent(),[3,1];case 3:return n.body.appendChild(r),[4,I()];case 4:u.sent();try{for(s=0;s<e.length;++s)o[s].offsetParent||(i[e[s]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,i]}}))}))}function Ie(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Ae(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Re(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Ee(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function je(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Fe(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function Ge(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Ye=Math,Ne=function(){return 0};var He={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var Xe=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Oe=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Te=["FRAGMENT_SHADER","VERTEX_SHADER"],Be=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Je="WEBGL_debug_renderer_info";function De(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var r=0,o=["webgl","experimental-webgl"];r<o.length;r++){var i=o[r];try{t=n.getContext(i)}catch(e){}if(t)break}return e.webgl={context:t},t}function ze(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Ue(e){return Object.keys(e.__proto__).filter(Ke)}function Ke(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Qe(){return se()}function qe(e){return"function"==typeof e.getParameter}var $e={fonts:function(){var e=this;return he((function(t,n){var r=n.document;return M(e,void 0,void 0,(function(){var e,t,n,o,i,a,c,s,u,l,d;return C(this,(function(f){switch(f.label){case 0:return(e=r.body).style.fontSize="48px",(t=r.createElement("div")).style.setProperty("visibility","hidden","important"),n={},o={},i=function(e){var n=r.createElement("span"),o=n.style;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},a=function(e,t){return i("'".concat(e,"',").concat(t))},c=function(){for(var e={},t=function(t){e[t]=Le.map((function(e){return a(t,e)}))},n=0,r=Se;n<r.length;n++){t(r[n])}return e},s=function(e){return Le.some((function(t,r){return e[r].offsetWidth!==n[t]||e[r].offsetHeight!==o[t]}))},u=function(){return Le.map(i)}(),l=c(),e.appendChild(t),[4,I()];case 1:for(f.sent(),d=0;d<Le.length;d++)n[Le[d]]=u[d].offsetWidth,o[Le[d]]=u[d].offsetHeight;return[2,Se.filter((function(e){return s(l[e])}))]}}))}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return M(this,void 0,void 0,(function(){var e,n,r,o,i;return C(this,(function(a){switch(a.label){case 0:return ie()||de()?(e=function(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),n=Object.keys(e),[4,Ze((i=[]).concat.apply(i,n.map((function(t){return e[t]}))))]):[2,void 0];case 1:return r=a.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];n+="\n".concat(i,":");for(var a=0,c=e[i];a<c.length;a++){var s=c[a];n+="\n ".concat(t[s]?"🚫":"➡️"," ").concat(s)}}console.log("".concat(n,"\n```"))}(e,r),(o=n.filter((function(t){var n=e[t];return N(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,o]}}))}))},fontPreferences:function(){return e=function(e,t){for(var n={},r={},o=0,i=Object.keys(He);o<i.length;o++){var a=i[o],c=He[a],s=c[0],u=void 0===s?{}:s,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,m=Object.keys(u);h<m.length;h++){var v=m[h],p=u[v];void 0!==p&&(f.style[v]=p)}n[a]=f,t.append(e.createElement("br"),f)}for(var g=0,y=Object.keys(He);g<y.length;g++)r[a=y[g]]=n[a].getBoundingClientRect().width;return r},void 0===t&&(t=4e3),he((function(n,r){var o=r.document,i=o.body,a=i.style;a.width="".concat(t,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",oe()?i.style.zoom="".concat(1/r.devicePixelRatio):ie()&&(i.style.zoom="reset");var c=o.createElement("div");return c.textContent=P([],Array(t/20<<0),!0).map((function(){return"word"})).join(" "),i.appendChild(c),e(o,i)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e,t},audio:function(){return M(this,void 0,void 0,(function(){var e;return C(this,(function(t){switch(t.label){case 0:return[4,ye()];case 1:return e=t.sent(),[2,function(){return function(e,t){if(0===e)return e;var n=Math.floor(Math.log10(Math.abs(e))),r=n-Math.floor(t)+1,o=Math.pow(10,-r)*(10*t%10||1);return Math.round(e*o)/o}(e(),6.2)}]}}))}))},screenFrame:function(){var e=this;if(ie()&&ue()&&ce())return function(){return Promise.resolve(void 0)};var t=Ce();return function(){return M(e,void 0,void 0,(function(){var e,n;return C(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),n=function(e){return null===e?null:H(e,10)},[2,[n(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}},canvas:function(){return function(e){return M(this,void 0,void 0,(function(){var t,n,r,o,i,a,c;return C(this,(function(s){switch(s.label){case 0:return t=!1,o=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),i=o[0],a=o[1],function(e,t){return!(!t||!e.toDataURL)}(i,a)?[3,1]:(n=r="unsupported",[3,4]);case 1:return t=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(a),e?(n=r="skipped",[3,4]):[3,2];case 2:return[4,ke(i,a)];case 3:c=s.sent(),n=c[0],r=c[1],s.label=4;case 4:return[2,{winding:t,geometry:n,text:r}]}}))}))}(ie()&&ue()&&ce())},osCpu:function(){return navigator.oscpu},languages:function(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))oe()&&function(){var e=window;return N([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||t.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&t.push(r.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return Y(G(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(ie()&&ue()&&ce()))return function(){var e=screen,t=function(e){return Y(F(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}()},hardwareConcurrency:function(){return Y(F(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r=-function(){var e=(new Date).getFullYear();return Math.max(G(new Date(e,0,1).getTimezoneOffset()),G(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(Math.abs(r))},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!(re()||(e=window,t=navigator,N(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!re())))try{return!!window.indexedDB}catch(e){return!0}var e,t},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&ie()&&!ae()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return N(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var o=[],i=0;i<r.length;++i){var a=r[i];o.push({type:a.type,suffixes:a.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:o})}}return t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=F(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],o=window[r];o&&"object"==typeof o&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Ae("inverted")||!Ae("none")&&void 0},forcedColors:function(){return!!Re("active")||!Re("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return Ee("no-preference")?0:Ee("high")||Ee("more")?1:Ee("low")||Ee("less")?-1:Ee("forced")?10:void 0},reducedMotion:function(){return!!je("reduce")||!je("no-preference")&&void 0},reducedTransparency:function(){return!!Fe("reduce")||!Fe("no-preference")&&void 0},hdr:function(){return!!Ge("high")||!Ge("standard")&&void 0},math:function(){var e,t=Ye.acos||Ne,n=Ye.acosh||Ne,r=Ye.asin||Ne,o=Ye.asinh||Ne,i=Ye.atanh||Ne,a=Ye.atan||Ne,c=Ye.sin||Ne,s=Ye.sinh||Ne,u=Ye.cos||Ne,l=Ye.cosh||Ne,d=Ye.tan||Ne,f=Ye.tanh||Ne,h=Ye.exp||Ne,m=Ye.expm1||Ne,v=Ye.log1p||Ne;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,Ye.log(e+Ye.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(e){return Ye.log(e+Ye.sqrt(e*e+1))}(1),atanh:i(.5),atanhPf:function(e){return Ye.log((1+e)/(1-e))/2}(.5),atan:a(.5),sin:c(-1e300),sinh:s(1),sinhPf:function(e){return Ye.exp(e)-1/Ye.exp(e)/2}(1),cos:u(10.000000000123),cosh:l(1),coshPf:function(e){return(Ye.exp(e)+1/Ye.exp(e))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(e){return(Ye.exp(2*e)-1)/(Ye.exp(2*e)+1)}(1),exp:h(1),expm1:m(1),expm1Pf:function(e){return Ye.exp(e)-1}(1),log1p:v(10),log1pPf:function(e){return Ye.log(1+e)}(10),powPI:function(e){return Ye.pow(Ye.PI,e)}(-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},applePay:function(){var e=window.ApplePaySession;if("function"!=typeof(null==e?void 0:e.canMakePayments))return-1;try{return e.canMakePayments()?1:0}catch(e){return function(e){if(e instanceof Error){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return-3}if("SecurityError"===e.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(e.message))return-3}throw e}(e)}},privateClickMeasurement:function(){var e,t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)},webGlBasics:function(e){var t,n,r,o,i,a,c=De(e.cache);if(!c)return-1;if(!qe(c))return-2;var s=Qe()?null:c.getExtension(Je);return{version:(null===(t=c.getParameter(c.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=c.getParameter(c.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:s?null===(r=c.getParameter(s.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(o=c.getParameter(c.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:s?null===(i=c.getParameter(s.UNMASKED_RENDERER_WEBGL))||void 0===i?void 0:i.toString():"",shadingLanguageVersion:(null===(a=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||""}},webGlExtensions:function(e){var t=De(e.cache);if(!t)return-1;if(!qe(t))return-2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),o=[],i=[],a=[],c=[];if(r)for(var s=0,u=Object.keys(r);s<u.length;s++){var l=u[s];o.push("".concat(l,"=").concat(r[l]))}for(var d=0,f=Ue(t);d<f.length;d++){var h=t[w=f[d]];i.push("".concat(w,"=").concat(h).concat(Xe.has(h)?"=".concat(t.getParameter(h)):""))}if(n)for(var m=0,v=n;m<v.length;m++){var p=v[m];if(p!==Je||!Qe()){var g=t.getExtension(p);if(g)for(var y=0,b=Ue(g);y<b.length;y++){var w;h=g[w=b[y]];a.push("".concat(w,"=").concat(h).concat(Oe.has(h)?"=".concat(t.getParameter(h)):""))}}}for(var L=0,S=Te;L<S.length;L++)for(var k=S[L],V=0,x=Be;V<x.length;V++){var _=x[V],M=ze(t,k,_);c.push("".concat(k,".").concat(_,"=").concat(M.join(",")))}return a.sort(),i.sort(),{contextAttributes:o,parameters:i,shaderPrecisions:c,extensions:n,extensionParameters:a}}};var et="$ if upgrade to Pro: https://fpjs.dev/pro";function tt(e){var t=function(e){if(de())return.4;if(ie())return!ae()||ue()&&ce()?.3:.5;var t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return H(.99+.01*e,1e-4)}(t);return{score:t,comment:et.replace(/\$/g,"".concat(n))}}function nt(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?function(e){var t;return _({name:e.name,message:e.message,stack:null===(t=e.stack)||void 0===t?void 0:t.split("\n")},e)}(t):t}),2)}function rt(e){return te(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var o=r[n],i=e[o],a="error"in i?"error":JSON.stringify(i.value);t+="".concat(t?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return t}(e))}function ot(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise((function(e){return n.call(window,(function(){return e()}),{timeout:t})})):Z(Math.min(e,t))}(e,2*e)}function it(e,t){var n=Date.now();return{get:function(r){return M(this,void 0,void 0,(function(){var o,i,a;return C(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,e()];case 1:return i=c.sent(),a=function(e){var t;return{get visitorId(){return void 0===t&&(t=rt(this.components)),t},set visitorId(e){t=e},confidence:tt(e),components:e,version:W}}(i),(t||null!=r&&r.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(nt(i),"\n```")),[2,a]}}))}))}}}var at={load:function(e){var t;return void 0===e&&(e={}),M(this,void 0,void 0,(function(){var n,r,o;return C(this,(function(i){switch(i.label){case 0:return(!(null!==(t=e.monitoring)&&void 0!==t)||t)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(W,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),n=e.delayFallback,r=e.debug,[4,ot(n)];case 1:return i.sent(),o=function(e){return ne($e,e,[])}({cache:{},debug:r}),[2,it(o,r)]}}))}))},hashComponents:rt,componentsToDebugString:nt};const ct="tb_cookieId";class st{constructor(e=!0){this.storage=e?localStorage:sessionStorage}set(e,t){this.storage.setItem(e,JSON.stringify(t))}get(e){const t=this.storage.getItem(e);if(t)return JSON.parse(t)}remove(e){return this.storage.removeItem(e)}clear(){this.storage.clear()}}const ut=e=>{const t=e||function(){};try{const e=new st(!1);let n=e.get(ct);""!==n&&n?t(n):lt((r=>a(void 0,null,(function*(){const{visitorId:o,components:i}=r||{},{fonts:a,videoCard:c}=i||{},u=((e,t)=>{function n(e,t){return e<<t|e>>>32-t}function r(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i}function o(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e&t|~e&n}(t,o,i),a),s)),r(n(e,c),t)}function i(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e&n|t&~n}(t,o,i),a),s)),r(n(e,c),t)}function a(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e^t^n}(t,o,i),a),s)),r(n(e,c),t)}function c(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return t^(e|~n)}(t,o,i),a),s)),r(n(e,c),t)}function s(e){var t,n="",r="";for(t=0;t<=3;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n}var u,l,d,f,h,m,v,p,g,y=Array();for(y=function(e){for(var t,n=e.length,r=n+8,o=16*((r-r%64)/64+1),i=Array(o-1),a=0,c=0;c<n;)a=c%4*8,i[t=(c-c%4)/4]=i[t]|e.charCodeAt(c)<<a,c++;return a=c%4*8,i[t=(c-c%4)/4]=i[t]|128<<a,i[o-2]=n<<3,i[o-1]=n>>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e)),m=1732584193,v=4023233417,p=2562383102,g=271733878,u=0;u<y.length;u+=16)l=m,d=v,f=p,h=g,m=o(m,v,p,g,y[u+0],7,3614090360),g=o(g,m,v,p,y[u+1],12,3905402710),p=o(p,g,m,v,y[u+2],17,606105819),v=o(v,p,g,m,y[u+3],22,3250441966),m=o(m,v,p,g,y[u+4],7,4118548399),g=o(g,m,v,p,y[u+5],12,1200080426),p=o(p,g,m,v,y[u+6],17,2821735955),v=o(v,p,g,m,y[u+7],22,4249261313),m=o(m,v,p,g,y[u+8],7,1770035416),g=o(g,m,v,p,y[u+9],12,2336552879),p=o(p,g,m,v,y[u+10],17,4294925233),v=o(v,p,g,m,y[u+11],22,2304563134),m=o(m,v,p,g,y[u+12],7,1804603682),g=o(g,m,v,p,y[u+13],12,4254626195),p=o(p,g,m,v,y[u+14],17,2792965006),m=i(m,v=o(v,p,g,m,y[u+15],22,1236535329),p,g,y[u+1],5,4129170786),g=i(g,m,v,p,y[u+6],9,3225465664),p=i(p,g,m,v,y[u+11],14,643717713),v=i(v,p,g,m,y[u+0],20,3921069994),m=i(m,v,p,g,y[u+5],5,3593408605),g=i(g,m,v,p,y[u+10],9,38016083),p=i(p,g,m,v,y[u+15],14,3634488961),v=i(v,p,g,m,y[u+4],20,3889429448),m=i(m,v,p,g,y[u+9],5,568446438),g=i(g,m,v,p,y[u+14],9,3275163606),p=i(p,g,m,v,y[u+3],14,4107603335),v=i(v,p,g,m,y[u+8],20,1163531501),m=i(m,v,p,g,y[u+13],5,2850285829),g=i(g,m,v,p,y[u+2],9,4243563512),p=i(p,g,m,v,y[u+7],14,1735328473),m=a(m,v=i(v,p,g,m,y[u+12],20,2368359562),p,g,y[u+5],4,4294588738),g=a(g,m,v,p,y[u+8],11,2272392833),p=a(p,g,m,v,y[u+11],16,1839030562),v=a(v,p,g,m,y[u+14],23,4259657740),m=a(m,v,p,g,y[u+1],4,2763975236),g=a(g,m,v,p,y[u+4],11,1272893353),p=a(p,g,m,v,y[u+7],16,4139469664),v=a(v,p,g,m,y[u+10],23,3200236656),m=a(m,v,p,g,y[u+13],4,681279174),g=a(g,m,v,p,y[u+0],11,3936430074),p=a(p,g,m,v,y[u+3],16,3572445317),v=a(v,p,g,m,y[u+6],23,76029189),m=a(m,v,p,g,y[u+9],4,3654602809),g=a(g,m,v,p,y[u+12],11,3873151461),p=a(p,g,m,v,y[u+15],16,530742520),m=c(m,v=a(v,p,g,m,y[u+2],23,3299628645),p,g,y[u+0],6,4096336452),g=c(g,m,v,p,y[u+7],10,1126891415),p=c(p,g,m,v,y[u+14],15,2878612391),v=c(v,p,g,m,y[u+5],21,4237533241),m=c(m,v,p,g,y[u+12],6,1700485571),g=c(g,m,v,p,y[u+3],10,2399980690),p=c(p,g,m,v,y[u+10],15,4293915773),v=c(v,p,g,m,y[u+1],21,2240044497),m=c(m,v,p,g,y[u+8],6,1873313359),g=c(g,m,v,p,y[u+15],10,4264355552),p=c(p,g,m,v,y[u+6],15,2734768916),v=c(v,p,g,m,y[u+13],21,1309151649),m=c(m,v,p,g,y[u+4],6,4149444226),g=c(g,m,v,p,y[u+11],10,3174756917),p=c(p,g,m,v,y[u+2],15,718787259),v=c(v,p,g,m,y[u+9],21,3951481745),m=r(m,l),v=r(v,d),p=r(p,f),g=r(g,h);return 32===t?(s(m)+s(v)+s(p)+s(g)).toLowerCase():(s(v)+s(p)).toLowerCase()})(a&&a.value.join(",")||"",32),l=navigator.language,d=dt(),f=ft(),h=c&&JSON.stringify(c.value)||"",m=yield s({url:"/ecl/bs/check",params:{bfp:o,font:u,language:l,screen_width:d,screen_height:f,video_card:h}}),{code:v,data:p}=m||{};200===v&&p&&(n=p.cookie_id,e.set(ct,n)),t(n)}))))}catch(e){t("1")}},lt=e=>a(void 0,null,(function*(){const t=e||function(){};try{at.load().then((e=>e.get())).then((e=>a(void 0,null,(function*(){t(e)})))).catch((e=>{t(e)}))}catch(e){t(e)}})),dt=()=>{let e=0;try{e=Math.floor(window.screen.width*window.devicePixelRatio)}catch(t){e=0}return e},ft=()=>{let e=0;try{e=Math.floor(window.screen.height*window.devicePixelRatio)}catch(t){e=0}return e},ht={SUCCESS:{code:200,message:"Success"},UNKNOWN:{code:9999,message:"Unknown"},LACK_APPKEY:{code:1001,message:"Missing appKey parameter"},LACK_APPSECRET:{code:1002,message:"Missing appSecret parameter"},LACK_PROJECTID:{code:1003,message:"Missing projectId parameter"},NOT_INIT:{code:1004,message:"Please call the init method first"},EMPTY_EVENT_NAME:{code:1005,message:"Event name cannot be empty"}};let mt={appKey:"",appSecret:"",projectId:""},vt="",pt=!0;const gt=(e,t)=>new Promise((n=>{try{const{appKey:r,appSecret:o,projectId:i}=mt||{};if(""===r||!r||""===o||!o||""===i||!i)throw ht.NOT_INIT;if(!e||""===e)throw ht.EMPTY_EVENT_NAME;ut((r=>a(void 0,null,(function*(){const c=dt(),u=ft(),l=(new Date).valueOf(),d=l.toString(),f=x(`${i}_${d}_${l}_${o}`).toString(),h=(()=>{let e="Android";try{const t=navigator.userAgent.toLowerCase();/android/.test(t)?e="Android":/iphone|ipad|ipod/.test(t)?e="iOS":/win/.test(t)?e="Windows":/mac/.test(t)?e="macOS":/linux/.test(t)&&(e="Linux")}catch(t){e="Android"}return e})(),m=yield a(void 0,null,(function*(){const e=navigator.userAgent.toLowerCase();let t="";try{if(/android/.test(e))if(navigator.userAgent.indexOf("(Linux; Android 10; K)")>-1&&navigator.userAgentData){const e=yield navigator.userAgentData.getHighEntropyValues(["platformVersion","model"]);t=e&&e.platformVersion}else t=e.match(/android\s([0-9.]+)/)[1];else/iphone|ipad|ipod/.test(e)?t=e.match(/os\s([\d_]+)/)[1].replace(/_/g,"."):/win/.test(e)?t=e.match(/windows\snt\s([\d.]+)/)[1]:/mac/.test(e)?t=e.match(/os x\s([\d_]+)/)[1].replace(/_/g,"."):/linux/.test(e)&&(t="Unknown")}catch(e){t="Unknown"}return t})),v=yield a(void 0,null,(function*(){const e=navigator.userAgent;let t="Windows";try{if(e.includes("iPhone"))t="iPhone";else if(e.includes("iPad"))t="iPad";else if(e.includes("Android"))if(e.indexOf("(Linux; Android 10; K)")>-1&&navigator.userAgentData){const e=yield navigator.userAgentData.getHighEntropyValues(["platformVersion","model"]);t=e&&e.model||"Windows"}else if(e.includes("Build")){const n=e.match(/Android.*; ?(.*(?= Build))/);n&&n.length>1&&(t=n[1])}else if(e.includes("wv")){const n=e.match(/Android.*; ?(.*(?= wv))/);if(n&&n.length>0){const e=n[0].split(";");e&&e.length>1&&(t=e[1])}}else{const n=e.match(/Android.*; ([^)]+)/);n&&n.length>1&&(t=n[1])}else e.includes("Mac")&&(t="Mac")}catch(e){t="Windows"}return t})),p=yield new Promise((e=>{try{const t=new RTCPeerConnection;t.createDataChannel(""),t.onicecandidate=function(n){if(n.candidate){const r=n.candidate.candidate,o=/(?:[0-9]{1,3}\.){3}[0-9]{1,3}/.exec(r),i=o?o[0]:null;e(i),t.close()}else e()},t.createOffer().then((e=>t.setLocalDescription(e))).catch((()=>{e()}))}catch(t){e()}})),g=(()=>{let e="Unknown";try{e=(navigator.language||navigator.userLanguage).substring(3).toUpperCase()}catch(t){e="Unknown"}return e})(),y=(()=>{let e="Unknown";try{e=(navigator.language||navigator.userLanguage).substring(0,2).toLowerCase()}catch(t){e="Unknown"}return e})();let b=[];t&&t.constructor===Array&&(b=t.map((e=>{const t={};return Object.keys(e).forEach((n=>{const r=e[n];t[n]="string"!=typeof r?String(r):r})),t})));const w=yield s({url:"/v2/event",params:{project:i,request_id:d,timestamp:l,msg_signature:f,event:e,user_data:{native_msg:"",os:h,os_version:m,device_model:v,device_id:r,user_id:vt,country:g,language:y,screen_width:c,screen_height:u,ip:p||""},custom_data:b}}),{code:L,data:S,msg:k}=w||{};if(200===L&&S){let e="";const t=S.link_data||[];for(let n=0;n<t.length;n++)if("$campaign_url"===t[n].key){e=decodeURIComponent(t[n].value||"");break}pt&&""!==e&&(window.location.href=e),n({code:L,message:k,data:S})}else n({code:L,message:k})}))))}catch(e){n(e)}}));class yt{}i(yt,"init",((e,t)=>new Promise((n=>{const r=t||function(){};try{const{appKey:t,appSecret:o,projectId:i,uid:a,jump:s=!0,dev:u=!1}=e||{};if(!t||""===t)throw ht.LACK_APPKEY;if(!o||""===o)throw ht.LACK_APPSECRET;if(!i||""===i)throw ht.LACK_PROJECTID;u&&(e=>{e&&(c="https://test.allapp.link")})(u),vt=a,pt=s,mt=e||{},n(ht.SUCCESS),r(ht.SUCCESS)}catch(e){n(e),r(e)}})))),i(yt,"setIdentity",((e,t)=>new Promise((n=>{const{SUCCESS:r,UNKNOWN:o}=null!=ht?ht:{};try{vt=e,n(r),t&&t(r)}catch(e){n(o),t&&t(o)}})))),i(yt,"install",(e=>new Promise((t=>{gt("install").then((n=>{t(n),e&&e(n)}))})))),i(yt,"open",(e=>new Promise((t=>{gt("open").then((n=>{t(n),e&&e(n)}))})))),i(yt,"customEvent",((e,t)=>new Promise((n=>{const r=t||function(){};try{const{event:t,customData:o}=e||{};if(!t||""===t)throw ht.EMPTY_EVENT_NAME;gt(t,o).then((e=>{n(e),r(e)}))}catch(e){n(e),r(e)}}))));export{yt as default};
1
+ var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,i=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n),a=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{c(n.next(e))}catch(e){o(e)}},a=e=>{try{c(n.throw(e))}catch(e){o(e)}},c=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);c((n=n.apply(e,t)).next())}));let c="https://www.allapp.link";const s=({url:e,method:i="POST",headers:a,params:s})=>new Promise((u=>{const l=((e,i)=>{for(var a in i||(i={}))n.call(i,a)&&o(e,a,i[a]);if(t)for(var a of t(i))r.call(i,a)&&o(e,a,i[a]);return e})({"Content-Type":"application/json;charset=utf-8"},a);mt.appKey&&(l.Authorization="Bearer "+mt.appKey),fetch(c+e,{method:i,headers:l,body:JSON.stringify(s)}).then((e=>{if(e.ok)return e.json();throw new Error("Network response was not ok.")})).then((e=>{u(e)})).catch((e=>{u(e)}))}));var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var f={exports:{}};var h={exports:{}};const m=d(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var v,p,g,y,b,w,L,S,k;function V(){return v||(v=1,h.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==u&&u.crypto&&(n=u.crypto),!n)try{n=m}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},a=i.lib={},c=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),(!t.hasOwnProperty("init")||this.init===t.init)&&(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=a.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var c=0;c<o;c+=4)t[r+c>>>2]=n[c>>>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<e;n+=4)t.push(r());return new s.init(t,e)}}),l=i.enc={},d=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>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<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new s.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[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<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new s.init(n,t)}},h=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)))}},v=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.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,c=i/(4*a),u=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*a,l=e.min(4*u,i);if(u){for(var d=0;d<u;d+=a)this._doProcessBlock(o,d);n=o.splice(0,u),r.sigBytes-=l}return new s.init(n,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=v.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new p.HMAC.init(e,n).finalize(t)}}});var p=i.algo={};return i}(Math),e)),h.exports;var e}const x=l(f.exports=(k=V(),g=(p=k).lib,y=g.WordArray,b=g.Hasher,w=p.algo,L=[],S=w.SHA1=b.extend({_doReset:function(){this._hash=new y.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],s=0;s<80;s++){if(s<16)L[s]=0|e[t+s];else{var u=L[s-3]^L[s-8]^L[s-14]^L[s-16];L[s]=u<<1|u>>>31}var l=(r<<5|r>>>27)+c+L[s];l+=s<20?1518500249+(o&i|~o&a):s<40?1859775393+(o^i^a):s<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=l}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=b.clone.call(this);return e._hash=this._hash.clone(),e}}),p.SHA1=b._createHelper(S),p.HmacSHA1=b._createHmacHelper(S),k.SHA1));var _=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)};function M(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,c)}s((r=r.apply(e,t||[])).next())}))}function C(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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}function P(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var W="4.2.0";function Z(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function I(){return Z(0)}function A(e){return!!e&&"function"==typeof e.then}function R(e,t){try{var n=e();A(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(e){t(!1,e)}}function E(e,t,n){return void 0===n&&(n=16),M(this,void 0,void 0,(function(){var r,o,i,a;return C(this,(function(c){switch(c.label){case 0:r=Array(e.length),o=Date.now(),i=0,c.label=1;case 1:return i<e.length?(r[i]=t(e[i],i),(a=Date.now())>=o+n?(o=a,[4,Z(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++i,[3,1];case 4:return[2,r]}}))}))}function j(e){e.then(void 0,(function(){}))}function F(e){return parseInt(e)}function G(e){return parseFloat(e)}function Y(e,t){return"number"==typeof e&&isNaN(e)?t:e}function N(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function H(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function X(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=0,l=0,d=0,f=0;d+=(f+=i+(65535&t[1]))>>>16,f&=65535,l+=(d+=o+s)>>>16,d&=65535,u+=(l+=r+c)>>>16,l&=65535,u+=n+a,u&=65535,e[0]=u<<16|l,e[1]=d<<16|f}function O(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],a=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=65535&t[1],l=0,d=0,f=0,h=0;f+=(h+=i*u)>>>16,h&=65535,d+=(f+=o*u)>>>16,f&=65535,d+=(f+=i*s)>>>16,f&=65535,l+=(d+=r*u)>>>16,d&=65535,l+=(d+=o*s)>>>16,d&=65535,l+=(d+=i*c)>>>16,d&=65535,l+=n*u+r*s+o*c+i*a,l&=65535,e[0]=l<<16|d,e[1]=f<<16|h}function T(e,t){var n=e[0];32===(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function B(e,t){0!==(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function J(e,t){e[0]^=t[0],e[1]^=t[1]}var D=[4283543511,3981806797],z=[3301882366,444984403];function U(e){var t=[0,e[0]>>>1];J(e,t),O(e,D),t[1]=e[0]>>>1,J(e,t),O(e,z),t[1]=e[0]>>>1,J(e,t)}var K=[2277735313,289559509],Q=[1291169091,658871167],q=[0,5],$=[0,1390208809],ee=[0,944331445];function te(e,t){var n=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return(new TextEncoder).encode(e);t[n]=r}return t}(e);t=t||0;var r,o=[0,n.length],i=o[1]%16,a=o[1]-i,c=[0,t],s=[0,t],u=[0,0],l=[0,0];for(r=0;r<a;r+=16)u[0]=n[r+4]|n[r+5]<<8|n[r+6]<<16|n[r+7]<<24,u[1]=n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24,l[0]=n[r+12]|n[r+13]<<8|n[r+14]<<16|n[r+15]<<24,l[1]=n[r+8]|n[r+9]<<8|n[r+10]<<16|n[r+11]<<24,O(u,K),T(u,31),O(u,Q),J(c,u),T(c,27),X(c,s),O(c,q),X(c,$),O(l,Q),T(l,33),O(l,K),J(s,l),T(s,31),X(s,c),O(s,q),X(s,ee);u[0]=0,u[1]=0,l[0]=0,l[1]=0;var d=[0,0];switch(i){case 15:d[1]=n[r+14],B(d,48),J(l,d);case 14:d[1]=n[r+13],B(d,40),J(l,d);case 13:d[1]=n[r+12],B(d,32),J(l,d);case 12:d[1]=n[r+11],B(d,24),J(l,d);case 11:d[1]=n[r+10],B(d,16),J(l,d);case 10:d[1]=n[r+9],B(d,8),J(l,d);case 9:d[1]=n[r+8],J(l,d),O(l,Q),T(l,33),O(l,K),J(s,l);case 8:d[1]=n[r+7],B(d,56),J(u,d);case 7:d[1]=n[r+6],B(d,48),J(u,d);case 6:d[1]=n[r+5],B(d,40),J(u,d);case 5:d[1]=n[r+4],B(d,32),J(u,d);case 4:d[1]=n[r+3],B(d,24),J(u,d);case 3:d[1]=n[r+2],B(d,16),J(u,d);case 2:d[1]=n[r+1],B(d,8),J(u,d);case 1:d[1]=n[r],J(u,d),O(u,K),T(u,31),O(u,Q),J(c,u)}return J(c,o),J(s,o),X(c,s),X(s,c),U(c),U(s),X(c,s),X(s,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function ne(e,t,n){var r=Object.keys(e).filter((function(e){return function(e,t){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(e,t)}(n,e)})),o=E(r,(function(n){return function(e,t){var n=new Promise((function(n){var r=Date.now();R(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Date.now()-r;if(!e[0])return n((function(){return{error:e[1],duration:o}}));var i=e[1];if(function(e){return"function"!=typeof e}(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(e){var t=Date.now();R(i,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o+Date.now()-t;if(!n[0])return e({error:n[1],duration:i});e({value:n[1],duration:i})}))}))}))}))}));return j(n),function(){return n.then((function(e){return e()}))}}(e[n],t)}));return j(o),function(){return M(this,void 0,void 0,(function(){var e,t,n,i;return C(this,(function(a){switch(a.label){case 0:return[4,o];case 1:return[4,E(a.sent(),(function(e){var t=e();return j(t),t}))];case 2:return e=a.sent(),[4,Promise.all(e)];case 3:for(t=a.sent(),n={},i=0;i<r.length;++i)n[r[i]]=t[i];return[2,n]}}))}))}}function re(){var e=window,t=navigator;return N(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function oe(){var e=window,t=navigator;return N(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function ie(){var e=window,t=navigator;return N(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function ae(){var e=window,t=e.HTMLElement,n=e.Document;return N(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ce(){var e=window;return!!function(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&N(["[object WebPageNamespace]"===String(e.browser),"MicrodataExtractor"in e])>=1}function se(){var e,t,n=window;return N(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function ue(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return N([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function le(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function de(){var e=oe(),t=se(),n=window;return e?N([!("SharedWorker"in n),fe(),!("sinkId"in new window.Audio)])>=2:!!t&&N(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function fe(){try{return new Notification(""),!1}catch(e){if(e instanceof Error&&e.message.includes("ServiceWorkerRegistration.showNotification()"))return!0}return!1}function he(e,t,n){var r,o,i;return void 0===n&&(n=50),M(this,void 0,void 0,(function(){var a,c;return C(this,(function(s){switch(s.label){case 0:a=document,s.label=1;case 1:return a.body?[3,3]:[4,Z(n)];case 2:return s.sent(),[3,1];case 3:c=a.createElement("iframe"),s.label=4;case 4:return s.trys.push([4,,10,11]),[4,new Promise((function(e,n){var r=!1,o=function(){r=!0,e()};c.onload=o,c.onerror=function(e){r=!0,n(e)};var i=c.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",t&&"srcdoc"in c?c.srcdoc=t:c.src="about:blank",a.body.appendChild(c);var s=function(){var e,t;r||("complete"===(null===(t=null===(e=c.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(s,10))};s()}))];case 5:s.sent(),s.label=6;case 6:return null!==(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)&&void 0!==o&&o.body?[3,8]:[4,Z(n)];case 7:return s.sent(),[3,6];case 8:return[4,e(c,c.contentWindow)];case 9:return[2,s.sent()];case 10:return null===(i=c.parentNode)||void 0===i||i.removeChild(c),[7];case 11:return[2]}}))}))}function me(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},c=/([.:#][\w-]+|\[.+?\])/gi,s=function(e,t){a[e]=a[e]||[],a[e].push(t)};;){var u=c.exec(o[2]);if(!u)break;var l=u[0];switch(l[0]){case".":s("class",l.slice(1));break;case"#":s("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);s(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[i,a]}(e),n=t[0],r=t[1],o=document.createElement(null!=n?n:"div"),i=0,a=Object.keys(r);i<a.length;i++){var c=a[i],s=r[c].join(" ");"style"===c?ve(o.style,s):o.setAttribute(c,s)}return o}function ve(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var a=i[1],c=i[2],s=i[4];e.setProperty(a,c,s||"")}}}var pe=44100,ge=4e4;function ye(){return M(this,void 0,void 0,(function(){var e,t,n;return C(this,(function(r){switch(r.label){case 0:return t=new Promise((function(e){var t=document,n="visibilitychange",r=function(){t.hidden||(t.removeEventListener(n,r),e())};t.addEventListener(n,r),r()})).then((function(){return Z(500)})),n=function(){return M(this,void 0,void 0,(function(){var e,t,n,r,o,i,a;return C(this,(function(c){switch(c.label){case 0:return e=window,(t=e.OfflineAudioContext||e.webkitOfflineAudioContext)?!ie()||ae()||function(){var e=window;return N(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()?[4,be(t)]:[2,-1]:[2,-2];case 1:return(n=c.sent())?(r=new t(1,n.length-1+ge,pe),(o=r.createBufferSource()).buffer=n,o.loop=!0,o.loopStart=(n.length-1)/pe,o.loopEnd=n.length/pe,o.connect(r.destination),o.start(),[4,we(r)]):[2,-3];case 2:return(i=c.sent())?(a=function(e,t){for(var n=void 0,r=!1,o=0;o<t.length;o+=Math.floor(t.length/10))if(0!==t[o])if(void 0===n)n=t[o];else if(n!==t[o]){r=!0;break}return void 0===n?n=e.getChannelData(0)[e.length-1]:r&&(n=function(e){for(var t=1/0,n=-1/0,r=0;r<e.length;r++){var o=e[r];0!==o&&(o<t&&(t=o),o>n&&(n=o))}return(t+n)/2}(t)),n}(n,i.getChannelData(0).subarray(n.length-1)),[2,Math.abs(a)]):[2,-3]}}))}))}().then((function(t){return e=[!0,t]}),(function(t){return e=[!1,t]})),[4,Promise.race([t,n])];case 1:return r.sent(),[2,function(){if(!e)return-3;if(!e[0])throw e[1];return e[1]}]}}))}))}function be(e){return M(this,void 0,void 0,(function(){var t,n,r,o;return C(this,(function(i){switch(i.label){case 0:return 3395,t=new e(1,3396,pe),(n=t.createOscillator()).type="square",n.frequency.value=1e3,(r=t.createDynamicsCompressor()).threshold.value=-70,r.knee.value=40,r.ratio.value=12,r.attack.value=0,r.release.value=.25,(o=t.createBiquadFilter()).type="allpass",o.frequency.value=5.239622852977861,o.Q.value=.1,n.connect(r),r.connect(o),o.connect(t.destination),n.start(0),[4,we(t)];case 1:return[2,i.sent()]}}))}))}function we(e){return new Promise((function(t,n){var r=25;e.oncomplete=function(e){return t(e.renderedBuffer)};var o=function(){try{var i=e.startRendering();A(i)&&j(i),"suspended"===e.state&&(document.hidden||r--,r>0?setTimeout(o,200):t(null))}catch(e){n(e)}};o()}))}var Le=["monospace","sans-serif","serif"],Se=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function ke(e,t){return M(this,void 0,void 0,(function(){var n,r,o;return C(this,(function(i){switch(i.label){case 0:return function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(e,t),[4,I()];case 1:return i.sent(),n=Ve(e),r=Ve(e),n!==r?[2,["unstable","unstable"]]:(function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var o=r[n],i=o[0],a=o[1],c=o[2];t.fillStyle=i,t.beginPath(),t.arc(a,c,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t),[4,I()]);case 2:return i.sent(),o=Ve(e),[2,[n,o]]}}))}))}function Ve(e){return e.toDataURL()}var xe,_e,Me=2500;function Ce(){var e=this;return function(){if(void 0===_e){var e=function(){var t=Pe();We(t)?_e=setTimeout(e,Me):(xe=t,_e=void 0)};e()}}(),function(){return M(e,void 0,void 0,(function(){var e;return C(this,(function(t){switch(t.label){case 0:return We(e=Pe())?xe?[2,P([],xe,!0)]:function(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,le()]:[3,2]:[3,2];case 1:t.sent(),e=Pe(),t.label=2;case 2:return We(e)||(xe=e),[2,e]}}))}))}}function Pe(){var e=screen;return[Y(G(e.availTop),null),Y(G(e.width)-G(e.availWidth)-Y(G(e.availLeft),0),null),Y(G(e.height)-G(e.availHeight)-Y(G(e.availTop),0),null),Y(G(e.availLeft),null)]}function We(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function Ze(e){var t;return M(this,void 0,void 0,(function(){var n,r,o,i,a,c,s;return C(this,(function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(e.length),i={},Ie(r),s=0;s<e.length;++s)"DIALOG"===(a=me(e[s])).tagName&&a.show(),Ie(c=n.createElement("div")),c.appendChild(a),r.appendChild(c),o[s]=a;u.label=1;case 1:return n.body?[3,3]:[4,Z(50)];case 2:return u.sent(),[3,1];case 3:return n.body.appendChild(r),[4,I()];case 4:u.sent();try{for(s=0;s<e.length;++s)o[s].offsetParent||(i[e[s]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,i]}}))}))}function Ie(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Ae(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Re(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Ee(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function je(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Fe(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function Ge(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Ye=Math,Ne=function(){return 0};var He={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var Xe=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Oe=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Te=["FRAGMENT_SHADER","VERTEX_SHADER"],Be=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Je="WEBGL_debug_renderer_info";function De(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var r=0,o=["webgl","experimental-webgl"];r<o.length;r++){var i=o[r];try{t=n.getContext(i)}catch(e){}if(t)break}return e.webgl={context:t},t}function ze(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Ue(e){return Object.keys(e.__proto__).filter(Ke)}function Ke(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Qe(){return se()}function qe(e){return"function"==typeof e.getParameter}var $e={fonts:function(){var e=this;return he((function(t,n){var r=n.document;return M(e,void 0,void 0,(function(){var e,t,n,o,i,a,c,s,u,l,d;return C(this,(function(f){switch(f.label){case 0:return(e=r.body).style.fontSize="48px",(t=r.createElement("div")).style.setProperty("visibility","hidden","important"),n={},o={},i=function(e){var n=r.createElement("span"),o=n.style;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},a=function(e,t){return i("'".concat(e,"',").concat(t))},c=function(){for(var e={},t=function(t){e[t]=Le.map((function(e){return a(t,e)}))},n=0,r=Se;n<r.length;n++){t(r[n])}return e},s=function(e){return Le.some((function(t,r){return e[r].offsetWidth!==n[t]||e[r].offsetHeight!==o[t]}))},u=function(){return Le.map(i)}(),l=c(),e.appendChild(t),[4,I()];case 1:for(f.sent(),d=0;d<Le.length;d++)n[Le[d]]=u[d].offsetWidth,o[Le[d]]=u[d].offsetHeight;return[2,Se.filter((function(e){return s(l[e])}))]}}))}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return M(this,void 0,void 0,(function(){var e,n,r,o,i;return C(this,(function(a){switch(a.label){case 0:return ie()||de()?(e=function(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),n=Object.keys(e),[4,Ze((i=[]).concat.apply(i,n.map((function(t){return e[t]}))))]):[2,void 0];case 1:return r=a.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];n+="\n".concat(i,":");for(var a=0,c=e[i];a<c.length;a++){var s=c[a];n+="\n ".concat(t[s]?"🚫":"➡️"," ").concat(s)}}console.log("".concat(n,"\n```"))}(e,r),(o=n.filter((function(t){var n=e[t];return N(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,o]}}))}))},fontPreferences:function(){return e=function(e,t){for(var n={},r={},o=0,i=Object.keys(He);o<i.length;o++){var a=i[o],c=He[a],s=c[0],u=void 0===s?{}:s,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,m=Object.keys(u);h<m.length;h++){var v=m[h],p=u[v];void 0!==p&&(f.style[v]=p)}n[a]=f,t.append(e.createElement("br"),f)}for(var g=0,y=Object.keys(He);g<y.length;g++)r[a=y[g]]=n[a].getBoundingClientRect().width;return r},void 0===t&&(t=4e3),he((function(n,r){var o=r.document,i=o.body,a=i.style;a.width="".concat(t,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",oe()?i.style.zoom="".concat(1/r.devicePixelRatio):ie()&&(i.style.zoom="reset");var c=o.createElement("div");return c.textContent=P([],Array(t/20<<0),!0).map((function(){return"word"})).join(" "),i.appendChild(c),e(o,i)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e,t},audio:function(){return M(this,void 0,void 0,(function(){var e;return C(this,(function(t){switch(t.label){case 0:return[4,ye()];case 1:return e=t.sent(),[2,function(){return function(e,t){if(0===e)return e;var n=Math.floor(Math.log10(Math.abs(e))),r=n-Math.floor(t)+1,o=Math.pow(10,-r)*(10*t%10||1);return Math.round(e*o)/o}(e(),6.2)}]}}))}))},screenFrame:function(){var e=this;if(ie()&&ue()&&ce())return function(){return Promise.resolve(void 0)};var t=Ce();return function(){return M(e,void 0,void 0,(function(){var e,n;return C(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),n=function(e){return null===e?null:H(e,10)},[2,[n(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}},canvas:function(){return function(e){return M(this,void 0,void 0,(function(){var t,n,r,o,i,a,c;return C(this,(function(s){switch(s.label){case 0:return t=!1,o=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),i=o[0],a=o[1],function(e,t){return!(!t||!e.toDataURL)}(i,a)?[3,1]:(n=r="unsupported",[3,4]);case 1:return t=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(a),e?(n=r="skipped",[3,4]):[3,2];case 2:return[4,ke(i,a)];case 3:c=s.sent(),n=c[0],r=c[1],s.label=4;case 4:return[2,{winding:t,geometry:n,text:r}]}}))}))}(ie()&&ue()&&ce())},osCpu:function(){return navigator.oscpu},languages:function(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))oe()&&function(){var e=window;return N([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||t.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&t.push(r.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return Y(G(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(ie()&&ue()&&ce()))return function(){var e=screen,t=function(e){return Y(F(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}()},hardwareConcurrency:function(){return Y(F(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r=-function(){var e=(new Date).getFullYear();return Math.max(G(new Date(e,0,1).getTimezoneOffset()),G(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(Math.abs(r))},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!(re()||(e=window,t=navigator,N(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!re())))try{return!!window.indexedDB}catch(e){return!0}var e,t},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&ie()&&!ae()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return N(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var o=[],i=0;i<r.length;++i){var a=r[i];o.push({type:a.type,suffixes:a.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:o})}}return t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=F(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],o=window[r];o&&"object"==typeof o&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Ae("inverted")||!Ae("none")&&void 0},forcedColors:function(){return!!Re("active")||!Re("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return Ee("no-preference")?0:Ee("high")||Ee("more")?1:Ee("low")||Ee("less")?-1:Ee("forced")?10:void 0},reducedMotion:function(){return!!je("reduce")||!je("no-preference")&&void 0},reducedTransparency:function(){return!!Fe("reduce")||!Fe("no-preference")&&void 0},hdr:function(){return!!Ge("high")||!Ge("standard")&&void 0},math:function(){var e,t=Ye.acos||Ne,n=Ye.acosh||Ne,r=Ye.asin||Ne,o=Ye.asinh||Ne,i=Ye.atanh||Ne,a=Ye.atan||Ne,c=Ye.sin||Ne,s=Ye.sinh||Ne,u=Ye.cos||Ne,l=Ye.cosh||Ne,d=Ye.tan||Ne,f=Ye.tanh||Ne,h=Ye.exp||Ne,m=Ye.expm1||Ne,v=Ye.log1p||Ne;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,Ye.log(e+Ye.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(e){return Ye.log(e+Ye.sqrt(e*e+1))}(1),atanh:i(.5),atanhPf:function(e){return Ye.log((1+e)/(1-e))/2}(.5),atan:a(.5),sin:c(-1e300),sinh:s(1),sinhPf:function(e){return Ye.exp(e)-1/Ye.exp(e)/2}(1),cos:u(10.000000000123),cosh:l(1),coshPf:function(e){return(Ye.exp(e)+1/Ye.exp(e))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(e){return(Ye.exp(2*e)-1)/(Ye.exp(2*e)+1)}(1),exp:h(1),expm1:m(1),expm1Pf:function(e){return Ye.exp(e)-1}(1),log1p:v(10),log1pPf:function(e){return Ye.log(1+e)}(10),powPI:function(e){return Ye.pow(Ye.PI,e)}(-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},applePay:function(){var e=window.ApplePaySession;if("function"!=typeof(null==e?void 0:e.canMakePayments))return-1;try{return e.canMakePayments()?1:0}catch(e){return function(e){if(e instanceof Error){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return-3}if("SecurityError"===e.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(e.message))return-3}throw e}(e)}},privateClickMeasurement:function(){var e,t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)},webGlBasics:function(e){var t,n,r,o,i,a,c=De(e.cache);if(!c)return-1;if(!qe(c))return-2;var s=Qe()?null:c.getExtension(Je);return{version:(null===(t=c.getParameter(c.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=c.getParameter(c.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:s?null===(r=c.getParameter(s.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(o=c.getParameter(c.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:s?null===(i=c.getParameter(s.UNMASKED_RENDERER_WEBGL))||void 0===i?void 0:i.toString():"",shadingLanguageVersion:(null===(a=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||""}},webGlExtensions:function(e){var t=De(e.cache);if(!t)return-1;if(!qe(t))return-2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),o=[],i=[],a=[],c=[];if(r)for(var s=0,u=Object.keys(r);s<u.length;s++){var l=u[s];o.push("".concat(l,"=").concat(r[l]))}for(var d=0,f=Ue(t);d<f.length;d++){var h=t[w=f[d]];i.push("".concat(w,"=").concat(h).concat(Xe.has(h)?"=".concat(t.getParameter(h)):""))}if(n)for(var m=0,v=n;m<v.length;m++){var p=v[m];if(p!==Je||!Qe()){var g=t.getExtension(p);if(g)for(var y=0,b=Ue(g);y<b.length;y++){var w;h=g[w=b[y]];a.push("".concat(w,"=").concat(h).concat(Oe.has(h)?"=".concat(t.getParameter(h)):""))}}}for(var L=0,S=Te;L<S.length;L++)for(var k=S[L],V=0,x=Be;V<x.length;V++){var _=x[V],M=ze(t,k,_);c.push("".concat(k,".").concat(_,"=").concat(M.join(",")))}return a.sort(),i.sort(),{contextAttributes:o,parameters:i,shaderPrecisions:c,extensions:n,extensionParameters:a}}};var et="$ if upgrade to Pro: https://fpjs.dev/pro";function tt(e){var t=function(e){if(de())return.4;if(ie())return!ae()||ue()&&ce()?.3:.5;var t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return H(.99+.01*e,1e-4)}(t);return{score:t,comment:et.replace(/\$/g,"".concat(n))}}function nt(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?function(e){var t;return _({name:e.name,message:e.message,stack:null===(t=e.stack)||void 0===t?void 0:t.split("\n")},e)}(t):t}),2)}function rt(e){return te(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var o=r[n],i=e[o],a="error"in i?"error":JSON.stringify(i.value);t+="".concat(t?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return t}(e))}function ot(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise((function(e){return n.call(window,(function(){return e()}),{timeout:t})})):Z(Math.min(e,t))}(e,2*e)}function it(e,t){var n=Date.now();return{get:function(r){return M(this,void 0,void 0,(function(){var o,i,a;return C(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,e()];case 1:return i=c.sent(),a=function(e){var t;return{get visitorId(){return void 0===t&&(t=rt(this.components)),t},set visitorId(e){t=e},confidence:tt(e),components:e,version:W}}(i),(t||null!=r&&r.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(nt(i),"\n```")),[2,a]}}))}))}}}var at={load:function(e){var t;return void 0===e&&(e={}),M(this,void 0,void 0,(function(){var n,r,o;return C(this,(function(i){switch(i.label){case 0:return(!(null!==(t=e.monitoring)&&void 0!==t)||t)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(W,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),n=e.delayFallback,r=e.debug,[4,ot(n)];case 1:return i.sent(),o=function(e){return ne($e,e,[])}({cache:{},debug:r}),[2,it(o,r)]}}))}))},hashComponents:rt,componentsToDebugString:nt};const ct="tb_cookieId";class st{constructor(e=!0){this.storage=e?localStorage:sessionStorage}set(e,t){this.storage.setItem(e,JSON.stringify(t))}get(e){const t=this.storage.getItem(e);if(t)return JSON.parse(t)}remove(e){return this.storage.removeItem(e)}clear(){this.storage.clear()}}const ut=e=>{const t=e||function(){};try{const e=new st(!1);let n=e.get(ct);""!==n&&n?t(n):lt((r=>a(void 0,null,(function*(){const{visitorId:o,components:i}=r||{},{fonts:a,videoCard:c}=i||{},u=((e,t)=>{function n(e,t){return e<<t|e>>>32-t}function r(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i}function o(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e&t|~e&n}(t,o,i),a),s)),r(n(e,c),t)}function i(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e&n|t&~n}(t,o,i),a),s)),r(n(e,c),t)}function a(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return e^t^n}(t,o,i),a),s)),r(n(e,c),t)}function c(e,t,o,i,a,c,s){return e=r(e,r(r(function(e,t,n){return t^(e|~n)}(t,o,i),a),s)),r(n(e,c),t)}function s(e){var t,n="",r="";for(t=0;t<=3;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n}var u,l,d,f,h,m,v,p,g,y=Array();for(y=function(e){for(var t,n=e.length,r=n+8,o=16*((r-r%64)/64+1),i=Array(o-1),a=0,c=0;c<n;)a=c%4*8,i[t=(c-c%4)/4]=i[t]|e.charCodeAt(c)<<a,c++;return a=c%4*8,i[t=(c-c%4)/4]=i[t]|128<<a,i[o-2]=n<<3,i[o-1]=n>>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e)),m=1732584193,v=4023233417,p=2562383102,g=271733878,u=0;u<y.length;u+=16)l=m,d=v,f=p,h=g,m=o(m,v,p,g,y[u+0],7,3614090360),g=o(g,m,v,p,y[u+1],12,3905402710),p=o(p,g,m,v,y[u+2],17,606105819),v=o(v,p,g,m,y[u+3],22,3250441966),m=o(m,v,p,g,y[u+4],7,4118548399),g=o(g,m,v,p,y[u+5],12,1200080426),p=o(p,g,m,v,y[u+6],17,2821735955),v=o(v,p,g,m,y[u+7],22,4249261313),m=o(m,v,p,g,y[u+8],7,1770035416),g=o(g,m,v,p,y[u+9],12,2336552879),p=o(p,g,m,v,y[u+10],17,4294925233),v=o(v,p,g,m,y[u+11],22,2304563134),m=o(m,v,p,g,y[u+12],7,1804603682),g=o(g,m,v,p,y[u+13],12,4254626195),p=o(p,g,m,v,y[u+14],17,2792965006),m=i(m,v=o(v,p,g,m,y[u+15],22,1236535329),p,g,y[u+1],5,4129170786),g=i(g,m,v,p,y[u+6],9,3225465664),p=i(p,g,m,v,y[u+11],14,643717713),v=i(v,p,g,m,y[u+0],20,3921069994),m=i(m,v,p,g,y[u+5],5,3593408605),g=i(g,m,v,p,y[u+10],9,38016083),p=i(p,g,m,v,y[u+15],14,3634488961),v=i(v,p,g,m,y[u+4],20,3889429448),m=i(m,v,p,g,y[u+9],5,568446438),g=i(g,m,v,p,y[u+14],9,3275163606),p=i(p,g,m,v,y[u+3],14,4107603335),v=i(v,p,g,m,y[u+8],20,1163531501),m=i(m,v,p,g,y[u+13],5,2850285829),g=i(g,m,v,p,y[u+2],9,4243563512),p=i(p,g,m,v,y[u+7],14,1735328473),m=a(m,v=i(v,p,g,m,y[u+12],20,2368359562),p,g,y[u+5],4,4294588738),g=a(g,m,v,p,y[u+8],11,2272392833),p=a(p,g,m,v,y[u+11],16,1839030562),v=a(v,p,g,m,y[u+14],23,4259657740),m=a(m,v,p,g,y[u+1],4,2763975236),g=a(g,m,v,p,y[u+4],11,1272893353),p=a(p,g,m,v,y[u+7],16,4139469664),v=a(v,p,g,m,y[u+10],23,3200236656),m=a(m,v,p,g,y[u+13],4,681279174),g=a(g,m,v,p,y[u+0],11,3936430074),p=a(p,g,m,v,y[u+3],16,3572445317),v=a(v,p,g,m,y[u+6],23,76029189),m=a(m,v,p,g,y[u+9],4,3654602809),g=a(g,m,v,p,y[u+12],11,3873151461),p=a(p,g,m,v,y[u+15],16,530742520),m=c(m,v=a(v,p,g,m,y[u+2],23,3299628645),p,g,y[u+0],6,4096336452),g=c(g,m,v,p,y[u+7],10,1126891415),p=c(p,g,m,v,y[u+14],15,2878612391),v=c(v,p,g,m,y[u+5],21,4237533241),m=c(m,v,p,g,y[u+12],6,1700485571),g=c(g,m,v,p,y[u+3],10,2399980690),p=c(p,g,m,v,y[u+10],15,4293915773),v=c(v,p,g,m,y[u+1],21,2240044497),m=c(m,v,p,g,y[u+8],6,1873313359),g=c(g,m,v,p,y[u+15],10,4264355552),p=c(p,g,m,v,y[u+6],15,2734768916),v=c(v,p,g,m,y[u+13],21,1309151649),m=c(m,v,p,g,y[u+4],6,4149444226),g=c(g,m,v,p,y[u+11],10,3174756917),p=c(p,g,m,v,y[u+2],15,718787259),v=c(v,p,g,m,y[u+9],21,3951481745),m=r(m,l),v=r(v,d),p=r(p,f),g=r(g,h);return 32===t?(s(m)+s(v)+s(p)+s(g)).toLowerCase():(s(v)+s(p)).toLowerCase()})(a&&a.value.join(",")||"",32),l=navigator.language,d=dt(),f=ft(),h=c&&JSON.stringify(c.value)||"",m=yield s({url:"/ecl/bs/check",params:{bfp:o,font:u,language:l,screen_width:d,screen_height:f,video_card:h}}),{code:v,data:p}=m||{};200===v&&p&&(n=p.cookie_id,e.set(ct,n)),t(n)}))))}catch(e){t("1")}},lt=e=>a(void 0,null,(function*(){const t=e||function(){};try{at.load().then((e=>e.get())).then((e=>a(void 0,null,(function*(){t(e)})))).catch((e=>{t(e)}))}catch(e){t(e)}})),dt=()=>{let e=0;try{e=Math.floor(window.screen.width*window.devicePixelRatio)}catch(t){e=0}return e},ft=()=>{let e=0;try{e=Math.floor(window.screen.height*window.devicePixelRatio)}catch(t){e=0}return e},ht={SUCCESS:{code:200,message:"Success"},UNKNOWN:{code:9999,message:"Unknown"},LACK_APPKEY:{code:1001,message:"Missing appKey parameter"},LACK_APPSECRET:{code:1002,message:"Missing appSecret parameter"},LACK_PROJECTID:{code:1003,message:"Missing projectId parameter"},NOT_INIT:{code:1004,message:"Please call the init method first"},EMPTY_EVENT_NAME:{code:1005,message:"Event name cannot be empty"}};let mt={appKey:"",appSecret:"",projectId:""},vt="",pt=!0;const gt=(e,t)=>new Promise((n=>{try{const{appKey:r,appSecret:o,projectId:i}=mt||{};if(""===r||!r||""===o||!o||""===i||!i)throw ht.NOT_INIT;if(!e||""===e)throw ht.EMPTY_EVENT_NAME;ut((r=>a(void 0,null,(function*(){const c=dt(),u=ft(),l=(new Date).valueOf(),d=l.toString(),f=x(`${i}_${d}_${l}_${o}`).toString(),h=(()=>{let e="Android";try{const t=navigator.userAgent.toLowerCase();/android/.test(t)?e="Android":/iphone|ipad|ipod/.test(t)?e="iOS":/win/.test(t)?e="Windows":/mac/.test(t)?e="macOS":/linux/.test(t)&&(e="Linux")}catch(t){e="Android"}return e})(),m=yield a(void 0,null,(function*(){const e=navigator.userAgent.toLowerCase();let t="";try{if(/android/.test(e))if(navigator.userAgent.indexOf("(Linux; Android 10; K)")>-1&&navigator.userAgentData){const e=yield navigator.userAgentData.getHighEntropyValues(["platformVersion","model"]);t=e&&e.platformVersion}else t=e.match(/android\s([0-9.]+)/)[1];else/iphone|ipad|ipod/.test(e)?t=e.match(/os\s([\d_]+)/)[1].replace(/_/g,"."):/win/.test(e)?t=e.match(/windows\snt\s([\d.]+)/)[1]:/mac/.test(e)?t=e.match(/os x\s([\d_]+)/)[1].replace(/_/g,"."):/linux/.test(e)&&(t="Unknown")}catch(e){t="Unknown"}return t})),v=yield a(void 0,null,(function*(){const e=navigator.userAgent;let t="Windows";try{if(e.includes("iPhone"))t="iPhone";else if(e.includes("iPad"))t="iPad";else if(e.includes("Android"))if(e.indexOf("(Linux; Android 10; K)")>-1&&navigator.userAgentData){const e=yield navigator.userAgentData.getHighEntropyValues(["platformVersion","model"]);t=e&&e.model||"Windows"}else if(e.includes("Build")){const n=e.match(/Android.*; ?(.*(?= Build))/);n&&n.length>1&&(t=n[1])}else if(e.includes("wv")){const n=e.match(/Android.*; ?(.*(?= wv))/);if(n&&n.length>0){const e=n[0].split(";");e&&e.length>1&&(t=e[1])}}else{const n=e.match(/Android.*; ([^)]+)/);n&&n.length>1&&(t=n[1])}else e.includes("Mac")&&(t="Mac")}catch(e){t="Windows"}return t})),p=yield new Promise((e=>{try{const t=new RTCPeerConnection;t.createDataChannel(""),t.onicecandidate=function(n){if(n.candidate){const r=n.candidate.candidate,o=/(?:[0-9]{1,3}\.){3}[0-9]{1,3}/.exec(r),i=o?o[0]:null;e(i),t.close()}else e()},t.createOffer().then((e=>t.setLocalDescription(e))).catch((()=>{e()}))}catch(t){e()}})),g=(()=>{let e="Unknown";try{e=(navigator.language||navigator.userLanguage).substring(3).toUpperCase()}catch(t){e="Unknown"}return e})(),y=(()=>{let e="Unknown";try{e=(navigator.language||navigator.userLanguage).substring(0,2).toLowerCase()}catch(t){e="Unknown"}return e})();let b=[];t&&t.constructor===Array&&(b=t.map((e=>{const t={};return Object.keys(e).forEach((n=>{const r=e[n];t[n]="string"!=typeof r?String(r):r})),t})));const w=yield s({url:"/v2/event",params:{project:i,request_id:d,timestamp:l,msg_signature:f,event:e,user_data:{native_msg:"",os:h,os_version:m,device_model:v,device_id:r,user_id:vt,country:g,language:y,screen_width:c,screen_height:u,ip:p||""},custom_data:b}}),{code:L,data:S,msg:k}=w||{};if(200===L&&S){let e="";const t=S.link_data||[];for(let n=0;n<t.length;n++)if("$campaign_url"===t[n].key){e=decodeURIComponent(t[n].value||"");break}pt&&""!==e&&(window.location.href=e),n({code:L,message:k,data:S})}else n({code:L,message:k})}))))}catch(e){n(e)}}));class yt{}i(yt,"init",((e,t)=>new Promise((n=>{const r=t||function(){};try{const{appKey:t,appSecret:o,projectId:i,uid:a,jump:s=!0,dev:u=!1}=e||{};if(!t||""===t)throw ht.LACK_APPKEY;if(!o||""===o)throw ht.LACK_APPSECRET;if(!i||""===i)throw ht.LACK_PROJECTID;u&&(e=>{e&&(c="https://test.allapp.link")})(u),vt=a,pt=s,mt=e||{},n(ht.SUCCESS),r(ht.SUCCESS)}catch(e){n(e),r(e)}})))),i(yt,"setIdentity",((e,t)=>new Promise((n=>{const{SUCCESS:r,UNKNOWN:o}=null!=ht?ht:{};try{vt=e,n(r),t&&t(r)}catch(e){n(o),t&&t(o)}})))),i(yt,"install",(e=>new Promise((t=>{gt("install").then((n=>{t(n),e&&e(n)}))})))),i(yt,"register",(e=>new Promise((t=>{gt("register").then((n=>{t(n),e&&e(n)}))})))),i(yt,"open",(e=>new Promise((t=>{gt("open").then((n=>{t(n),e&&e(n)}))})))),i(yt,"customEvent",((e,t)=>new Promise((n=>{const r=t||function(){};try{const{event:t,customData:o}=e||{};if(!t||""===t)throw ht.EMPTY_EVENT_NAME;gt(t,o).then((e=>{n(e),r(e)}))}catch(e){n(e),r(e)}}))));export{yt as default};
package/index.d.ts CHANGED
@@ -50,6 +50,13 @@ export declare function setIdentity<T>(uid: string | number, callback?: Callback
50
50
  */
51
51
  export declare function install<T>(callback?: CallbackModel): Promise<CallbackResultModel>
52
52
 
53
+ /**
54
+ * Register event reporting
55
+ * @param callback
56
+ */
57
+ export declare function register<T>(callback?: CallbackModel): Promise<CallbackResultModel>
58
+
59
+
53
60
  /**
54
61
  * Open incident reporting
55
62
  * @param callback
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbolink-ai",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",