-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.js
More file actions
1 lines (1 loc) · 56.6 KB
/
bundle.js
File metadata and controls
1 lines (1 loc) · 56.6 KB
1
var e={249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(480)}catch(e){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},c=a.lib={},s=c.Base={extend:function(e){var t=i(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)}},l=c.WordArray=s.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=s.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(o());return new l.init(t,e)}}),u=a.enc={},d=u.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 l.init(n,t/2)}},f=u.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 l.init(n,t)}},m=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=c.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=m.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),s=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*a,u=e.min(4*s,i);if(s){for(var d=0;d<s;d+=a)this._doProcessBlock(o,d);n=o.splice(0,s),r.sigBytes-=u}return new l.init(n,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),v=(c.Hasher=h.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.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 v.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},153:function(e,t,n){var r;e.exports=(r=n(249),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,c=[],s=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(c[o]=n(e.pow(r,.5))),s[o]=n(e.pow(r,1/3)),o++),r++}();var l=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_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],u=n[5],d=n[6],f=n[7],m=0;m<64;m++){if(m<16)l[m]=0|e[t+m];else{var h=l[m-15],v=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,p=l[m-2],g=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;l[m]=v+l[m-7]+g+l[m-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=f+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+s[m]+l[m];f=d,d=u,u=c,c=a+w|0,a=i,i=o,o=r,r=w+(b+y)|0}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,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),r.SHA256)},480:()=>{}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};(()=>{n.d(r,{B:()=>callInfoDataFunction});var e=function(){return e=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},e.apply(this,arguments)};function t(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){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))}function o(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=a.trys,(o=o.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])}}}Object.create;function i(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))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var a="4.2.1";function c(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function s(){return c(0)}function l(e){return!!e&&"function"==typeof e.then}function u(e,t){try{var n=e();l(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(e){t(!1,e)}}function d(e,n,r){return void 0===r&&(r=16),t(this,void 0,void 0,(function(){var t,i,a,s;return o(this,(function(o){switch(o.label){case 0:t=Array(e.length),i=Date.now(),a=0,o.label=1;case 1:return a<e.length?(t[a]=n(e[a],a),(s=Date.now())>=i+r?(i=s,[4,c(0)]):[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return++a,[3,1];case 4:return[2,t]}}))}))}function f(e){e.then(void 0,(function(){}))}function m(e){return parseInt(e)}function h(e){return parseFloat(e)}function v(e,t){return"number"==typeof e&&isNaN(e)?t:e}function p(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function g(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 y(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,l=0,u=0,d=0,f=0;d+=(f+=i+(65535&t[1]))>>>16,f&=65535,u+=(d+=o+s)>>>16,d&=65535,l+=(u+=r+c)>>>16,u&=65535,l+=n+a,l&=65535,e[0]=l<<16|u,e[1]=d<<16|f}function b(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,l=65535&t[1],u=0,d=0,f=0,m=0;f+=(m+=i*l)>>>16,m&=65535,d+=(f+=o*l)>>>16,f&=65535,d+=(f+=i*s)>>>16,f&=65535,u+=(d+=r*l)>>>16,d&=65535,u+=(d+=o*s)>>>16,d&=65535,u+=(d+=i*c)>>>16,d&=65535,u+=n*l+r*s+o*c+i*a,u&=65535,e[0]=u<<16|d,e[1]=f<<16|m}function w(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 S(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 L(e,t){e[0]^=t[0],e[1]^=t[1]}var k=[4283543511,3981806797],_=[3301882366,444984403];function x(e){var t=[0,e[0]>>>1];L(e,t),b(e,k),t[1]=e[0]>>>1,L(e,t),b(e,_),t[1]=e[0]>>>1,L(e,t)}var I=[2277735313,289559509],V=[1291169091,658871167],M=[0,5],W=[0,1390208809],Z=[0,944331445];function F(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],l=[0,0],u=[0,0];for(r=0;r<a;r+=16)l[0]=n[r+4]|n[r+5]<<8|n[r+6]<<16|n[r+7]<<24,l[1]=n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24,u[0]=n[r+12]|n[r+13]<<8|n[r+14]<<16|n[r+15]<<24,u[1]=n[r+8]|n[r+9]<<8|n[r+10]<<16|n[r+11]<<24,b(l,I),w(l,31),b(l,V),L(c,l),w(c,27),y(c,s),b(c,M),y(c,W),b(u,V),w(u,33),b(u,I),L(s,u),w(s,31),y(s,c),b(s,M),y(s,Z);l[0]=0,l[1]=0,u[0]=0,u[1]=0;var d=[0,0];switch(i){case 15:d[1]=n[r+14],S(d,48),L(u,d);case 14:d[1]=n[r+13],S(d,40),L(u,d);case 13:d[1]=n[r+12],S(d,32),L(u,d);case 12:d[1]=n[r+11],S(d,24),L(u,d);case 11:d[1]=n[r+10],S(d,16),L(u,d);case 10:d[1]=n[r+9],S(d,8),L(u,d);case 9:d[1]=n[r+8],L(u,d),b(u,V),w(u,33),b(u,I),L(s,u);case 8:d[1]=n[r+7],S(d,56),L(l,d);case 7:d[1]=n[r+6],S(d,48),L(l,d);case 6:d[1]=n[r+5],S(d,40),L(l,d);case 5:d[1]=n[r+4],S(d,32),L(l,d);case 4:d[1]=n[r+3],S(d,24),L(l,d);case 3:d[1]=n[r+2],S(d,16),L(l,d);case 2:d[1]=n[r+1],S(d,8),L(l,d);case 1:d[1]=n[r],L(l,d),b(l,I),w(l,31),b(l,V),L(c,l)}return L(c,o),L(s,o),y(c,s),y(s,c),x(c),x(s),y(c,s),y(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 C(e){return"function"!=typeof e}function j(e,n,r){var i=Object.keys(e).filter((function(e){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(r,e)})),a=d(i,(function(t){return function(e,t){var n=new Promise((function(n){var r=Date.now();u(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(C(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(e){var t=Date.now();u(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 f(n),function(){return n.then((function(e){return e()}))}}(e[t],n)}));return f(a),function(){return t(this,void 0,void 0,(function(){var e,t,n,r;return o(this,(function(o){switch(o.label){case 0:return[4,a];case 1:return[4,d(o.sent(),(function(e){var t=e();return f(t),t}))];case 2:return e=o.sent(),[4,Promise.all(e)];case 3:for(t=o.sent(),n={},r=0;r<i.length;++r)n[i[r]]=t[r];return[2,n]}}))}))}}function E(){var e=window,t=navigator;return p(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function R(){var e=window,t=navigator;return p(["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 P(){var e=window,t=navigator;return p(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function N(){var e=window,t=e.HTMLElement,n=e.Document;return p(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function G(){var e,t=window;return e=t.print,!!/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&p(["[object WebPageNamespace]"===String(t.browser),"MicrodataExtractor"in t])>=1}function A(){var e,t,n=window;return p(["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 H(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return p([!("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 Y(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function D(){var e=R(),t=A(),n=window,r=navigator,o="connection";return e?p([!("SharedWorker"in n),r[o]&&"ontypechange"in r[o],!("sinkId"in new window.Audio)])>=2:!!t&&p(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function X(e,n,r){var i,a,s;return void 0===r&&(r=50),t(this,void 0,void 0,(function(){var t,l;return o(this,(function(o){switch(o.label){case 0:t=document,o.label=1;case 1:return t.body?[3,3]:[4,c(r)];case 2:return o.sent(),[3,1];case 3:l=t.createElement("iframe"),o.label=4;case 4:return o.trys.push([4,,10,11]),[4,new Promise((function(e,r){var o=!1,i=function(){o=!0,e()};l.onload=i,l.onerror=function(e){o=!0,r(e)};var a=l.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",n&&"srcdoc"in l?l.srcdoc=n:l.src="about:blank",t.body.appendChild(l);var c=function(){var e,t;o||("complete"===(null===(t=null===(e=l.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?i():setTimeout(c,10))};c()}))];case 5:o.sent(),o.label=6;case 6:return(null===(a=null===(i=l.contentWindow)||void 0===i?void 0:i.document)||void 0===a?void 0:a.body)?[3,8]:[4,c(r)];case 7:return o.sent(),[3,6];case 8:return[4,e(l,l.contentWindow)];case 9:return[2,o.sent()];case 10:return null===(s=l.parentNode)||void 0===s||s.removeChild(l),[7];case 11:return[2]}}))}))}function T(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 l=c.exec(o[2]);if(!l)break;var u=l[0];switch(u[0]){case".":s("class",u.slice(1));break;case"#":s("id",u.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);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?B(o.style,s):o.setAttribute(c,s)}return o}function B(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 O=44100,J=4e4;function z(){return t(this,void 0,void 0,(function(){var e,n,r;return o(this,(function(i){switch(i.label){case 0:return n=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 c(500)})),r=function(){return t(this,void 0,void 0,(function(){var e,t,n,r,i,a,c;return o(this,(function(o){switch(o.label){case 0:return e=window,(t=e.OfflineAudioContext||e.webkitOfflineAudioContext)?!P()||N()||function(){var e=window;return p(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()?[4,U(t)]:[2,-1]:[2,-2];case 1:return(n=o.sent())?(r=new t(1,n.length-1+J,O),(i=r.createBufferSource()).buffer=n,i.loop=!0,i.loopStart=(n.length-1)/O,i.loopEnd=n.length/O,i.connect(r.destination),i.start(),[4,Q(r)]):[2,-3];case 2:return(a=o.sent())?(c=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]);else if(void 0===n)n=t[o];else if(n!==t[o]){r=!0;break}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));return n}(n,a.getChannelData(0).subarray(n.length-1)),[2,Math.abs(c)]):[2,-3]}}))}))}().then((function(t){return e=[!0,t]}),(function(t){return e=[!1,t]})),[4,Promise.race([n,r])];case 1:return i.sent(),[2,function(){if(!e)return-3;if(!e[0])throw e[1];return e[1]}]}}))}))}function U(e){return t(this,void 0,void 0,(function(){var t,n,r,i;return o(this,(function(o){switch(o.label){case 0:return 3395,t=new e(1,3396,O),(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,(i=t.createBiquadFilter()).type="allpass",i.frequency.value=5.239622852977861,i.Q.value=.1,n.connect(r),r.connect(i),i.connect(t.destination),n.start(0),[4,Q(t)];case 1:return[2,o.sent()]}}))}))}function Q(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();l(i)&&f(i),"suspended"===e.state&&(document.hidden||r--,r>0?setTimeout(o,200):t(null))}catch(e){n(e)}};o()}))}var K=["monospace","sans-serif","serif"],q=["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 $(e,n){return t(this,void 0,void 0,(function(){var t,r,i;return o(this,(function(o){switch(o.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,n),[4,s()];case 1:return o.sent(),t=ee(e),r=ee(e),t!==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,n),[4,s()]);case 2:return o.sent(),i=ee(e),[2,[t,i]]}}))}))}function ee(e){return e.toDataURL()}var te,ne,re=2500;function oe(){var e=this;return function(){if(void 0===ne){var e=function(){var t=ie();ae(t)?ne=setTimeout(e,re):(te=t,ne=void 0)};e()}}(),function(){return t(e,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return ae(e=ie())?te?[2,i([],te,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,Y()]:[3,2]:[3,2];case 1:t.sent(),e=ie(),t.label=2;case 2:return ae(e)||(te=e),[2,e]}var n}))}))}}function ie(){var e=screen;return[v(h(e.availTop),null),v(h(e.width)-h(e.availWidth)-v(h(e.availLeft),0),null),v(h(e.height)-h(e.availHeight)-v(h(e.availTop),0),null),v(h(e.availLeft),null)]}function ae(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function ce(e){var n;return t(this,void 0,void 0,(function(){var t,r,i,a,l,u,d;return o(this,(function(o){switch(o.label){case 0:for(t=document,r=t.createElement("div"),i=new Array(e.length),a={},se(r),d=0;d<e.length;++d)"DIALOG"===(l=T(e[d])).tagName&&l.show(),se(u=t.createElement("div")),u.appendChild(l),r.appendChild(u),i[d]=l;o.label=1;case 1:return t.body?[3,3]:[4,c(50)];case 2:return o.sent(),[3,1];case 3:return t.body.appendChild(r),[4,s()];case 4:o.sent();try{for(d=0;d<e.length;++d)i[d].offsetParent||(a[e[d]]=!0)}finally{null===(n=r.parentNode)||void 0===n||n.removeChild(r)}return[2,a]}}))}))}function se(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function le(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function ue(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function de(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function fe(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function me(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function he(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var ve=Math,pe=function(){return 0};var ge={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var ye=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]),be=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),we=["FRAGMENT_SHADER","VERTEX_SHADER"],Se=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Le="WEBGL_debug_renderer_info";function ke(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 _e(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function xe(e){return Object.keys(e.__proto__).filter(Ie)}function Ie(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Ve(){return A()}function Me(e){return"function"==typeof e.getParameter}var We={fonts:function(){var e=this;return X((function(n,r){var i=r.document;return t(e,void 0,void 0,(function(){var e,t,n,r,a,c,l,u,d,f,m;return o(this,(function(o){switch(o.label){case 0:return(e=i.body).style.fontSize="48px",(t=i.createElement("div")).style.setProperty("visibility","hidden","important"),n={},r={},a=function(e){var n=i.createElement("span"),r=n.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},c=function(e,t){return a("'".concat(e,"',").concat(t))},l=function(){for(var e={},t=function(t){e[t]=K.map((function(e){return c(t,e)}))},n=0,r=q;n<r.length;n++){t(r[n])}return e},u=function(e){return K.some((function(t,o){return e[o].offsetWidth!==n[t]||e[o].offsetHeight!==r[t]}))},d=function(){return K.map(a)}(),f=l(),e.appendChild(t),[4,s()];case 1:for(o.sent(),m=0;m<K.length;m++)n[K[m]]=d[m].offsetWidth,r[K[m]]=d[m].offsetHeight;return[2,q.filter((function(e){return u(f[e])}))]}}))}))}))},domBlockers:function(e){var n=(void 0===e?{}:e).debug;return t(this,void 0,void 0,(function(){var e,t,r,i,a;return o(this,(function(o){switch(o.label){case 0:return P()||D()?(c=atob,e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',c("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",c("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2NhbXBhaWduLWJhbm5lcg=="),c("I0FkLUNvbnRlbnQ=")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",c("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),c("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",c("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",c("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),c("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),c("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",c("I3Jla2xhbWk="),c("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),c("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),c("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[c("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",c("LndpZGdldF9wb19hZHNfd2lkZ2V0"),c("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",c("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",c("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",c("LnNwb25zb3JsaW5rZ3J1ZW4="),c("I3dlcmJ1bmdza3k="),c("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),c("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[c("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",c("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[c("LnJla2xhbW9zX3RhcnBhcw=="),c("LnJla2xhbW9zX251b3JvZG9z"),c("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),c("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),c("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[c("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:[c("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),c("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",c("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[c("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),c("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),c("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",c("LmFkX19tYWlu"),c("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[c("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[c("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),c("I2xpdmVyZUFkV3JhcHBlcg=="),c("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),c("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[c("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",c("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),c("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),c("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[c("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),c("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),c("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",c("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),c("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),c("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),c("ZGl2I3NrYXBpZWNfYWQ=")],ro:[c("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[c("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),c("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),c("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",c("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),c("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",c("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},t=Object.keys(e),[4,ce((a=[]).concat.apply(a,t.map((function(t){return e[t]}))))]):[2,void 0];case 1:return r=o.sent(),n&&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),(i=t.filter((function(t){var n=e[t];return p(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,i]}var c}))}))},fontPreferences:function(){return function(e,t){void 0===t&&(t=4e3);return X((function(n,r){var o=r.document,a=o.body,c=a.style;c.width="".concat(t,"px"),c.webkitTextSizeAdjust=c.textSizeAdjust="none",R()?a.style.zoom="".concat(1/r.devicePixelRatio):P()&&(a.style.zoom="reset");var s=o.createElement("div");return s.textContent=i([],Array(t/20<<0),!0).map((function(){return"word"})).join(" "),a.appendChild(s),e(o,a)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((function(e,t){for(var n={},r={},o=0,i=Object.keys(ge);o<i.length;o++){var a=i[o],c=ge[a],s=c[0],l=void 0===s?{}:s,u=c[1],d=void 0===u?"mmMwWLliI0fiflO&1":u,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var m=0,h=Object.keys(l);m<h.length;m++){var v=h[m],p=l[v];void 0!==p&&(f.style[v]=p)}n[a]=f,t.append(e.createElement("br"),f)}for(var g=0,y=Object.keys(ge);g<y.length;g++){r[a=y[g]]=n[a].getBoundingClientRect().width}return r}))},audio:function(){return t(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return[4,z()];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)))-Math.floor(t)+1,r=Math.pow(10,-n)*(10*t%10||1);return Math.round(e*r)/r}(e(),6.2)}]}}))}))},screenFrame:function(){var e=this;if(P()&&H()&&G())return function(){return Promise.resolve(void 0)};var n=oe();return function(){return t(e,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:return[4,n()];case 1:return e=r.sent(),[2,[(t=function(e){return null===e?null:g(e,10)})(e[0]),t(e[1]),t(e[2]),t(e[3])]]}}))}))}},canvas:function(){return function(e){return t(this,void 0,void 0,(function(){var t,n,r,i,a,c,s;return o(this,(function(o){switch(o.label){case 0:return t=!1,i=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),a=i[0],c=i[1],function(e,t){return!(!t||!e.toDataURL)}(a,c)?[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")}(c),e?(n=r="skipped",[3,4]):[3,2];case 2:return[4,$(a,c)];case 3:s=o.sent(),n=s[0],r=s[1],o.label=4;case 4:return[2,{winding:t,geometry:n,text:r}]}}))}))}(P()&&H()&&G())},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))R()&&p([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var o=t.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return v(h(navigator.deviceMemory),void 0)},screenResolution:function(){var e,t,n;if(!(P()&&H()&&G()))return e=screen,(n=[(t=function(e){return v(m(e),null)})(e.width),t(e.height)]).sort().reverse(),n},hardwareConcurrency:function(){return v(m(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,o=(r=(new Date).getFullYear(),-Math.max(h(new Date(r,0,1).getTimezoneOffset()),h(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(E()||(e=window,t=navigator,p(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!E())))try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&P()&&!N()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return p(["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=m(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!!le("inverted")||!le("none")&&void 0},forcedColors:function(){return!!ue("active")||!ue("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 de("no-preference")?0:de("high")||de("more")?1:de("low")||de("less")?-1:de("forced")?10:void 0},reducedMotion:function(){return!!fe("reduce")||!fe("no-preference")&&void 0},reducedTransparency:function(){return!!me("reduce")||!me("no-preference")&&void 0},hdr:function(){return!!he("high")||!he("standard")&&void 0},math:function(){var e,t=ve.acos||pe,n=ve.acosh||pe,r=ve.asin||pe,o=ve.asinh||pe,i=ve.atanh||pe,a=ve.atan||pe,c=ve.sin||pe,s=ve.sinh||pe,l=ve.cos||pe,u=ve.cosh||pe,d=ve.tan||pe,f=ve.tanh||pe,m=ve.exp||pe,h=ve.expm1||pe,v=ve.log1p||pe;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,ve.log(e+ve.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(e){return ve.log(e+ve.sqrt(e*e+1))}(1),atanh:i(.5),atanhPf:function(e){return ve.log((1+e)/(1-e))/2}(.5),atan:a(.5),sin:c(-1e300),sinh:s(1),sinhPf:function(e){return ve.exp(e)-1/ve.exp(e)/2}(1),cos:l(10.000000000123),cosh:u(1),coshPf:function(e){return(ve.exp(e)+1/ve.exp(e))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(e){return(ve.exp(2*e)-1)/(ve.exp(2*e)+1)}(1),exp:m(1),expm1:h(1),expm1Pf:function(e){return ve.exp(e)-1}(1),log1p:v(10),log1pPf:function(e){return ve.log(1+e)}(10),powPI:function(e){return ve.pow(ve.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=ke(e.cache);if(!c)return-1;if(!Me(c))return-2;var s=Ve()?null:c.getExtension(Le);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=ke(e.cache);if(!t)return-1;if(!Me(t))return-2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),o=[],i=[],a=[],c=[];if(r)for(var s=0,l=Object.keys(r);s<l.length;s++){var u=l[s];o.push("".concat(u,"=").concat(r[u]))}for(var d=0,f=xe(t);d<f.length;d++){var m=t[w=f[d]];i.push("".concat(w,"=").concat(m).concat(ye.has(m)?"=".concat(t.getParameter(m)):""))}if(n)for(var h=0,v=n;h<v.length;h++){var p=v[h];if(p!==Le||!Ve()){var g=t.getExtension(p);if(g)for(var y=0,b=xe(g);y<b.length;y++){var w;m=g[w=b[y]];a.push("".concat(w,"=").concat(m).concat(be.has(m)?"=".concat(t.getParameter(m)):""))}}}for(var S=0,L=we;S<L.length;S++)for(var k=L[S],_=0,x=Se;_<x.length;_++){var I=x[_],V=_e(t,k,I);c.push("".concat(k,".").concat(I,"=").concat(V.join(",")))}return a.sort(),i.sort(),{contextAttributes:o,parameters:i,shaderPrecisions:c,extensions:n,extensionParameters:a}}};var Ze="$ if upgrade to Pro: https://fpjs.dev/pro";function Fe(e){var t=function(e){if(D())return.4;if(P())return!N()||H()&&G()?.3:.5;var t="value"in e.platform?e.platform.value:"";if(/^Win/.test(t))return.6;if(/^Mac/.test(t))return.5;return.7}(e),n=function(e){return g(.99+.01*e,1e-4)}(t);return{score:t,comment:Ze.replace(/\$/g,"".concat(n))}}function Ce(t){return JSON.stringify(t,(function(t,n){return n instanceof Error?e({name:(r=n).name,message:r.message,stack:null===(o=r.stack)||void 0===o?void 0:o.split("\n")},r):n;var r,o}),2)}function je(e){return F(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 Ee(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})})):c(Math.min(e,t))}(e,2*e)}function Re(e,n){var r=Date.now();return{get:function(i){return t(this,void 0,void 0,(function(){var t,c,s;return o(this,(function(o){switch(o.label){case 0:return t=Date.now(),[4,e()];case 1:return c=o.sent(),s=function(e){var t;return{get visitorId(){return void 0===t&&(t=je(this.components)),t},set visitorId(e){t=e},confidence:Fe(e),components:e,version:a}}(c),(n||(null==i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(t-r,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(Ce(c),"\n```")),[2,s]}}))}))}}}var Pe={load:function(e){var n;return void 0===e&&(e={}),t(this,void 0,void 0,(function(){var t,r,i;return o(this,(function(o){switch(o.label){case 0:return(null===(n=e.monitoring)||void 0===n||n)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(a,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),t=e.delayFallback,r=e.debug,[4,Ee(t)];case 1:return o.sent(),i=function(e){return j(We,e,[])}({cache:{},debug:r}),[2,Re(i,r)]}}))}))},hashComponents:je,componentsToDebugString:Ce},Ne=n(153),Ge=n.n(Ne);const Ae=e=>Ge()(e).toString(),He=1111111;let Ye,De=0,Xe=JSON.parse(localStorage.getItem("__fingerprint_Id")),Te=!1,Be=!1,Oe=0,Je=0,ze=0,Ue=null,Qe=null;const Ke=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,qe=/^\+?\d{1,4}?[-.\s]?(\(?\d{1,4}?\))?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}$/,$e=/^[\p{L}\p{M}'\s.-]+$/u;const et="https://qa.trackocity.io",tt=()=>{const e=new Date,t=e.getFullYear().toString().slice(),n=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),o="".concat(t,"-").concat(n,"-").concat(r),i=e.getHours().toString().padStart(2,"0"),a=e.getMinutes().toString().padStart(2,"0"),c=e.getSeconds().toString().padStart(2,"0"),s=e.getMilliseconds().toString().padStart(3,"0"),l="".concat(i,":").concat(a,":").concat(c,".").concat(s);return"".concat(o," ").concat(l)},nt=()=>new Promise((e=>{const t=()=>{let e=localStorage.getItem("__session_ID");return e||(Oe=1,e=Date.now()+"-"+Math.random().toString(36).substring(2,9),localStorage.setItem("__session_ID",e),localStorage.setItem("isGusidDataFetched","false")),e},n=()=>{if("complete"===document.readyState||"interactive"===document.readyState){const n=t();e(n)}else setTimeout(n,500)};n()}));const rt=async()=>{try{const e=navigator.userAgent,t=navigator.onLine,n=navigator.cookieEnabled,r=navigator.language,o=/Mobi|Android/i.test(navigator.userAgent)?"mobile":"desktop";return{userAgentInfo:e,isOnline:t,isCookiesEnabled:n,language:r,deviceType:o,timezoneOffset:(new Date).getTimezoneOffset()}}catch(e){return mt(e,"ToGetUserInfoWithNavigator function"),null}},ot=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;try{let o=(e||window.location.href).toString().split("?")[1];if(!o)return{};o=o.toString().replace(/\[|\]/g,"").replace(/\[/g,"").replace(/\]/g," ").replace(/[*/]/g,"").replace(/[**]/g,"");const i=o.split(/[#,&?]+/);let a={};if(i.forEach((e=>{let[r,o]=e.split("=");if(r&&o){if(t)try{a[r]=decodeURIComponent(o)}catch(e){console.log(e,"error")}else a[r]=o;n&&(o=o.replace(/\D/g,""),o=o.replace(/\[|\]/g,""),a[r]=o,a[r]=o)}})),r){let e=0;for(let t in a)t===r&&(e+=1);0===e&&console.log('"'.concat(r,'" is not present'))}return a}catch(e){return mt(e,"getUrlParams functin"),null}},it=()=>{try{const e=performance.getEntriesByType("resource").filter((e=>e.name.includes("facebook")&&e.name.includes("/tr")&&e.name.includes("eid=")));if(0===e.length)return null;const t=/fbp=([^&]+)/,n=/eid=([^&]+)/;for(let r of e){const e=r.name.match(t),o=r.name.match(n);if(e&&o){const t=e[1],n=o[1];return"".concat(t,".").concat(n)}}return null}catch(e){return mt(e,"toCaptureFbcookieAndEid function"),null}};function at(){try{const e=document.cookie.match(/(^|;\s*)_fbp\s*=\s*([^;]+)/);return e&&e[2]?e[2]:null}catch(e){return mt(e,"getFbpCookieValue function"),null}}function ct(){try{const e=document.cookie.match(/(^|;\s*)_fbc\s*=\s*([^;]+)/);return e&&e[2]?e[2]:null}catch(e){return mt(e,"getFbcCookieValue function"),null}}const st=["Email","email","invitee_email","hemail","cemail","payer_email","checkoutemail","customer_email","email-address-lead","email-lead","buyer_email","billing_email","inf_field_Email","EMAIL","email_address","emailAddress","email-address","he","cf-email","mailid","mail"],lt=["billing_first_name","billing_last_name","name","enter your name","fullname","full-name","full name","first name","last name","first-name","f-name","first_name","f_name","f name","firstname","First Name","firstName","FirstName","fname","fname-lead","fname_lead","last-name","l-name","last_name","l_name","l name","lastname","Last Name","lastName","LastName","lname","lname-lead","lname_lead","surname","Surname","sur_name","full_name","complete-name","complete_name","complete name","completename","Full Name","fullName","FullName","name-lead","name_lead"],ut=["billing_phone","text_reminder_number","sms_number","answer_","inf_custom_PhonenumberorSkypeID","inf_field_Phone1","Phone1","phone","mobile","customer_valid_phone","Phone Number","Phone","tel","phone-lead","phone_lead","phone_number","phoneNumber","phone-number","phone_number_lead","phone_number-lead","ph","cellPhoneNumber","phonenumber","phone number","Enter your phone number"];let dt={};const ft=e=>{const t=Object.keys(e),n=Object.keys(dt);if(t.length!==n.length)return dt={...e},!1;for(let n of t)if(e[n]!==dt[n])return dt={...e},!1;return!0};async function mt(e,t){const n="".concat(et,"/external/error");let r=localStorage.getItem("__session_ID"),o=tt();try{await fetch(n,{method:"POST",headers:{"Content-Type":"application/json",sessionId:r},body:JSON.stringify({productId:He,error:{name:null==e?void 0:e.name,message:null==e?void 0:e.message,stack:null==e?void 0:e.stack,url:t,creation_at:o}})})}catch(e){console.log("error ",null==e?void 0:e.message)}}let ht={};async function callInfoDataFunction(e){var t;if(e){var n;if(Ue=null==e||null===(t=e.context)||void 0===t||null===(t=t.document)||void 0===t||null===(t=t.location)||void 0===t?void 0:t.href,"checkout_completed"===e.name)De=0,Qe=null==e||null===(n=e.data)||void 0===n||null===(n=n.checkout)||void 0===n?void 0:n.token,i();if("product_added_to_cart"===e.name&&(De=0,ze=1,i()),"input_blurred"===e.name){var r;let t=null==e||null===(r=e.data)||void 0===r?void 0:r.element;if(["text","email","tel"].includes(null==t?void 0:t.type)&&function(e){if("email"===e.type&&Ke.test(null==e?void 0:e.value))return ht={...ht,email:null==e?void 0:e.value},!0;if("tel"===e.type&&qe.test(null==e?void 0:e.value))return ht={...ht,phone:null==e?void 0:e.value},!0;if("text"===(null==e?void 0:e.type)){var t,n;if(""===(null==e?void 0:e.value))return;const r=["phone","name","mail","number"],o=(null===(t=e.id)||void 0===t?void 0:t.toLowerCase())||"",i=(null===(n=e.name)||void 0===n?void 0:n.toLowerCase())||"",a=r.find((e=>o.includes(e)||i.includes(e)));if(a){if("phone"===a||"number"===a)ht={...ht,phone:null==e?void 0:e.value};else if("name"===a){if(ht=o.includes("first")||i.includes("first")?{...ht,firstName:null==e?void 0:e.value.trim()}:o.includes("last")||i.includes("last")?{...ht,lastName:null==e?void 0:e.value.trim()}:{...ht,name:null==e?void 0:e.value.trim()},ht.firstName||ht.lastName){const e=ht.firstName||"",t=ht.lastName||"";ht.name=[e,t].filter(Boolean).join(" ").trim()}}else"mail"===a&&(ht={...ht,email:null==e?void 0:e.value});return!0}}return!1}(t)){De=0;let{phone:e,email:t,name:n}=ht,r={};Object.entries({phone:e,email:t,name:n}).forEach((e=>{let[t,n]=e;null!=n&&(r[t]=n)})),ft(r)||i(r)}}if("form_submitted"===e.name){var o;let t=null==e||null===(o=e.data)||void 0===o?void 0:o.element;null!=t&&t.action.includes("/cart/add")||(De=0,Je=1,i())}}async function i(e){try{const t=await vt(),n=He+t.sessionstorageid,r=Ae(n);e&&Object.keys(e).length>0?await gt(r,t,e):await gt(r,t),ze=0,Je=0}catch(e){ze=0,Je=0,console.error("Error sending data:",e)}}}const vt=async e=>{let t=e,n={},r=await nt()||localStorage.getItem("__session_ID");const o=JSON.parse(localStorage.getItem("__visitor_ID")),i=o||await(async()=>{try{const e=await Pe.load(),t=(await e.get()).visitorId;return localStorage.setItem("__visitor_ID",JSON.stringify(t)),t}catch(e){return console.log("Error getting visitorId:",e),null}})();n.sessionid=r,n.visitorid=i,n.navigatordetails=await rt(),n.fbcookie={fbcookieeid:it(),fbc:ct(),fbp:at()},n.urlparams=ot(),n.cartid=(()=>{const e=document.cookie.match("(^|;)\\s*cart\\s*=\\s*([^;]+)");return e&&e.length>0?e.pop():null})(),n.sessionstorageid=(()=>{if(null===document.referrer||""===document.referrer||document.referrer!==document.location.href){let e=JSON.parse(sessionStorage.getItem("__session_storage_ID"));e||(e=Date.now()+"-"+Math.random().toString(36).substring(2,9),sessionStorage.setItem("__session_storage_ID",JSON.stringify(e)))}return JSON.parse(sessionStorage.getItem("__session_storage_ID"))||null})();const a=(()=>{const e=document.location.href;let t={};const n={};n.url=Ue||e,t.urlDetails=n;const r=e.toString().split("?")[1];if(r){const e=r.toString().replace(/\[|\]/g,"").replace(/\[/g,"").replace(/\]/g," ").replace(/[*/]/g,"").replace(/[**]/g,"").split(/[#,&?]+/),t={};e.forEach((e=>{let[n,r]=e.split("=");n&&r&&(t[n]=decodeURIComponent(r))})),n.urlparams=t}else t.urlparams="no params";return t})();return n.currenturlparams={...a,prevpagedetails:""!==document.referrer?document.referrer:"No referrer"},n.isUtmParam=(()=>{const e=ot("","","","utm_term");return void 0!==e?e:null})(),n.customerInfo=t,n.pageLoad=De,n},pt=async(e,t)=>{const n="".concat(et,"/external/gusid?apiKey=").concat(e);try{const e=function(){try{const e=document.createElement("canvas"),t=e.getContext("2d");return t.textBaseline="top",t.font="14px Arial",t.fillStyle="#f60",t.fillRect(125,1,62,20),t.fillStyle="#069",t.fillText("Hello, world!",2,15),t.strokeStyle="#f60",t.strokeText("Hello, world!",4,17),e.toDataURL()}catch(e){return mt(e,"getCanvasFingerprint function "),null}}(),r=await(async()=>{try{const e=window.screen.colorDepth,t=window.screen.width,n=window.screen.height,r=navigator.hardwareConcurrency;return{colorDepth:e,screenWidth:t,screenHeight:n,hardwareConcurrency:r,deviceMemory:navigator.deviceMemory||"Not available",maxTouchPoints:navigator.maxTouchPoints}}catch(e){return mt(e,"navigatorDetails function"),null}})(),{userAgentInfo:o}=await rt(),i=JSON.stringify(r)+e+o,a=Ae(i);Xe||(localStorage.setItem("__fingerprint_Id",JSON.stringify(a)),Xe=a);const c={productId:He,creationAt:tt(),gusId:t.visitorid,clickId:t.sessionstorageid,fingerprint:a};t.sessionid||(t.sessionid=await nt()),await fetch(n,{method:"POST",headers:{"Content-Type":"application/json",sessionId:t.sessionid},body:JSON.stringify(c)}),localStorage.setItem("isGusidDataFetched","true")}catch(e){throw e&&mt(e,"/external/gusid"),new Error("Error calling Gusid API:",e.message)}},gt=async(e,t,n)=>{const r="".concat(et,"/external/info?apiKey=").concat(e);let o={};for(let e in n)if(n.hasOwnProperty(e)){let t=n[e].toString().toLowerCase();o[e]=t}t.sessionid||(t.sessionid=await nt());const{isUtmParam:i,sessionstorageid:a,...c}=t,s={productId:He,creationAt:tt(),clickId:a,jsonBody:{...c,cart:null,setCart:ze,setSubmit:Je,setSession:Oe,fingerprint:Xe,customerInfo:o}};1===ze&&function(){if(Ye)return Ye;if(document.querySelectorAll('meta[name="shopify-digital-wallet"]').length>0)return Ye=!0,!0;if(Array.from(document.scripts).map((e=>e.src)).some((e=>e.includes("cdn.shopify.com")||e.includes("shopifycloud.com")||e.includes("shopifyassets.com"))))return Ye=!0,!0;if(window.location.pathname.includes("/collections/")||window.location.pathname.includes("/products/"))return Ye=!0,!0;const e=document.cookie;return!!(e.includes("_shopify_y")||e.includes("_shopify_s")||e.includes("cart_sig"))&&(Ye=!0,!0)}()&&window.parent.postMessage({eventType:"__trackocity-savecart_",bodyData:s,url:r},"*"),Qe&&(s.jsonBody.checkout_token=Qe);try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",sessionId:t.sessionid},body:JSON.stringify(s)}),n=await e.json();return Ue=null,Qe=null,n}catch(e){Ue=null,Be=!1,Qe=null,console.log("Error calling Info API:",e.message),mt(e,"/external/info")}},yt=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(Be)return null;const t={},n=new Set,r=Array.from(e.querySelectorAll("input"));let o=["text","email","tel"];r.forEach((e=>{if(o.includes(e.type)){const r=e.value.trim(),o=[e.name.toLowerCase(),e.type.toLowerCase(),e.placeholder.toLowerCase(),e.className.toLowerCase()],i=(e,t)=>e.some((e=>bt(e,t))),a=i(o,ut),c=i(o,st),s=i(o,lt),l=r.replace(/[-,()_]/g,"").split(" ").join(""),u=qe.test(l),d=Ke.test(r),f=$e.test(r);a&&u&&(t.phone=l,n.add(r)),c&&d&&(t.email=r,n.add(r)),s&&f&&(t.name=t.name&&null!==t.name?t.name+" "+r:r,n.add(r)),a&&c&&!n.has(r)&&(d?t.email=r:u&&(t.phone=l),n.add(r)),a&&s&&!n.has(r)&&(f?t.name=t.name&&null!==t.name?t.name+" "+r:r:u&&(t.phone=l),n.add(r)),c&&s&&!n.has(r)&&(d?t.email=r:f&&(t.name=t.name&&null!==t.name?t.name+" "+r:r),n.add(r)),a&&c&&s&&!n.has(r)&&(d?t.email=r:f?t.name=t.name&&null!==t.name?t.name+" "+r:r:u&&(t.phone=l),n.add(r))}}));try{const e=await vt(t),n=He+e.sessionstorageid,r=Ae(n);"true"===localStorage.getItem("isGusidDataFetched")&&Xe||await pt(r,e),ft(t)&&!Te&&1!==De||(await gt(r,e,t),1===Je&&(Je=0),1===ze&&(ze=0),Be=!1,Te=!1)}catch(e){mt(e,"handleEvent function"),console.log("Error handling event:",e.message)}},bt=(e,t)=>t.some((t=>!!e.toLowerCase().includes(t.toLowerCase())));!async function(){async function e(){De=1,await vt(),await yt()}"complete"===document.readyState||"interactive"===document.readyState?await e():document.addEventListener("DOMContentLoaded",(async()=>{await e()})),document.addEventListener("change",(function(){De=0,yt()})),document.addEventListener("blur",(function(){De=0,yt()})),document.addEventListener("focusout",(function(){De=0,yt()})),document.addEventListener("formdata",(function(){De=0,yt()})),document.addEventListener("click",(function(e){De=0;const t=e.target;const n=t.closest('button[type="submit"],input[type="submit"]');let r=["submit"];const o=["BUTTON","A","SPAN","DIV"].join(","),i=t.closest(o);if(i){const e=i.innerText.trim().toLowerCase();r.includes(e)?(Te=!0,ze=1,yt(),Be=!0):n&&(Te=!0,Je=1,yt(),Be=!0)}}))}()})();var o=r.B;export{o as callInfoDataFunction};