![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/store.cartinsight.co/wp-content/plugins/woocommerce-payments/dist/ |
(()=>{var e={452:function(e,t,n){var r;e.exports=(r=n(3345),n(8269),n(8214),n(888),n(5109),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],c=[],s=[],u=[],l=[],d=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var m=r^r<<1^r<<2^r<<3^r<<4;m=m>>>8^255&m^99,o[n]=m,i[m]=n;var f=e[n],y=e[f],_=e[y],v=257*e[m]^16843008*m;a[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,s[n]=v<<8|v>>>24,u[n]=v,v=16843009*_^65537*y^257*f^16843008*n,l[m]=v<<24|v>>>8,d[m]=v<<16|v>>>16,p[m]=v<<8|v>>>24,h[m]=v,n?(n=f^e[e[e[_^f]]],r^=e[e[r]]):n=r=1}}();var m=[0,1,2,4,8,16,32,64,128,27,54],f=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a<r;a++)a<n?i[a]=t[a]:(u=i[a-1],a%n?n>6&&a%n==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=o[(u=u<<8|u>>>24)>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=m[a/n|0]<<24),i[a]=i[a-n]^u);for(var c=this._invKeySchedule=[],s=0;s<r;s++){if(a=r-s,s%4)var u=i[a];else u=i[a-4];c[s]=s<4||a<=4?u:l[o[u>>>24]]^d[o[u>>>16&255]]^p[o[u>>>8&255]]^h[o[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,c,s,u,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,l,d,p,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,c){for(var s=this._nRounds,u=e[t]^n[0],l=e[t+1]^n[1],d=e[t+2]^n[2],p=e[t+3]^n[3],h=4,m=1;m<s;m++){var f=r[u>>>24]^o[l>>>16&255]^i[d>>>8&255]^a[255&p]^n[h++],y=r[l>>>24]^o[d>>>16&255]^i[p>>>8&255]^a[255&u]^n[h++],_=r[d>>>24]^o[p>>>16&255]^i[u>>>8&255]^a[255&l]^n[h++],v=r[p>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&d]^n[h++];u=f,l=y,d=_,p=v}f=(c[u>>>24]<<24|c[l>>>16&255]<<16|c[d>>>8&255]<<8|c[255&p])^n[h++],y=(c[l>>>24]<<24|c[d>>>16&255]<<16|c[p>>>8&255]<<8|c[255&u])^n[h++],_=(c[d>>>24]<<24|c[p>>>16&255]<<16|c[u>>>8&255]<<8|c[255&l])^n[h++],v=(c[p>>>24]<<24|c[u>>>16&255]<<16|c[l>>>8&255]<<8|c[255&d])^n[h++],e[t]=f,e[t+1]=y,e[t+2]=_,e[t+3]=v},keySize:8});e.AES=t._createHelper(f)}(),r.AES)},5109:function(e,t,n){var r,o,i,a,c,s,u,l,d,p,h,m,f,y,_,v,w,g,b;e.exports=(r=n(3345),n(888),void(r.lib.Cipher||(o=r,i=o.lib,a=i.Base,c=i.WordArray,s=i.BufferedBlockAlgorithm,u=o.enc,u.Utf8,l=u.Base64,d=o.algo.EvpKDF,p=i.Cipher=s.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:w}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()}),i.StreamCipher=p.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=o.mode={},m=i.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),f=h.CBC=function(){var e=m.extend();function t(e,t,n){var r,o=this._iv;o?(r=o,this._iv=void 0):r=this._prevBlock;for(var i=0;i<n;i++)e[t+i]^=r[i]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize;t.call(this,e,n,o),r.encryptBlock(e,n),this._prevBlock=e.slice(n,n+o)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize,i=e.slice(n,n+o);r.decryptBlock(e,n),t.call(this,e,n,o),this._prevBlock=i}}),e}(),y=(o.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,i=[],a=0;a<r;a+=4)i.push(o);var s=c.create(i,r);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.BlockCipher=p.extend({cfg:p.cfg.extend({mode:f,padding:y}),reset:function(){var e;p.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),_=i.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),v=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?c.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=c.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),_.create({ciphertext:n,salt:t})}},w=i.SerializableCipher=a.extend({cfg:a.extend({format:v}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return _.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=(o.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=c.random(8));var o=d.create({keySize:t+n}).compute(e,r),i=c.create(o.words.slice(t),4*n);return o.sigBytes=4*t,_.create({key:o,iv:i,salt:r})}},b=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:g}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=o.iv;var i=w.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=o.iv,w.decrypt.call(this,e,t,o.key,r)}}))))},3345: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(2480)}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)}},u=c.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t: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 u.init(t,e)}}),l=a.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 u.init(n,t/2)}},p=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 u.init(n,t)}},h=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},m=c.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.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),s=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*a,l=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-=l}return new u.init(n,l)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(c.Hasher=m.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.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 f.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},8269:function(e,t,n){var r,o,i;e.exports=(r=n(3345),i=(o=r).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c<n;c++)o.push(r.charAt(a>>>6*(3-c)&63));var s=r.charAt(64);if(s)for(;o.length%4;)o.push(s);return o.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(t=c)}return function(e,t,n){for(var r=[],o=0,a=0;a<t;a++)if(a%4){var c=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;r[o>>>2]|=c<<24-o%4*8,o++}return i.create(r,o)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},5743:function(e,t,n){e.exports=n(3345).enc.Utf8},888:function(e,t,n){var r,o,i,a,c,s,u,l;e.exports=(l=n(3345),n(2783),n(9824),i=(o=(r=l).lib).Base,a=o.WordArray,s=(c=r.algo).MD5,u=c.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,o=r.hasher.create(),i=a.create(),c=i.words,s=r.keySize,u=r.iterations;c.length<s;){n&&o.update(n),n=o.update(e).finalize(t),o.reset();for(var l=1;l<u;l++)n=o.finalize(n),o.reset();i.concat(n)}return i.sigBytes=4*s,i}}),r.EvpKDF=function(e,t,n){return u.create(n).compute(e,t)},l.EvpKDF)},9824:function(e,t,n){var r,o,i;e.exports=(o=(r=n(3345)).lib.Base,i=r.enc.Utf8,void(r.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),c=o.words,s=a.words,u=0;u<n;u++)c[u]^=1549556828,s[u]^=909522486;o.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},8214:function(e,t,n){var r;e.exports=(r=n(3345),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,c=[];!function(){for(var t=0;t<64;t++)c[t]=4294967296*e.abs(e.sin(t+1))|0}();var s=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],s=e[t+1],h=e[t+2],m=e[t+3],f=e[t+4],y=e[t+5],_=e[t+6],v=e[t+7],w=e[t+8],g=e[t+9],b=e[t+10],S=e[t+11],k=e[t+12],C=e[t+13],E=e[t+14],F=e[t+15],L=i[0],x=i[1],A=i[2],I=i[3];L=u(L,x,A,I,a,7,c[0]),I=u(I,L,x,A,s,12,c[1]),A=u(A,I,L,x,h,17,c[2]),x=u(x,A,I,L,m,22,c[3]),L=u(L,x,A,I,f,7,c[4]),I=u(I,L,x,A,y,12,c[5]),A=u(A,I,L,x,_,17,c[6]),x=u(x,A,I,L,v,22,c[7]),L=u(L,x,A,I,w,7,c[8]),I=u(I,L,x,A,g,12,c[9]),A=u(A,I,L,x,b,17,c[10]),x=u(x,A,I,L,S,22,c[11]),L=u(L,x,A,I,k,7,c[12]),I=u(I,L,x,A,C,12,c[13]),A=u(A,I,L,x,E,17,c[14]),L=l(L,x=u(x,A,I,L,F,22,c[15]),A,I,s,5,c[16]),I=l(I,L,x,A,_,9,c[17]),A=l(A,I,L,x,S,14,c[18]),x=l(x,A,I,L,a,20,c[19]),L=l(L,x,A,I,y,5,c[20]),I=l(I,L,x,A,b,9,c[21]),A=l(A,I,L,x,F,14,c[22]),x=l(x,A,I,L,f,20,c[23]),L=l(L,x,A,I,g,5,c[24]),I=l(I,L,x,A,E,9,c[25]),A=l(A,I,L,x,m,14,c[26]),x=l(x,A,I,L,w,20,c[27]),L=l(L,x,A,I,C,5,c[28]),I=l(I,L,x,A,h,9,c[29]),A=l(A,I,L,x,v,14,c[30]),L=d(L,x=l(x,A,I,L,k,20,c[31]),A,I,y,4,c[32]),I=d(I,L,x,A,w,11,c[33]),A=d(A,I,L,x,S,16,c[34]),x=d(x,A,I,L,E,23,c[35]),L=d(L,x,A,I,s,4,c[36]),I=d(I,L,x,A,f,11,c[37]),A=d(A,I,L,x,v,16,c[38]),x=d(x,A,I,L,b,23,c[39]),L=d(L,x,A,I,C,4,c[40]),I=d(I,L,x,A,a,11,c[41]),A=d(A,I,L,x,m,16,c[42]),x=d(x,A,I,L,_,23,c[43]),L=d(L,x,A,I,g,4,c[44]),I=d(I,L,x,A,k,11,c[45]),A=d(A,I,L,x,F,16,c[46]),L=p(L,x=d(x,A,I,L,h,23,c[47]),A,I,a,6,c[48]),I=p(I,L,x,A,v,10,c[49]),A=p(A,I,L,x,E,15,c[50]),x=p(x,A,I,L,y,21,c[51]),L=p(L,x,A,I,k,6,c[52]),I=p(I,L,x,A,m,10,c[53]),A=p(A,I,L,x,b,15,c[54]),x=p(x,A,I,L,s,21,c[55]),L=p(L,x,A,I,w,6,c[56]),I=p(I,L,x,A,F,10,c[57]),A=p(A,I,L,x,_,15,c[58]),x=p(x,A,I,L,C,21,c[59]),L=p(L,x,A,I,f,6,c[60]),I=p(I,L,x,A,S,10,c[61]),A=p(A,I,L,x,h,15,c[62]),x=p(x,A,I,L,g,21,c[63]),i[0]=i[0]+L|0,i[1]=i[1]+x|0,i[2]=i[2]+A|0,i[3]=i[3]+I|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,s=c.words,u=0;u<4;u++){var l=s[u];s[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return c},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,i,a){var c=e+(t&n|~t&r)+o+a;return(c<<i|c>>>32-i)+t}function l(e,t,n,r,o,i,a){var c=e+(t&r|n&~r)+o+a;return(c<<i|c>>>32-i)+t}function d(e,t,n,r,o,i,a){var c=e+(t^n^r)+o+a;return(c<<i|c>>>32-i)+t}function p(e,t,n,r,o,i,a){var c=e+(n^(t|~r))+o+a;return(c<<i|c>>>32-i)+t}t.MD5=i._createHelper(s),t.HmacMD5=i._createHmacHelper(s)}(Math),r.MD5)},5957:function(e,t,n){var r;e.exports=(r=n(3345),n(5109),r.pad.Pkcs7)},2783:function(e,t,n){var r,o,i,a,c,s,u,l;e.exports=(o=(r=l=n(3345)).lib,i=o.WordArray,a=o.Hasher,c=r.algo,s=[],u=c.SHA1=a.extend({_doReset:function(){this._hash=new i.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],u=0;u<80;u++){if(u<16)s[u]=0|e[t+u];else{var l=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=l<<1|l>>>31}var d=(r<<5|r>>>27)+c+s[u];d+=u<20?1518500249+(o&i|~o&a):u<40?1859775393+(o^i^a):u<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=d}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=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u),l.SHA1)},2480:()=>{}},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 e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),n.p=window.wcpayAssets.url,(()=>{"use strict";const e="woocommerce_payments",t=e=>{let t=null;return t="undefined"!=typeof wcpayConfig?wcpayConfig:"undefined"!=typeof wcpay_upe_config?wcpay_upe_config:wc.wcSettings.getSetting("woocommerce_payments_data"),t[e]||null},r=window.wp.i18n;window.wp.domReady;const o=e=>"object"==typeof wcpayPaymentRequestParams&&wcpayPaymentRequestParams.hasOwnProperty(e)?wcpayPaymentRequestParams[e]:null,i=e=>o("wc_ajax_url").toString().replace("%%endpoint%%","wcpay_"+e),a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"wcpay_";return e.toString().replace("%%endpoint%%",n+t)},c=function(e,n){var r,i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const c=null!==(r=t("platformTrackerNonce"))&&void 0!==r?r:o("nonce")?.platform_tracker,s=null!==(i=t("ajaxUrl"))&&void 0!==i?i:o("ajax_url"),u=new FormData;u.append("tracksNonce",c),u.append("action","platform_tracks"),u.append("tracksEventName",e),u.append("tracksEventProp",JSON.stringify(n)),u.append("isLegacy",a),fetch(s,{method:"post",body:u})},s={CONNECT_ACCOUNT_CLICKED:"wcpay_connect_account_clicked",CONNECT_ACCOUNT_VIEW:"page_view",CONNECT_ACCOUNT_LEARN_MORE:"wcpay_welcome_learn_more",CONNECT_ACCOUNT_STRIPE_CONNECTED:"wcpay_stripe_connected",CONNECT_ACCOUNT_KYC_MODAL_OPENED:"wcpay_connect_account_kyc_modal_opened",DEPOSITS_ROW_CLICK:"wcpay_deposits_row_click",DEPOSITS_DOWNLOAD_CSV_CLICK:"wcpay_deposits_download",DISPUTES_ROW_ACTION_CLICK:"wcpay_disputes_row_action_click",ORDER_DISPUTE_NOTICE_BUTTON_CLICK:"wcpay_order_dispute_notice_action_click",OVERVIEW_BALANCES_CURRENCY_CLICK:"wcpay_overview_balances_currency_tab_click",OVERVIEW_DEPOSITS_VIEW_HISTORY_CLICK:"wcpay_overview_deposits_view_history_click",OVERVIEW_DEPOSITS_CHANGE_SCHEDULE_CLICK:"wcpay_overview_deposits_change_schedule_click",OVERVIEW_TASK_CLICK:"wcpay_overview_task_click",SETTINGS_DEPOSITS_MANAGE_IN_STRIPE_CLICK:"wcpay_settings_deposits_manage_in_stripe_click",MULTI_CURRENCY_ENABLED_CURRENCIES_UPDATED:"wcpay_multi_currency_enabled_currencies_updated",PAYMENT_REQUEST_SETTINGS_CHANGE:"wcpay_payment_request_settings_change",SUBSCRIPTIONS_EMPTY_STATE_VIEW:"wcpay_subscriptions_empty_state_view",SUBSCRIPTIONS_EMPTY_STATE_FINISH_SETUP:"wcpay_subscriptions_empty_state_finish_setup",SUBSCRIPTIONS_EMPTY_STATE_CREATE_PRODUCT:"wcpay_subscriptions_empty_state_create_product",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_VIEW:"wcpay_subscriptions_account_not_connected_product_modal_view",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_FINISH_SETUP:"wcpay_subscriptions_account_not_connected_product_modal_finish_setup",SUBSCRIPTIONS_ACCOUNT_NOT_CONNECTED_PRODUCT_MODAL_DISMISS:"wcpay_subscriptions_account_not_connected_product_modal_dismiss",TRANSACTIONS_DOWNLOAD_CSV_CLICK:"wcpay_transactions_download_csv_click",WOOPAY_OFFERED:"woopay_offered",WOOPAY_OTP_START:"woopay_otp_prompt_start",WOOPAY_OTP_COMPLETE:"woopay_otp_prompt_complete",WOOPAY_OTP_FAILED:"woopay_otp_prompt_failed",WOOPAY_AUTO_REDIRECT:"checkout_woopay_auto_redirect",WOOPAY_SKIPPED:"woopay_skipped",WOOPAY_BUTTON_LOAD:"woopay_button_load",WOOPAY_BUTTON_CLICK:"woopay_button_click",WOOPAY_SAVE_MY_INFO_CLICK:"checkout_save_my_info_click",ONBOARDING_FLOW_STARTED:"wcpay_onboarding_flow_started",ONBOARDING_FLOW_MODE_SELECTED:"wcpay_onboarding_flow_mode_selected",ONBOARDING_FLOW_STEP_COMPLETED:"wcpay_onboarding_flow_step_completed",ONBOARDING_FLOW_HIDDEN:"wcpay_onboarding_flow_hidden",ONBOARDING_FLOW_EXITED:"wcpay_onboarding_flow_exited",ONBOARDING_FLOW_REDIRECTED:"wcpay_onboarding_flow_redirected",ONBOARDING_FLOW_ELIGIBILITY_MODAL_CLOSED:"wcpay_onboarding_flow_eligibility_modal_closed"};function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;for(const r in e){const o=e[r],i=t?t+"["+r+"]":r;"string"==typeof o||"number"==typeof o?n.append(i,o):"object"==typeof o&&u(o,i,n)}return n}async function l(e,t,n){const r=u(t,"",new FormData),o=await fetch(e,{method:"POST",body:r,...n});return await o.json()}const d=e=>e?new Promise((t=>{if(document.querySelector(e))return t(document.querySelector(e));const n=document.querySelector('[data-block-name="woocommerce/checkout"]');if(!n)return t(null);new MutationObserver(((n,r)=>{document.querySelector(e)&&(t(document.querySelector(e)),r.disconnect())})).observe(n,{childList:!0,subtree:!0})})):null,p=e=>new RegExp(/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]){2,}\.?$/i).test(e);var h=n(5743),m=n.n(h),f=n(452),y=n.n(f),_=n(5957),v=n.n(_);const w=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t("isClientEncryptionEnabled")&&e.length>3&&"pi_"!==e.slice(0,3)&&"seti_"!==e.slice(0,5)?(n=n||t("accountId"),m().stringify(y().decrypt(e,m().parse(n.slice(5)),{iv:m().parse("WC".repeat(8)),padding:v()}))):e};class g{constructor(e,t){this.options=e,this.stripe=null,this.stripePlatform=null,this.request=t}createStripe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const o={locale:t};return n&&(o.stripeAccount=n),r&&(o.betas=r),new Stripe(e,o)}getStripeForUPE(e){return this.options.forceNetworkSavedCards=("paymentMethodsConfig",("undefined"!=typeof wcpay_upe_config?wcpay_upe_config:wc.wcSettings.getSetting("woocommerce_payments_data")).paymentMethodsConfig||null)[e].forceNetworkSavedCards,this.getStripe()}getStripe(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{publishableKey:t,accountId:n,forceNetworkSavedCards:r,locale:o,isUPEEnabled:i,isUPEDeferredEnabled:a,isStripeLinkEnabled:c}=this.options;if(r&&!e&&(!i||a))return this.stripePlatform||(this.stripePlatform=this.createStripe(t,o)),this.stripePlatform;if(!this.stripe)if(i){let e=["card_country_event_beta_1"];c&&(e=e.concat(["link_autofill_modal_beta_1"])),this.stripe=this.createStripe(t,o,n,e)}else this.stripe=this.createStripe(t,o,n);return this.stripe}loadStripe(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((t=>{try{t(this.getStripe(e))}catch(e){t({error:e})}}))}generatePaymentMethodRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getStripe();return new class{constructor(){this.args={...e,billing_details:{address:{}}}}prepareValue(e,n){if(void 0!==n&&0!==n.length||(n=t[e]),void 0!==n&&n.length>0)return n}setBillingDetail(e,t){const n=this.prepareValue(e,t);void 0!==n&&(this.args.billing_details[e]=n)}setAddressDetail(e,t){const n=this.prepareValue(e,t);void 0!==n&&(this.args.billing_details.address[e]=n)}send(){return n.createPaymentMethod(this.args).then((e=>{if(e.error)throw e.error;return e}))}}}confirmIntent(e,n){const r=e.match(/#wcpay-confirm-(pi|si):(.+):(.+):(.+)$/);if(!r)return!0;const i="si"===r[1];let a=r[2];const c=r[3],s=r[4],u=e.indexOf("order-pay"),l=u>-1,d=l&&e.substring(u).match(/\d+/);return d&&(a=d[0]),{request:(()=>{const{locale:e,publishableKey:n}=this.options,r=t("accountIdForIntentConfirmation");return i?this.getStripe().confirmCardSetup(w(c)):r?this.createStripe(n,e,r).confirmCardPayment(w(c,r)):this.getStripe(!0).confirmCardPayment(w(c))})().then((e=>{var r;const i=e.paymentIntent&&e.paymentIntent.id||e.setupIntent&&e.setupIntent.id||e.error&&e.error.payment_intent&&e.error.payment_intent.id||e.error.setup_intent&&e.error.setup_intent.id,c=null!==(r=o("ajax_url"))&&void 0!==r?r:t("ajaxUrl");return[this.request(c,{action:"update_order_status",order_id:a,_ajax_nonce:s,intent_id:i,payment_method_id:n||null}),e.error]})).then((e=>{let[t,n]=e;if(n)throw n;return t.then((e=>{const t="string"==typeof e?JSON.parse(e):e;if(t.error)throw t.error;return t.return_url}))})),isOrderPage:l}}initSetupIntent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="init_setup_intent";return this.options.isUPESplitEnabled&&e&&(n+=`_${e}`),this.request(a(t("wcAjaxUrl"),n),{_ajax_nonce:t("createSetupIntentNonce")}).then((e=>{if(!e.success)throw e.data.error;return e.data}))}setupIntent(e){return this.request(t("ajaxUrl"),{action:"create_setup_intent","wcpay-payment-method":e,_ajax_nonce:t("createSetupIntentNonce")}).then((e=>{if(!e.success)throw e.data.error;return"succeeded"===e.data.status?e.data:this.getStripe().confirmCardSetup(w(e.data.client_secret)).then((e=>{const{setupIntent:t,error:n}=e;if(n)throw n;return t}))}))}createIntent(e){const{fingerprint:n,paymentMethodType:r,orderId:o}=e;let i="create_payment_intent";const c={_ajax_nonce:t("createPaymentIntentNonce"),"wcpay-fingerprint":n};return this.options.isUPESplitEnabled&&r&&(i+=`_${r}`),o&&(c.wcpay_order_id=o),this.request(a(t("wcAjaxUrl"),i),c).then((e=>{if(!e.success)throw e.data.error;return e.data})).catch((e=>{throw e.message?e:new Error(e.statusText)}))}updateIntent(e,n,r,o,i,c){let s="update_payment_intent";return this.options.isUPESplitEnabled&&(s+=`_${o}`),this.request(a(t("wcAjaxUrl"),s),{wcpay_order_id:n,wc_payment_intent_id:e,save_payment_method:r,wcpay_selected_upe_payment_type:o,wcpay_payment_country:i,_ajax_nonce:t("updatePaymentIntentNonce"),"wcpay-fingerprint":c}).then((e=>{if("failure"===e.result)throw new Error(e.messages);return e})).catch((e=>{throw e.message?e:new Error(e.statusText)}))}async handlePaymentConfirmation(e,t,n){const r=this.getStripe(),o=await r.confirmPayment({elements:e,confirmParams:t});if(n&&o.error&&"lock_timeout"===o.error.code){const e=await r.retrievePaymentIntent(w(n));if(!e.error&&"succeeded"===e.paymentIntent.status)return window.location.href=t.redirect_url,e}return o}saveUPEAppearance(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"false";return this.request(t("ajaxUrl"),{is_blocks_checkout:n,appearance:JSON.stringify(e),action:"save_upe_appearance",_ajax_nonce:t("saveUPEAppearanceNonce")}).then((e=>e.success)).catch((e=>{throw e.message?e:new Error(e.statusText)}))}processCheckout(e,n,r){return this.request(a(t("wcAjaxUrl"),"checkout",""),{...n,wc_payment_intent_id:e,"wcpay-fingerprint":r}).then((e=>{if("failure"===e.result)throw new Error(e.messages);return e})).catch((e=>{throw e.message?e:new Error(e.statusText)}))}paymentRequestCalculateShippingOptions(e){return this.request(i("get_shipping_options"),{security:o("nonce")?.shipping,is_product_page:o("is_product_page"),...e})}paymentRequestUpdateShippingDetails(e){return this.request(i("update_shipping_method"),{security:o("nonce")?.update_shipping,shipping_method:[e.id],is_product_page:o("is_product_page")})}paymentRequestGetCartDetails(){return this.request(i("get_cart_details"),{security:o("nonce")?.get_cart_details})}paymentRequestAddToCart(e){return this.request(i("add_to_cart"),{security:o("nonce")?.add_to_cart,...e})}paymentRequestGetSelectedProductData(e){return this.request(i("get_selected_product_data"),{security:o("nonce")?.get_selected_product_data,...e})}paymentRequestCreateOrder(e){return this.request(i("create_order"),{_wpnonce:o("nonce")?.checkout,...e})}initWooPay(e,n){const r=t("wcAjaxUrl"),o=t("initWooPayNonce");return this.request(a(r,"init_woopay"),{_wpnonce:o,email:e,user_session:n,order_id:t("order_id"),key:t("key"),billing_email:t("billing_email")})}expressCheckoutAddToCart(e){const n=t("wcAjaxUrl"),r=t("addToCartNonce");return this.request(a(n,"add_to_cart"),{security:r,...e})}paymentRequestPayForOrder(e,t){return this.request(i("pay_for_order"),{_wpnonce:o("nonce")?.pay_for_order,order:e,...t})}logPaymentError(e){return this.request(a(t("wcAjaxUrl"),"log_payment_error"),{charge_id:e,_ajax_nonce:t("logPaymentErrorNonce")}).then((()=>!0))}handleDuplicatePayments(e){let{wcpay_upe_paid_for_previous_order:t,wcpay_upe_previous_successful_intent:n,redirect:r}=e;if(r){if(t)return window.location=r;if(n)return window.location=r}return!1}}const b="https://cdn.sift.com/s.js",S="https://js.stripe.com/v3",k={sift:e=>{let{beacon_key:t,session_id:n,user_id:r}=e;const o=window._sift=window._sift||[];if(o.push(["_setAccount",t]),o.push(["_setUserId",r]),o.push(["_setSessionId",n]),o.push(["_trackPageview"]),!document.querySelector(`[src="${b}"]`)){const e=document.createElement("script");e.src=b,e.async=!0,document.body.appendChild(e)}},stripe:()=>{if(!document.querySelector(`[src^="${S}"]`)){const e=document.createElement("script");e.src=S,e.async=!0,document.body.appendChild(e)}}};window.wp.data;var C=function(){return C=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},C.apply(this,arguments)};function E(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 F(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 L(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,Object.create;var x="3.4.1";function A(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function I(e){return!!e&&"function"==typeof e.then}function O(e,t){try{var n=e();I(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(e){t(!1,e)}}function P(e,t,n){return void 0===n&&(n=16),E(this,void 0,void 0,(function(){var r,o,i;return F(this,(function(a){switch(a.label){case 0:r=Date.now(),o=0,a.label=1;case 1:return o<e.length?(t(e[o],o),(i=Date.now())>=r+n?(r=i,[4,A(0)]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2]}}))}))}function R(e){e.then(void 0,(function(){}))}function D(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function W(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function N(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function T(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function V(e,t){return[e[0]^t[0],e[1]^t[1]]}function M(e){return e=V(e,[0,e[0]>>>1]),e=V(e=W(e,[4283543511,3981806797]),[0,e[0]>>>1]),V(e=W(e,[3301882366,444984403]),[0,e[0]>>>1])}function B(e){return parseInt(e)}function j(e){return parseFloat(e)}function Z(e,t){return"number"==typeof e&&isNaN(e)?t:e}function Y(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function X(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 G(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function z(e,t,n){var r=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}(n,e)})),o=Array(r.length);return P(r,(function(n,r){o[r]=function(e,t){var n=new Promise((function(n){var r=Date.now();O(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:G(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();O(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:G(n[1]),duration:i});e({value:n[1],duration:i})}))}))}))}))}));return R(n),function(){return n.then((function(e){return e()}))}}(e[n],t)})),function(){return E(this,void 0,void 0,(function(){var e,t,n,i,a,c;return F(this,(function(s){switch(s.label){case 0:for(e={},t=0,n=r;t<n.length;t++)i=n[t],e[i]=void 0;a=Array(r.length),c=function(){var t;return F(this,(function(n){switch(n.label){case 0:return t=!0,[4,P(r,(function(n,r){if(!a[r])if(o[r]){var i=o[r]().then((function(t){return e[n]=t}));R(i),a[r]=i}else t=!1}))];case 1:return n.sent(),t?[2,"break"]:[4,A(1)];case 2:return n.sent(),[2]}}))},s.label=1;case 1:return[5,c()];case 2:if("break"===s.sent())return[3,4];s.label=3;case 3:return[3,1];case 4:return[4,Promise.all(a)];case 5:return s.sent(),[2,e]}}))}))}}function H(){var e=window,t=navigator;return Y(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function U(){var e=window,t=navigator;return Y(["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 J(){var e=window,t=navigator;return Y(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function q(){var e=window;return Y(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function K(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Q(){var e=U(),t=function(){var e,t,n=window;return Y(["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}();if(!e&&!t)return!1;var n=window;return Y(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function $(e){var t=new Error(e);return t.name=e,t}function ee(e,t,n){var r,o,i;return void 0===n&&(n=50),E(this,void 0,void 0,(function(){var a,c;return F(this,(function(s){switch(s.label){case 0:a=document,s.label=1;case 1:return a.body?[3,3]:[4,A(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?void 0:o.body)?[3,8]:[4,A(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 te(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?ne(o.style,s):o.setAttribute(c,s)}return o}function ne(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 re=["monospace","sans-serif","serif"],oe=["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 ie(e){return e.toDataURL()}var ae,ce;function se(){var e=screen;return[Z(j(e.availTop),null),Z(j(e.width)-j(e.availWidth)-Z(j(e.availLeft),0),null),Z(j(e.height)-j(e.availHeight)-Z(j(e.availTop),0),null),Z(j(e.availLeft),null)]}function ue(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function le(e){var t;return E(this,void 0,void 0,(function(){var n,r,o,i,a,c,s;return F(this,(function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(e.length),i={},de(r),s=0;s<e.length;++s)a=te(e[s]),de(c=n.createElement("div")),c.appendChild(a),r.appendChild(c),o[s]=a;u.label=1;case 1:return n.body?[3,3]:[4,A(50)];case 2:return u.sent(),[3,1];case 3:n.body.appendChild(r);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 de(e){e.style.setProperty("display","block","important")}function pe(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function he(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function me(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function fe(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function ye(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var _e=Math,ve=function(){return 0},we={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ge={fonts:function(){return ee((function(e,t){var n=t.document,r=n.body;r.style.fontSize="48px";var o=n.createElement("div"),i={},a={},c=function(e){var t=n.createElement("span"),r=t.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,t.textContent="mmMwWLliI0O&1",o.appendChild(t),t},s=re.map(c),u=function(){for(var e={},t=function(t){e[t]=re.map((function(e){return function(e,t){return c("'".concat(e,"',").concat(t))}(t,e)}))},n=0,r=oe;n<r.length;n++)t(r[n]);return e}();r.appendChild(o);for(var l=0;l<re.length;l++)i[re[l]]=s[l].offsetWidth,a[re[l]]=s[l].offsetHeight;return oe.filter((function(e){return t=u[e],re.some((function(e,n){return t[n].offsetWidth!==i[e]||t[n].offsetHeight!==a[e]}));var t}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return E(this,void 0,void 0,(function(){var e,n,r,o,i;return F(this,(function(a){switch(a.label){case 0:return J()||Q()?(c=atob,e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",c("YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld"),'[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",c("Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ="),".quangcao",c("W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ=="),c("W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=")],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("I2FkMl9pbmxpbmU=")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2FkLWJhbm5lcg=="),c("I2NhbXBhaWduLWJhbm5lcg==")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iL29kMDA1LmNvbSJd"),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),".qq_nr_lad","#widget-quan"],adGuardFrench:[c("I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr"),"#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv"],adGuardGerman:[c("LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ=="),c("LmJveHN0YXJ0d2VyYnVuZw=="),c("LndlcmJ1bmcz"),c("YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0="),c("YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=")],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("LmFkX3JlZ3VsYXIz")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),c("I2FkX3NxdWFyZQ==")],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",c("W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=")],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",c("I25ld0Fk")],easyList:[c("I0FEX0NPTlRST0xfMjg="),c("LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy"),".universalboxADVBOX03",c("LmFkdmVydGlzZW1lbnQtNzI4eDkw"),c("LnNxdWFyZV9hZHM=")],easyListChina:[c("YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0="),c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box"],easyListCookie:["#AdaCompliance.app-notice",".text-center.rgpd",".panel--cookie",".js-cookies-andromeda",".elxtr-consent"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[c("I0FkX1dpbjJkYXk="),c("I3dlcmJ1bmdzYm94MzAw"),c("YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd"),c("I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu"),c("YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=")],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:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],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:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],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",".cookie-msg-info-container","#cookies-policy-sticky"],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"),'a[href^="/magazin/"]',c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd")],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"]},n=Object.keys(e),[4,le((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 Y(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,o]}var c}))}))},fontPreferences:function(){return void 0===e&&(e=4e3),ee((function(t,n){var r=n.document,o=r.body,i=o.style;i.width="".concat(e,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",U()?o.style.zoom="".concat(1/n.devicePixelRatio):J()&&(o.style.zoom="reset");var a=r.createElement("div");return a.textContent=L([],Array(e/20<<0),!0).map((function(){return"word"})).join(" "),o.appendChild(a),function(e,t){for(var n={},r={},o=0,i=Object.keys(we);o<i.length;o++){var a=i[o],c=we[a],s=c[0],u=void 0===s?{}:s,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,p=e.createElement("span");p.textContent=d,p.style.whiteSpace="nowrap";for(var h=0,m=Object.keys(u);h<m.length;h++){var f=m[h],y=u[f];void 0!==y&&(p.style[f]=y)}n[a]=p,t.appendChild(e.createElement("br")),t.appendChild(p)}for(var _=0,v=Object.keys(we);_<v.length;_++)r[a=v[_]]=n[a].getBoundingClientRect().width;return r}(r,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e},audio:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(J()&&!q()&&!function(){var e=window;return Y(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);var i=function(e){var t=function(){};return[new Promise((function(n,r){var o=!1,i=0,a=0;e.oncomplete=function(e){return n(e.renderedBuffer)};var c=function(){setTimeout((function(){return r($("timeout"))}),Math.min(500,a+5e3-Date.now()))},s=function(){try{var t=e.startRendering();switch(I(t)&&R(t),e.state){case"running":a=Date.now(),o&&c();break;case"suspended":document.hidden||i++,o&&i>=3?r($("suspended")):setTimeout(s,500)}}catch(e){r(e)}};s(),t=function(){o||(o=!0,a>0&&c())}})),t]}(n),a=i[0],c=i[1],s=a.then((function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(4500))}),(function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e}));return R(s),function(){return c(),s}},screenFrame:function(){var e=this,t=function(){var e=this;return function(){if(void 0===ce){var e=function(){var t=se();ue(t)?ce=setTimeout(e,2500):(ae=t,ce=void 0)};e()}}(),function(){return E(e,void 0,void 0,(function(){var e;return F(this,(function(t){switch(t.label){case 0:return ue(e=se())?ae?[2,L([],ae,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,K()]:[3,2]:[3,2];case 1:t.sent(),e=se(),t.label=2;case 2:return ue(e)||(ae=e),[2,e]}var n}))}))}}();return function(){return E(e,void 0,void 0,(function(){var e,n;return F(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:X(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}},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))U()&&Y([!("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 Z(j(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return Z(B(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return Z(B(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(j(new Date(r,0,1).getTimezoneOffset()),j(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(!(H()||(e=window,t=navigator,Y(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!H())))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&&J()&&!q()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return Y(["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}},canvas:function(){var e,t,n=!1,r=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),o=r[0],i=r[1];if(function(e,t){return!(!t||!e.toDataURL)}(o,i)){n=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(i),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)}(o,i);var a=ie(o);a!==ie(o)?e=t="unstable":(t=a,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")}(o,i),e=ie(o))}else e=t="";return{winding:n,geometry:e,text:t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=B(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!!pe("inverted")||!pe("none")&&void 0},forcedColors:function(){return!!he("active")||!he("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 me("no-preference")?0:me("high")||me("more")?1:me("low")||me("less")?-1:me("forced")?10:void 0},reducedMotion:function(){return!!fe("reduce")||!fe("no-preference")&&void 0},hdr:function(){return!!ye("high")||!ye("standard")&&void 0},math:function(){var e,t=_e.acos||ve,n=_e.acosh||ve,r=_e.asin||ve,o=_e.asinh||ve,i=_e.atanh||ve,a=_e.atan||ve,c=_e.sin||ve,s=_e.sinh||ve,u=_e.cos||ve,l=_e.cosh||ve,d=_e.tan||ve,p=_e.tanh||ve,h=_e.exp||ve,m=_e.expm1||ve,f=_e.log1p||ve;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,_e.log(e+_e.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:_e.log(1+_e.sqrt(2)),atanh:i(.5),atanhPf:_e.log(3)/2,atan:a(.5),sin:c(-1e300),sinh:s(1),sinhPf:_e.exp(1)-1/_e.exp(1)/2,cos:u(10.000000000123),cosh:l(1),coshPf:(_e.exp(1)+1/_e.exp(1))/2,tan:d(-1e300),tanh:p(1),tanhPf:(_e.exp(2)-1)/(_e.exp(2)+1),exp:h(1),expm1:m(1),expm1Pf:_e.exp(1)-1,log1p:f(10),log1pPf:_e.log(11),powPI:_e.pow(_e.PI,-100)}},videoCard:function(){var e,t=document.createElement("canvas"),n=null!==(e=t.getContext("webgl"))&&void 0!==e?e:t.getContext("experimental-webgl");if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},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]}},be="$ if upgrade to Pro: https://fpjs.dev/pro";function Se(e){var t=function(e){if(Q())return.4;if(J())return q()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return X(.99+.01*e,1e-4)}(t);return{score:t,comment:be.replace(/\$/g,"".concat(n))}}function ke(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?C({name:(n=t).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")},n):t;var n,r}),2)}function Ce(e){return function(e,t){t=t||0;var n,r=(e=e||"").length%16,o=e.length-r,i=[0,t],a=[0,t],c=[0,0],s=[0,0],u=[2277735313,289559509],l=[1291169091,658871167];for(n=0;n<o;n+=16)c=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],s=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],c=N(c=W(c,u),31),i=D(i=N(i=V(i,c=W(c,l)),27),a),i=D(W(i,[0,5]),[0,1390208809]),s=N(s=W(s,l),33),a=D(a=N(a=V(a,s=W(s,u)),31),i),a=D(W(a,[0,5]),[0,944331445]);switch(c=[0,0],s=[0,0],r){case 15:s=V(s,T([0,e.charCodeAt(n+14)],48));case 14:s=V(s,T([0,e.charCodeAt(n+13)],40));case 13:s=V(s,T([0,e.charCodeAt(n+12)],32));case 12:s=V(s,T([0,e.charCodeAt(n+11)],24));case 11:s=V(s,T([0,e.charCodeAt(n+10)],16));case 10:s=V(s,T([0,e.charCodeAt(n+9)],8));case 9:s=W(s=V(s,[0,e.charCodeAt(n+8)]),l),a=V(a,s=W(s=N(s,33),u));case 8:c=V(c,T([0,e.charCodeAt(n+7)],56));case 7:c=V(c,T([0,e.charCodeAt(n+6)],48));case 6:c=V(c,T([0,e.charCodeAt(n+5)],40));case 5:c=V(c,T([0,e.charCodeAt(n+4)],32));case 4:c=V(c,T([0,e.charCodeAt(n+3)],24));case 3:c=V(c,T([0,e.charCodeAt(n+2)],16));case 2:c=V(c,T([0,e.charCodeAt(n+1)],8));case 1:c=W(c=V(c,[0,e.charCodeAt(n)]),u),i=V(i,c=W(c=N(c,31),l))}return i=D(i=V(i,[0,e.length]),a=V(a,[0,e.length])),a=D(a,i),i=D(i=M(i),a=M(a)),a=D(a,i),("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var o=r[n],i=e[o],a=i.error?"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})})):A(Math.min(e,t))}(e,2*e)}function Fe(e,t){var n=Date.now();return{get:function(r){return E(this,void 0,void 0,(function(){var o,i,a;return F(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=Ce(this.components)),t},set visitorId(e){t=e},confidence:Se(e),components:e,version:x}}(i),(t||(null==r?void 0: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(ke(i),"\n```")),[2,a]}}))}))}}}var Le={load:function(e){var t=void 0===e?{}:e,n=t.delayFallback,r=t.debug,o=t.monitoring,i=void 0===o||o;return E(this,void 0,void 0,(function(){return F(this,(function(e){switch(e.label){case 0:return i&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(x,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),[4,Ee(n)];case 1:return e.sent(),[2,Fe(z(ge,{debug:r},[]),r)]}}))}))},hashComponents:Ce,componentsToDebugString:ke};const xe=(0,r.__)("An error was encountered when preparing the payment form. Please try again later.","woocommerce-payments");jQuery((function(n){(e=>{for(const t in e){const n=k[t];n&&e[t]&&n(e[t])}})(t("fraudServices"));let o="";const i=t("publishableKey");if(!i)return;const u=new g({publishableKey:i,accountId:t("accountId"),forceNetworkSavedCards:t("forceNetworkSavedCards"),locale:t("locale")},((e,t)=>new Promise(((n,r)=>{jQuery.post(e,t).then(n).fail(r)})))),h=u.getStripe().elements(),m="undefined"!=typeof wcpayCustomerData?wcpayCustomerData:{},f=h.create("card",{hidePostalCode:!0,classes:{base:"wcpay-card-mounted"}}),y={type:"card",card:f},_={type:"giropay"},v=h.create("iban",{supportedCountries:["SEPA"],classes:{base:"wcpay-sepa-mounted"}}),w={type:"sepa_debit",sepa_debit:v},b={type:"sofort"},S=e=>{e.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},C=e=>{let t="";t=e.includes("woocommerce-error")?e:'<ul class="woocommerce-error" role="alert">'+e+"</ul>";const r=n(".woocommerce-notices-wrapper, form.checkout").first();if(!r.length)return;n(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),r.prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+t+"</div>"),r.find(".input-text, select, input:checkbox").trigger("validate").blur();let o=n(".woocommerce-NoticeGroup-checkout");o.length||(o=r),n.scroll_to_notices(o),n(document.body).trigger("checkout_error")},E=function(){return n("#payment_method_woocommerce_payments_giropay").is(":checked")},F=function(){return n("#payment_method_woocommerce_payments_sepa").is(":checked")};let L;n(document.body).on("updated_checkout",(async()=>{if(n("#wcpay-card-element").length&&!n("#wcpay-card-element").children().length){if(f.unmount(),!o)try{const{visitorId:e}=await(async()=>{const e=await Le.load({monitoring:!1});if(!e)throw new Error(xe);return await e.get()})();o=e}catch(e){return void C(e.message)}f.mount("#wcpay-card-element")}n("#wcpay-sepa-element").length&&v.mount("#wcpay-sepa-element")})),(n("form#add_payment_method").length||n("form#order_review").length)&&(n("#wcpay-card-element").length&&!n("#wcpay-card-element").children().length&&f.mount("#wcpay-card-element"),n("#wcpay-sepa-element").length&&v.mount("#wcpay-sepa-element"),n(document.body).trigger("wc-credit-card-form-init")),f.addEventListener("change",(e=>{const t=n("#wcpay-errors");e.error?t.html('<ul class="woocommerce-error"><li /></ul>').find("li").text(e.error.message):t.empty()})),v.addEventListener("change",(e=>{const t=n("#wcpay-sepa-errors");e.error?t.html('<ul class="woocommerce-error"><li /></ul>').find("li").text(e.error.message):t.empty()}));const x=(e,t)=>{u.setupIntent(t.id).then((function(t){e.append(n('<input type="hidden" />').attr("id","wcpay-setup-intent").attr("name","wcpay-setup-intent").val(t.id));const r=n.blockUI.defaults.ignoreIfBlocked;n.blockUI.defaults.ignoreIfBlocked=!0,e.removeClass("processing").submit(),n.blockUI.defaults.ignoreIfBlocked=r})).catch((function(t){L=null,e.removeClass("processing").unblock(),t.responseJSON&&!t.responseJSON.success?C(t.responseJSON.data.error.message):t.message&&C(t.message)}))},A=(e,t)=>{let{id:r}=t;const o=F()?"#wcpay-payment-method-sepa":"#wcpay-payment-method";n(o).val(r),e.removeClass("processing").submit()},I=(e,t,r)=>{if(L)return void(L=null);S(e);const o=u.generatePaymentMethodRequest(r,m),i=n("#billing_first_name").length?(n("#billing_first_name").val()+" "+n("#billing_last_name").val()).trim():void 0;return o.setBillingDetail("name",i),o.setBillingDetail("email",n("#billing_email").val()),o.setBillingDetail("phone",n("#billing_phone").val()),o.setAddressDetail("city",n("#billing_city").val()),o.setAddressDetail("country",n("#billing_country").val()),o.setAddressDetail("line1",n("#billing_address_1").val()),o.setAddressDetail("line2",n("#billing_address_2").val()),o.setAddressDetail("postal_code",n("#billing_postcode").val()),o.setAddressDetail("state",n("#billing_state").val()),o.send().then((n=>{let{paymentMethod:r}=n;L=!0,t(e,r)})).catch((t=>{e.removeClass("processing").unblock(),C(t.message)})),!1},O=()=>{let e=window.location.href;const r=t("intentSecret");if(r){const n="#wcpay-confirm-pi:0:"+r+":"+t("updateOrderNonce");e=window.location.pathname+window.location.search+n}const o=F()?n("#wcpay-payment-method-sepa").val():n("#wcpay-payment-method").val(),i=n("#wc-woocommerce_payments-new-payment-method").is(":checked"),a=u.confirmIntent(e,i?o:null);if(!0===a)return;const{request:c,isOrderPage:s}=a;s&&(S(n("#order_review")),n("#payment").hide(500)),history.replaceState("",document.title,window.location.pathname+window.location.search),c.then((e=>{window.location=e})).catch((e=>{n("form.checkout").removeClass("processing").unblock(),n("#order_review").removeClass("processing").unblock(),n("#payment").show(500);let r=e.message;e instanceof Error&&(r=t("genericErrorMessage")),C(r)}))};function P(){return!E()&&(F()?n("#wc-woocommerce_payments_sepa-payment-token-new").length&&!n("#wc-woocommerce_payments_sepa-payment-token-new").is(":checked"):n("#wc-woocommerce_payments-payment-token-new").length&&!n("#wc-woocommerce_payments-payment-token-new").is(":checked"))}const R=[e].map((e=>`checkout_place_order_${e}`)).join(" ");n("form.checkout").on(R,(function(){if(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e.find('input[name="wcpay-fingerprint"]').remove();const n=`<input type="hidden" name="wcpay-fingerprint" value="${t}" />`;e.append(n)}(n(this),o),!P()){const e=y;return I(n(this),A,e)}})),n("#order_review").on("submit",(()=>{if(!P()&&(document.getElementById("payment_method_woocommerce_payments").checked||F()))return I(n("#order_review"),A,F()?w:y)})),n("form#add_payment_method").on("submit",(function(){if("woocommerce_payments"===n("#add_payment_method input:checked[name='payment_method']").val()&&!n("#wcpay-setup-intent").val()){let e=y;return F()?e=w:E()?e=_:n("#payment_method_woocommerce_payments_sofort").is(":checked")&&(e=b),I(n("form#add_payment_method"),x,e)}})),O(),window.addEventListener("hashchange",(()=>{window.location.hash.startsWith("#wcpay-confirm-")&&O()})),t("isWooPayEnabled")&&null===new URLSearchParams(window.location.search).get("customize_messenger_channel")&&!t("isPreview")&&async function(e,n){let o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const u=await d(e);let h=!1;if(!u)return;const m=document.createElement("div"),f=u.parentNode;m.classList.add("wc-block-components-spinner");const y=document.createElement("div");y.setAttribute("role","dialog"),y.setAttribute("aria-modal","true");const _=document.createElement("iframe");_.title=(0,r.__)("WooPay Login Session","woocommerce-payments"),_.classList.add("woopay-login-session-iframe"),_.classList.add("intrinsic-ignore"),y.insertBefore(_,null);const v=document.createElement("div");v.setAttribute("role","dialog"),v.setAttribute("aria-modal","true"),v.classList.add("woopay-otp-iframe-wrapper");const w=document.createElement("iframe");w.title=(0,r.__)("WooPay SMS code verification","woocommerce-payments"),w.classList.add("woopay-otp-iframe"),w.classList.add("intrinsic-ignore");const g=document.createElement("span");g.setAttribute("aria-hidden","true"),g.classList.add("arrow");const b=768,S=new URLSearchParams(window.location.search),k="undefined"!=typeof performance&&"back_forward"===performance.getEntriesByType("navigation")[0].type||"true"===S.get("skip_woopay");let C=!0;const E=()=>{(b<=window.innerWidth&&C||b>window.innerWidth&&!C)&&(C=!C,w.contentWindow.postMessage({action:"setHeader",value:C},t("woopayHost"))),document.body.style.overflow="hidden"},F=()=>{if(!w)return;if(b>=window.innerWidth)return w.style.left="0",void(w.style.right="");if(w.getBoundingClientRect().top<=0||window.innerHeight-(w.getBoundingClientRect().height+w.getBoundingClientRect().top)<=0){const e=50,t=document.documentElement.scrollTop+u.getBoundingClientRect().top-w.getBoundingClientRect().height/2-e;window.scrollTo({top:t})}const e=u.getBoundingClientRect(),t=w.getBoundingClientRect();w.style.top=Math.floor(e.top-t.height/2)+"px",g.style.top=Math.floor(e.top+e.height/2-parseFloat(window.getComputedStyle(g)["border-right-width"]))+"px",window.innerWidth-(e.right+t.width)<=50?(w.style.left="auto",g.style.left="auto",w.style.right="50px",g.style.right=`${t.width+50}px`):(w.style.left=`${e.right+5}px`,w.style.right="",g.style.left=e.right-10+"px",g.style.right="")};w.addEventListener("load",(()=>{C=!0,l(a(t("wcAjaxUrl"),"get_woopay_session"),{_ajax_nonce:t("woopaySessionNonce"),order_id:t("order_id"),key:t("key"),billing_email:t("billing_email")}).then((e=>{e?.data?.session&&w.contentWindow.postMessage({action:"setSessionData",value:e},t("woopayHost"))})),E(),window.addEventListener("resize",E),F(),window.addEventListener("resize",F),w.classList.add("open"),c(s.WOOPAY_OTP_START,[],!0)})),v.insertBefore(g,null),v.insertBefore(w,null);const L=document.createElement("div");L.style["white-space"]="normal",L.textContent=(0,r.__)("WooPay is unavailable at this time. Please complete your checkout below. Sorry for the inconvenience.","woocommerce-payments");const x=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.removeEventListener("resize",E),window.removeEventListener("resize",F),v.remove(),w.classList.remove("open"),e&&u.focus(),document.body.style.overflow=""};v.addEventListener("click",x);const A=()=>{f.insertBefore(L,u.nextSibling)};document.addEventListener("keyup",(e=>{"Escape"===e.key&&x()&&e.stopPropagation()}));const I=new AbortController,{signal:O}=I;O.addEventListener("abort",(()=>{m.remove(),x(!1)})),i?(await d("button.wc-block-components-checkout-place-order-button")).addEventListener("click",(()=>{I.abort()})):document.querySelector('form[name="checkout"]').addEventListener("submit",(()=>{I.abort()}));const P=e=>{const t=new CustomEvent("woopayUserCheck",{detail:{isRegisteredUser:e}});window.dispatchEvent(t)},R=async e=>{f.insertBefore(m,u),f.contains(L)&&f.removeChild(L),l(a(t("wcAjaxUrl"),"get_woopay_signature"),{_ajax_nonce:t("woopaySignatureNonce")}).then((e=>{if(e.success)return e.data;throw new Error("Request for signature failed.")})).then((e=>{if(e.signature)return e.signature;throw new Error("Signature not found.")})).then((n=>{const r=new URLSearchParams;return r.append("email",e),r.append("test_mode",!!t("testMode")),r.append("wcpay_version",t("wcpayVersionNumber")),r.append("blog_id",t("woopayMerchantId")),r.append("request_signature",n),fetch(`${t("woopayHost")}/wp-json/platform-checkout/v1/user/exists?${r.toString()}`,{signal:O})})).then((e=>(200!==e.status&&A(),e.json()))).then((n=>{P(n["user-exists"]),n["user-exists"]?(e=>{if(document.querySelector(".woopay-otp-iframe"))return;const n=window.document.documentElement.clientWidth,r=window.document.documentElement.clientHeight,o=new URLSearchParams;o.append("email",e),o.append("testMode",t("testMode")),o.append("needsHeader",b>window.innerWidth),o.append("wcpayVersion",t("wcpayVersionNumber")),o.append("is_blocks",i?"true":"false"),o.append("source_url",window.location.href),o.append("viewport",`${n}x${r}`),o.append("tracksUserIdentity",JSON.stringify(t("tracksUserIdentity"))),w.src=`${t("woopayHost")}/otp/?${o.toString()}`,f.insertBefore(v,null),F(),w.focus()})(e):"rest_invalid_param"!==n.code&&c(s.WOOPAY_OFFERED,[],!0)})).catch((e=>{"AbortError"!==e.name&&A()})).finally((()=>{m.remove()}))},D=()=>{y.remove(),_.classList.remove("open"),u.focus({preventScroll:!0}),p(u.value)&&R(u.value)},W=e=>{const n=new URLSearchParams;p(e)&&(f.insertBefore(m,u),n.append("email",e),n.append("test_mode",!!t("testMode"))),_.src=`${t("woopayHost")}/login-session?${n.toString()}`,f.insertBefore(y,null),_.focus(),setTimeout((()=>{h||D()}),15e3)};if(u.addEventListener("input",(e=>{if(!h&&!k)return void(k&&W(u.value));const t=e.currentTarget.value;clearTimeout(o),m.remove(),o=setTimeout((()=>{p(t)&&R(t)}),500)})),window.addEventListener("message",(e=>{if(t("woopayHost").startsWith(e.origin))switch(e.data.action){case"auto_redirect_to_platform_checkout":case"auto_redirect_to_woopay":h=!0,n.initWooPay(e.data.userEmail,e.data.platformCheckoutUserSession).then((e=>{if("success"===e.result){if(y.classList.add("woopay-login-session-iframe-wrapper"),_.classList.add("open"),c(s.WOOPAY_AUTO_REDIRECT),m.remove(),!document.querySelector(".woopay-login-session-iframe"))return;window.location=e.url}else D()})).catch((e=>{"AbortError"!==e.name&&A()})).finally((()=>{m.remove()}));break;case"close_auto_redirection_modal":h=!0,D();break;case"redirect_to_woopay_skip_session_init":c(s.WOOPAY_OTP_COMPLETE,[],!0),e.data.redirectUrl&&(window.location=(e=>{const t=window.wcpayConfig.pay_for_order,n=window.wcpayConfig.order_id,r=window.wcpayConfig.key,o=window.wcpayConfig.billing_email;if(!t||!n||!r)return e;const i=new URL(e);return i.searchParams.append("pay_for_order",t),i.searchParams.append("order_id",n),i.searchParams.append("key",r),i.searchParams.append("billing_email",o),i.href})(e.data.redirectUrl));break;case"redirect_to_platform_checkout":case"redirect_to_woopay":c(s.WOOPAY_OTP_COMPLETE,[],!0),n.initWooPay(u.value,e.data.platformCheckoutUserSession).then((e=>{document.querySelector(".woopay-otp-iframe")&&("success"===e.result?window.location=e.url:(A(),x(!1)))})).catch((()=>{A(),x(!1)}));break;case"otp_validation_failed":c(s.WOOPAY_OTP_FAILED,[],!0);break;case"close_modal":x();break;case"iframe_height":if(e.data.height>300)if(b<=window.innerWidth){w.style.height=e.data.height+"px";const t=u.getBoundingClientRect();w.style.top=Math.floor(t.top-e.data.height/2)+"px",g.style.top=Math.floor(t.top+t.height/2-parseFloat(window.getComputedStyle(g)["border-right-width"]))+"px"}else w.style.height="",w.style.top=""}})),window.addEventListener("pageshow",(function(e){e.persisted&&x(!1)})),k){setTimeout((()=>{P(!0)}),2e3),c(s.WOOPAY_SKIPPED,[],!0),S.delete("skip_woopay");let{pathname:e}=window.location;""!==S.toString()&&(e+="?"+S.toString()),history.replaceState(null,null,e),x(!1)}else h||W(u.value)}("#billing_email",u)}))})()})();