@transmitsecurity/platform-web-sdk 2.3.2-beta-26093939905.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/common.cjs +1 -1
- package/dist/common.js +1 -1
- package/dist/drs.cjs +1 -1
- package/dist/drs.d.ts +40 -2
- package/dist/drs.js +1 -1
- package/dist/ido.cjs +1 -1
- package/dist/ido.js +1 -1
- package/dist/idv.cjs +1 -1
- package/dist/idv.d.ts +148 -4
- package/dist/idv.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/ts-platform-websdk.js +1 -1
- package/dist/web-sdk-drs+idv+webauthn+ido.js +1 -1
- package/dist/web-sdk.d.ts +207 -7
- package/dist/webauthn.cjs +1 -1
- package/dist/webauthn.js +1 -1
- package/package.json +2 -8
package/dist/drs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"undefined"==typeof globalThis&&("undefined"!=typeof window?(window.globalThis=window,window.global=window):"undefined"!=typeof self&&(self.globalThis=self,self.global=self));import t from"./common.js";import{initialize as e}from"./common.js";export{initialize}from"./common.js";function i(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var a={},s={};function o(t){let e=t.length;for(;--e>=0;)t[e]=0}const x=256,l=286,c=30,h=15,d=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),u=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),g=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_=new Array(576);o(_);const p=new Array(60);o(p);const v=new Array(512);o(v);const m=new Array(256);o(m);const w=new Array(29);o(w);const b=new Array(c);function y(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}let S,E,I;function T(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}o(b);const D=t=>t<256?v[t]:v[256+(t>>>7)],k=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},C=(t,e,i)=>{t.bi_valid>16-i?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=i-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)},A=(t,e,i)=>{C(t,i[2*e],i[2*e+1])},M=(t,e)=>{let i=0;do{i|=1&t,t>>>=1,i<<=1}while(--e>0);return i>>>1},P=(t,e,i)=>{const n=new Array(16);let r,a,s=0;for(r=1;r<=h;r++)n[r]=s=s+i[r-1]<<1;for(a=0;a<=e;a++){let e=t[2*a+1];0!==e&&(t[2*a]=M(n[e]++,e))}},L=t=>{let e;for(e=0;e<l;e++)t.dyn_ltree[2*e]=0;for(e=0;e<c;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},O=t=>{t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},R=(t,e,i,n)=>{const r=2*e,a=2*i;return t[r]<t[a]||t[r]===t[a]&&n[e]<=n[i]},N=(t,e,i)=>{const n=t.heap[i];let r=i<<1;for(;r<=t.heap_len&&(r<t.heap_len&&R(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!R(e,n,t.heap[r],t.depth));)t.heap[i]=t.heap[r],i=r,r<<=1;t.heap[i]=n},z=(t,e,i)=>{let n,r,a,s,o=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],r=t.pending_buf[t.l_buf+o],o++,0===n?A(t,r,e):(a=m[r],A(t,a+x+1,e),s=d[a],0!==s&&(r-=w[a],C(t,r,s)),n--,a=D(n),A(t,a,i),s=u[a],0!==s&&(n-=b[a],C(t,n,s)))}while(o<t.last_lit);A(t,256,e)},U=(t,e)=>{const i=e.dyn_tree,n=e.stat_desc.static_tree,r=e.stat_desc.has_stree,a=e.stat_desc.elems;let s,o,x,l=-1;for(t.heap_len=0,t.heap_max=573,s=0;s<a;s++)0!==i[2*s]?(t.heap[++t.heap_len]=l=s,t.depth[s]=0):i[2*s+1]=0;for(;t.heap_len<2;)x=t.heap[++t.heap_len]=l<2?++l:0,i[2*x]=1,t.depth[x]=0,t.opt_len--,r&&(t.static_len-=n[2*x+1]);for(e.max_code=l,s=t.heap_len>>1;s>=1;s--)N(t,i,s);x=a;do{s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],N(t,i,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,i[2*x]=i[2*s]+i[2*o],t.depth[x]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,i[2*s+1]=i[2*o+1]=x,t.heap[1]=x++,N(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const i=e.dyn_tree,n=e.max_code,r=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,x=e.stat_desc.max_length;let l,c,d,u,g,f,_=0;for(u=0;u<=h;u++)t.bl_count[u]=0;for(i[2*t.heap[t.heap_max]+1]=0,l=t.heap_max+1;l<573;l++)c=t.heap[l],u=i[2*i[2*c+1]+1]+1,u>x&&(u=x,_++),i[2*c+1]=u,c>n||(t.bl_count[u]++,g=0,c>=o&&(g=s[c-o]),f=i[2*c],t.opt_len+=f*(u+g),a&&(t.static_len+=f*(r[2*c+1]+g)));if(0!==_){do{for(u=x-1;0===t.bl_count[u];)u--;t.bl_count[u]--,t.bl_count[u+1]+=2,t.bl_count[x]--,_-=2}while(_>0);for(u=x;0!==u;u--)for(c=t.bl_count[u];0!==c;)d=t.heap[--l],d>n||(i[2*d+1]!==u&&(t.opt_len+=(u-i[2*d+1])*i[2*d],i[2*d+1]=u),c--)}})(t,e),P(i,l,t.bl_count)},F=(t,e,i)=>{let n,r,a=-1,s=e[1],o=0,x=7,l=4;for(0===s&&(x=138,l=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=s,s=e[2*(n+1)+1],++o<x&&r===s||(o<l?t.bl_tree[2*r]+=o:0!==r?(r!==a&&t.bl_tree[2*r]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,a=r,0===s?(x=138,l=3):r===s?(x=6,l=3):(x=7,l=4))},B=(t,e,i)=>{let n,r,a=-1,s=e[1],o=0,x=7,l=4;for(0===s&&(x=138,l=3),n=0;n<=i;n++)if(r=s,s=e[2*(n+1)+1],!(++o<x&&r===s)){if(o<l)do{A(t,r,t.bl_tree)}while(0!=--o);else 0!==r?(r!==a&&(A(t,r,t.bl_tree),o--),A(t,16,t.bl_tree),C(t,o-3,2)):o<=10?(A(t,17,t.bl_tree),C(t,o-3,3)):(A(t,18,t.bl_tree),C(t,o-11,7));o=0,a=r,0===s?(x=138,l=3):r===s?(x=6,l=3):(x=7,l=4)}};let K=!1;const Z=(t,e,i,n)=>{C(t,0+(n?1:0),3),((t,e,i,n)=>{O(t),n&&(k(t,i),k(t,~i)),t.pending_buf.set(t.window.subarray(e,e+i),t.pending),t.pending+=i})(t,e,i,!0)};s._tr_init=t=>{K||((()=>{let t,e,i,n,r;const a=new Array(16);for(i=0,n=0;n<28;n++)for(w[n]=i,t=0;t<1<<d[n];t++)m[i++]=n;for(m[i-1]=n,r=0,n=0;n<16;n++)for(b[n]=r,t=0;t<1<<u[n];t++)v[r++]=n;for(r>>=7;n<c;n++)for(b[n]=r<<7,t=0;t<1<<u[n]-7;t++)v[256+r++]=n;for(e=0;e<=h;e++)a[e]=0;for(t=0;t<=143;)_[2*t+1]=8,t++,a[8]++;for(;t<=255;)_[2*t+1]=9,t++,a[9]++;for(;t<=279;)_[2*t+1]=7,t++,a[7]++;for(;t<=287;)_[2*t+1]=8,t++,a[8]++;for(P(_,287,a),t=0;t<c;t++)p[2*t+1]=5,p[2*t]=M(t,5);S=new y(_,d,257,l,h),E=new y(p,u,0,c,h),I=new y(new Array(0),g,0,19,7)})(),K=!0),t.l_desc=new T(t.dyn_ltree,S),t.d_desc=new T(t.dyn_dtree,E),t.bl_desc=new T(t.bl_tree,I),t.bi_buf=0,t.bi_valid=0,L(t)},s._tr_stored_block=Z,s._tr_flush_block=(t,e,i,n)=>{let r,a,s=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<x;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),U(t,t.l_desc),U(t,t.d_desc),s=(t=>{let e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),U(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),r=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=r&&(r=a)):r=a=i+5,i+4<=r&&-1!==e?Z(t,e,i,n):4===t.strategy||a===r?(C(t,2+(n?1:0),3),z(t,_,p)):(C(t,4+(n?1:0),3),((t,e,i,n)=>{let r;for(C(t,e-257,5),C(t,i-1,5),C(t,n-4,4),r=0;r<n;r++)C(t,t.bl_tree[2*f[r]+1],3);B(t,t.dyn_ltree,e-1),B(t,t.dyn_dtree,i-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),z(t,t.dyn_ltree,t.dyn_dtree)),L(t),n&&O(t)},s._tr_tally=(t,e,i)=>(t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(m[i]+x+1)]++,t.dyn_dtree[2*D(e)]++),t.last_lit===t.lit_bufsize-1),s._tr_align=t=>{C(t,2,3),A(t,256,_),(t=>{16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)};var H=(t,e,i,n)=>{let r=65535&t,a=t>>>16&65535,s=0;for(;0!==i;){s=i>2e3?2e3:i,i-=s;do{r=r+e[n++]|0,a=a+r|0}while(--s);r%=65521,a%=65521}return r|a<<16};const V=new Uint32Array((()=>{let t,e=[];for(var i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e})());var j=(t,e,i,n)=>{const r=V,a=n+i;t^=-1;for(let i=n;i<a;i++)t=t>>>8^r[255&(t^e[i])];return~t},W={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Y={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:G,_tr_stored_block:J,_tr_flush_block:q,_tr_tally:Q,_tr_align:X}=s,$=H,tt=j,et=W,{Z_NO_FLUSH:it,Z_PARTIAL_FLUSH:nt,Z_FULL_FLUSH:rt,Z_FINISH:at,Z_BLOCK:st,Z_OK:ot,Z_STREAM_END:xt,Z_STREAM_ERROR:lt,Z_DATA_ERROR:ct,Z_BUF_ERROR:ht,Z_DEFAULT_COMPRESSION:dt,Z_FILTERED:ut,Z_HUFFMAN_ONLY:gt,Z_RLE:ft,Z_FIXED:_t,Z_DEFAULT_STRATEGY:pt,Z_UNKNOWN:vt,Z_DEFLATED:mt}=Y,wt=258,bt=262,yt=103,St=113,Et=666,It=(t,e)=>(t.msg=et[e],e),Tt=t=>(t<<1)-(t>4?9:0),Dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0};let kt=(t,e,i)=>(e<<t.hash_shift^i)&t.hash_mask;const Ct=t=>{const e=t.state;let i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+i),t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))},At=(t,e)=>{q(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ct(t.strm)},Mt=(t,e)=>{t.pending_buf[t.pending++]=e},Pt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Lt=(t,e,i,n)=>{let r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),i),1===t.state.wrap?t.adler=$(t.adler,e,r,i):2===t.state.wrap&&(t.adler=tt(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)},Ot=(t,e)=>{let i,n,r=t.max_chain_length,a=t.strstart,s=t.prev_length,o=t.nice_match;const x=t.strstart>t.w_size-bt?t.strstart-(t.w_size-bt):0,l=t.window,c=t.w_mask,h=t.prev,d=t.strstart+wt;let u=l[a+s-1],g=l[a+s];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do{if(i=e,l[i+s]===g&&l[i+s-1]===u&&l[i]===l[a]&&l[++i]===l[a+1]){a+=2,i++;do{}while(l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&l[++a]===l[++i]&&a<d);if(n=wt-(d-a),a=d-wt,n>s){if(t.match_start=e,s=n,n>=o)break;u=l[a+s-1],g=l[a+s]}}}while((e=h[e&c])>x&&0!=--r);return s<=t.lookahead?s:t.lookahead},Rt=t=>{const e=t.w_size;let i,n,r,a,s;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-bt)){t.window.set(t.window.subarray(e,e+e),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,n=t.hash_size,i=n;do{r=t.head[--i],t.head[i]=r>=e?r-e:0}while(--n);n=e,i=n;do{r=t.prev[--i],t.prev[i]=r>=e?r-e:0}while(--n);a+=e}if(0===t.strm.avail_in)break;if(n=Lt(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=n,t.lookahead+t.insert>=3)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=kt(t,t.ins_h,t.window[s+1]);t.insert&&(t.ins_h=kt(t,t.ins_h,t.window[s+3-1]),t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<bt&&0!==t.strm.avail_in)},Nt=(t,e)=>{let i,n;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===it)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=3&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-bt&&(t.match_length=Ot(t,i)),t.match_length>=3)if(n=Q(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=kt(t,t.ins_h,t.window[t.strstart+1]);else n=Q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===at?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2},zt=(t,e)=>{let i,n,r;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===it)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=3&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-bt&&(t.match_length=Ot(t,i),t.match_length<=5&&(t.strategy===ut||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=Q(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(At(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(n=Q(t,0,t.window[t.strstart-1]),n&&At(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=Q(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===at?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2};function Ut(t,e,i,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=r}const Ft=[new Ut(0,0,0,0,((t,e)=>{let i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Rt(t),0===t.lookahead&&e===it)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;const n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,At(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-bt&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===at?(At(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(At(t,!1),t.strm.avail_out),1)})),new Ut(4,4,8,4,Nt),new Ut(4,5,16,8,Nt),new Ut(4,6,32,32,Nt),new Ut(4,4,16,16,zt),new Ut(8,16,32,32,zt),new Ut(8,16,128,128,zt),new Ut(8,32,128,256,zt),new Ut(32,128,258,1024,zt),new Ut(32,258,258,4096,zt)];function Bt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=mt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Dt(this.dyn_ltree),Dt(this.dyn_dtree),Dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Dt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Kt=t=>{if(!t||!t.state)return It(t,lt);t.total_in=t.total_out=0,t.data_type=vt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:St,t.adler=2===e.wrap?0:1,e.last_flush=it,G(e),ot},Zt=t=>{const e=Kt(t);return e===ot&&(t=>{t.window_size=2*t.w_size,Dt(t.head),t.max_lazy_match=Ft[t.level].max_lazy,t.good_match=Ft[t.level].good_length,t.nice_match=Ft[t.level].nice_length,t.max_chain_length=Ft[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0})(t.state),e},Ht=(t,e,i,n,r,a)=>{if(!t)return lt;let s=1;if(e===dt&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||i!==mt||n<8||n>15||e<0||e>9||a<0||a>_t)return It(t,lt);8===n&&(n=9);const o=new Bt;return t.state=o,o.strm=t,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=e,o.strategy=a,o.method=i,Zt(t)};a.deflateInit=(t,e)=>Ht(t,e,mt,15,8,pt),a.deflateInit2=Ht,a.deflateReset=Zt,a.deflateResetKeep=Kt,a.deflateSetHeader=(t,e)=>t&&t.state?2!==t.state.wrap?lt:(t.state.gzhead=e,ot):lt,a.deflate=(t,e)=>{let i,n;if(!t||!t.state||e>st||e<0)return t?It(t,lt):lt;const r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===Et&&e!==at)return It(t,0===t.avail_out?ht:lt);r.strm=t;const a=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Mt(r,31),Mt(r,139),Mt(r,8),r.gzhead?(Mt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Mt(r,255&r.gzhead.time),Mt(r,r.gzhead.time>>8&255),Mt(r,r.gzhead.time>>16&255),Mt(r,r.gzhead.time>>24&255),Mt(r,9===r.level?2:r.strategy>=gt||r.level<2?4:0),Mt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Mt(r,255&r.gzhead.extra.length),Mt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=tt(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Mt(r,0),Mt(r,0),Mt(r,0),Mt(r,0),Mt(r,0),Mt(r,9===r.level?2:r.strategy>=gt||r.level<2?4:0),Mt(r,3),r.status=St);else{let e=mt+(r.w_bits-8<<4)<<8,i=-1;i=r.strategy>=gt||r.level<2?0:r.level<6?1:6===r.level?2:3,e|=i<<6,0!==r.strstart&&(e|=32),e+=31-e%31,r.status=St,Pt(r,e),0!==r.strstart&&(Pt(r,t.adler>>>16),Pt(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),Ct(t),i=r.pending,r.pending!==r.pending_buf_size));)Mt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),Ct(t),i=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Mt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),Ct(t),i=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Mt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>i&&(t.adler=tt(t.adler,r.pending_buf,r.pending-i,i)),0===n&&(r.status=yt)}else r.status=yt;if(r.status===yt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Ct(t),r.pending+2<=r.pending_buf_size&&(Mt(r,255&t.adler),Mt(r,t.adler>>8&255),t.adler=0,r.status=St)):r.status=St),0!==r.pending){if(Ct(t),0===t.avail_out)return r.last_flush=-1,ot}else if(0===t.avail_in&&Tt(e)<=Tt(a)&&e!==at)return It(t,ht);if(r.status===Et&&0!==t.avail_in)return It(t,ht);if(0!==t.avail_in||0!==r.lookahead||e!==it&&r.status!==Et){let i=r.strategy===gt?((t,e)=>{let i;for(;;){if(0===t.lookahead&&(Rt(t),0===t.lookahead)){if(e===it)return 1;break}if(t.match_length=0,i=Q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===at?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):r.strategy===ft?((t,e)=>{let i,n,r,a;const s=t.window;for(;;){if(t.lookahead<=wt){if(Rt(t),t.lookahead<=wt&&e===it)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=t.strstart-1,n=s[r],n===s[++r]&&n===s[++r]&&n===s[++r])){a=t.strstart+wt;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<a);t.match_length=wt-(a-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(i=Q(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=Q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===at?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):Ft[r.level].func(r,e);if(3!==i&&4!==i||(r.status=Et),1===i||3===i)return 0===t.avail_out&&(r.last_flush=-1),ot;if(2===i&&(e===nt?X(r):e!==st&&(J(r,0,0,!1),e===rt&&(Dt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Ct(t),0===t.avail_out))return r.last_flush=-1,ot}return e!==at?ot:r.wrap<=0?xt:(2===r.wrap?(Mt(r,255&t.adler),Mt(r,t.adler>>8&255),Mt(r,t.adler>>16&255),Mt(r,t.adler>>24&255),Mt(r,255&t.total_in),Mt(r,t.total_in>>8&255),Mt(r,t.total_in>>16&255),Mt(r,t.total_in>>24&255)):(Pt(r,t.adler>>>16),Pt(r,65535&t.adler)),Ct(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?ot:xt)},a.deflateEnd=t=>{if(!t||!t.state)return lt;const e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==yt&&e!==St&&e!==Et?It(t,lt):(t.state=null,e===St?It(t,ct):ot)},a.deflateSetDictionary=(t,e)=>{let i=e.length;if(!t||!t.state)return lt;const n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return lt;if(1===r&&(t.adler=$(t.adler,e,i,0)),n.wrap=0,i>=n.w_size){0===r&&(Dt(n.head),n.strstart=0,n.block_start=0,n.insert=0);let t=new Uint8Array(n.w_size);t.set(e.subarray(i-n.w_size,i),0),e=t,i=n.w_size}const a=t.avail_in,s=t.next_in,o=t.input;for(t.avail_in=i,t.next_in=0,t.input=e,Rt(n);n.lookahead>=3;){let t=n.strstart,e=n.lookahead-2;do{n.ins_h=kt(n,n.ins_h,n.window[t+3-1]),n.prev[t&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=t,t++}while(--e);n.strstart=t,n.lookahead=2,Rt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=s,t.input=o,t.avail_in=a,n.wrap=r,ot},a.deflateInfo="pako deflate (from Nodeca project)";var Vt={};const jt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);Vt.assign=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(const e in i)jt(i,e)&&(t[e]=i[e])}}return t},Vt.flattenChunks=t=>{let e=0;for(let i=0,n=t.length;i<n;i++)e+=t[i].length;const i=new Uint8Array(e);for(let e=0,n=0,r=t.length;e<r;e++){let r=t[e];i.set(r,n),n+=r.length}return i};var Wt={};let Yt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Yt=!1}const Gt=new Uint8Array(256);for(let t=0;t<256;t++)Gt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Gt[254]=Gt[254]=1,Wt.string2buf=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,i,n,r,a,s=t.length,o=0;for(r=0;r<s;r++)i=t.charCodeAt(r),55296==(64512&i)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),r++)),o+=i<128?1:i<2048?2:i<65536?3:4;for(e=new Uint8Array(o),a=0,r=0;a<o;r++)i=t.charCodeAt(r),55296==(64512&i)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),r++)),i<128?e[a++]=i:i<2048?(e[a++]=192|i>>>6,e[a++]=128|63&i):i<65536?(e[a++]=224|i>>>12,e[a++]=128|i>>>6&63,e[a++]=128|63&i):(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63,e[a++]=128|i>>>6&63,e[a++]=128|63&i);return e};Wt.buf2string=(t,e)=>{const i=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let n,r;const a=new Array(2*i);for(r=0,n=0;n<i;){let e=t[n++];if(e<128){a[r++]=e;continue}let s=Gt[e];if(s>4)a[r++]=65533,n+=s-1;else{for(e&=2===s?31:3===s?15:7;s>1&&n<i;)e=e<<6|63&t[n++],s--;s>1?a[r++]=65533:e<65536?a[r++]=e:(e-=65536,a[r++]=55296|e>>10&1023,a[r++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Yt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let i="";for(let n=0;n<e;n++)i+=String.fromCharCode(t[n]);return i})(a,r)},Wt.utf8border=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let i=e-1;for(;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+Gt[t[i]]>e?i:e};const Jt=a,qt=Vt,Qt=Wt,Xt=W,$t=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},te=Object.prototype.toString,{Z_NO_FLUSH:ee,Z_SYNC_FLUSH:ie,Z_FULL_FLUSH:ne,Z_FINISH:re,Z_OK:ae,Z_STREAM_END:se,Z_DEFAULT_COMPRESSION:oe,Z_DEFAULT_STRATEGY:xe,Z_DEFLATED:le}=Y;function ce(t){this.options=qt.assign({level:oe,method:le,chunkSize:16384,windowBits:15,memLevel:8,strategy:xe},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $t,this.strm.avail_out=0;let i=Jt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==ae)throw new Error(Xt[i]);if(e.header&&Jt.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Qt.string2buf(e.dictionary):"[object ArrayBuffer]"===te.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,i=Jt.deflateSetDictionary(this.strm,t),i!==ae)throw new Error(Xt[i]);this._dict_set=!0}}ce.prototype.push=function(t,e){const i=this.strm,n=this.options.chunkSize;let r,a;if(this.ended)return!1;for(a=e===~~e?e:!0===e?re:ee,"string"==typeof t?i.input=Qt.string2buf(t):"[object ArrayBuffer]"===te.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),(a===ie||a===ne)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if(r=Jt.deflate(i,a),r===se)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),r=Jt.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===ae;if(0!==i.avail_out){if(a>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},ce.prototype.onData=function(t){this.chunks.push(t)},ce.prototype.onEnd=function(t){t===ae&&(this.result=qt.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var he=function(t,e){return(e=e||{}).gzip=!0,function(t,e){const i=new ce(e);if(i.push(t,!0),i.err)throw i.msg||Xt[i.err];return i.result}(t,e)};const de=["enabled","userId","serverPath"];var ue,ge,fe=["drs"];ue=fe,ge=231,function(t){for(;--t;)ue.push(ue.shift())}(++ge);var _e,pe,ve,me=new t((_e="0x0",fe[_e-=0])),we=["sessionStorage","getItem","setItemSessionStorageSafe","setItem","removeItemSessionStorageSafe","localStorage","setItemLocalStorageSafe","removeItemLocalStorageSafe","removeItem","FALLBACK_SESSION_STORAGE","FALLBACK_LOCAL_STORAGE","clientId","setClientId","getFullStorageKey","getItemSessionStorageSafe"];pe=we,ve=384,function(t){for(;--t;)pe.push(pe.shift())}(++ve);var be=function(t,e){return we[t-=0]};class ye{constructor(t){this[be("0x0")]={},this[be("0x1")]={},this[be("0x2")]=t}getClientId(){return this[be("0x2")]}[be("0x3")](t){this[be("0x2")]=t}[be("0x4")](t){return this[be("0x2")]+"_"+t}[be("0x5")](t){const e=this[be("0x4")](t);try{return window[be("0x6")][be("0x7")](e)}catch(t){return this[be("0x0")][e]}}[be("0x8")](t,e){const i=this[be("0x4")](t);try{window[be("0x6")][be("0x9")](i,e)}catch(t){this[be("0x0")][i]=e}}[be("0xa")](t){const e=this[be("0x4")](t);try{window[be("0x6")].removeItem(e)}catch(t){this.FALLBACK_SESSION_STORAGE[e]=void 0}}getItemLocalStorageSafe(t){const e=this.getFullStorageKey(t);try{return window[be("0xb")][be("0x7")](e)}catch(t){return this[be("0x1")][e]}}[be("0xc")](t,e){const i=this.getFullStorageKey(t);try{window.localStorage[be("0x9")](i,e)}catch(t){this[be("0x1")][i]=e}}[be("0xd")](t){const e=this[be("0x4")](t);try{window[be("0xb")][be("0xe")](e)}catch(t){this.FALLBACK_LOCAL_STORAGE[e]=void 0}}}var Se,Ee,Ie=["[AccountProtection SDK]","logs","middlewares","info","pushLog","warn","error","log","%s %s %s","stringify","push","now","formatter","logsLimit","unshift","map","catch","logPrefix"];Se=Ie,Ee=305,function(t){for(;--t;)Se.push(Se.shift())}(++Ee);var Te=function(t,e){return Ie[t-=0]};class De{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.enabled=t,this[Te("0x0")]=Te("0x1"),this.logsLimit=1e4,this[Te("0x2")]=[],this[Te("0x3")]=[]}[Te("0x4")](t,e){this[Te("0x5")](3,t,e)}[Te("0x6")](t,e){this[Te("0x5")](4,t,e)}[Te("0x7")](t,e){this[Te("0x5")](5,t,e)}flush(){const t=this.logs;return this.logs=[],t}[Te("0x5")](t,e,i){this.enabled&&console[Te("0x8")](Te("0x9"),this.logPrefix,e,JSON[Te("0xa")](i)),this[Te("0x2")][Te("0xb")]({timestamp:Date[Te("0xc")](),severity:t,text:JSON[Te("0xa")](r(r({},i),{},{message:e}),this[Te("0xd")])}),this[Te("0x2")].length>this[Te("0xe")]&&this[Te("0x2")][Te("0xf")]();const n=this[Te("0x3")][Te("0x10")]((t=>t()));Promise.all(n)[Te("0x11")]((()=>{}))}[Te("0xd")](t,e){if(e instanceof Error){const{name:t,stack:i,message:n}=e;return{name:t,stack:i,message:n}}return e}}const ke=new De;var Ce,Ae,Me=["getHighEntropyValues","model","platformVersion","bitness","mobile","wow64","uaFullVersion","catch","setTimeout","warn","executor reached timeout","name","finally","userAgentData"];Ce=Me,Ae=237,function(t){for(;--t;)Ce.push(Ce.shift())}(++Ae);var Pe=function(t,e){return Me[t-=0]};function Le(){var t;return null===(t=navigator[Pe("0x0")])||void 0===t?void 0:t[Pe("0x1")](["architecture",Pe("0x2"),"platform",Pe("0x3"),"fullVersionList",Pe("0x4"),Pe("0x5"),Pe("0x6"),Pe("0x7")])}function Oe(t,e){let i;const n=[Promise.resolve(t())[Pe("0x8")]((()=>{})),new Promise(((t,n)=>i=window[Pe("0x9")](n,e)))];return Promise.race(n)[Pe("0x8")]((()=>ke[Pe("0xa")](Pe("0xb"),{fnName:t[Pe("0xc")]})))[Pe("0xd")]((()=>clearTimeout(i)))}var Re,Ne,ze=["length","suffixes","plugins","name","description","screen","availWidth","colorDepth","height","width","pixelDepth","orientation","type","outerWidth","getWindowOrientation","cpuClass","getOsCpu","oscpu","HTMLElement","prototype","addBehavior","getProductSub","productSub","mediaDevices","kind","deviceId","OfflineAudioContext","webkitOfflineAudioContext","createOscillator","triangle","createDynamicsCompressor","threshold","knee","ratio","attack","connect","start","oncomplete","renderedBuffer","startRendering","subarray","getHash","frequency","destination","disconnect","frequencyBinCount","getFloatFrequencyData","call","fftSize","getFloatTimeDomainData","reduction","mmMwWLliI0O&1","monospace","sans-serif","serif","sans-serif-thin","Agency FB","Arabic Typesetting","BankGothic Md BT","Batang","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","GOTHAM","Gill Sans","HELV","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Menlo","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","Serifa","Small Fonts","Staccato222 BT","TRAJAN PRO","Vrinda","ZWAdobeF","createElement","div","style","visibility","span","position","absolute","top","left","fontFamily","fontSize","10px","textContent","appendChild","offsetHeight","body","offsetWidth","__webdriver_script_function","DateTimeFormat","resolvedOptions","timeZone","vendor","getBuildID","buildID","textBaseline","alphabetic","fillStyle","fillRect","Cwm fjordbank gly ","fromCharCode","rgba(102, 204, 0, 0.2)","font","18pt Arial","fillText","globalCompositeOperation","#f2f","#2ff","#ff2","beginPath","arc","fill","#f9c","evenodd","toDataURL","rect","isPointInPath","canvas","getContext","charging","dischargingTime","webgl","webgl-experimental","getExtension","getParameter","UNMASKED_RENDERER_WEBGL","getCodesTests","video","canPlayType",'video/mp4; codecs="avc1.42E01E"',"video/mp4;;Codecs =avc1.42E01E","getCryptoBindingData","getPublicData","invalidPublicKeyId","isMobile","test","userAgent","reduce","abs","configManager","calculate","getConfValue","cryptoBinding","dataPointsExtractor","lastDeviceData","storageManager","getDeviceData","getItemLocalStorageSafe","now","sdkDeviceDataCollectionIgnoreList","dataPoints","getBattery","getBrave","getCanvasFingerprint","getConnection","getDeviceMemory","getDocumentBasedKeys","getHardwareConcurrency","getFIDOEnabled","getLanguages","getLanguage","getTimezoneOffset","getLocalStorage","getNavigatorProduct","getNavigatorUserAgent","getNavigatorUAData","getNavigatorHighEntropyData","navigatorStorageEstimation","navigatorOnLine","navigatorIsUserActive","getMathFingerprint","getOpenDatabase","getPlatform","getCpuClass","getAddBehavior","getAudioFingerprint","getAudioFingerprintExtended","getFonts","getPlugins","getScreen","hasSequentum","getSessionStorage","getReferrer","getTimezone","getTouchSupport","getVendor","getWebDriver","getWebGlRenderer","getWindowBasedKeys","getWindowOuter","bind","getNavigatorPermissionsState","notifications","isGeoLocationExists","isSendBeaconFunction","getInstalledRelatedApps","windowConstructorAliasTest","windowDocumentAuxVarsTest","CDPRuntimeDomainTest","Error","Object","defineProperty","stack","console","debug","document","$chrome_asyncScriptInfo","values","getOwnPropertyDescriptors","value","cache_","getOwnPropertyNames","getPrototypeOf","storeItem","isNodeReachable_","every","Array","Promise","Symbol","token","getAsyncToken","startPromisesLoop","collectPromisesData","entries","includes","worker throw error","resolve","warn","worker promise rejected","getCookieEnabled","credentials","PublicKeyCredential","isUserVerifyingPlatformAuthenticatorAvailable","getCryptoRandomValues","getRandomValues","webRTCDisabled","RTCPeerConnection","chrome","safari","__crWeb","__gCrWeb","yandex","__ybro","__firefox__","webkit","oprt","samsungAr","puffinDevice","_phantom","__phantomas","callPhantom","Buffer","emit","spawn","domAutomationController","domAutomation","__nightmare","_selenium","calledSelenium","__driver_evaluate","__driver_unwrapped","__fxdriver_unwrapped","__lastWatirAlert","__lastWatirPrompt","__selenium_unwrapped","__webdriver_evaluate","__webdriver_script_fn","__webdriver_script_func","__webdriverFuncgeb","awesomium","calledPhantom","cdc_adoQpoasnfa76pfcZLmcfl_Array","cdc_adoQpoasnfa76pfcZLmcfl_Promise","chrome_asyncScriptInfo","geb","OSMJIF","spynner_additional_js_loaded","watinExpressionError","push","getMediaMatch","high","standard","no-preference","low","more","less","forced","100","1000","inverted","rec2020","replace","matchMedia","matches","log","sqrt","exp","acos","acosh","asin","atanh","sin","sinh","cos","cosh","tan","expm1","log1p","toString","hashCodeString","sessionStorage","localStorage","external","indexOf","Sequentum","getNavigatorBasedKeys","webdriver","__selenium_evaluate","__fxdriver_evaluate","__webdriver_unwrapped","_WEBDRIVER_ELEM_CACHE","ChromeDriverw","webdriver-evaluate","selenium-evaluate","webdriverCommand","webdriver-evaluate-response","__webdriverFunc","__lastWatirConfirm","$cdc_asdjflasutopfhvcZLmcfl_","filter","product","userAgentData","storage","estimate","onLine","isActive","permissions","query","state","geolocation","sendBeacon","getNavigatorPrototype","hardwareConcurrency","getOwnPropertyDescriptor","languages","get","isArray","map","platform","url","referrer","getPerformanceTiming","timing","getPerformanceMemory","memory","getIndexedDB","indexedDB","DocumentTouch","maxTouchPoints","msMaxTouchPoints"];Re=ze,Ne=158,function(t){for(;--t;)Re.push(Re.shift())}(++Ne);var Ue=function(t,e){return ze[t-=0]};const Fe="deviceDataCalculationExpiry",Be=t=>t?[...t][Ue("0x0")](((t,e)=>t+Math[Ue("0x1")](e)),0):0;class Ke{constructor(t,e,i){this.storageManager=t,this[Ue("0x2")]=e,this.cryptoBinding=i}async[Ue("0x3")](){const t=this[Ue("0x2")][Ue("0x4")]("sdkDeviceDataCollectionIgnoreList",[]),e=this[Ue("0x2")][Ue("0x4")](Fe,36e5),i=await new Ze(t,this[Ue("0x5")])[Ue("0x6")]();return this[Ue("0x7")]=i,this[Ue("0x8")].setItemLocalStorageSafe(Fe,Date.now()+e),i}async[Ue("0x9")](){return Number(this[Ue("0x8")][Ue("0xa")](Fe))<Date[Ue("0xb")]()||!this[Ue("0x7")]?await this[Ue("0x3")]()||{}:this[Ue("0x7")]||{}}}class Ze{constructor(t,e){this[Ue("0xc")]=t,this.cryptoBinding=e,this[Ue("0xd")]={battery:this[Ue("0xe")],brave:this[Ue("0xf")],canvas:this[Ue("0x10")],codecs:this.getCodesTests,connection:this[Ue("0x11")],cookieEnabled:this.getCookieEnabled,cryptoRandomValues:this.getCryptoRandomValues,deviceMemory:this[Ue("0x12")],documentBasedKeys:this[Ue("0x13")],hardwareConcurrency:this[Ue("0x14")],indexedDB:this.getIndexedDB,fidoEnabled:this[Ue("0x15")],languages:this[Ue("0x16")],language:this[Ue("0x17")],timezoneOffset:this[Ue("0x18")],localStorage:this[Ue("0x19")],navigatorBasedKeys:this.getNavigatorBasedKeys,navigatorProduct:this[Ue("0x1a")],navigatorUserAgent:this[Ue("0x1b")],navigatorUAData:this[Ue("0x1c")],navigatorHighEntropyData:this[Ue("0x1d")],navigatorStorageEstimation:this[Ue("0x1e")],navigatorOnLine:this[Ue("0x1f")],navigatorIsUserActive:this[Ue("0x20")],math:this[Ue("0x21")],mediaMatch:this.getMediaMatch,openDatabase:this[Ue("0x22")],windowOrientation:this.getWindowOrientation,platform:this[Ue("0x23")],cpuClass:this[Ue("0x24")],osClass:this.getOsCpu,addBehavior:this[Ue("0x25")],productSub:this.getProductSub,mediaDevices:this.getMediaDevices,audioFingerprint:this[Ue("0x26")],audioFingerprintExtended:this[Ue("0x27")],fonts:this[Ue("0x28")],performanceTiming:this.getPerformanceTiming,performanceMemory:this.getPerformanceMemory,plugins:this[Ue("0x29")],screen:this[Ue("0x2a")],sequentum:this[Ue("0x2b")],sessionStorage:this[Ue("0x2c")],referrer:this[Ue("0x2d")],timezone:this[Ue("0x2e")],touchSupport:this[Ue("0x2f")],vendor:this[Ue("0x30")],buildID:this.getBuildID,webdriver:this[Ue("0x31")],webGlRenderer:this[Ue("0x32")],windowBasedKeys:this[Ue("0x33")],windowOuter:this[Ue("0x34")],webRTCDisabled:this.webRTCDisabled,cryptoBindingData:this.getCryptoBindingData[Ue("0x35")](this),notificationState:this[Ue("0x36")].bind(this,Ue("0x37")),geolocationState:this[Ue("0x36")][Ue("0x35")](this,"geolocation"),isGeoLocationExists:this[Ue("0x38")],isSendBeaconExists:this[Ue("0x39")],navigatorPrototype:this.getNavigatorPrototype,installedRelatedApps:this[Ue("0x3a")],windowConstructorAliasTest:this[Ue("0x3b")],windowDocumentAuxVarsTest:this[Ue("0x3c")],CDPRuntimeDomainTest:this[Ue("0x3d")]}}[Ue("0x3d")](){let t=!1;const e=new(window[Ue("0x3e")]);return window[Ue("0x3f")][Ue("0x40")](e,Ue("0x41"),{configurable:!1,enumerable:!1,get:function(){return t=!0,""}}),window[Ue("0x42")][Ue("0x43")](e.stack),t}[Ue("0x3c")](){for(const t of window[Ue("0x3f")].getOwnPropertyNames(window[Ue("0x44")]))if(t==Ue("0x45")||/^\$cdc_[a-zA-Z0-9]{22}_$/.test(t))return!0;for(const t of window[Ue("0x3f")][Ue("0x46")](window[Ue("0x3f")][Ue("0x47")](window[Ue("0x44")]))){if(!t.value||void 0===t[Ue("0x48")][Ue("0x49")])continue;const e=window[Ue("0x3f")][Ue("0x4a")](window.Object[Ue("0x4b")](t[Ue("0x48")])),i=[Ue("0x4c"),"retrieveItem",Ue("0x4d")];if(e.sort(),i.sort(),e[Ue("0x4e")](((t,e)=>t==i[e])))return!0}return!1}[Ue("0x3b")](){const t=window[Ue("0x3f")][Ue("0x4a")](window);for(const e of t){if(/^cdc_[a-zA-Z0-9]{22}_(Array|Promise|Symbol)$/.test(e))return!0;for(const t of[window[Ue("0x4f")],window[Ue("0x50")],window[Ue("0x51")]])if(e!=(null==t?void 0:t.name)&&e!=Ue("0x52")&&e!=Ue("0x53")&&window[e]===t)return!0}return!1}async[Ue("0x6")](){const t=this[Ue("0x54")]();return await this[Ue("0x55")](t)}[Ue("0x54")](){const t={};for(const[e,i]of Object[Ue("0x56")](this[Ue("0xd")]))if(!this[Ue("0xc")][Ue("0x57")](e))try{t[e]=Oe(i,100)}catch(i){ke.warn(Ue("0x58"),{e:i,key:e}),t[e]=Promise[Ue("0x59")]()}return t}async[Ue("0x55")](t){const e={};for(const[i,n]of Object[Ue("0x56")](t))try{e[i]=await n}catch(t){ke[Ue("0x5a")](Ue("0x5b"),{e:t,key:i}),e[i]=void 0}return e}[Ue("0x5c")](){const t=navigator.cookieEnabled;return Promise[Ue("0x59")](t)}async[Ue("0x15")](){return!!navigator[Ue("0x5d")]&&await window[Ue("0x5e")][Ue("0x5f")]()}[Ue("0x60")](){const t=window.crypto[Ue("0x61")](new Uint8Array(16));return Array.from(t)}[Ue("0x62")](){const t=null==window[Ue("0x63")];return Promise.resolve(t)}[Ue("0x33")](){const t=[Ue("0x64"),Ue("0x65"),Ue("0x66"),Ue("0x67"),Ue("0x68"),"__yb",Ue("0x69"),Ue("0x6a"),"__edgeTrackingPreventionStatistics",Ue("0x6b"),Ue("0x6c"),Ue("0x6d"),"ucweb","UCShellJava",Ue("0x6e"),Ue("0x6f"),Ue("0x70"),Ue("0x71"),Ue("0x72"),Ue("0x73"),Ue("0x74"),Ue("0x75"),Ue("0x76"),Ue("0x77"),Ue("0x78"),Ue("0x79"),"callSelenium","_Selenium_IDE_Recorder","__$webdriverAsyncExecutor",Ue("0x7a"),Ue("0x7b"),"__fxdriver_evaluate",Ue("0x7c"),Ue("0x7d"),"__lastWatirConfirm",Ue("0x7e"),"__selenium_evaluate",Ue("0x7f"),"__webdriver__chr",Ue("0x80"),Ue("0x81"),Ue("0x82"),"__webdriver_script_function","__webdriver_unwrapped",Ue("0x83"),Ue("0x84"),Ue("0x85"),Ue("0x86"),Ue("0x87"),"cdc_adoQpoasnfa76pfcZLmcfl_Symbol",Ue("0x88"),"fmget_targets",Ue("0x89"),Ue("0x8a"),Ue("0x8b"),Ue("0x8c"),"watinExpressionResult"],e=[];for(const i of t){const t=window[i];void 0!==t&&null!=t&&e[Ue("0x8d")](i)}return Promise.resolve(e)}[Ue("0x8e")](){const t={"dynamic-range":[Ue("0x8f"),Ue("0x90")],"prefers-reduced-motion":["no-preference",Ue("0x0")],"prefers-contrast":[Ue("0x91"),"high",Ue("0x92"),Ue("0x93"),Ue("0x94"),Ue("0x95")],"max-monochrome":["0","10",Ue("0x96"),Ue("0x97")],"forced-colors":["active","none"],"inverted-colors":[Ue("0x98"),"none"],"color-gamut":[Ue("0x99"),"p3","srgb"]},e={};for(const[i,n]of Object[Ue("0x56")](t))for(const t of n)e[i[Ue("0x9a")](/-/g,"_")+"_"+t[Ue("0x9a")](/-/g,"_")]=window[Ue("0x9b")]("("+i+": "+t+")")[Ue("0x9c")];return Promise[Ue("0x59")](e)}[Ue("0x21")](){const t=[Math[Ue("0xa0")](.12312423423423424),Math[Ue("0xa1")](1e308),(e=1e154,Math[Ue("0x9d")](e+Math[Ue("0x9e")](e*e-1))),Math[Ue("0xa2")](.12312423423423424),Math.asinh(1),Math[Ue("0x9d")](1+Math[Ue("0x9e")](2)),Math[Ue("0xa3")](.5),Math[Ue("0x9d")](3)/2,Math.atan(.5),Math[Ue("0xa4")](-1e300),Math[Ue("0xa5")](1),Math[Ue("0x9f")](1)-1/Math[Ue("0x9f")](1)/2,Math[Ue("0xa6")](10.000000000123),Math[Ue("0xa7")](1),(Math[Ue("0x9f")](1)+1/Math[Ue("0x9f")](1))/2,Math[Ue("0xa8")](-1e300),Math.tanh(1),(Math[Ue("0x9f")](2)-1)/(Math[Ue("0x9f")](2)+1),Math[Ue("0x9f")](1),Math[Ue("0xa9")](1),Math.exp(1)-1,Math[Ue("0xaa")](10),Math[Ue("0x9d")](11),Math.PI**-100];var e;let i="";for(let e=0;e<t.length;e++)i+=t[e][Ue("0xab")]();return Promise[Ue("0x59")](Ze[Ue("0xac")](i))}getConnection(){const{connection:t}=navigator,e=(t=>{let{downlink:e,effectiveType:i,rtt:n,saveData:r}=t;return{downlink:e,effectiveType:i,rtt:n,saveData:r}})(t);return Promise[Ue("0x59")](e)}[Ue("0x2c")](){return Promise[Ue("0x59")](!!window[Ue("0xad")])}[Ue("0x19")](){return Promise[Ue("0x59")](!!window[Ue("0xae")])}[Ue("0x2b")](){return-1!==window[Ue("0xaf")].toString()[Ue("0xb0")](Ue("0xb1"))}[Ue("0xb2")](){return[Ue("0xb3"),"__driver_evaluate",Ue("0x80"),Ue("0xb4"),Ue("0xb5"),Ue("0x7b"),Ue("0xb6"),"__selenium_unwrapped","__fxdriver_unwrapped","_Selenium_IDE_Recorder","_selenium","calledSelenium",Ue("0xb7"),Ue("0xb8"),"driver-evaluate",Ue("0xb9"),Ue("0xba"),Ue("0xbb"),Ue("0xbc"),Ue("0xbd"),Ue("0x81"),"__$webdriverAsyncExecutor",Ue("0x7d"),Ue("0xbe"),"__lastWatirPrompt","$chrome_asyncScriptInfo",Ue("0xbf"),"serviceWorker"][Ue("0xc0")]((t=>navigator[t]))}[Ue("0x1a")](){const t=navigator[Ue("0xc1")];return Promise[Ue("0x59")](t)}[Ue("0x1b")](){return navigator.userAgent}[Ue("0x1c")](){return navigator[Ue("0xc2")]}[Ue("0x1d")](){return Le()}[Ue("0x1e")](){return navigator[Ue("0xc3")][Ue("0xc4")]()}navigatorOnLine(){return navigator[Ue("0xc5")]}[Ue("0x20")](){return navigator.userActivation[Ue("0xc6")]}async[Ue("0x36")](t){try{const e=await navigator[Ue("0xc7")][Ue("0xc8")]({name:t});return null==e?void 0:e[Ue("0xc9")]}catch(t){}}[Ue("0x38")](){return!!navigator[Ue("0xca")]}[Ue("0x39")](){return"function"==typeof navigator[Ue("0xcb")]}[Ue("0xcc")](){return{hardwareConcurrency:Object.getOwnPropertyDescriptor(Object[Ue("0x4b")](navigator),Ue("0xcd")).get[Ue("0xab")](),languages:Object[Ue("0xce")](Object.getPrototypeOf(navigator),Ue("0xcf"))[Ue("0xd0")][Ue("0xab")]()}}async[Ue("0x3a")](){if("function"==typeof navigator[Ue("0x3a")])try{const{related_applications:t}=await navigator.getInstalledRelatedApps();if(t&&Array[Ue("0xd1")](t))return t[Ue("0xd2")]((t=>({platform:t[Ue("0xd3")],url:t[Ue("0xd4")]})))}catch(t){}}[Ue("0x2d")](){return document[Ue("0xd5")]}[Ue("0xd6")](){return performance[Ue("0xd7")]}[Ue("0xd8")](){const{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:i}=performance[Ue("0xd9")];return{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:i}}[Ue("0xda")](){return Promise[Ue("0x59")](!!window[Ue("0xdb")])}[Ue("0x22")](){const{openDatabase:t}=window;return Promise[Ue("0x59")](!!t)}[Ue("0x2f")](){const t=window[Ue("0xdc")]&&document instanceof DocumentTouch,e={maxTouchPoints:navigator[Ue("0xdd")]||navigator[Ue("0xde")]||0,documentTouch:t,ontouchstart:"ontouchstart"in window};return Promise[Ue("0x59")](e)}getPlugins(){function t(t){const e=[];for(let i=0;i<t[Ue("0xdf")];++i)e[Ue("0x8d")]({type:t[i].type,suffixes:t[i][Ue("0xe0")]});return e}const e=[];for(let i=0;i<navigator[Ue("0xe1")][Ue("0xdf")];++i){const n=navigator[Ue("0xe1")][i];n&&e.push({name:n[Ue("0xe2")],description:n[Ue("0xe3")],mimeTypes:t(n)})}return Promise.resolve(e)}[Ue("0x2a")](){const t=window[Ue("0xe4")]||screen,{availLeft:e}=t,{availTop:i}=t,n={availHeight:t.availHeight,availLeft:e,availTop:i,availWidth:t[Ue("0xe5")],colorDepth:t[Ue("0xe6")],height:t[Ue("0xe7")],width:t[Ue("0xe8")],pixelDepth:t[Ue("0xe9")],orientationAngle:t[Ue("0xea")]&&t[Ue("0xea")].angle,orientationType:t.orientation&&t[Ue("0xea")][Ue("0xeb")],devicePixelRatio:window.devicePixelRatio};return Promise[Ue("0x59")](n)}static[Ue("0xac")](t){if(null==t)return;let e=0,i=0;const n=t[Ue("0xdf")];for(;i<n;)e=(e<<5)-e+t.charCodeAt(i++)|0;return e}[Ue("0x34")](){const t={outerWidth:window[Ue("0xec")],outerHeight:window.outerHeight};return Promise[Ue("0x59")](t)}[Ue("0x31")](){const t=navigator[Ue("0xb3")];return Promise.resolve(t)}[Ue("0xed")](){const t=window[Ue("0xea")];return Promise[Ue("0x59")](t)}getPlatform(){const t=navigator.platform;return Promise[Ue("0x59")](t)}getCpuClass(){const t=navigator[Ue("0xee")];return Promise[Ue("0x59")](t)}[Ue("0xef")](){const t=navigator[Ue("0xf0")];return Promise[Ue("0x59")](t)}[Ue("0x25")](){const t=!!window[Ue("0xf1")][Ue("0xf2")][Ue("0xf3")];return Promise[Ue("0x59")](t)}[Ue("0xf4")](){const t=navigator[Ue("0xf5")];return Promise[Ue("0x59")](t)}async getMediaDevices(){const t=await navigator[Ue("0xf6")].enumerateDevices(),e=[];for(const i of t)e[Ue("0x8d")]({kind:i[Ue("0xf7")],label:i.label,deviceId:i[Ue("0xf8")],groupId:i.groupId});return e}async[Ue("0x26")](){const t=window[Ue("0xf9")]||window[Ue("0xfa")];if(!t)return-1;const e=new t(1,5e3,44100),i=e[Ue("0xfb")]();i[Ue("0xeb")]=Ue("0xfc"),i.frequency[Ue("0x48")]=1e4;const n=e[Ue("0xfd")]();n[Ue("0xfe")][Ue("0x48")]=-50,n[Ue("0xff")][Ue("0x48")]=40,n[Ue("0x100")][Ue("0x48")]=12,n[Ue("0x101")][Ue("0x48")]=0,n.release[Ue("0x48")]=.25,i[Ue("0x102")](n),n[Ue("0x102")](e.destination),i[Ue("0x103")](0);const r=new Promise((async(t,i)=>{e[Ue("0x104")]=e=>t(e[Ue("0x105")]);try{await e[Ue("0x106")]()}catch(t){i(t)}})),a=(await r).getChannelData(0)[Ue("0x107")](4500);return Ze[Ue("0x108")](a)}async getAudioFingerprintExtended(){var t;const e=window[Ue("0xf9")]||window[Ue("0xfa")];if(!e)return{};const i=new e(1,5e3,44100),n=i[Ue("0xfb")]();n[Ue("0xeb")]=Ue("0xfc"),n[Ue("0x109")][Ue("0x48")]=1e4;const r=i[Ue("0xfd")]();r[Ue("0xfe")][Ue("0x48")]=-50,r.knee[Ue("0x48")]=40,r[Ue("0x101")].value=0;const a=i.createAnalyser();n[Ue("0x102")](r),r.connect(a),r[Ue("0x102")](i[Ue("0x10a")]),n[Ue("0x103")](0);try{await i[Ue("0x106")](),r[Ue("0x10b")](),n[Ue("0x10b")]();const e=new Float32Array(a[Ue("0x10c")]);null===(t=a[Ue("0x10d")])||void 0===t||t[Ue("0x10e")](a,e);const s=new Float32Array(a[Ue("0x10f")]);return Ue("0x110")in a&&a[Ue("0x110")](s),{gain:r[Ue("0x111")].value||r[Ue("0x111")],freq:Be(e),time:Be(s)}}catch(t){return{}}}static[Ue("0x108")](t){let e=0;for(let i=0;i<t[Ue("0xdf")];++i)e+=Math.abs(t[i]);return e}[Ue("0x28")](){const t=Ue("0x112"),e=[Ue("0x113"),Ue("0x114"),Ue("0x115")],i=[Ue("0x116"),"ARNO PRO",Ue("0x117"),Ue("0x118"),"Arial Unicode MS","AvantGarde Bk BT",Ue("0x119"),Ue("0x11a"),"Bitstream Vera Sans Mono","Calibri",Ue("0x11b"),Ue("0x11c"),Ue("0x11d"),Ue("0x11e"),Ue("0x11f"),Ue("0x120"),"Futura Md BT",Ue("0x121"),Ue("0x122"),Ue("0x123"),"Haettenschweiler",Ue("0x124"),Ue("0x125"),Ue("0x126"),Ue("0x127"),"Levenim MT","Lucida Bright","Lucida Sans",Ue("0x128"),"MS Mincho",Ue("0x129"),Ue("0x12a"),Ue("0x12b"),Ue("0x12c"),Ue("0x12d"),Ue("0x12e"),Ue("0x12f"),Ue("0x130"),Ue("0x131"),Ue("0x132"),Ue("0x133"),Ue("0x134"),"SCRIPTINA","Segoe UI Light",Ue("0x135"),"SimHei",Ue("0x136"),Ue("0x137"),Ue("0x138"),"Univers CE 55 Medium",Ue("0x139"),Ue("0x13a")],n=document[Ue("0x13b")](Ue("0x13c"));n[Ue("0x13d")][Ue("0x13e")]="hidden";const r={},a={},s=e=>{const i=document.createElement(Ue("0x13f")),{style:r}=i;return r[Ue("0x140")]=Ue("0x141"),r[Ue("0x142")]="0",r[Ue("0x143")]="0",r[Ue("0x144")]=e,r[Ue("0x145")]=Ue("0x146"),i[Ue("0x147")]=t,n[Ue("0x148")](i),i},o=(t,e)=>s("'"+t+"',"+e),x=e.map(s),l=(()=>{const t={};for(const n of i)t[n]=e[Ue("0xd2")]((t=>o(n,t)));return t})();document[Ue("0x14a")][Ue("0x148")](n);try{for(let t=0;t<e[Ue("0xdf")];t++)r[e[t]]=x[t][Ue("0x14b")],a[e[t]]=x[t].offsetHeight;const t=i[Ue("0xc0")]((t=>{return i=l[t],e.some(((t,e)=>i[e].offsetWidth!==r[t]||i[e][Ue("0x149")]!==a[t]));var i}));return Promise[Ue("0x59")](t)}finally{document[Ue("0x14a")].removeChild(n)}}[Ue("0x18")](){const t=(new Date)[Ue("0x18")]();return Promise.resolve(t)}[Ue("0x17")](){const t=navigator.language;return Promise.resolve(t)}[Ue("0x16")](){const t=navigator[Ue("0xcf")];return Promise[Ue("0x59")](t)}[Ue("0x14")](){const t=navigator[Ue("0xcd")];return Promise.resolve(t)}[Ue("0x12")](){const t=navigator.deviceMemory;return Promise[Ue("0x59")](t)}getDocumentBasedKeys(){return[Ue("0x80"),Ue("0xb4"),Ue("0x14c"),"__webdriver_script_func",Ue("0x81"),Ue("0xb5"),Ue("0x7b"),Ue("0xb6"),"__driver_evaluate",Ue("0x7f"),Ue("0x7c")][Ue("0xc0")]((t=>document[t]))}[Ue("0x2e")](){const t=Intl[Ue("0x14d")]()[Ue("0x14e")]()[Ue("0x14f")];return Promise[Ue("0x59")](t)}[Ue("0x30")](){const t=navigator[Ue("0x150")];return Promise[Ue("0x59")](t)}[Ue("0x151")](){const t=navigator[Ue("0x152")];return Promise[Ue("0x59")](t)}async[Ue("0x10")](){const t=document.createElement(Ue("0x169"));t[Ue("0xe8")]=1,t[Ue("0xe7")]=1;const e=t[Ue("0x16a")]("2d"),i={winding:function(t){return t[Ue("0x167")](0,0,10,10),t[Ue("0x167")](2,2,6,6),!t[Ue("0x168")](5,5,Ue("0x165"))}(e),geometry:function(t,e){t[Ue("0xe8")]=122,t.height=110,e[Ue("0x15d")]="multiply";const i=[[Ue("0x15e"),40,40],[Ue("0x15f"),80,40],[Ue("0x160"),60,80]];for(const[t,n,r]of i)e[Ue("0x155")]=t,e[Ue("0x161")](),e[Ue("0x162")](n,r,40,0,2*Math.PI,!0),e.closePath(),e[Ue("0x163")]();return e[Ue("0x155")]=Ue("0x164"),e[Ue("0x162")](60,60,60,0,2*Math.PI,!0),e[Ue("0x162")](60,60,20,0,2*Math.PI,!0),e[Ue("0x163")](Ue("0x165")),Ze[Ue("0xac")](t[Ue("0x166")]())}(t,e),text:function(t,e){t[Ue("0xe8")]=240,t[Ue("0xe7")]=60,e[Ue("0x153")]=Ue("0x154"),e[Ue("0x155")]="#f60",e[Ue("0x156")](100,1,62,20),e[Ue("0x155")]="#069",e.font='11pt "Times New Roman"';const i=Ue("0x157")+String[Ue("0x158")](55357,56835);return e.fillText(i,2,15),e.fillStyle=Ue("0x159"),e[Ue("0x15a")]=Ue("0x15b"),e[Ue("0x15c")](i,4,45),Ze.hashCodeString(t.toDataURL())}(t,e)};return Promise[Ue("0x59")](i)}async[Ue("0xe")](){const t=await navigator[Ue("0xe")]();return{charging:t[Ue("0x16b")],chargingTime:t.chargingTime,dischargingTime:t[Ue("0x16c")],level:t.level}}async[Ue("0xf")](){return!!navigator.brave&&await navigator.brave.isBrave()}async[Ue("0x32")](){const t=document[Ue("0x13b")](Ue("0x169")),e=t.getContext(Ue("0x16d"))||t[Ue("0x16a")](Ue("0x16e")),i=e[Ue("0x16f")]("WEBGL_debug_renderer_info");return Promise.resolve(e[Ue("0x170")](i[Ue("0x171")]))}async[Ue("0x172")](){const t=document.createElement(Ue("0x173")),e={basic:""===t[Ue("0x174")](Ue("0x175")),advanced:""===t[Ue("0x174")](Ue("0x176"))};return Promise.resolve(e)}async[Ue("0x177")](){const{publicKey:t,keyIdentifier:e,errors:i}=await this[Ue("0x5")][Ue("0x178")](),n={publicKey:t,keyIdentifier:e};return(null==i?void 0:i[0])&&(n[Ue("0x179")]=i[0]),n}static[Ue("0x17a")](){return/iPhone|iPad|iPod|Android|MiuiBrowser/i[Ue("0x17b")](navigator[Ue("0x17c")])||null!=window.orientation||window[Ue("0x9b")]("only screen and (max-width: 600px)")[Ue("0x9c")]}}var He,Ve,je=["EVENT_TYPE_INTERACTION","interaction","EVENT_TYPE_IDENTIFICATION","identification","mobile_web","EVENT_TYPE_ACTION","action","EVENT_TYPE_DEVICE","device"];He=je,Ve=491,function(t){for(;--t;)He.push(He.shift())}(++Ve);var We,Ye,Ge=function(t,e){return je[t-=0]};(Ye=We||(We={}))[Ge("0x0")]=Ge("0x1"),Ye[Ge("0x2")]=Ge("0x3"),Ye[Ge("0x4")]=Ge("0x5"),Ye[Ge("0x6")]=Ge("0x7");const Je="desktop_web",qe=Ge("0x8");var Qe,Xe,$e=["fetchConf","isMobile","device/conf?tenantId=","&type=","requestsManager","getData","error","loadConf","storageManager","getItemLocalStorageSafe","error loading config","shouldUpdateConf","getConfValue","now","refreshConf","length","stringify","timestamp","conf"];Qe=$e,Xe=321,function(t){for(;--t;)Qe.push(Qe.shift())}(++Xe);var ti=function(t,e){return $e[t-=0]};const ei=ti("0x0");class ii{constructor(t,e){this.storageManager=t,this.requestsManager=e,this[ti("0x1")]=this.loadConf()}async[ti("0x2")](t){try{const e=Ze[ti("0x3")]()?qe:Je,i=ti("0x4")+t+ti("0x5")+e,n=await this[ti("0x6")][ti("0x7")](i);return null!=n?n:{}}catch(e){return ke[ti("0x8")]("error fetching config",{clientId:t,error:e}),{}}}[ti("0x9")](){const t=this[ti("0xa")][ti("0xb")]("ric");if(null!=t)try{return JSON.parse(t)}catch(t){ke[ti("0x8")](ti("0xc"),{error:t})}return{}}[ti("0xd")](){const t=this[ti("0xe")](ei,0);return Date[ti("0xf")]()-t>36e5}async[ti("0x10")](t){if(!this[ti("0xd")]())return!1;let e=await this.fetchConf(t);return 0==Object.keys(e)[ti("0x11")]?e=this[ti("0x9")]():this.storageManager.setItemLocalStorageSafe("ric",JSON[ti("0x12")](e)),this[ti("0x1")]=e,!0}getConfValue(t,e){const i=void 0!==this[ti("0x1")]?this[ti("0x1")][t]:void 0;return null!=i?i:e}}var ni,ri,ai=["push","now","base64UrlEncode","encode","fromCharCode","replace","base64ToBase64Url","splice"];ni=ai,ri=191,function(t){for(;--t;)ni.push(ni.shift())}(++ri);var si=function(t,e){return ai[t-=0]};class oi{static maintainLastXItems(t,e,i){return t.length>=e&&t[si("0x0")](0,1),t[si("0x1")](i),t}static getEventHighResTimestamp(t){var e,i;return(null!==(e=performance.timeOrigin)&&void 0!==e?e:Date.now()-performance[si("0x2")]())+(null!==(i=null==t?void 0:t.timeStamp)&&void 0!==i?i:performance[si("0x2")]())}static[si("0x3")](t){const e=(new TextEncoder)[si("0x4")](t),i=String[si("0x5")](...e);return btoa(i)[si("0x6")](/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}static[si("0x7")](t){return t[si("0x6")](/\+/g,"-")[si("0x6")](/\//g,"_")[si("0x6")](/=/g,"")}}var xi,li,ci=["function","length","parentId","altKey","detail","sourceCapabilities","firesTouchEvents","target","isTrusted","cancelable","composed","view","data","buffer","collect","extractEventData","maintainLastXItems","getData","now","extractButtonsPressedData","ctrlKey","shiftKey","buttons","bufferSize","getEventHighResTimestamp","getCoalescedEvents"];xi=ci,li=168,function(t){for(;--t;)xi.push(xi.shift())}(++li);var hi=function(t,e){return ci[t-=0]};class di{constructor(t){this[hi("0x0")]=[],this[hi("0x1")]=t}[hi("0x2")](t){const e=this[hi("0x3")](t);oi[hi("0x4")](this[hi("0x0")],this[hi("0x1")],e)}[hi("0x5")](){return this.data}extractEventData(t){return r({x:t.x,y:t.y,tspl:Date[hi("0x6")]()},this[hi("0x7")](t))}[hi("0x7")](t){return r(r(r(r({},t[hi("0x8")]&&{ctrlKey:!0}),t.altKey&&{altKey:!0}),t[hi("0x9")]&&{shiftKey:!0}),0!=t[hi("0xa")]&&{buttons:t.buttons})}}class ui{constructor(t){this[hi("0x0")]=[],this[hi("0xb")]=t}collect(t){const e=oi[hi("0xc")](t);if(typeof t[hi("0xd")]===hi("0xe")){const i=t.getCoalescedEvents();if(i&&i[hi("0xf")]>0)return void i.forEach((t=>{const i=this.extractEventData(t,e,!0);oi[hi("0x4")](this[hi("0x0")],this[hi("0xb")],i)}))}const i=this[hi("0x3")](t,e,!1);oi.maintainLastXItems(this[hi("0x0")],this[hi("0xb")],i)}[hi("0x5")](){return this[hi("0x0")]}[hi("0x3")](t,e,i){const n=r({x:t.x,y:t.y,timestampHighRes:oi[hi("0xc")](t)},this[hi("0x7")](t));return i&&(n[hi("0x10")]=e),n}[hi("0x7")](t){return r(r(r(r({},t.ctrlKey&&{ctrlKey:!0}),t[hi("0x11")]&&{altKey:!0}),t[hi("0x9")]&&{shiftKey:!0}),0!=t[hi("0xa")]&&{buttons:t.buttons})}}class gi{constructor(t){this[hi("0x0")]=[],this[hi("0x1")]=t}[hi("0x2")](t){var e;const i={x:t.x,y:t.y,timestamp:Date.now(),mouseButtonType:t[hi("0x12")],offsetX:t.offsetX,offsetY:t.offsetY,isPressed:null==(null===(e=t[hi("0x13")])||void 0===e?void 0:e[hi("0x14")])?null:!t.sourceCapabilities.firesTouchEvents,target_id:t[hi("0x15")].id};oi[hi("0x4")](this[hi("0x0")],this[hi("0x1")],i)}[hi("0x5")](){const t=[...this.data];return this[hi("0x0")]=[],t}}class fi{constructor(t){this[hi("0x0")]=[],this[hi("0xb")]=t}collect(t){var e;const i={isTrusted:t[hi("0x16")],cancelable:t[hi("0x17")],composed:t[hi("0x18")],isView:!!t[hi("0x19")],shiftKey:t.shiftKey,metaKey:t.metaKey,ctrlKey:t[hi("0x8")],altKey:t.altKey,firesTouchEvents:null===(e=t[hi("0x13")])||void 0===e?void 0:e[hi("0x14")],timestamp:Date[hi("0x6")]()};oi[hi("0x4")](this[hi("0x0")],this[hi("0xb")],i)}[hi("0x5")](){const t=[...this[hi("0x0")]];return this[hi("0x0")]=[],t}}class _i{constructor(t){this[hi("0x0")]=[],this.bufferSize=t}[hi("0x2")](t){var e;const i={isTrusted:t[hi("0x16")],cancelable:t[hi("0x17")],composed:t.composed,isView:!!t[hi("0x19")],location:t.location,shiftKey:t[hi("0x9")],ctrlKey:t[hi("0x8")],altKey:t[hi("0x11")],firesTouchEvents:null===(e=t[hi("0x13")])||void 0===e?void 0:e[hi("0x14")],timestamp:Date[hi("0x6")]()};oi[hi("0x4")](this.data,this.bufferSize,i)}getData(){const t=this.data;return this[hi("0x0")]=[],t}}class pi{constructor(t){this[hi("0x0")]=[],this[hi("0xb")]=t}[hi("0x2")](t){const e={isTrusted:t[hi("0x16")],cancelable:t[hi("0x17")],composed:t[hi("0x18")],inputType:t.inputType,isView:!!t.view,timestamp:Date[hi("0x6")]()};oi[hi("0x4")](this[hi("0x0")],this[hi("0xb")],e)}[hi("0x5")](){const t=this[hi("0x0")];return this[hi("0x0")]=[],t}}class vi{constructor(t){this[hi("0x0")]=[],this.bufferSize=t}[hi("0x2")](t){const e={isTrusted:t.isTrusted,cancelable:t[hi("0x17")],composed:t[hi("0x18")],timestamp:Date[hi("0x6")]()};oi.maintainLastXItems(this.data,this[hi("0xb")],e)}[hi("0x5")](){const t=this[hi("0x0")];return this[hi("0x0")]=[],t}}var mi,wi,bi=["detail","sourceCapabilities","firesTouchEvents","offsetX","offsetY","target","isTrusted","cancelable","clipboardData","dropEffect","effectAllowed","mouseEventsCollectionBuffer","inputTypeFilter","keys","dataset","overlaysContent","visibilityState","hasFocus","getEventHighResTimestamp","selectMoveEventTypeBasedOnRollout","getItemLocalStorageSafe","random","persistRolloutAndMoveEventTypeSelections","getStoredMoveEventType","tagName","registerEventListeners","entries","includes","Error while adding listener","filter","handleEvent","forEach","collect","getGenericAttributes","addSafeInteractionListener","error","error adding interaction listener","getAttachedData","eventTypesToAttach","getData","location","href","change","click","paste","mousemove","pointermove","mousedown","submit","keyup","input","focusout","blur","visibilitychange","pagehide","pageshow","pointerevents","SELECT","TEXTAREA","pecrp","cmet","storageManager","deviceEventDataCollectionIgnoreList","safeEventCallback","pointerMoveRolloutPercentage","moveEventType","detectMoveEventType","interactionEventsCollectorsData"];mi=bi,wi=382,function(t){for(;--t;)mi.push(mi.shift())}(++wi);var yi=function(t,e){return bi[t-=0]};const Si=yi("0x0"),Ei=yi("0x1"),Ii=yi("0x2"),Ti=yi("0x3"),Di=yi("0x4"),ki="mouseup",Ci=yi("0x5"),Ai=yi("0x6"),Mi=yi("0x7"),Pi="keydown",Li=yi("0x8"),Oi=yi("0x9"),Ri="focus",Ni=yi("0xa"),zi=yi("0xb"),Ui=yi("0xc"),Fi=yi("0xd"),Bi=yi("0xe"),Ki=["INPUT",yi("0xf"),yi("0x10")],Zi=yi("0x11"),Hi=yi("0x12");class Vi{constructor(t,e,i,n,a){this[yi("0x13")]=n,this[yi("0x14")]=t,this.mouseEventsCollectionBuffer=e,this[yi("0x15")]=i,this[yi("0x16")]=a,this[yi("0x17")]=this[yi("0x18")](),this[yi("0x19")]={[Ei]:{eventTypesToAttach:[this[yi("0x17")],ki,Ci],attributesMapper:t=>{var e;return{x:t.x,y:t.y,mouseButtonType:t[yi("0x1a")],isPressed:null==(null===(e=t[yi("0x1b")])||void 0===e?void 0:e[yi("0x1c")])?null:!t.sourceCapabilities[yi("0x1c")],offsetX:t[yi("0x1d")],offsetY:t[yi("0x1e")],target_id:t[yi("0x1f")].id}}},[Ii]:{attributesMapper:t=>({target_id:t.target.id,isTrusted:t[yi("0x20")],cancelable:t[yi("0x21")],composed:t.composed,dropEffect:t[yi("0x22")][yi("0x23")],effectAllowed:t[yi("0x22")][yi("0x24")]})},[Ai]:{attributesMapper:t=>({target_id:t[yi("0x1f")].id})},[Ti]:{continousCollectors:[new di(this[yi("0x25")])]},[Di]:{continousCollectors:[new ui(this.mouseEventsCollectionBuffer)]},[ki]:{continousCollectors:[new gi(1)]},[Ci]:{continousCollectors:[new gi(1)]},[Oi]:{eventTypesToAttach:[Li,Mi,Pi,Si],filter:this[yi("0x26")],attributesMapper:t=>{const{target:e,isTrusted:i,cancelable:n,composed:a}=t;return r({target_id:e.id,dataset_keys:Object[yi("0x27")](e[yi("0x28")]||{}),isTrusted:i,cancelable:n,composed:a},navigator.virtualKeyboard&&{navigator_virtualKeyboard:navigator.virtualKeyboard[yi("0x29")]})}},[Li]:{filter:this[yi("0x26")],continousCollectors:[new pi(50)]},[Mi]:{filter:this[yi("0x26")],continousCollectors:[new _i(50)]},[Pi]:{filter:this[yi("0x26")],continousCollectors:[new fi(50)]},[Si]:{continousCollectors:[new vi(50)]},[Ri]:{attributesMapper:t=>{var e;return{visibilityState:document[yi("0x2a")],hasFocus:document[yi("0x2b")](),timestampHighRes:oi[yi("0x2c")](t),target_id:null===(e=t[yi("0x1f")])||void 0===e?void 0:e.id}}},[Ni]:{attributesMapper:t=>{var e;return{visibilityState:document[yi("0x2a")],hasFocus:document.hasFocus(),timestampHighRes:oi.getEventHighResTimestamp(t),target_id:null===(e=t[yi("0x1f")])||void 0===e?void 0:e.id}}},[zi]:{attributesMapper:t=>({visibilityState:document.visibilityState,hasFocus:document[yi("0x2b")](),timestampHighRes:oi[yi("0x2c")](t)})},[Ui]:{attributesMapper:t=>({visibilityState:document[yi("0x2a")],hasFocus:document.hasFocus(),timestampHighRes:oi[yi("0x2c")](t)})},[Fi]:{attributesMapper:t=>({visibilityState:document[yi("0x2a")],hasFocus:document[yi("0x2b")](),timestampHighRes:oi[yi("0x2c")](t)})}}}[yi("0x18")](){return"undefined"!=typeof window&&window.PointerEvent?this[yi("0x2d")]():Ti}selectMoveEventTypeBasedOnRollout(){const t=this[yi("0x13")][yi("0x2e")](Zi);if((null!=t?Number(t):null)!==this[yi("0x16")]){const t=Math[yi("0x2f")]()<this.pointerMoveRolloutPercentage/100?Di:Ti;return this[yi("0x30")](t),t}return this[yi("0x31")]()}[yi("0x30")](t){this[yi("0x13")].setItemLocalStorageSafe(Zi,this[yi("0x16")]),this[yi("0x13")].setItemLocalStorageSafe(Hi,t)}[yi("0x31")](){const t=this[yi("0x13")][yi("0x2e")](Hi);return(e=t)===Di||e===Ti?t:Ti;var e}[yi("0x26")](t){var e;const i=null===(e=t[yi("0x1f")])||void 0===e?void 0:e[yi("0x32")];return Ki.includes(i)}[yi("0x33")](){for(const[t,e]of Object[yi("0x34")](this[yi("0x19")]))if(!this[yi("0x14")][yi("0x35")](t)&&!(t===Ti&&this[yi("0x17")]===Di||t===Di&&this[yi("0x17")]===Ti))try{this.addSafeInteractionListener(t,e)}catch(e){ke.error(yi("0x36"),{error:e,eventType:t})}}[yi("0x37")](t,e){return!t[yi("0x37")]||t[yi("0x37")](e)}async[yi("0x38")](t,e,i){const{attributesMapper:n,continousCollectors:a}=t;if(!this[yi("0x37")](t,e))return!1;if(a)a[yi("0x39")]((t=>{t[yi("0x3a")](e)}));else{const t=this[yi("0x3b")](),a=this.getAttachedData(i),s=r(r(r({},t),n(e)),a&&{attachedEventsData:a});await this[yi("0x15")](i,s)}return!0}[yi("0x3c")](t,e){window.addEventListener(t,(async i=>{try{await this[yi("0x38")](e,i,t)}catch(t){ke[yi("0x3d")](yi("0x3e"),{error:t})}}),t===Ri||t===Ni)}[yi("0x3f")](t){let e;const i=this[yi("0x19")][t][yi("0x40")];return i&&(e={},i[yi("0x39")]((t=>{const{continousCollectors:i}=this[yi("0x19")][t];if(i){const n=t===Di?Bi:t;i[yi("0x39")]((t=>e[n]=t[yi("0x41")]()))}}))),e}[yi("0x3b")](){return{location:window[yi("0x42")][yi("0x43")]}}}var ji,Wi,Yi=["ALLOW","CHALLENGE","DENY","TRUST","compress","compressed","uncompressed"];ji=Yi,Wi=284,function(t){for(;--t;)ji.push(ji.shift())}(++Wi);var Gi,Ji,qi,Qi,Xi=function(t,e){return Yi[t-=0]};(Ji=Gi||(Gi={}))[Xi("0x0")]=Xi("0x1"),Ji[Xi("0x2")]=Xi("0x2"),(Qi=qi||(qi={})).ALLOW=Xi("0x3"),Qi[Xi("0x4")]=Xi("0x4"),Qi.DENY=Xi("0x5"),Qi[Xi("0x6")]=Xi("0x6");var $i,tn,en=["crypto","getRandomValues","arrayBufferToBase64","encryptSymKeyBundle","exportKey","raw","stringify","byteLength","fromCharCode","btoa","importKey","jwk","RSA-OAEP","SHA-256","crypto is not supported","generateSymKey","subtle","generateKey","AES-GCM","encrypt","decrypt","encryptPayload","string","encode"];$i=en,tn=111,function(t){for(;--t;)$i.push($i.shift())}(++tn);var nn=function(t,e){return en[t-=0]};class rn{constructor(t){this.configManager=t}[nn("0x0")](){return window.crypto[nn("0x1")][nn("0x2")]({name:nn("0x3"),length:256},!0,[nn("0x4"),nn("0x5")])}async[nn("0x6")](t,e){const i=typeof t===nn("0x7")?(new TextEncoder)[nn("0x8")](t):t,n=window[nn("0x9")][nn("0xa")](new Uint8Array(12)),r={name:nn("0x3"),iv:n},a=await window[nn("0x9")].subtle[nn("0x4")](r,e,i);return{payloadCipherText:this[nn("0xb")](a),iv:n}}async[nn("0xc")](t,e,i){const n=await window.crypto[nn("0x1")][nn("0xd")](nn("0xe"),t),r=this[nn("0xb")](n),a=this[nn("0xb")](e),s=(new TextEncoder)[nn("0x8")](JSON[nn("0xf")]({symKey:r,iv:a})),o=await window[nn("0x9")][nn("0x1")][nn("0x4")]({name:"RSA-OAEP"},i,s);return this[nn("0xb")](o)}[nn("0xb")](t){let e="";const i=new Uint8Array(t),n=i[nn("0x10")];for(let t=0;t<n;t++)e+=String[nn("0x11")](i[t]);return window[nn("0x12")](e)}importPublicKey(t){return window[nn("0x9")][nn("0x1")][nn("0x13")](nn("0x14"),JSON.parse(t),{name:nn("0x15"),hash:nn("0x16")},!0,[nn("0x4")])}async[nn("0x4")](t,e){if(!window[nn("0x9")]||!window[nn("0x9")][nn("0x1")])throw new Error(nn("0x17"));const i=await this[nn("0x0")](),{payloadCipherText:n,iv:r}=await this[nn("0x6")](e,i),a=await this.importPublicKey(t);return{encryptedData:n,encryptedKey:await this[nn("0xc")](i,r,a)}}}var an,sn,on=["errorCode",", errorCode: ","toLog","CLIENT","COMMUNICATION","communication","errorSpace","message","error","name","toString","SDKError: ",", errorSpace: "];an=on,sn=107,function(t){for(;--t;)an.push(an.shift())}(++sn);var xn,ln,cn=function(t,e){return on[t-=0]};(ln=xn||(xn={}))[cn("0x0")]="client",ln.SERVER="server",ln[cn("0x1")]=cn("0x2");class hn extends Error{constructor(t,e,i){var n,r;super(),this.error=t,this[cn("0x3")]=e,this.errorCode=i,this[cn("0x4")]=(null===(n=this[cn("0x5")])||void 0===n?void 0:n[cn("0x4")])||this[cn("0x5")].toString(),this.name=(null===(r=this.error)||void 0===r?void 0:r[cn("0x6")])||hn[cn("0x6")]}[cn("0x7")](){return cn("0x8")+this.message+(this[cn("0x3")]?cn("0x9")+this.errorSpace:"")+(this[cn("0xa")]?cn("0xb")+this.errorCode:"")}[cn("0xc")](){return r(r({name:this.name,message:this.message},this[cn("0x3")]&&{errorSpace:this.errorSpace}),this[cn("0xa")]&&{errorCode:this.errorCode})}}var dn,un,gn=["filter"];dn=gn,un=457,function(t){for(;--t;)dn.push(dn.shift())}(++un);var fn,_n,pn=["lse","mouseEventsCollectionBuffer","deviceEventDataCollectionIgnoreList","bufferSize","bufferInterval","EVENT_TYPE_ACTION","EVENT_TYPE_IDENTIFICATION","EVENT_TYPE_DEVICE","localStoredEventTypes","maxLocalStoredEvents","key_rotation_data","key_rotation_status","configManager","getConfValue","standard","storageManager","requestsManager","identityManager","cryptoBinding","serverPath","enableSessionToken","tier","eventIndex","eventIdMap","flushLock","ACTION_TOKEN_CACHE_TTL","ACTION_TOKEN_CACHE_MAX_SIZE","flushTimeoutHandle","EVENT_TYPE_INTERACTION","emitEvent","eventsQueue","crypto","interactionEventsManager","safeEventCallback","isMobile","eventTypesToStore","maxEventStored","pollingInterval","lightweight","pollingSessionToken","generateEventIdentifier","has","get","type","getDeviceId","getUserId","index","attributes","set","getActionEventCacheKey","getClientId","timestamp","action_type","correlationId","getCachedActionToken","includes","actionTokenCache","now","delete","token","cacheActionToken","size","keys","next","value","pendingQueueEnabled","info","Returning cached action token","location","platform","sdkVersion","tabId","getTabId","enrichUADataIfDoesNotExist","addEventToLocalStorage","push","length","flush","errorCode","min","catch","Error while emitting event (delayed flush)","toLog","refreshSessionToken","sendDeviceDataEvent","Failed to refresh data","error","navigatorHighEntropyData","popAllEvents","pop","processingEvents","add","fetchEventsFromLocalStorage","forEach","sort","clientId","deviceId","userId","keyIdentifier","publicKeyId","warn","Crypto-binding is not supported. ","sessionToken","buildEncryptedRequestBody","data","signature","postData","device/events","headers","find","setSessionToken","setUserId","actionToken","cleanupSentEvents","Encryption error - missing public key","COMMUNICATION","compressData","encrypt","compress","uncompressed","Failed to compress data, sending the data to the service uncompressed","increaseEventIndex","getItemLocalStorageSafe","isNaN","toString","shouldSendDeviceEvent","no need to send device event","deviceDataManager","getDeviceData","sendPageLoadEvent","page_load","extractWindowRespurces","href","referrer","history","performance","getEntriesByType","resources","isArray","map","name","initiatorType","registerEventListeners","[Lightweight] getPayload() can only be called in lightweight mode","[Lightweight] Building fresh device payload","[Lightweight] Failed to collect device data","mobile_web","clearQueue","[Lightweight] clearQueue() called in standard mode - ignoring","removeItemLocalStorageSafe","parse","maintainLastXItems","setItemLocalStorageSafe","stringify","cleanLocalStorageEvents","filter","lastDeviceInDeviceEvent","rei"];fn=pn,_n=472,function(t){for(;--t;)fn.push(fn.shift())}(++_n);var vn=function(t,e){return pn[t-=0]};const mn="ddls",wn=vn("0x0"),bn=vn("0x1"),yn=vn("0x2"),Sn=vn("0x3"),En=vn("0x4"),In=vn("0x5"),Tn=vn("0x6"),Dn=[We[vn("0x7")],We[vn("0x8")],We[vn("0x9")]],kn=[We[vn("0x7")],We.EVENT_TYPE_IDENTIFICATION],Cn=vn("0xa"),An=vn("0xb"),Mn=vn("0xc"),Pn=vn("0xd");class Ln{get pendingQueueEnabled(){return this[vn("0xe")][vn("0xf")]("enablePendingQueue",!1)}constructor(t,e,i,n,a,s,o,x){let l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:vn("0x10");this[vn("0xe")]=t,this[vn("0x11")]=e,this.deviceDataManager=i,this[vn("0x12")]=n,this[vn("0x13")]=a,this[vn("0x14")]=s,this[vn("0x15")]=o,this[vn("0x16")]=x,this[vn("0x17")]=l,this[vn("0x18")]=null,this[vn("0x19")]=new WeakMap,this[vn("0x1a")]=!1,this.processingEvents=new Map,this.actionTokenCache=new Map,this[vn("0x1b")]=36e5,this[vn("0x1c")]=100,this[vn("0x1d")]=null,this.safeEventCallback=async(t,e)=>{try{const i=r({},r({interaction_type:t},e)),n={type:We[vn("0x1e")],attributes:i};return await this[vn("0x1f")](n)}catch(t){}},this[vn("0x16")]=x,this[vn("0x20")]=[],this[vn("0x21")]=new rn(t),this[vn("0x22")]=new Vi(this[vn("0xe")][vn("0xf")](En,[]),this.configManager.getConfValue(Sn,100),this[vn("0x23")],this[vn("0x11")],this.configManager[vn("0xf")]("pointerEventRolloutPercentage",0)),this[vn("0x24")]=Ze[vn("0x24")](),this[vn("0x25")]=this[vn("0xe")].getConfValue(Cn,[We[vn("0x7")],We[vn("0x9")]]),this[vn("0x26")]=this[vn("0xe")].getConfValue(An,4),this[vn("0x27")]=36e4,this[vn("0x17")]!==vn("0x28")&&this[vn("0x29")]()}[vn("0x2a")](t){var e;if(this[vn("0x19")][vn("0x2b")](t))return this[vn("0x19")][vn("0x2c")](t);const i=[t[vn("0x2d")]||"",this[vn("0x13")].getClientId(),this[vn("0x13")][vn("0x2e")]()||"",this.identityManager[vn("0x2f")]()||"",t.timestamp,void 0!==(n=t[vn("0x30")])?n:"",(null===(e=t[vn("0x31")])||void 0===e?void 0:e.action_type)||""][(r="0x0",gn[r-=0])]((t=>""!==t)).join("-");var n,r;return this[vn("0x19")][vn("0x32")](t,i),i}[vn("0x33")](t){var e;return((null==t?void 0:t[vn("0x2d")])||"")+"-"+(this[vn("0x13")][vn("0x34")]()||"")+"-"+(this[vn("0x13")].getDeviceId()||"")+"-"+((null==t?void 0:t.userId)||this[vn("0x13")][vn("0x2f")]()||"")+"-"+((null==t?void 0:t[vn("0x35")])||"")+"-"+((null==t?void 0:t[vn("0x30")])||"")+"-"+((null===(e=null==t?void 0:t[vn("0x31")])||void 0===e?void 0:e[vn("0x36")])||(null==t?void 0:t[vn("0x37")])||"")}[vn("0x38")](t){if(!kn[vn("0x39")](null==t?void 0:t[vn("0x2d")]))return null;const e=this[vn("0x33")](t),i=this[vn("0x3a")][vn("0x2c")](e);return i?Date[vn("0x3b")]()-i[vn("0x35")]>this[vn("0x1b")]?(this[vn("0x3a")][vn("0x3c")](e),null):i[vn("0x3d")]:null}[vn("0x3e")](t,e){if(!kn[vn("0x39")](null==t?void 0:t[vn("0x2d")])||!e)return;if(this.actionTokenCache[vn("0x3f")]>=this[vn("0x1c")]){const t=this[vn("0x3a")][vn("0x40")]()[vn("0x41")]()[vn("0x42")];this.actionTokenCache[vn("0x3c")](t)}const i=this[vn("0x33")](t);this[vn("0x3a")][vn("0x32")](i,{token:e,timestamp:Date.now()})}async[vn("0x1f")](t){if(this[vn("0x43")]&&kn[vn("0x39")](null==t?void 0:t[vn("0x2d")])){const e=this[vn("0x38")](t);if(e)return ke[vn("0x44")](vn("0x45"),{actionType:t[vn("0x2d")],correlationId:t.correlationId}),{actionToken:e}}t[vn("0x30")]=this.increaseEventIndex(),t[vn("0x46")]=location.toString(),t[vn("0x47")]=navigator[vn("0x47")],t[vn("0x48")]="2.2.1",t.serverPath=this.serverPath,t[vn("0x49")]=this[vn("0x13")][vn("0x4a")](),t[vn("0x35")]=Date.now(),await this[vn("0x4b")](t);let e=0;if(this[vn("0x25")][vn("0x39")](t[vn("0x2d")])?e=this[vn("0x4c")](t):this[vn("0x20")][vn("0x4d")](t),this[vn("0x17")]===vn("0x28"))return{};const i=this[vn("0xe")][vn("0xf")](In,2);if(this.eventsQueue[vn("0x4e")]+e>=i||Dn[vn("0x39")](t[vn("0x2d")])){this[vn("0x1d")]&&(clearTimeout(this[vn("0x1d")]),this.flushTimeoutHandle=null);try{return await this[vn("0x4f")]()}catch(e){throw ke.error("Error while emitting event",{clientId:this[vn("0x13")][vn("0x34")](),eventType:t.type,error:e[vn("0x50")]?e.toLog():e}),e}}if(!this[vn("0x1d")]&&this.eventsQueue[vn("0x4e")]>0){const e=this[vn("0xe")].getConfValue(Tn,2),i=Math[vn("0x51")](e,30);this[vn("0x1d")]=setTimeout((()=>{this[vn("0x1d")]=null,this.flush()[vn("0x52")]((e=>{ke.error(vn("0x53"),{clientId:this.identityManager[vn("0x34")](),eventType:t[vn("0x2d")],error:e.errorCode?e[vn("0x54")]():e})}))}),1e3*i)}return{}}async[vn("0x55")](){try{return this.eventsQueue.length>0||await this[vn("0x56")](!0),await this[vn("0x4f")]()}catch(t){ke.error(vn("0x57"),{e:t})}}async[vn("0x29")](){try{this[vn("0x13")].isTokenExpired()&&await this[vn("0x55")]()}catch(t){ke[vn("0x58")]("Failed to polling data",{e:t})}finally{setTimeout((async()=>{await this[vn("0x29")]()}),this[vn("0x27")])}}async[vn("0x4b")](t){var e;if(!(null===(e=t.attributes)||void 0===e?void 0:e.navigatorHighEntropyData))try{t[vn("0x31")][vn("0x59")]=await Le()}catch(t){}}[vn("0x5a")](){if(this.pendingQueueEnabled){const t=[],e=new Set;for(;this[vn("0x20")].length;){const i=this[vn("0x20")][vn("0x5b")]();if(!i)break;const n=this.generateEventIdentifier(i);this[vn("0x5c")][vn("0x2b")](n)||e[vn("0x2b")](n)||(e[vn("0x5d")](n),t[vn("0x4d")](i))}const i=this[vn("0x5e")]();return(null==i?void 0:i.length)&&i[vn("0x5f")]((i=>{const n=this.generateEventIdentifier(i);this[vn("0x5c")][vn("0x2b")](n)||e.has(n)||(e[vn("0x5d")](n),t.push(i))})),t[vn("0x60")](((t,e)=>t.timestamp-e.timestamp))}{const t=[],e=this.fetchEventsFromLocalStorage();for(;this[vn("0x20")][vn("0x4e")];){const e=this[vn("0x20")][vn("0x5b")]();if(!e)break;t[vn("0x4d")](e)}return(null==e?void 0:e.length)&&t[vn("0x4d")](...e),t[vn("0x60")](((t,e)=>t[vn("0x35")]-e[vn("0x35")]))}}async flush(){let t=[];if(this[vn("0x43")]){for(;this[vn("0x1a")];)await new Promise((t=>setTimeout(t,10)));this[vn("0x1a")]=!0;try{if(t=this[vn("0x5a")](),0===t[vn("0x4e")])return{};t[vn("0x5f")]((t=>{const e=this[vn("0x2a")](t);this[vn("0x5c")].set(e,t)}))}finally{this[vn("0x1a")]=!1}}else if(t=this.popAllEvents(),0===t[vn("0x4e")])return{};const e={};e[vn("0x61")]=this[vn("0x13")].getClientId(),e[vn("0x62")]=this[vn("0x13")][vn("0x2e")](),e[vn("0x63")]=this[vn("0x13")][vn("0x2f")](),e.sdkPlatform=this[vn("0x24")]?qe:Je,e.events=t;try{const{keyIdentifier:t,publicKeyId:i}=await this.cryptoBinding.getPublicData();e[vn("0x64")]=t,e[vn("0x65")]=i}catch(t){ke[vn("0x66")](vn("0x67")+t)}this.enableSessionToken&&(e[vn("0x68")]=!0);try{const i=await this[vn("0x69")](e,!0),n=await this[vn("0x14")].getRotationData();let a;n&&(a=[{type:Mn,data:n[vn("0x6a")],signature:n[vn("0x6b")]}]);const s=await this[vn("0x12")][vn("0x6c")](vn("0x6d"),r(r({},i),a?{headers:a}:{}));if(s[vn("0x6e")]){const t=s[vn("0x6e")][vn("0x6f")]((t=>t[vn("0x2d")]===Pn));t&&t[vn("0x42")]&&this[vn("0x14")].handleRotateResponse(t.value)}return s[vn("0x62")]&&this[vn("0x13")].setDeviceId(s[vn("0x62")]),s[vn("0x68")]&&this[vn("0x13")][vn("0x70")](s[vn("0x68")]),s.userId&&this[vn("0x13")][vn("0x71")](s[vn("0x63")]),this[vn("0x43")]?(t.forEach((t=>{kn.includes(t.type)&&s[vn("0x72")]&&this[vn("0x3e")](t,s[vn("0x72")])})),this[vn("0x73")](t),t[vn("0x5f")]((t=>{const e=this[vn("0x2a")](t);this.processingEvents[vn("0x3c")](e)}))):this.cleanLocalStorageEvents(),s}catch(e){throw this[vn("0x43")]&&t[vn("0x5f")]((t=>{const e=this.generateEventIdentifier(t);this.processingEvents[vn("0x3c")](e)})),e}}async[vn("0x69")](t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i=this[vn("0xe")][vn("0xf")]("publicKey",null);if(null===i&&e)return await this[vn("0xe")].refreshConf(this[vn("0x13")][vn("0x34")]()),await this[vn("0x69")](t);if(null===i)throw new hn(new Error(vn("0x74")),xn[vn("0x75")]);try{const e=JSON.stringify(t),n=this[vn("0x76")](e),r=n||e,{encryptedData:a,encryptedKey:s}=await this.crypto[vn("0x77")](i,r);return{data:a,key:s,dataType:n?Gi[vn("0x78")]:Gi[vn("0x79")]}}catch(t){throw new hn(t,xn.CLIENT)}}[vn("0x76")](t){try{return he(t)}catch(t){ke.error(vn("0x7a"),{clientId:this[vn("0x13")][vn("0x34")](),error:t})}}[vn("0x7b")](){if(null===this[vn("0x18")]){const t=this[vn("0x11")][vn("0x7c")](bn),e=Number.parseInt(t);this.eventIndex=Number[vn("0x7d")](e)?-1:e}return this[vn("0x18")]++,this[vn("0x11")].setItemLocalStorageSafe(bn,this[vn("0x18")][vn("0x7e")]()),this[vn("0x18")]}[vn("0x7f")](){const t=this[vn("0x11")][vn("0x7c")](mn),e=this.storageManager[vn("0x7c")](wn);return!t||!e||Date.now()-t>864e5||e!=this[vn("0x13")][vn("0x2e")]()}async sendDeviceDataEvent(t){if(!t&&!this.shouldSendDeviceEvent())return ke.info(vn("0x80")),!1;const e=await this[vn("0x81")][vn("0x82")](),i={type:We[vn("0x9")],attributes:e},n=await this[vn("0x1f")](i);return n&&(this[vn("0x11")].setItemLocalStorageSafe(mn,Date[vn("0x3b")]()),this[vn("0x11")].setItemLocalStorageSafe(wn,this.identityManager[vn("0x2e")]())),n}async[vn("0x83")](){const t=vn("0x84");if(this.configManager.getConfValue(En,[])[vn("0x39")](t))return!1;const e=this[vn("0x85")]();return await this[vn("0x1f")]({type:We[vn("0x1e")],attributes:r(r({interaction_type:t,location:window[vn("0x46")][vn("0x86")],referrer:document[vn("0x87")]},window[vn("0x88")]&&{window_historyLength:window[vn("0x88")][vn("0x4e")]}),e&&{windowResources:e})}),!0}[vn("0x85")](){try{const t=window[vn("0x89")][vn("0x8a")](vn("0x8b"));return t&&Array[vn("0x8c")](t)?t[vn("0x8d")]((t=>({name:t[vn("0x8e")],initiatorType:t[vn("0x8f")]}))):void 0}catch(t){}}[vn("0x90")](){this.interactionEventsManager[vn("0x90")](),this.identityManager[vn("0x90")]()}async getPayload(){if("lightweight"!==this.tier)throw new Error(vn("0x91"));let t;ke[vn("0x44")](vn("0x92"));try{t=await this[vn("0x81")][vn("0x82")]()}catch(t){throw ke[vn("0x58")](vn("0x93"),{error:t}),new Error(vn("0x93"))}const e=[{type:We[vn("0x9")],attributes:t,timestamp:Date.now(),index:this[vn("0x7b")](),location:location.toString(),platform:navigator[vn("0x47")],sdkVersion:"2.2.1",serverPath:this[vn("0x15")],tabId:this[vn("0x13")][vn("0x4a")]()}],i=this[vn("0x13")][vn("0x2e")]();return{clientId:this[vn("0x13")].getClientId(),deviceId:i||void 0,userId:this[vn("0x13")].getUserId()||null,sdkPlatform:this[vn("0x24")]?vn("0x94"):"desktop_web",events:e}}[vn("0x95")](){this.tier===vn("0x28")?(this[vn("0x20")]=[],this[vn("0x11")][vn("0x97")](yn),ke.info("[Lightweight] Event queue cleared")):ke[vn("0x66")](vn("0x96"))}fetchEventsFromLocalStorage(){const t=this[vn("0x11")][vn("0x7c")](yn);if(!t)return[];try{return JSON[vn("0x98")](t)}catch(t){return ke[vn("0x58")]("Failed to parse events from localStorage",{error:t}),[]}}[vn("0x4c")](t){const e=this[vn("0x5e")]();return oi[vn("0x99")](e,this[vn("0x26")],t),this[vn("0x11")][vn("0x9a")](yn,JSON[vn("0x9b")](e)),e[vn("0x4e")]}[vn("0x9c")](){this.storageManager.removeItemLocalStorageSafe(yn)}[vn("0x73")](t){if(0===t.length)return;const e=this[vn("0x5e")]();if(!e||0===e.length)return;const i=new Set;for(const e of t)i[vn("0x5d")](this[vn("0x2a")](e));const n=e[vn("0x9d")]((t=>!i[vn("0x2b")](this[vn("0x2a")](t))));n[vn("0x4e")]!==e[vn("0x4e")]&&(n[vn("0x4e")]>0?this.storageManager[vn("0x9a")](yn,JSON[vn("0x9b")](n)):this[vn("0x11")][vn("0x97")](yn))}}var On,Rn,Nn=["Failed to generate secure session token:","isTokenExpired","parse","split","exp","iat","Invalid JWT:","rui","rci","rdi","rdit","rti","1.0","storageManager","configManager","clientId","cryptoBinding","setClientId","setCryptoBinding","load","loadDeviceId","addEventListener","beforeunload","saveTabIdOnUnload","getDeviceId","setDeviceId","deviceId","Updating DeviceId","setItemSessionStorageSafe","setItemLocalStorageSafe","getItemSessionStorageSafe","getItemLocalStorageSafe","getClientId","getUserId","getConfValue","now","removeUserId","setUserId","userId","removeItemLocalStorageSafe","loadTabId","removeItemSessionStorageSafe","tabId","floor","random","toString","getTabId","getSecureSessionToken","actionType","warn","CryptoBinding not available for secure session token generation","getSessionToken","getPublicData","RS256","JWT","base64UrlEncode","stringify","sign","base64ToBase64Url","error"];On=Nn,Rn=307,function(t){for(;--t;)On.push(On.shift())}(++Rn);var zn=function(t,e){return Nn[t-=0]};const Un=zn("0x0"),Fn=zn("0x1"),Bn=zn("0x2"),Kn=zn("0x3"),Zn=zn("0x4"),Hn="rst",Vn=zn("0x5");class jn{constructor(t,e,i){this[zn("0x6")]=t,this[zn("0x7")]=e,this[zn("0x8")]=i,this[zn("0x9")]=null,this[zn("0xa")](this[zn("0x8")])}[zn("0xb")](t){this[zn("0x9")]=t}[zn("0xc")](){this[zn("0xd")](),this.loadTabId()}registerEventListeners(){window[zn("0xe")](zn("0xf"),(async()=>this[zn("0x10")]()))}[zn("0x11")](){return this.deviceId}[zn("0x12")](t){this[zn("0x13")]!==t&&(ke.info(zn("0x14"),{deviceId:t}),this[zn("0x13")]=t,this[zn("0x6")][zn("0x15")](Bn,t),this[zn("0x6")][zn("0x16")](Bn,t))}[zn("0xd")](){const t=this.storageManager[zn("0x17")](Bn)||this[zn("0x6")][zn("0x18")](Bn);return null!=t&&this[zn("0x12")](t),t}[zn("0x19")](){return this.clientId}[zn("0xa")](t){this.storageManager[zn("0x19")]()!=t&&this[zn("0x6")][zn("0xa")](t),this[zn("0x6")].setItemSessionStorageSafe(Fn,t)}[zn("0x1a")](){if(Number(this[zn("0x6")].getItemLocalStorageSafe(Kn))+this[zn("0x7")][zn("0x1b")]("userIdStorageExpiry",864e5)<Date[zn("0x1c")]())return this[zn("0x1d")](),null;const t=this[zn("0x6")][zn("0x17")](Un);return null!=t?t:this[zn("0x6")][zn("0x18")](Un)}[zn("0x1e")](t){this[zn("0x1f")]=t,this[zn("0x6")][zn("0x15")](Un,t),this[zn("0x6")][zn("0x16")](Un,t),this.storageManager[zn("0x16")](Kn,Date[zn("0x1c")]())}[zn("0x1d")](){this.storageManager.removeItemSessionStorageSafe(Un),this[zn("0x6")].removeItemLocalStorageSafe(Un),this.storageManager[zn("0x20")](Kn)}[zn("0x21")](){const t=this[zn("0x6")][zn("0x17")](Zn);t?(this[zn("0x6")][zn("0x22")](Zn),this[zn("0x23")]=t):this.tabId=Math[zn("0x24")](Math[zn("0x25")]()*Number.MAX_SAFE_INTEGER)[zn("0x26")]()}[zn("0x27")](){return this[zn("0x23")]}[zn("0x10")](){this.storageManager.setItemSessionStorageSafe(Zn,this.tabId)}setSessionToken(t){this[zn("0x6")][zn("0x16")](Hn,t)}getSessionToken(){return this[zn("0x6")][zn("0x18")](Hn)||this[zn("0x6")][zn("0x17")](Hn)}async[zn("0x28")](t){var e,i;const n=null!==(e=null==t?void 0:t[zn("0x29")])&&void 0!==e?e:null,a=null!==(i=null==t?void 0:t.expirationSeconds)&&void 0!==i?i:300;if(!this[zn("0x9")])return ke[zn("0x2a")](zn("0x2b")),null;const s=this[zn("0x2c")]();if(!s)return ke[zn("0x2a")]("No backend session token available"),null;try{const{publicKey:t}=await this[zn("0x9")][zn("0x2d")](),e=Math[zn("0x24")](Date[zn("0x1c")]()/1e3),i=e+a,o=r({backendSessionToken:s,securedToken:!0,version:Vn,clientParams:{clientId:this[zn("0x19")](),deviceId:this[zn("0x11")](),userId:this.getUserId()},iat:e,exp:i,publicKey:t},n&&{actionType:n}),x={alg:zn("0x2e"),typ:zn("0x2f")},l=oi[zn("0x30")](JSON.stringify(x))+"."+oi.base64UrlEncode(JSON[zn("0x31")](o)),c=await this[zn("0x9")][zn("0x32")](l);return l+"."+oi[zn("0x33")](c)}catch(t){return ke[zn("0x34")](zn("0x35"),{error:t}),null}}[zn("0x36")](){var t;const e=this[zn("0x2c")]();if(!e)return!0;try{const i=JSON[zn("0x37")](atob(e[zn("0x38")](".")[1]));let n=(null!==(t=i[zn("0x39")])&&void 0!==t?t:i[zn("0x3a")])*(i.exp&&i[zn("0x39")]<1e12?1e3:1);return i.exp||(n+=9e5),Date[zn("0x1c")]()>=n}catch(t){return ke.error(zn("0x3b"),{error:t}),!0}}}var Wn,Yn,Gn=["stringify","GET","callServer","fetch","fetch-api is not supported","CLIENT","json","message","statusText","SERVER","status","COMMUNICATION","postData","postDataFromURL","POST","include","application/json"];Wn=Gn,Yn=403,function(t){for(;--t;)Wn.push(Wn.shift())}(++Yn);var Jn=function(t,e){return Gn[t-=0]};class qn{constructor(t){this.serverPath=t}async[Jn("0x0")](t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.postDataFromURL(this.serverPath+t,e,i)}async[Jn("0x1")](t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n={method:Jn("0x2"),credentials:Jn("0x3"),headers:new Headers(r({"Content-Type":Jn("0x4")},i)),body:JSON[Jn("0x5")](e)};return await this.callServer(t,n)}async getData(t){const e=this.serverPath+t,i={method:Jn("0x6"),credentials:Jn("0x3")};return await this[Jn("0x7")](e,i)}async callServer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(Jn("0x8")in window))throw new hn(new Error(Jn("0x9")),xn[Jn("0xa")]);try{const i=await fetch(t,e),n=await i[Jn("0xb")]();if(i.ok)return n;throw new hn(new Error(n[Jn("0xc")]||i[Jn("0xd")]),xn[Jn("0xe")],i[Jn("0xf")])}catch(t){if(!(t instanceof hn))throw new hn(new Error(t[Jn("0xc")]),xn[Jn("0x10")]);throw t}}}var Qn,Xn,$n=["REQUIRED_SDK_PARAMS","string","logIfInvalid","info","throwError","validateSDKParams","keys","filter","options","serverPath","length","Invalid SDK params was provided: ","stringify"];Qn=$n,Xn=312,function(t){for(;--t;)Qn.push(Qn.shift())}(++Xn);var tr=function(t,e){return $n[t-=0]};class er{constructor(){this[tr("0x0")]={clientId:tr("0x1")}}throwOrReturnResult(t,e,i){if(!t&&((null==e?void 0:e[tr("0x2")])&&ke[tr("0x3")](i),null==e?void 0:e[tr("0x4")]))throw new Error(i);return t}[tr("0x5")](t,e){var i,n;const r=Object[tr("0x6")](this[tr("0x0")])[tr("0x7")]((e=>typeof t[e]!=this[tr("0x0")][e])),a=null!==(n=null===(i=t[tr("0x8")])||void 0===i?void 0:i.serverPath)&&void 0!==n?n:t[tr("0x9")];return typeof a===tr("0x1")&&a||r.push(tr("0x9")),this.throwOrReturnResult(0==r[tr("0xa")],e,tr("0xb")+JSON[tr("0xc")](r))}}var ir,nr,rr=["now","flush","getClientId","floor","platform","postData","requestsManager","identityManager","configManager","lastTimeLogsSent","reportLogs","middlewares","push","logsMinimumBatch","getConfValue","logsMinimumDelay","logs","length"];ir=rr,nr=294,function(t){for(;--t;)ir.push(ir.shift())}(++nr);var ar=function(t,e){return rr[t-=0]};class sr{constructor(t,e,i){this[ar("0x0")]=t,this[ar("0x1")]=e,this[ar("0x2")]=i,this[ar("0x3")]=0,this.logMiddleware=async()=>{try{await this[ar("0x4")]()}catch(t){}},ke[ar("0x5")][ar("0x6")](this.logMiddleware)}async reportLogs(){if(!this[ar("0x2")].getConfValue("enableLogsReporting",!1))return;const t=this.configManager.getConfValue(ar("0x7"),6),e=this[ar("0x2")][ar("0x8")](ar("0x9"),12e4);if(ke[ar("0xa")][ar("0xb")]<t||this[ar("0x3")]+e>Date.now())return;this.lastTimeLogsSent=Date[ar("0xc")]();const i=ke[ar("0xd")](),n=this[ar("0x1")][ar("0xe")](),r=Math[ar("0xf")](Date[ar("0xc")]()/1e3),a={sdkVersion:"2.2.1",platform:navigator[ar("0x10")],clientId:n,timestamp:r,logEntries:i};await this[ar("0x0")][ar("0x11")]("device/logs",a)}}var or,xr,lr=["setItemLocalStorageSafe","rimd","identityManager","requestsManager","storageManager","migrateIdentifiers","true","getDeviceId","getClientId","endsWith","postDataFromURL","deviceId"];or=lr,xr=241,function(t){for(;--t;)or.push(or.shift())}(++xr);var cr=function(t,e){return lr[t-=0]};const hr=cr("0x0");class dr{constructor(t,e,i){this[cr("0x1")]=t,this[cr("0x2")]=e,this[cr("0x3")]=i}async[cr("0x4")](t){if(this[cr("0x3")].getItemLocalStorageSafe(hr)!=cr("0x5")){const e=this[cr("0x1")][cr("0x6")](),i=this[cr("0x1")][cr("0x7")](),n=(t[cr("0x8")]("/")?t:t+"/")+"device/migrate-identifiers",r=await this.requestsManager[cr("0x9")](n,{deviceId:e,clientId:i});r[cr("0xa")]&&r.deviceId==e&&this[cr("0x3")][cr("0xb")](hr,"true")}}}var ur,gr,fr=["isEnabled","keyRotation","idbWriteTimeoutMs","cryptoBinding","crypto","createCryptoBinding","sign","keys","setCryptoBinding","deviceDataManager","missing_config","migrateIdentifiers","sendPageLoadEvent","catch","registerEventListeners","sdk init done","init_not_called","SDK disabled","action","includes","Invalid action type","CLIENT","_error_'invalid action type - ","claimedUserIdType","warn","Invalid claimedUserIdType","invalid_claimed_user_id_type_","getDeviceData","EVENT_TYPE_ACTION","correlationId","claimedUserId","publicKey","extensionMetadata","extensionDeviceAttributes","suspiciousSignals","suspiciousContext","downloadFile","uploadFile","transactionData","unified-platform","customAttributes","emitEvent","Unhandled SDK error. Received eventResponse: ","stringify","errorSpace","SERVER","_error_","errorCode","message","unexpected_error_","identifyUser called without a valid userid","getUserId","setUserId","deviceId","setAuthenticatedUser","updateUserId","removeUserId","isTokenExpired","refreshSessionToken","RiskID","TSAccountProtection","dispatchEvent","RiskIDReady","TSAccountProtectionReady","undefined","sdkEnabled","verbose","enableDeviceAttributesInActions","email","phone_number","account_id","national_id","passport_number","drivers_license_number","other","initializationPromise","enableSessionToken","identifiersMigrationEnabled","firstPartyMigrationUrl","hasOwnClientId","tier","standard","validationManager","initializedInstance","SDK already initialized","string","clientId","options","serverPath","serverPath is required","toString","lightweight","info","[Lightweight] SDK initialized in lightweight mode","enabled","disabledReason","mainEntry","requestsManager","configManager","storageManager","identityManager","load","migrationsManager","generateDisabledToken","now","disabled_sdk_","unknown","getConfValue","getActions","isInitialized","actions","getSessionToken","[Lightweight] getSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","Session token is not enabled","session","eventsManager","getPayload","[Lightweight] getPayload() can only be used in lightweight tier","clearQueue","[Lightweight] setDeviceId() can only be used in lightweight tier","[Lightweight] Setting deviceId from backend","setDeviceId","init","object","sdk init started","getClientId","tenantId"];ur=fr,gr=191,function(t){for(;--t;)ur.push(ur.shift())}(++gr);var _r=function(t,e){return fr[t-=0]};const pr=[null,void 0,_r("0x0"),"",0],vr=_r("0x1"),mr=_r("0x2"),wr=_r("0x3"),br=[_r("0x4"),_r("0x5"),_r("0x6"),"ssn",_r("0x7"),_r("0x8"),_r("0x9"),_r("0xa")];class yr{constructor(t,e){if(this[_r("0xb")]=null,this.disabledReason=null,this[_r("0xc")]=!1,this[_r("0xd")]=!1,this[_r("0xe")]=null,this[_r("0xf")]=!1,this[_r("0x10")]=_r("0x11"),this[_r("0x12")]=new er,yr[_r("0x13")])throw new Error(_r("0x14"));yr[_r("0x13")]=!0;const i=typeof e===_r("0x15");if(this[_r("0x16")]=i?e:t,this.options=i?{serverPath:t}:e,!this.options||typeof this[_r("0x17")][_r("0x18")]!==_r("0x15")||!this[_r("0x17")][_r("0x18")].trim())throw new Error(_r("0x19"));this[_r("0x17")].serverPath=new URL(this[_r("0x17")][_r("0x18")])[_r("0x1a")](),this.firstPartyMigrationUrl=this[_r("0x17")][_r("0xe")]||null,this[_r("0x10")]=this[_r("0x17")][_r("0x10")]||_r("0x11"),this[_r("0x10")]===_r("0x1b")&&ke[_r("0x1c")](_r("0x1d"),{serverPath:this.options.serverPath}),ke[_r("0x1e")]=!!this[_r("0x17")][_r("0x2")],this[_r("0x12")].validateSDKParams(this,{throwError:!0,logIfInvalid:!0})||(this[_r("0x1f")]="invalid_params"),this.storageManager=new ye(this[_r("0x16")]),this[_r("0x21")]=new qn(this[_r("0x17")][_r("0x18")]),this[_r("0x22")]=new ii(this[_r("0x23")],this[_r("0x21")]),this.identityManager=new jn(this.storageManager,this[_r("0x22")],this[_r("0x16")]),this[_r("0x24")][_r("0x25")](),this[_r("0x26")]=new dr(this[_r("0x24")],this[_r("0x21")],this[_r("0x23")]),this[_r("0xc")]=this[_r("0x17")][_r("0xc")]||!1,this.hasOwnClientId=this.options[_r("0xf")]||!1,this.logsReporter=new sr(this.requestsManager,this.identityManager,this[_r("0x22")])}[_r("0x27")](t){const e=Date[_r("0x28")]();return _r("0x29")+(this[_r("0x1f")]||_r("0x2a"))+"_"+t+"_"+e}get actions(){return this.configManager[_r("0x2b")]("actions",[])}async[_r("0x2c")](){return await this[_r("0x2d")](),this[_r("0x2e")]}async[_r("0x2f")](){if(this.tier===_r("0x1b"))throw new Error(_r("0x30"));if(!this[_r("0xc")])throw new Error(_r("0x31"));return await this[_r("0x2d")]()?(this[_r("0x24")].isTokenExpired()&&await this[_r("0x33")].refreshSessionToken(),this[_r("0x24")][_r("0x2f")]()):(ke.info("SDK disabled"),this.generateDisabledToken(_r("0x32")))}async[_r("0x34")](){if(this[_r("0x10")]!==_r("0x1b"))throw new Error(_r("0x35"));return await this[_r("0x2d")](),await this[_r("0x33")].getPayload()}[_r("0x36")](){if(this[_r("0x10")]!==_r("0x1b"))throw new Error("[Lightweight] clearQueue() can only be used in lightweight tier");this[_r("0x33")].clearQueue()}setDeviceId(t){if(this[_r("0x10")]!==_r("0x1b"))throw new Error(_r("0x37"));if(!t||typeof t!==_r("0x15"))throw new Error("[Lightweight] deviceId must be a non-empty string");ke[_r("0x1c")](_r("0x38"),{deviceId:t}),this[_r("0x24")][_r("0x39")](t)}async[_r("0x3a")](t){const e=typeof t!==_r("0x3b")?t:null==t?void 0:t.userId;return ke[_r("0x1c")](_r("0x3c")),this[_r("0xb")]=(async()=>{await this.configManager.refreshConf(this[_r("0x24")][_r("0x3d")]());const t=this.configManager[_r("0x2b")](_r("0x3e"),null),i=this[_r("0x22")].getConfValue("keyRotation",null),n=this.configManager[_r("0x2b")]("idbWriteTimeoutMs",void 0),r={};if((null==i?void 0:i[_r("0x3f")])&&(r[_r("0x40")]={isEnabled:!0,expiryDays:i.expiryDays,startedAt:i.startedAt,tenantId:t}),void 0!==n&&(r[_r("0x41")]=n),this[_r("0xf")]&&(r.fallbackClientId=this.clientId),this[_r("0x42")]=me[_r("0x43")][_r("0x44")](_r("0x45"),Object[_r("0x46")](r).length>0?r:void 0),this.identityManager[_r("0x47")](this[_r("0x42")]),this[_r("0x48")]=new Ke(this[_r("0x23")],this[_r("0x22")],this.cryptoBinding),this[_r("0x33")]=new Ln(this[_r("0x22")],this.storageManager,this[_r("0x48")],this[_r("0x21")],this.identityManager,this.cryptoBinding,this.options[_r("0x18")],this[_r("0xc")],this[_r("0x10")]),null!==this[_r("0x1f")])return!1;const a=this.configManager[_r("0x2b")](vr,void 0);return a?(this[_r("0xd")]=this[_r("0xd")]||this[_r("0x22")].getConfValue("enableIdentifiersMigration",!1),this[_r("0xd")]&&this[_r("0xe")]&&await this.migrationsManager[_r("0x4a")](this.firstPartyMigrationUrl),ke[_r("0x1e")]=ke[_r("0x1e")]||!!this[_r("0x22")][_r("0x2b")](mr,!1),"lightweight"!==this[_r("0x10")]?(await this[_r("0x33")].sendDeviceDataEvent().catch((()=>{})),await this[_r("0x33")][_r("0x4b")]()[_r("0x4c")]((()=>{})),await this.updateUserId(e)[_r("0x4c")]((()=>{})),this[_r("0x33")][_r("0x4d")](),await this[_r("0x33")].flush()[_r("0x4c")]((()=>{}))):ke.info("[Lightweight] Skipping auto-event collection and event listeners"),ke.info(_r("0x4e")),!0):(this[_r("0x1f")]=void 0===a?_r("0x49"):"config_disabled",!1)})(),await this[_r("0xb")]}async[_r("0x2d")](){if(null===this[_r("0xb")])return this[_r("0x1f")]||(this.disabledReason=_r("0x4f")),!1;const t=await this[_r("0xb")];return t||this[_r("0x1f")]||(this[_r("0x1f")]="init_failed"),t}async triggerActionEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i;if(this[_r("0x10")]===_r("0x1b"))throw new Error("[Lightweight] triggerActionEvent() cannot be used in lightweight tier. Use getPayload() instead.");const n=Date[_r("0x28")]();if(!await this.isInitialized())return ke.info(_r("0x50")),{actionToken:this[_r("0x27")](_r("0x51"))};if(!this[_r("0x2e")][_r("0x52")](t))return ke.warn(_r("0x53"),{actionType:t}),{actionToken:xn[_r("0x54")]+_r("0x55")+t+"'_"+n};const a=null==e?void 0:e[_r("0x56")];if(a&&!br[_r("0x52")](a))return ke[_r("0x57")](_r("0x58"),{claimedUserIdType:a}),{actionToken:_r("0x59")+a+"_"+n};let s;this[_r("0x22")][_r("0x2b")](wr,!1)&&(s=await this[_r("0x48")][_r("0x5a")]());const o=r({type:We[_r("0x5b")],attributes:r(r(r(r(r(r(r(r(r(r(r(r(r({action_type:t},(null==e?void 0:e[_r("0x5c")])&&{correlation_id:e[_r("0x5c")]}),(null==e?void 0:e[_r("0x5d")])&&{claimed_user_id:e[_r("0x5d")]}),a&&{claimed_user_id_type:a}),(null==e?void 0:e[_r("0x5e")])&&{public_key:e[_r("0x5e")]}),(null==e?void 0:e[_r("0x5f")])&&{extension_metadata:e[_r("0x5f")]}),(null==e?void 0:e.extensionDeviceAttributes)&&{extension_device_attributes:e[_r("0x60")]}),(null==e?void 0:e.suspiciousSignals)&&{suspicious_signals:e[_r("0x61")]}),(null==e?void 0:e[_r("0x62")])&&{suspicious_context:e.suspiciousContext}),(null==e?void 0:e[_r("0x63")])&&{download_file:e[_r("0x63")]}),(null==e?void 0:e[_r("0x64")])&&{upload_file:e[_r("0x64")]}),(null==e?void 0:e[_r("0x65")])&&{transactionData:e[_r("0x65")]}),typeof globalThis!==_r("0x0")&&(null===(i=globalThis.__UNIFIED_SDK_VERSIONS__)||void 0===i?void 0:i[_r("0x66")])&&{platform_sdk_version:globalThis.__UNIFIED_SDK_VERSIONS__["unified-platform"]}),s)},(null==e?void 0:e[_r("0x67")])&&{customAttributes:e[_r("0x67")]});try{const t=await this[_r("0x33")][_r("0x68")](o),{actionToken:e}=t;if(!e)throw new hn(new Error(_r("0x69")+(typeof t==_r("0x3b")?JSON[_r("0x6a")](t).slice(15):t)),xn[_r("0x54")]);return t}catch(e){return{actionToken:e instanceof hn?e[_r("0x6b")]===xn[_r("0x6c")]?e.errorSpace+_r("0x6d")+t+"_"+e[_r("0x6e")]+"_'"+e[_r("0x6f")]+"'_"+n:e[_r("0x6b")]+_r("0x6d")+t+"_'"+e[_r("0x6f")]+"'_"+n:_r("0x70")+t+"_"+n}}}async updateUserId(t){if(pr.includes(t))return ke[_r("0x1c")](_r("0x71"),{userId:t}),!1;t=t[_r("0x1a")](),ke[_r("0x1c")]("identifyUser",{userId:t});const e=this.identityManager[_r("0x72")]();return e===t||(this[_r("0x24")][_r("0x73")](t),!!(await this[_r("0x33")][_r("0x68")]({type:We.EVENT_TYPE_IDENTIFICATION,attributes:{previous_user_id:e,user_id:t}}))[_r("0x74")])}async[_r("0x75")](t){return await this[_r("0x2d")]()?this[_r("0x76")](t):(ke[_r("0x1c")]("SDK disabled"),!1)}async clearUser(){if(!await this.isInitialized())return ke.info("SDK disabled"),!1;const t=this[_r("0x24")][_r("0x72")]();return null!=t&&this[_r("0x24")][_r("0x77")](),!!(await this.eventsManager[_r("0x68")]({type:We.EVENT_TYPE_IDENTIFICATION,attributes:{previous_user_id:t}}))[_r("0x74")]}async getSecureSessionToken(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;if(this.tier===_r("0x1b"))throw new Error("[Lightweight] getSecureSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.");if(!this[_r("0xc")])throw new Error(_r("0x31"));return await this[_r("0x2d")]()?(this[_r("0x24")][_r("0x78")]()&&await this[_r("0x33")][_r("0x79")](),await this[_r("0x24")].getSecureSessionToken({actionType:t,expirationSeconds:e})||this[_r("0x27")](_r("0x32"))):(ke[_r("0x1c")](_r("0x50")),this[_r("0x27")](_r("0x32")))}}yr[_r("0x13")]=!1,document[_r("0x7c")](new CustomEvent(_r("0x7e")));var Sr,Er,Ir=["exceptions","TsError","triggerActionEvent","setAuthenticatedUser","getActions","getSecureSessionToken","getPayload","setDeviceId","identityManager","getDeviceId","getClientId","eventsManager","events","MODULE_INITIALIZED","moduleMetadata","clientId","init","utils"];Sr=Ir,Er=498,function(t){for(;--t;)Sr.push(Sr.shift())}(++Er);var Tr=function(t,e){return Ir[t-=0]};let Dr=null;function kr(t){if(!t)throw new(me[Tr("0x5")][Tr("0x6")][Tr("0x7")])("not_initialized","tsPlatform not initialized")}me[Tr("0x0")].on(me.events[Tr("0x1")],(()=>{const{clientId:t,drs:e}=me[Tr("0x2")].getInitConfig(),i=e||{},{enabled:n,userId:a,serverPath:s}=i,o=function(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;i[n]=t[n]}return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)i=a[n],-1===e.indexOf(i)&&{}.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}(i,de);if(!1===n)return;const x=(null==e?void 0:e[Tr("0x3")])||t,l=!!(null==e?void 0:e.clientId);Dr=new yr(x,r(r({},o),{},{hasOwnClientId:l,serverPath:s})),Dr[Tr("0x4")]({userId:a})}));const Cr=function(){return kr(Dr),Dr[Tr("0x8")](...arguments)},Ar=function(){return kr(Dr),Dr[Tr("0x9")](...arguments)},Mr=function(){return kr(Dr),Dr.clearUser(...arguments)},Pr=function(){return kr(Dr),Dr[Tr("0xa")]()},Lr=function(){return kr(Dr),Dr.getSessionToken()},Or=function(t,e){return kr(Dr),Dr[Tr("0xb")](t,e)},Rr=function(){return kr(Dr),Dr[Tr("0xc")](...arguments)},Nr=function(){return kr(Dr),Dr[Tr("0xd")](...arguments)},zr={getDeviceId:()=>Dr[Tr("0xe")][Tr("0xf")](),getClientId:()=>Dr[Tr("0xe")][Tr("0x10")](),flush:()=>Dr[Tr("0x11")].flush()};const Ur="2.3.2-beta-26093939905.0",Fr={initialize:e,...Object.freeze({__proto__:null,__internal:zr,clearUser:Mr,getActions:Pr,getPayload:Rr,getSecureSessionToken:Or,getSessionToken:Lr,setAuthenticatedUser:Ar,setDeviceId:Nr,triggerActionEvent:Cr})};export{Ur as PACKAGE_VERSION,zr as __internal,Mr as clearUser,Fr as drs,Pr as getActions,Rr as getPayload,Or as getSecureSessionToken,Lr as getSessionToken,Ar as setAuthenticatedUser,Nr as setDeviceId,Cr as triggerActionEvent};
|
|
1
|
+
"undefined"==typeof globalThis&&("undefined"!=typeof window?(window.globalThis=window,window.global=window):"undefined"!=typeof self&&(self.globalThis=self,self.global=self));import t from"./common.js";import{initialize as e}from"./common.js";export{initialize}from"./common.js";function n(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={},a={};function o(t){let e=t.length;for(;--e>=0;)t[e]=0}const c=256,l=286,h=30,d=15,u=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),g=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),p=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_=new Array(576);o(_);const v=new Array(60);o(v);const m=new Array(512);o(m);const w=new Array(256);o(w);const y=new Array(29);o(y);const I=new Array(h);function b(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}let E,S,T;function k(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}o(I);const D=t=>t<256?m[t]:m[256+(t>>>7)],A=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},C=(t,e,n)=>{t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,A(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)},M=(t,e,n)=>{C(t,n[2*e],n[2*e+1])},L=(t,e)=>{let n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1},P=(t,e,n)=>{const i=new Array(16);let r,s,a=0;for(r=1;r<=d;r++)i[r]=a=a+n[r-1]<<1;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=L(i[e]++,e))}},x=t=>{let e;for(e=0;e<l;e++)t.dyn_ltree[2*e]=0;for(e=0;e<h;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},O=t=>{t.bi_valid>8?A(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},R=(t,e,n,i)=>{const r=2*e,s=2*n;return t[r]<t[s]||t[r]===t[s]&&i[e]<=i[n]},N=(t,e,n)=>{const i=t.heap[n];let r=n<<1;for(;r<=t.heap_len&&(r<t.heap_len&&R(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!R(e,i,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=i},z=(t,e,n)=>{let i,r,s,a,o=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],r=t.pending_buf[t.l_buf+o],o++,0===i?M(t,r,e):(s=w[r],M(t,s+c+1,e),a=u[s],0!==a&&(r-=y[s],C(t,r,a)),i--,s=D(i),M(t,s,n),a=g[s],0!==a&&(i-=I[s],C(t,i,a)))}while(o<t.last_lit);M(t,256,e)},U=(t,e)=>{const n=e.dyn_tree,i=e.stat_desc.static_tree,r=e.stat_desc.has_stree,s=e.stat_desc.elems;let a,o,c,l=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<s;a++)0!==n[2*a]?(t.heap[++t.heap_len]=l=a,t.depth[a]=0):n[2*a+1]=0;for(;t.heap_len<2;)c=t.heap[++t.heap_len]=l<2?++l:0,n[2*c]=1,t.depth[c]=0,t.opt_len--,r&&(t.static_len-=i[2*c+1]);for(e.max_code=l,a=t.heap_len>>1;a>=1;a--)N(t,n,a);c=s;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],N(t,n,1),o=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=o,n[2*c]=n[2*a]+n[2*o],t.depth[c]=(t.depth[a]>=t.depth[o]?t.depth[a]:t.depth[o])+1,n[2*a+1]=n[2*o+1]=c,t.heap[1]=c++,N(t,n,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const n=e.dyn_tree,i=e.max_code,r=e.stat_desc.static_tree,s=e.stat_desc.has_stree,a=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,c=e.stat_desc.max_length;let l,h,u,g,p,f,_=0;for(g=0;g<=d;g++)t.bl_count[g]=0;for(n[2*t.heap[t.heap_max]+1]=0,l=t.heap_max+1;l<573;l++)h=t.heap[l],g=n[2*n[2*h+1]+1]+1,g>c&&(g=c,_++),n[2*h+1]=g,h>i||(t.bl_count[g]++,p=0,h>=o&&(p=a[h-o]),f=n[2*h],t.opt_len+=f*(g+p),s&&(t.static_len+=f*(r[2*h+1]+p)));if(0!==_){do{for(g=c-1;0===t.bl_count[g];)g--;t.bl_count[g]--,t.bl_count[g+1]+=2,t.bl_count[c]--,_-=2}while(_>0);for(g=c;0!==g;g--)for(h=t.bl_count[g];0!==h;)u=t.heap[--l],u>i||(n[2*u+1]!==g&&(t.opt_len+=(g-n[2*u+1])*n[2*u],n[2*u+1]=g),h--)}})(t,e),P(n,l,t.bl_count)},F=(t,e,n)=>{let i,r,s=-1,a=e[1],o=0,c=7,l=4;for(0===a&&(c=138,l=3),e[2*(n+1)+1]=65535,i=0;i<=n;i++)r=a,a=e[2*(i+1)+1],++o<c&&r===a||(o<l?t.bl_tree[2*r]+=o:0!==r?(r!==s&&t.bl_tree[2*r]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=r,0===a?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4))},B=(t,e,n)=>{let i,r,s=-1,a=e[1],o=0,c=7,l=4;for(0===a&&(c=138,l=3),i=0;i<=n;i++)if(r=a,a=e[2*(i+1)+1],!(++o<c&&r===a)){if(o<l)do{M(t,r,t.bl_tree)}while(0!=--o);else 0!==r?(r!==s&&(M(t,r,t.bl_tree),o--),M(t,16,t.bl_tree),C(t,o-3,2)):o<=10?(M(t,17,t.bl_tree),C(t,o-3,3)):(M(t,18,t.bl_tree),C(t,o-11,7));o=0,s=r,0===a?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4)}};let K=!1;const Z=(t,e,n,i)=>{C(t,0+(i?1:0),3),((t,e,n,i)=>{O(t),i&&(A(t,n),A(t,~n)),t.pending_buf.set(t.window.subarray(e,e+n),t.pending),t.pending+=n})(t,e,n,!0)};a._tr_init=t=>{K||((()=>{let t,e,n,i,r;const s=new Array(16);for(n=0,i=0;i<28;i++)for(y[i]=n,t=0;t<1<<u[i];t++)w[n++]=i;for(w[n-1]=i,r=0,i=0;i<16;i++)for(I[i]=r,t=0;t<1<<g[i];t++)m[r++]=i;for(r>>=7;i<h;i++)for(I[i]=r<<7,t=0;t<1<<g[i]-7;t++)m[256+r++]=i;for(e=0;e<=d;e++)s[e]=0;for(t=0;t<=143;)_[2*t+1]=8,t++,s[8]++;for(;t<=255;)_[2*t+1]=9,t++,s[9]++;for(;t<=279;)_[2*t+1]=7,t++,s[7]++;for(;t<=287;)_[2*t+1]=8,t++,s[8]++;for(P(_,287,s),t=0;t<h;t++)v[2*t+1]=5,v[2*t]=L(t,5);E=new b(_,u,257,l,d),S=new b(v,g,0,h,d),T=new b(new Array(0),p,0,19,7)})(),K=!0),t.l_desc=new k(t.dyn_ltree,E),t.d_desc=new k(t.dyn_dtree,S),t.bl_desc=new k(t.bl_tree,T),t.bi_buf=0,t.bi_valid=0,x(t)},a._tr_stored_block=Z,a._tr_flush_block=(t,e,n,i)=>{let r,s,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<c;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),U(t,t.l_desc),U(t,t.d_desc),a=(t=>{let e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),U(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),r=t.opt_len+3+7>>>3,s=t.static_len+3+7>>>3,s<=r&&(r=s)):r=s=n+5,n+4<=r&&-1!==e?Z(t,e,n,i):4===t.strategy||s===r?(C(t,2+(i?1:0),3),z(t,_,v)):(C(t,4+(i?1:0),3),((t,e,n,i)=>{let r;for(C(t,e-257,5),C(t,n-1,5),C(t,i-4,4),r=0;r<i;r++)C(t,t.bl_tree[2*f[r]+1],3);B(t,t.dyn_ltree,e-1),B(t,t.dyn_dtree,n-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),z(t,t.dyn_ltree,t.dyn_dtree)),x(t),i&&O(t)},a._tr_tally=(t,e,n)=>(t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(w[n]+c+1)]++,t.dyn_dtree[2*D(e)]++),t.last_lit===t.lit_bufsize-1),a._tr_align=t=>{C(t,2,3),M(t,256,_),(t=>{16===t.bi_valid?(A(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)};var V=(t,e,n,i)=>{let r=65535&t,s=t>>>16&65535,a=0;for(;0!==n;){a=n>2e3?2e3:n,n-=a;do{r=r+e[i++]|0,s=s+r|0}while(--a);r%=65521,s%=65521}return r|s<<16};const j=new Uint32Array((()=>{let t,e=[];for(var n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e})());var H=(t,e,n,i)=>{const r=j,s=i+n;t^=-1;for(let n=i;n<s;n++)t=t>>>8^r[255&(t^e[n])];return~t},W={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},J={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:G,_tr_stored_block:Y,_tr_flush_block:q,_tr_tally:X,_tr_align:Q}=a,$=V,tt=H,et=W,{Z_NO_FLUSH:nt,Z_PARTIAL_FLUSH:it,Z_FULL_FLUSH:rt,Z_FINISH:st,Z_BLOCK:at,Z_OK:ot,Z_STREAM_END:ct,Z_STREAM_ERROR:lt,Z_DATA_ERROR:ht,Z_BUF_ERROR:dt,Z_DEFAULT_COMPRESSION:ut,Z_FILTERED:gt,Z_HUFFMAN_ONLY:pt,Z_RLE:ft,Z_FIXED:_t,Z_DEFAULT_STRATEGY:vt,Z_UNKNOWN:mt,Z_DEFLATED:wt}=J,yt=258,It=262,bt=103,Et=113,St=666,Tt=(t,e)=>(t.msg=et[e],e),kt=t=>(t<<1)-(t>4?9:0),Dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0};let At=(t,e,n)=>(e<<t.hash_shift^n)&t.hash_mask;const Ct=t=>{const e=t.state;let n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+n),t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))},Mt=(t,e)=>{q(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ct(t.strm)},Lt=(t,e)=>{t.pending_buf[t.pending++]=e},Pt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},xt=(t,e,n,i)=>{let r=t.avail_in;return r>i&&(r=i),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),n),1===t.state.wrap?t.adler=$(t.adler,e,r,n):2===t.state.wrap&&(t.adler=tt(t.adler,e,r,n)),t.next_in+=r,t.total_in+=r,r)},Ot=(t,e)=>{let n,i,r=t.max_chain_length,s=t.strstart,a=t.prev_length,o=t.nice_match;const c=t.strstart>t.w_size-It?t.strstart-(t.w_size-It):0,l=t.window,h=t.w_mask,d=t.prev,u=t.strstart+yt;let g=l[s+a-1],p=l[s+a];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do{if(n=e,l[n+a]===p&&l[n+a-1]===g&&l[n]===l[s]&&l[++n]===l[s+1]){s+=2,n++;do{}while(l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&l[++s]===l[++n]&&s<u);if(i=yt-(u-s),s=u-yt,i>a){if(t.match_start=e,a=i,i>=o)break;g=l[s+a-1],p=l[s+a]}}}while((e=d[e&h])>c&&0!=--r);return a<=t.lookahead?a:t.lookahead},Rt=t=>{const e=t.w_size;let n,i,r,s,a;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-It)){t.window.set(t.window.subarray(e,e+e),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,i=t.hash_size,n=i;do{r=t.head[--n],t.head[n]=r>=e?r-e:0}while(--i);i=e,n=i;do{r=t.prev[--n],t.prev[n]=r>=e?r-e:0}while(--i);s+=e}if(0===t.strm.avail_in)break;if(i=xt(t.strm,t.window,t.strstart+t.lookahead,s),t.lookahead+=i,t.lookahead+t.insert>=3)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=At(t,t.ins_h,t.window[a+1]);t.insert&&(t.ins_h=At(t,t.ins_h,t.window[a+3-1]),t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<It&&0!==t.strm.avail_in)},Nt=(t,e)=>{let n,i;for(;;){if(t.lookahead<It){if(Rt(t),t.lookahead<It&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=At(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-It&&(t.match_length=Ot(t,n)),t.match_length>=3)if(i=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=At(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=At(t,t.ins_h,t.window[t.strstart+1]);else i=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(Mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(Mt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Mt(t,!1),0===t.strm.avail_out)?1:2},zt=(t,e)=>{let n,i,r;for(;;){if(t.lookahead<It){if(Rt(t),t.lookahead<It&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=At(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-It&&(t.match_length=Ot(t,n),t.match_length<=5&&(t.strategy===gt||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,i=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=At(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(Mt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=X(t,0,t.window[t.strstart-1]),i&&Mt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(Mt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Mt(t,!1),0===t.strm.avail_out)?1:2};function Ut(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r}const Ft=[new Ut(0,0,0,0,((t,e)=>{let n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Rt(t),0===t.lookahead&&e===nt)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;const i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,Mt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-It&&(Mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Mt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Mt(t,!1),t.strm.avail_out),1)})),new Ut(4,4,8,4,Nt),new Ut(4,5,16,8,Nt),new Ut(4,6,32,32,Nt),new Ut(4,4,16,16,zt),new Ut(8,16,32,32,zt),new Ut(8,16,128,128,zt),new Ut(8,32,128,256,zt),new Ut(32,128,258,1024,zt),new Ut(32,258,258,4096,zt)];function Bt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Dt(this.dyn_ltree),Dt(this.dyn_dtree),Dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Dt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Kt=t=>{if(!t||!t.state)return Tt(t,lt);t.total_in=t.total_out=0,t.data_type=mt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:Et,t.adler=2===e.wrap?0:1,e.last_flush=nt,G(e),ot},Zt=t=>{const e=Kt(t);return e===ot&&(t=>{t.window_size=2*t.w_size,Dt(t.head),t.max_lazy_match=Ft[t.level].max_lazy,t.good_match=Ft[t.level].good_length,t.nice_match=Ft[t.level].nice_length,t.max_chain_length=Ft[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0})(t.state),e},Vt=(t,e,n,i,r,s)=>{if(!t)return lt;let a=1;if(e===ut&&(e=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),r<1||r>9||n!==wt||i<8||i>15||e<0||e>9||s<0||s>_t)return Tt(t,lt);8===i&&(i=9);const o=new Bt;return t.state=o,o.strm=t,o.wrap=a,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=e,o.strategy=s,o.method=n,Zt(t)};s.deflateInit=(t,e)=>Vt(t,e,wt,15,8,vt),s.deflateInit2=Vt,s.deflateReset=Zt,s.deflateResetKeep=Kt,s.deflateSetHeader=(t,e)=>t&&t.state?2!==t.state.wrap?lt:(t.state.gzhead=e,ot):lt,s.deflate=(t,e)=>{let n,i;if(!t||!t.state||e>at||e<0)return t?Tt(t,lt):lt;const r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===St&&e!==st)return Tt(t,0===t.avail_out?dt:lt);r.strm=t;const s=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Lt(r,31),Lt(r,139),Lt(r,8),r.gzhead?(Lt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Lt(r,255&r.gzhead.time),Lt(r,r.gzhead.time>>8&255),Lt(r,r.gzhead.time>>16&255),Lt(r,r.gzhead.time>>24&255),Lt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Lt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Lt(r,255&r.gzhead.extra.length),Lt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=tt(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Lt(r,0),Lt(r,0),Lt(r,0),Lt(r,0),Lt(r,0),Lt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Lt(r,3),r.status=Et);else{let e=wt+(r.w_bits-8<<4)<<8,n=-1;n=r.strategy>=pt||r.level<2?0:r.level<6?1:6===r.level?2:3,e|=n<<6,0!==r.strstart&&(e|=32),e+=31-e%31,r.status=Et,Pt(r,e),0!==r.strstart&&(Pt(r,t.adler>>>16),Pt(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(n=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),Ct(t),n=r.pending,r.pending!==r.pending_buf_size));)Lt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),Ct(t),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Lt(r,i)}while(0!==i);r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),Ct(t),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Lt(r,i)}while(0!==i);r.gzhead.hcrc&&r.pending>n&&(t.adler=tt(t.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.status=bt)}else r.status=bt;if(r.status===bt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Ct(t),r.pending+2<=r.pending_buf_size&&(Lt(r,255&t.adler),Lt(r,t.adler>>8&255),t.adler=0,r.status=Et)):r.status=Et),0!==r.pending){if(Ct(t),0===t.avail_out)return r.last_flush=-1,ot}else if(0===t.avail_in&&kt(e)<=kt(s)&&e!==st)return Tt(t,dt);if(r.status===St&&0!==t.avail_in)return Tt(t,dt);if(0!==t.avail_in||0!==r.lookahead||e!==nt&&r.status!==St){let n=r.strategy===pt?((t,e)=>{let n;for(;;){if(0===t.lookahead&&(Rt(t),0===t.lookahead)){if(e===nt)return 1;break}if(t.match_length=0,n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(Mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Mt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Mt(t,!1),0===t.strm.avail_out)?1:2})(r,e):r.strategy===ft?((t,e)=>{let n,i,r,s;const a=t.window;for(;;){if(t.lookahead<=yt){if(Rt(t),t.lookahead<=yt&&e===nt)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=t.strstart-1,i=a[r],i===a[++r]&&i===a[++r]&&i===a[++r])){s=t.strstart+yt;do{}while(i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&r<s);t.match_length=yt-(s-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(Mt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(Mt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Mt(t,!1),0===t.strm.avail_out)?1:2})(r,e):Ft[r.level].func(r,e);if(3!==n&&4!==n||(r.status=St),1===n||3===n)return 0===t.avail_out&&(r.last_flush=-1),ot;if(2===n&&(e===it?Q(r):e!==at&&(Y(r,0,0,!1),e===rt&&(Dt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Ct(t),0===t.avail_out))return r.last_flush=-1,ot}return e!==st?ot:r.wrap<=0?ct:(2===r.wrap?(Lt(r,255&t.adler),Lt(r,t.adler>>8&255),Lt(r,t.adler>>16&255),Lt(r,t.adler>>24&255),Lt(r,255&t.total_in),Lt(r,t.total_in>>8&255),Lt(r,t.total_in>>16&255),Lt(r,t.total_in>>24&255)):(Pt(r,t.adler>>>16),Pt(r,65535&t.adler)),Ct(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?ot:ct)},s.deflateEnd=t=>{if(!t||!t.state)return lt;const e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==bt&&e!==Et&&e!==St?Tt(t,lt):(t.state=null,e===Et?Tt(t,ht):ot)},s.deflateSetDictionary=(t,e)=>{let n=e.length;if(!t||!t.state)return lt;const i=t.state,r=i.wrap;if(2===r||1===r&&42!==i.status||i.lookahead)return lt;if(1===r&&(t.adler=$(t.adler,e,n,0)),i.wrap=0,n>=i.w_size){0===r&&(Dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(n-i.w_size,n),0),e=t,n=i.w_size}const s=t.avail_in,a=t.next_in,o=t.input;for(t.avail_in=n,t.next_in=0,t.input=e,Rt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=At(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,Rt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=a,t.input=o,t.avail_in=s,i.wrap=r,ot},s.deflateInfo="pako deflate (from Nodeca project)";var jt={};const Ht=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);jt.assign=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const e in n)Ht(n,e)&&(t[e]=n[e])}}return t},jt.flattenChunks=t=>{let e=0;for(let n=0,i=t.length;n<i;n++)e+=t[n].length;const n=new Uint8Array(e);for(let e=0,i=0,r=t.length;e<r;e++){let r=t[e];n.set(r,i),i+=r.length}return n};var Wt={};let Jt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Jt=!1}const Gt=new Uint8Array(256);for(let t=0;t<256;t++)Gt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Gt[254]=Gt[254]=1,Wt.string2buf=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,n,i,r,s,a=t.length,o=0;for(r=0;r<a;r++)n=t.charCodeAt(r),55296==(64512&n)&&r+1<a&&(i=t.charCodeAt(r+1),56320==(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(e=new Uint8Array(o),s=0,r=0;s<o;r++)n=t.charCodeAt(r),55296==(64512&n)&&r+1<a&&(i=t.charCodeAt(r+1),56320==(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?e[s++]=n:n<2048?(e[s++]=192|n>>>6,e[s++]=128|63&n):n<65536?(e[s++]=224|n>>>12,e[s++]=128|n>>>6&63,e[s++]=128|63&n):(e[s++]=240|n>>>18,e[s++]=128|n>>>12&63,e[s++]=128|n>>>6&63,e[s++]=128|63&n);return e};Wt.buf2string=(t,e)=>{const n=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,r;const s=new Array(2*n);for(r=0,i=0;i<n;){let e=t[i++];if(e<128){s[r++]=e;continue}let a=Gt[e];if(a>4)s[r++]=65533,i+=a-1;else{for(e&=2===a?31:3===a?15:7;a>1&&i<n;)e=e<<6|63&t[i++],a--;a>1?s[r++]=65533:e<65536?s[r++]=e:(e-=65536,s[r++]=55296|e>>10&1023,s[r++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Jt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let n="";for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);return n})(s,r)},Wt.utf8border=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let n=e-1;for(;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+Gt[t[n]]>e?n:e};const Yt=s,qt=jt,Xt=Wt,Qt=W,$t=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},te=Object.prototype.toString,{Z_NO_FLUSH:ee,Z_SYNC_FLUSH:ne,Z_FULL_FLUSH:ie,Z_FINISH:re,Z_OK:se,Z_STREAM_END:ae,Z_DEFAULT_COMPRESSION:oe,Z_DEFAULT_STRATEGY:ce,Z_DEFLATED:le}=J;function he(t){this.options=qt.assign({level:oe,method:le,chunkSize:16384,windowBits:15,memLevel:8,strategy:ce},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $t,this.strm.avail_out=0;let n=Yt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==se)throw new Error(Qt[n]);if(e.header&&Yt.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Xt.string2buf(e.dictionary):"[object ArrayBuffer]"===te.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,n=Yt.deflateSetDictionary(this.strm,t),n!==se)throw new Error(Qt[n]);this._dict_set=!0}}he.prototype.push=function(t,e){const n=this.strm,i=this.options.chunkSize;let r,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?re:ee,"string"==typeof t?n.input=Xt.string2buf(t):"[object ArrayBuffer]"===te.call(t)?n.input=new Uint8Array(t):n.input=t,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(i),n.next_out=0,n.avail_out=i),(s===ne||s===ie)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(r=Yt.deflate(n,s),r===ae)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),r=Yt.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===se;if(0!==n.avail_out){if(s>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},he.prototype.onData=function(t){this.chunks.push(t)},he.prototype.onEnd=function(t){t===se&&(this.result=qt.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var de=function(t,e){return(e=e||{}).gzip=!0,function(t,e){const n=new he(e);if(n.push(t,!0),n.err)throw n.msg||Qt[n.err];return n.result}(t,e)};const ue=["enabled","userId","serverPath"];function ge(t,e){return t-=437,fe()[t]}var pe=ge;function fe(){var t=["80RHjtOk","2OevLtt","4mHygDT","21bcfTaY","1334706qGPVJq","drs","171569UjnFlN","65763wSPxMs","2326446mybjLb","2655936etvUrk","3148160ktzNuV","485881glPFWK"];return(fe=function(){return t})()}!function(){for(var t=ge,e=fe();;)try{if(463707==parseInt(t(437))/1*(parseInt(t(444))/2)+-parseInt(t(439))/3+parseInt(t(445))/4*(parseInt(t(441))/5)+parseInt(t(447))/6*(parseInt(t(446))/7)+-parseInt(t(440))/8+parseInt(t(438))/9*(parseInt(t(443))/10)+parseInt(t(442))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var _e=new t(pe(448));function ve(t,e){return t-=413,we()[t]}const me=ve;function we(){const t=["241368ERhlIK","setClientId","5962630fYlShm","setItemSessionStorageSafe","setItemLocalStorageSafe","getItemLocalStorageSafe","3107724mvFvCC","FALLBACK_SESSION_STORAGE","clientId","removeItemLocalStorageSafe","1549734VEJnHN","localStorage","getClientId","878095exqgKw","4242164esjXFz","getFullStorageKey","FALLBACK_LOCAL_STORAGE","6004145WSBdId","removeItemSessionStorageSafe","sessionStorage","removeItem","setItem","getItemSessionStorageSafe"];return(we=function(){return t})()}!function(){const t=ve,e=we();for(;;)try{if(802223==parseInt(t(428))/1+-parseInt(t(415))/2+parseInt(t(425))/3+parseInt(t(429))/4+-parseInt(t(417))/5+parseInt(t(421))/6+-parseInt(t(432))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(t){const e=ve;this.FALLBACK_SESSION_STORAGE={},this[e(431)]={},this[e(423)]=t}[me(427)](){return this[me(423)]}[me(416)](t){this[me(423)]=t}[me(430)](t){return this.clientId+"_"+t}[me(414)](t){const e=me,n=this.getFullStorageKey(t);try{return window[e(434)].getItem(n)}catch(t){return this[e(422)][n]}}[me(418)](t,e){const n=me,i=this[n(430)](t);try{window[n(434)][n(413)](i,e)}catch(t){this[n(422)][i]=e}}[me(433)](t){const e=me,n=this[e(430)](t);try{window[e(434)].removeItem(n)}catch(t){this[e(422)][n]=void 0}}[me(420)](t){const e=me,n=this.getFullStorageKey(t);try{return window[e(426)].getItem(n)}catch(t){return this[e(431)][n]}}[me(419)](t,e){const n=me,i=this.getFullStorageKey(t);try{window[n(426)][n(413)](i,e)}catch(t){this.FALLBACK_LOCAL_STORAGE[i]=e}}[me(424)](t){const e=me,n=this[e(430)](t);try{window[e(426)][e(435)](n)}catch(t){this[e(431)][n]=void 0}}}const Ie=be;function be(t,e){return t-=122,Se()[t]}!function(){const t=be,e=Se();for(;;)try{if(660694==parseInt(t(128))/1*(parseInt(t(127))/2)+-parseInt(t(138))/3+-parseInt(t(140))/4*(-parseInt(t(126))/5)+parseInt(t(135))/6+parseInt(t(147))/7+parseInt(t(141))/8*(parseInt(t(144))/9)+-parseInt(t(143))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ee{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=be;this[e(130)]=t,this[e(134)]=e(142),this[e(133)]=1e4,this.logs=[],this[e(132)]=[]}[Ie(146)](t,e){this[Ie(124)](3,t,e)}[Ie(122)](t,e){this[Ie(124)](4,t,e)}error(t,e){this.pushLog(5,t,e)}[Ie(129)](){const t=Ie,e=this[t(139)];return this[t(139)]=[],e}[Ie(124)](t,e,n){const i=Ie;this[i(130)]&&console[i(137)](i(131),this[i(134)],e,JSON[i(123)](n)),this[i(139)].push({timestamp:Date[i(136)](),severity:t,text:JSON[i(123)](r(r({},n),{},{message:e}),this.formatter)}),this[i(139)][i(125)]>this.logsLimit&&this[i(139)][i(145)]();const s=this[i(132)].map((t=>t()));Promise.all(s).catch((()=>{}))}formatter(t,e){if(e instanceof Error){const{name:t,stack:n,message:i}=e;return{name:t,stack:n,message:i}}return e}}function Se(){const t=["warn","stringify","pushLog","length","65XMUxGR","2etInQr","753119eHxeEt","flush","enabled","%s %s %s","middlewares","logsLimit","logPrefix","7723650YPCtkj","now","log","2963340qxZKmX","logs","252716XDKLPM","228584VqwLoy","[AccountProtection SDK]","19124760PEZeZs","18ByFZUz","unshift","info","4494581XxAniL"];return(Se=function(){return t})()}const Te=new Ee;function ke(){var t=["race","model","setTimeout","40168NDLgiZ","wow64","239752Dkiatd","10okZhkm","77488UiGOAX","54zoZNYJ","resolve","userAgentData","2002066jpmjSM","warn","name","1395304aEiFWp","1884koDxai","getHighEntropyValues","240lJgFwA","171iBInVQ","mobile","catch","4461009bbufFX","finally","executor reached timeout"];return(ke=function(){return t})()}function De(){var t,e=Ae;return null===(t=navigator[e(363)])||void 0===t?void 0:t[e(369)](["architecture",e(354),"platform","platformVersion","fullVersionList","bitness",e(348),e(357),"uaFullVersion"])}function Ae(t,e){return t-=348,ke()[t]}function Ce(t,e){var n=Ae;let i;const r=[Promise[n(362)](t()).catch((()=>{})),new Promise(((t,r)=>i=window[n(355)](r,e)))];return Promise[n(353)](r)[n(349)]((()=>Te[n(365)](n(352),{fnName:t[n(366)]})))[n(351)]((()=>clearTimeout(i)))}!function(){for(var t=Ae,e=ke();;)try{if(765105==-parseInt(t(360))/1+parseInt(t(356))/2*(parseInt(t(371))/3)+-parseInt(t(358))/4+parseInt(t(370))/5*(-parseInt(t(368))/6)+parseInt(t(350))/7+parseInt(t(367))/8*(-parseInt(t(361))/9)+-parseInt(t(359))/10*(-parseInt(t(364))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Me=Pe;function Le(){const t=["label","getPerformanceTiming","5788zONujP","sin","__lastWatirConfirm","getOpenDatabase","Serifa","MS Mincho","cdc_adoQpoasnfa76pfcZLmcfl_Symbol","MS Reference Specialty","getProductSub","oncomplete","isPointInPath","11RUftjE","Humanst521 BT","addBehavior","angle","isNodeReachable_","oprt","tan","inverted","sans-serif","isArray","Bitstream Vera Sans Mono","reduce","Buffer","392MKINui","spawn","sdkDeviceDataCollectionIgnoreList","brave","hasSequentum","__webdriverFunc","__driver_evaluate","onLine","getFIDOEnabled","cache_","colorDepth","style","plugins","asin","driver-evaluate",'11pt "Times New Roman"',"userAgentData","visibility","getDeviceData","start","SCRIPTINA","values","getSessionStorage","Clarendon","getScreen","getInstalledRelatedApps","#f2f","Array","Microsoft Uighur","getOwnPropertyDescriptor","exp","getCryptoBindingData","languages","TRAJAN PRO","windowDocumentAuxVarsTest","worker throw error","AvantGarde Bk BT","crypto","fmget_targets","sinh","485235VSPzeG","__lastWatirAlert","enumerateDevices","getPlatform","getNavigatorProduct","fillRect","dataPoints","10px","Vrinda","platform","getContext","sqrt","external","indexedDB","description","product","kind","more","getBattery","evenodd","getMediaMatch","chargingTime","permissions","webdriver","dataPointsExtractor","__webdriver_script_func","webgl-experimental","getExtension","__webdriver_unwrapped","localStorage","Arabic Typesetting","collectPromisesData","__webdriver_evaluate","chrome","oscpu","HELV","__yb","calledSelenium","getCodesTests","EUROSTILE","cookieEnabled","100","getTimezoneOffset","Arial Unicode MS","CDPRuntimeDomainTest","__webdriver_script_function","getTimezone","webdriver-evaluate-response","getIndexedDB","beginPath","configManager","isBrave","getFloatTimeDomainData","webgl","__fxdriver_evaluate","maxTouchPoints","some","getTouchSupport","disconnect","forced","getCpuClass","high","reduction","stack","fontFamily","getAudioFingerprint","worker promise rejected","storageManager","prototype","callPhantom","release","MYRIAD PRO","replace","spynner_additional_js_loaded","getItemLocalStorageSafe","webRTCDisabled","Symbol","function","bind","ZWAdobeF","Menlo","selenium-evaluate","2199svWBZw","getBuildID","DocumentTouch","MS Outlook","18pt Arial","__nightmare","getOsCpu","getWindowOrientation","deviceDataCalculationExpiry","groupId","BankGothic Md BT","getHash","awesomium","font","Object","windowConstructorAliasTest","memory","ChromeDriverw","__gCrWeb","getBrave","log","__edgeTrackingPreventionStatistics","15NaggNa","test","sort","getOwnPropertyDescriptors","Lucida Bright","no-preference","WEBGL_debug_renderer_info","getPublicData","getMathFingerprint","getConfValue","getPlugins","left","tanh","standard","storeItem","hidden","8467570BRhUqC","getVendor","toString","129BycZNg","resolve","cosh","UNMASKED_RENDERER_WEBGL","createElement","low","Monotype Corsiva","getDocumentBasedKeys","map","fillText","getReferrer","getNavigatorPrototype","callSelenium","Franklin Gothic","offsetWidth","Helvetica Neue","name","geb","cos","canvas","body","closePath","knee","_WEBDRIVER_ELEM_CACHE","_phantom","height","DateTimeFormat","getRandomValues","offsetHeight","toDataURL","subarray","console","fillStyle","Calibri","getCanvasFingerprint","getCryptoRandomValues","attack","getLocalStorage","sendBeacon","Sequentum","hashCodeString","fontSize","__crWeb","dischargingTime","Minion Pro","document","state","navigatorOnLine","defineProperty","_Selenium_IDE_Recorder","getWebDriver","Agency FB","calledPhantom","__phantomas","setItemLocalStorageSafe","mediaDevices","__lastWatirPrompt","Segoe UI Light","getAudioFingerprintExtended","Haettenschweiler","createAnalyser","geolocation","charging","1000","PublicKeyCredential","3288789dcNVNI","SimHei","getCookieEnabled","msMaxTouchPoints","storage","getAddBehavior","getMediaDevices","availHeight","webdriverCommand","referrer","#069","less","yandex","__$webdriverAsyncExecutor","__selenium_evaluate","hardwareConcurrency","#f60","alphabetic","samsungAr","triangle","$chrome_asyncScriptInfo","ucweb","matches","timing","Staccato222 BT","domAutomationController","Small Fonts","log1p","Letter Gothic","Promise","rect","active","destination","__selenium_unwrapped","connect","Pristina","indexOf","width","invalidPublicKeyId","push","video/mp4;;Codecs =avc1.42E01E","devicePixelRatio","debug","lastDeviceData","Levenim MT","position","isSendBeaconFunction","threshold","frequency","cryptoBinding","Century","warn","retrieveItem","webkitOfflineAudioContext","startRendering","getPrototypeOf","Futura Md BT","length","ARNO PRO","Marlett","cdc_adoQpoasnfa76pfcZLmcfl_Promise","startPromisesLoop","textBaseline","renderedBuffer","rgba(102, 204, 0, 0.2)","__firefox__","isMobile","_selenium","fill","query","#f9c","serif","userAgent","absolute","acos","sessionStorage","url","3354704RbHhNR","value","top","type","getWindowOuter","every","puffinDevice","vendor","isGeoLocationExists","webkit","monospace","getConnection","now","credentials","level","createDynamicsCompressor","appendChild","serviceWorker","getHardwareConcurrency","MS UI Gothic","navigatorIsUserActive","entries","get","div","navigatorStorageEstimation","cpuClass","__fxdriver_unwrapped","includes","canPlayType","ontouchstart","productSub","getNavigatorUserAgent","abs","sans-serif-thin","__webdriverFuncgeb","outerWidth","filter","__driver_unwrapped","#ff2","orientation","webdriver-evaluate","getDeviceMemory","expm1","getNavigatorUAData","getOwnPropertyNames","frequencyBinCount","charCodeAt","OfflineAudioContext","none","cdc_adoQpoasnfa76pfcZLmcfl_Array","getPerformanceMemory","getNavigatorBasedKeys","53160IVRpOj","matchMedia","fftSize","__webdriver_script_fn","getNavigatorPermissionsState","Meiryo UI","RTCPeerConnection","getWindowBasedKeys","Leelawadee","GOTHAM","timeZone","createOscillator","__ybro","arc"];return(Le=function(){return t})()}function Pe(t,e){return t-=343,Le()[t]}!function(){const t=Pe,e=Le();for(;;)try{if(330696==parseInt(t(724))/1*(parseInt(t(602))/2)+-parseInt(t(368))/3*(parseInt(t(578))/4)+parseInt(t(349))/5*(-parseInt(t(562))/6)+parseInt(t(433))/7+parseInt(t(510))/8+-parseInt(t(642))/9+parseInt(t(365))/10*(-parseInt(t(589))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe=Me(604),Oe=Me(732),Re=t=>t?[...t][Me(600)](((t,e)=>t+Math[Me(542)](e)),0):0;class Ne{constructor(t,e,n){const i=Me;this[i(709)]=t,this.configManager=e,this[i(482)]=n}async calculate(){const t=Me,e=this[t(692)][t(358)](xe,[]),n=this.configManager[t(358)](Oe,36e5),i=await new ze(e,this[t(482)]).dataPointsExtractor();return this.lastDeviceData=i,this[t(709)][t(422)](Oe,Date[t(522)]()+n),i}async[Me(620)](){const t=Me;return Number(this[t(709)][t(716)](Oe))<Date.now()||!this[t(476)]?await this.calculate()||{}:this.lastDeviceData||{}}}class ze{constructor(t,e){const n=Me;this.sdkDeviceDataCollectionIgnoreList=t,this[n(482)]=e,this[n(648)]={battery:this.getBattery,brave:this[n(346)],canvas:this[n(402)],codecs:this[n(680)],connection:this[n(521)],cookieEnabled:this.getCookieEnabled,cryptoRandomValues:this[n(403)],deviceMemory:this[n(551)],documentBasedKeys:this[n(375)],hardwareConcurrency:this[n(528)],indexedDB:this[n(690)],fidoEnabled:this.getFIDOEnabled,languages:this.getLanguages,language:this.getLanguage,timezoneOffset:this.getTimezoneOffset,localStorage:this[n(405)],navigatorBasedKeys:this.getNavigatorBasedKeys,navigatorProduct:this[n(646)],navigatorUserAgent:this[n(541)],navigatorUAData:this[n(553)],navigatorHighEntropyData:this.getNavigatorHighEntropyData,navigatorStorageEstimation:this[n(534)],navigatorOnLine:this.navigatorOnLine,navigatorIsUserActive:this.navigatorIsUserActive,math:this[n(357)],mediaMatch:this[n(662)],openDatabase:this[n(581)],windowOrientation:this[n(731)],platform:this.getPlatform,cpuClass:this[n(702)],osClass:this[n(730)],addBehavior:this.getAddBehavior,productSub:this[n(586)],mediaDevices:this[n(439)],audioFingerprint:this[n(707)],audioFingerprintExtended:this[n(426)],fonts:this.getFonts,performanceTiming:this.getPerformanceTiming,performanceMemory:this.getPerformanceMemory,plugins:this[n(359)],screen:this.getScreen,sequentum:this[n(606)],sessionStorage:this[n(624)],referrer:this.getReferrer,timezone:this[n(688)],touchSupport:this.getTouchSupport,vendor:this.getVendor,buildID:this[n(725)],webdriver:this[n(418)],webGlRenderer:this.getWebGlRenderer,windowBasedKeys:this[n(569)],windowOuter:this[n(514)],webRTCDisabled:this[n(717)],cryptoBindingData:this[n(633)].bind(this),notificationState:this[n(566)][n(720)](this,"notifications"),geolocationState:this[n(566)][n(720)](this,n(429)),isGeoLocationExists:this[n(518)],isSendBeaconExists:this[n(479)],navigatorPrototype:this[n(379)],installedRelatedApps:this[n(627)],windowConstructorAliasTest:this[n(739)],windowDocumentAuxVarsTest:this[n(636)],CDPRuntimeDomainTest:this[n(686)]}}[Me(686)](){const t=Me;let e=!1;const n=new window.Error;return window[t(738)][t(416)](n,"stack",{configurable:!1,enumerable:!1,get:function(){return e=!0,""}}),window[t(399)][t(475)](n[t(705)]),e}[Me(636)](){const t=Me;for(const e of window.Object[t(554)](window[t(413)]))if(e==t(453)||/^\$cdc_[a-zA-Z0-9]{22}_$/[t(350)](e))return!0;for(const e of window[t(738)][t(623)](window.Object[t(352)](window[t(413)]))){if(!e[t(511)]||void 0===e.value[t(611)])continue;const n=window[t(738)][t(554)](window[t(738)].getPrototypeOf(e[t(511)])),i=[t(363),t(485),t(593)];if(n.sort(),i[t(351)](),n[t(515)](((t,e)=>t==i[e])))return!0}return!1}[Me(739)](){const t=Me,e=window[t(738)][t(554)](window);for(const n of e){if(/^cdc_[a-zA-Z0-9]{22}_(Array|Promise|Symbol)$/[t(350)](n))return!0;for(const e of[window[t(629)],window[t(462)],window[t(718)]])if(n!=(null==e?void 0:e[t(384)])&&"token"!=n&&"getAsyncToken"!=n&&window[n]===e)return!0}return!1}async[Me(666)](){const t=Me,e=this[t(494)]();return await this[t(673)](e)}[Me(494)](){const t=Me,e={};for(const[n,i]of Object[t(531)](this[t(648)]))if(!this[t(604)][t(537)](n))try{e[n]=Ce(i,100)}catch(i){Te[t(484)](t(637),{e:i,key:n}),e[n]=Promise[t(369)]()}return e}async[Me(673)](t){const e=Me,n={};for(const[i,r]of Object[e(531)](t))try{n[i]=await r}catch(t){Te.warn(e(708),{e:t,key:i}),n[i]=void 0}return n}[Me(435)](){const t=navigator[Me(682)];return Promise.resolve(t)}async[Me(610)](){const t=Me;return!!navigator[t(523)]&&await window[t(432)].isUserVerifyingPlatformAuthenticatorAvailable()}getCryptoRandomValues(){const t=Me,e=window[t(639)][t(395)](new Uint8Array(16));return Array.from(e)}[Me(717)](){const t=Me,e=null==window[t(568)];return Promise[t(369)](e)}[Me(569)](){const t=Me,e=[t(675),"safari",t(410),t(345),t(445),t(678),t(574),t(498),t(348),t(519),t(594),t(451),t(454),"UCShellJava",t(516),t(392),t(421),t(711),t(601),"emit",t(603),t(458),"domAutomation",t(729),t(500),"calledSelenium",t(380),t(417),t(446),t(608),t(547),t(696),t(536),"__lastWatirAlert",t(580),"__lastWatirPrompt",t(447),t(466),"__webdriver__chr",t(674),t(565),t(667),t(687),t(670),t(544),t(736),t(420),t(559),t(493),t(584),"chrome_asyncScriptInfo",t(640),t(385),"OSMJIF",t(715),"watinExpressionError","watinExpressionResult"],n=[];for(const i of e){const e=window[i];void 0!==e&&null!=e&&n[t(472)](i)}return Promise[t(369)](n)}[Me(662)](){const t=Me,e={"dynamic-range":["high",t(362)],"prefers-reduced-motion":[t(354),"reduce"],"prefers-contrast":[t(354),t(703),t(373),t(659),t(444),t(701)],"max-monochrome":["0","10",t(683),t(431)],"forced-colors":[t(464),"none"],"inverted-colors":[t(596),t(558)],"color-gamut":["rec2020","p3","srgb"]},n={};for(const[i,r]of Object[t(531)](e))for(const e of r)n[i[t(714)](/-/g,"_")+"_"+e[t(714)](/-/g,"_")]=window[t(563)]("("+i+": "+e+")").matches;return Promise[t(369)](n)}[Me(357)](){const t=Me,e=[Math[t(507)](.12312423423423424),Math.acosh(1e308),(n=1e154,Math.log(n+Math[t(653)](n*n-1))),Math[t(615)](.12312423423423424),Math.asinh(1),Math[t(347)](1+Math[t(653)](2)),Math.atanh(.5),Math[t(347)](3)/2,Math.atan(.5),Math[t(579)](-1e300),Math[t(641)](1),Math[t(632)](1)-1/Math[t(632)](1)/2,Math[t(386)](10.000000000123),Math[t(370)](1),(Math.exp(1)+1/Math[t(632)](1))/2,Math[t(595)](-1e300),Math[t(361)](1),(Math[t(632)](2)-1)/(Math[t(632)](2)+1),Math[t(632)](1),Math[t(552)](1),Math[t(632)](1)-1,Math[t(460)](10),Math.log(11),Math.PI**-100];var n;let i="";for(let n=0;n<e[t(490)];n++)i+=e[n].toString();return Promise[t(369)](ze.hashCodeString(i))}[Me(521)](){const{connection:t}=navigator,e=(t=>{let{downlink:e,effectiveType:n,rtt:i,saveData:r}=t;return{downlink:e,effectiveType:n,rtt:i,saveData:r}})(t);return Promise.resolve(e)}[Me(624)](){const t=Me;return Promise[t(369)](!!window[t(508)])}[Me(405)](){const t=Me;return Promise[t(369)](!!window[t(671)])}[Me(606)](){const t=Me;return-1!==window[t(654)][t(367)]()[t(469)](t(407))}[Me(561)](){const t=Me;return[t(665),t(608),"__webdriver_evaluate","__selenium_evaluate",t(696),t(547),"__webdriver_unwrapped",t(466),t(536),t(417),t(500),t(679),t(391),t(344),t(616),t(550),t(723),t(441),t(689),t(607),"__webdriver_script_fn","__$webdriverAsyncExecutor",t(643),"__lastWatirConfirm",t(424),t(453),"$cdc_asdjflasutopfhvcZLmcfl_",t(527)].filter((t=>navigator[t]))}[Me(646)](){const t=Me,e=navigator[t(657)];return Promise[t(369)](e)}getNavigatorUserAgent(){return navigator[Me(505)]}[Me(553)](){return navigator[Me(618)]}getNavigatorHighEntropyData(){return De()}navigatorStorageEstimation(){return navigator[Me(437)].estimate()}[Me(415)](){return navigator[Me(609)]}[Me(530)](){return navigator.userActivation.isActive}async[Me(566)](t){const e=Me;try{const n=await navigator[e(664)][e(502)]({name:t});return null==n?void 0:n[e(414)]}catch(t){}}[Me(518)](){return!!navigator[Me(429)]}isSendBeaconFunction(){const t=Me;return typeof navigator[t(406)]===t(719)}[Me(379)](){const t=Me;return{hardwareConcurrency:Object[t(631)](Object[t(488)](navigator),t(448))[t(532)].toString(),languages:Object[t(631)](Object[t(488)](navigator),t(634))[t(532)][t(367)]()}}async[Me(627)](){const t=Me;if(typeof navigator[t(627)]===t(719))try{const{related_applications:e}=await navigator[t(627)]();if(e&&Array[t(598)](e))return e[t(376)]((e=>{const n=t;return{platform:e[n(651)],url:e[n(509)]}}))}catch(t){}}[Me(378)](){return document[Me(442)]}[Me(577)](){return performance[Me(456)]}[Me(560)](){const t=Me,{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:i}=performance[t(343)];return{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:i}}[Me(690)](){const t=Me;return Promise[t(369)](!!window[t(655)])}[Me(581)](){const t=Me,{openDatabase:e}=window;return Promise[t(369)](!!e)}[Me(699)](){const t=Me,e=window[t(726)]&&document instanceof DocumentTouch,n={maxTouchPoints:navigator[t(697)]||navigator[t(436)]||0,documentTouch:e,ontouchstart:t(539)in window};return Promise[t(369)](n)}[Me(359)](){const t=Me;function e(t){const e=Pe,n=[];for(let i=0;i<t[e(490)];++i)n.push({type:t[i].type,suffixes:t[i].suffixes});return n}const n=[];for(let i=0;i<navigator.plugins.length;++i){const r=navigator[t(614)][i];r&&n[t(472)]({name:r.name,description:r[t(656)],mimeTypes:e(r)})}return Promise.resolve(n)}[Me(626)](){const t=Me,e=window.screen||screen,{availLeft:n}=e,{availTop:i}=e,r={availHeight:e[t(440)],availLeft:n,availTop:i,availWidth:e.availWidth,colorDepth:e[t(612)],height:e.height,width:e.width,pixelDepth:e.pixelDepth,orientationAngle:e[t(549)]&&e[t(549)][t(592)],orientationType:e[t(549)]&&e[t(549)][t(513)],devicePixelRatio:window[t(474)]};return Promise[t(369)](r)}static[Me(408)](t){const e=Me;if(null==t)return;let n=0,i=0;const r=t[e(490)];for(;i<r;)n=(n<<5)-n+t[e(556)](i++)|0;return n}[Me(514)](){const t=Me,e={outerWidth:window[t(545)],outerHeight:window.outerHeight};return Promise[t(369)](e)}getWebDriver(){const t=Me,e=navigator.webdriver;return Promise[t(369)](e)}[Me(731)](){const t=window[Me(549)];return Promise.resolve(t)}[Me(645)](){const t=Me,e=navigator[t(651)];return Promise[t(369)](e)}getCpuClass(){const t=Me,e=navigator[t(535)];return Promise[t(369)](e)}[Me(730)](){const t=Me,e=navigator[t(676)];return Promise[t(369)](e)}[Me(438)](){const t=Me,e=!!window.HTMLElement[t(710)][t(591)];return Promise[t(369)](e)}[Me(586)](){const t=Me,e=navigator[t(540)];return Promise[t(369)](e)}async[Me(439)](){const t=Me,e=await navigator[t(423)][t(644)](),n=[];for(const i of e)n[t(472)]({kind:i[t(658)],label:i[t(576)],deviceId:i.deviceId,groupId:i[t(733)]});return n}async[Me(707)](){const t=Me,e=window[t(557)]||window[t(486)];if(!e)return-1;const n=new e(1,5e3,44100),i=n[t(573)]();i[t(513)]=t(452),i.frequency[t(511)]=1e4;const r=n[t(525)]();r[t(480)][t(511)]=-50,r[t(390)][t(511)]=40,r.ratio[t(511)]=12,r[t(404)][t(511)]=0,r[t(712)][t(511)]=.25,i.connect(r),r.connect(n.destination),i.start(0);const s=new Promise((async(e,i)=>{const r=t;n[r(587)]=t=>e(t[r(496)]);try{await n[r(487)]()}catch(t){i(t)}})),a=(await s).getChannelData(0)[t(398)](4500);return ze.getHash(a)}async getAudioFingerprintExtended(){const t=Me;var e;const n=window.OfflineAudioContext||window[t(486)];if(!n)return{};const i=new n(1,5e3,44100),r=i[t(573)]();r[t(513)]="triangle",r[t(481)][t(511)]=1e4;const s=i[t(525)]();s[t(480)][t(511)]=-50,s[t(390)][t(511)]=40,s[t(404)].value=0;const a=i[t(428)]();r.connect(s),s[t(467)](a),s[t(467)](i[t(465)]),r[t(621)](0);try{await i[t(487)](),s[t(700)](),r[t(700)]();const n=new Float32Array(a[t(555)]);null===(e=a.getFloatFrequencyData)||void 0===e||e.call(a,n);const o=new Float32Array(a[t(564)]);return t(694)in a&&a[t(694)](o),{gain:s.reduction.value||s[t(704)],freq:Re(n),time:Re(o)}}catch(t){return{}}}static[Me(735)](t){const e=Me;let n=0;for(let i=0;i<t[e(490)];++i)n+=Math[e(542)](t[i]);return n}getFonts(){const t=Me,e=[t(520),t(597),t(504)],n=[t(543),t(491),t(419),t(672),t(685),t(638),t(734),"Batang",t(599),t(401),t(483),"Century Gothic",t(625),t(681),t(381),"Futura Bk BT",t(489),t(571),"Gill Sans",t(677),t(427),t(383),t(590),t(570),t(461),t(477),t(353),"Lucida Sans",t(722),t(583),t(727),t(585),t(529),"MT Extra",t(713),t(492),t(567),t(630),t(412),t(374),"PMingLiU",t(468),t(622),t(425),t(582),t(434),t(459),t(457),t(635),"Univers CE 55 Medium",t(650),t(721)],i=document[t(372)](t(533));i[t(613)][t(619)]=t(364);const r={},s={},a=e=>{const n=t,r=document[n(372)]("span"),{style:s}=r;return s[n(478)]=n(506),s[n(512)]="0",s[n(360)]="0",s[n(706)]=e,s[n(409)]=n(649),r.textContent="mmMwWLliI0O&1",i.appendChild(r),r},o=e[t(376)](a),c=(()=>{const i=t,r={};for(const t of n)r[t]=e[i(376)]((e=>a("'"+t+"',"+e)));return r})();document[t(388)][t(526)](i);try{for(let n=0;n<e[t(490)];n++)r[e[n]]=o[n][t(382)],s[e[n]]=o[n][t(396)];const i=n.filter((n=>(n=>{const i=t;return e[i(698)](((t,e)=>n[e][i(382)]!==r[t]||n[e][i(396)]!==s[t]))})(c[n])));return Promise[t(369)](i)}finally{document[t(388)].removeChild(i)}}[Me(684)](){const t=Me,e=(new Date)[t(684)]();return Promise[t(369)](e)}getLanguage(){const t=Me,e=navigator.language;return Promise[t(369)](e)}getLanguages(){const t=Me,e=navigator.languages;return Promise[t(369)](e)}getHardwareConcurrency(){const t=Me,e=navigator[t(448)];return Promise[t(369)](e)}getDeviceMemory(){const t=Me,e=navigator.deviceMemory;return Promise[t(369)](e)}[Me(375)](){const t=Me;return[t(674),t(447),t(687),"__webdriver_script_func","__webdriver_script_fn",t(696),"__driver_unwrapped","__webdriver_unwrapped",t(608),t(466),t(536)][t(546)]((t=>document[t]))}[Me(688)](){const t=Me,e=Intl[t(394)]().resolvedOptions()[t(572)];return Promise[t(369)](e)}[Me(366)](){const t=Me,e=navigator[t(517)];return Promise[t(369)](e)}getBuildID(){const t=Me,e=navigator.buildID;return Promise[t(369)](e)}async getCanvasFingerprint(){const t=Me,e=document.createElement(t(387));e.width=1,e.height=1;const n=e.getContext("2d"),i={winding:function(t){const e=Pe;return t[e(463)](0,0,10,10),t[e(463)](2,2,6,6),!t[e(588)](5,5,e(661))}(n),geometry:function(t,e){const n=Pe;t[n(470)]=122,t[n(393)]=110,e.globalCompositeOperation="multiply";const i=[[n(628),40,40],["#2ff",80,40],[n(548),60,80]];for(const[t,r,s]of i)e[n(400)]=t,e[n(691)](),e[n(575)](r,s,40,0,2*Math.PI,!0),e[n(389)](),e[n(501)]();return e.fillStyle=n(503),e[n(575)](60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e[n(501)](n(661)),ze[n(408)](t[n(397)]())}(e,n),text:function(t,e){const n=Pe;t[n(470)]=240,t[n(393)]=60,e[n(495)]=n(450),e.fillStyle=n(449),e[n(647)](100,1,62,20),e.fillStyle=n(443),e[n(737)]=n(617);const i="Cwm fjordbank gly "+String.fromCharCode(55357,56835);return e[n(377)](i,2,15),e.fillStyle=n(497),e.font=n(728),e[n(377)](i,4,45),ze[n(408)](t.toDataURL())}(e,n)};return Promise[t(369)](i)}async getBattery(){const t=Me,e=await navigator[t(660)]();return{charging:e[t(430)],chargingTime:e[t(663)],dischargingTime:e[t(411)],level:e[t(524)]}}async[Me(346)](){const t=Me;return!!navigator[t(605)]&&await navigator[t(605)][t(693)]()}async getWebGlRenderer(){const t=Me,e=document.createElement(t(387)),n=e[t(652)](t(695))||e[t(652)](t(668)),i=n[t(669)](t(355));return Promise[t(369)](n.getParameter(i[t(371)]))}async[Me(680)](){const t=Me,e=document.createElement("video"),n={basic:""===e[t(538)]('video/mp4; codecs="avc1.42E01E"'),advanced:""===e[t(538)](t(473))};return Promise[t(369)](n)}async getCryptoBindingData(){const t=Me,{publicKey:e,keyIdentifier:n,errors:i}=await this.cryptoBinding[t(356)](),r={publicKey:e,keyIdentifier:n};return(null==i?void 0:i[0])&&(r[t(471)]=i[0]),r}static[Me(499)](){const t=Me;return/iPhone|iPad|iPod|Android|MiuiBrowser/i.test(navigator[t(505)])||null!=window[t(549)]||window[t(563)]("only screen and (max-width: 600px)")[t(455)]}}const Ue=Ke;var Fe;!function(){const t=Ke,e=Ve();for(;;)try{if(341031==parseInt(t(128))/1*(parseInt(t(140))/2)+parseInt(t(130))/3+parseInt(t(136))/4*(parseInt(t(131))/5)+parseInt(t(138))/6+-parseInt(t(125))/7*(-parseInt(t(142))/8)+-parseInt(t(143))/9*(-parseInt(t(129))/10)+-parseInt(t(124))/11*(parseInt(t(132))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Ke;t[e(135)]=e(126),t[e(133)]=e(139),t[e(134)]="interaction",t[e(123)]=e(137),t[e(141)]="action_result"}(Fe||(Fe={}));const Be="desktop_web";function Ke(t,e){return t-=123,Ve()[t]}const Ze=Ue(127);function Ve(){const t=["mobile_web","1DmOloV","3692960VwgNyK","924909csWGvF","3292100JeUgXB","12KXeaNR","EVENT_TYPE_DEVICE","EVENT_TYPE_INTERACTION","EVENT_TYPE_ACTION","4DHHIcF","identification","2928030dYGHPV","device","439594fMgLVr","EVENT_TYPE_ACTION_RESULT","1816216vCzajy","9oJeDWp","EVENT_TYPE_IDENTIFICATION","21227987rNFUMN","7EfrOWp","action"];return(Ve=function(){return t})()}const je=Ge;function He(){const t=["device/conf?tenantId=","error fetching config","186228DSROEL","98RVVseV","setItemLocalStorageSafe","getConfValue","conf","21973743pcLfvL","error","6CNclCv","439912otWUJz","shouldUpdateConf","fetchConf","2428120RhMzOC","refreshConf","error loading config","loadConf","timestamp","storageManager","207436PmxEDw","stringify","3813136rlnhUe","isMobile","now","requestsManager","keys","getData","403474AkaNLL"];return(He=function(){return t})()}!function(){const t=Ge,e=He();for(;;)try{if(253202==-parseInt(t(168))/1+-parseInt(t(185))/2*(parseInt(t(167))/3)+parseInt(t(177))/4+-parseInt(t(171))/5+-parseInt(t(188))/6*(parseInt(t(189))/7)+-parseInt(t(179))/8+parseInt(t(193))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const We=je(175);class Je{constructor(t,e){const n=je;this.storageManager=t,this[n(182)]=e,this.conf=this[n(174)]()}async fetchConf(t){const e=je;try{const n=ze[e(180)]()?Ze:Be,i=e(186)+t+"&type="+n,r=await this[e(182)][e(184)](i);return null!=r?r:{}}catch(n){return Te[e(166)](e(187),{clientId:t,error:n}),{}}}[je(174)](){const t=je,e=this[t(176)].getItemLocalStorageSafe("ric");if(null!=e)try{return JSON.parse(e)}catch(e){Te[t(166)](t(173),{error:e})}return{}}shouldUpdateConf(){const t=je,e=this[t(191)](We,0);return Date[t(181)]()-e>36e5}async[je(172)](t){const e=je;if(!this[e(169)]())return!1;let n=await this[e(170)](t);return 0==Object[e(183)](n).length?n=this.loadConf():this.storageManager[e(190)]("ric",JSON[e(178)](n)),this[e(192)]=n,!0}[je(191)](t,e){const n=je,i=void 0!==this[n(192)]?this[n(192)][t]:void 0;return null!=i?i:e}}function Ge(t,e){return t-=166,He()[t]}function Ye(t,e){return t-=211,Qe()[t]}const qe=Ye;!function(){const t=Ye,e=Qe();for(;;)try{if(266472==parseInt(t(226))/1+-parseInt(t(224))/2*(-parseInt(t(217))/3)+parseInt(t(216))/4+-parseInt(t(222))/5*(parseInt(t(219))/6)+-parseInt(t(218))/7+parseInt(t(214))/8+-parseInt(t(228))/9*(-parseInt(t(227))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xe{static maintainLastXItems(t,e,n){const i=Ye;return t.length>=e&&t[i(221)](0,1),t[i(225)](n),t}static[qe(213)](t){const e=qe;var n,i;return(null!==(n=performance[e(215)])&&void 0!==n?n:Date[e(223)]()-performance[e(223)]())+(null!==(i=null==t?void 0:t[e(229)])&&void 0!==i?i:performance[e(223)]())}static base64UrlEncode(t){const e=qe,n=(new TextEncoder)[e(212)](t),i=String.fromCharCode(...n);return btoa(i)[e(211)](/\+/g,"-")[e(211)](/\//g,"_").replace(/=/g,"")}static[qe(220)](t){const e=qe;return t.replace(/\+/g,"-").replace(/\//g,"_")[e(211)](/=/g,"")}}function Qe(){const t=["274782mocrNp","base64ToBase64Url","splice","55MQLkEt","now","2BOgnUb","push","110478IQfoFW","10LYRIES","767889yMXdaZ","timeStamp","replace","encode","getEventHighResTimestamp","2386400TZrXwz","timeOrigin","1313540wFNSUZ","641499svFKoT","1862546ngrTdo"];return(Qe=function(){return t})()}function $e(){const t=["function","cancelable","3388470ygJfjA","165456ZqfVWz","shiftKey","extractEventData","22926filQCk","metaKey","getEventHighResTimestamp","length","inputType","1227624FihvTp","maintainLastXItems","collect","composed","data","extractButtonsPressedData","detail","buffer","1379181kPSjEx","270571wKsMZI","sourceCapabilities","firesTouchEvents","altKey","getCoalescedEvents","parentId","ctrlKey","164460TUKYIw","offsetY","bufferSize","forEach","8PVLGmc","now","target","buttons","getData","offsetX","view","isTrusted"];return($e=function(){return t})()}const tn=en;function en(t,e){return t-=335,$e()[t]}!function(){const t=en,e=$e();for(;;)try{if(301781==parseInt(t(343))/1+parseInt(t(340))/2+parseInt(t(356))/3+parseInt(t(348))/4+parseInt(t(364))/5+-parseInt(t(339))/6+-parseInt(t(357))/7*(parseInt(t(368))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nn{constructor(t){const e=en;this[e(352)]=[],this[e(355)]=t}[tn(350)](t){const e=tn,n=this[e(342)](t);Xe[e(349)](this.data,this[e(355)],n)}getData(){return this.data}[tn(342)](t){const e=tn;return r({x:t.x,y:t.y,tspl:Date[e(369)]()},this[e(353)](t))}extractButtonsPressedData(t){const e=tn;return r(r(r(r({},t[e(363)]&&{ctrlKey:!0}),t[e(360)]&&{altKey:!0}),t[e(341)]&&{shiftKey:!0}),0!=t[e(371)]&&{buttons:t.buttons})}}class rn{constructor(t){const e=tn;this.data=[],this[e(366)]=t}collect(t){const e=tn,n=Xe[e(345)](t);if(typeof t[e(361)]===e(337)){const i=t[e(361)]();if(i&&i[e(346)]>0)return void i[e(367)]((t=>{const i=e,r=this[i(342)](t,n,!0);Xe[i(349)](this[i(352)],this[i(366)],r)}))}const i=this[e(342)](t,n,!1);Xe[e(349)](this.data,this.bufferSize,i)}getData(){return this[tn(352)]}[tn(342)](t,e,n){const i=tn,s=r({x:t.x,y:t.y,timestampHighRes:Xe.getEventHighResTimestamp(t)},this[i(353)](t));return n&&(s[i(362)]=e),s}[tn(353)](t){const e=tn;return r(r(r(r({},t.ctrlKey&&{ctrlKey:!0}),t.altKey&&{altKey:!0}),t[e(341)]&&{shiftKey:!0}),0!=t[e(371)]&&{buttons:t[e(371)]})}}class sn{constructor(t){const e=tn;this[e(352)]=[],this[e(355)]=t}[tn(350)](t){const e=tn;var n;const i={x:t.x,y:t.y,timestamp:Date.now(),mouseButtonType:t[e(354)],offsetX:t[e(373)],offsetY:t[e(365)],isPressed:null==(null===(n=t.sourceCapabilities)||void 0===n?void 0:n.firesTouchEvents)?null:!t[e(358)].firesTouchEvents,target_id:t[e(370)].id};Xe.maintainLastXItems(this[e(352)],this[e(355)],i)}[tn(372)](){const t=[...this[tn(352)]];return this.data=[],t}}class an{constructor(t){const e=tn;this[e(352)]=[],this[e(366)]=t}[tn(350)](t){const e=tn;var n;const i={isTrusted:t.isTrusted,cancelable:t.cancelable,composed:t[e(351)],isView:!!t[e(335)],shiftKey:t.shiftKey,metaKey:t[e(344)],ctrlKey:t[e(363)],altKey:t[e(360)],firesTouchEvents:null===(n=t[e(358)])||void 0===n?void 0:n[e(359)],timestamp:Date.now()};Xe[e(349)](this.data,this.bufferSize,i)}[tn(372)](){const t=tn,e=[...this.data];return this[t(352)]=[],e}}class on{constructor(t){const e=tn;this[e(352)]=[],this[e(366)]=t}[tn(350)](t){const e=tn;var n;const i={isTrusted:t[e(336)],cancelable:t[e(338)],composed:t[e(351)],isView:!!t[e(335)],location:t.location,shiftKey:t[e(341)],ctrlKey:t.ctrlKey,altKey:t.altKey,firesTouchEvents:null===(n=t[e(358)])||void 0===n?void 0:n[e(359)],timestamp:Date[e(369)]()};Xe[e(349)](this.data,this[e(366)],i)}[tn(372)](){const t=tn,e=this[t(352)];return this[t(352)]=[],e}}class cn{constructor(t){const e=tn;this[e(352)]=[],this[e(366)]=t}[tn(350)](t){const e=tn,n={isTrusted:t.isTrusted,cancelable:t[e(338)],composed:t[e(351)],inputType:t[e(347)],isView:!!t[e(335)],timestamp:Date[e(369)]()};Xe[e(349)](this.data,this.bufferSize,n)}getData(){const t=tn,e=this.data;return this[t(352)]=[],e}}class ln{constructor(t){const e=tn;this[e(352)]=[],this[e(366)]=t}[tn(350)](t){const e=tn,n={isTrusted:t[e(336)],cancelable:t[e(338)],composed:t[e(351)],timestamp:Date[e(369)]()};Xe[e(349)](this[e(352)],this[e(366)],n)}[tn(372)](){const t=tn,e=this.data;return this[t(352)]=[],e}}const hn=On;function dn(){const t=["getGenericAttributes","selectMoveEventTypeBasedOnRollout","input","10947640ItJMDM","moveEventType","persistRolloutAndMoveEventTypeSelections","focus","PointerEvent","cancelable","keyup","error","mouseEventsCollectionBuffer","visibilitychange","addEventListener","href","getStoredMoveEventType","firesTouchEvents","deviceEventDataCollectionIgnoreList","filter","interactionEventsCollectorsData","pecrp","cmet","getData","SELECT","Error while adding listener","getAttachedData","virtualKeyboard","getItemLocalStorageSafe","INPUT","clipboardData","isTrusted","pointermove","100ODiELc","offsetY","mouseup","paste","target","change","989030aCtfqJ","composed","keydown","addSafeInteractionListener","sourceCapabilities","visibilityState","1172612gjmEDE","overlaysContent","getEventHighResTimestamp","208218msgxDx","tagName","hasFocus","storageManager","3266240NleYgq","includes","dropEffect","forEach","setItemLocalStorageSafe","pagehide","TEXTAREA","offsetX","handleEvent","eventTypesToAttach","random","pointerMoveRolloutPercentage","inputTypeFilter","undefined","448976xraPNk","pageshow","detectMoveEventType","effectAllowed","click","blur","collect","pointerevents","mousemove","keys","submit","54642oFXrIJ","error adding interaction listener","entries","safeEventCallback"];return(dn=function(){return t})()}!function(){const t=On,e=dn();for(;;)try{if(451766==-parseInt(t(509))/1+-parseInt(t(482))/2+-parseInt(t(440))/3+-parseInt(t(495))/4+-parseInt(t(476))/5*(-parseInt(t(491))/6)+parseInt(t(488))/7+parseInt(t(447))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const un=hn(481),gn=hn(513),pn=hn(479),fn=hn(437),_n=hn(475),vn=hn(478),mn="mousedown",wn=hn(439),yn=hn(453),In=hn(484),bn=hn(446),En="focusout",Sn=hn(450),Tn=hn(514),kn=hn(456),Dn=hn(500),An=hn(510),Cn=hn(436),Mn=[hn(472),hn(467),hn(501)],Ln=hn(464),Pn=hn(465);class xn{constructor(t,e,n,i,s){const a=hn;this[a(494)]=i,this[a(461)]=t,this[a(455)]=e,this[a(443)]=n,this[a(506)]=s,this[a(448)]=this[a(511)](),this[a(463)]={[gn]:{eventTypesToAttach:[this[a(448)],vn,mn],attributesMapper:t=>{const e=a;var n;return{x:t.x,y:t.y,mouseButtonType:t.detail,isPressed:null==(null===(n=t[e(486)])||void 0===n?void 0:n[e(460)])?null:!t[e(486)][e(460)],offsetX:t[e(502)],offsetY:t[e(477)],target_id:t[e(480)].id}}},[pn]:{attributesMapper:t=>{const e=a;return{target_id:t.target.id,isTrusted:t[e(474)],cancelable:t[e(452)],composed:t[e(483)],dropEffect:t[e(473)][e(497)],effectAllowed:t[e(473)][e(512)]}}},[wn]:{attributesMapper:t=>({target_id:t[a(480)].id})},[fn]:{continousCollectors:[new nn(this[a(455)])]},[_n]:{continousCollectors:[new rn(this.mouseEventsCollectionBuffer)]},[vn]:{continousCollectors:[new sn(1)]},[mn]:{continousCollectors:[new sn(1)]},[En]:{eventTypesToAttach:[bn,yn,In,un],filter:this[a(507)],attributesMapper:t=>{const e=a,{target:n,isTrusted:i,cancelable:s,composed:o}=t;return r({target_id:n.id,dataset_keys:Object[e(438)](n.dataset||{}),isTrusted:i,cancelable:s,composed:o},navigator[e(470)]&&{navigator_virtualKeyboard:navigator[e(470)][e(489)]})}},[bn]:{filter:this.inputTypeFilter,continousCollectors:[new cn(50)]},[yn]:{filter:this[a(507)],continousCollectors:[new on(50)]},[In]:{filter:this[a(507)],continousCollectors:[new an(50)]},[un]:{continousCollectors:[new ln(50)]},[Sn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document[e(487)],hasFocus:document[e(493)](),timestampHighRes:Xe[e(490)](t),target_id:null===(n=t.target)||void 0===n?void 0:n.id}}},[Tn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document.visibilityState,hasFocus:document[e(493)](),timestampHighRes:Xe[e(490)](t),target_id:null===(n=t[e(480)])||void 0===n?void 0:n.id}}},[kn]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(487)],hasFocus:document[e(493)](),timestampHighRes:Xe[e(490)](t)}}},[Dn]:{attributesMapper:t=>{const e=a;return{visibilityState:document.visibilityState,hasFocus:document[e(493)](),timestampHighRes:Xe[e(490)](t)}}},[An]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(487)],hasFocus:document[e(493)](),timestampHighRes:Xe[e(490)](t)}}}}}[hn(511)](){const t=hn;return typeof window!==t(508)&&window[t(451)]?this[t(445)]():fn}selectMoveEventTypeBasedOnRollout(){const t=hn,e=this.storageManager[t(471)](Ln);if((null!=e?Number(e):null)!==this.pointerMoveRolloutPercentage){const e=Math[t(505)]()<this.pointerMoveRolloutPercentage/100?_n:fn;return this[t(449)](e),e}return this[t(459)]()}[hn(449)](t){const e=hn;this.storageManager[e(499)](Ln,this.pointerMoveRolloutPercentage),this[e(494)].setItemLocalStorageSafe(Pn,t)}[hn(459)](){const t=this[hn(494)].getItemLocalStorageSafe(Pn);return(e=t)===_n||e===fn?t:fn;var e}[hn(507)](t){const e=hn;var n;const i=null===(n=t[e(480)])||void 0===n?void 0:n[e(492)];return Mn.includes(i)}registerEventListeners(){const t=hn;for(const[e,n]of Object[t(442)](this[t(463)]))if(!this[t(461)][t(496)](e)&&!(e===fn&&this[t(448)]===_n||e===_n&&this[t(448)]===fn))try{this.addSafeInteractionListener(e,n)}catch(n){Te[t(454)](t(468),{error:n,eventType:e})}}[hn(462)](t,e){const n=hn;return!t.filter||t[n(462)](e)}async[hn(503)](t,e,n){const i=hn,{attributesMapper:s,continousCollectors:a}=t;if(!this[i(462)](t,e))return!1;if(a)a.forEach((t=>{t[i(515)](e)}));else{const t=this[i(444)](),a=this[i(469)](n),o=r(r(r({},t),s(e)),a&&{attachedEventsData:a});await this.safeEventCallback(n,o)}return!0}[hn(485)](t,e){const n=hn;window[n(457)](t,(async i=>{const r=n;try{await this[r(503)](e,i,t)}catch(t){Te[r(454)](r(441),{error:t})}}),t===Sn||t===Tn)}[hn(469)](t){const e=hn;let n;const i=this[e(463)][t][e(504)];return i&&(n={},i[e(498)]((t=>{const i=e,{continousCollectors:r}=this[i(463)][t];if(r){const e=t===_n?Cn:t;r[i(498)]((t=>n[e]=t[i(466)]()))}}))),n}[hn(444)](){const t=hn;return{location:window.location[t(458)]}}}function On(t,e){return t-=436,dn()[t]}function Rn(t,e){return t-=402,Nn()[t]}function Nn(){var t=["70443LQNIlU","510455gmfSoO","compressed","1928MUqsbD","9IhXwmx","compress","158JpldRY","589360wezGtx","ALLOW","TRUST","uncompressed","CHALLENGE","4fssBIU","DENY","672wqVEQO","5141961naToty","5418mogKSs","533140aXYoUF"];return(Nn=function(){return t})()}var zn,Un,Fn,Bn,Kn,Zn;function Vn(t,e){return t-=139,jn()[t]}function jn(){const t=["6IoRakW","encrypt","exportKey","3091yAhlbY","crypto","encryptPayload","importPublicKey","string","21ZefatE","375105zdHDlv","fromCharCode","decrypt","7QoNBiD","encryptSymKeyBundle","crypto is not supported","parse","arrayBufferToBase64","btoa","17001HpmaEx","590ZAuGNk","SHA-256","stringify","subtle","31606BrgOLB","getRandomValues","byteLength","3382424zJubRI","AES-GCM","encode","generateKey","raw","22332LWNSTk","jwk","662470QbBeYL","configManager","1131756QCXCJK"];return(jn=function(){return t})()}!function(){for(var t=Rn,e=Nn();;)try{if(227039==-parseInt(t(411))/1*(parseInt(t(414))/2)+parseInt(t(408))/3+parseInt(t(402))/4*(parseInt(t(409))/5)+-parseInt(t(406))/6*(parseInt(t(404))/7)+-parseInt(t(415))/8*(parseInt(t(412))/9)+-parseInt(t(407))/10+parseInt(t(405))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(Un=zn||(zn={}))[(Fn=Rn)(413)]=Fn(410),Un[Fn(418)]="uncompressed",Zn=Rn,(Kn=Bn||(Bn={})).ALLOW=Zn(416),Kn[Zn(419)]=Zn(419),Kn[Zn(403)]=Zn(403),Kn[Zn(417)]=Zn(417);const Hn=Vn;!function(){const t=Vn,e=jn();for(;;)try{if(219918==parseInt(t(154))/1*(-parseInt(t(169))/2)+parseInt(t(155))/3+parseInt(t(145))/4+-parseInt(t(143))/5*(-parseInt(t(146))/6)+-parseInt(t(158))/7*(-parseInt(t(172))/8)+parseInt(t(164))/9*(parseInt(t(165))/10)+parseInt(t(149))/11*(-parseInt(t(141))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wn{constructor(t){this[Vn(144)]=t}generateSymKey(){const t=Vn;return window[t(150)].subtle[t(139)]({name:t(173),length:256},!0,[t(147),t(157)])}async[Hn(151)](t,e){const n=Hn,i=typeof t===n(153)?(new TextEncoder).encode(t):t,r=window[n(150)][n(170)](new Uint8Array(12)),s={name:n(173),iv:r},a=await window[n(150)].subtle[n(147)](s,e,i);return{payloadCipherText:this[n(162)](a),iv:r}}async[Hn(159)](t,e,n){const i=Hn,r=await window[i(150)][i(168)][i(148)](i(140),t),s=this[i(162)](r),a=this[i(162)](e),o=(new TextEncoder)[i(174)](JSON[i(167)]({symKey:s,iv:a})),c=await window[i(150)][i(168)][i(147)]({name:"RSA-OAEP"},n,o);return this[i(162)](c)}[Hn(162)](t){const e=Hn;let n="";const i=new Uint8Array(t),r=i[e(171)];for(let t=0;t<r;t++)n+=String[e(156)](i[t]);return window[e(163)](n)}[Hn(152)](t){const e=Hn;return window[e(150)][e(168)].importKey(e(142),JSON[e(161)](t),{name:"RSA-OAEP",hash:e(166)},!0,[e(147)])}async encrypt(t,e){const n=Hn;if(!window[n(150)]||!window[n(150)].subtle)throw new Error(n(160));const i=await this.generateSymKey(),{payloadCipherText:r,iv:s}=await this[n(151)](e,i),a=await this[n(152)](t);return{encryptedData:r,encryptedKey:await this.encryptSymKeyBundle(i,s,a)}}}var Jn,Gn,Yn,qn=Xn;function Xn(t,e){return t-=366,Qn()[t]}function Qn(){var t=["145siJtkj",", errorCode: ","160aIRYAM","2191244uOkLrj","390uQWNaz","COMMUNICATION","SERVER","1126584rSasqx","toString","7055667iNVHTq","error","errorCode","CLIENT","toLog","113154kUsjXr","1121180BHpjdG","errorSpace","name","message","63HTTxWi",", errorSpace: ","communication","323hshBeZ","736821RiXfQK","server"];return(Qn=function(){return t})()}!function(){for(var t=Xn,e=Qn();;)try{if(686656==parseInt(t(384))/1*(parseInt(t(366))/2)+-parseInt(t(385))/3+parseInt(t(377))/4+-parseInt(t(387))/5*(parseInt(t(376))/6)+parseInt(t(381))/7*(-parseInt(t(369))/8)+-parseInt(t(371))/9+-parseInt(t(389))/10*(-parseInt(t(390))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(Gn=Jn||(Jn={}))[(Yn=Xn)(374)]="client",Gn[Yn(368)]=Yn(386),Gn[Yn(367)]=Yn(383);class $n extends Error{constructor(t,e,n){var i,r,s=Xn;super(),this[s(372)]=t,this[s(378)]=e,this[s(373)]=n,this[s(380)]=(null===(i=this[s(372)])||void 0===i?void 0:i.message)||this[s(372)].toString(),this.name=(null===(r=this.error)||void 0===r?void 0:r[s(379)])||$n[s(379)]}[qn(370)](){var t=qn;return"SDKError: "+this[t(380)]+(this[t(378)]?t(382)+this.errorSpace:"")+(this[t(373)]?t(388)+this[t(373)]:"")}[qn(375)](){var t=qn;return r(r({name:this[t(379)],message:this[t(380)]},this.errorSpace&&{errorSpace:this[t(378)]}),this[t(373)]&&{errorCode:this[t(373)]})}}function ti(t,e){return t-=282,ei()[t]}function ei(){const t=["21746784pWaMmG","join","148WfoOCj","1185686fWDRrz","140665VWmfWD","20gNHtdY","195752VlKwIl","7917720emygJs","11woIVkf","1960422OLizPB","645444ieBpgO","3ruJqxP","21DbXLjq"];return(ei=function(){return t})()}!function(){const t=ti,e=ei();for(;;)try{if(527156==parseInt(t(287))/1+parseInt(t(284))/2*(-parseInt(t(292))/3)+-parseInt(t(283))/4*(parseInt(t(285))/5)+-parseInt(t(290))/6*(parseInt(t(293))/7)+parseInt(t(288))/8+-parseInt(t(291))/9*(-parseInt(t(286))/10)+parseInt(t(289))/11*(parseInt(t(294))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ni=ii;function ii(t,e){return t-=109,ri()[t]}function ri(){const t=["localStoredEventTypes","EVENT_TYPE_ACTION_RESULT","getDeviceId","addEventToLocalStorage","EVENT_TYPE_IDENTIFICATION","catch","setSessionToken","Error while emitting event","[Lightweight] getPayload() can only be called in lightweight mode","mouseEventsCollectionBuffer","removeItemLocalStorageSafe","flushLock","[Lightweight] Failed to collect device data","setUserId","token","get","map","getItemLocalStorageSafe","interactionEventsManager","uncompressed","storageManager","actionToken","size","1482LAOxxJ","device/events","setDeviceId","timestamp","[Lightweight] clearQueue() called in standard mode - ignoring","parse","getClientId","ACTION_TOKEN_CACHE_MAX_SIZE","Crypto-binding is not supported. ","page_load","pointerEventRolloutPercentage","EVENT_TYPE_INTERACTION","forEach","toString","info","eventIndex","getRotationData","add","lightweight","key_rotation_data","safeEventCallback","1372HRhLxU","EVENT_TYPE_DEVICE","bufferSize","increaseEventIndex","Failed to compress data, sending the data to the service uncompressed","Error while emitting event (delayed flush)","push","emitEvent","setItemLocalStorageSafe","pollingInterval","1102bvxCjU","keyIdentifier","delete","isNaN","now","min","identityManager","126zEmzUC","value","eventTypesToStore","processingEvents","getConfValue","61810omNmOK","has","history","index","deviceDataManager","getPublicData","registerEventListeners","eventIdMap","799421onEswr","events","Failed to refresh data","no need to send device event","type","fetchEventsFromLocalStorage","getPayload","key_rotation_status","crypto","enablePendingQueue","sessionToken","rei","length","warn","publicKeyId","error","configManager","headers","popAllEvents","getTabId","performance","publicKey","correlationId","cacheActionToken","stringify","userId","pop","actionTokenCache","extractWindowRespurces","isTokenExpired","encrypt","navigatorHighEntropyData","generateEventIdentifier","attributes","referrer","207TliPEf","errorCode","buildEncryptedRequestBody","lastDeviceInDeviceEvent","[Lightweight] Event queue cleared","flushTimeoutHandle","standard","filter","6751870RDxLfv","serverPath","next","ACTION_TOKEN_CACHE_TTL","deviceId","cleanupSentEvents","includes","cleanLocalStorageEvents","pendingQueueEnabled","sort","EVENT_TYPE_ACTION","location","refreshSessionToken","find","maxLocalStoredEvents","[Lightweight] Building fresh device payload","set","maintainLastXItems","requestsManager","COMMUNICATION","getUserId","isMobile","cryptoBinding","isArray","maxEventStored","tabId","sdkVersion","eventsQueue","enableSessionToken","getActionEventCacheKey","pollingSessionToken","sendDeviceDataEvent","getEntriesByType","platform","flush","compress","getDeviceData","shouldSendDeviceEvent","50504cGoZqm","lse","tier","getCachedActionToken","569862vefvxJ","data","parseInt","Failed to polling data","ddls"];return(ri=function(){return t})()}!function(){const t=ii,e=ri();for(;;)try{if(176658==-parseInt(t(246))/1*(parseInt(t(191))/2)+-parseInt(t(160))/3*(parseInt(t(181))/4)+-parseInt(t(203))/5*(parseInt(t(198))/6)+parseInt(t(211))/7+-parseInt(t(128))/8+-parseInt(t(132))/9+parseInt(t(254))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const si=ni(136),ai=ni(249),oi=ni(222),ci=ni(129),li=ni(146),hi="deviceEventDataCollectionIgnoreList",di=ni(232),ui=ni(183),gi=[Fe[ni(264)],Fe.EVENT_TYPE_IDENTIFICATION,Fe[ni(182)],Fe[ni(138)]],pi=[Fe.EVENT_TYPE_ACTION,Fe[ni(141)]],fi=ni(137),_i=ni(268),vi=ni(179),mi=ni(218),wi=ni(170);class yi{get[ni(262)](){const t=ni;return this[t(227)][t(202)](t(220),!1)}constructor(t,e,n,i,s,a,o,c){let l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ni(252);const h=ni;this[h(227)]=t,this[h(157)]=e,this[h(207)]=n,this[h(272)]=i,this.identityManager=s,this[h(112)]=a,this[h(255)]=o,this[h(118)]=c,this[h(130)]=l,this[h(175)]=null,this[h(210)]=new WeakMap,this.flushLock=!1,this[h(201)]=new Map,this.actionTokenCache=new Map,this[h(257)]=36e5,this[h(167)]=100,this[h(251)]=null,this[h(180)]=async(t,e)=>{const n=h;try{const i=r({},r({interaction_type:t},e)),s={type:Fe[n(171)],attributes:i};return await this[n(188)](s)}catch(t){}},this.enableSessionToken=c,this[h(117)]=[],this[h(219)]=new Wn(t),this.interactionEventsManager=new xn(this[h(227)][h(202)](hi,[]),this[h(227)].getConfValue(li,100),this[h(180)],this[h(157)],this[h(227)][h(202)](wi,0)),this[h(111)]=ze[h(111)](),this.eventTypesToStore=this[h(227)][h(202)](fi,[Fe[h(264)],Fe[h(182)]]),this[h(114)]=this[h(227)][h(202)](_i,4),this[h(190)]=36e4,this.tier!==h(178)&&this.pollingSessionToken()}[ni(243)](t){const e=ni;var n;if(this[e(210)].has(t))return this[e(210)][e(152)](t);const i=function(t,e,n,i,r,s,a){const o=ti;return[t,e,n,i,r,void 0!==s?s:"",a||""].filter((t=>""!==t))[o(282)]("-")}(t[e(215)]||"",this[e(197)][e(166)](),this[e(197)].getDeviceId()||"",this[e(197)][e(110)]()||"",t[e(163)],t[e(206)],null===(n=t[e(244)])||void 0===n?void 0:n.action_type);return this.eventIdMap[e(270)](t,i),i}[ni(119)](t){const e=ni;var n;return((null==t?void 0:t.type)||"")+"-"+(this[e(197)].getClientId()||"")+"-"+(this.identityManager[e(139)]()||"")+"-"+((null==t?void 0:t[e(236)])||this[e(197)].getUserId()||"")+"-"+((null==t?void 0:t.timestamp)||"")+"-"+((null==t?void 0:t.index)||"")+"-"+((null===(n=null==t?void 0:t[e(244)])||void 0===n?void 0:n.action_type)||(null==t?void 0:t[e(233)])||"")}[ni(131)](t){const e=ni;if(!pi.includes(null==t?void 0:t[e(215)]))return null;const n=this[e(119)](t),i=this[e(238)][e(152)](n);return i?Date[e(195)]()-i[e(163)]>this[e(257)]?(this.actionTokenCache[e(193)](n),null):i[e(151)]:null}[ni(234)](t,e){const n=ni;if(!pi[n(260)](null==t?void 0:t[n(215)])||!e)return;if(this.actionTokenCache[n(159)]>=this.ACTION_TOKEN_CACHE_MAX_SIZE){const t=this.actionTokenCache.keys()[n(256)]()[n(199)];this[n(238)][n(193)](t)}const i=this[n(119)](t);this[n(238)].set(i,{token:e,timestamp:Date[n(195)]()})}async emitEvent(t){const e=ni;if(this[e(262)]&&pi[e(260)](null==t?void 0:t[e(215)])){const n=this[e(131)](t);if(n)return Te[e(174)]("Returning cached action token",{actionType:t[e(215)],correlationId:t[e(233)]}),{actionToken:n}}t[e(206)]=this[e(184)](),t[e(265)]=location[e(173)](),t[e(123)]=navigator[e(123)],t[e(116)]="2.4.0",t[e(255)]=this[e(255)],t[e(115)]=this.identityManager[e(230)](),t[e(163)]=Date[e(195)](),await this.enrichUADataIfDoesNotExist(t);let n=0;if(this[e(200)].includes(t[e(215)])?n=this.addEventToLocalStorage(t):this.eventsQueue.push(t),this.tier===e(178))return{};const i=this.configManager[e(202)](ui,2);if(this.eventsQueue[e(223)]+n>=i||gi.includes(t.type)){this[e(251)]&&(clearTimeout(this[e(251)]),this[e(251)]=null);try{return await this[e(124)]()}catch(n){throw Te[e(226)](e(144),{clientId:this[e(197)].getClientId(),eventType:t[e(215)],error:n.errorCode?n.toLog():n}),n}}if(!this[e(251)]&&this[e(117)][e(223)]>0){const n=this[e(227)][e(202)]("bufferInterval",2),i=Math[e(196)](n,30);this[e(251)]=setTimeout((()=>{const n=e;this[n(251)]=null,this[n(124)]()[n(142)]((e=>{const i=n;Te.error(i(186),{clientId:this[i(197)][i(166)](),eventType:t[i(215)],error:e[i(247)]?e.toLog():e})}))}),1e3*i)}return{}}async[ni(266)](){const t=ni;try{return this.eventsQueue.length>0||await this[t(121)](!0),await this[t(124)]()}catch(e){Te[t(226)](t(213),{e:e})}}async[ni(120)](){const t=ni;try{this[t(197)][t(240)]()&&await this[t(266)]()}catch(e){Te.error(t(135),{e:e})}finally{setTimeout((async()=>{const e=t;await this[e(120)]()}),this[t(190)])}}async enrichUADataIfDoesNotExist(t){const e=ni;var n;if(!(null===(n=t[e(244)])||void 0===n?void 0:n[e(242)]))try{t[e(244)][e(242)]=await De()}catch(t){}}[ni(229)](){const t=ni;if(this[t(262)]){const e=[],n=new Set;for(;this[t(117)][t(223)];){const i=this.eventsQueue[t(237)]();if(!i)break;const r=this.generateEventIdentifier(i);this.processingEvents.has(r)||!n[t(204)](r)&&(n.add(r),e[t(187)](i))}const i=this[t(216)]();return(null==i?void 0:i[t(223)])&&i[t(172)]((i=>{const r=t,s=this.generateEventIdentifier(i);this[r(201)][r(204)](s)||!n.has(s)&&(n[r(177)](s),e.push(i))})),e[t(263)](((e,n)=>e[t(163)]-n[t(163)]))}{const e=[],n=this[t(216)]();for(;this.eventsQueue.length;){const n=this.eventsQueue[t(237)]();if(!n)break;e[t(187)](n)}return(null==n?void 0:n[t(223)])&&e[t(187)](...n),e[t(263)](((e,n)=>e[t(163)]-n[t(163)]))}}async[ni(124)](){const t=ni;let e=[];if(this.pendingQueueEnabled){for(;this[t(148)];)await new Promise((t=>setTimeout(t,10)));this[t(148)]=!0;try{if(e=this.popAllEvents(),0===e[t(223)])return{};e[t(172)]((e=>{const n=t,i=this[n(243)](e);this[n(201)][n(270)](i,e)}))}finally{this[t(148)]=!1}}else if(e=this[t(229)](),0===e[t(223)])return{};const n={};n.clientId=this[t(197)][t(166)](),n[t(258)]=this.identityManager.getDeviceId(),n[t(236)]=this[t(197)][t(110)](),n.sdkPlatform=this.isMobile?Ze:Be,n[t(212)]=e;try{const{keyIdentifier:e,publicKeyId:i}=await this[t(112)][t(208)]();n[t(192)]=e,n[t(225)]=i}catch(e){Te[t(224)](t(168)+e)}this[t(118)]&&(n[t(221)]=!0);try{const i=await this[t(248)](n,!0),s=await this[t(112)][t(176)]();let a;s&&(a=[{type:vi,data:s[t(133)],signature:s.signature}]);const o=await this.requestsManager.postData(t(161),r(r({},i),a?{headers:a}:{}));if(o[t(228)]){const e=o.headers[t(267)]((e=>e[t(215)]===mi));e&&e[t(199)]&&this[t(112)].handleRotateResponse(e[t(199)])}return o[t(258)]&&this.identityManager[t(162)](o[t(258)]),o[t(221)]&&this.identityManager[t(143)](o.sessionToken),o.userId&&this[t(197)][t(150)](o[t(236)]),this[t(262)]?(e.forEach((e=>{const n=t;pi[n(260)](e[n(215)])&&o.actionToken&&this[n(234)](e,o[n(158)])})),this[t(259)](e),e[t(172)]((e=>{const n=t,i=this[n(243)](e);this.processingEvents[n(193)](i)}))):this.cleanLocalStorageEvents(),o}catch(n){throw this[t(262)]&&e.forEach((e=>{const n=t,i=this[n(243)](e);this[n(201)][n(193)](i)})),n}}async[ni(248)](t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=ni,i=this.configManager[n(202)](di,null);if(null===i&&e)return await this[n(227)].refreshConf(this[n(197)][n(166)]()),await this[n(248)](t);if(null===i)throw new $n(new Error("Encryption error - missing public key"),Jn[n(109)]);try{const e=JSON.stringify(t),r=this.compressData(e),s=r||e,{encryptedData:a,encryptedKey:o}=await this.crypto[n(241)](i,s);return{data:a,key:o,dataType:r?zn[n(125)]:zn[n(156)]}}catch(t){throw new $n(t,Jn.CLIENT)}}compressData(t){const e=ni;try{return de(t)}catch(t){Te[e(226)](e(185),{clientId:this[e(197)][e(166)](),error:t})}}[ni(184)](){const t=ni;if(null===this[t(175)]){const e=this[t(157)][t(154)](oi),n=Number[t(134)](e);this[t(175)]=Number[t(194)](n)?-1:n}return this[t(175)]++,this.storageManager[t(189)](oi,this[t(175)][t(173)]()),this[t(175)]}[ni(127)](){const t=ni,e=this[t(157)].getItemLocalStorageSafe(si),n=this[t(157)][t(154)](ai);return!e||!n||Date.now()-e>864e5||n!=this[t(197)].getDeviceId()}async[ni(121)](t){const e=ni;if(!t&&!this[e(127)]())return Te.info(e(214)),!1;const n=await this[e(207)].getDeviceData(),i={type:Fe[e(182)],attributes:n},r=await this[e(188)](i);return r&&(this[e(157)][e(189)](si,Date[e(195)]()),this[e(157)][e(189)](ai,this[e(197)][e(139)]())),r}async sendPageLoadEvent(){const t=ni,e=t(169);if(this.configManager[t(202)](hi,[])[t(260)](e))return!1;const n=this[t(239)]();return await this[t(188)]({type:Fe[t(171)],attributes:r(r({interaction_type:e,location:window[t(265)].href,referrer:document[t(245)]},window[t(205)]&&{window_historyLength:window.history.length}),n&&{windowResources:n})}),!0}extractWindowRespurces(){const t=ni;try{const e=window[t(231)][t(122)]("resources");return e&&Array[t(113)](e)?e[t(153)]((t=>({name:t.name,initiatorType:t.initiatorType}))):void 0}catch(t){}}registerEventListeners(){const t=ni;this[t(155)][t(209)](),this[t(197)].registerEventListeners()}async[ni(217)](){const t=ni;if(this[t(130)]!==t(178))throw new Error(t(145));let e;Te[t(174)](t(269));try{e=await this.deviceDataManager[t(126)]()}catch(e){throw Te[t(226)](t(149),{error:e}),new Error(t(149))}const n=[{type:Fe[t(182)],attributes:e,timestamp:Date[t(195)](),index:this.increaseEventIndex(),location:location[t(173)](),platform:navigator[t(123)],sdkVersion:"2.4.0",serverPath:this[t(255)],tabId:this[t(197)][t(230)]()}],i=this[t(197)][t(139)]();return{clientId:this.identityManager[t(166)](),deviceId:i||void 0,userId:this.identityManager[t(110)]()||null,sdkPlatform:this[t(111)]?"mobile_web":"desktop_web",events:n}}clearQueue(){const t=ni;this[t(130)]===t(178)?(this[t(117)]=[],this[t(157)].removeItemLocalStorageSafe(ci),Te[t(174)](t(250))):Te[t(224)](t(164))}[ni(216)](){const t=ni,e=this[t(157)][t(154)](ci);if(!e)return[];try{return JSON[t(165)](e)}catch(t){return Te.error("Failed to parse events from localStorage",{error:t}),[]}}[ni(140)](t){const e=ni,n=this[e(216)]();return Xe[e(271)](n,this[e(114)],t),this[e(157)][e(189)](ci,JSON[e(235)](n)),n[e(223)]}[ni(261)](){const t=ni;this[t(157)][t(147)](ci)}[ni(259)](t){const e=ni;if(0===t[e(223)])return;const n=this[e(216)]();if(!n||0===n[e(223)])return;const i=new Set;for(const n of t)i[e(177)](this[e(243)](n));const r=n[e(253)]((t=>!i[e(204)](this.generateEventIdentifier(t))));r[e(223)]!==n.length&&(r[e(223)]>0?this[e(157)][e(189)](ci,JSON[e(235)](r)):this[e(157)][e(147)](ci))}}function Ii(){const t=["getPublicData","Failed to generate secure session token:","setClientId","setDeviceId","rdi","loadDeviceId","loadTabId","actionType","setItemSessionStorageSafe","7476teCuMC","Updating DeviceId","1766472Bmdavd","base64UrlEncode","split","411awDIxM","toString","1.0","JWT","setItemLocalStorageSafe","877616lsvkJD","setCryptoBinding","stringify","removeItemLocalStorageSafe","RS256","removeItemSessionStorageSafe","27OVPmda","rci","info","rdit","2675230yBPNBF","getDeviceId","exp","removeUserId","tabId","isTokenExpired","saveTabIdOnUnload","getSessionToken","registerEventListeners","getUserId","getItemSessionStorageSafe","rui","load","addEventListener","storageManager","CryptoBinding not available for secure session token generation","configManager","getConfValue","2449132kjaTih","error","warn","now","3089152tEhipR","floor","setUserId","rst","12286beDcia","iat","deviceId","setSessionToken","clientId","getClientId","getItemLocalStorageSafe","userIdStorageExpiry","MAX_SAFE_INTEGER","cryptoBinding"];return(Ii=function(){return t})()}const bi=Ei;function Ei(t,e){return t-=294,Ii()[t]}!function(){const t=Ei,e=Ii();for(;;)try{if(446452==parseInt(t(311))/1+-parseInt(t(330))/2*(-parseInt(t(335))/3)+parseInt(t(307))/4+-parseInt(t(350))/5+-parseInt(t(332))/6+-parseInt(t(303))/7+-parseInt(t(340))/8*(-parseInt(t(346))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Si=bi(296),Ti=bi(347),ki=bi(325),Di=bi(349),Ai="rti",Ci=bi(310),Mi=bi(318),Li=bi(337);class Pi{constructor(t,e,n){const i=bi;this[i(299)]=t,this[i(301)]=e,this[i(315)]=n,this[i(320)]=null,this[i(323)](this[i(315)])}[bi(341)](t){this[bi(320)]=t}[bi(297)](){const t=bi;this[t(326)](),this[t(327)]()}[bi(358)](){const t=bi;window[t(298)]("beforeunload",(async()=>this[t(356)]()))}[bi(351)](){return this.deviceId}[bi(324)](t){const e=bi;this[e(313)]!==t&&(Te[e(348)](e(331),{deviceId:t}),this.deviceId=t,this[e(299)][e(329)](ki,t),this.storageManager.setItemLocalStorageSafe(ki,t))}[bi(326)](){const t=bi,e=this[t(299)][t(295)](ki)||this[t(299)][t(317)](ki);return null!=e&&this[t(324)](e),e}[bi(316)](){return this.clientId}[bi(323)](t){this[bi(299)].getClientId()!=t&&this.storageManager.setClientId(t),this.storageManager.setItemSessionStorageSafe(Ti,t)}[bi(294)](){const t=bi;if(Number(this[t(299)][t(317)](Di))+this[t(301)][t(302)](Mi,864e5)<Date.now())return this[t(353)](),null;const e=this[t(299)][t(295)](Si);return null!=e?e:this.storageManager.getItemLocalStorageSafe(Si)}[bi(309)](t){const e=bi;this.userId=t,this[e(299)][e(329)](Si,t),this.storageManager[e(339)](Si,t),this[e(299)].setItemLocalStorageSafe(Di,Date[e(306)]())}removeUserId(){const t=bi;this[t(299)][t(345)](Si),this[t(299)][t(343)](Si),this[t(299)].removeItemLocalStorageSafe(Di)}loadTabId(){const t=bi,e=this[t(299)][t(295)](Ai);e?(this[t(299)][t(345)](Ai),this[t(354)]=e):this[t(354)]=Math[t(308)](Math.random()*Number[t(319)])[t(336)]()}getTabId(){return this[bi(354)]}saveTabIdOnUnload(){const t=bi;this.storageManager[t(329)](Ai,this[t(354)])}[bi(314)](t){const e=bi;this.storageManager[e(339)](Ci,t)}[bi(357)](){const t=bi;return this.storageManager[t(317)](Ci)||this[t(299)][t(295)](Ci)}async getSecureSessionToken(t){const e=bi;var n,i;const s=null!==(n=null==t?void 0:t[e(328)])&&void 0!==n?n:null,a=null!==(i=null==t?void 0:t.expirationSeconds)&&void 0!==i?i:300;if(!this[e(320)])return Te[e(305)](e(300)),null;const o=this[e(357)]();if(!o)return Te[e(305)]("No backend session token available"),null;try{const{publicKey:t}=await this[e(320)][e(321)](),n=Math[e(308)](Date.now()/1e3),i=n+a,c=r({backendSessionToken:o,securedToken:!0,version:Li,clientParams:{clientId:this[e(316)](),deviceId:this[e(351)](),userId:this[e(294)]()},iat:n,exp:i,publicKey:t},s&&{actionType:s}),l={alg:e(344),typ:e(338)},h=Xe[e(333)](JSON.stringify(l))+"."+Xe.base64UrlEncode(JSON[e(342)](c)),d=await this[e(320)].sign(h);return h+"."+Xe.base64ToBase64Url(d)}catch(t){return Te[e(304)](e(322),{error:t}),null}}[bi(355)](){const t=bi;var e;const n=this[t(357)]();if(!n)return!0;try{const i=JSON.parse(atob(n[t(334)](".")[1]));let r=(null!==(e=i[t(352)])&&void 0!==e?e:i[t(312)])*(i[t(352)]&&i[t(352)]<1e12?1e3:1);return!i.exp&&(r+=9e5),Date[t(306)]()>=r}catch(e){return Te[t(304)]("Invalid JWT:",{error:e}),!0}}}const xi=Oi;function Oi(t,e){return t-=431,Ri()[t]}function Ri(){const t=["3404NRRDTq","COMMUNICATION","include","postDataFromURL","POST","fetch","getData","status","258217vkbnAH","serverPath","987yRvBoi","statusText","application/json","1489176anExuU","6688835pKnIXW","callServer","9aioGuL","GET","CLIENT","20409810QLmkIh","1034352JlkncC","49IwSAlz","548382wRvNCI"];return(Ri=function(){return t})()}!function(){const t=Oi,e=Ri();for(;;)try{if(700491==-parseInt(t(441))/1+parseInt(t(446))/2+parseInt(t(443))/3*(parseInt(t(433))/4)+-parseInt(t(447))/5+-parseInt(t(432))/6*(parseInt(t(431))/7)+-parseInt(t(453))/8+-parseInt(t(449))/9*(-parseInt(t(452))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ni{constructor(t){this[Oi(442)]=t}async postData(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=Oi;return this[i(436)](this[i(442)]+t,e,n)}async[xi(436)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=xi,s={method:i(437),credentials:i(435),headers:new Headers(r({"Content-Type":i(445)},n)),body:JSON.stringify(e)};return await this[i(448)](t,s)}async[xi(439)](t){const e=xi,n=this[e(442)]+t,i={method:e(450),credentials:e(435)};return await this.callServer(n,i)}async[xi(448)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=xi;if(!(n(438)in window))throw new $n(new Error("fetch-api is not supported"),Jn[n(451)]);try{const i=await fetch(t,e),r=await i.json();if(i.ok)return r;throw new $n(new Error(r.message||i[n(444)]),Jn.SERVER,i[n(440)])}catch(t){if(!(t instanceof $n))throw new $n(new Error(t.message),Jn[n(434)]);throw t}}}const zi=Fi;function Ui(){const t=["info","4610322ZZqhff","21XlydEp","835508KbpKCO","throwError","14PBCade","serverPath","filter","string","logIfInvalid","641364LEzIgP","REQUIRED_SDK_PARAMS","options","10129032nLQaJx","4080465WEmtKm","throwOrReturnResult","10840544xttsmA","109443GaFKNX","Invalid SDK params was provided: ","length","tier","push"];return(Ui=function(){return t})()}function Fi(t,e){return t-=241,Ui()[t]}!function(){const t=Fi,e=Ui();for(;;)try{if(941963==parseInt(t(259))/1+parseInt(t(252))/2+parseInt(t(244))/3*(parseInt(t(245))/4)+parseInt(t(256))/5+-parseInt(t(243))/6*(parseInt(t(247))/7)+-parseInt(t(258))/8+parseInt(t(255))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bi{constructor(){const t=Fi;this[t(253)]={clientId:t(250)}}[zi(257)](t,e,n){const i=zi;if(!t&&((null==e?void 0:e[i(251)])&&Te[i(242)](n),null==e?void 0:e[i(246)]))throw new Error(n);return t}validateSDKParams(t,e){const n=zi;var i,r,s,a;const o=Object.keys(this[n(253)])[n(249)]((e=>typeof t[e]!=this[n(253)][e]));if("lightweight"!==(null!==(i=t[n(262)])&&void 0!==i?i:null===(r=t[n(254)])||void 0===r?void 0:r[n(262)])){const e=null!==(a=null===(s=t.options)||void 0===s?void 0:s[n(248)])&&void 0!==a?a:t[n(248)];("string"!=typeof e||!e)&&o[n(241)](n(248))}return this[n(257)](0==o[n(261)],e,n(260)+JSON.stringify(o))}}const Ki=Vi;function Zi(){const t=["2003553pDeinw","enableLogsReporting","logsMinimumBatch","logsMinimumDelay","middlewares","9059116fbpuGg","logs","reportLogs","lastTimeLogsSent","flush","identityManager","configManager","16ahYjNY","length","now","6372776GpxexQ","511672nJFASf","getConfValue","305697vcZlJi","getClientId","requestsManager","942610LbyVVa","logMiddleware","push","platform","10FxbGXk","1398iLFVWs","3795jRqZpC","36sOdZnO"];return(Zi=function(){return t})()}function Vi(t,e){return t-=320,Zi()[t]}!function(){const t=Vi,e=Zi();for(;;)try{if(532911==parseInt(t(320))/1+-parseInt(t(330))/2*(parseInt(t(331))/3)+-parseInt(t(345))/4*(parseInt(t(325))/5)+parseInt(t(332))/6*(parseInt(t(322))/7)+parseInt(t(348))/8+-parseInt(t(333))/9+parseInt(t(329))/10*(parseInt(t(338))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ji{constructor(t,e,n){const i=Vi;this[i(324)]=t,this[i(343)]=e,this[i(344)]=n,this[i(341)]=0,this[i(326)]=async()=>{const t=i;try{await this[t(340)]()}catch(t){}},Te[i(337)][i(327)](this.logMiddleware)}async[Ki(340)](){const t=Ki;if(!this.configManager[t(321)](t(334),!1))return;const e=this[t(344)][t(321)](t(335),6),n=this[t(344)].getConfValue(t(336),12e4);if(Te[t(339)][t(346)]<e||this[t(341)]+n>Date[t(347)]())return;this[t(341)]=Date[t(347)]();const i=Te[t(342)](),r=this[t(343)][t(323)](),s=Math.floor(Date[t(347)]()/1e3),a={sdkVersion:"2.4.0",platform:navigator[t(328)],clientId:r,timestamp:s,logEntries:i};await this[t(324)].postData("device/logs",a)}}function Hi(t,e){return t-=432,Yi()[t]}const Wi=Hi;!function(){const t=Hi,e=Yi();for(;;)try{if(511117==-parseInt(t(433))/1+parseInt(t(435))/2+-parseInt(t(432))/3+-parseInt(t(446))/4+parseInt(t(438))/5+-parseInt(t(441))/6+parseInt(t(439))/7*(parseInt(t(451))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ji=Wi(445);class Gi{constructor(t,e,n){const i=Wi;this[i(436)]=t,this[i(448)]=e,this[i(443)]=n}async[Wi(434)](t){const e=Wi;if(this[e(443)][e(442)](Ji)!=e(450)){const n=this.identityManager.getDeviceId(),i=this[e(436)].getClientId(),r=(t[e(444)]("/")?t:t+"/")+e(437),s=await this.requestsManager[e(440)](r,{deviceId:n,clientId:i});s[e(447)]&&s[e(447)]==n&&this[e(443)][e(449)](Ji,e(450))}}}function Yi(){const t=["storageManager","endsWith","rimd","989412HCaFqm","deviceId","requestsManager","setItemLocalStorageSafe","true","4518704JwyJLt","1756227XlPjdB","803531XeZwNk","migrateIdentifiers","157604WnhiQd","identityManager","device/migrate-identifiers","3117345oVRKoa","21ylWglJ","postDataFromURL","1496250PJBmuK","getItemLocalStorageSafe"];return(Yi=function(){return t})()}const qi=Qi;function Xi(){const t=["getActions","isTokenExpired","identifiersMigrationEnabled","unknown","idbWriteTimeoutMs","string","enabled","[Lightweight] SDK initialized in lightweight mode","serverPath","warn","ssn","getDeviceData","standard","28691810KpYiFl","phone_number","3723044cGGVth","reportActionResult failed to send","2111346DAhGsG","message","config_disabled","options","sign","enableSessionToken","5yaaKAR","RiskID","errorSpace","disabledReason","extensionMetadata","_error_","reportActionResult","eventsManager","[Lightweight] triggerActionEvent() cannot be used in lightweight tier. Use getPayload() instead.","actions","getSecureSessionToken","initializedInstance","enableIdentifiersMigration","sendDeviceDataEvent","action","validateSDKParams","national_id","other","startedAt","uploadFile","[Lightweight] Setting deviceId from backend","extensionDeviceAttributes","hasOwnClientId","mainEntry","createCryptoBinding","configManager","crypto","getSessionToken","10229121qbtecF","EVENT_TYPE_ACTION","RiskIDReady","challengeType","toString","Invalid action type","claimedUserId","_error_'invalid action type - ","SDK disabled","keyRotation","keys","sdk init started","enableDeviceAttributesInActions","includes","Session token is not enabled","suspiciousContext","cryptoBinding","init","unexpected_error_","email","migrationsManager","migrateIdentifiers","identifyUser","userId","registerEventListeners","fallbackClientId","[Lightweight] Skipping auto-event collection and event listeners","40elmZNy","invalid_params","reportActionResult called without actionToken or result","clearUser","invalid_claimed_user_id_type_","init_not_called","tier","triggerActionEvent","setDeviceId","identityManager","[Lightweight] getPayload() can only be used in lightweight tier","initialize","deviceDataManager","expiryDays","setUserId","drivers_license_number","passport_number","transactionData","errorCode","claimedUserIdType","setAuthenticatedUser","SDK already initialized","refreshConf","[Lightweight] getSecureSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","storageManager","generateDisabledToken","identifyUser called without a valid userid","session","CLIENT","Invalid claimedUserIdType","sdk init done","SERVER","TSAccountProtectionReady","dispatchEvent","2ywJDpw","TSAccountProtection","sendPageLoadEvent","deviceId","customAttributes","EVENT_TYPE_ACTION_RESULT","__UNIFIED_SDK_VERSIONS__","flush","info","setCryptoBinding","downloadFile","clearQueue","clientId","stringify","serverPath is required","account_id","isInitialized","requestsManager","refreshSessionToken","getUserId","slice","correlationId","removeUserId","1538999ZMdurM","lightweight","validationManager","getConfValue","publicKey","now","getPayload","logsReporter","verbose","[Lightweight] deviceId must be a non-empty string","trim","disabled_sdk_","firstPartyMigrationUrl","unified-platform","catch","object","length","emitEvent","3166644OonIod","tenantId","initializationPromise","1167268hWJtwI","updateUserId","[Lightweight] reportActionResult() cannot be used in lightweight tier.","privateUserIdentifier"];return(Xi=function(){return t})()}function Qi(t,e){return t-=269,Xi()[t]}!function(){const t=Qi,e=Xi();for(;;)try{if(761045==parseInt(t(389))/1*(parseInt(t(345))/2)+-parseInt(t(386))/3+-parseInt(t(408))/4*(-parseInt(t(416))/5)+parseInt(t(410))/6+parseInt(t(368))/7*(parseInt(t(311))/8)+parseInt(t(284))/9+-parseInt(t(406))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const $i=[null,void 0,"undefined","",0],tr=qi(397),er=qi(428),nr=qi(376),ir=qi(296),rr=qi(425),sr=[qi(303),qi(407),qi(360),qi(403),qi(272),qi(327),qi(326),qi(273)];class ar{constructor(t,e){const n=qi;var i,r;if(this.initializationPromise=null,this[n(419)]=null,this[n(415)]=!1,this[n(395)]=!1,this.firstPartyMigrationUrl=null,this[n(278)]=!1,this.tier="standard",this[n(370)]=new Bi,ar.initializedInstance)throw new Error(n(332));ar[n(427)]=!0;const s="string"==typeof e;this.clientId=s?e:t,this[n(413)]=s?{serverPath:t}:e,this[n(317)]=(null===(i=this.options)||void 0===i?void 0:i[n(317)])||n(405);const a=typeof(null===(r=this[n(413)])||void 0===r?void 0:r.serverPath)===n(398)&&this[n(413)][n(401)][n(378)]()[n(384)]>0;if("lightweight"!==this[n(317)]&&!a)throw new Error(n(359));a&&(this.options[n(401)]=new URL(this[n(413)][n(401)])[n(288)]()),this[n(380)]=this.options.firstPartyMigrationUrl||null,"lightweight"===this[n(317)]&&Te[n(353)](n(400),{serverPath:this[n(413)][n(401)]}),Te[n(399)]=!!this[n(413)][n(376)],!this.validationManager[n(271)](this,{throwError:!0,logIfInvalid:!0})&&(this[n(419)]=n(312)),this[n(335)]=new ye(this.clientId),this[n(362)]=new Ni(this[n(413)][n(401)]),this[n(281)]=new Je(this[n(335)],this[n(362)]),this[n(320)]=new Pi(this[n(335)],this[n(281)],this[n(357)]),this.identityManager.load(),this[n(304)]=new Gi(this[n(320)],this[n(362)],this[n(335)]),this[n(415)]=this.options[n(415)]||!1,this[n(278)]=this[n(413)][n(278)]||!1,this[n(375)]=new ji(this[n(362)],this[n(320)],this.configManager)}[qi(336)](t){const e=qi,n=Date[e(373)]();return e(379)+(this[e(419)]||e(396))+"_"+t+"_"+n}get[qi(425)](){return this[qi(281)].getConfValue(rr,[])}async[qi(393)](){const t=qi;return await this.isInitialized(),this[t(425)]}async[qi(283)](){const t=qi;if(this[t(317)]===t(369))throw new Error("[Lightweight] getSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.");if(!this[t(415)])throw new Error(t(298));return await this[t(361)]()?(this[t(320)][t(394)]()&&await this[t(423)].refreshSessionToken(),this.identityManager.getSessionToken()):(Te[t(353)]("SDK disabled"),this.generateDisabledToken(t(338)))}async[qi(374)](){const t=qi;if(this[t(317)]!==t(369))throw new Error(t(321));return await this[t(361)](),await this[t(423)][t(374)]()}[qi(356)](){const t=qi;if(this[t(317)]!==t(369))throw new Error("[Lightweight] clearQueue() can only be used in lightweight tier");this[t(423)].clearQueue()}[qi(319)](t){const e=qi;if(this.tier!==e(369))throw new Error("[Lightweight] setDeviceId() can only be used in lightweight tier");if(!t||"string"!=typeof t)throw new Error(e(377));Te[e(353)](e(276),{deviceId:t}),this.identityManager.setDeviceId(t)}async[qi(301)](t){const e=qi,n=typeof t!==e(383)?t:null==t?void 0:t[e(307)];return Te[e(353)](e(295)),this[e(388)]=(async()=>{const t=e;this.tier!==t(369)&&await this[t(281)][t(333)](this.identityManager.getClientId());const i=this.configManager.getConfValue(t(387),null),r=this[t(281)][t(371)](t(293),null),s=this[t(281)].getConfValue(tr,void 0),a={};if((null==r?void 0:r.isEnabled)&&(a[t(293)]={isEnabled:!0,expiryDays:r[t(324)],startedAt:r[t(274)],tenantId:i}),void 0!==s&&(a[t(397)]=s),this[t(278)]&&(a[t(309)]=this[t(357)]),this[t(300)]=_e[t(282)][t(280)](t(414),Object[t(294)](a)[t(384)]>0?a:void 0),this[t(320)][t(354)](this.cryptoBinding),this.deviceDataManager=new Ne(this.storageManager,this[t(281)],this[t(300)]),this[t(423)]=new yi(this[t(281)],this.storageManager,this[t(323)],this[t(362)],this[t(320)],this[t(300)],this[t(413)][t(401)],this.enableSessionToken,this[t(317)]),null!==this.disabledReason)return!1;const o=this.configManager[t(371)]("sdkEnabled",void 0);return o?(this[t(395)]=this.identifiersMigrationEnabled||this[t(281)][t(371)](er,!1),this[t(395)]&&this[t(380)]&&await this[t(304)][t(305)](this[t(380)]),Te[t(399)]=Te[t(399)]||!!this[t(281)][t(371)](nr,!1),this.tier!==t(369)?(await this[t(423)][t(269)]()[t(382)]((()=>{})),await this[t(423)][t(347)]()[t(382)]((()=>{})),await this[t(390)](n)[t(382)]((()=>{})),this[t(423)][t(308)](),await this[t(423)][t(352)]()[t(382)]((()=>{}))):Te.info(t(310)),Te.info(t(341)),!0):(this[t(419)]=void 0===o?"missing_config":t(412),!1)})(),await this[e(388)]}async[qi(361)](){const t=qi;if(null===this[t(388)])return!this[t(419)]&&(this[t(419)]=t(316)),!1;const e=await this.initializationPromise;return!e&&!this[t(419)]&&(this[t(419)]="init_failed"),e}async[qi(318)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=qi;var i;if(this[n(317)]===n(369))throw new Error(n(424));const s=Date[n(373)]();if(!await this.isInitialized())return Te.info(n(292)),{actionToken:this[n(336)](n(270))};if(!this[n(425)][n(297)](t))return Te[n(402)](n(289),{actionType:t}),{actionToken:Jn[n(339)]+n(291)+t+"'_"+s};const a=null==e?void 0:e[n(330)];if(a&&!sr.includes(a))return Te[n(402)](n(340),{claimedUserIdType:a}),{actionToken:n(315)+a+"_"+s};let o;this[n(281)][n(371)](ir,!1)&&(o=await this[n(323)][n(404)]());const c=r({type:Fe[n(285)],attributes:r(r(r(r(r(r(r(r(r(r(r(r(r({action_type:t},(null==e?void 0:e.correlationId)&&{correlation_id:e[n(366)]}),(null==e?void 0:e[n(290)])&&{claimed_user_id:e[n(290)]}),a&&{claimed_user_id_type:a}),(null==e?void 0:e[n(372)])&&{public_key:e[n(372)]}),(null==e?void 0:e[n(420)])&&{extension_metadata:e[n(420)]}),(null==e?void 0:e[n(277)])&&{extension_device_attributes:e.extensionDeviceAttributes}),(null==e?void 0:e.suspiciousSignals)&&{suspicious_signals:e.suspiciousSignals}),(null==e?void 0:e[n(299)])&&{suspicious_context:e.suspiciousContext}),(null==e?void 0:e[n(355)])&&{download_file:e[n(355)]}),(null==e?void 0:e.uploadFile)&&{upload_file:e[n(275)]}),(null==e?void 0:e.transactionData)&&{transactionData:e[n(328)]}),"undefined"!=typeof globalThis&&(null===(i=globalThis[n(351)])||void 0===i?void 0:i[n(381)])&&{platform_sdk_version:globalThis[n(351)][n(381)]}),o)},(null==e?void 0:e.customAttributes)&&{customAttributes:e[n(349)]});try{const t=await this[n(423)][n(385)](c),{actionToken:e}=t;if(!e)throw new $n(new Error("Unhandled SDK error. Received eventResponse: "+(typeof t==n(383)?JSON[n(358)](t)[n(365)](15):t)),Jn.CLIENT);return t}catch(e){return{actionToken:e instanceof $n?e[n(418)]===Jn[n(342)]?e[n(418)]+n(421)+t+"_"+e[n(329)]+"_'"+e[n(411)]+"'_"+s:e[n(418)]+"_error_"+t+"_'"+e[n(411)]+"'_"+s:n(302)+t+"_"+s}}}async[qi(390)](t){const e=qi;if($i[e(297)](t))return Te[e(353)](e(337),{userId:t}),!1;t=t[e(288)](),Te.info(e(306),{userId:t});const n=this[e(320)][e(364)]();return n===t||(this.identityManager[e(325)](t),!!(await this[e(423)].emitEvent({type:Fe.EVENT_TYPE_IDENTIFICATION,attributes:{previous_user_id:n,user_id:t}}))[e(348)])}async[qi(331)](t){const e=qi;return await this[e(361)]()?this.updateUserId(t):(Te[e(353)](e(292)),!1)}async[qi(422)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=qi;if(this.tier===i(369))throw new Error(i(391));if(!await this[i(361)]())return Te[i(353)]("SDK disabled"),!1;if(!t||!e)return Te[i(402)](i(313),{result:e}),!1;const s={type:Fe[i(350)],attributes:r(r(r({action_token:t,result_feedback:e},(null==n?void 0:n[i(287)])&&{challenge_type:n[i(287)]}),(null==n?void 0:n.userId)&&{user_id:n[i(307)]}),(null==n?void 0:n[i(392)])&&{privateUserIdentifier:n.privateUserIdentifier})};try{const t=await this[i(423)][i(385)](s);return typeof t===i(383)&&null!==t}catch(t){return Te.warn(i(409),{error:t}),!1}}async[qi(314)](){const t=qi;if(!await this[t(361)]())return Te[t(353)]("SDK disabled"),!1;const e=this[t(320)][t(364)]();return null!=e&&this[t(320)][t(367)](),!!(await this[t(423)].emitEvent({type:Fe.EVENT_TYPE_IDENTIFICATION,attributes:{previous_user_id:e}}))[t(348)]}async[qi(426)](){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;const n=qi;if("lightweight"===this.tier)throw new Error(n(334));if(!this[n(415)])throw new Error(n(298));return await this.isInitialized()?(this.identityManager[n(394)]()&&await this[n(423)][n(363)](),await this[n(320)][n(426)]({actionType:t,expirationSeconds:e})||this[n(336)](n(338))):(Te[n(353)](n(292)),this[n(336)](n(338)))}}ar.initializedInstance=!1,document.dispatchEvent(new CustomEvent(qi(343)));const or=cr;function cr(t,e){return t-=145,dr()[t]}!function(){const t=cr,e=dr();for(;;)try{if(299018==parseInt(t(149))/1*(parseInt(t(157))/2)+-parseInt(t(162))/3+-parseInt(t(169))/4+-parseInt(t(171))/5+-parseInt(t(170))/6+parseInt(t(168))/7*(-parseInt(t(161))/8)+parseInt(t(159))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();let lr=null;function hr(t){const e=or;if(!t)throw new(_e[e(158)].exceptions[e(163)])(e(172),"tsPlatform not initialized")}function dr(){const t=["clientId","init","27167PxLlLt","134564zuaxMD","2631084EcZLNV","1321915xtxjKC","not_initialized","identityManager","getSessionToken","eventsManager","reportActionResult","getActions","513019NxijEZ","events","getSecureSessionToken","MODULE_INITIALIZED","getPayload","moduleMetadata","flush","triggerActionEvent","2GNNvLY","utils","8878941bkdrhK","getInitConfig","880sRVXTI","111306lSyvch","TsError","setAuthenticatedUser","getDeviceId"];return(dr=function(){return t})()}_e[or(150)].on(_e.events[or(152)],(()=>{const t=or,{clientId:e,drs:n}=_e[t(154)][t(160)](),i=n||{},{enabled:s,userId:a,serverPath:o}=i,c=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(i,ue);if(!1===s)return;const l=(null==n?void 0:n.clientId)||e,h=!!(null==n?void 0:n[t(166)]);lr=new ar(l,r(r({},c),{},{hasOwnClientId:h,serverPath:o})),lr[t(167)]({userId:a})}));const ur=function(){const t=or;return hr(lr),lr[t(156)](...arguments)},gr=function(){const t=or;return hr(lr),lr[t(164)](...arguments)},pr=function(){const t=or;return hr(lr),lr[t(147)](...arguments)},fr=function(){return hr(lr),lr.clearUser(...arguments)},_r=function(){const t=or;return hr(lr),lr[t(148)]()},vr=function(){const t=or;return hr(lr),lr[t(145)]()},mr=function(t,e){const n=or;return hr(lr),lr[n(151)](t,e)},wr=function(){const t=or;return hr(lr),lr[t(153)](...arguments)},yr=function(){return hr(lr),lr.setDeviceId(...arguments)},Ir={getDeviceId(){const t=or;return lr[t(173)][t(165)]()},getClientId:()=>lr[or(173)].getClientId(),flush(){const t=or;return lr[t(146)][t(155)]()}};const br="2.4.0",Er={initialize:e,...Object.freeze({__proto__:null,__internal:Ir,clearUser:fr,getActions:_r,getPayload:wr,getSecureSessionToken:mr,getSessionToken:vr,reportActionResult:pr,setAuthenticatedUser:gr,setDeviceId:yr,triggerActionEvent:ur})};export{br as PACKAGE_VERSION,Ir as __internal,fr as clearUser,Er as drs,_r as getActions,wr as getPayload,mr as getSecureSessionToken,vr as getSessionToken,pr as reportActionResult,gr as setAuthenticatedUser,yr as setDeviceId,ur as triggerActionEvent};
|