@transmitsecurity/platform-web-sdk 2.5.0 → 2.5.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.js CHANGED
@@ -1 +1 @@
1
- "undefined"==typeof globalThis&&("undefined"!=typeof window?(window.globalThis=window,window.global=window):"undefined"!=typeof self&&(self.globalThis=self,self.global=self));import t from"./common.js";import{initialize as e}from"./common.js";export{initialize}from"./common.js";function 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 w=new Array(512);o(w);const m=new Array(256);o(m);const y=new Array(29);o(y);const b=new Array(h);function I(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(b);const D=t=>t<256?w[t]:w[256+(t>>>7)],M=(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,M(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)},A=(t,e,n)=>{C(t,n[2*e],n[2*e+1])},P=(t,e)=>{let n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1},x=(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]=P(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?M(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?A(t,r,e):(s=m[r],A(t,s+c+1,e),a=u[s],0!==a&&(r-=y[s],C(t,r,a)),i--,s=D(i),A(t,s,n),a=g[s],0!==a&&(i-=b[s],C(t,i,a)))}while(o<t.last_lit);A(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),x(n,l,t.bl_count)},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),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))},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),i=0;i<=n;i++)if(r=a,a=e[2*(i+1)+1],!(++o<c&&r===a)){if(o<l)do{A(t,r,t.bl_tree)}while(0!=--o);else 0!==r?(r!==s&&(A(t,r,t.bl_tree),o--),A(t,16,t.bl_tree),C(t,o-3,2)):o<=10?(A(t,17,t.bl_tree),C(t,o-3,3)):(A(t,18,t.bl_tree),C(t,o-11,7));o=0,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&&(M(t,n),M(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++)m[n++]=i;for(m[n-1]=i,r=0,i=0;i<16;i++)for(b[i]=r,t=0;t<1<<g[i];t++)w[r++]=i;for(r>>=7;i<h;i++)for(b[i]=r<<7,t=0;t<1<<g[i]-7;t++)w[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(x(_,287,s),t=0;t<h;t++)v[2*t+1]=5,v[2*t]=P(t,5);E=new I(_,u,257,l,d),S=new I(v,g,0,h,d),T=new I(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(B(t,t.dyn_ltree,t.l_desc.max_code),B(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);F(t,t.dyn_ltree,e-1),F(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*(m[n]+c+1)]++,t.dyn_dtree[2*D(e)]++),t.last_lit===t.lit_bufsize-1),a._tr_align=t=>{C(t,2,3),A(t,256,_),(t=>{16===t.bi_valid?(M(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)};var H=(t,e,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 V=(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},Y={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"},G={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:W,_tr_stored_block:J,_tr_flush_block:X,_tr_tally:q,_tr_align:Q}=a,$=H,tt=V,et=Y,{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:wt,Z_DEFLATED:mt}=G,yt=258,bt=262,It=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 Mt=(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))},At=(t,e)=>{X(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ct(t.strm)},Pt=(t,e)=>{t.pending_buf[t.pending++]=e},xt=(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-bt?t.strstart-(t.w_size-bt):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-bt)){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=Mt(t,t.ins_h,t.window[a+1]);t.insert&&(t.ins_h=Mt(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<bt&&0!==t.strm.avail_in)},Nt=(t,e)=>{let n,i;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=Mt(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-bt&&(t.match_length=Ot(t,n)),t.match_length>=3)if(i=q(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Mt(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=Mt(t,t.ins_h,t.window[t.strstart+1]);else i=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2},zt=(t,e)=>{let n,i,r;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=Mt(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-bt&&(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=q(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=Mt(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&&(At(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=q(t,0,t.window[t.strstart-1]),i&&At(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=q(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2};function Ut(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r}const Bt=[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,At(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-bt&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(At(t,!1),t.strm.avail_out),1)})),new Ut(4,4,8,4,Nt),new Ut(4,5,16,8,Nt),new Ut(4,6,32,32,Nt),new Ut(4,4,16,16,zt),new Ut(8,16,32,32,zt),new Ut(8,16,128,128,zt),new Ut(8,32,128,256,zt),new Ut(32,128,258,1024,zt),new Ut(32,258,258,4096,zt)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=mt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Dt(this.dyn_ltree),Dt(this.dyn_dtree),Dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Dt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Kt=t=>{if(!t||!t.state)return Tt(t,lt);t.total_in=t.total_out=0,t.data_type=wt;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,W(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=Bt[t.level].max_lazy,t.good_match=Bt[t.level].good_length,t.nice_match=Bt[t.level].nice_length,t.max_chain_length=Bt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0})(t.state),e},Ht=(t,e,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!==mt||i<8||i>15||e<0||e>9||s<0||s>_t)return Tt(t,lt);8===i&&(i=9);const o=new Ft;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)=>Ht(t,e,mt,15,8,vt),s.deflateInit2=Ht,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,Pt(r,31),Pt(r,139),Pt(r,8),r.gzhead?(Pt(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)),Pt(r,255&r.gzhead.time),Pt(r,r.gzhead.time>>8&255),Pt(r,r.gzhead.time>>16&255),Pt(r,r.gzhead.time>>24&255),Pt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Pt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Pt(r,255&r.gzhead.extra.length),Pt(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):(Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Pt(r,3),r.status=Et);else{let e=mt+(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,xt(r,e),0!==r.strstart&&(xt(r,t.adler>>>16),xt(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));)Pt(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,Pt(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,Pt(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=It)}else r.status=It;if(r.status===It&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Ct(t),r.pending+2<=r.pending_buf_size&&(Pt(r,255&t.adler),Pt(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=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):r.strategy===ft?((t,e)=>{let 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=q(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):Bt[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&&(J(r,0,0,!1),e===rt&&(Dt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Ct(t),0===t.avail_out))return r.last_flush=-1,ot}return e!==st?ot:r.wrap<=0?ct:(2===r.wrap?(Pt(r,255&t.adler),Pt(r,t.adler>>8&255),Pt(r,t.adler>>16&255),Pt(r,t.adler>>24&255),Pt(r,255&t.total_in),Pt(r,t.total_in>>8&255),Pt(r,t.total_in>>16&255),Pt(r,t.total_in>>24&255)):(xt(r,t.adler>>>16),xt(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!==It&&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=Mt(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 Vt=(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)Vt(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 Yt={};let Gt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Gt=!1}const Wt=new Uint8Array(256);for(let t=0;t<256;t++)Wt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Wt[254]=Wt[254]=1,Yt.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};Yt.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=Wt[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&&Gt)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)},Yt.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+Wt[t[n]]>e?n:e};const Jt=s,Xt=jt,qt=Yt,Qt=Y,$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}=G;function he(t){this.options=Xt.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=Jt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==se)throw new Error(Qt[n]);if(e.header&&Jt.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?qt.string2buf(e.dictionary):"[object ArrayBuffer]"===te.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,n=Jt.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=qt.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=Jt.deflate(n,s),r===ae)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),r=Jt.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=Xt.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(){var t=["33313450sdqOpW","550752oKKkmg","9730350sRCEeQ","drs","4PRlhvh","4QnjaMl","2116527gRLnRp","2405690PnnIdN","5958904pfbpHJ","12468bvYGPW","2597HwBgxZ"];return(ge=function(){return t})()}var pe=fe;function fe(t,e){return t-=408,ge()[t]}!function(){for(var t=fe,e=ge();;)try{if(608543==-parseInt(t(412))/1*(parseInt(t(409))/2)+parseInt(t(414))/3*(-parseInt(t(413))/4)+-parseInt(t(415))/5+parseInt(t(417))/6*(-parseInt(t(418))/7)+-parseInt(t(416))/8+parseInt(t(410))/9+parseInt(t(408))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var _e=new t(pe(411));const ve=ye;function we(){const t=["getItemLocalStorageSafe","getClientId","setClientId","3750405uhQEtC","removeItem","getItem","setItemSessionStorageSafe","FALLBACK_LOCAL_STORAGE","getItemSessionStorageSafe","2314105koRpNv","setItemLocalStorageSafe","18MeOBOk","clientId","getFullStorageKey","setItem","FALLBACK_SESSION_STORAGE","399113jwlBSC","308656VnusZr","4966040KwRVZv","3122576wcnUNt","localStorage","133uYRNyF","4562586QCkVfb","sessionStorage"];return(we=function(){return t})()}!function(){const t=ye,e=we();for(;;)try{if(806667==parseInt(t(274))/1+parseInt(t(277))/2+parseInt(t(285))/3+-parseInt(t(276))/4+-parseInt(t(291))/5*(parseInt(t(269))/6)+parseInt(t(279))/7*(parseInt(t(275))/8)+-parseInt(t(280))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(t){const e=ye;this.FALLBACK_SESSION_STORAGE={},this[e(289)]={},this[e(270)]=t}[ve(283)](){return this[ve(270)]}[ve(284)](t){this[ve(270)]=t}getFullStorageKey(t){return this[ve(270)]+"_"+t}[ve(290)](t){const e=ve,n=this.getFullStorageKey(t);try{return window.sessionStorage[e(287)](n)}catch(t){return this[e(273)][n]}}[ve(288)](t,e){const n=ve,i=this[n(271)](t);try{window[n(281)][n(272)](i,e)}catch(t){this[n(273)][i]=e}}removeItemSessionStorageSafe(t){const e=ve,n=this[e(271)](t);try{window[e(281)].removeItem(n)}catch(t){this[e(273)][n]=void 0}}[ve(282)](t){const e=ve,n=this[e(271)](t);try{return window[e(278)][e(287)](n)}catch(t){return this[e(289)][n]}}[ve(292)](t,e){const n=ve,i=this[n(271)](t);try{window[n(278)][n(272)](i,e)}catch(t){this[n(289)][i]=e}}removeItemLocalStorageSafe(t){const e=ve,n=this.getFullStorageKey(t);try{window[e(278)][e(286)](n)}catch(t){this[e(289)][n]=void 0}}}function ye(t,e){return t-=269,we()[t]}function be(t,e){return t-=328,Te()[t]}const Ie=be;!function(){const t=be,e=Te();for(;;)try{if(365450==parseInt(t(349))/1*(parseInt(t(348))/2)+-parseInt(t(355))/3+-parseInt(t(337))/4+-parseInt(t(354))/5*(-parseInt(t(345))/6)+-parseInt(t(342))/7*(-parseInt(t(331))/8)+-parseInt(t(352))/9+parseInt(t(341))/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(328)]=t,this[e(334)]=e(344),this[e(346)]=1e4,this[e(340)]=[],this.middlewares=[]}info(t,e){this.pushLog(3,t,e)}[Ie(333)](t,e){this.pushLog(4,t,e)}[Ie(353)](t,e){this[Ie(339)](5,t,e)}[Ie(347)](){const t=Ie,e=this[t(340)];return this[t(340)]=[],e}[Ie(339)](t,e,n){const i=Ie;this.enabled&&console[i(350)]("%s %s %s",this.logPrefix,e,JSON[i(351)](n)),this[i(340)][i(329)]({timestamp:Date[i(330)](),severity:t,text:JSON.stringify(r(r({},n),{},{message:e}),this[i(336)])}),this[i(340)].length>this[i(346)]&&this[i(340)][i(332)]();const s=this[i(343)][i(335)]((t=>t()));Promise[i(356)](s)[i(338)]((()=>{}))}[Ie(336)](t,e){if(e instanceof Error){const{name:t,stack:n,message:i}=e;return{name:t,stack:n,message:i}}return e}}const Se=new Ee;function Te(){const t=["all","enabled","push","now","8kxmbaa","unshift","warn","logPrefix","map","formatter","1965124kpodnE","catch","pushLog","logs","3780600PIuhjs","4935637gnIsws","middlewares","[AccountProtection SDK]","471054krlCUK","logsLimit","flush","1654sHdlRX","489yfbhVM","log","stringify","6559398nNnjwP","error","20qPhniI","648111pMRnFS"];return(Te=function(){return t})()}function ke(){var t=["8buscQb","128828hYJiTj","260NgkIBF","executor reached timeout","30835kYVgAA","platformVersion","warn","platform","mobile","finally","wow64","getHighEntropyValues","uaFullVersion","1115632tVtmwk","5613XtPsdS","name","2481440ykuDLU","race","1252098CTQTmF","resolve","catch","505073SZvazg","510IPtmlh","setTimeout","bitness"];return(ke=function(){return t})()}function De(t,e){return t-=340,ke()[t]}function Me(){var t,e=De;return null===(t=navigator.userAgentData)||void 0===t?void 0:t[e(364)](["architecture","model",e(360),e(358),"fullVersionList",e(352),e(361),e(363),e(340)])}function Ce(t,e){var n=De;let i;const r=[Promise[n(347)](t())[n(348)]((()=>{})),new Promise(((t,r)=>i=window[n(351)](r,e)))];return Promise[n(345)](r)[n(348)]((()=>Se[n(359)](n(356),{fnName:t[n(343)]})))[n(362)]((()=>clearTimeout(i)))}!function(){for(var t=De,e=ke();;)try{if(379735==-parseInt(t(349))/1+-parseInt(t(354))/2+parseInt(t(342))/3*(-parseInt(t(355))/4)+parseInt(t(357))/5*(parseInt(t(350))/6)+parseInt(t(341))/7*(parseInt(t(353))/8)+parseInt(t(346))/9+parseInt(t(344))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Le;function Pe(){const t=["__ybro","destination","debug","height","serviceWorker","tanh","msMaxTouchPoints","dischargingTime","webgl","languages","worker promise rejected","getVendor","getCpuClass","fromCharCode","screen","#f9c","yandex","geolocation","call","#069","webkit","getReferrer","DocumentTouch","navigatorIsUserActive","getPlatform","dataPointsExtractor","_selenium","UCShellJava","fftSize","hardwareConcurrency","RTCPeerConnection","__firefox__","LanguageDetector","pixelDepth","alphabetic","offsetWidth","frequency","getNavigatorUserAgent","now","log1p","devicePixelRatio","permissions","webRTCDisabled","platform","appendChild","only screen and (max-width: 600px)","__webdriver__chr","isSendBeaconFunction","acosh","getNavigatorPermissionsState","renderedBuffer","getAudioFingerprint","query","Small Fonts","isGeoLocationExists","Calibri","getTouchSupport","getWebGlRenderer","configManager","windowDocumentAuxVarsTest","selenium-evaluate","170406ktwxqa","buildID","__webdriver_unwrapped","__crWeb","DateTimeFormat","Futura Md BT","atan","ucweb","$cdc_asdjflasutopfhvcZLmcfl_","monospace","EUROSTILE","puffinDevice","__selenium_unwrapped","evenodd","AvantGarde Bk BT","getNavigatorProduct","__fxdriver_unwrapped","spynner_additional_js_loaded","sdkDeviceDataCollectionIgnoreList","getLocalStorage","createOscillator","__webdriver_evaluate","userAgent","getCookieEnabled","top","getExtension","cosh","Array","isArray","getDeviceMemory","maxTouchPoints","getTTS","includes","getIndexedDB","sessionStorage","getPrototypeOf","calculate","windowConstructorAliasTest","canPlayType","LanguageModel","SimHei","width","getAudioFingerprintExtended","getNavigatorPrototype","get","getLanguage","isPointInPath","userActivation","__fxdriver_evaluate","addBehavior","startRendering","getFonts","MS UI Gothic","mediaDevices","SCRIPTINA","Levenim MT","start","fill","test","high","__gCrWeb","sort","stack","state","beginPath","from","getSessionStorage","getFloatTimeDomainData","calledSelenium","enumerateDevices","awesomium","getVoices","getWindowBasedKeys","getPublicData","getOpenDatabase","createElement","getNavigatorHighEntropyData","name","Agency FB","plugins","getCryptoRandomValues","getNavigatorUAData","charCodeAt","outerWidth","getContext","active","Arabic Typesetting","__lastWatirPrompt","__webdriver_script_func","connect","canvas","#2ff","toString","serif","attack","cdc_adoQpoasnfa76pfcZLmcfl_Symbol","filter","callSelenium","low","sinh",'video/mp4; codecs="avc1.42E01E"',"HTMLElement","defineProperty","Cwm fjordbank gly ","Marlett","1000","__lastWatirConfirm","chargingTime","getWindowOuter","console","oncomplete","isActive","some","PublicKeyCredential","Letter Gothic","charging","createDynamicsCompressor","collectPromisesData","ChromeDriverw","onLine","prototype","getDocumentBasedKeys","__phantomas","outerHeight","OSMJIF","colorDepth","length","_phantom","values","vendor","localStorage","getDeviceData","getOwnPropertyDescriptors","$chrome_asyncScriptInfo","getBuildID","getTimezoneOffset","threshold","watinExpressionResult","Leelawadee","sendBeacon","atanh","replace","style","#f2f","domAutomation","__webdriver_script_function","getOwnPropertyNames","globalCompositeOperation","10px","ratio","language","setTimeout","__nightmare","cpuClass","storeItem","onvoiceschanged","video/mp4;;Codecs =avc1.42E01E","fillText","getFloatFrequencyData","Error","getBrave","reduction","left","sans-serif","__lastWatirAlert","Clarendon","timing","webgl-experimental","fontSize","__driver_evaluate","Menlo","abs","availWidth","isUserVerifyingPlatformAuthenticatorAvailable","__webdriverFuncgeb","retrieveItem","standard","fillStyle","getHash","absolute","Futura Bk BT","Vrinda","Staccato222 BT","geb","Humanst521 BT","indexOf","Sequentum","__driver_unwrapped","_Selenium_IDE_Recorder","isMobile","productSub","getWindowAIAPIs","getTimezone","arc","inverted","log","callPhantom","12HxIxYl","Univers CE 55 Medium","rect","triangle","1363620JJXYyK","resolve","__webdriverFunc","Promise","setItemLocalStorageSafe","ARNO PRO","Translator","Batang","exp","webdriver-evaluate","orientation","lastDeviceData","toDataURL","subarray","MS Reference Specialty","matchMedia","getMediaDevices","navigatorOnLine","speechSynthesis","15205456bFuwCp","cryptoBinding","getOsCpu","type","hashCodeString","getAddBehavior","getProductSub","5376147SIuIwW","push","createAnalyser","getPerformanceMemory","hasSequentum","getCodesTests","cookieEnabled","notifications","value","getCryptoBindingData","srgb","getHardwareConcurrency","__selenium_evaluate","getParameter","fontFamily","Serifa","deviceMemory","warn","MS Mincho","fillRect","121346vLJPHJ","getScreen","Gill Sans","token","tts","deviceId","driver-evaluate","tan","getPlugins","fmget_targets","domAutomationController","__webdriver_script_fn","indexedDB","_WEBDRIVER_ELEM_CACHE","level","asinh","MYRIAD PRO","rgba(102, 204, 0, 0.2)","Buffer","groupId","label","body","Minion Pro","cos","Bitstream Vera Sans Mono","function","rec2020","MT Extra","webdriver","textBaseline","isNodeReachable_","Helvetica Neue","crypto","getLanguages","__$webdriverAsyncExecutor","getRandomValues","visibility","dataPoints",'11pt "Times New Roman"',"safari","getInstalledRelatedApps","spawn","offsetHeight","Object","GOTHAM","div","BankGothic Md BT","matches","getNavigatorBasedKeys","storageManager","OfflineAudioContext","emit","getWebDriver","getCanvasFingerprint","991722yvypDl","ZWAdobeF","1348690HYkyuf","calledPhantom","webkitOfflineAudioContext","Haettenschweiler","#ff2","getMathFingerprint","description","getConfValue","no-preference","reduce","getBattery","getMediaMatch","WEBGL_debug_renderer_info","removeChild","TRAJAN PRO","map","getConnection","entries","navigatorStorageEstimation","getOwnPropertyDescriptor","100","oprt","getPerformanceTiming","brave","url","startPromisesLoop","cache_","document","getItemLocalStorageSafe","sqrt","getFIDOEnabled","bind","getWindowOrientation","disconnect","getAsyncToken","less","font","getChannelData","Microsoft Uighur","textContent","invalidPublicKeyId"];return(Pe=function(){return t})()}!function(){const t=Le,e=Pe();for(;;)try{if(428147==-parseInt(t(581))/1*(-parseInt(t(631))/2)+parseInt(t(384))/3+parseInt(t(585))/4+parseInt(t(282))/5+parseInt(t(280))/6+parseInt(t(611))/7+-parseInt(t(604))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe=Ae(402);function Le(t,e){return t-=259,Pe()[t]}const Oe="deviceDataCalculationExpiry",Re={tts:1e3},Ne=t=>{var e;return null!==(e=Re[t])&&void 0!==e?e:100},ze=t=>t?[...t].reduce(((t,e)=>t+Math.abs(e)),0):0;class Ue{constructor(t,e,n){this.storageManager=t,this.configManager=e,this.cryptoBinding=n}async[Ae(420)](){const t=Ae,e=this[t(381)][t(289)](xe,[]),n=this[t(381)][t(289)](Oe,36e5),i=this[t(381)][t(289)]("agenticIdentityEnabled",!1),r=await new Be(e,this.cryptoBinding,i)[t(348)]();return this[t(596)]=r,this[t(275)][t(589)](Oe,Date[t(361)]()+n),r}async[Ae(515)](){const t=Ae;return Number(this.storageManager[t(310)](Oe))<Date.now()||!this[t(596)]?await this[t(420)]()||{}:this[t(596)]||{}}}class Be{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=Ae;this.sdkDeviceDataCollectionIgnoreList=t,this[i(605)]=e,this[i(263)]=r({battery:this[i(292)],brave:this[i(544)],canvas:this[i(279)],codecs:this[i(616)],connection:this[i(298)],cookieEnabled:this[i(407)],cryptoRandomValues:this[i(464)],deviceMemory:this[i(413)],documentBasedKeys:this[i(505)],hardwareConcurrency:this[i(622)],indexedDB:this[i(417)],fidoEnabled:this[i(312)],languages:this.getLanguages,language:this[i(429)],timezoneOffset:this[i(519)],localStorage:this[i(403)],navigatorBasedKeys:this.getNavigatorBasedKeys,navigatorProduct:this[i(399)],navigatorUserAgent:this[i(360)],navigatorUAData:this[i(465)],navigatorHighEntropyData:this[i(460)],navigatorStorageEstimation:this[i(300)],navigatorOnLine:this[i(602)],navigatorIsUserActive:this[i(346)],math:this[i(287)],mediaMatch:this[i(293)],openDatabase:this[i(458)],windowOrientation:this[i(314)],platform:this.getPlatform,cpuClass:this[i(335)],osClass:this[i(606)],addBehavior:this[i(609)],productSub:this[i(610)],mediaDevices:this[i(601)],audioFingerprint:this[i(374)],audioFingerprintExtended:this.getAudioFingerprintExtended,fonts:this[i(435)],performanceTiming:this[i(304)],performanceMemory:this[i(614)],plugins:this.getPlugins,screen:this[i(632)],sequentum:this[i(615)],sessionStorage:this.getSessionStorage,referrer:this[i(344)],timezone:this[i(576)],touchSupport:this.getTouchSupport,vendor:this[i(334)],buildID:this[i(518)],webdriver:this[i(278)],webGlRenderer:this[i(380)],windowBasedKeys:this[i(456)],windowOuter:this[i(492)],webRTCDisabled:this[i(365)],cryptoBindingData:this[i(620)][i(313)](this),notificationState:this[i(372)].bind(this,i(618)),geolocationState:this.getNavigatorPermissionsState.bind(this,i(340)),isGeoLocationExists:this[i(377)],isSendBeaconExists:this[i(370)],navigatorPrototype:this[i(427)],installedRelatedApps:this.getInstalledRelatedApps,windowConstructorAliasTest:this[i(421)],windowDocumentAuxVarsTest:this[i(382)],CDPRuntimeDomainTest:this.CDPRuntimeDomainTest},n&&{tts:this[i(415)],windowAIAPIs:this[i(575)]})}CDPRuntimeDomainTest(){const t=Ae;let e=!1;const n=new(window[t(543)]);return window[t(269)][t(486)](n,t(446),{configurable:!1,enumerable:!1,get:function(){return e=!0,""}}),window[t(493)][t(325)](n[t(446)]),e}[Ae(382)](){const t=Ae;for(const e of window.Object[t(530)](window[t(309)]))if(e==t(517)||/^\$cdc_[a-zA-Z0-9]{22}_$/[t(442)](e))return!0;for(const e of window[t(269)][t(512)](window.Object[t(516)](window[t(309)]))){if(!e.value||void 0===e[t(619)][t(308)])continue;const n=window[t(269)][t(530)](window[t(269)][t(419)](e[t(619)])),i=[t(538),t(559),t(661)];if(n[t(445)](),i.sort(),n.every(((t,e)=>t==i[e])))return!0}return!1}[Ae(421)](){const t=Ae,e=window.Object[t(530)](window);for(const n of e){if(/^cdc_[a-zA-Z0-9]{22}_(Array|Promise|Symbol)$/.test(n))return!0;for(const e of[window[t(411)],window[t(588)],window.Symbol])if(n!=(null==e?void 0:e[t(461)])&&n!=t(634)&&n!=t(316)&&window[n]===e)return!0}return!1}async[Ae(348)](){const t=Ae,e=this[t(307)]();return await this[t(501)](e)}startPromisesLoop(){const t=Ae,e={};for(const[n,i]of Object[t(299)](this[t(263)]))if(!this[t(402)][t(416)](n))try{e[n]=Ce(i,Ne(n))}catch(i){Se.warn("worker throw error",{e:i,key:n}),e[n]=Promise[t(586)]()}return e}async collectPromisesData(t){const e=Ae,n={};for(const[i,r]of Object[e(299)](t))try{n[i]=await r}catch(t){Se[e(628)](e(333),{e:t,key:i}),n[i]=void 0}return n}getCookieEnabled(){const t=Ae,e=navigator[t(617)];return Promise[t(586)](e)}async[Ae(312)](){const t=Ae;return!!navigator.credentials&&await window[t(497)][t(557)]()}[Ae(464)](){const t=Ae,e=window[t(663)][t(261)](new Uint8Array(16));return Array[t(449)](e)}webRTCDisabled(){const t=Ae,e=null==window[t(353)];return Promise[t(586)](e)}[Ae(456)](){const t=Ae,e=["chrome",t(265),t(387),t(444),t(339),"__yb",t(323),t(354),"__edgeTrackingPreventionStatistics",t(343),t(303),"samsungAr",t(391),t(350),t(395),t(511),t(506),t(580),t(649),t(277),t(267),t(641),t(528),t(536),t(349),t(452),t(481),"_Selenium_IDE_Recorder",t(260),"__driver_evaluate","__driver_unwrapped",t(432),t(400),t(548),t(490),t(471),t(623),t(396),t(369),"__webdriver_evaluate",t(642),t(472),t(529),t(386),t(558),t(454),t(283),"cdc_adoQpoasnfa76pfcZLmcfl_Array","cdc_adoQpoasnfa76pfcZLmcfl_Promise",t(479),"chrome_asyncScriptInfo",t(640),t(567),t(508),t(401),"watinExpressionError",t(521)],n=[];for(const i of e){const e=window[i];void 0!==e&&null!=e&&n[t(612)](i)}return Promise[t(586)](n)}[Ae(575)](){const t=Ae;return{languageModel:t(423)in window,summarizer:"Summarizer"in window,translator:t(591)in window,languageDetector:t(355)in window}}async[Ae(415)](){const t=Ae;if(!window[t(603)])return null;const e=await new Promise((e=>{const n=t,i=window[n(603)][n(455)]();if(i[n(510)]>0)return void e(i);const r=window[n(535)]((()=>{const t=n;window[t(603)][t(539)]=null,e(null)}),Re[n(635)]);window[n(603)][n(539)]=()=>{const t=n;clearTimeout(r),window[t(603)][t(539)]=null,e(window[t(603)].getVoices())}}));return e?{voiceCount:e[t(510)],hasGoogle:e[t(496)]((t=>/Google/i.test(t.name)))}:null}getMediaMatch(){const t=Ae,e={"dynamic-range":[t(443),t(560)],"prefers-reduced-motion":[t(290),t(291)],"prefers-contrast":[t(290),t(443),t(482),"more",t(317),"forced"],"max-monochrome":["0","10",t(302),t(489)],"forced-colors":[t(469),"none"],"inverted-colors":[t(578),"none"],"color-gamut":[t(657),"p3",t(621)]},n={};for(const[i,r]of Object[t(299)](e))for(const e of r)n[i[t(525)](/-/g,"_")+"_"+e[t(525)](/-/g,"_")]=window[t(600)]("("+i+": "+e+")")[t(273)];return Promise[t(586)](n)}[Ae(287)](){const t=Ae,e=[Math.acos(.12312423423423424),Math[t(371)](1e308),(n=1e154,Math[t(579)](n+Math.sqrt(n*n-1))),Math.asin(.12312423423423424),Math[t(646)](1),Math[t(579)](1+Math[t(311)](2)),Math[t(524)](.5),Math[t(579)](3)/2,Math[t(390)](.5),Math.sin(-1e300),Math[t(483)](1),Math[t(593)](1)-1/Math[t(593)](1)/2,Math[t(654)](10.000000000123),Math[t(410)](1),(Math[t(593)](1)+1/Math.exp(1))/2,Math[t(638)](-1e300),Math[t(328)](1),(Math.exp(2)-1)/(Math[t(593)](2)+1),Math[t(593)](1),Math.expm1(1),Math.exp(1)-1,Math[t(362)](10),Math.log(11),Math.PI**-100];var n;let i="";for(let n=0;n<e[t(510)];n++)i+=e[n][t(476)]();return Promise[t(586)](Be[t(608)](i))}[Ae(298)](){const t=Ae,{connection:e}=navigator,n=(t=>{let{downlink:e,effectiveType:n,rtt:i,saveData:r}=t;return{downlink:e,effectiveType:n,rtt:i,saveData:r}})(e);return Promise[t(586)](n)}[Ae(450)](){const t=Ae;return Promise[t(586)](!!window[t(418)])}getLocalStorage(){const t=Ae;return Promise.resolve(!!window[t(514)])}[Ae(615)](){const t=Ae;return-1!==window.external[t(476)]()[t(569)](t(570))}[Ae(274)](){const t=Ae;return[t(659),t(553),t(405),"__selenium_evaluate",t(432),t(571),t(386),"__selenium_unwrapped",t(400),t(572),t(349),"calledSelenium",t(644),t(502),t(637),t(594),t(383),"webdriverCommand","webdriver-evaluate-response",t(587),t(642),t(260),t(548),t(490),t(471),t(517),t(392),t(327)][t(480)]((t=>navigator[t]))}[Ae(399)](){const t=navigator.product;return Promise.resolve(t)}[Ae(360)](){return navigator[Ae(406)]}[Ae(465)](){return navigator.userAgentData}[Ae(460)](){return Me()}[Ae(300)](){return navigator.storage.estimate()}[Ae(602)](){return navigator[Ae(503)]}[Ae(346)](){const t=Ae;return navigator[t(431)][t(495)]}async[Ae(372)](t){const e=Ae;try{const n=await navigator[e(364)][e(375)]({name:t});return null==n?void 0:n[e(447)]}catch(t){}}isGeoLocationExists(){return!!navigator[Ae(340)]}isSendBeaconFunction(){const t=Ae;return typeof navigator[t(523)]===t(656)}[Ae(427)](){const t=Ae;return{hardwareConcurrency:Object[t(301)](Object[t(419)](navigator),t(352)).get[t(476)](),languages:Object.getOwnPropertyDescriptor(Object[t(419)](navigator),t(332))[t(428)][t(476)]()}}async[Ae(266)](){const t=Ae;if(typeof navigator[t(266)]===t(656))try{const{related_applications:e}=await navigator[t(266)]();if(e&&Array[t(412)](e))return e[t(297)]((e=>{const n=t;return{platform:e[n(366)],url:e[n(306)]}}))}catch(t){}}[Ae(344)](){return document.referrer}[Ae(304)](){return performance[Ae(550)]}[Ae(614)](){const{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:n}=performance.memory;return{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:n}}getIndexedDB(){const t=Ae;return Promise.resolve(!!window[t(643)])}getOpenDatabase(){const{openDatabase:t}=window;return Promise.resolve(!!t)}[Ae(379)](){const t=Ae,e=window[t(345)]&&document instanceof DocumentTouch,n={maxTouchPoints:navigator[t(414)]||navigator[t(329)]||0,documentTouch:e,ontouchstart:"ontouchstart"in window};return Promise[t(586)](n)}[Ae(639)](){const t=Ae;function e(t){const e=Le,n=[];for(let i=0;i<t[e(510)];++i)n.push({type:t[i][e(607)],suffixes:t[i].suffixes});return n}const n=[];for(let i=0;i<navigator[t(463)][t(510)];++i){const r=navigator.plugins[i];r&&n[t(612)]({name:r.name,description:r[t(288)],mimeTypes:e(r)})}return Promise[t(586)](n)}[Ae(632)](){const t=Ae,e=window[t(337)]||screen,{availLeft:n}=e,{availTop:i}=e,r={availHeight:e.availHeight,availLeft:n,availTop:i,availWidth:e[t(556)],colorDepth:e[t(509)],height:e[t(326)],width:e[t(425)],pixelDepth:e[t(356)],orientationAngle:e[t(595)]&&e.orientation.angle,orientationType:e[t(595)]&&e[t(595)][t(607)],devicePixelRatio:window[t(363)]};return Promise[t(586)](r)}static hashCodeString(t){const e=Ae;if(null==t)return;let n=0,i=0;const r=t[e(510)];for(;i<r;)n=(n<<5)-n+t[e(466)](i++)|0;return n}[Ae(492)](){const t=Ae,e={outerWidth:window[t(467)],outerHeight:window[t(507)]};return Promise[t(586)](e)}[Ae(278)](){const t=Ae,e=navigator[t(659)];return Promise[t(586)](e)}[Ae(314)](){const t=Ae,e=window.orientation;return Promise[t(586)](e)}[Ae(347)](){const t=Ae,e=navigator[t(366)];return Promise[t(586)](e)}[Ae(335)](){const t=navigator[Ae(537)];return Promise.resolve(t)}[Ae(606)](){const t=Ae,e=navigator.oscpu;return Promise[t(586)](e)}getAddBehavior(){const t=Ae,e=!!window[t(485)][t(504)][t(433)];return Promise[t(586)](e)}[Ae(610)](){const t=Ae,e=navigator[t(574)];return Promise[t(586)](e)}async getMediaDevices(){const t=Ae,e=await navigator[t(437)][t(453)](),n=[];for(const i of e)n[t(612)]({kind:i.kind,label:i[t(651)],deviceId:i[t(636)],groupId:i[t(650)]});return n}async getAudioFingerprint(){const t=Ae,e=window[t(276)]||window[t(284)];if(!e)return-1;const n=new e(1,5e3,44100),i=n[t(404)]();i.type="triangle",i[t(359)][t(619)]=1e4;const r=n.createDynamicsCompressor();r[t(520)][t(619)]=-50,r.knee[t(619)]=40,r[t(533)][t(619)]=12,r[t(478)][t(619)]=0,r.release[t(619)]=.25,i[t(473)](r),r[t(473)](n.destination),i[t(440)](0);const s=new Promise((async(e,i)=>{const r=t;n[r(494)]=t=>e(t[r(373)]);try{await n[r(434)]()}catch(t){i(t)}})),a=(await s)[t(319)](0)[t(598)](4500);return Be.getHash(a)}async[Ae(426)](){const t=Ae;var e;const n=window.OfflineAudioContext||window[t(284)];if(!n)return{};const i=new n(1,5e3,44100),r=i.createOscillator();r[t(607)]=t(584),r[t(359)][t(619)]=1e4;const s=i[t(500)]();s[t(520)].value=-50,s.knee[t(619)]=40,s[t(478)].value=0;const a=i[t(613)]();r[t(473)](s),s[t(473)](a),s[t(473)](i[t(324)]),r[t(440)](0);try{await i.startRendering(),s[t(315)](),r[t(315)]();const n=new Float32Array(a.frequencyBinCount);null===(e=a[t(542)])||void 0===e||e[t(341)](a,n);const o=new Float32Array(a[t(351)]);return t(451)in a&&a[t(451)](o),{gain:s[t(545)].value||s[t(545)],freq:ze(n),time:ze(o)}}catch(t){return{}}}static[Ae(562)](t){const e=Ae;let n=0;for(let i=0;i<t[e(510)];++i)n+=Math[e(555)](t[i]);return n}[Ae(435)](){const t=Ae,e=[t(393),t(547),t(477)],n=["sans-serif-thin",t(590),t(462),t(470),"Arial Unicode MS",t(398),t(272),t(592),t(655),t(378),"Century","Century Gothic",t(549),t(394),"Franklin Gothic",t(564),t(389),t(270),t(633),"HELV",t(285),t(662),t(568),t(522),t(498),t(439),"Lucida Bright","Lucida Sans",t(554),t(629),"MS Outlook",t(599),t(436),t(658),t(647),t(488),"Meiryo UI",t(320),t(653),"Monotype Corsiva","PMingLiU","Pristina",t(438),"Segoe UI Light",t(626),t(424),t(376),t(566),t(296),t(582),t(565),t(281)],i=document[t(459)](t(271));i[t(526)][t(262)]="hidden";const r={},s={},a=e=>{const n=t,r=document[n(459)]("span"),{style:s}=r;return s.position=n(563),s[n(408)]="0",s[n(546)]="0",s[n(625)]=e,s[n(552)]=n(532),r[n(321)]="mmMwWLliI0O&1",i.appendChild(r),r},o=e.map(a),c=(()=>{const i=t,r={};for(const t of n)r[t]=e[i(297)]((e=>a("'"+t+"',"+e)));return r})();document.body[t(367)](i);try{for(let n=0;n<e[t(510)];n++)r[e[n]]=o[n][t(358)],s[e[n]]=o[n][t(268)];const i=n[t(480)]((n=>(n=>{const i=t;return e[i(496)](((t,e)=>n[e][i(358)]!==r[t]||n[e][i(268)]!==s[t]))})(c[n])));return Promise[t(586)](i)}finally{document[t(652)][t(295)](i)}}[Ae(519)](){const t=Ae,e=(new Date)[t(519)]();return Promise[t(586)](e)}[Ae(429)](){const t=Ae,e=navigator[t(534)];return Promise[t(586)](e)}[Ae(259)](){const t=Ae,e=navigator[t(332)];return Promise[t(586)](e)}[Ae(622)](){const t=Ae,e=navigator[t(352)];return Promise[t(586)](e)}[Ae(413)](){const t=Ae,e=navigator[t(627)];return Promise[t(586)](e)}getDocumentBasedKeys(){const t=Ae;return[t(405),t(623),t(529),t(472),t(642),t(432),"__driver_unwrapped",t(386),t(553),t(396),t(400)][t(480)]((t=>document[t]))}getTimezone(){const t=Ae,e=Intl[t(388)]().resolvedOptions().timeZone;return Promise[t(586)](e)}[Ae(334)](){const t=Ae,e=navigator[t(513)];return Promise[t(586)](e)}[Ae(518)](){const t=Ae,e=navigator[t(385)];return Promise[t(586)](e)}async getCanvasFingerprint(){const t=Ae,e=document[t(459)](t(474));e[t(425)]=1,e.height=1;const n=e[t(468)]("2d"),i={winding:function(t){const e=Le;return t[e(583)](0,0,10,10),t[e(583)](2,2,6,6),!t[e(430)](5,5,e(397))}(n),geometry:function(t,e){const n=Le;t.width=122,t[n(326)]=110,e[n(531)]="multiply";const i=[[n(527),40,40],[n(475),80,40],[n(286),60,80]];for(const[t,r,s]of i)e[n(561)]=t,e[n(448)](),e.arc(r,s,40,0,2*Math.PI,!0),e.closePath(),e[n(441)]();return e[n(561)]=n(338),e[n(577)](60,60,60,0,2*Math.PI,!0),e[n(577)](60,60,20,0,2*Math.PI,!0),e[n(441)](n(397)),Be.hashCodeString(t.toDataURL())}(e,n),text:function(t,e){const n=Le;t.width=240,t[n(326)]=60,e[n(660)]=n(357),e[n(561)]="#f60",e[n(630)](100,1,62,20),e.fillStyle=n(342),e.font=n(264);const i=n(487)+String[n(336)](55357,56835);return e[n(541)](i,2,15),e[n(561)]=n(648),e[n(318)]="18pt Arial",e[n(541)](i,4,45),Be[n(608)](t[n(597)]())}(e,n)};return Promise.resolve(i)}async[Ae(292)](){const t=Ae,e=await navigator[t(292)]();return{charging:e[t(499)],chargingTime:e[t(491)],dischargingTime:e[t(330)],level:e[t(645)]}}async[Ae(544)](){return!!navigator[Ae(305)]&&await navigator.brave.isBrave()}async[Ae(380)](){const t=Ae,e=document[t(459)](t(474)),n=e[t(468)](t(331))||e[t(468)](t(551)),i=n[t(409)](t(294));return Promise[t(586)](n[t(624)](i.UNMASKED_RENDERER_WEBGL))}async getCodesTests(){const t=Ae,e=document[t(459)]("video"),n={basic:""===e[t(422)](t(484)),advanced:""===e[t(422)](t(540))};return Promise.resolve(n)}async getCryptoBindingData(){const t=Ae,{publicKey:e,keyIdentifier:n,errors:i}=await this[t(605)][t(457)](),r={publicKey:e,keyIdentifier:n};return(null==i?void 0:i[0])&&(r[t(322)]=i[0]),r}static[Ae(573)](){const t=Ae;return/iPhone|iPad|iPod|Android|MiuiBrowser/i[t(442)](navigator.userAgent)||null!=window[t(595)]||window[t(600)](t(368)).matches}}function Fe(){const t=["EVENT_TYPE_DEVICE","mobile_web","6cDLfHS","11uaVPnO","3550132RGhqnR","1871srpnvo","desktop_web","action_result","5940641gnvDis","1341180adpSJE","EVENT_TYPE_INTERACTION","550XJYIli","160GiWmbe","device","EVENT_TYPE_IDENTIFICATION","2715496DGcvHX","EVENT_TYPE_ACTION","337014WObVQd","3nBftbr","action","4134430xDszYX","identification","EVENT_TYPE_ACTION_RESULT"];return(Fe=function(){return t})()}const Ke=je;var Ze;!function(){const t=je,e=Fe();for(;;)try{if(499165==-parseInt(t(300))/1*(parseInt(t(306))/2)+parseInt(t(313))/3*(parseInt(t(299))/4)+-parseInt(t(292))/5*(-parseInt(t(297))/6)+-parseInt(t(303))/7+-parseInt(t(310))/8+parseInt(t(312))/9*(parseInt(t(307))/10)+parseInt(t(298))/11*(-parseInt(t(304))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=je;t[e(311)]=e(291),t[e(295)]=e(308),t[e(305)]="interaction",t[e(309)]=e(293),t[e(294)]=e(302)}(Ze||(Ze={}));const He=Ke(301);function je(t,e){return t-=291,Fe()[t]}const Ve=Ke(296),Ye=We;function Ge(){const t=["shouldUpdateConf","keys","fetchConf","&type=","isMobile","1143804GnbZhu","loadConf","3992886vmctCm","1111yQihsm","parse","requestsManager","10166220cpkCnm","getConfValue","now","length","1879976MCzHdf","8JJfUNT","conf","6loNrdt","getItemLocalStorageSafe","34eYFmkf","33318aJCsmE","getData","8CPkazE","91880ukGKNS","3094205SbKviq","error fetching config","error","timestamp"];return(Ge=function(){return t})()}function We(t,e){return t-=407,Ge()[t]}!function(){const t=We,e=Ge();for(;;)try{if(559082==parseInt(t(415))/1*(-parseInt(t(416))/2)+-parseInt(t(429))/3*(-parseInt(t(418))/4)+-parseInt(t(420))/5*(-parseInt(t(413))/6)+parseInt(t(410))/7+-parseInt(t(411))/8*(parseInt(t(431))/9)+-parseInt(t(419))/10*(parseInt(t(432))/11)+parseInt(t(435))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Je=Ye(423);class Xe{constructor(t,e){const n=Ye;this.storageManager=t,this[n(434)]=e,this[n(412)]=this[n(430)]()}async[Ye(426)](t){const e=Ye;try{const n=Be[e(428)]()?Ve:He,i="device/conf?tenantId="+t+e(427)+n,r=await this.requestsManager[e(417)](i);return null!=r?r:{}}catch(n){return Se[e(422)](e(421),{clientId:t,error:n}),{}}}[Ye(430)](){const t=Ye,e=this.storageManager[t(414)]("ric");if(null!=e)try{return JSON[t(433)](e)}catch(e){Se[t(422)]("error loading config",{error:e})}return{}}shouldUpdateConf(){const t=Ye,e=this[t(407)](Je,0);return Date[t(408)]()-e>36e5}async refreshConf(t){const e=Ye;if(!this[e(424)]())return!1;let n=await this[e(426)](t);return 0==Object[e(425)](n)[e(409)]?n=this[e(430)]():this.storageManager.setItemLocalStorageSafe("ric",JSON.stringify(n)),this[e(412)]=n,!0}getConfValue(t,e){const n=Ye,i=void 0!==this[n(412)]?this[n(412)][t]:void 0;return null!=i?i:e}}const qe=$e;function Qe(){const t=["8KRKlKv","timeOrigin","padStart","join","length","3430311JBLtDq","splice","20wruhvb","getEventHighResTimestamp","timeStamp","fromCharCode","1236216aLnbsI","replace","base64UrlEncode","base64ToBase64Url","toString","slice","11596491ZaQEkr","967080BAFoew","push","undefined","encode","function","1385916bmYPsl","999739cHjRix","2739804POXoTG","now","randomUUID"];return(Qe=function(){return t})()}function $e(t,e){return t-=112,Qe()[t]}!function(){const t=$e,e=Qe();for(;;)try{if(602466==parseInt(t(116))/1+-parseInt(t(138))/2+-parseInt(t(125))/3+-parseInt(t(117))/4+-parseInt(t(127))/5*(-parseInt(t(131))/6)+-parseInt(t(115))/7+parseInt(t(120))/8*(parseInt(t(137))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tn{static maintainLastXItems(t,e,n){const i=$e;return t.length>=e&&t[i(126)](0,1),t[i(139)](n),t}static[qe(128)](t){const e=qe;var n,i;return(null!==(n=performance[e(121)])&&void 0!==n?n:Date[e(118)]()-performance.now())+(null!==(i=null==t?void 0:t[e(129)])&&void 0!==i?i:performance[e(118)]())}static[qe(133)](t){const e=qe,n=(new TextEncoder)[e(113)](t),i=String[e(130)](...n);return btoa(i)[e(132)](/\+/g,"-").replace(/\//g,"_")[e(132)](/=/g,"")}static[qe(134)](t){const e=qe;return t[e(132)](/\+/g,"-").replace(/\//g,"_")[e(132)](/=/g,"")}static randomUUID(){const t=qe;if(typeof crypto!==t(112)&&typeof crypto[t(119)]===t(114))return crypto[t(119)]();const e=new Uint8Array(16);if(typeof crypto!==t(112)&&typeof crypto.getRandomValues===t(114))crypto.getRandomValues(e);else for(let n=0;n<e[t(124)];n++)e[n]=Math.floor(256*Math.random());e[6]=15&e[6]|64,e[8]=63&e[8]|128;const n=[];for(let i=0;i<e[t(124)];i++)n.push(e[i][t(135)](16)[t(122)](2,"0"));return n[t(136)](0,4)[t(123)]("")+"-"+n[t(136)](4,6)[t(123)]("")+"-"+n[t(136)](6,8)[t(123)]("")+"-"+n.slice(8,10)[t(123)]("")+"-"+n[t(136)](10,16)[t(123)]("")}}const en=hn;!function(){const t=hn,e=on();for(;;)try{if(385335==parseInt(t(145))/1+parseInt(t(152))/2+parseInt(t(150))/3*(parseInt(t(129))/4)+parseInt(t(127))/5+parseInt(t(147))/6+-parseInt(t(162))/7*(parseInt(t(141))/8)+-parseInt(t(132))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nn{constructor(t){this[hn(143)]=[],this.buffer=t}[en(161)](t){const e=en,n=this[e(155)](t);tn[e(140)](this[e(143)],this.buffer,n)}[en(158)](){return this[en(143)]}[en(155)](t){const e=en;return r({x:t.x,y:t.y,tspl:Date[e(138)]()},this.extractButtonsPressedData(t))}[en(144)](t){const e=en;return r(r(r(r({},t[e(139)]&&{ctrlKey:!0}),t[e(125)]&&{altKey:!0}),t[e(146)]&&{shiftKey:!0}),0!=t[e(154)]&&{buttons:t[e(154)]})}}class rn{constructor(t){this.data=[],this.bufferSize=t}[en(161)](t){const e=en,n=tn[e(136)](t);if(typeof t[e(137)]===e(151)){const i=t[e(137)]();if(i&&i[e(159)]>0)return void i.forEach((t=>{const i=e,r=this[i(155)](t,n,!0);tn[i(140)](this.data,this[i(134)],r)}))}const i=this[e(155)](t,n,!1);tn[e(140)](this[e(143)],this.bufferSize,i)}getData(){return this.data}[en(155)](t,e,n){const i=en,s=r({x:t.x,y:t.y,timestampHighRes:tn.getEventHighResTimestamp(t)},this[i(144)](t));return n&&(s.parentId=e),s}extractButtonsPressedData(t){const e=en;return r(r(r(r({},t.ctrlKey&&{ctrlKey:!0}),t[e(125)]&&{altKey:!0}),t[e(146)]&&{shiftKey:!0}),0!=t[e(154)]&&{buttons:t[e(154)]})}}class sn{constructor(t){const e=en;this[e(143)]=[],this[e(130)]=t}[en(161)](t){const e=en;var n;const i={x:t.x,y:t.y,timestamp:Date[e(138)](),mouseButtonType:t.detail,offsetX:t[e(142)],offsetY:t[e(133)],isPressed:null==(null===(n=t.sourceCapabilities)||void 0===n?void 0:n[e(149)])?null:!t[e(157)][e(149)],target_id:t[e(153)].id};tn.maintainLastXItems(this.data,this[e(130)],i)}[en(158)](){const t=en,e=[...this[t(143)]];return this[t(143)]=[],e}}class an{constructor(t){const e=en;this[e(143)]=[],this[e(134)]=t}[en(161)](t){const e=en;var n;const i={isTrusted:t.isTrusted,cancelable:t[e(128)],composed:t[e(160)],isView:!!t[e(131)],shiftKey:t[e(146)],metaKey:t[e(156)],ctrlKey:t[e(139)],altKey:t[e(125)],firesTouchEvents:null===(n=t.sourceCapabilities)||void 0===n?void 0:n[e(149)],timestamp:Date.now()};tn[e(140)](this[e(143)],this[e(134)],i)}[en(158)](){const t=[...this[en(143)]];return this.data=[],t}}function on(){const t=["isTrusted","getEventHighResTimestamp","getCoalescedEvents","now","ctrlKey","maintainLastXItems","8vTXsHp","offsetX","data","extractButtonsPressedData","166440qnNVyo","shiftKey","1810728rbObWO","location","firesTouchEvents","1158PEkrig","function","215592smxMia","target","buttons","extractEventData","metaKey","sourceCapabilities","getData","length","composed","collect","1018843dRsyVo","altKey","inputType","3235900GXaZLZ","cancelable","5696sQUabe","buffer","view","11177856Oxjuwo","offsetY","bufferSize"];return(on=function(){return t})()}class cn{constructor(t){const e=en;this.data=[],this[e(134)]=t}[en(161)](t){const e=en;var n;const i={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],isView:!!t.view,location:t[e(148)],shiftKey:t[e(146)],ctrlKey:t[e(139)],altKey:t[e(125)],firesTouchEvents:null===(n=t[e(157)])||void 0===n?void 0:n.firesTouchEvents,timestamp:Date[e(138)]()};tn[e(140)](this[e(143)],this[e(134)],i)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}class ln{constructor(t){const e=en;this[e(143)]=[],this[e(134)]=t}collect(t){const e=en,n={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],inputType:t[e(126)],isView:!!t[e(131)],timestamp:Date[e(138)]()};tn[e(140)](this[e(143)],this.bufferSize,n)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}function hn(t,e){return t-=125,on()[t]}class dn{constructor(t){this[en(143)]=[],this.bufferSize=t}[en(161)](t){const e=en,n={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],timestamp:Date[e(138)]()};tn[e(140)](this.data,this[e(134)],n)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}const un=Rn;!function(){const t=Rn,e=Nn();for(;;)try{if(537636==-parseInt(t(221))/1+-parseInt(t(234))/2+-parseInt(t(224))/3+-parseInt(t(228))/4+-parseInt(t(208))/5+-parseInt(t(212))/6*(-parseInt(t(192))/7)+parseInt(t(229))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const gn=un(200),pn=un(248),fn=un(247),_n="mousemove",vn=un(253),wn=un(217),mn=un(219),yn="submit",bn=un(210),In=un(191),En=un(238),Sn=un(227),Tn=un(235),kn="blur",Dn=un(232),Mn="pagehide",Cn=un(194),An=un(222),Pn=[un(218),un(197),un(216)],xn=un(246),Ln=un(190);class On{constructor(t,e,n,i,s){const a=un;this.storageManager=i,this[a(207)]=t,this[a(239)]=e,this[a(255)]=n,this[a(211)]=s,this[a(223)]=this[a(213)](),this.interactionEventsCollectorsData={[pn]:{eventTypesToAttach:[this[a(223)],wn,mn],attributesMapper:t=>{const e=a;var n;return{x:t.x,y:t.y,mouseButtonType:t[e(202)],isPressed:null==(null===(n=t[e(244)])||void 0===n?void 0:n[e(251)])?null:!t[e(244)][e(251)],offsetX:t[e(245)],offsetY:t[e(225)],target_id:t[e(261)].id}}},[fn]:{attributesMapper:t=>{const e=a;return{target_id:t[e(261)].id,isTrusted:t[e(258)],cancelable:t.cancelable,composed:t[e(201)],dropEffect:t[e(231)][e(242)],effectAllowed:t[e(231)][e(189)]}}},[yn]:{attributesMapper:t=>({target_id:t.target.id})},[_n]:{continousCollectors:[new nn(this[a(239)])]},[vn]:{continousCollectors:[new rn(this.mouseEventsCollectionBuffer)]},[wn]:{continousCollectors:[new sn(1)]},[mn]:{continousCollectors:[new sn(1)]},[Sn]:{eventTypesToAttach:[En,bn,In,gn],filter:this.inputTypeFilter,attributesMapper:t=>{const e=a,{target:n,isTrusted:i,cancelable:s,composed:o}=t;return r({target_id:n.id,dataset_keys:Object[e(262)](n[e(188)]||{}),isTrusted:i,cancelable:s,composed:o},navigator[e(196)]&&{navigator_virtualKeyboard:navigator[e(196)][e(252)]})}},[En]:{filter:this.inputTypeFilter,continousCollectors:[new ln(50)]},[bn]:{filter:this[a(209)],continousCollectors:[new cn(50)]},[In]:{filter:this[a(209)],continousCollectors:[new an(50)]},[gn]:{continousCollectors:[new dn(50)]},[Tn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t),target_id:null===(n=t[e(261)])||void 0===n?void 0:n.id}}},[kn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t),target_id:null===(n=t[e(261)])||void 0===n?void 0:n.id}}},[Dn]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t)}}},[Mn]:{attributesMapper:t=>{const e=a;return{visibilityState:document.visibilityState,hasFocus:document[e(199)](),timestampHighRes:tn.getEventHighResTimestamp(t)}}},[Cn]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t)}}}}}[un(213)](){return"undefined"!=typeof window&&window.PointerEvent?this.selectMoveEventTypeBasedOnRollout():_n}[un(254)](){const t=un,e=this[t(259)][t(214)](xn);if((null!=e?Number(e):null)!==this[t(211)]){const e=Math[t(226)]()<this[t(211)]/100?vn:_n;return this[t(206)](e),e}return this[t(260)]()}persistRolloutAndMoveEventTypeSelections(t){const e=un;this[e(259)][e(220)](xn,this.pointerMoveRolloutPercentage),this.storageManager[e(220)](Ln,t)}[un(260)](){const t=un,e=this[t(259)][t(214)](Ln);return(n=e)===vn||n===_n?e:_n;var n}[un(209)](t){const e=un;var n;const i=null===(n=t[e(261)])||void 0===n?void 0:n.tagName;return Pn[e(257)](i)}[un(198)](){const t=un;for(const[e,n]of Object[t(249)](this[t(240)]))if(!this[t(207)][t(257)](e)&&!(e===_n&&this.moveEventType===vn||e===vn&&this[t(223)]===_n))try{this.addSafeInteractionListener(e,n)}catch(n){Se[t(256)](t(195),{error:n,eventType:e})}}[un(241)](t,e){const n=un;return!t.filter||t[n(241)](e)}async[un(243)](t,e,n){const i=un,{attributesMapper:s,continousCollectors:a}=t;if(!this.filter(t,e))return!1;if(a)a.forEach((t=>{t[Rn(205)](e)}));else{const t=this[i(250)](),a=this[i(230)](n),o=r(r(r({},t),s(e)),a&&{attachedEventsData:a});await this[i(255)](n,o)}return!0}addSafeInteractionListener(t,e){const n=un;window[n(236)](t,(async i=>{const r=n;try{await this[r(243)](e,i,t)}catch(t){Se.error(r(203),{error:t})}}),t===Tn||t===kn)}getAttachedData(t){const e=un;let n;const i=this.interactionEventsCollectorsData[t][e(215)];return i&&(n={},i[e(193)]((t=>{const i=e,{continousCollectors:r}=this[i(240)][t];if(r){const e=t===vn?An:t;r[i(193)]((t=>n[e]=t.getData()))}}))),n}[un(250)](){return{location:window[un(204)].href}}}function Rn(t,e){return t-=188,Nn()[t]}function Nn(){const t=["TEXTAREA","mouseup","INPUT","mousedown","setItemLocalStorageSafe","512112ORFxFD","pointerevents","moveEventType","2127423dkFOuM","offsetY","random","focusout","1125476kXktEA","26907088jEAsdF","getAttachedData","clipboardData","visibilitychange","getEventHighResTimestamp","800124hQRToc","focus","addEventListener","visibilityState","input","mouseEventsCollectionBuffer","interactionEventsCollectorsData","filter","dropEffect","handleEvent","sourceCapabilities","offsetX","pecrp","paste","click","entries","getGenericAttributes","firesTouchEvents","overlaysContent","pointermove","selectMoveEventTypeBasedOnRollout","safeEventCallback","error","includes","isTrusted","storageManager","getStoredMoveEventType","target","keys","dataset","effectAllowed","cmet","keydown","45122IXYNPQ","forEach","pageshow","Error while adding listener","virtualKeyboard","SELECT","registerEventListeners","hasFocus","change","composed","detail","error adding interaction listener","location","collect","persistRolloutAndMoveEventTypeSelections","deviceEventDataCollectionIgnoreList","5356620YQuqyU","inputTypeFilter","keyup","pointerMoveRolloutPercentage","138lSCtlT","detectMoveEventType","getItemLocalStorageSafe","eventTypesToAttach"];return(Nn=function(){return t})()}function zn(){var t=["2ESAaBz","DENY","1657601DXETwQ","31401744gaXSvT","30vGEUao","uncompressed","1565130CCWvAl","4XNTkEc","4489767wbogSP","5eMdrxO","compress","2056803ujdbQq","TRUST","CHALLENGE","4378776MIImrT","8toVaZC","438749qyGXcJ","ALLOW"];return(zn=function(){return t})()}function Un(t,e){return t-=319,zn()[t]}var Bn,Fn,Kn,Zn,Hn,jn;!function(){for(var t=Un,e=zn();;)try{if(411860==-parseInt(t(328))/1*(-parseInt(t(330))/2)+-parseInt(t(323))/3*(-parseInt(t(319))/4)+parseInt(t(321))/5*(parseInt(t(326))/6)+parseInt(t(336))/7+parseInt(t(327))/8*(parseInt(t(320))/9)+parseInt(t(334))/10*(parseInt(t(332))/11)+-parseInt(t(333))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(Fn=Bn||(Bn={}))[(Kn=Un)(322)]="compressed",Fn[Kn(335)]=Kn(335),(Hn=Zn||(Zn={}))[(jn=Un)(329)]=jn(329),Hn[jn(325)]=jn(325),Hn[jn(331)]="DENY",Hn[jn(324)]=jn(324);const Vn=Yn;function Yn(t,e){return t-=437,Wn()[t]}!function(){const t=Yn,e=Wn();for(;;)try{if(408338==parseInt(t(444))/1*(parseInt(t(462))/2)+-parseInt(t(437))/3+parseInt(t(470))/4+parseInt(t(456))/5*(parseInt(t(443))/6)+-parseInt(t(445))/7*(-parseInt(t(440))/8)+-parseInt(t(450))/9*(-parseInt(t(439))/10)+-parseInt(t(467))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gn{constructor(t){this[Yn(448)]=t}[Vn(460)](){const t=Vn;return window[t(438)][t(454)][t(452)]({name:t(468),length:256},!0,[t(453),"decrypt"])}async encryptPayload(t,e){const n=Vn,i="string"==typeof t?(new TextEncoder).encode(t):t,r=window[n(438)][n(451)](new Uint8Array(12)),s={name:n(468),iv:r},a=await window[n(438)][n(454)][n(453)](s,e,i);return{payloadCipherText:this[n(441)](a),iv:r}}async[Vn(469)](t,e,n){const i=Vn,r=await window[i(438)][i(454)][i(471)](i(446),t),s=this[i(441)](r),a=this.arrayBufferToBase64(e),o=(new TextEncoder)[i(442)](JSON[i(466)]({symKey:s,iv:a})),c=await window[i(438)].subtle[i(453)]({name:i(464)},n,o);return this.arrayBufferToBase64(c)}arrayBufferToBase64(t){const e=Vn;let n="";const i=new Uint8Array(t),r=i[e(459)];for(let t=0;t<r;t++)n+=String[e(447)](i[t]);return window[e(461)](n)}[Vn(458)](t){const e=Vn;return window.crypto[e(454)][e(463)](e(457),JSON[e(465)](t),{name:"RSA-OAEP",hash:e(455)},!0,[e(453)])}async encrypt(t,e){const n=Vn;if(!window.crypto||!window.crypto[n(454)])throw new Error("crypto is not supported");const i=await this[n(460)](),{payloadCipherText:r,iv:s}=await this[n(449)](e,i),a=await this.importPublicKey(t);return{encryptedData:r,encryptedKey:await this[n(469)](i,s,a)}}}function Wn(){const t=["95544aaoCBv","exportKey","2134992zVbTgr","crypto","10vlflNG","46024TJvYfZ","arrayBufferToBase64","encode","108gHnmGD","479EUqHNg","224ixTSEU","raw","fromCharCode","configManager","encryptPayload","3898683vAEkAm","getRandomValues","generateKey","encrypt","subtle","SHA-256","78005WnyVMk","jwk","importPublicKey","byteLength","generateSymKey","btoa","2102KsELrX","importKey","RSA-OAEP","parse","stringify","3359554bDZuRf","AES-GCM","encryptSymKeyBundle"];return(Wn=function(){return t})()}var Jn,Xn,qn,Qn=ti;function $n(){var t=["error","client","9LKGvro","5902464LPWGNE","toString","6329128wLPKmO","SDKError: ","1798008MqMbxD","errorCode","SERVER","826834jHidui","message","797697KLMvIx","3seGUxL","name","6617260evEqzr","12612586iYBxPz",", errorCode: ","toLog","communication","errorSpace"];return($n=function(){return t})()}function ti(t,e){return t-=428,$n()[t]}!function(){for(var t=ti,e=$n();;)try{if(943105==parseInt(t(437))/1+parseInt(t(435))/2*(-parseInt(t(438))/3)+-parseInt(t(428))/4+parseInt(t(440))/5+-parseInt(t(432))/6+parseInt(t(441))/7+-parseInt(t(430))/8*(parseInt(t(448))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),qn=ti,(Xn=Jn||(Jn={})).CLIENT=qn(447),Xn[qn(434)]="server",Xn.COMMUNICATION=qn(444);class ei extends Error{constructor(t,e,n){var i,r,s=ti;super(),this[s(446)]=t,this[s(445)]=e,this[s(433)]=n,this[s(436)]=(null===(i=this[s(446)])||void 0===i?void 0:i[s(436)])||this[s(446)][s(429)](),this.name=(null===(r=this[s(446)])||void 0===r?void 0:r[s(439)])||ei[s(439)]}[Qn(429)](){var t=Qn;return t(431)+this[t(436)]+(this.errorSpace?", errorSpace: "+this[t(445)]:"")+(this.errorCode?t(442)+this[t(433)]:"")}[Qn(443)](){var t=Qn;return r(r({name:this[t(439)],message:this.message},this[t(445)]&&{errorSpace:this[t(445)]}),this[t(433)]&&{errorCode:this[t(433)]})}}function ni(t,e){return t-=240,ii()[t]}function ii(){const t=["389872DBtylM","526458cobhfc","join","2ggRaVc","783540jzAZEM","15AhDHXB","3170817wUJUtn","7OOQypF","1481880FoBjfL","1166392XPavXy","5510270TWmzCK","filter"];return(ii=function(){return t})()}!function(){const t=ni,e=ii();for(;;)try{if(213730==-parseInt(t(241))/1*(parseInt(t(250))/2)+-parseInt(t(242))/3+parseInt(t(246))/4+-parseInt(t(243))/5*(parseInt(t(251))/6)+parseInt(t(245))/7*(-parseInt(t(247))/8)+parseInt(t(244))/9+parseInt(t(248))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ri=ai;function si(){const t=["setItemLocalStorageSafe","error","desktop_web","type","ddls","[Lightweight] Event queue cleared","attributes","userId","interactionEventsManager","catch","pollingSessionToken","handleRotateResponse","sdkPlatform","ACTION_TOKEN_CACHE_MAX_SIZE","min","refreshConf","publicKey","keys","[Lightweight] Building fresh device payload","shouldSendDeviceEvent","EVENT_TYPE_INTERACTION","Failed to parse events from localStorage","deviceEventDataCollectionIgnoreList","signature","enrichUADataIfDoesNotExist","headers","getTabId","pollingInterval","Failed to compress data, sending the data to the service uncompressed","cleanupSentEvents","configManager","getClientId","href","addEventToLocalStorage","eventIdMap","sessionToken","storageManager","postData","isTokenExpired","index","parse","correlationId","maxLocalStoredEvents","history","standard","setSessionToken","COMMUNICATION","name","sort","EVENT_TYPE_DEVICE","info","identityManager","8300124AEfHhb","location","enableSessionToken","map","has","toLog","no need to send device event","platform","eventIndex","page_load","popAllEvents","pendingQueueEnabled","getItemLocalStorageSafe","Crypto-binding is not supported. ","CLIENT","ACTION_TOKEN_CACHE_TTL","eventTypesToStore","emitEvent","getDeviceId","1784hcYzsb","244CBkXoj","flushTimeoutHandle","Returning cached action token","bufferSize","1231612tjYPoh","cacheActionToken","maintainLastXItems","processingEvents","registerEventListeners","size","compressData","Error while emitting event (delayed flush)","flush","find","keyIdentifier","delete","lightweight","device/events","bufferInterval","deviceDataManager","EVENT_TYPE_ACTION","mouseEventsCollectionBuffer","compress","getDeviceData","requestsManager","1290456CprTlA","tier","get","now","actionTokenCache","generateEventIdentifier","cleanLocalStorageEvents","mobile_web","setUserId","key_rotation_status","crypto","deviceId","53397IRTpVQ","getUserId","getCachedActionToken","encrypt","actionToken","key_rotation_data","maxEventStored","cryptoBinding","serverPath","clientId","timestamp","isMobile","toString","EVENT_TYPE_IDENTIFICATION","[Lightweight] Failed to collect device data","setDeviceId","publicKeyId","fetchEventsFromLocalStorage","[Lightweight] clearQueue() called in standard mode - ignoring","getActionEventCacheKey","action_type","EVENT_TYPE_ACTION_RESULT","errorCode","increaseEventIndex","push","extractWindowRespurces","3494780yYxoWN","sdkVersion","149391inkbaA","enablePendingQueue","forEach","flushLock","set","removeItemLocalStorageSafe","safeEventCallback","Encryption error - missing public key","getRotationData","value","buildEncryptedRequestBody","includes","eventsQueue","refreshSessionToken","navigatorHighEntropyData","length","sendDeviceDataEvent","add","warn","sendPageLoadEvent","pop","5173497DrkVMm","getConfValue"];return(si=function(){return t})()}function ai(t,e){return t-=234,si()[t]}!function(){const t=ai,e=si();for(;;)try{if(764249==-parseInt(t(348))/1+-parseInt(t(327))/2+parseInt(t(360))/3*(-parseInt(t(323))/4)+parseInt(t(386))/5+-parseInt(t(303))/6+parseInt(t(249))/7+parseInt(t(322))/8*(parseInt(t(388))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const oi=ri(255),ci="lastDeviceInDeviceEvent",li="lse",hi=ri(344),di=ri(273),ui=ri(267),gi=ri(326),pi=ri(341),fi=[Ze[ri(343)],Ze[ri(373)],Ze[ri(300)],Ze[ri(381)]],_i=[Ze.EVENT_TYPE_ACTION,Ze[ri(373)]],vi=ri(293),wi=ri(365),mi=ri(357);class yi{get[ri(314)](){const t=ri;return this.configManager[t(250)](t(389),!1)}constructor(t,e,n,i,s,a,o,c){let l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ri(295);const h=ri;this[h(281)]=t,this[h(287)]=e,this[h(342)]=n,this[h(347)]=i,this[h(302)]=s,this.cryptoBinding=a,this[h(368)]=o,this[h(305)]=c,this[h(349)]=l,this[h(311)]=null,this[h(285)]=new WeakMap,this[h(391)]=!1,this[h(330)]=new Map,this[h(352)]=new Map,this.ACTION_TOKEN_CACHE_TTL=36e5,this.ACTION_TOKEN_CACHE_MAX_SIZE=100,this[h(324)]=null,this[h(234)]=async(t,e)=>{const n=h;try{const i=r({},r({interaction_type:t},e)),s={type:Ze[n(271)],attributes:i};return await this[n(320)](s)}catch(t){}},this[h(305)]=c,this.eventsQueue=[],this[h(358)]=new Gn(t),this[h(259)]=new On(this[h(281)][h(250)](di,[]),this[h(281)][h(250)](hi,100),this.safeEventCallback,this[h(287)],this[h(281)][h(250)]("pointerEventRolloutPercentage",0)),this[h(371)]=Be[h(371)](),this[h(319)]=this.configManager.getConfValue("localStoredEventTypes",[Ze[h(343)],Ze[h(300)]]),this[h(366)]=this.configManager[h(250)](vi,4),this.pollingInterval=36e4,this.tier!==h(339)&&this.pollingSessionToken()}generateEventIdentifier(t){const e=ri;var n;if(this[e(285)][e(307)](t))return this[e(285)][e(350)](t);const i=function(t,e,n,i,r,s,a){const o=ni;return[t,e,n,i,r,void 0!==s?s:"",a||""][o(249)]((t=>""!==t))[o(240)]("-")}(t[e(254)]||"",this[e(302)][e(282)](),this.identityManager[e(321)]()||"",this.identityManager[e(361)]()||"",t[e(370)],t[e(290)],null===(n=t.attributes)||void 0===n?void 0:n[e(380)]);return this[e(285)].set(t,i),i}[ri(379)](t){const e=ri;var n;return((null==t?void 0:t.type)||"")+"-"+(this[e(302)].getClientId()||"")+"-"+(this[e(302)][e(321)]()||"")+"-"+((null==t?void 0:t[e(258)])||this[e(302)][e(361)]()||"")+"-"+((null==t?void 0:t[e(370)])||"")+"-"+((null==t?void 0:t.index)||"")+"-"+((null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n[e(380)])||(null==t?void 0:t.correlationId)||"")}[ri(362)](t){const e=ri;if(!_i.includes(null==t?void 0:t[e(254)]))return null;const n=this[e(379)](t),i=this.actionTokenCache[e(350)](n);return i?Date[e(351)]()-i[e(370)]>this[e(318)]?(this[e(352)][e(338)](n),null):i.token:null}[ri(328)](t,e){const n=ri;if(!_i[n(239)](null==t?void 0:t[n(254)])||!e)return;if(this[n(352)][n(332)]>=this[n(264)]){const t=this[n(352)][n(268)]().next()[n(237)];this[n(352)][n(338)](t)}const i=this[n(379)](t);this[n(352)][n(392)](i,{token:e,timestamp:Date[n(351)]()})}async[ri(320)](t){const e=ri;if(this[e(314)]&&_i[e(239)](null==t?void 0:t[e(254)])){const n=this[e(362)](t);if(n)return Se[e(301)](e(325),{actionType:t.type,correlationId:t[e(292)]}),{actionToken:n}}t[e(290)]=this[e(383)](),t[e(304)]=location[e(372)](),t[e(310)]=navigator[e(310)],t[e(387)]="2.5.1",t[e(368)]=this[e(368)],t.tabId=this.identityManager[e(277)](),t[e(370)]=Date[e(351)](),await this.enrichUADataIfDoesNotExist(t);let n=0;if(this[e(319)][e(239)](t.type)?n=this[e(284)](t):this[e(240)][e(384)](t),this[e(349)]===e(339))return{};const i=this[e(281)][e(250)](gi,2);if(this[e(240)][e(243)]+n>=i||fi.includes(t[e(254)])){this[e(324)]&&(clearTimeout(this[e(324)]),this[e(324)]=null);try{return await this[e(335)]()}catch(n){throw Se[e(252)]("Error while emitting event",{clientId:this.identityManager[e(282)](),eventType:t.type,error:n[e(382)]?n[e(308)]():n}),n}}if(!this[e(324)]&&this.eventsQueue[e(243)]>0){const n=this.configManager[e(250)](pi,2),i=Math[e(265)](n,30);this[e(324)]=setTimeout((()=>{const n=e;this[n(324)]=null,this[n(335)]()[n(260)]((e=>{const i=n;Se[i(252)](i(334),{clientId:this[i(302)].getClientId(),eventType:t[i(254)],error:e.errorCode?e[i(308)]():e})}))}),1e3*i)}return{}}async[ri(241)](){const t=ri;try{return this[t(240)][t(243)]>0?await this.flush():(await this.sendDeviceDataEvent(!0),await this[t(335)]())}catch(e){Se[t(252)]("Failed to refresh data",{e:e})}}async[ri(261)](){const t=ri;try{this.identityManager[t(289)]()&&await this.refreshSessionToken()}catch(e){Se[t(252)]("Failed to polling data",{e:e})}finally{setTimeout((async()=>{const e=t;await this[e(261)]()}),this[t(278)])}}async[ri(275)](t){const e=ri;var n;if(!(null===(n=t[e(257)])||void 0===n?void 0:n[e(242)]))try{t.attributes[e(242)]=await Me()}catch(t){}}[ri(313)](){const t=ri;if(this[t(314)]){const e=[],n=new Set;for(;this[t(240)][t(243)];){const i=this[t(240)][t(248)]();if(!i)break;const r=this[t(353)](i);this[t(330)][t(307)](r)||!n.has(r)&&(n[t(245)](r),e[t(384)](i))}const i=this[t(377)]();return(null==i?void 0:i[t(243)])&&i[t(390)]((i=>{const r=t,s=this[r(353)](i);this[r(330)][r(307)](s)||!n[r(307)](s)&&(n[r(245)](s),e[r(384)](i))})),e[t(299)](((e,n)=>e[t(370)]-n[t(370)]))}{const e=[],n=this[t(377)]();for(;this[t(240)][t(243)];){const n=this[t(240)][t(248)]();if(!n)break;e[t(384)](n)}return(null==n?void 0:n[t(243)])&&e.push(...n),e.sort(((e,n)=>e[t(370)]-n[t(370)]))}}async[ri(335)](){const t=ri;let e=[];if(this.pendingQueueEnabled){for(;this.flushLock;)await new Promise((t=>setTimeout(t,10)));this[t(391)]=!0;try{if(e=this[t(313)](),0===e[t(243)])return{};e[t(390)]((e=>{const n=t,i=this[n(353)](e);this[n(330)][n(392)](i,e)}))}finally{this[t(391)]=!1}}else if(e=this.popAllEvents(),0===e.length)return{};const n={};n[t(369)]=this[t(302)][t(282)](),n[t(359)]=this[t(302)][t(321)](),n[t(258)]=this.identityManager[t(361)](),n[t(263)]=this[t(371)]?Ve:He,n.events=e;try{const{keyIdentifier:e,publicKeyId:i}=await this.cryptoBinding.getPublicData();n[t(337)]=e,n[t(376)]=i}catch(e){Se[t(246)](t(316)+e)}this.enableSessionToken&&(n[t(286)]=!0);try{const i=await this.buildEncryptedRequestBody(n,!0),s=await this.cryptoBinding[t(236)]();let a;s&&(a=[{type:wi,data:s.data,signature:s[t(274)]}]);const o=await this.requestsManager[t(288)](t(340),r(r({},i),a?{headers:a}:{}));if(o[t(276)]){const e=o[t(276)][t(336)]((e=>e[t(254)]===mi));e&&e[t(237)]&&this[t(367)][t(262)](e[t(237)])}return o.deviceId&&this.identityManager[t(375)](o.deviceId),o[t(286)]&&this[t(302)][t(296)](o[t(286)]),o.userId&&this[t(302)][t(356)](o.userId),this[t(314)]?(e[t(390)]((e=>{const n=t;_i[n(239)](e.type)&&o[n(364)]&&this[n(328)](e,o.actionToken)})),this[t(280)](e),e[t(390)]((e=>{const n=t,i=this[n(353)](e);this[n(330)][n(338)](i)}))):this[t(354)](),o}catch(n){throw this[t(314)]&&e[t(390)]((e=>{const n=t,i=this.generateEventIdentifier(e);this[n(330)][n(338)](i)})),n}}async[ri(238)](t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=ri,i=this[n(281)][n(250)](ui,null);if(null===i&&e)return await this.configManager[n(266)](this.identityManager[n(282)]()),await this[n(238)](t);if(null===i)throw new ei(new Error(n(235)),Jn[n(297)]);try{const e=JSON.stringify(t),r=this[n(333)](e),s=r||e,{encryptedData:a,encryptedKey:o}=await this[n(358)][n(363)](i,s);return{data:a,key:o,dataType:r?Bn[n(345)]:Bn.uncompressed}}catch(t){throw new ei(t,Jn[n(317)])}}[ri(333)](t){const e=ri;try{return de(t)}catch(t){Se[e(252)](e(279),{clientId:this.identityManager[e(282)](),error:t})}}[ri(383)](){const t=ri;if(null===this[t(311)]){const e=this[t(287)][t(315)]("rei"),n=Number.parseInt(e);this[t(311)]=Number.isNaN(n)?-1:n}return this.eventIndex++,this.storageManager[t(251)]("rei",this[t(311)].toString()),this[t(311)]}[ri(270)](){const t=ri,e=this[t(287)][t(315)](oi),n=this[t(287)][t(315)](ci);return!e||!n||Date[t(351)]()-e>864e5||n!=this[t(302)][t(321)]()}async[ri(244)](t){const e=ri;if(!t&&!this[e(270)]())return Se[e(301)](e(309)),!1;const n=await this[e(342)][e(346)](),i={type:Ze[e(300)],attributes:n},r=await this[e(320)](i);return r&&(this[e(287)][e(251)](oi,Date[e(351)]()),this[e(287)][e(251)](ci,this[e(302)][e(321)]())),r}async[ri(247)](){const t=ri,e=t(312);if(this[t(281)][t(250)](di,[]).includes(e))return!1;const n=this[t(385)]();return await this[t(320)]({type:Ze[t(271)],attributes:r(r({interaction_type:e,location:window[t(304)][t(283)],referrer:document.referrer},window[t(294)]&&{window_historyLength:window[t(294)].length}),n&&{windowResources:n})}),!0}extractWindowRespurces(){const t=ri;try{const e=window.performance.getEntriesByType("resources");return e&&Array.isArray(e)?e[t(306)]((e=>({name:e[t(298)],initiatorType:e.initiatorType}))):void 0}catch(t){}}[ri(331)](){const t=ri;this[t(259)][t(331)](),this[t(302)][t(331)]()}async getPayload(){const t=ri;if("lightweight"!==this[t(349)])throw new Error("[Lightweight] getPayload() can only be called in lightweight mode");let e;Se[t(301)](t(269));try{e=await this[t(342)][t(346)]()}catch(e){throw Se[t(252)](t(374),{error:e}),new Error(t(374))}const n=[{type:Ze[t(300)],attributes:e,timestamp:Date.now(),index:this.increaseEventIndex(),location:location[t(372)](),platform:navigator.platform,sdkVersion:"2.5.1",serverPath:this[t(368)],tabId:this.identityManager[t(277)]()}],i=this[t(302)][t(321)]();return{clientId:this.identityManager[t(282)](),deviceId:i||void 0,userId:this.identityManager.getUserId()||null,sdkPlatform:this[t(371)]?t(355):t(253),events:n}}clearQueue(){const t=ri;this[t(349)]===t(339)?(this[t(240)]=[],this[t(287)][t(393)](li),Se.info(t(256))):Se[t(246)](t(378))}[ri(377)](){const t=ri,e=this.storageManager[t(315)](li);if(!e)return[];try{return JSON[t(291)](e)}catch(e){return Se[t(252)](t(272),{error:e}),[]}}[ri(284)](t){const e=ri,n=this[e(377)]();return tn[e(329)](n,this[e(366)],t),this[e(287)][e(251)](li,JSON.stringify(n)),n[e(243)]}[ri(354)](){const t=ri;this.storageManager[t(393)](li)}[ri(280)](t){const e=ri;if(0===t.length)return;const n=this.fetchEventsFromLocalStorage();if(!n||0===n[e(243)])return;const i=new Set;for(const n of t)i[e(245)](this[e(353)](n));const r=n.filter((t=>!i[e(307)](this[e(353)](t))));r[e(243)]!==n[e(243)]&&(r[e(243)]>0?this[e(287)][e(251)](li,JSON.stringify(r)):this.storageManager[e(393)](li))}}function bi(t,e){return t-=194,Ei()[t]}const Ii=bi;function Ei(){const t=["754859TDXNlU","removeItemLocalStorageSafe","CryptoBinding not available for secure session token generation","base64UrlEncode","10yIWcTj","Failed to generate secure session token:","setClientId","setUserId","setItemSessionStorageSafe","storageManager","getUserId","3358752RydJGS","getClientId","JWT","isTokenExpired","RS256","rst","setSessionToken","122620pNlYmM","rdit","setDeviceId","saveTabIdOnUnload","warn","error","9619drlKlz","tabId","setCryptoBinding","loadDeviceId","beforeunload","1641564xpGVzB","setItemLocalStorageSafe","load","getItemLocalStorageSafe","randomUUID","userIdStorageExpiry","MAX_SAFE_INTEGER","Updating DeviceId","toString","actionType","removeItemSessionStorageSafe","info","getConfValue","deviceId","getDeviceId","configManager","452598mnCxvh","rci","getSessionToken","removeUserId","248140qhGiiH","userId","rdi","No backend session token available","exp","getItemSessionStorageSafe","clientId","loadTabId","iat","stringify","now","getSecureSessionToken","getPublicData","1.0","5ttWfRn","cryptoBinding","12ZgLzpm","registerEventListeners","split"];return(Ei=function(){return t})()}!function(){const t=bi,e=Ei();for(;;)try{if(291912==-parseInt(t(244))/1+parseInt(t(238))/2+-parseInt(t(197))/3+-parseInt(t(201))/4*(parseInt(t(215))/5)+-parseInt(t(217))/6*(-parseInt(t(220))/7)+parseInt(t(231))/8+-parseInt(t(249))/9*(parseInt(t(224))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Si="rui",Ti=Ii(198),ki=Ii(203),Di=Ii(239),Mi="rti",Ci=Ii(236),Ai=Ii(254),Pi=Ii(214);class xi{constructor(t,e,n){const i=Ii;this[i(229)]=t,this[i(196)]=e,this[i(207)]=n,this.cryptoBinding=null,this[i(226)](this[i(207)])}[Ii(246)](t){this[Ii(216)]=t}[Ii(251)](){const t=Ii;this[t(247)](),this[t(208)]()}[Ii(218)](){const t=Ii;window.addEventListener(t(248),(async()=>this[t(241)]()))}getDeviceId(){return this.deviceId}[Ii(240)](t){const e=Ii;this.deviceId!==t&&(Se[e(260)](e(256),{deviceId:t}),this[e(194)]=t,this[e(229)][e(228)](ki,t),this[e(229)][e(250)](ki,t))}loadDeviceId(){const t=Ii,e=this.storageManager[t(206)](ki)||this.storageManager[t(252)](ki);return null!=e&&this[t(240)](e),e}[Ii(232)](){return this[Ii(207)]}[Ii(226)](t){const e=Ii;this[e(229)][e(232)]()!=t&&this[e(229)][e(226)](t),this[e(229)][e(228)](Ti,t)}[Ii(230)](){const t=Ii;if(Number(this[t(229)].getItemLocalStorageSafe(Di))+this[t(196)][t(261)](Ai,864e5)<Date[t(211)]())return this.removeUserId(),null;const e=this[t(229)][t(206)](Si);return null!=e?e:this.storageManager.getItemLocalStorageSafe(Si)}[Ii(227)](t){const e=Ii;this[e(202)]=t,this[e(229)][e(228)](Si,t),this[e(229)][e(250)](Si,t),this[e(229)].setItemLocalStorageSafe(Di,Date[e(211)]())}[Ii(200)](){const t=Ii;this.storageManager[t(259)](Si),this[t(229)][t(221)](Si),this[t(229)][t(221)](Di)}loadTabId(){const t=Ii,e=this[t(229)].getItemSessionStorageSafe(Mi);e?(this.storageManager.removeItemSessionStorageSafe(Mi),this[t(245)]=e):this[t(245)]=Math.floor(Math.random()*Number[t(255)])[t(257)]()}getTabId(){return this.tabId}[Ii(241)](){const t=Ii;this[t(229)][t(228)](Mi,this[t(245)])}[Ii(237)](t){const e=Ii;this[e(229)][e(250)](Ci,t)}[Ii(199)](){const t=Ii;return this[t(229)].getItemLocalStorageSafe(Ci)||this[t(229)][t(206)](Ci)}async[Ii(212)](t){const e=Ii;var n,i;const s=null!==(n=null==t?void 0:t[e(258)])&&void 0!==n?n:null,a=null!==(i=null==t?void 0:t.expirationSeconds)&&void 0!==i?i:300,o=this[e(196)][e(261)]("sstReplayMaxUses",0)||null;if(!this.cryptoBinding)return Se[e(242)](e(222)),null;const c=this[e(199)]();if(!c)return Se.warn(e(204)),null;try{const{publicKey:t}=await this[e(216)][e(213)](),n=Math.floor(Date[e(211)]()/1e3),i=n+a,l=r(r({backendSessionToken:c,securedToken:!0,version:Pi,jti:tn[e(253)](),clientParams:{clientId:this[e(232)](),deviceId:this[e(195)](),userId:this[e(230)]()},iat:n,exp:i,publicKey:t},s&&{actionType:s}),o&&{maxUses:o}),h={alg:e(235),typ:e(233)},d=tn.base64UrlEncode(JSON[e(210)](h))+"."+tn[e(223)](JSON[e(210)](l)),u=await this.cryptoBinding.sign(d);return d+"."+tn.base64ToBase64Url(u)}catch(t){return Se[e(243)](e(225),{error:t}),null}}[Ii(234)](){const t=Ii;var e;const n=this[t(199)]();if(!n)return!0;try{const i=JSON.parse(atob(n[t(219)](".")[1]));let r=(null!==(e=i[t(205)])&&void 0!==e?e:i[t(209)])*(i[t(205)]&&i.exp<1e12?1e3:1);return!i.exp&&(r+=9e5),Date.now()>=r}catch(e){return Se[t(243)]("Invalid JWT:",{error:e}),!0}}}const Li=Ri;function Oi(){const t=["statusText","16730gbUlKN","json","3380293CIffCj","176QDPYvX","fetch-api is not supported","9613rxLNxj","serverPath","include","message","application/json","postData","SERVER","173109zHpFgp","6ITvNMC","fetch","postDataFromURL","status","callServer","263205GsYQXe","82yNecKP","44XEZkLk","2651qpSjjX","961700URSeGV","10574148iqYtrs","CLIENT"];return(Oi=function(){return t})()}function Ri(t,e){return t-=197,Oi()[t]}!function(){const t=Ri,e=Oi();for(;;)try{if(383069==parseInt(t(210))/1*(-parseInt(t(198))/2)+parseInt(t(217))/3*(-parseInt(t(199))/4)+-parseInt(t(201))/5+-parseInt(t(218))/6*(-parseInt(t(207))/7)+-parseInt(t(208))/8*(-parseInt(t(197))/9)+-parseInt(t(205))/10*(parseInt(t(200))/11)+parseInt(t(202))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ni{constructor(t){this[Ri(211)]=t}async[Li(215)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.postDataFromURL(this.serverPath+t,e,n)}async[Li(220)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=Li,s={method:"POST",credentials:i(212),headers:new Headers(r({"Content-Type":i(214)},n)),body:JSON.stringify(e)};return await this[i(222)](t,s)}async getData(t){const e=Li,n=this[e(211)]+t,i={method:"GET",credentials:e(212)};return await this.callServer(n,i)}async callServer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Li;if(!(n(219)in window))throw new ei(new Error(n(209)),Jn[n(203)]);try{const i=await fetch(t,e),r=await i[n(206)]();if(i.ok)return r;throw new ei(new Error(r[n(213)]||i[n(204)]),Jn[n(216)],i[n(221)])}catch(t){if(!(t instanceof ei))throw new ei(new Error(t[n(213)]),Jn.COMMUNICATION);throw t}}}function zi(t,e){return t-=244,Bi()[t]}const Ui=zi;function Bi(){const t=["keys","20080ypamPO","REQUIRED_SDK_PARAMS","43LYZaYb","14xrIpwu","throwOrReturnResult","tier","150yDPxqD","serverPath","length","push","106416LKhhQj","725901LVtYwx","90745flaDMl","logIfInvalid","string","options","4odHOBy","11934IyUxUw","stringify","1458aiEWas","313878kAmEmj","filter"];return(Bi=function(){return t})()}!function(){const t=zi,e=Bi();for(;;)try{if(115668==parseInt(t(254))/1*(-parseInt(t(248))/2)+parseInt(t(262))/3+parseInt(t(245))/4*(parseInt(t(264))/5)+parseInt(t(249))/6+-parseInt(t(255))/7*(parseInt(t(252))/8)+-parseInt(t(246))/9*(parseInt(t(258))/10)+parseInt(t(263))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Fi{constructor(){const t=zi;this[t(253)]={clientId:t(266)}}[Ui(256)](t,e,n){if(!t&&((null==e?void 0:e[Ui(265)])&&Se.info(n),null==e?void 0:e.throwError))throw new Error(n);return t}validateSDKParams(t,e){const n=Ui;var i,r,s,a;const o=Object[n(251)](this[n(253)])[n(250)]((e=>typeof t[e]!=this[n(253)][e]));if("lightweight"!==(null!==(i=t[n(257)])&&void 0!==i?i:null===(r=t.options)||void 0===r?void 0:r[n(257)])){const e=null!==(a=null===(s=t[n(244)])||void 0===s?void 0:s[n(259)])&&void 0!==a?a:t.serverPath;(typeof e!==n(266)||!e)&&o[n(261)](n(259))}return this[n(256)](0==o[n(260)],e,"Invalid SDK params was provided: "+JSON[n(247)](o))}}const Ki=Zi;function Zi(t,e){return t-=156,Hi()[t]}function Hi(){const t=["length","lastTimeLogsSent","platform","push","getClientId","66888odpQEL","logsMinimumDelay","getConfValue","71782EjnnfE","2965WsjbMR","13602mHhbnk","device/logs","now","enableLogsReporting","366342hZddHy","31360170fKqyWW","flush","2022024EoPVtp","logs","configManager","logMiddleware","6506991GKIyrC","707SRQBfc","18zicpVr","reportLogs","identityManager"];return(Hi=function(){return t})()}!function(){const t=Zi,e=Hi();for(;;)try{if(862968==parseInt(t(161))/1+parseInt(t(181))/2*(parseInt(t(170))/3)+parseInt(t(164))/4+parseInt(t(156))/5*(parseInt(t(157))/6)+-parseInt(t(169))/7*(-parseInt(t(178))/8)+parseInt(t(168))/9+-parseInt(t(162))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ji{constructor(t,e,n){const i=Zi;this.requestsManager=t,this[i(172)]=e,this.configManager=n,this[i(174)]=0,this[i(167)]=async()=>{const t=i;try{await this[t(171)]()}catch(t){}},Se.middlewares[i(176)](this.logMiddleware)}async[Ki(171)](){const t=Ki;if(!this[t(166)][t(180)](t(160),!1))return;const e=this[t(166)][t(180)]("logsMinimumBatch",6),n=this[t(166)][t(180)](t(179),12e4);if(Se[t(165)][t(173)]<e||this[t(174)]+n>Date[t(159)]())return;this[t(174)]=Date[t(159)]();const i=Se[t(163)](),r=this[t(172)][t(177)](),s=Math.floor(Date.now()/1e3),a={sdkVersion:"2.5.1",platform:navigator[t(175)],clientId:r,timestamp:s,logEntries:i};await this.requestsManager.postData(t(158),a)}}const Vi=Yi;function Yi(t,e){return t-=393,Wi()[t]}!function(){const t=Yi,e=Wi();for(;;)try{if(892636==-parseInt(t(398))/1+-parseInt(t(396))/2*(parseInt(t(406))/3)+-parseInt(t(405))/4*(parseInt(t(393))/5)+parseInt(t(402))/6+-parseInt(t(410))/7+parseInt(t(395))/8+parseInt(t(407))/9*(parseInt(t(411))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Gi=Vi(408);function Wi(){const t=["device/migrate-identifiers","endsWith","10748KclcAW","579iWBCej","7634529eXfUJP","rimd","requestsManager","6886236PJOgfq","10CXQTti","1655MdhmlL","deviceId","13088656GkCztr","3826VEyfdk","identityManager","16188ZBqbMU","getDeviceId","getItemLocalStorageSafe","storageManager","4000890LgEano"];return(Wi=function(){return t})()}class Ji{constructor(t,e,n){const i=Vi;this[i(397)]=t,this[i(409)]=e,this[i(401)]=n}async migrateIdentifiers(t){const e=Vi;if("true"!=this.storageManager[e(400)](Gi)){const n=this[e(397)][e(399)](),i=this[e(397)].getClientId(),r=(t[e(404)]("/")?t:t+"/")+e(403),s=await this.requestsManager.postDataFromURL(r,{deviceId:n,clientId:i});s.deviceId&&s[e(394)]==n&&this[e(401)].setItemLocalStorageSafe(Gi,"true")}}}function Xi(){const t=["configManager","extensionMetadata","privateUserIdentifier","TSAccountProtectionReady","transactionData","sdk init done","claimedUserId","enableDeviceAttributesInActions","config_disabled","claimedUserIdType","enableSessionToken","options","809317HdSatC","errorSpace","migrationsManager","identifyUser","downloadFile","getUserId","disabledReason","_error_","SDK disabled","correlationId","3332784WbECPg","unified-platform","[Lightweight] getPayload() can only be used in lightweight tier","migrateIdentifiers","userId","329IMwnwt","email","getActions","removeUserId","TSAccountProtection","sdkEnabled","publicKey","customAttributes","initializationPromise","hasOwnClientId","initializedInstance","validationManager","identifiersMigrationEnabled","setCryptoBinding","dispatchEvent","unexpected_error_","account_id","deviceId","requestsManager","getDeviceData","__UNIFIED_SDK_VERSIONS__","missing_config","RiskID","11034696iQgiHE","[Lightweight] Skipping auto-event collection and event listeners","updateUserId","_error_'invalid action type - ","cryptoBindingConfig","message","warn","storageManager","keys","keyRotation","serverPath is required","now","startedAt","602358akGPBX","fallbackClientId","generateDisabledToken","getSecureSessionToken","[Lightweight] triggerActionEvent() cannot be used in lightweight tier. Use getPayload() instead.","national_id","Invalid claimedUserIdType","toString","EVENT_TYPE_ACTION_RESULT","flush","deviceDataManager","[Lightweight] SDK initialized in lightweight mode","cryptoBinding","undefined","emitEvent","slice","logsReporter","isInitialized","eventsManager","SERVER","other","sendPageLoadEvent","refreshConf","validateSDKParams","CLIENT","action","refreshSessionToken","disabled_sdk_","length","sendDeviceDataEvent","enabled","[Lightweight] deviceId must be a non-empty string","90040GFYfme","Session token is not enabled","clearQueue","standard","session","clientId","unknown","serverPath","getClientId","getConfValue","includes","reportActionResult failed to send","init","invalid_params","init_failed","stringify","identityManager","load","challengeType","tier","EVENT_TYPE_ACTION","catch","keyScope","EVENT_TYPE_IDENTIFICATION","mainEntry","[Lightweight] reportActionResult() cannot be used in lightweight tier.","crypto","RiskIDReady","trim","verbose","passport_number","setDeviceId","SDK already initialized","[Lightweight] getSecureSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","actions","triggerActionEvent","enableIdentifiersMigration","string","suspiciousContext","getPayload","object","suspiciousSignals","tenantId","setUserId","extensionDeviceAttributes","[Lightweight] clearQueue() can only be used in lightweight tier","isTokenExpired","reportActionResult called without actionToken or result","info","initialize","189338nCdTRE","init_not_called","expiryDays","[Lightweight] getSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","78846UGnSZX","setAuthenticatedUser","lightweight","firstPartyMigrationUrl","getSessionToken","[Lightweight] setDeviceId() can only be used in lightweight tier"];return(Xi=function(){return t})()}const qi=Qi;function Qi(t,e){return t-=392,Xi()[t]}!function(){const t=Qi,e=Xi();for(;;)try{if(631898==-parseInt(t(434))/1+parseInt(t(412))/2+parseInt(t(485))/3+-parseInt(t(444))/4+-parseInt(t(517))/5+-parseInt(t(416))/6*(-parseInt(t(449))/7)+parseInt(t(472))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const $i=[null,void 0,"undefined","",0],tr=qi(454),er=qi(398),nr=qi(546),ir=qi(429),rr=qi(396),sr=[qi(450),"phone_number",qi(465),"ssn",qi(490),qi(392),"drivers_license_number",qi(505)];class ar{constructor(t,e){const n=qi;var i,r;if(this[n(457)]=null,this[n(440)]=null,this.enableSessionToken=!1,this[n(461)]=!1,this[n(419)]=null,this.hasOwnClientId=!1,this[n(536)]=n(520),this.validationManager=new Fi,ar[n(459)])throw new Error(n(394));ar.initializedInstance=!0;const s=typeof e===n(399);this[n(522)]=s?e:t,this.options=s?{serverPath:t}:e,this[n(536)]=(null===(i=this[n(433)])||void 0===i?void 0:i[n(536)])||n(520);const a=typeof(null===(r=this[n(433)])||void 0===r?void 0:r.serverPath)===n(399)&&this[n(433)][n(524)][n(545)]()[n(513)]>0;if(this[n(536)]!==n(418)&&!a)throw new Error(n(482));a&&(this[n(433)][n(524)]=new URL(this[n(433)][n(524)])[n(492)]()),this.firstPartyMigrationUrl=this[n(433)][n(419)]||null,this[n(536)]===n(418)&&Se[n(410)](n(496),{serverPath:this[n(433)].serverPath}),Se[n(515)]=!!this[n(433)][n(546)],!this[n(460)][n(508)](this,{throwError:!0,logIfInvalid:!0})&&(this[n(440)]=n(530)),this[n(479)]=new me(this.clientId),this[n(467)]=new Ni(this[n(433)][n(524)]),this.configManager=new Xe(this.storageManager,this[n(467)]),this[n(533)]=new xi(this[n(479)],this[n(422)],this.clientId),this[n(533)][n(534)](),this[n(436)]=new Ji(this.identityManager,this[n(467)],this[n(479)]),this[n(432)]=this.options.enableSessionToken||!1,this.hasOwnClientId=this.options[n(458)]||!1,this[n(501)]=new ji(this[n(467)],this[n(533)],this.configManager)}[qi(487)](t){const e=qi,n=Date[e(483)]();return e(512)+(this[e(440)]||e(523))+"_"+t+"_"+n}get[qi(396)](){const t=qi;return this[t(422)][t(526)](rr,[])}async[qi(451)](){const t=qi;return await this[t(502)](),this[t(396)]}async[qi(420)](){const t=qi;if(this[t(536)]===t(418))throw new Error(t(415));if(!this[t(432)])throw new Error("Session token is not enabled");return await this.isInitialized()?(this[t(533)].isTokenExpired()&&await this[t(503)][t(511)](),this[t(533)][t(420)]()):(Se.info("SDK disabled"),this.generateDisabledToken(t(521)))}async[qi(401)](){const t=qi;if(this[t(536)]!==t(418))throw new Error(t(446));return await this.isInitialized(),await this.eventsManager[t(401)]()}[qi(519)](){const t=qi;if(this[t(536)]!==t(418))throw new Error(t(407));this[t(503)].clearQueue()}[qi(393)](t){const e=qi;if(this.tier!==e(418))throw new Error(e(421));if(!t||"string"!=typeof t)throw new Error(e(516));Se[e(410)]("[Lightweight] Setting deviceId from backend",{deviceId:t}),this[e(533)][e(393)](t)}async[qi(529)](t){const e=qi,n=typeof t!==e(402)?t:null==t?void 0:t[e(448)];return Se[e(410)]("sdk init started"),this[e(457)]=(async()=>{const t=e;var i;this.tier!==t(418)&&await this[t(422)][t(507)](this[t(533)][t(525)]());const r=this[t(422)][t(526)](t(404),null),s=this[t(422)][t(526)](t(481),null),a=this[t(422)][t(526)]("idbWriteTimeoutMs",void 0),o={};if((null==s?void 0:s.isEnabled)&&(o.keyRotation={isEnabled:!0,expiryDays:s[t(414)],startedAt:s[t(484)],tenantId:r}),void 0!==a&&(o.idbWriteTimeoutMs=a),this.hasOwnClientId&&(o[t(486)]=this.clientId),(null===(i=this[t(433)].cryptoBindingConfig)||void 0===i?void 0:i[t(539)])&&(o[t(539)]=this[t(433)][t(476)][t(539)]),this[t(497)]=_e[t(543)].createCryptoBinding("sign",Object[t(480)](o).length>0?o:void 0),this[t(533)][t(462)](this[t(497)]),this[t(495)]=new Ue(this.storageManager,this[t(422)],this[t(497)]),this[t(503)]=new yi(this[t(422)],this[t(479)],this.deviceDataManager,this.requestsManager,this[t(533)],this[t(497)],this[t(433)].serverPath,this.enableSessionToken,this[t(536)]),null!==this[t(440)])return!1;const c=this[t(422)][t(526)](tr,void 0);return c?(this.identifiersMigrationEnabled=this[t(461)]||this.configManager.getConfValue(er,!1),this[t(461)]&&this[t(419)]&&await this[t(436)][t(447)](this[t(419)]),Se[t(515)]=Se[t(515)]||!!this.configManager.getConfValue(nr,!1),this.tier!==t(418)?(await this[t(503)][t(514)]()[t(538)]((()=>{})),await this.eventsManager[t(506)]()[t(538)]((()=>{})),await this[t(474)](n)[t(538)]((()=>{})),this[t(503)].registerEventListeners(),await this.eventsManager[t(494)]()[t(538)]((()=>{}))):Se[t(410)](t(473)),Se[t(410)](t(427)),!0):(this[t(440)]=t(void 0===c?470:430),!1)})(),await this.initializationPromise}async[qi(502)](){const t=qi;if(null===this[t(457)])return!this[t(440)]&&(this[t(440)]=t(413)),!1;const e=await this[t(457)];return!e&&!this[t(440)]&&(this[t(440)]=t(531)),e}async[qi(397)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=qi;var i;if(this[n(536)]===n(418))throw new Error(n(489));const s=Date[n(483)]();if(!await this[n(502)]())return Se[n(410)](n(442)),{actionToken:this.generateDisabledToken(n(510))};if(!this[n(396)][n(527)](t))return Se[n(478)]("Invalid action type",{actionType:t}),{actionToken:Jn[n(509)]+n(475)+t+"'_"+s};const a=null==e?void 0:e[n(431)];if(a&&!sr[n(527)](a))return Se[n(478)](n(491),{claimedUserIdType:a}),{actionToken:"invalid_claimed_user_id_type_"+a+"_"+s};let o;this[n(422)][n(526)](ir,!1)&&(o=await this[n(495)][n(468)]());const c=r({type:Ze[n(537)],attributes:r(r(r(r(r(r(r(r(r(r(r(r(r({action_type:t},(null==e?void 0:e[n(443)])&&{correlation_id:e[n(443)]}),(null==e?void 0:e[n(428)])&&{claimed_user_id:e[n(428)]}),a&&{claimed_user_id_type:a}),(null==e?void 0:e[n(455)])&&{public_key:e[n(455)]}),(null==e?void 0:e[n(423)])&&{extension_metadata:e[n(423)]}),(null==e?void 0:e[n(406)])&&{extension_device_attributes:e.extensionDeviceAttributes}),(null==e?void 0:e[n(403)])&&{suspicious_signals:e[n(403)]}),(null==e?void 0:e[n(400)])&&{suspicious_context:e[n(400)]}),(null==e?void 0:e[n(438)])&&{download_file:e[n(438)]}),(null==e?void 0:e.uploadFile)&&{upload_file:e.uploadFile}),(null==e?void 0:e[n(426)])&&{transactionData:e.transactionData}),typeof globalThis!==n(498)&&(null===(i=globalThis.__UNIFIED_SDK_VERSIONS__)||void 0===i?void 0:i[n(445)])&&{platform_sdk_version:globalThis[n(469)][n(445)]}),o)},(null==e?void 0:e[n(456)])&&{customAttributes:e.customAttributes});try{const t=await this[n(503)][n(499)](c),{actionToken:e}=t;if(!e)throw new ei(new Error("Unhandled SDK error. Received eventResponse: "+(typeof t==n(402)?JSON[n(532)](t)[n(500)](15):t)),Jn[n(509)]);return t}catch(e){return{actionToken:e instanceof ei?e[n(435)]===Jn[n(504)]?e[n(435)]+"_error_"+t+"_"+e.errorCode+"_'"+e[n(477)]+"'_"+s:e[n(435)]+n(441)+t+"_'"+e[n(477)]+"'_"+s:n(464)+t+"_"+s}}}async[qi(474)](t){const e=qi;if($i[e(527)](t))return Se[e(410)]("identifyUser called without a valid userid",{userId:t}),!1;t=t[e(492)](),Se[e(410)](e(437),{userId:t});const n=this[e(533)][e(439)]();return n===t||(this[e(533)][e(405)](t),!!(await this.eventsManager.emitEvent({type:Ze[e(540)],attributes:{previous_user_id:n,user_id:t}}))[e(466)])}async[qi(417)](t){const e=qi;return await this[e(502)]()?this[e(474)](t):(Se[e(410)](e(442)),!1)}async reportActionResult(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=qi;if("lightweight"===this.tier)throw new Error(i(542));if(!await this[i(502)]())return Se.info("SDK disabled"),!1;if(!t||!e)return Se.warn(i(409),{result:e}),!1;const s={type:Ze[i(493)],attributes:r(r(r({action_token:t,result_feedback:e},(null==n?void 0:n.challengeType)&&{challenge_type:n[i(535)]}),(null==n?void 0:n[i(448)])&&{user_id:n[i(448)]}),(null==n?void 0:n[i(424)])&&{privateUserIdentifier:n[i(424)]})};try{const t=await this[i(503)].emitEvent(s);return typeof t===i(402)&&null!==t}catch(t){return Se[i(478)](i(528),{error:t}),!1}}async clearUser(){const t=qi;if(!await this.isInitialized())return Se[t(410)](t(442)),!1;const e=this.identityManager[t(439)]();return null!=e&&this.identityManager[t(452)](),!!(await this.eventsManager[t(499)]({type:Ze[t(540)],attributes:{previous_user_id:e}}))[t(466)]}async getSecureSessionToken(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;const n=qi;if(this[n(536)]===n(418))throw new Error(n(395));if(!this[n(432)])throw new Error(n(518));return await this[n(502)]()?(this.identityManager[n(408)]()&&await this[n(503)][n(511)](),await this.identityManager[n(488)]({actionType:t,expirationSeconds:e})||this[n(487)](n(521))):(Se[n(410)](n(442)),this[n(487)](n(521)))}}ar[qi(459)]=!1,document[qi(463)](new CustomEvent(qi(425)));const or=cr;function cr(t,e){return t-=500,mr()[t]}!function(){const t=cr,e=mr();for(;;)try{if(156853==parseInt(t(504))/1+parseInt(t(514))/2+parseInt(t(503))/3+-parseInt(t(508))/4+parseInt(t(526))/5+-parseInt(t(525))/6+parseInt(t(502))/7*(-parseInt(t(507))/8))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(523)][e(517)][e(512)])(e(513),e(516))}_e[or(518)].on(_e[or(518)][or(501)],(()=>{const t=or,{clientId:e,drs:n,cryptoBindingConfig:i}=_e[t(527)].getInitConfig(),s=n||{},{enabled:a,userId:o,serverPath:c}=s,l=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}(s,ue);if(!1===a)return;const h=(null==n?void 0:n[t(522)])||e,d=!!(null==n?void 0:n.clientId);lr=new ar(h,r(r({},l),{},{hasOwnClientId:d,serverPath:c,cryptoBindingConfig:i})),lr[t(524)]({userId:o})}));const dr=function(){const t=or;return hr(lr),lr[t(505)](...arguments)},ur=function(){return hr(lr),lr.setAuthenticatedUser(...arguments)},gr=function(){const t=or;return hr(lr),lr[t(509)](...arguments)},pr=function(){const t=or;return hr(lr),lr[t(500)](...arguments)},fr=function(){const t=or;return hr(lr),lr[t(520)]()},_r=function(){return hr(lr),lr.getSessionToken()},vr=function(t,e){const n=or;return hr(lr),lr[n(519)](t,e)},wr=function(){const t=or;return hr(lr),lr[t(506)](...arguments)};function mr(){const t=["utils","init","1870680sDJyZf","1418725dnxtTp","moduleMetadata","clearUser","MODULE_INITIALIZED","90349JIfVDz","580854nJFDXk","237453vlIrUt","triggerActionEvent","getPayload","56oAxIfI","924988oMKZer","reportActionResult","flush","eventsManager","TsError","not_initialized","150826xTTvMY","identityManager","tsPlatform not initialized","exceptions","events","getSecureSessionToken","getActions","getDeviceId","clientId"];return(mr=function(){return t})()}const yr=function(){return hr(lr),lr.setDeviceId(...arguments)},br={getDeviceId(){const t=or;return lr[t(515)][t(521)]()},getClientId:()=>lr[or(515)].getClientId(),flush(){const t=or;return lr[t(511)][t(510)]()}};const Ir="2.5.0",Er={initialize:e,...Object.freeze({__proto__:null,__internal:br,clearUser:pr,getActions:fr,getPayload:wr,getSecureSessionToken:vr,getSessionToken:_r,reportActionResult:gr,setAuthenticatedUser:ur,setDeviceId:yr,triggerActionEvent:dr})};export{Ir as PACKAGE_VERSION,br as __internal,pr as clearUser,Er as drs,fr as getActions,wr as getPayload,vr as getSecureSessionToken,_r as getSessionToken,gr as reportActionResult,ur as setAuthenticatedUser,yr as setDeviceId,dr as triggerActionEvent};
1
+ "undefined"==typeof globalThis&&("undefined"!=typeof window?(window.globalThis=window,window.global=window):"undefined"!=typeof self&&(self.globalThis=self,self.global=self));import t from"./common.js";import{initialize as e}from"./common.js";export{initialize}from"./common.js";function n(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={},a={};function o(t){let e=t.length;for(;--e>=0;)t[e]=0}const c=256,l=286,h=30,d=15,u=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),g=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),p=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_=new Array(576);o(_);const v=new Array(60);o(v);const w=new Array(512);o(w);const m=new Array(256);o(m);const y=new Array(29);o(y);const b=new Array(h);function I(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(b);const D=t=>t<256?w[t]:w[256+(t>>>7)],M=(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,M(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)},A=(t,e,n)=>{C(t,n[2*e],n[2*e+1])},P=(t,e)=>{let n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1},x=(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]=P(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?M(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?A(t,r,e):(s=m[r],A(t,s+c+1,e),a=u[s],0!==a&&(r-=y[s],C(t,r,a)),i--,s=D(i),A(t,s,n),a=g[s],0!==a&&(i-=b[s],C(t,i,a)))}while(o<t.last_lit);A(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),x(n,l,t.bl_count)},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),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))},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),i=0;i<=n;i++)if(r=a,a=e[2*(i+1)+1],!(++o<c&&r===a)){if(o<l)do{A(t,r,t.bl_tree)}while(0!=--o);else 0!==r?(r!==s&&(A(t,r,t.bl_tree),o--),A(t,16,t.bl_tree),C(t,o-3,2)):o<=10?(A(t,17,t.bl_tree),C(t,o-3,3)):(A(t,18,t.bl_tree),C(t,o-11,7));o=0,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&&(M(t,n),M(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++)m[n++]=i;for(m[n-1]=i,r=0,i=0;i<16;i++)for(b[i]=r,t=0;t<1<<g[i];t++)w[r++]=i;for(r>>=7;i<h;i++)for(b[i]=r<<7,t=0;t<1<<g[i]-7;t++)w[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(x(_,287,s),t=0;t<h;t++)v[2*t+1]=5,v[2*t]=P(t,5);E=new I(_,u,257,l,d),S=new I(v,g,0,h,d),T=new I(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(B(t,t.dyn_ltree,t.l_desc.max_code),B(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);F(t,t.dyn_ltree,e-1),F(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*(m[n]+c+1)]++,t.dyn_dtree[2*D(e)]++),t.last_lit===t.lit_bufsize-1),a._tr_align=t=>{C(t,2,3),A(t,256,_),(t=>{16===t.bi_valid?(M(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)};var H=(t,e,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 V=(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},Y={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"},G={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:W,_tr_stored_block:J,_tr_flush_block:X,_tr_tally:q,_tr_align:Q}=a,$=H,tt=V,et=Y,{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:wt,Z_DEFLATED:mt}=G,yt=258,bt=262,It=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 Mt=(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))},At=(t,e)=>{X(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ct(t.strm)},Pt=(t,e)=>{t.pending_buf[t.pending++]=e},xt=(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-bt?t.strstart-(t.w_size-bt):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-bt)){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=Mt(t,t.ins_h,t.window[a+1]);t.insert&&(t.ins_h=Mt(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<bt&&0!==t.strm.avail_in)},Nt=(t,e)=>{let n,i;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=Mt(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-bt&&(t.match_length=Ot(t,n)),t.match_length>=3)if(i=q(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Mt(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=Mt(t,t.ins_h,t.window[t.strstart+1]);else i=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2},zt=(t,e)=>{let n,i,r;for(;;){if(t.lookahead<bt){if(Rt(t),t.lookahead<bt&&e===nt)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=Mt(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-bt&&(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=q(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=Mt(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&&(At(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=q(t,0,t.window[t.strstart-1]),i&&At(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=q(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2};function Ut(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r}const Bt=[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,At(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-bt&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(At(t,!1),t.strm.avail_out),1)})),new Ut(4,4,8,4,Nt),new Ut(4,5,16,8,Nt),new Ut(4,6,32,32,Nt),new Ut(4,4,16,16,zt),new Ut(8,16,32,32,zt),new Ut(8,16,128,128,zt),new Ut(8,32,128,256,zt),new Ut(32,128,258,1024,zt),new Ut(32,258,258,4096,zt)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=mt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Dt(this.dyn_ltree),Dt(this.dyn_dtree),Dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Dt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Kt=t=>{if(!t||!t.state)return Tt(t,lt);t.total_in=t.total_out=0,t.data_type=wt;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,W(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=Bt[t.level].max_lazy,t.good_match=Bt[t.level].good_length,t.nice_match=Bt[t.level].nice_length,t.max_chain_length=Bt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0})(t.state),e},Ht=(t,e,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!==mt||i<8||i>15||e<0||e>9||s<0||s>_t)return Tt(t,lt);8===i&&(i=9);const o=new Ft;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)=>Ht(t,e,mt,15,8,vt),s.deflateInit2=Ht,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,Pt(r,31),Pt(r,139),Pt(r,8),r.gzhead?(Pt(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)),Pt(r,255&r.gzhead.time),Pt(r,r.gzhead.time>>8&255),Pt(r,r.gzhead.time>>16&255),Pt(r,r.gzhead.time>>24&255),Pt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Pt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Pt(r,255&r.gzhead.extra.length),Pt(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):(Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,0),Pt(r,9===r.level?2:r.strategy>=pt||r.level<2?4:0),Pt(r,3),r.status=Et);else{let e=mt+(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,xt(r,e),0!==r.strstart&&(xt(r,t.adler>>>16),xt(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));)Pt(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,Pt(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,Pt(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=It)}else r.status=It;if(r.status===It&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Ct(t),r.pending+2<=r.pending_buf_size&&(Pt(r,255&t.adler),Pt(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=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):r.strategy===ft?((t,e)=>{let 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=q(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=q(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(At(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===st?(At(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(At(t,!1),0===t.strm.avail_out)?1:2})(r,e):Bt[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&&(J(r,0,0,!1),e===rt&&(Dt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Ct(t),0===t.avail_out))return r.last_flush=-1,ot}return e!==st?ot:r.wrap<=0?ct:(2===r.wrap?(Pt(r,255&t.adler),Pt(r,t.adler>>8&255),Pt(r,t.adler>>16&255),Pt(r,t.adler>>24&255),Pt(r,255&t.total_in),Pt(r,t.total_in>>8&255),Pt(r,t.total_in>>16&255),Pt(r,t.total_in>>24&255)):(xt(r,t.adler>>>16),xt(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!==It&&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=Mt(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 Vt=(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)Vt(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 Yt={};let Gt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Gt=!1}const Wt=new Uint8Array(256);for(let t=0;t<256;t++)Wt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Wt[254]=Wt[254]=1,Yt.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};Yt.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=Wt[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&&Gt)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)},Yt.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+Wt[t[n]]>e?n:e};const Jt=s,Xt=jt,qt=Yt,Qt=Y,$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}=G;function he(t){this.options=Xt.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=Jt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==se)throw new Error(Qt[n]);if(e.header&&Jt.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?qt.string2buf(e.dictionary):"[object ArrayBuffer]"===te.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,n=Jt.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=qt.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=Jt.deflate(n,s),r===ae)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),r=Jt.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=Xt.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(){var t=["33313450sdqOpW","550752oKKkmg","9730350sRCEeQ","drs","4PRlhvh","4QnjaMl","2116527gRLnRp","2405690PnnIdN","5958904pfbpHJ","12468bvYGPW","2597HwBgxZ"];return(ge=function(){return t})()}var pe=fe;function fe(t,e){return t-=408,ge()[t]}!function(){for(var t=fe,e=ge();;)try{if(608543==-parseInt(t(412))/1*(parseInt(t(409))/2)+parseInt(t(414))/3*(-parseInt(t(413))/4)+-parseInt(t(415))/5+parseInt(t(417))/6*(-parseInt(t(418))/7)+-parseInt(t(416))/8+parseInt(t(410))/9+parseInt(t(408))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();var _e=new t(pe(411));const ve=ye;function we(){const t=["getItemLocalStorageSafe","getClientId","setClientId","3750405uhQEtC","removeItem","getItem","setItemSessionStorageSafe","FALLBACK_LOCAL_STORAGE","getItemSessionStorageSafe","2314105koRpNv","setItemLocalStorageSafe","18MeOBOk","clientId","getFullStorageKey","setItem","FALLBACK_SESSION_STORAGE","399113jwlBSC","308656VnusZr","4966040KwRVZv","3122576wcnUNt","localStorage","133uYRNyF","4562586QCkVfb","sessionStorage"];return(we=function(){return t})()}!function(){const t=ye,e=we();for(;;)try{if(806667==parseInt(t(274))/1+parseInt(t(277))/2+parseInt(t(285))/3+-parseInt(t(276))/4+-parseInt(t(291))/5*(parseInt(t(269))/6)+parseInt(t(279))/7*(parseInt(t(275))/8)+-parseInt(t(280))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(t){const e=ye;this.FALLBACK_SESSION_STORAGE={},this[e(289)]={},this[e(270)]=t}[ve(283)](){return this[ve(270)]}[ve(284)](t){this[ve(270)]=t}getFullStorageKey(t){return this[ve(270)]+"_"+t}[ve(290)](t){const e=ve,n=this.getFullStorageKey(t);try{return window.sessionStorage[e(287)](n)}catch(t){return this[e(273)][n]}}[ve(288)](t,e){const n=ve,i=this[n(271)](t);try{window[n(281)][n(272)](i,e)}catch(t){this[n(273)][i]=e}}removeItemSessionStorageSafe(t){const e=ve,n=this[e(271)](t);try{window[e(281)].removeItem(n)}catch(t){this[e(273)][n]=void 0}}[ve(282)](t){const e=ve,n=this[e(271)](t);try{return window[e(278)][e(287)](n)}catch(t){return this[e(289)][n]}}[ve(292)](t,e){const n=ve,i=this[n(271)](t);try{window[n(278)][n(272)](i,e)}catch(t){this[n(289)][i]=e}}removeItemLocalStorageSafe(t){const e=ve,n=this.getFullStorageKey(t);try{window[e(278)][e(286)](n)}catch(t){this[e(289)][n]=void 0}}}function ye(t,e){return t-=269,we()[t]}function be(t,e){return t-=328,Te()[t]}const Ie=be;!function(){const t=be,e=Te();for(;;)try{if(365450==parseInt(t(349))/1*(parseInt(t(348))/2)+-parseInt(t(355))/3+-parseInt(t(337))/4+-parseInt(t(354))/5*(-parseInt(t(345))/6)+-parseInt(t(342))/7*(-parseInt(t(331))/8)+-parseInt(t(352))/9+parseInt(t(341))/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(328)]=t,this[e(334)]=e(344),this[e(346)]=1e4,this[e(340)]=[],this.middlewares=[]}info(t,e){this.pushLog(3,t,e)}[Ie(333)](t,e){this.pushLog(4,t,e)}[Ie(353)](t,e){this[Ie(339)](5,t,e)}[Ie(347)](){const t=Ie,e=this[t(340)];return this[t(340)]=[],e}[Ie(339)](t,e,n){const i=Ie;this.enabled&&console[i(350)]("%s %s %s",this.logPrefix,e,JSON[i(351)](n)),this[i(340)][i(329)]({timestamp:Date[i(330)](),severity:t,text:JSON.stringify(r(r({},n),{},{message:e}),this[i(336)])}),this[i(340)].length>this[i(346)]&&this[i(340)][i(332)]();const s=this[i(343)][i(335)]((t=>t()));Promise[i(356)](s)[i(338)]((()=>{}))}[Ie(336)](t,e){if(e instanceof Error){const{name:t,stack:n,message:i}=e;return{name:t,stack:n,message:i}}return e}}const Se=new Ee;function Te(){const t=["all","enabled","push","now","8kxmbaa","unshift","warn","logPrefix","map","formatter","1965124kpodnE","catch","pushLog","logs","3780600PIuhjs","4935637gnIsws","middlewares","[AccountProtection SDK]","471054krlCUK","logsLimit","flush","1654sHdlRX","489yfbhVM","log","stringify","6559398nNnjwP","error","20qPhniI","648111pMRnFS"];return(Te=function(){return t})()}function ke(){var t=["8buscQb","128828hYJiTj","260NgkIBF","executor reached timeout","30835kYVgAA","platformVersion","warn","platform","mobile","finally","wow64","getHighEntropyValues","uaFullVersion","1115632tVtmwk","5613XtPsdS","name","2481440ykuDLU","race","1252098CTQTmF","resolve","catch","505073SZvazg","510IPtmlh","setTimeout","bitness"];return(ke=function(){return t})()}function De(t,e){return t-=340,ke()[t]}function Me(){var t,e=De;return null===(t=navigator.userAgentData)||void 0===t?void 0:t[e(364)](["architecture","model",e(360),e(358),"fullVersionList",e(352),e(361),e(363),e(340)])}function Ce(t,e){var n=De;let i;const r=[Promise[n(347)](t())[n(348)]((()=>{})),new Promise(((t,r)=>i=window[n(351)](r,e)))];return Promise[n(345)](r)[n(348)]((()=>Se[n(359)](n(356),{fnName:t[n(343)]})))[n(362)]((()=>clearTimeout(i)))}!function(){for(var t=De,e=ke();;)try{if(379735==-parseInt(t(349))/1+-parseInt(t(354))/2+parseInt(t(342))/3*(-parseInt(t(355))/4)+parseInt(t(357))/5*(parseInt(t(350))/6)+parseInt(t(341))/7*(parseInt(t(353))/8)+parseInt(t(346))/9+parseInt(t(344))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Le;function Pe(){const t=["__ybro","destination","debug","height","serviceWorker","tanh","msMaxTouchPoints","dischargingTime","webgl","languages","worker promise rejected","getVendor","getCpuClass","fromCharCode","screen","#f9c","yandex","geolocation","call","#069","webkit","getReferrer","DocumentTouch","navigatorIsUserActive","getPlatform","dataPointsExtractor","_selenium","UCShellJava","fftSize","hardwareConcurrency","RTCPeerConnection","__firefox__","LanguageDetector","pixelDepth","alphabetic","offsetWidth","frequency","getNavigatorUserAgent","now","log1p","devicePixelRatio","permissions","webRTCDisabled","platform","appendChild","only screen and (max-width: 600px)","__webdriver__chr","isSendBeaconFunction","acosh","getNavigatorPermissionsState","renderedBuffer","getAudioFingerprint","query","Small Fonts","isGeoLocationExists","Calibri","getTouchSupport","getWebGlRenderer","configManager","windowDocumentAuxVarsTest","selenium-evaluate","170406ktwxqa","buildID","__webdriver_unwrapped","__crWeb","DateTimeFormat","Futura Md BT","atan","ucweb","$cdc_asdjflasutopfhvcZLmcfl_","monospace","EUROSTILE","puffinDevice","__selenium_unwrapped","evenodd","AvantGarde Bk BT","getNavigatorProduct","__fxdriver_unwrapped","spynner_additional_js_loaded","sdkDeviceDataCollectionIgnoreList","getLocalStorage","createOscillator","__webdriver_evaluate","userAgent","getCookieEnabled","top","getExtension","cosh","Array","isArray","getDeviceMemory","maxTouchPoints","getTTS","includes","getIndexedDB","sessionStorage","getPrototypeOf","calculate","windowConstructorAliasTest","canPlayType","LanguageModel","SimHei","width","getAudioFingerprintExtended","getNavigatorPrototype","get","getLanguage","isPointInPath","userActivation","__fxdriver_evaluate","addBehavior","startRendering","getFonts","MS UI Gothic","mediaDevices","SCRIPTINA","Levenim MT","start","fill","test","high","__gCrWeb","sort","stack","state","beginPath","from","getSessionStorage","getFloatTimeDomainData","calledSelenium","enumerateDevices","awesomium","getVoices","getWindowBasedKeys","getPublicData","getOpenDatabase","createElement","getNavigatorHighEntropyData","name","Agency FB","plugins","getCryptoRandomValues","getNavigatorUAData","charCodeAt","outerWidth","getContext","active","Arabic Typesetting","__lastWatirPrompt","__webdriver_script_func","connect","canvas","#2ff","toString","serif","attack","cdc_adoQpoasnfa76pfcZLmcfl_Symbol","filter","callSelenium","low","sinh",'video/mp4; codecs="avc1.42E01E"',"HTMLElement","defineProperty","Cwm fjordbank gly ","Marlett","1000","__lastWatirConfirm","chargingTime","getWindowOuter","console","oncomplete","isActive","some","PublicKeyCredential","Letter Gothic","charging","createDynamicsCompressor","collectPromisesData","ChromeDriverw","onLine","prototype","getDocumentBasedKeys","__phantomas","outerHeight","OSMJIF","colorDepth","length","_phantom","values","vendor","localStorage","getDeviceData","getOwnPropertyDescriptors","$chrome_asyncScriptInfo","getBuildID","getTimezoneOffset","threshold","watinExpressionResult","Leelawadee","sendBeacon","atanh","replace","style","#f2f","domAutomation","__webdriver_script_function","getOwnPropertyNames","globalCompositeOperation","10px","ratio","language","setTimeout","__nightmare","cpuClass","storeItem","onvoiceschanged","video/mp4;;Codecs =avc1.42E01E","fillText","getFloatFrequencyData","Error","getBrave","reduction","left","sans-serif","__lastWatirAlert","Clarendon","timing","webgl-experimental","fontSize","__driver_evaluate","Menlo","abs","availWidth","isUserVerifyingPlatformAuthenticatorAvailable","__webdriverFuncgeb","retrieveItem","standard","fillStyle","getHash","absolute","Futura Bk BT","Vrinda","Staccato222 BT","geb","Humanst521 BT","indexOf","Sequentum","__driver_unwrapped","_Selenium_IDE_Recorder","isMobile","productSub","getWindowAIAPIs","getTimezone","arc","inverted","log","callPhantom","12HxIxYl","Univers CE 55 Medium","rect","triangle","1363620JJXYyK","resolve","__webdriverFunc","Promise","setItemLocalStorageSafe","ARNO PRO","Translator","Batang","exp","webdriver-evaluate","orientation","lastDeviceData","toDataURL","subarray","MS Reference Specialty","matchMedia","getMediaDevices","navigatorOnLine","speechSynthesis","15205456bFuwCp","cryptoBinding","getOsCpu","type","hashCodeString","getAddBehavior","getProductSub","5376147SIuIwW","push","createAnalyser","getPerformanceMemory","hasSequentum","getCodesTests","cookieEnabled","notifications","value","getCryptoBindingData","srgb","getHardwareConcurrency","__selenium_evaluate","getParameter","fontFamily","Serifa","deviceMemory","warn","MS Mincho","fillRect","121346vLJPHJ","getScreen","Gill Sans","token","tts","deviceId","driver-evaluate","tan","getPlugins","fmget_targets","domAutomationController","__webdriver_script_fn","indexedDB","_WEBDRIVER_ELEM_CACHE","level","asinh","MYRIAD PRO","rgba(102, 204, 0, 0.2)","Buffer","groupId","label","body","Minion Pro","cos","Bitstream Vera Sans Mono","function","rec2020","MT Extra","webdriver","textBaseline","isNodeReachable_","Helvetica Neue","crypto","getLanguages","__$webdriverAsyncExecutor","getRandomValues","visibility","dataPoints",'11pt "Times New Roman"',"safari","getInstalledRelatedApps","spawn","offsetHeight","Object","GOTHAM","div","BankGothic Md BT","matches","getNavigatorBasedKeys","storageManager","OfflineAudioContext","emit","getWebDriver","getCanvasFingerprint","991722yvypDl","ZWAdobeF","1348690HYkyuf","calledPhantom","webkitOfflineAudioContext","Haettenschweiler","#ff2","getMathFingerprint","description","getConfValue","no-preference","reduce","getBattery","getMediaMatch","WEBGL_debug_renderer_info","removeChild","TRAJAN PRO","map","getConnection","entries","navigatorStorageEstimation","getOwnPropertyDescriptor","100","oprt","getPerformanceTiming","brave","url","startPromisesLoop","cache_","document","getItemLocalStorageSafe","sqrt","getFIDOEnabled","bind","getWindowOrientation","disconnect","getAsyncToken","less","font","getChannelData","Microsoft Uighur","textContent","invalidPublicKeyId"];return(Pe=function(){return t})()}!function(){const t=Le,e=Pe();for(;;)try{if(428147==-parseInt(t(581))/1*(-parseInt(t(631))/2)+parseInt(t(384))/3+parseInt(t(585))/4+parseInt(t(282))/5+parseInt(t(280))/6+parseInt(t(611))/7+-parseInt(t(604))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xe=Ae(402);function Le(t,e){return t-=259,Pe()[t]}const Oe="deviceDataCalculationExpiry",Re={tts:1e3},Ne=t=>{var e;return null!==(e=Re[t])&&void 0!==e?e:100},ze=t=>t?[...t].reduce(((t,e)=>t+Math.abs(e)),0):0;class Ue{constructor(t,e,n){this.storageManager=t,this.configManager=e,this.cryptoBinding=n}async[Ae(420)](){const t=Ae,e=this[t(381)][t(289)](xe,[]),n=this[t(381)][t(289)](Oe,36e5),i=this[t(381)][t(289)]("agenticIdentityEnabled",!1),r=await new Be(e,this.cryptoBinding,i)[t(348)]();return this[t(596)]=r,this[t(275)][t(589)](Oe,Date[t(361)]()+n),r}async[Ae(515)](){const t=Ae;return Number(this.storageManager[t(310)](Oe))<Date.now()||!this[t(596)]?await this[t(420)]()||{}:this[t(596)]||{}}}class Be{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=Ae;this.sdkDeviceDataCollectionIgnoreList=t,this[i(605)]=e,this[i(263)]=r({battery:this[i(292)],brave:this[i(544)],canvas:this[i(279)],codecs:this[i(616)],connection:this[i(298)],cookieEnabled:this[i(407)],cryptoRandomValues:this[i(464)],deviceMemory:this[i(413)],documentBasedKeys:this[i(505)],hardwareConcurrency:this[i(622)],indexedDB:this[i(417)],fidoEnabled:this[i(312)],languages:this.getLanguages,language:this[i(429)],timezoneOffset:this[i(519)],localStorage:this[i(403)],navigatorBasedKeys:this.getNavigatorBasedKeys,navigatorProduct:this[i(399)],navigatorUserAgent:this[i(360)],navigatorUAData:this[i(465)],navigatorHighEntropyData:this[i(460)],navigatorStorageEstimation:this[i(300)],navigatorOnLine:this[i(602)],navigatorIsUserActive:this[i(346)],math:this[i(287)],mediaMatch:this[i(293)],openDatabase:this[i(458)],windowOrientation:this[i(314)],platform:this.getPlatform,cpuClass:this[i(335)],osClass:this[i(606)],addBehavior:this[i(609)],productSub:this[i(610)],mediaDevices:this[i(601)],audioFingerprint:this[i(374)],audioFingerprintExtended:this.getAudioFingerprintExtended,fonts:this[i(435)],performanceTiming:this[i(304)],performanceMemory:this[i(614)],plugins:this.getPlugins,screen:this[i(632)],sequentum:this[i(615)],sessionStorage:this.getSessionStorage,referrer:this[i(344)],timezone:this[i(576)],touchSupport:this.getTouchSupport,vendor:this[i(334)],buildID:this[i(518)],webdriver:this[i(278)],webGlRenderer:this[i(380)],windowBasedKeys:this[i(456)],windowOuter:this[i(492)],webRTCDisabled:this[i(365)],cryptoBindingData:this[i(620)][i(313)](this),notificationState:this[i(372)].bind(this,i(618)),geolocationState:this.getNavigatorPermissionsState.bind(this,i(340)),isGeoLocationExists:this[i(377)],isSendBeaconExists:this[i(370)],navigatorPrototype:this[i(427)],installedRelatedApps:this.getInstalledRelatedApps,windowConstructorAliasTest:this[i(421)],windowDocumentAuxVarsTest:this[i(382)],CDPRuntimeDomainTest:this.CDPRuntimeDomainTest},n&&{tts:this[i(415)],windowAIAPIs:this[i(575)]})}CDPRuntimeDomainTest(){const t=Ae;let e=!1;const n=new(window[t(543)]);return window[t(269)][t(486)](n,t(446),{configurable:!1,enumerable:!1,get:function(){return e=!0,""}}),window[t(493)][t(325)](n[t(446)]),e}[Ae(382)](){const t=Ae;for(const e of window.Object[t(530)](window[t(309)]))if(e==t(517)||/^\$cdc_[a-zA-Z0-9]{22}_$/[t(442)](e))return!0;for(const e of window[t(269)][t(512)](window.Object[t(516)](window[t(309)]))){if(!e.value||void 0===e[t(619)][t(308)])continue;const n=window[t(269)][t(530)](window[t(269)][t(419)](e[t(619)])),i=[t(538),t(559),t(661)];if(n[t(445)](),i.sort(),n.every(((t,e)=>t==i[e])))return!0}return!1}[Ae(421)](){const t=Ae,e=window.Object[t(530)](window);for(const n of e){if(/^cdc_[a-zA-Z0-9]{22}_(Array|Promise|Symbol)$/.test(n))return!0;for(const e of[window[t(411)],window[t(588)],window.Symbol])if(n!=(null==e?void 0:e[t(461)])&&n!=t(634)&&n!=t(316)&&window[n]===e)return!0}return!1}async[Ae(348)](){const t=Ae,e=this[t(307)]();return await this[t(501)](e)}startPromisesLoop(){const t=Ae,e={};for(const[n,i]of Object[t(299)](this[t(263)]))if(!this[t(402)][t(416)](n))try{e[n]=Ce(i,Ne(n))}catch(i){Se.warn("worker throw error",{e:i,key:n}),e[n]=Promise[t(586)]()}return e}async collectPromisesData(t){const e=Ae,n={};for(const[i,r]of Object[e(299)](t))try{n[i]=await r}catch(t){Se[e(628)](e(333),{e:t,key:i}),n[i]=void 0}return n}getCookieEnabled(){const t=Ae,e=navigator[t(617)];return Promise[t(586)](e)}async[Ae(312)](){const t=Ae;return!!navigator.credentials&&await window[t(497)][t(557)]()}[Ae(464)](){const t=Ae,e=window[t(663)][t(261)](new Uint8Array(16));return Array[t(449)](e)}webRTCDisabled(){const t=Ae,e=null==window[t(353)];return Promise[t(586)](e)}[Ae(456)](){const t=Ae,e=["chrome",t(265),t(387),t(444),t(339),"__yb",t(323),t(354),"__edgeTrackingPreventionStatistics",t(343),t(303),"samsungAr",t(391),t(350),t(395),t(511),t(506),t(580),t(649),t(277),t(267),t(641),t(528),t(536),t(349),t(452),t(481),"_Selenium_IDE_Recorder",t(260),"__driver_evaluate","__driver_unwrapped",t(432),t(400),t(548),t(490),t(471),t(623),t(396),t(369),"__webdriver_evaluate",t(642),t(472),t(529),t(386),t(558),t(454),t(283),"cdc_adoQpoasnfa76pfcZLmcfl_Array","cdc_adoQpoasnfa76pfcZLmcfl_Promise",t(479),"chrome_asyncScriptInfo",t(640),t(567),t(508),t(401),"watinExpressionError",t(521)],n=[];for(const i of e){const e=window[i];void 0!==e&&null!=e&&n[t(612)](i)}return Promise[t(586)](n)}[Ae(575)](){const t=Ae;return{languageModel:t(423)in window,summarizer:"Summarizer"in window,translator:t(591)in window,languageDetector:t(355)in window}}async[Ae(415)](){const t=Ae;if(!window[t(603)])return null;const e=await new Promise((e=>{const n=t,i=window[n(603)][n(455)]();if(i[n(510)]>0)return void e(i);const r=window[n(535)]((()=>{const t=n;window[t(603)][t(539)]=null,e(null)}),Re[n(635)]);window[n(603)][n(539)]=()=>{const t=n;clearTimeout(r),window[t(603)][t(539)]=null,e(window[t(603)].getVoices())}}));return e?{voiceCount:e[t(510)],hasGoogle:e[t(496)]((t=>/Google/i.test(t.name)))}:null}getMediaMatch(){const t=Ae,e={"dynamic-range":[t(443),t(560)],"prefers-reduced-motion":[t(290),t(291)],"prefers-contrast":[t(290),t(443),t(482),"more",t(317),"forced"],"max-monochrome":["0","10",t(302),t(489)],"forced-colors":[t(469),"none"],"inverted-colors":[t(578),"none"],"color-gamut":[t(657),"p3",t(621)]},n={};for(const[i,r]of Object[t(299)](e))for(const e of r)n[i[t(525)](/-/g,"_")+"_"+e[t(525)](/-/g,"_")]=window[t(600)]("("+i+": "+e+")")[t(273)];return Promise[t(586)](n)}[Ae(287)](){const t=Ae,e=[Math.acos(.12312423423423424),Math[t(371)](1e308),(n=1e154,Math[t(579)](n+Math.sqrt(n*n-1))),Math.asin(.12312423423423424),Math[t(646)](1),Math[t(579)](1+Math[t(311)](2)),Math[t(524)](.5),Math[t(579)](3)/2,Math[t(390)](.5),Math.sin(-1e300),Math[t(483)](1),Math[t(593)](1)-1/Math[t(593)](1)/2,Math[t(654)](10.000000000123),Math[t(410)](1),(Math[t(593)](1)+1/Math.exp(1))/2,Math[t(638)](-1e300),Math[t(328)](1),(Math.exp(2)-1)/(Math[t(593)](2)+1),Math[t(593)](1),Math.expm1(1),Math.exp(1)-1,Math[t(362)](10),Math.log(11),Math.PI**-100];var n;let i="";for(let n=0;n<e[t(510)];n++)i+=e[n][t(476)]();return Promise[t(586)](Be[t(608)](i))}[Ae(298)](){const t=Ae,{connection:e}=navigator,n=(t=>{let{downlink:e,effectiveType:n,rtt:i,saveData:r}=t;return{downlink:e,effectiveType:n,rtt:i,saveData:r}})(e);return Promise[t(586)](n)}[Ae(450)](){const t=Ae;return Promise[t(586)](!!window[t(418)])}getLocalStorage(){const t=Ae;return Promise.resolve(!!window[t(514)])}[Ae(615)](){const t=Ae;return-1!==window.external[t(476)]()[t(569)](t(570))}[Ae(274)](){const t=Ae;return[t(659),t(553),t(405),"__selenium_evaluate",t(432),t(571),t(386),"__selenium_unwrapped",t(400),t(572),t(349),"calledSelenium",t(644),t(502),t(637),t(594),t(383),"webdriverCommand","webdriver-evaluate-response",t(587),t(642),t(260),t(548),t(490),t(471),t(517),t(392),t(327)][t(480)]((t=>navigator[t]))}[Ae(399)](){const t=navigator.product;return Promise.resolve(t)}[Ae(360)](){return navigator[Ae(406)]}[Ae(465)](){return navigator.userAgentData}[Ae(460)](){return Me()}[Ae(300)](){return navigator.storage.estimate()}[Ae(602)](){return navigator[Ae(503)]}[Ae(346)](){const t=Ae;return navigator[t(431)][t(495)]}async[Ae(372)](t){const e=Ae;try{const n=await navigator[e(364)][e(375)]({name:t});return null==n?void 0:n[e(447)]}catch(t){}}isGeoLocationExists(){return!!navigator[Ae(340)]}isSendBeaconFunction(){const t=Ae;return typeof navigator[t(523)]===t(656)}[Ae(427)](){const t=Ae;return{hardwareConcurrency:Object[t(301)](Object[t(419)](navigator),t(352)).get[t(476)](),languages:Object.getOwnPropertyDescriptor(Object[t(419)](navigator),t(332))[t(428)][t(476)]()}}async[Ae(266)](){const t=Ae;if(typeof navigator[t(266)]===t(656))try{const{related_applications:e}=await navigator[t(266)]();if(e&&Array[t(412)](e))return e[t(297)]((e=>{const n=t;return{platform:e[n(366)],url:e[n(306)]}}))}catch(t){}}[Ae(344)](){return document.referrer}[Ae(304)](){return performance[Ae(550)]}[Ae(614)](){const{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:n}=performance.memory;return{jsHeapSizeLimit:t,totalJSHeapSize:e,usedJSHeapSize:n}}getIndexedDB(){const t=Ae;return Promise.resolve(!!window[t(643)])}getOpenDatabase(){const{openDatabase:t}=window;return Promise.resolve(!!t)}[Ae(379)](){const t=Ae,e=window[t(345)]&&document instanceof DocumentTouch,n={maxTouchPoints:navigator[t(414)]||navigator[t(329)]||0,documentTouch:e,ontouchstart:"ontouchstart"in window};return Promise[t(586)](n)}[Ae(639)](){const t=Ae;function e(t){const e=Le,n=[];for(let i=0;i<t[e(510)];++i)n.push({type:t[i][e(607)],suffixes:t[i].suffixes});return n}const n=[];for(let i=0;i<navigator[t(463)][t(510)];++i){const r=navigator.plugins[i];r&&n[t(612)]({name:r.name,description:r[t(288)],mimeTypes:e(r)})}return Promise[t(586)](n)}[Ae(632)](){const t=Ae,e=window[t(337)]||screen,{availLeft:n}=e,{availTop:i}=e,r={availHeight:e.availHeight,availLeft:n,availTop:i,availWidth:e[t(556)],colorDepth:e[t(509)],height:e[t(326)],width:e[t(425)],pixelDepth:e[t(356)],orientationAngle:e[t(595)]&&e.orientation.angle,orientationType:e[t(595)]&&e[t(595)][t(607)],devicePixelRatio:window[t(363)]};return Promise[t(586)](r)}static hashCodeString(t){const e=Ae;if(null==t)return;let n=0,i=0;const r=t[e(510)];for(;i<r;)n=(n<<5)-n+t[e(466)](i++)|0;return n}[Ae(492)](){const t=Ae,e={outerWidth:window[t(467)],outerHeight:window[t(507)]};return Promise[t(586)](e)}[Ae(278)](){const t=Ae,e=navigator[t(659)];return Promise[t(586)](e)}[Ae(314)](){const t=Ae,e=window.orientation;return Promise[t(586)](e)}[Ae(347)](){const t=Ae,e=navigator[t(366)];return Promise[t(586)](e)}[Ae(335)](){const t=navigator[Ae(537)];return Promise.resolve(t)}[Ae(606)](){const t=Ae,e=navigator.oscpu;return Promise[t(586)](e)}getAddBehavior(){const t=Ae,e=!!window[t(485)][t(504)][t(433)];return Promise[t(586)](e)}[Ae(610)](){const t=Ae,e=navigator[t(574)];return Promise[t(586)](e)}async getMediaDevices(){const t=Ae,e=await navigator[t(437)][t(453)](),n=[];for(const i of e)n[t(612)]({kind:i.kind,label:i[t(651)],deviceId:i[t(636)],groupId:i[t(650)]});return n}async getAudioFingerprint(){const t=Ae,e=window[t(276)]||window[t(284)];if(!e)return-1;const n=new e(1,5e3,44100),i=n[t(404)]();i.type="triangle",i[t(359)][t(619)]=1e4;const r=n.createDynamicsCompressor();r[t(520)][t(619)]=-50,r.knee[t(619)]=40,r[t(533)][t(619)]=12,r[t(478)][t(619)]=0,r.release[t(619)]=.25,i[t(473)](r),r[t(473)](n.destination),i[t(440)](0);const s=new Promise((async(e,i)=>{const r=t;n[r(494)]=t=>e(t[r(373)]);try{await n[r(434)]()}catch(t){i(t)}})),a=(await s)[t(319)](0)[t(598)](4500);return Be.getHash(a)}async[Ae(426)](){const t=Ae;var e;const n=window.OfflineAudioContext||window[t(284)];if(!n)return{};const i=new n(1,5e3,44100),r=i.createOscillator();r[t(607)]=t(584),r[t(359)][t(619)]=1e4;const s=i[t(500)]();s[t(520)].value=-50,s.knee[t(619)]=40,s[t(478)].value=0;const a=i[t(613)]();r[t(473)](s),s[t(473)](a),s[t(473)](i[t(324)]),r[t(440)](0);try{await i.startRendering(),s[t(315)](),r[t(315)]();const n=new Float32Array(a.frequencyBinCount);null===(e=a[t(542)])||void 0===e||e[t(341)](a,n);const o=new Float32Array(a[t(351)]);return t(451)in a&&a[t(451)](o),{gain:s[t(545)].value||s[t(545)],freq:ze(n),time:ze(o)}}catch(t){return{}}}static[Ae(562)](t){const e=Ae;let n=0;for(let i=0;i<t[e(510)];++i)n+=Math[e(555)](t[i]);return n}[Ae(435)](){const t=Ae,e=[t(393),t(547),t(477)],n=["sans-serif-thin",t(590),t(462),t(470),"Arial Unicode MS",t(398),t(272),t(592),t(655),t(378),"Century","Century Gothic",t(549),t(394),"Franklin Gothic",t(564),t(389),t(270),t(633),"HELV",t(285),t(662),t(568),t(522),t(498),t(439),"Lucida Bright","Lucida Sans",t(554),t(629),"MS Outlook",t(599),t(436),t(658),t(647),t(488),"Meiryo UI",t(320),t(653),"Monotype Corsiva","PMingLiU","Pristina",t(438),"Segoe UI Light",t(626),t(424),t(376),t(566),t(296),t(582),t(565),t(281)],i=document[t(459)](t(271));i[t(526)][t(262)]="hidden";const r={},s={},a=e=>{const n=t,r=document[n(459)]("span"),{style:s}=r;return s.position=n(563),s[n(408)]="0",s[n(546)]="0",s[n(625)]=e,s[n(552)]=n(532),r[n(321)]="mmMwWLliI0O&1",i.appendChild(r),r},o=e.map(a),c=(()=>{const i=t,r={};for(const t of n)r[t]=e[i(297)]((e=>a("'"+t+"',"+e)));return r})();document.body[t(367)](i);try{for(let n=0;n<e[t(510)];n++)r[e[n]]=o[n][t(358)],s[e[n]]=o[n][t(268)];const i=n[t(480)]((n=>(n=>{const i=t;return e[i(496)](((t,e)=>n[e][i(358)]!==r[t]||n[e][i(268)]!==s[t]))})(c[n])));return Promise[t(586)](i)}finally{document[t(652)][t(295)](i)}}[Ae(519)](){const t=Ae,e=(new Date)[t(519)]();return Promise[t(586)](e)}[Ae(429)](){const t=Ae,e=navigator[t(534)];return Promise[t(586)](e)}[Ae(259)](){const t=Ae,e=navigator[t(332)];return Promise[t(586)](e)}[Ae(622)](){const t=Ae,e=navigator[t(352)];return Promise[t(586)](e)}[Ae(413)](){const t=Ae,e=navigator[t(627)];return Promise[t(586)](e)}getDocumentBasedKeys(){const t=Ae;return[t(405),t(623),t(529),t(472),t(642),t(432),"__driver_unwrapped",t(386),t(553),t(396),t(400)][t(480)]((t=>document[t]))}getTimezone(){const t=Ae,e=Intl[t(388)]().resolvedOptions().timeZone;return Promise[t(586)](e)}[Ae(334)](){const t=Ae,e=navigator[t(513)];return Promise[t(586)](e)}[Ae(518)](){const t=Ae,e=navigator[t(385)];return Promise[t(586)](e)}async getCanvasFingerprint(){const t=Ae,e=document[t(459)](t(474));e[t(425)]=1,e.height=1;const n=e[t(468)]("2d"),i={winding:function(t){const e=Le;return t[e(583)](0,0,10,10),t[e(583)](2,2,6,6),!t[e(430)](5,5,e(397))}(n),geometry:function(t,e){const n=Le;t.width=122,t[n(326)]=110,e[n(531)]="multiply";const i=[[n(527),40,40],[n(475),80,40],[n(286),60,80]];for(const[t,r,s]of i)e[n(561)]=t,e[n(448)](),e.arc(r,s,40,0,2*Math.PI,!0),e.closePath(),e[n(441)]();return e[n(561)]=n(338),e[n(577)](60,60,60,0,2*Math.PI,!0),e[n(577)](60,60,20,0,2*Math.PI,!0),e[n(441)](n(397)),Be.hashCodeString(t.toDataURL())}(e,n),text:function(t,e){const n=Le;t.width=240,t[n(326)]=60,e[n(660)]=n(357),e[n(561)]="#f60",e[n(630)](100,1,62,20),e.fillStyle=n(342),e.font=n(264);const i=n(487)+String[n(336)](55357,56835);return e[n(541)](i,2,15),e[n(561)]=n(648),e[n(318)]="18pt Arial",e[n(541)](i,4,45),Be[n(608)](t[n(597)]())}(e,n)};return Promise.resolve(i)}async[Ae(292)](){const t=Ae,e=await navigator[t(292)]();return{charging:e[t(499)],chargingTime:e[t(491)],dischargingTime:e[t(330)],level:e[t(645)]}}async[Ae(544)](){return!!navigator[Ae(305)]&&await navigator.brave.isBrave()}async[Ae(380)](){const t=Ae,e=document[t(459)](t(474)),n=e[t(468)](t(331))||e[t(468)](t(551)),i=n[t(409)](t(294));return Promise[t(586)](n[t(624)](i.UNMASKED_RENDERER_WEBGL))}async getCodesTests(){const t=Ae,e=document[t(459)]("video"),n={basic:""===e[t(422)](t(484)),advanced:""===e[t(422)](t(540))};return Promise.resolve(n)}async getCryptoBindingData(){const t=Ae,{publicKey:e,keyIdentifier:n,errors:i}=await this[t(605)][t(457)](),r={publicKey:e,keyIdentifier:n};return(null==i?void 0:i[0])&&(r[t(322)]=i[0]),r}static[Ae(573)](){const t=Ae;return/iPhone|iPad|iPod|Android|MiuiBrowser/i[t(442)](navigator.userAgent)||null!=window[t(595)]||window[t(600)](t(368)).matches}}function Fe(){const t=["EVENT_TYPE_DEVICE","mobile_web","6cDLfHS","11uaVPnO","3550132RGhqnR","1871srpnvo","desktop_web","action_result","5940641gnvDis","1341180adpSJE","EVENT_TYPE_INTERACTION","550XJYIli","160GiWmbe","device","EVENT_TYPE_IDENTIFICATION","2715496DGcvHX","EVENT_TYPE_ACTION","337014WObVQd","3nBftbr","action","4134430xDszYX","identification","EVENT_TYPE_ACTION_RESULT"];return(Fe=function(){return t})()}const Ke=je;var Ze;!function(){const t=je,e=Fe();for(;;)try{if(499165==-parseInt(t(300))/1*(parseInt(t(306))/2)+parseInt(t(313))/3*(parseInt(t(299))/4)+-parseInt(t(292))/5*(-parseInt(t(297))/6)+-parseInt(t(303))/7+-parseInt(t(310))/8+parseInt(t(312))/9*(parseInt(t(307))/10)+parseInt(t(298))/11*(-parseInt(t(304))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=je;t[e(311)]=e(291),t[e(295)]=e(308),t[e(305)]="interaction",t[e(309)]=e(293),t[e(294)]=e(302)}(Ze||(Ze={}));const He=Ke(301);function je(t,e){return t-=291,Fe()[t]}const Ve=Ke(296),Ye=We;function Ge(){const t=["shouldUpdateConf","keys","fetchConf","&type=","isMobile","1143804GnbZhu","loadConf","3992886vmctCm","1111yQihsm","parse","requestsManager","10166220cpkCnm","getConfValue","now","length","1879976MCzHdf","8JJfUNT","conf","6loNrdt","getItemLocalStorageSafe","34eYFmkf","33318aJCsmE","getData","8CPkazE","91880ukGKNS","3094205SbKviq","error fetching config","error","timestamp"];return(Ge=function(){return t})()}function We(t,e){return t-=407,Ge()[t]}!function(){const t=We,e=Ge();for(;;)try{if(559082==parseInt(t(415))/1*(-parseInt(t(416))/2)+-parseInt(t(429))/3*(-parseInt(t(418))/4)+-parseInt(t(420))/5*(-parseInt(t(413))/6)+parseInt(t(410))/7+-parseInt(t(411))/8*(parseInt(t(431))/9)+-parseInt(t(419))/10*(parseInt(t(432))/11)+parseInt(t(435))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Je=Ye(423);class Xe{constructor(t,e){const n=Ye;this.storageManager=t,this[n(434)]=e,this[n(412)]=this[n(430)]()}async[Ye(426)](t){const e=Ye;try{const n=Be[e(428)]()?Ve:He,i="device/conf?tenantId="+t+e(427)+n,r=await this.requestsManager[e(417)](i);return null!=r?r:{}}catch(n){return Se[e(422)](e(421),{clientId:t,error:n}),{}}}[Ye(430)](){const t=Ye,e=this.storageManager[t(414)]("ric");if(null!=e)try{return JSON[t(433)](e)}catch(e){Se[t(422)]("error loading config",{error:e})}return{}}shouldUpdateConf(){const t=Ye,e=this[t(407)](Je,0);return Date[t(408)]()-e>36e5}async refreshConf(t){const e=Ye;if(!this[e(424)]())return!1;let n=await this[e(426)](t);return 0==Object[e(425)](n)[e(409)]?n=this[e(430)]():this.storageManager.setItemLocalStorageSafe("ric",JSON.stringify(n)),this[e(412)]=n,!0}getConfValue(t,e){const n=Ye,i=void 0!==this[n(412)]?this[n(412)][t]:void 0;return null!=i?i:e}}const qe=$e;function Qe(){const t=["8KRKlKv","timeOrigin","padStart","join","length","3430311JBLtDq","splice","20wruhvb","getEventHighResTimestamp","timeStamp","fromCharCode","1236216aLnbsI","replace","base64UrlEncode","base64ToBase64Url","toString","slice","11596491ZaQEkr","967080BAFoew","push","undefined","encode","function","1385916bmYPsl","999739cHjRix","2739804POXoTG","now","randomUUID"];return(Qe=function(){return t})()}function $e(t,e){return t-=112,Qe()[t]}!function(){const t=$e,e=Qe();for(;;)try{if(602466==parseInt(t(116))/1+-parseInt(t(138))/2+-parseInt(t(125))/3+-parseInt(t(117))/4+-parseInt(t(127))/5*(-parseInt(t(131))/6)+-parseInt(t(115))/7+parseInt(t(120))/8*(parseInt(t(137))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tn{static maintainLastXItems(t,e,n){const i=$e;return t.length>=e&&t[i(126)](0,1),t[i(139)](n),t}static[qe(128)](t){const e=qe;var n,i;return(null!==(n=performance[e(121)])&&void 0!==n?n:Date[e(118)]()-performance.now())+(null!==(i=null==t?void 0:t[e(129)])&&void 0!==i?i:performance[e(118)]())}static[qe(133)](t){const e=qe,n=(new TextEncoder)[e(113)](t),i=String[e(130)](...n);return btoa(i)[e(132)](/\+/g,"-").replace(/\//g,"_")[e(132)](/=/g,"")}static[qe(134)](t){const e=qe;return t[e(132)](/\+/g,"-").replace(/\//g,"_")[e(132)](/=/g,"")}static randomUUID(){const t=qe;if(typeof crypto!==t(112)&&typeof crypto[t(119)]===t(114))return crypto[t(119)]();const e=new Uint8Array(16);if(typeof crypto!==t(112)&&typeof crypto.getRandomValues===t(114))crypto.getRandomValues(e);else for(let n=0;n<e[t(124)];n++)e[n]=Math.floor(256*Math.random());e[6]=15&e[6]|64,e[8]=63&e[8]|128;const n=[];for(let i=0;i<e[t(124)];i++)n.push(e[i][t(135)](16)[t(122)](2,"0"));return n[t(136)](0,4)[t(123)]("")+"-"+n[t(136)](4,6)[t(123)]("")+"-"+n[t(136)](6,8)[t(123)]("")+"-"+n.slice(8,10)[t(123)]("")+"-"+n[t(136)](10,16)[t(123)]("")}}const en=hn;!function(){const t=hn,e=on();for(;;)try{if(385335==parseInt(t(145))/1+parseInt(t(152))/2+parseInt(t(150))/3*(parseInt(t(129))/4)+parseInt(t(127))/5+parseInt(t(147))/6+-parseInt(t(162))/7*(parseInt(t(141))/8)+-parseInt(t(132))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nn{constructor(t){this[hn(143)]=[],this.buffer=t}[en(161)](t){const e=en,n=this[e(155)](t);tn[e(140)](this[e(143)],this.buffer,n)}[en(158)](){return this[en(143)]}[en(155)](t){const e=en;return r({x:t.x,y:t.y,tspl:Date[e(138)]()},this.extractButtonsPressedData(t))}[en(144)](t){const e=en;return r(r(r(r({},t[e(139)]&&{ctrlKey:!0}),t[e(125)]&&{altKey:!0}),t[e(146)]&&{shiftKey:!0}),0!=t[e(154)]&&{buttons:t[e(154)]})}}class rn{constructor(t){this.data=[],this.bufferSize=t}[en(161)](t){const e=en,n=tn[e(136)](t);if(typeof t[e(137)]===e(151)){const i=t[e(137)]();if(i&&i[e(159)]>0)return void i.forEach((t=>{const i=e,r=this[i(155)](t,n,!0);tn[i(140)](this.data,this[i(134)],r)}))}const i=this[e(155)](t,n,!1);tn[e(140)](this[e(143)],this.bufferSize,i)}getData(){return this.data}[en(155)](t,e,n){const i=en,s=r({x:t.x,y:t.y,timestampHighRes:tn.getEventHighResTimestamp(t)},this[i(144)](t));return n&&(s.parentId=e),s}extractButtonsPressedData(t){const e=en;return r(r(r(r({},t.ctrlKey&&{ctrlKey:!0}),t[e(125)]&&{altKey:!0}),t[e(146)]&&{shiftKey:!0}),0!=t[e(154)]&&{buttons:t[e(154)]})}}class sn{constructor(t){const e=en;this[e(143)]=[],this[e(130)]=t}[en(161)](t){const e=en;var n;const i={x:t.x,y:t.y,timestamp:Date[e(138)](),mouseButtonType:t.detail,offsetX:t[e(142)],offsetY:t[e(133)],isPressed:null==(null===(n=t.sourceCapabilities)||void 0===n?void 0:n[e(149)])?null:!t[e(157)][e(149)],target_id:t[e(153)].id};tn.maintainLastXItems(this.data,this[e(130)],i)}[en(158)](){const t=en,e=[...this[t(143)]];return this[t(143)]=[],e}}class an{constructor(t){const e=en;this[e(143)]=[],this[e(134)]=t}[en(161)](t){const e=en;var n;const i={isTrusted:t.isTrusted,cancelable:t[e(128)],composed:t[e(160)],isView:!!t[e(131)],shiftKey:t[e(146)],metaKey:t[e(156)],ctrlKey:t[e(139)],altKey:t[e(125)],firesTouchEvents:null===(n=t.sourceCapabilities)||void 0===n?void 0:n[e(149)],timestamp:Date.now()};tn[e(140)](this[e(143)],this[e(134)],i)}[en(158)](){const t=[...this[en(143)]];return this.data=[],t}}function on(){const t=["isTrusted","getEventHighResTimestamp","getCoalescedEvents","now","ctrlKey","maintainLastXItems","8vTXsHp","offsetX","data","extractButtonsPressedData","166440qnNVyo","shiftKey","1810728rbObWO","location","firesTouchEvents","1158PEkrig","function","215592smxMia","target","buttons","extractEventData","metaKey","sourceCapabilities","getData","length","composed","collect","1018843dRsyVo","altKey","inputType","3235900GXaZLZ","cancelable","5696sQUabe","buffer","view","11177856Oxjuwo","offsetY","bufferSize"];return(on=function(){return t})()}class cn{constructor(t){const e=en;this.data=[],this[e(134)]=t}[en(161)](t){const e=en;var n;const i={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],isView:!!t.view,location:t[e(148)],shiftKey:t[e(146)],ctrlKey:t[e(139)],altKey:t[e(125)],firesTouchEvents:null===(n=t[e(157)])||void 0===n?void 0:n.firesTouchEvents,timestamp:Date[e(138)]()};tn[e(140)](this[e(143)],this[e(134)],i)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}class ln{constructor(t){const e=en;this[e(143)]=[],this[e(134)]=t}collect(t){const e=en,n={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],inputType:t[e(126)],isView:!!t[e(131)],timestamp:Date[e(138)]()};tn[e(140)](this[e(143)],this.bufferSize,n)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}function hn(t,e){return t-=125,on()[t]}class dn{constructor(t){this[en(143)]=[],this.bufferSize=t}[en(161)](t){const e=en,n={isTrusted:t[e(135)],cancelable:t[e(128)],composed:t[e(160)],timestamp:Date[e(138)]()};tn[e(140)](this.data,this[e(134)],n)}[en(158)](){const t=en,e=this[t(143)];return this[t(143)]=[],e}}const un=Rn;!function(){const t=Rn,e=Nn();for(;;)try{if(537636==-parseInt(t(221))/1+-parseInt(t(234))/2+-parseInt(t(224))/3+-parseInt(t(228))/4+-parseInt(t(208))/5+-parseInt(t(212))/6*(-parseInt(t(192))/7)+parseInt(t(229))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const gn=un(200),pn=un(248),fn=un(247),_n="mousemove",vn=un(253),wn=un(217),mn=un(219),yn="submit",bn=un(210),In=un(191),En=un(238),Sn=un(227),Tn=un(235),kn="blur",Dn=un(232),Mn="pagehide",Cn=un(194),An=un(222),Pn=[un(218),un(197),un(216)],xn=un(246),Ln=un(190);class On{constructor(t,e,n,i,s){const a=un;this.storageManager=i,this[a(207)]=t,this[a(239)]=e,this[a(255)]=n,this[a(211)]=s,this[a(223)]=this[a(213)](),this.interactionEventsCollectorsData={[pn]:{eventTypesToAttach:[this[a(223)],wn,mn],attributesMapper:t=>{const e=a;var n;return{x:t.x,y:t.y,mouseButtonType:t[e(202)],isPressed:null==(null===(n=t[e(244)])||void 0===n?void 0:n[e(251)])?null:!t[e(244)][e(251)],offsetX:t[e(245)],offsetY:t[e(225)],target_id:t[e(261)].id}}},[fn]:{attributesMapper:t=>{const e=a;return{target_id:t[e(261)].id,isTrusted:t[e(258)],cancelable:t.cancelable,composed:t[e(201)],dropEffect:t[e(231)][e(242)],effectAllowed:t[e(231)][e(189)]}}},[yn]:{attributesMapper:t=>({target_id:t.target.id})},[_n]:{continousCollectors:[new nn(this[a(239)])]},[vn]:{continousCollectors:[new rn(this.mouseEventsCollectionBuffer)]},[wn]:{continousCollectors:[new sn(1)]},[mn]:{continousCollectors:[new sn(1)]},[Sn]:{eventTypesToAttach:[En,bn,In,gn],filter:this.inputTypeFilter,attributesMapper:t=>{const e=a,{target:n,isTrusted:i,cancelable:s,composed:o}=t;return r({target_id:n.id,dataset_keys:Object[e(262)](n[e(188)]||{}),isTrusted:i,cancelable:s,composed:o},navigator[e(196)]&&{navigator_virtualKeyboard:navigator[e(196)][e(252)]})}},[En]:{filter:this.inputTypeFilter,continousCollectors:[new ln(50)]},[bn]:{filter:this[a(209)],continousCollectors:[new cn(50)]},[In]:{filter:this[a(209)],continousCollectors:[new an(50)]},[gn]:{continousCollectors:[new dn(50)]},[Tn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t),target_id:null===(n=t[e(261)])||void 0===n?void 0:n.id}}},[kn]:{attributesMapper:t=>{const e=a;var n;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t),target_id:null===(n=t[e(261)])||void 0===n?void 0:n.id}}},[Dn]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t)}}},[Mn]:{attributesMapper:t=>{const e=a;return{visibilityState:document.visibilityState,hasFocus:document[e(199)](),timestampHighRes:tn.getEventHighResTimestamp(t)}}},[Cn]:{attributesMapper:t=>{const e=a;return{visibilityState:document[e(237)],hasFocus:document[e(199)](),timestampHighRes:tn[e(233)](t)}}}}}[un(213)](){return"undefined"!=typeof window&&window.PointerEvent?this.selectMoveEventTypeBasedOnRollout():_n}[un(254)](){const t=un,e=this[t(259)][t(214)](xn);if((null!=e?Number(e):null)!==this[t(211)]){const e=Math[t(226)]()<this[t(211)]/100?vn:_n;return this[t(206)](e),e}return this[t(260)]()}persistRolloutAndMoveEventTypeSelections(t){const e=un;this[e(259)][e(220)](xn,this.pointerMoveRolloutPercentage),this.storageManager[e(220)](Ln,t)}[un(260)](){const t=un,e=this[t(259)][t(214)](Ln);return(n=e)===vn||n===_n?e:_n;var n}[un(209)](t){const e=un;var n;const i=null===(n=t[e(261)])||void 0===n?void 0:n.tagName;return Pn[e(257)](i)}[un(198)](){const t=un;for(const[e,n]of Object[t(249)](this[t(240)]))if(!this[t(207)][t(257)](e)&&!(e===_n&&this.moveEventType===vn||e===vn&&this[t(223)]===_n))try{this.addSafeInteractionListener(e,n)}catch(n){Se[t(256)](t(195),{error:n,eventType:e})}}[un(241)](t,e){const n=un;return!t.filter||t[n(241)](e)}async[un(243)](t,e,n){const i=un,{attributesMapper:s,continousCollectors:a}=t;if(!this.filter(t,e))return!1;if(a)a.forEach((t=>{t[Rn(205)](e)}));else{const t=this[i(250)](),a=this[i(230)](n),o=r(r(r({},t),s(e)),a&&{attachedEventsData:a});await this[i(255)](n,o)}return!0}addSafeInteractionListener(t,e){const n=un;window[n(236)](t,(async i=>{const r=n;try{await this[r(243)](e,i,t)}catch(t){Se.error(r(203),{error:t})}}),t===Tn||t===kn)}getAttachedData(t){const e=un;let n;const i=this.interactionEventsCollectorsData[t][e(215)];return i&&(n={},i[e(193)]((t=>{const i=e,{continousCollectors:r}=this[i(240)][t];if(r){const e=t===vn?An:t;r[i(193)]((t=>n[e]=t.getData()))}}))),n}[un(250)](){return{location:window[un(204)].href}}}function Rn(t,e){return t-=188,Nn()[t]}function Nn(){const t=["TEXTAREA","mouseup","INPUT","mousedown","setItemLocalStorageSafe","512112ORFxFD","pointerevents","moveEventType","2127423dkFOuM","offsetY","random","focusout","1125476kXktEA","26907088jEAsdF","getAttachedData","clipboardData","visibilitychange","getEventHighResTimestamp","800124hQRToc","focus","addEventListener","visibilityState","input","mouseEventsCollectionBuffer","interactionEventsCollectorsData","filter","dropEffect","handleEvent","sourceCapabilities","offsetX","pecrp","paste","click","entries","getGenericAttributes","firesTouchEvents","overlaysContent","pointermove","selectMoveEventTypeBasedOnRollout","safeEventCallback","error","includes","isTrusted","storageManager","getStoredMoveEventType","target","keys","dataset","effectAllowed","cmet","keydown","45122IXYNPQ","forEach","pageshow","Error while adding listener","virtualKeyboard","SELECT","registerEventListeners","hasFocus","change","composed","detail","error adding interaction listener","location","collect","persistRolloutAndMoveEventTypeSelections","deviceEventDataCollectionIgnoreList","5356620YQuqyU","inputTypeFilter","keyup","pointerMoveRolloutPercentage","138lSCtlT","detectMoveEventType","getItemLocalStorageSafe","eventTypesToAttach"];return(Nn=function(){return t})()}function zn(){var t=["2ESAaBz","DENY","1657601DXETwQ","31401744gaXSvT","30vGEUao","uncompressed","1565130CCWvAl","4XNTkEc","4489767wbogSP","5eMdrxO","compress","2056803ujdbQq","TRUST","CHALLENGE","4378776MIImrT","8toVaZC","438749qyGXcJ","ALLOW"];return(zn=function(){return t})()}function Un(t,e){return t-=319,zn()[t]}var Bn,Fn,Kn,Zn,Hn,jn;!function(){for(var t=Un,e=zn();;)try{if(411860==-parseInt(t(328))/1*(-parseInt(t(330))/2)+-parseInt(t(323))/3*(-parseInt(t(319))/4)+parseInt(t(321))/5*(parseInt(t(326))/6)+parseInt(t(336))/7+parseInt(t(327))/8*(parseInt(t(320))/9)+parseInt(t(334))/10*(parseInt(t(332))/11)+-parseInt(t(333))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(Fn=Bn||(Bn={}))[(Kn=Un)(322)]="compressed",Fn[Kn(335)]=Kn(335),(Hn=Zn||(Zn={}))[(jn=Un)(329)]=jn(329),Hn[jn(325)]=jn(325),Hn[jn(331)]="DENY",Hn[jn(324)]=jn(324);const Vn=Yn;function Yn(t,e){return t-=437,Wn()[t]}!function(){const t=Yn,e=Wn();for(;;)try{if(408338==parseInt(t(444))/1*(parseInt(t(462))/2)+-parseInt(t(437))/3+parseInt(t(470))/4+parseInt(t(456))/5*(parseInt(t(443))/6)+-parseInt(t(445))/7*(-parseInt(t(440))/8)+-parseInt(t(450))/9*(-parseInt(t(439))/10)+-parseInt(t(467))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gn{constructor(t){this[Yn(448)]=t}[Vn(460)](){const t=Vn;return window[t(438)][t(454)][t(452)]({name:t(468),length:256},!0,[t(453),"decrypt"])}async encryptPayload(t,e){const n=Vn,i="string"==typeof t?(new TextEncoder).encode(t):t,r=window[n(438)][n(451)](new Uint8Array(12)),s={name:n(468),iv:r},a=await window[n(438)][n(454)][n(453)](s,e,i);return{payloadCipherText:this[n(441)](a),iv:r}}async[Vn(469)](t,e,n){const i=Vn,r=await window[i(438)][i(454)][i(471)](i(446),t),s=this[i(441)](r),a=this.arrayBufferToBase64(e),o=(new TextEncoder)[i(442)](JSON[i(466)]({symKey:s,iv:a})),c=await window[i(438)].subtle[i(453)]({name:i(464)},n,o);return this.arrayBufferToBase64(c)}arrayBufferToBase64(t){const e=Vn;let n="";const i=new Uint8Array(t),r=i[e(459)];for(let t=0;t<r;t++)n+=String[e(447)](i[t]);return window[e(461)](n)}[Vn(458)](t){const e=Vn;return window.crypto[e(454)][e(463)](e(457),JSON[e(465)](t),{name:"RSA-OAEP",hash:e(455)},!0,[e(453)])}async encrypt(t,e){const n=Vn;if(!window.crypto||!window.crypto[n(454)])throw new Error("crypto is not supported");const i=await this[n(460)](),{payloadCipherText:r,iv:s}=await this[n(449)](e,i),a=await this.importPublicKey(t);return{encryptedData:r,encryptedKey:await this[n(469)](i,s,a)}}}function Wn(){const t=["95544aaoCBv","exportKey","2134992zVbTgr","crypto","10vlflNG","46024TJvYfZ","arrayBufferToBase64","encode","108gHnmGD","479EUqHNg","224ixTSEU","raw","fromCharCode","configManager","encryptPayload","3898683vAEkAm","getRandomValues","generateKey","encrypt","subtle","SHA-256","78005WnyVMk","jwk","importPublicKey","byteLength","generateSymKey","btoa","2102KsELrX","importKey","RSA-OAEP","parse","stringify","3359554bDZuRf","AES-GCM","encryptSymKeyBundle"];return(Wn=function(){return t})()}var Jn,Xn,qn,Qn=ti;function $n(){var t=["error","client","9LKGvro","5902464LPWGNE","toString","6329128wLPKmO","SDKError: ","1798008MqMbxD","errorCode","SERVER","826834jHidui","message","797697KLMvIx","3seGUxL","name","6617260evEqzr","12612586iYBxPz",", errorCode: ","toLog","communication","errorSpace"];return($n=function(){return t})()}function ti(t,e){return t-=428,$n()[t]}!function(){for(var t=ti,e=$n();;)try{if(943105==parseInt(t(437))/1+parseInt(t(435))/2*(-parseInt(t(438))/3)+-parseInt(t(428))/4+parseInt(t(440))/5+-parseInt(t(432))/6+parseInt(t(441))/7+-parseInt(t(430))/8*(parseInt(t(448))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),qn=ti,(Xn=Jn||(Jn={})).CLIENT=qn(447),Xn[qn(434)]="server",Xn.COMMUNICATION=qn(444);class ei extends Error{constructor(t,e,n){var i,r,s=ti;super(),this[s(446)]=t,this[s(445)]=e,this[s(433)]=n,this[s(436)]=(null===(i=this[s(446)])||void 0===i?void 0:i[s(436)])||this[s(446)][s(429)](),this.name=(null===(r=this[s(446)])||void 0===r?void 0:r[s(439)])||ei[s(439)]}[Qn(429)](){var t=Qn;return t(431)+this[t(436)]+(this.errorSpace?", errorSpace: "+this[t(445)]:"")+(this.errorCode?t(442)+this[t(433)]:"")}[Qn(443)](){var t=Qn;return r(r({name:this[t(439)],message:this.message},this[t(445)]&&{errorSpace:this[t(445)]}),this[t(433)]&&{errorCode:this[t(433)]})}}function ni(t,e){return t-=240,ii()[t]}function ii(){const t=["389872DBtylM","526458cobhfc","join","2ggRaVc","783540jzAZEM","15AhDHXB","3170817wUJUtn","7OOQypF","1481880FoBjfL","1166392XPavXy","5510270TWmzCK","filter"];return(ii=function(){return t})()}!function(){const t=ni,e=ii();for(;;)try{if(213730==-parseInt(t(241))/1*(parseInt(t(250))/2)+-parseInt(t(242))/3+parseInt(t(246))/4+-parseInt(t(243))/5*(parseInt(t(251))/6)+parseInt(t(245))/7*(-parseInt(t(247))/8)+parseInt(t(244))/9+parseInt(t(248))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ri=ai;function si(){const t=["setItemLocalStorageSafe","error","desktop_web","type","ddls","[Lightweight] Event queue cleared","attributes","userId","interactionEventsManager","catch","pollingSessionToken","handleRotateResponse","sdkPlatform","ACTION_TOKEN_CACHE_MAX_SIZE","min","refreshConf","publicKey","keys","[Lightweight] Building fresh device payload","shouldSendDeviceEvent","EVENT_TYPE_INTERACTION","Failed to parse events from localStorage","deviceEventDataCollectionIgnoreList","signature","enrichUADataIfDoesNotExist","headers","getTabId","pollingInterval","Failed to compress data, sending the data to the service uncompressed","cleanupSentEvents","configManager","getClientId","href","addEventToLocalStorage","eventIdMap","sessionToken","storageManager","postData","isTokenExpired","index","parse","correlationId","maxLocalStoredEvents","history","standard","setSessionToken","COMMUNICATION","name","sort","EVENT_TYPE_DEVICE","info","identityManager","8300124AEfHhb","location","enableSessionToken","map","has","toLog","no need to send device event","platform","eventIndex","page_load","popAllEvents","pendingQueueEnabled","getItemLocalStorageSafe","Crypto-binding is not supported. ","CLIENT","ACTION_TOKEN_CACHE_TTL","eventTypesToStore","emitEvent","getDeviceId","1784hcYzsb","244CBkXoj","flushTimeoutHandle","Returning cached action token","bufferSize","1231612tjYPoh","cacheActionToken","maintainLastXItems","processingEvents","registerEventListeners","size","compressData","Error while emitting event (delayed flush)","flush","find","keyIdentifier","delete","lightweight","device/events","bufferInterval","deviceDataManager","EVENT_TYPE_ACTION","mouseEventsCollectionBuffer","compress","getDeviceData","requestsManager","1290456CprTlA","tier","get","now","actionTokenCache","generateEventIdentifier","cleanLocalStorageEvents","mobile_web","setUserId","key_rotation_status","crypto","deviceId","53397IRTpVQ","getUserId","getCachedActionToken","encrypt","actionToken","key_rotation_data","maxEventStored","cryptoBinding","serverPath","clientId","timestamp","isMobile","toString","EVENT_TYPE_IDENTIFICATION","[Lightweight] Failed to collect device data","setDeviceId","publicKeyId","fetchEventsFromLocalStorage","[Lightweight] clearQueue() called in standard mode - ignoring","getActionEventCacheKey","action_type","EVENT_TYPE_ACTION_RESULT","errorCode","increaseEventIndex","push","extractWindowRespurces","3494780yYxoWN","sdkVersion","149391inkbaA","enablePendingQueue","forEach","flushLock","set","removeItemLocalStorageSafe","safeEventCallback","Encryption error - missing public key","getRotationData","value","buildEncryptedRequestBody","includes","eventsQueue","refreshSessionToken","navigatorHighEntropyData","length","sendDeviceDataEvent","add","warn","sendPageLoadEvent","pop","5173497DrkVMm","getConfValue"];return(si=function(){return t})()}function ai(t,e){return t-=234,si()[t]}!function(){const t=ai,e=si();for(;;)try{if(764249==-parseInt(t(348))/1+-parseInt(t(327))/2+parseInt(t(360))/3*(-parseInt(t(323))/4)+parseInt(t(386))/5+-parseInt(t(303))/6+parseInt(t(249))/7+parseInt(t(322))/8*(parseInt(t(388))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const oi=ri(255),ci="lastDeviceInDeviceEvent",li="lse",hi=ri(344),di=ri(273),ui=ri(267),gi=ri(326),pi=ri(341),fi=[Ze[ri(343)],Ze[ri(373)],Ze[ri(300)],Ze[ri(381)]],_i=[Ze.EVENT_TYPE_ACTION,Ze[ri(373)]],vi=ri(293),wi=ri(365),mi=ri(357);class yi{get[ri(314)](){const t=ri;return this.configManager[t(250)](t(389),!1)}constructor(t,e,n,i,s,a,o,c){let l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ri(295);const h=ri;this[h(281)]=t,this[h(287)]=e,this[h(342)]=n,this[h(347)]=i,this[h(302)]=s,this.cryptoBinding=a,this[h(368)]=o,this[h(305)]=c,this[h(349)]=l,this[h(311)]=null,this[h(285)]=new WeakMap,this[h(391)]=!1,this[h(330)]=new Map,this[h(352)]=new Map,this.ACTION_TOKEN_CACHE_TTL=36e5,this.ACTION_TOKEN_CACHE_MAX_SIZE=100,this[h(324)]=null,this[h(234)]=async(t,e)=>{const n=h;try{const i=r({},r({interaction_type:t},e)),s={type:Ze[n(271)],attributes:i};return await this[n(320)](s)}catch(t){}},this[h(305)]=c,this.eventsQueue=[],this[h(358)]=new Gn(t),this[h(259)]=new On(this[h(281)][h(250)](di,[]),this[h(281)][h(250)](hi,100),this.safeEventCallback,this[h(287)],this[h(281)][h(250)]("pointerEventRolloutPercentage",0)),this[h(371)]=Be[h(371)](),this[h(319)]=this.configManager.getConfValue("localStoredEventTypes",[Ze[h(343)],Ze[h(300)]]),this[h(366)]=this.configManager[h(250)](vi,4),this.pollingInterval=36e4,this.tier!==h(339)&&this.pollingSessionToken()}generateEventIdentifier(t){const e=ri;var n;if(this[e(285)][e(307)](t))return this[e(285)][e(350)](t);const i=function(t,e,n,i,r,s,a){const o=ni;return[t,e,n,i,r,void 0!==s?s:"",a||""][o(249)]((t=>""!==t))[o(240)]("-")}(t[e(254)]||"",this[e(302)][e(282)](),this.identityManager[e(321)]()||"",this.identityManager[e(361)]()||"",t[e(370)],t[e(290)],null===(n=t.attributes)||void 0===n?void 0:n[e(380)]);return this[e(285)].set(t,i),i}[ri(379)](t){const e=ri;var n;return((null==t?void 0:t.type)||"")+"-"+(this[e(302)].getClientId()||"")+"-"+(this[e(302)][e(321)]()||"")+"-"+((null==t?void 0:t[e(258)])||this[e(302)][e(361)]()||"")+"-"+((null==t?void 0:t[e(370)])||"")+"-"+((null==t?void 0:t.index)||"")+"-"+((null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n[e(380)])||(null==t?void 0:t.correlationId)||"")}[ri(362)](t){const e=ri;if(!_i.includes(null==t?void 0:t[e(254)]))return null;const n=this[e(379)](t),i=this.actionTokenCache[e(350)](n);return i?Date[e(351)]()-i[e(370)]>this[e(318)]?(this[e(352)][e(338)](n),null):i.token:null}[ri(328)](t,e){const n=ri;if(!_i[n(239)](null==t?void 0:t[n(254)])||!e)return;if(this[n(352)][n(332)]>=this[n(264)]){const t=this[n(352)][n(268)]().next()[n(237)];this[n(352)][n(338)](t)}const i=this[n(379)](t);this[n(352)][n(392)](i,{token:e,timestamp:Date[n(351)]()})}async[ri(320)](t){const e=ri;if(this[e(314)]&&_i[e(239)](null==t?void 0:t[e(254)])){const n=this[e(362)](t);if(n)return Se[e(301)](e(325),{actionType:t.type,correlationId:t[e(292)]}),{actionToken:n}}t[e(290)]=this[e(383)](),t[e(304)]=location[e(372)](),t[e(310)]=navigator[e(310)],t[e(387)]="2.5.1",t[e(368)]=this[e(368)],t.tabId=this.identityManager[e(277)](),t[e(370)]=Date[e(351)](),await this.enrichUADataIfDoesNotExist(t);let n=0;if(this[e(319)][e(239)](t.type)?n=this[e(284)](t):this[e(240)][e(384)](t),this[e(349)]===e(339))return{};const i=this[e(281)][e(250)](gi,2);if(this[e(240)][e(243)]+n>=i||fi.includes(t[e(254)])){this[e(324)]&&(clearTimeout(this[e(324)]),this[e(324)]=null);try{return await this[e(335)]()}catch(n){throw Se[e(252)]("Error while emitting event",{clientId:this.identityManager[e(282)](),eventType:t.type,error:n[e(382)]?n[e(308)]():n}),n}}if(!this[e(324)]&&this.eventsQueue[e(243)]>0){const n=this.configManager[e(250)](pi,2),i=Math[e(265)](n,30);this[e(324)]=setTimeout((()=>{const n=e;this[n(324)]=null,this[n(335)]()[n(260)]((e=>{const i=n;Se[i(252)](i(334),{clientId:this[i(302)].getClientId(),eventType:t[i(254)],error:e.errorCode?e[i(308)]():e})}))}),1e3*i)}return{}}async[ri(241)](){const t=ri;try{return this[t(240)][t(243)]>0?await this.flush():(await this.sendDeviceDataEvent(!0),await this[t(335)]())}catch(e){Se[t(252)]("Failed to refresh data",{e:e})}}async[ri(261)](){const t=ri;try{this.identityManager[t(289)]()&&await this.refreshSessionToken()}catch(e){Se[t(252)]("Failed to polling data",{e:e})}finally{setTimeout((async()=>{const e=t;await this[e(261)]()}),this[t(278)])}}async[ri(275)](t){const e=ri;var n;if(!(null===(n=t[e(257)])||void 0===n?void 0:n[e(242)]))try{t.attributes[e(242)]=await Me()}catch(t){}}[ri(313)](){const t=ri;if(this[t(314)]){const e=[],n=new Set;for(;this[t(240)][t(243)];){const i=this[t(240)][t(248)]();if(!i)break;const r=this[t(353)](i);this[t(330)][t(307)](r)||!n.has(r)&&(n[t(245)](r),e[t(384)](i))}const i=this[t(377)]();return(null==i?void 0:i[t(243)])&&i[t(390)]((i=>{const r=t,s=this[r(353)](i);this[r(330)][r(307)](s)||!n[r(307)](s)&&(n[r(245)](s),e[r(384)](i))})),e[t(299)](((e,n)=>e[t(370)]-n[t(370)]))}{const e=[],n=this[t(377)]();for(;this[t(240)][t(243)];){const n=this[t(240)][t(248)]();if(!n)break;e[t(384)](n)}return(null==n?void 0:n[t(243)])&&e.push(...n),e.sort(((e,n)=>e[t(370)]-n[t(370)]))}}async[ri(335)](){const t=ri;let e=[];if(this.pendingQueueEnabled){for(;this.flushLock;)await new Promise((t=>setTimeout(t,10)));this[t(391)]=!0;try{if(e=this[t(313)](),0===e[t(243)])return{};e[t(390)]((e=>{const n=t,i=this[n(353)](e);this[n(330)][n(392)](i,e)}))}finally{this[t(391)]=!1}}else if(e=this.popAllEvents(),0===e.length)return{};const n={};n[t(369)]=this[t(302)][t(282)](),n[t(359)]=this[t(302)][t(321)](),n[t(258)]=this.identityManager[t(361)](),n[t(263)]=this[t(371)]?Ve:He,n.events=e;try{const{keyIdentifier:e,publicKeyId:i}=await this.cryptoBinding.getPublicData();n[t(337)]=e,n[t(376)]=i}catch(e){Se[t(246)](t(316)+e)}this.enableSessionToken&&(n[t(286)]=!0);try{const i=await this.buildEncryptedRequestBody(n,!0),s=await this.cryptoBinding[t(236)]();let a;s&&(a=[{type:wi,data:s.data,signature:s[t(274)]}]);const o=await this.requestsManager[t(288)](t(340),r(r({},i),a?{headers:a}:{}));if(o[t(276)]){const e=o[t(276)][t(336)]((e=>e[t(254)]===mi));e&&e[t(237)]&&this[t(367)][t(262)](e[t(237)])}return o.deviceId&&this.identityManager[t(375)](o.deviceId),o[t(286)]&&this[t(302)][t(296)](o[t(286)]),o.userId&&this[t(302)][t(356)](o.userId),this[t(314)]?(e[t(390)]((e=>{const n=t;_i[n(239)](e.type)&&o[n(364)]&&this[n(328)](e,o.actionToken)})),this[t(280)](e),e[t(390)]((e=>{const n=t,i=this[n(353)](e);this[n(330)][n(338)](i)}))):this[t(354)](),o}catch(n){throw this[t(314)]&&e[t(390)]((e=>{const n=t,i=this.generateEventIdentifier(e);this[n(330)][n(338)](i)})),n}}async[ri(238)](t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=ri,i=this[n(281)][n(250)](ui,null);if(null===i&&e)return await this.configManager[n(266)](this.identityManager[n(282)]()),await this[n(238)](t);if(null===i)throw new ei(new Error(n(235)),Jn[n(297)]);try{const e=JSON.stringify(t),r=this[n(333)](e),s=r||e,{encryptedData:a,encryptedKey:o}=await this[n(358)][n(363)](i,s);return{data:a,key:o,dataType:r?Bn[n(345)]:Bn.uncompressed}}catch(t){throw new ei(t,Jn[n(317)])}}[ri(333)](t){const e=ri;try{return de(t)}catch(t){Se[e(252)](e(279),{clientId:this.identityManager[e(282)](),error:t})}}[ri(383)](){const t=ri;if(null===this[t(311)]){const e=this[t(287)][t(315)]("rei"),n=Number.parseInt(e);this[t(311)]=Number.isNaN(n)?-1:n}return this.eventIndex++,this.storageManager[t(251)]("rei",this[t(311)].toString()),this[t(311)]}[ri(270)](){const t=ri,e=this[t(287)][t(315)](oi),n=this[t(287)][t(315)](ci);return!e||!n||Date[t(351)]()-e>864e5||n!=this[t(302)][t(321)]()}async[ri(244)](t){const e=ri;if(!t&&!this[e(270)]())return Se[e(301)](e(309)),!1;const n=await this[e(342)][e(346)](),i={type:Ze[e(300)],attributes:n},r=await this[e(320)](i);return r&&(this[e(287)][e(251)](oi,Date[e(351)]()),this[e(287)][e(251)](ci,this[e(302)][e(321)]())),r}async[ri(247)](){const t=ri,e=t(312);if(this[t(281)][t(250)](di,[]).includes(e))return!1;const n=this[t(385)]();return await this[t(320)]({type:Ze[t(271)],attributes:r(r({interaction_type:e,location:window[t(304)][t(283)],referrer:document.referrer},window[t(294)]&&{window_historyLength:window[t(294)].length}),n&&{windowResources:n})}),!0}extractWindowRespurces(){const t=ri;try{const e=window.performance.getEntriesByType("resources");return e&&Array.isArray(e)?e[t(306)]((e=>({name:e[t(298)],initiatorType:e.initiatorType}))):void 0}catch(t){}}[ri(331)](){const t=ri;this[t(259)][t(331)](),this[t(302)][t(331)]()}async getPayload(){const t=ri;if("lightweight"!==this[t(349)])throw new Error("[Lightweight] getPayload() can only be called in lightweight mode");let e;Se[t(301)](t(269));try{e=await this[t(342)][t(346)]()}catch(e){throw Se[t(252)](t(374),{error:e}),new Error(t(374))}const n=[{type:Ze[t(300)],attributes:e,timestamp:Date.now(),index:this.increaseEventIndex(),location:location[t(372)](),platform:navigator.platform,sdkVersion:"2.5.1",serverPath:this[t(368)],tabId:this.identityManager[t(277)]()}],i=this[t(302)][t(321)]();return{clientId:this.identityManager[t(282)](),deviceId:i||void 0,userId:this.identityManager.getUserId()||null,sdkPlatform:this[t(371)]?t(355):t(253),events:n}}clearQueue(){const t=ri;this[t(349)]===t(339)?(this[t(240)]=[],this[t(287)][t(393)](li),Se.info(t(256))):Se[t(246)](t(378))}[ri(377)](){const t=ri,e=this.storageManager[t(315)](li);if(!e)return[];try{return JSON[t(291)](e)}catch(e){return Se[t(252)](t(272),{error:e}),[]}}[ri(284)](t){const e=ri,n=this[e(377)]();return tn[e(329)](n,this[e(366)],t),this[e(287)][e(251)](li,JSON.stringify(n)),n[e(243)]}[ri(354)](){const t=ri;this.storageManager[t(393)](li)}[ri(280)](t){const e=ri;if(0===t.length)return;const n=this.fetchEventsFromLocalStorage();if(!n||0===n[e(243)])return;const i=new Set;for(const n of t)i[e(245)](this[e(353)](n));const r=n.filter((t=>!i[e(307)](this[e(353)](t))));r[e(243)]!==n[e(243)]&&(r[e(243)]>0?this[e(287)][e(251)](li,JSON.stringify(r)):this.storageManager[e(393)](li))}}function bi(t,e){return t-=194,Ei()[t]}const Ii=bi;function Ei(){const t=["754859TDXNlU","removeItemLocalStorageSafe","CryptoBinding not available for secure session token generation","base64UrlEncode","10yIWcTj","Failed to generate secure session token:","setClientId","setUserId","setItemSessionStorageSafe","storageManager","getUserId","3358752RydJGS","getClientId","JWT","isTokenExpired","RS256","rst","setSessionToken","122620pNlYmM","rdit","setDeviceId","saveTabIdOnUnload","warn","error","9619drlKlz","tabId","setCryptoBinding","loadDeviceId","beforeunload","1641564xpGVzB","setItemLocalStorageSafe","load","getItemLocalStorageSafe","randomUUID","userIdStorageExpiry","MAX_SAFE_INTEGER","Updating DeviceId","toString","actionType","removeItemSessionStorageSafe","info","getConfValue","deviceId","getDeviceId","configManager","452598mnCxvh","rci","getSessionToken","removeUserId","248140qhGiiH","userId","rdi","No backend session token available","exp","getItemSessionStorageSafe","clientId","loadTabId","iat","stringify","now","getSecureSessionToken","getPublicData","1.0","5ttWfRn","cryptoBinding","12ZgLzpm","registerEventListeners","split"];return(Ei=function(){return t})()}!function(){const t=bi,e=Ei();for(;;)try{if(291912==-parseInt(t(244))/1+parseInt(t(238))/2+-parseInt(t(197))/3+-parseInt(t(201))/4*(parseInt(t(215))/5)+-parseInt(t(217))/6*(-parseInt(t(220))/7)+parseInt(t(231))/8+-parseInt(t(249))/9*(parseInt(t(224))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Si="rui",Ti=Ii(198),ki=Ii(203),Di=Ii(239),Mi="rti",Ci=Ii(236),Ai=Ii(254),Pi=Ii(214);class xi{constructor(t,e,n){const i=Ii;this[i(229)]=t,this[i(196)]=e,this[i(207)]=n,this.cryptoBinding=null,this[i(226)](this[i(207)])}[Ii(246)](t){this[Ii(216)]=t}[Ii(251)](){const t=Ii;this[t(247)](),this[t(208)]()}[Ii(218)](){const t=Ii;window.addEventListener(t(248),(async()=>this[t(241)]()))}getDeviceId(){return this.deviceId}[Ii(240)](t){const e=Ii;this.deviceId!==t&&(Se[e(260)](e(256),{deviceId:t}),this[e(194)]=t,this[e(229)][e(228)](ki,t),this[e(229)][e(250)](ki,t))}loadDeviceId(){const t=Ii,e=this.storageManager[t(206)](ki)||this.storageManager[t(252)](ki);return null!=e&&this[t(240)](e),e}[Ii(232)](){return this[Ii(207)]}[Ii(226)](t){const e=Ii;this[e(229)][e(232)]()!=t&&this[e(229)][e(226)](t),this[e(229)][e(228)](Ti,t)}[Ii(230)](){const t=Ii;if(Number(this[t(229)].getItemLocalStorageSafe(Di))+this[t(196)][t(261)](Ai,864e5)<Date[t(211)]())return this.removeUserId(),null;const e=this[t(229)][t(206)](Si);return null!=e?e:this.storageManager.getItemLocalStorageSafe(Si)}[Ii(227)](t){const e=Ii;this[e(202)]=t,this[e(229)][e(228)](Si,t),this[e(229)][e(250)](Si,t),this[e(229)].setItemLocalStorageSafe(Di,Date[e(211)]())}[Ii(200)](){const t=Ii;this.storageManager[t(259)](Si),this[t(229)][t(221)](Si),this[t(229)][t(221)](Di)}loadTabId(){const t=Ii,e=this[t(229)].getItemSessionStorageSafe(Mi);e?(this.storageManager.removeItemSessionStorageSafe(Mi),this[t(245)]=e):this[t(245)]=Math.floor(Math.random()*Number[t(255)])[t(257)]()}getTabId(){return this.tabId}[Ii(241)](){const t=Ii;this[t(229)][t(228)](Mi,this[t(245)])}[Ii(237)](t){const e=Ii;this[e(229)][e(250)](Ci,t)}[Ii(199)](){const t=Ii;return this[t(229)].getItemLocalStorageSafe(Ci)||this[t(229)][t(206)](Ci)}async[Ii(212)](t){const e=Ii;var n,i;const s=null!==(n=null==t?void 0:t[e(258)])&&void 0!==n?n:null,a=null!==(i=null==t?void 0:t.expirationSeconds)&&void 0!==i?i:300,o=this[e(196)][e(261)]("sstReplayMaxUses",0)||null;if(!this.cryptoBinding)return Se[e(242)](e(222)),null;const c=this[e(199)]();if(!c)return Se.warn(e(204)),null;try{const{publicKey:t}=await this[e(216)][e(213)](),n=Math.floor(Date[e(211)]()/1e3),i=n+a,l=r(r({backendSessionToken:c,securedToken:!0,version:Pi,jti:tn[e(253)](),clientParams:{clientId:this[e(232)](),deviceId:this[e(195)](),userId:this[e(230)]()},iat:n,exp:i,publicKey:t},s&&{actionType:s}),o&&{maxUses:o}),h={alg:e(235),typ:e(233)},d=tn.base64UrlEncode(JSON[e(210)](h))+"."+tn[e(223)](JSON[e(210)](l)),u=await this.cryptoBinding.sign(d);return d+"."+tn.base64ToBase64Url(u)}catch(t){return Se[e(243)](e(225),{error:t}),null}}[Ii(234)](){const t=Ii;var e;const n=this[t(199)]();if(!n)return!0;try{const i=JSON.parse(atob(n[t(219)](".")[1]));let r=(null!==(e=i[t(205)])&&void 0!==e?e:i[t(209)])*(i[t(205)]&&i.exp<1e12?1e3:1);return!i.exp&&(r+=9e5),Date.now()>=r}catch(e){return Se[t(243)]("Invalid JWT:",{error:e}),!0}}}const Li=Ri;function Oi(){const t=["statusText","16730gbUlKN","json","3380293CIffCj","176QDPYvX","fetch-api is not supported","9613rxLNxj","serverPath","include","message","application/json","postData","SERVER","173109zHpFgp","6ITvNMC","fetch","postDataFromURL","status","callServer","263205GsYQXe","82yNecKP","44XEZkLk","2651qpSjjX","961700URSeGV","10574148iqYtrs","CLIENT"];return(Oi=function(){return t})()}function Ri(t,e){return t-=197,Oi()[t]}!function(){const t=Ri,e=Oi();for(;;)try{if(383069==parseInt(t(210))/1*(-parseInt(t(198))/2)+parseInt(t(217))/3*(-parseInt(t(199))/4)+-parseInt(t(201))/5+-parseInt(t(218))/6*(-parseInt(t(207))/7)+-parseInt(t(208))/8*(-parseInt(t(197))/9)+-parseInt(t(205))/10*(parseInt(t(200))/11)+parseInt(t(202))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ni{constructor(t){this[Ri(211)]=t}async[Li(215)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.postDataFromURL(this.serverPath+t,e,n)}async[Li(220)](t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=Li,s={method:"POST",credentials:i(212),headers:new Headers(r({"Content-Type":i(214)},n)),body:JSON.stringify(e)};return await this[i(222)](t,s)}async getData(t){const e=Li,n=this[e(211)]+t,i={method:"GET",credentials:e(212)};return await this.callServer(n,i)}async callServer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Li;if(!(n(219)in window))throw new ei(new Error(n(209)),Jn[n(203)]);try{const i=await fetch(t,e),r=await i[n(206)]();if(i.ok)return r;throw new ei(new Error(r[n(213)]||i[n(204)]),Jn[n(216)],i[n(221)])}catch(t){if(!(t instanceof ei))throw new ei(new Error(t[n(213)]),Jn.COMMUNICATION);throw t}}}function zi(t,e){return t-=244,Bi()[t]}const Ui=zi;function Bi(){const t=["keys","20080ypamPO","REQUIRED_SDK_PARAMS","43LYZaYb","14xrIpwu","throwOrReturnResult","tier","150yDPxqD","serverPath","length","push","106416LKhhQj","725901LVtYwx","90745flaDMl","logIfInvalid","string","options","4odHOBy","11934IyUxUw","stringify","1458aiEWas","313878kAmEmj","filter"];return(Bi=function(){return t})()}!function(){const t=zi,e=Bi();for(;;)try{if(115668==parseInt(t(254))/1*(-parseInt(t(248))/2)+parseInt(t(262))/3+parseInt(t(245))/4*(parseInt(t(264))/5)+parseInt(t(249))/6+-parseInt(t(255))/7*(parseInt(t(252))/8)+-parseInt(t(246))/9*(parseInt(t(258))/10)+parseInt(t(263))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Fi{constructor(){const t=zi;this[t(253)]={clientId:t(266)}}[Ui(256)](t,e,n){if(!t&&((null==e?void 0:e[Ui(265)])&&Se.info(n),null==e?void 0:e.throwError))throw new Error(n);return t}validateSDKParams(t,e){const n=Ui;var i,r,s,a;const o=Object[n(251)](this[n(253)])[n(250)]((e=>typeof t[e]!=this[n(253)][e]));if("lightweight"!==(null!==(i=t[n(257)])&&void 0!==i?i:null===(r=t.options)||void 0===r?void 0:r[n(257)])){const e=null!==(a=null===(s=t[n(244)])||void 0===s?void 0:s[n(259)])&&void 0!==a?a:t.serverPath;(typeof e!==n(266)||!e)&&o[n(261)](n(259))}return this[n(256)](0==o[n(260)],e,"Invalid SDK params was provided: "+JSON[n(247)](o))}}const Ki=Zi;function Zi(t,e){return t-=156,Hi()[t]}function Hi(){const t=["length","lastTimeLogsSent","platform","push","getClientId","66888odpQEL","logsMinimumDelay","getConfValue","71782EjnnfE","2965WsjbMR","13602mHhbnk","device/logs","now","enableLogsReporting","366342hZddHy","31360170fKqyWW","flush","2022024EoPVtp","logs","configManager","logMiddleware","6506991GKIyrC","707SRQBfc","18zicpVr","reportLogs","identityManager"];return(Hi=function(){return t})()}!function(){const t=Zi,e=Hi();for(;;)try{if(862968==parseInt(t(161))/1+parseInt(t(181))/2*(parseInt(t(170))/3)+parseInt(t(164))/4+parseInt(t(156))/5*(parseInt(t(157))/6)+-parseInt(t(169))/7*(-parseInt(t(178))/8)+parseInt(t(168))/9+-parseInt(t(162))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ji{constructor(t,e,n){const i=Zi;this.requestsManager=t,this[i(172)]=e,this.configManager=n,this[i(174)]=0,this[i(167)]=async()=>{const t=i;try{await this[t(171)]()}catch(t){}},Se.middlewares[i(176)](this.logMiddleware)}async[Ki(171)](){const t=Ki;if(!this[t(166)][t(180)](t(160),!1))return;const e=this[t(166)][t(180)]("logsMinimumBatch",6),n=this[t(166)][t(180)](t(179),12e4);if(Se[t(165)][t(173)]<e||this[t(174)]+n>Date[t(159)]())return;this[t(174)]=Date[t(159)]();const i=Se[t(163)](),r=this[t(172)][t(177)](),s=Math.floor(Date.now()/1e3),a={sdkVersion:"2.5.1",platform:navigator[t(175)],clientId:r,timestamp:s,logEntries:i};await this.requestsManager.postData(t(158),a)}}const Vi=Yi;function Yi(t,e){return t-=393,Wi()[t]}!function(){const t=Yi,e=Wi();for(;;)try{if(892636==-parseInt(t(398))/1+-parseInt(t(396))/2*(parseInt(t(406))/3)+-parseInt(t(405))/4*(parseInt(t(393))/5)+parseInt(t(402))/6+-parseInt(t(410))/7+parseInt(t(395))/8+parseInt(t(407))/9*(parseInt(t(411))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Gi=Vi(408);function Wi(){const t=["device/migrate-identifiers","endsWith","10748KclcAW","579iWBCej","7634529eXfUJP","rimd","requestsManager","6886236PJOgfq","10CXQTti","1655MdhmlL","deviceId","13088656GkCztr","3826VEyfdk","identityManager","16188ZBqbMU","getDeviceId","getItemLocalStorageSafe","storageManager","4000890LgEano"];return(Wi=function(){return t})()}class Ji{constructor(t,e,n){const i=Vi;this[i(397)]=t,this[i(409)]=e,this[i(401)]=n}async migrateIdentifiers(t){const e=Vi;if("true"!=this.storageManager[e(400)](Gi)){const n=this[e(397)][e(399)](),i=this[e(397)].getClientId(),r=(t[e(404)]("/")?t:t+"/")+e(403),s=await this.requestsManager.postDataFromURL(r,{deviceId:n,clientId:i});s.deviceId&&s[e(394)]==n&&this[e(401)].setItemLocalStorageSafe(Gi,"true")}}}function Xi(){const t=["configManager","extensionMetadata","privateUserIdentifier","TSAccountProtectionReady","transactionData","sdk init done","claimedUserId","enableDeviceAttributesInActions","config_disabled","claimedUserIdType","enableSessionToken","options","809317HdSatC","errorSpace","migrationsManager","identifyUser","downloadFile","getUserId","disabledReason","_error_","SDK disabled","correlationId","3332784WbECPg","unified-platform","[Lightweight] getPayload() can only be used in lightweight tier","migrateIdentifiers","userId","329IMwnwt","email","getActions","removeUserId","TSAccountProtection","sdkEnabled","publicKey","customAttributes","initializationPromise","hasOwnClientId","initializedInstance","validationManager","identifiersMigrationEnabled","setCryptoBinding","dispatchEvent","unexpected_error_","account_id","deviceId","requestsManager","getDeviceData","__UNIFIED_SDK_VERSIONS__","missing_config","RiskID","11034696iQgiHE","[Lightweight] Skipping auto-event collection and event listeners","updateUserId","_error_'invalid action type - ","cryptoBindingConfig","message","warn","storageManager","keys","keyRotation","serverPath is required","now","startedAt","602358akGPBX","fallbackClientId","generateDisabledToken","getSecureSessionToken","[Lightweight] triggerActionEvent() cannot be used in lightweight tier. Use getPayload() instead.","national_id","Invalid claimedUserIdType","toString","EVENT_TYPE_ACTION_RESULT","flush","deviceDataManager","[Lightweight] SDK initialized in lightweight mode","cryptoBinding","undefined","emitEvent","slice","logsReporter","isInitialized","eventsManager","SERVER","other","sendPageLoadEvent","refreshConf","validateSDKParams","CLIENT","action","refreshSessionToken","disabled_sdk_","length","sendDeviceDataEvent","enabled","[Lightweight] deviceId must be a non-empty string","90040GFYfme","Session token is not enabled","clearQueue","standard","session","clientId","unknown","serverPath","getClientId","getConfValue","includes","reportActionResult failed to send","init","invalid_params","init_failed","stringify","identityManager","load","challengeType","tier","EVENT_TYPE_ACTION","catch","keyScope","EVENT_TYPE_IDENTIFICATION","mainEntry","[Lightweight] reportActionResult() cannot be used in lightweight tier.","crypto","RiskIDReady","trim","verbose","passport_number","setDeviceId","SDK already initialized","[Lightweight] getSecureSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","actions","triggerActionEvent","enableIdentifiersMigration","string","suspiciousContext","getPayload","object","suspiciousSignals","tenantId","setUserId","extensionDeviceAttributes","[Lightweight] clearQueue() can only be used in lightweight tier","isTokenExpired","reportActionResult called without actionToken or result","info","initialize","189338nCdTRE","init_not_called","expiryDays","[Lightweight] getSessionToken() cannot be used in lightweight tier. Session tokens are not supported in lightweight mode.","78846UGnSZX","setAuthenticatedUser","lightweight","firstPartyMigrationUrl","getSessionToken","[Lightweight] setDeviceId() can only be used in lightweight tier"];return(Xi=function(){return t})()}const qi=Qi;function Qi(t,e){return t-=392,Xi()[t]}!function(){const t=Qi,e=Xi();for(;;)try{if(631898==-parseInt(t(434))/1+parseInt(t(412))/2+parseInt(t(485))/3+-parseInt(t(444))/4+-parseInt(t(517))/5+-parseInt(t(416))/6*(-parseInt(t(449))/7)+parseInt(t(472))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const $i=[null,void 0,"undefined","",0],tr=qi(454),er=qi(398),nr=qi(546),ir=qi(429),rr=qi(396),sr=[qi(450),"phone_number",qi(465),"ssn",qi(490),qi(392),"drivers_license_number",qi(505)];class ar{constructor(t,e){const n=qi;var i,r;if(this[n(457)]=null,this[n(440)]=null,this.enableSessionToken=!1,this[n(461)]=!1,this[n(419)]=null,this.hasOwnClientId=!1,this[n(536)]=n(520),this.validationManager=new Fi,ar[n(459)])throw new Error(n(394));ar.initializedInstance=!0;const s=typeof e===n(399);this[n(522)]=s?e:t,this.options=s?{serverPath:t}:e,this[n(536)]=(null===(i=this[n(433)])||void 0===i?void 0:i[n(536)])||n(520);const a=typeof(null===(r=this[n(433)])||void 0===r?void 0:r.serverPath)===n(399)&&this[n(433)][n(524)][n(545)]()[n(513)]>0;if(this[n(536)]!==n(418)&&!a)throw new Error(n(482));a&&(this[n(433)][n(524)]=new URL(this[n(433)][n(524)])[n(492)]()),this.firstPartyMigrationUrl=this[n(433)][n(419)]||null,this[n(536)]===n(418)&&Se[n(410)](n(496),{serverPath:this[n(433)].serverPath}),Se[n(515)]=!!this[n(433)][n(546)],!this[n(460)][n(508)](this,{throwError:!0,logIfInvalid:!0})&&(this[n(440)]=n(530)),this[n(479)]=new me(this.clientId),this[n(467)]=new Ni(this[n(433)][n(524)]),this.configManager=new Xe(this.storageManager,this[n(467)]),this[n(533)]=new xi(this[n(479)],this[n(422)],this.clientId),this[n(533)][n(534)](),this[n(436)]=new Ji(this.identityManager,this[n(467)],this[n(479)]),this[n(432)]=this.options.enableSessionToken||!1,this.hasOwnClientId=this.options[n(458)]||!1,this[n(501)]=new ji(this[n(467)],this[n(533)],this.configManager)}[qi(487)](t){const e=qi,n=Date[e(483)]();return e(512)+(this[e(440)]||e(523))+"_"+t+"_"+n}get[qi(396)](){const t=qi;return this[t(422)][t(526)](rr,[])}async[qi(451)](){const t=qi;return await this[t(502)](),this[t(396)]}async[qi(420)](){const t=qi;if(this[t(536)]===t(418))throw new Error(t(415));if(!this[t(432)])throw new Error("Session token is not enabled");return await this.isInitialized()?(this[t(533)].isTokenExpired()&&await this[t(503)][t(511)](),this[t(533)][t(420)]()):(Se.info("SDK disabled"),this.generateDisabledToken(t(521)))}async[qi(401)](){const t=qi;if(this[t(536)]!==t(418))throw new Error(t(446));return await this.isInitialized(),await this.eventsManager[t(401)]()}[qi(519)](){const t=qi;if(this[t(536)]!==t(418))throw new Error(t(407));this[t(503)].clearQueue()}[qi(393)](t){const e=qi;if(this.tier!==e(418))throw new Error(e(421));if(!t||"string"!=typeof t)throw new Error(e(516));Se[e(410)]("[Lightweight] Setting deviceId from backend",{deviceId:t}),this[e(533)][e(393)](t)}async[qi(529)](t){const e=qi,n=typeof t!==e(402)?t:null==t?void 0:t[e(448)];return Se[e(410)]("sdk init started"),this[e(457)]=(async()=>{const t=e;var i;this.tier!==t(418)&&await this[t(422)][t(507)](this[t(533)][t(525)]());const r=this[t(422)][t(526)](t(404),null),s=this[t(422)][t(526)](t(481),null),a=this[t(422)][t(526)]("idbWriteTimeoutMs",void 0),o={};if((null==s?void 0:s.isEnabled)&&(o.keyRotation={isEnabled:!0,expiryDays:s[t(414)],startedAt:s[t(484)],tenantId:r}),void 0!==a&&(o.idbWriteTimeoutMs=a),this.hasOwnClientId&&(o[t(486)]=this.clientId),(null===(i=this[t(433)].cryptoBindingConfig)||void 0===i?void 0:i[t(539)])&&(o[t(539)]=this[t(433)][t(476)][t(539)]),this[t(497)]=_e[t(543)].createCryptoBinding("sign",Object[t(480)](o).length>0?o:void 0),this[t(533)][t(462)](this[t(497)]),this[t(495)]=new Ue(this.storageManager,this[t(422)],this[t(497)]),this[t(503)]=new yi(this[t(422)],this[t(479)],this.deviceDataManager,this.requestsManager,this[t(533)],this[t(497)],this[t(433)].serverPath,this.enableSessionToken,this[t(536)]),null!==this[t(440)])return!1;const c=this[t(422)][t(526)](tr,void 0);return c?(this.identifiersMigrationEnabled=this[t(461)]||this.configManager.getConfValue(er,!1),this[t(461)]&&this[t(419)]&&await this[t(436)][t(447)](this[t(419)]),Se[t(515)]=Se[t(515)]||!!this.configManager.getConfValue(nr,!1),this.tier!==t(418)?(await this[t(503)][t(514)]()[t(538)]((()=>{})),await this.eventsManager[t(506)]()[t(538)]((()=>{})),await this[t(474)](n)[t(538)]((()=>{})),this[t(503)].registerEventListeners(),await this.eventsManager[t(494)]()[t(538)]((()=>{}))):Se[t(410)](t(473)),Se[t(410)](t(427)),!0):(this[t(440)]=t(void 0===c?470:430),!1)})(),await this.initializationPromise}async[qi(502)](){const t=qi;if(null===this[t(457)])return!this[t(440)]&&(this[t(440)]=t(413)),!1;const e=await this[t(457)];return!e&&!this[t(440)]&&(this[t(440)]=t(531)),e}async[qi(397)](t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=qi;var i;if(this[n(536)]===n(418))throw new Error(n(489));const s=Date[n(483)]();if(!await this[n(502)]())return Se[n(410)](n(442)),{actionToken:this.generateDisabledToken(n(510))};if(!this[n(396)][n(527)](t))return Se[n(478)]("Invalid action type",{actionType:t}),{actionToken:Jn[n(509)]+n(475)+t+"'_"+s};const a=null==e?void 0:e[n(431)];if(a&&!sr[n(527)](a))return Se[n(478)](n(491),{claimedUserIdType:a}),{actionToken:"invalid_claimed_user_id_type_"+a+"_"+s};let o;this[n(422)][n(526)](ir,!1)&&(o=await this[n(495)][n(468)]());const c=r({type:Ze[n(537)],attributes:r(r(r(r(r(r(r(r(r(r(r(r(r({action_type:t},(null==e?void 0:e[n(443)])&&{correlation_id:e[n(443)]}),(null==e?void 0:e[n(428)])&&{claimed_user_id:e[n(428)]}),a&&{claimed_user_id_type:a}),(null==e?void 0:e[n(455)])&&{public_key:e[n(455)]}),(null==e?void 0:e[n(423)])&&{extension_metadata:e[n(423)]}),(null==e?void 0:e[n(406)])&&{extension_device_attributes:e.extensionDeviceAttributes}),(null==e?void 0:e[n(403)])&&{suspicious_signals:e[n(403)]}),(null==e?void 0:e[n(400)])&&{suspicious_context:e[n(400)]}),(null==e?void 0:e[n(438)])&&{download_file:e[n(438)]}),(null==e?void 0:e.uploadFile)&&{upload_file:e.uploadFile}),(null==e?void 0:e[n(426)])&&{transactionData:e.transactionData}),typeof globalThis!==n(498)&&(null===(i=globalThis.__UNIFIED_SDK_VERSIONS__)||void 0===i?void 0:i[n(445)])&&{platform_sdk_version:globalThis[n(469)][n(445)]}),o)},(null==e?void 0:e[n(456)])&&{customAttributes:e.customAttributes});try{const t=await this[n(503)][n(499)](c),{actionToken:e}=t;if(!e)throw new ei(new Error("Unhandled SDK error. Received eventResponse: "+(typeof t==n(402)?JSON[n(532)](t)[n(500)](15):t)),Jn[n(509)]);return t}catch(e){return{actionToken:e instanceof ei?e[n(435)]===Jn[n(504)]?e[n(435)]+"_error_"+t+"_"+e.errorCode+"_'"+e[n(477)]+"'_"+s:e[n(435)]+n(441)+t+"_'"+e[n(477)]+"'_"+s:n(464)+t+"_"+s}}}async[qi(474)](t){const e=qi;if($i[e(527)](t))return Se[e(410)]("identifyUser called without a valid userid",{userId:t}),!1;t=t[e(492)](),Se[e(410)](e(437),{userId:t});const n=this[e(533)][e(439)]();return n===t||(this[e(533)][e(405)](t),!!(await this.eventsManager.emitEvent({type:Ze[e(540)],attributes:{previous_user_id:n,user_id:t}}))[e(466)])}async[qi(417)](t){const e=qi;return await this[e(502)]()?this[e(474)](t):(Se[e(410)](e(442)),!1)}async reportActionResult(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=qi;if("lightweight"===this.tier)throw new Error(i(542));if(!await this[i(502)]())return Se.info("SDK disabled"),!1;if(!t||!e)return Se.warn(i(409),{result:e}),!1;const s={type:Ze[i(493)],attributes:r(r(r({action_token:t,result_feedback:e},(null==n?void 0:n.challengeType)&&{challenge_type:n[i(535)]}),(null==n?void 0:n[i(448)])&&{user_id:n[i(448)]}),(null==n?void 0:n[i(424)])&&{privateUserIdentifier:n[i(424)]})};try{const t=await this[i(503)].emitEvent(s);return typeof t===i(402)&&null!==t}catch(t){return Se[i(478)](i(528),{error:t}),!1}}async clearUser(){const t=qi;if(!await this.isInitialized())return Se[t(410)](t(442)),!1;const e=this.identityManager[t(439)]();return null!=e&&this.identityManager[t(452)](),!!(await this.eventsManager[t(499)]({type:Ze[t(540)],attributes:{previous_user_id:e}}))[t(466)]}async getSecureSessionToken(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;const n=qi;if(this[n(536)]===n(418))throw new Error(n(395));if(!this[n(432)])throw new Error(n(518));return await this[n(502)]()?(this.identityManager[n(408)]()&&await this[n(503)][n(511)](),await this.identityManager[n(488)]({actionType:t,expirationSeconds:e})||this[n(487)](n(521))):(Se[n(410)](n(442)),this[n(487)](n(521)))}}ar[qi(459)]=!1,document[qi(463)](new CustomEvent(qi(425)));const or=cr;function cr(t,e){return t-=500,mr()[t]}!function(){const t=cr,e=mr();for(;;)try{if(156853==parseInt(t(504))/1+parseInt(t(514))/2+parseInt(t(503))/3+-parseInt(t(508))/4+parseInt(t(526))/5+-parseInt(t(525))/6+parseInt(t(502))/7*(-parseInt(t(507))/8))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(523)][e(517)][e(512)])(e(513),e(516))}_e[or(518)].on(_e[or(518)][or(501)],(()=>{const t=or,{clientId:e,drs:n,cryptoBindingConfig:i}=_e[t(527)].getInitConfig(),s=n||{},{enabled:a,userId:o,serverPath:c}=s,l=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}(s,ue);if(!1===a)return;const h=(null==n?void 0:n[t(522)])||e,d=!!(null==n?void 0:n.clientId);lr=new ar(h,r(r({},l),{},{hasOwnClientId:d,serverPath:c,cryptoBindingConfig:i})),lr[t(524)]({userId:o})}));const dr=function(){const t=or;return hr(lr),lr[t(505)](...arguments)},ur=function(){return hr(lr),lr.setAuthenticatedUser(...arguments)},gr=function(){const t=or;return hr(lr),lr[t(509)](...arguments)},pr=function(){const t=or;return hr(lr),lr[t(500)](...arguments)},fr=function(){const t=or;return hr(lr),lr[t(520)]()},_r=function(){return hr(lr),lr.getSessionToken()},vr=function(t,e){const n=or;return hr(lr),lr[n(519)](t,e)},wr=function(){const t=or;return hr(lr),lr[t(506)](...arguments)};function mr(){const t=["utils","init","1870680sDJyZf","1418725dnxtTp","moduleMetadata","clearUser","MODULE_INITIALIZED","90349JIfVDz","580854nJFDXk","237453vlIrUt","triggerActionEvent","getPayload","56oAxIfI","924988oMKZer","reportActionResult","flush","eventsManager","TsError","not_initialized","150826xTTvMY","identityManager","tsPlatform not initialized","exceptions","events","getSecureSessionToken","getActions","getDeviceId","clientId"];return(mr=function(){return t})()}const yr=function(){return hr(lr),lr.setDeviceId(...arguments)},br={getDeviceId(){const t=or;return lr[t(515)][t(521)]()},getClientId:()=>lr[or(515)].getClientId(),flush(){const t=or;return lr[t(511)][t(510)]()}};const Ir="2.5.1",Er={initialize:e,...Object.freeze({__proto__:null,__internal:br,clearUser:pr,getActions:fr,getPayload:wr,getSecureSessionToken:vr,getSessionToken:_r,reportActionResult:gr,setAuthenticatedUser:ur,setDeviceId:yr,triggerActionEvent:dr})};export{Ir as PACKAGE_VERSION,br as __internal,pr as clearUser,Er as drs,fr as getActions,wr as getPayload,vr as getSecureSessionToken,_r as getSessionToken,gr as reportActionResult,ur as setAuthenticatedUser,yr as setDeviceId,dr as triggerActionEvent};