@transmitsecurity/platform-web-sdk 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/drs.cjs 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));var t=require("./common.cjs"),e=require("./common.cjs");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])},x=(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]=x(i[e]++,e))}},L=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]=x(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,L(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)),L(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)},xt=(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,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=Lt(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,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(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)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(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):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),xt(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));)xt(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,xt(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,xt(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&&(xt(r,255&t.adler),xt(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?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(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 xe(){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(xe=function(){return t})()}function Pe(t,e){return t-=343,xe()[t]}!function(){const t=Pe,e=xe();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 Le=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)](Le,[]),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)],xn=hn(464),Pn=hn(465);class Ln{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)](xn);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)](xn,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 Ln(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),xi=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:xi,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 Li=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[Li(436)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=Li,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[Li(439)](t){const e=Li,n=this[e(442)]+t,i={method:e(450),credentials:e(435)};return await this.callServer(n,i)}async[Li(448)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Li;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)]()}};var br=Object.freeze({__proto__:null,__internal:Ir,clearUser:fr,getActions:_r,getPayload:wr,getSecureSessionToken:mr,getSessionToken:vr,reportActionResult:pr,setAuthenticatedUser:gr,setDeviceId:yr,triggerActionEvent:ur});const Er={initialize:e.initialize,...br};Object.defineProperty(exports,"initialize",{enumerable:!0,get:function(){return e.initialize}}),exports.PACKAGE_VERSION="2.4.0",exports.__internal=Ir,exports.clearUser=fr,exports.drs=Er,exports.getActions=_r,exports.getPayload=wr,exports.getSecureSessionToken=mr,exports.getSessionToken=vr,exports.reportActionResult=pr,exports.setAuthenticatedUser=gr,exports.setDeviceId=yr,exports.triggerActionEvent=ur;
1
+ "undefined"==typeof globalThis&&("undefined"!=typeof window?(window.globalThis=window,window.global=window):"undefined"!=typeof self&&(self.globalThis=self,self.global=self));var t=require("./common.cjs"),e=require("./common.cjs");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])},x=(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]=x(i[e]++,e))}},L=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]=x(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,L(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)),L(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)},xt=(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,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=Lt(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,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(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)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(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):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),xt(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));)xt(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,xt(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,xt(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&&(xt(r,255&t.adler),xt(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?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(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 xe(){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(xe=function(){return t})()}function Pe(t,e){return t-=343,xe()[t]}!function(){const t=Pe,e=xe();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 Le=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)](Le,[]),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)],xn=hn(464),Pn=hn(465);class Ln{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)](xn);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)](xn,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 Ln(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),xi=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:xi,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 Li=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[Li(436)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=Li,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[Li(439)](t){const e=Li,n=this[e(442)]+t,i={method:e(450),credentials:e(435)};return await this.callServer(n,i)}async[Li(448)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Li;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)]()}};var br=Object.freeze({__proto__:null,__internal:Ir,clearUser:fr,getActions:_r,getPayload:wr,getSecureSessionToken:mr,getSessionToken:vr,reportActionResult:pr,setAuthenticatedUser:gr,setDeviceId:yr,triggerActionEvent:ur});const Er={initialize:e.initialize,...br};Object.defineProperty(exports,"initialize",{enumerable:!0,get:function(){return e.initialize}}),exports.PACKAGE_VERSION="2.4.1",exports.__internal=Ir,exports.clearUser=fr,exports.drs=Er,exports.getActions=_r,exports.getPayload=wr,exports.getSecureSessionToken=mr,exports.getSessionToken=vr,exports.reportActionResult=pr,exports.setAuthenticatedUser=gr,exports.setDeviceId=yr,exports.triggerActionEvent=ur;