/*! For license information please see npm-async-bric_verify_sec_sdk_build_captcha_in.24089817376007dbeb49.js.LICENSE.txt */ "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1427],{17819:(t,e,n)=>{n.r(e),n.d(e,{TTVerifyCenter:()=>wa,close:()=>ba,config:()=>ha,getFp:()=>_a,init:()=>ga,reInit:()=>ma,render:()=>ya,transform:()=>Oa});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&a[0]<4?1:+(a[0]+a[1])),!c&&H&&(!(a=H.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=H.match(/Chrome\/(\d+)/))&&(c=+a[1]);var W,Y=c,X=!!Object.getOwnPropertySymbols&&!w((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),Z=X&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q=s.Object,$=Z?function(t){return"symbol"==typeof t}:function(t){var e=G("Symbol");return _(e)&&U(e.prototype,Q(t))},tt=s.String,et=function(t){try{return tt(t)}catch(t){return"Object"}},nt=s.TypeError,rt=function(t){if(_(t))return t;throw nt(et(t)+" is not a function")},ot=function(t,e){var n=t[e];return null==n?void 0:rt(n)},it=s.TypeError,at=Object.defineProperty,ct="__core-js_shared__",ut=s[ct]||function(t,e){try{at(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e}(ct,{}),st=i((function(t){(t.exports=function(t,e){return ut[t]||(ut[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.1",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),ft=s.Object,lt=function(t){return ft(P(t))},pt=b({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return pt(lt(t),e)},vt=0,ht=Math.random(),gt=b(1..toString),mt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+gt(++vt+ht,36)},yt=st("wks"),bt=s.Symbol,_t=bt&&bt.for,wt=Z?bt:bt&&bt.withoutSetter||mt,Ot=function(t){if(!dt(yt,t)||!X&&"string"!=typeof yt[t]){var e="Symbol."+t;X&&dt(bt,t)?yt[t]=bt[t]:yt[t]=Z&&_t?_t(e):wt(e)}return yt[t]},Tt=s.TypeError,St=Ot("toPrimitive"),Et=function(t){var e=function(t,e){if(!M(t)||$(t))return t;var n,r=ot(t,St);if(r){if(void 0===e&&(e="default"),n=S(r,t,e),!M(n)||$(n))return n;throw Tt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&_(n=t.toString)&&!M(r=S(n,t)))return r;if(_(n=t.valueOf)&&!M(r=S(n,t)))return r;if("string"!==e&&_(n=t.toString)&&!M(r=S(n,t)))return r;throw it("Can't convert object to primitive value")}(t,e)}(t,"string");return $(e)?e:e+""},jt=s.document,It=M(jt)&&M(jt.createElement),Ct=function(t){return It?jt.createElement(t):{}},kt=!O&&!w((function(){return 7!=Object.defineProperty(Ct("div"),"a",{get:function(){return 7}}).a})),At=Object.getOwnPropertyDescriptor,xt={f:O?At:function(t,e){if(t=N(t),e=Et(e),kt)try{return At(t,e)}catch(t){}if(dt(t,e))return C(!S(I.f,t,e),t[e])}},Rt=/#|\.prototype\./,Lt=function(t,e){var n=Kt[Dt(t)];return n==Nt||n!=Pt&&(_(e)?w(e):!!e)},Dt=Lt.normalize=function(t){return String(t).replace(Rt,".").toLowerCase()},Kt=Lt.data={},Pt=Lt.NATIVE="N",Nt=Lt.POLYFILL="P",Mt=Lt,Ft=b(b.bind),Bt=function(t,e){return rt(t),void 0===e?t:Ft?Ft(t,e):function(){return t.apply(e,arguments)}},Gt=s.String,Ut=s.TypeError,Ht=function(t){if(M(t))return t;throw Ut(Gt(t)+" is not an object")},Vt=s.TypeError,zt=Object.defineProperty,Jt={f:O?zt:function(t,e,n){if(Ht(t),e=Et(e),Ht(n),kt)try{return zt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Vt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},qt=O?function(t,e,n){return Jt.f(t,e,C(1,n))}:function(t,e,n){return t[e]=n,t},Wt=xt.f,Yt=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return v(t,this,arguments)};return e.prototype=t.prototype,e},Xt=function(t,e){var n,r,o,i,a,c,u,f,l=t.target,p=t.global,d=t.stat,v=t.proto,h=p?s:d?s[l]:(s[l]||{}).prototype,g=p?F:F[l]||qt(F,l,{})[l],m=g.prototype;for(o in e)n=!Mt(p?o:l+(d?".":"#")+o,t.forced)&&h&&dt(h,o),a=g[o],n&&(c=t.noTargetGet?(f=Wt(h,o))&&f.value:h[o]),i=n&&c?c:e[o],n&&typeof a==typeof i||(u=t.bind&&n?Bt(i,s):t.wrap&&n?Yt(i):v&&_(i)?b(i):i,(t.sham||i&&i.sham||a&&a.sham)&&qt(u,"sham",!0),qt(g,o,u),v&&(dt(F,r=l+"Prototype")||qt(F,r,{}),qt(F[r],o,i),t.real&&m&&!m[o]&&qt(m,o,i)))},Zt=st("keys"),Qt=function(t){return Zt[t]||(Zt[t]=mt(t))},$t=!w((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),te=Qt("IE_PROTO"),ee=s.Object,ne=ee.prototype,re=$t?ee.getPrototypeOf:function(t){var e=lt(t);if(dt(e,te))return e[te];var n=e.constructor;return _(n)&&e instanceof n?n.prototype:e instanceof ee?ne:null},oe=s.String,ie=s.TypeError,ae=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=b(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Ht(n),function(t){if("object"==typeof t||_(t))return t;throw ie("Can't set "+oe(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),ce=Math.ceil,ue=Math.floor,se=function(t){var e=+t;return e!=e||0===e?0:(e>0?ue:ce)(e)},fe=Math.max,le=Math.min,pe=Math.min,de=function(t){return(e=t.length)>0?pe(se(e),9007199254740991):0;var e},ve=function(t){return function(e,n,r){var o,i=N(e),a=de(i),c=function(t,e){var n=se(t);return n<0?fe(n+e,0):le(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},he={includes:ve(!0),indexOf:ve(!1)},ge={},me=he.indexOf,ye=b([].push),be=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!dt(ge,n)&&dt(r,n)&&ye(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~me(i,n)||ye(i,n));return i},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],we=_e.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return be(t,we)}},Te={f:Object.getOwnPropertySymbols},Se=b([].concat),Ee=G("Reflect","ownKeys")||function(t){var e=Oe.f(Ht(t)),n=Te.f;return n?Se(e,n(t)):e},je=Object.keys||function(t){return be(t,_e)},Ie=O?Object.defineProperties:function(t,e){Ht(t);for(var n,r=N(e),o=je(e),i=o.length,a=0;i>a;)Jt.f(t,n=o[a++],r[n]);return t},Ce=G("document","documentElement"),ke="prototype",Ae="script",xe=Qt("IE_PROTO"),Re=function(){},Le=function(t){return"<"+Ae+">"+t+""},De=function(t){t.write(Le("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ke=function(){try{W=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Ke="undefined"!=typeof document?document.domain&&W?De(W):(e=Ct("iframe"),n="java"+Ae+":",e.style.display="none",Ce.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Le("document.F=Object")),t.close(),t.F):De(W);for(var r=_e.length;r--;)delete Ke[ke][_e[r]];return Ke()};ge[xe]=!0;var Pe=Object.create||function(t,e){var n;return null!==t?(Re[ke]=Ht(t),n=new Re,Re[ke]=null,n[xe]=t):n=Ke(),void 0===e?n:Ie(n,e)},Ne=b("".replace),Me=String(Error("zxcasd").stack),Fe=/\n\s*at [^:]*:[^\n]*/,Be=Fe.test(Me),Ge={},Ue=Ot("iterator"),He=Array.prototype,Ve={};Ve[Ot("toStringTag")]="z";var ze="[object z]"===String(Ve),Je=Ot("toStringTag"),qe=s.Object,We="Arguments"==x(function(){return arguments}()),Ye=ze?x:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=qe(t),Je))?n:We?x(e):"Object"==(r=x(e))&&_(e.callee)?"Arguments":r},Xe=Ot("iterator"),Ze=function(t){if(null!=t)return ot(t,Xe)||ot(t,"@@iterator")||Ge[Ye(t)]},Qe=s.TypeError,$e=function(t,e,n){var r,o;Ht(t);try{if(!(r=ot(t,"return"))){if("throw"===e)throw n;return n}r=S(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Ht(r),n},tn=s.TypeError,en=function(t,e){this.stopped=t,this.result=e},nn=en.prototype,rn=function(t,e,n){var r,o,i,a,c,u,s,f,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=Bt(e,l),g=function(t){return r&&$e(r,"normal",t),new en(!0,t)},m=function(t){return p?(Ht(t),v?h(t[0],t[1],g):h(t[0],t[1])):v?h(t,g):h(t)};if(d)r=t;else{if(!(o=Ze(t)))throw tn(et(t)+" is not iterable");if(void 0!==(f=o)&&(Ge.Array===f||He[Ue]===f)){for(i=0,a=de(t);a>i;i++)if((c=m(t[i]))&&U(nn,c))return c;return new en(!1)}r=function(t,e){var n=arguments.length<2?Ze(t):e;if(rt(n))return Ht(S(n,t));throw Qe(et(t)+" is not iterable")}(t,o)}for(u=r.next;!(s=S(u,r)).done;){try{c=m(s.value)}catch(t){$e(r,"throw",t)}if("object"==typeof c&&c&&U(nn,c))return c}return new en(!1)},on=s.String,an=function(t){if("Symbol"===Ye(t))throw TypeError("Cannot convert a Symbol value to a string");return on(t)},cn=!w((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",C(1,7)),7!==t.stack)})),un=Ot("toStringTag"),sn=s.Error,fn=[].push,ln=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=U(pn,this);ae?n=ae(new sn,o?re(this):pn):(n=o?this:Pe(pn),qt(n,un,"Error")),void 0!==e&&qt(n,"message",function(t,e){return void 0===t?arguments.length<2?"":e:an(t)}(e)),cn&&qt(n,"stack",function(t,e){if(Be&&"string"==typeof t)for(;e--;)t=Ne(t,Fe,"");return t}(n.stack,1)),function(t,e){M(e)&&"cause"in e&&qt(t,"cause",e.cause)}(n,r);var i=[];return rn(t,fn,{that:i}),qt(n,"errors",i),n};ae?ae(ln,sn):function(t,e,n){for(var r=Ee(e),o=Jt.f,i=xt.f,a=0;a=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),Ge.Arguments=Ge.Array;var or=s.Promise,ir=Ot("species"),ar=s.TypeError,cr=Ot("iterator"),ur=!1;try{var sr=0,fr={next:function(){return{done:!!sr++}},return:function(){ur=!0}};fr[cr]=function(){return this},Array.from(fr,(function(){throw 2}))}catch(Ci){}var lr=function(){},pr=[],dr=G("Reflect","construct"),vr=/^\s*(?:class|function)\b/,hr=b(vr.exec),gr=!vr.exec(lr),mr=function(t){if(!_(t))return!1;try{return dr(lr,pr,t),!0}catch(t){return!1}},yr=function(t){if(!_(t))return!1;switch(Ye(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gr||!!hr(vr,mn(t))}catch(t){return!0}};yr.sham=!0;var br,_r,wr,Or,Tr=!dr||w((function(){var t;return mr(mr.call)||!mr(Object)||!mr((function(){t=!0}))||t}))?yr:mr,Sr=s.TypeError,Er=Ot("species"),jr=function(t,e){var n,r=Ht(t).constructor;return void 0===r||null==(n=Ht(r)[Er])?e:function(t){if(Tr(t))return t;throw Sr(et(t)+" is not a constructor")}(n)},Ir=b([].slice),Cr=/(?:ipad|iphone|ipod).*applewebkit/i.test(H),kr="process"==x(s.process),Ar=s.setImmediate,xr=s.clearImmediate,Rr=s.process,Lr=s.Dispatch,Dr=s.Function,Kr=s.MessageChannel,Pr=s.String,Nr=0,Mr={},Fr="onreadystatechange";try{br=s.location}catch(Ci){}var Br=function(t){if(dt(Mr,t)){var e=Mr[t];delete Mr[t],e()}},Gr=function(t){return function(){Br(t)}},Ur=function(t){Br(t.data)},Hr=function(t){s.postMessage(Pr(t),br.protocol+"//"+br.host)};Ar&&xr||(Ar=function(t){var e=Ir(arguments,1);return Mr[++Nr]=function(){v(_(t)?t:Dr(t),void 0,e)},_r(Nr),Nr},xr=function(t){delete Mr[t]},kr?_r=function(t){Rr.nextTick(Gr(t))}:Lr&&Lr.now?_r=function(t){Lr.now(Gr(t))}:Kr&&!Cr?(Or=(wr=new Kr).port2,wr.port1.onmessage=Ur,_r=Bt(Or.postMessage,Or)):s.addEventListener&&_(s.postMessage)&&!s.importScripts&&br&&"file:"!==br.protocol&&!w(Hr)?(_r=Hr,s.addEventListener("message",Ur,!1)):_r=Fr in Ct("script")?function(t){Ce.appendChild(Ct("script"))[Fr]=function(){Ce.removeChild(this),Br(t)}}:function(t){setTimeout(Gr(t),0)});var Vr,zr,Jr,qr,Wr,Yr,Xr,Zr,Qr={set:Ar,clear:xr},$r=/ipad|iphone|ipod/i.test(H)&&void 0!==s.Pebble,to=/web0s(?!.*chrome)/i.test(H),eo=xt.f,no=Qr.set,ro=s.MutationObserver||s.WebKitMutationObserver,oo=s.document,io=s.process,ao=s.Promise,co=eo(s,"queueMicrotask"),uo=co&&co.value;uo||(Vr=function(){var t,e;for(kr&&(t=io.domain)&&t.exit();zr;){e=zr.fn,zr=zr.next;try{e()}catch(t){throw zr?qr():Jr=void 0,t}}Jr=void 0,t&&t.enter()},Cr||kr||to||!ro||!oo?!$r&&ao&&ao.resolve?((Xr=ao.resolve(void 0)).constructor=ao,Zr=Bt(Xr.then,Xr),qr=function(){Zr(Vr)}):kr?qr=function(){io.nextTick(Vr)}:(no=Bt(no,s),qr=function(){no(Vr)}):(Wr=!0,Yr=oo.createTextNode(""),new ro(Vr).observe(Yr,{characterData:!0}),qr=function(){Yr.data=Wr=!Wr}));var so=uo||function(t){var e={fn:t,next:void 0};Jr&&(Jr.next=e),zr||(zr=e,qr()),Jr=e},fo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=rt(e),this.reject=rt(n)},lo={f:function(t){return new fo(t)}},po=function(t,e){if(Ht(t),M(e)&&e.constructor===t)return e;var n=lo.f(t);return(0,n.resolve)(e),n.promise},vo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},ho=function(){this.head=null,this.tail=null};ho.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var go,mo,yo,bo=ho,_o="object"==typeof window,wo=Qr.set,Oo=Ot("species"),To="Promise",So=xn.getterFor(To),Eo=xn.set,jo=xn.getterFor(To),Io=or&&or.prototype,Co=or,ko=Io,Ao=s.TypeError,xo=s.document,Ro=s.process,Lo=lo.f,Do=Lo,Ko=!!(xo&&xo.createEvent&&s.dispatchEvent),Po=_(s.PromiseRejectionEvent),No="unhandledrejection",Mo=Mt(To,(function(){var t=mn(Co),e=t!==String(Co);if(!e&&66===Y)return!0;if(!ko.finally)return!0;if(Y>=51&&/native code/.test(t))return!1;var n=new Co((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[Oo]=r,!(n.then((function(){}))instanceof r)||!e&&_o&&!Po})),Fo=Mo||!function(){if(!ur)return!1;var t,e=!1;try{var n={};n[cr]=function(){return{next:function(){return{done:e=!0}}}},t=n,Co.all(t).catch((function(){}))}catch(t){}return e}(),Bo=function(t){var e;return!(!M(t)||!_(e=t.then))&&e},Go=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,s=t.reject,f=t.domain;try{c?(a||(2===e.rejection&&Jo(e),e.rejection=1),!0===c?n=i:(f&&f.enter(),n=c(i),f&&(f.exit(),o=!0)),n===t.promise?s(Ao("Promise-chain cycle")):(r=Bo(n))?S(r,n,u,s):u(n)):s(i)}catch(t){f&&!o&&f.exit(),s(t)}},Uo=function(t,e){t.notified||(t.notified=!0,so((function(){for(var n,r=t.reactions;n=r.get();)Go(n,t);t.notified=!1,e&&!t.rejection&&Vo(t)})))},Ho=function(t,e,n){var r,o;Ko?((r=xo.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Po&&(o=s["on"+t])?o(r):t===No&&function(t,e){var n=s.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Vo=function(t){S(wo,s,(function(){var e,n=t.facade,r=t.value;if(zo(t)&&(e=vo((function(){kr?Ro.emit("unhandledRejection",r,n):Ho(No,n,r)})),t.rejection=kr||zo(t)?2:1,e.error))throw e.value}))},zo=function(t){return 1!==t.rejection&&!t.parent},Jo=function(t){S(wo,s,(function(){var e=t.facade;kr?Ro.emit("rejectionHandled",e):Ho("rejectionhandled",e,t.value)}))},qo=function(t,e,n){return function(r){t(e,r,n)}},Wo=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Uo(t,!0))},Yo=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Ao("Promise can't be resolved itself");var r=Bo(e);r?so((function(){var n={done:!1};try{S(r,e,qo(Yo,n,t),qo(Wo,n,t))}catch(e){Wo(n,e,t)}})):(t.value=e,t.state=1,Uo(t,!1))}catch(e){Wo({done:!1},e,t)}}};Mo&&(Co=function(t){!function(t,e){if(U(e,t))return t;throw ar("Incorrect invocation")}(this,ko),rt(t),S(go,this);var e=So(this);try{t(qo(Yo,e),qo(Wo,e))}catch(t){Wo(e,t)}},ko=Co.prototype,(go=function(t){Eo(this,{type:To,done:!1,notified:!1,parent:!1,reactions:new bo,rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)Pn(t,r,e[r],n);return t}(ko,{then:function(t,e){var n=jo(this),r=Lo(jr(this,Co));return n.parent=!0,r.ok=!_(t)||t,r.fail=_(e)&&e,r.domain=kr?Ro.domain:void 0,0==n.state?n.reactions.add(r):so((function(){Go(r,n)})),r.promise},catch:function(t){return this.then(void 0,t)}}),mo=function(){var t=new go,e=So(t);this.promise=t,this.resolve=qo(Yo,e),this.reject=qo(Wo,e)},lo.f=Lo=function(t){return t===Co||t===yo?new mo(t):Do(t)}),Xt({global:!0,wrap:!0,forced:Mo},{Promise:Co}),Vn(Co,To,!1,!0),function(t){var e=G(t),n=Jt.f;O&&e&&!e[ir]&&n(e,ir,{configurable:!0,get:function(){return this}})}(To),yo=G(To),Xt({target:To,stat:!0,forced:Mo},{reject:function(t){var e=Lo(this);return S(e.reject,void 0,t),e.promise}}),Xt({target:To,stat:!0,forced:!0},{resolve:function(t){return po(this===yo?Co:this,t)}}),Xt({target:To,stat:!0,forced:Fo},{all:function(t){var e=this,n=Lo(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),i=[],a=0,c=1;rn(t,(function(t){var u=a++,s=!1;c++,S(n,e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Lo(e),r=n.reject,o=vo((function(){var o=rt(e.resolve);rn(t,(function(t){S(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Xt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=lo.f(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),o=[],i=0,a=1;rn(t,(function(t){var c=i++,u=!1;a++,S(n,e,t).then((function(t){u||(u=!0,o[c]={status:"fulfilled",value:t},--a||r(o))}),(function(t){u||(u=!0,o[c]={status:"rejected",reason:t},--a||r(o))}))})),--a||r(o)}));return i.error&&o(i.value),n.promise}});var Xo="No one promise resolved";Xt({target:"Promise",stat:!0},{any:function(t){var e=this,n=G("AggregateError"),r=lo.f(e),o=r.resolve,i=r.reject,a=vo((function(){var r=rt(e.resolve),a=[],c=0,u=1,s=!1;rn(t,(function(t){var f=c++,l=!1;u++,S(r,e,t).then((function(t){l||s||(s=!0,o(t))}),(function(t){l||s||(l=!0,a[f]=t,--u||i(new n(a,Xo)))}))})),--u||i(new n(a,Xo))}));return a.error&&i(a.value),r.promise}});var Zo=!!or&&w((function(){or.prototype.finally.call({then:function(){}},(function(){}))}));Xt({target:"Promise",proto:!0,real:!0,forced:Zo},{finally:function(t){var e=jr(this,G("Promise")),n=_(t);return this.then(n?function(n){return po(e,t()).then((function(){return n}))}:t,n?function(n){return po(e,t()).then((function(){throw n}))}:t)}});var Qo=b("".charAt),$o=b("".charCodeAt),ti=b("".slice),ei=function(t){return function(e,n){var r,o,i=an(P(e)),a=se(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=$o(i,a))<55296||r>56319||a+1===c||(o=$o(i,a+1))<56320||o>57343?t?Qo(i,a):r:t?ti(i,a,a+2):o-56320+(r-55296<<10)+65536}},ni=(ei(!1),ei(!0)),ri="String Iterator",oi=xn.set,ii=xn.getterFor(ri);tr(String,"String",(function(t){oi(this,{type:ri,string:an(t),index:0})}),(function(){var t,e=ii(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=ni(n,r),e.index+=t.length,{value:t,done:!1})}));var ai=F.Promise,ci=Ot("toStringTag");for(var ui in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var si=s[ui],fi=si&&si.prototype;fi&&Ye(fi)!==ci&&qt(fi,ci,ui),Ge[ui]=Ge.Array}var li=ai,pi=function(){return pi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function vi(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o=0){var r=t.slice();return r.splice(n,1),r}return t};function Ei(t){try{return Oi(t)?t:JSON.stringify(t)}catch(t){return"[FAILED_TO_STRINGIFY]:"+String(t)}}var ji="".padStart?function(t,e){return void 0===e&&(e=8),t.padStart(e," ")}:function(t){return t},Ii=0,Ci=function(){for(var t=[],e=0;e>>((3&n)<<3)&255;return t}();return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(t){for(var e=[],n=0;n<256;++n)e[n]=(n+256).toString(16).substr(1);var r=0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}(t)}var Ki=function(){return Date.now()},Pi="custom",Ni=function(t,e){var n=t.common||{};return n.sample_rate=e,t.common=n,t},Mi=function(t,e,n,r,o){return t?(i=o(r,e),function(){return i}):function(){return n(e)};var i},Fi=function(t,e){try{return"rule"===e.type?function(t,e,n,r){var o=function(t,e){for(var n,r=di(e.split(".")),o=r[0],i=r.slice(1);t&&i.length>0;)t=t[o],o=(n=di(i))[0],i=n.slice(1);if(t)return t[o]}(t,e);return void 0!==o&&function(t,e,n){switch(n){case"eq":return Ti(e,t);case"neq":return!Ti(e,t);case"gt":return t>e[0];case"gte":return t>=e[0];case"lt":return t=i&&f.call(this),clearTimeout(s),s=setTimeout(f.bind(this),c)},flush:function(){clearTimeout(s),f.call(this)},getBatchData:function(){return u.length?(t=u,JSON.stringify({ev_type:"batch",list:t})):"";var t},clear:function(){clearTimeout(s),u=[]},fail:function(t){e=t}}}(t)}var qi=function(t,e){return void 0===e&&(e="/monitor_browser/collect/batch/"),(t&&t.indexOf("//")>=0?"":"https://")+t+e},Wi=function(t){return{bid:"",pid:"",viewId:"__"+Date.now(),userId:Di(),deviceId:Di(),sessionId:Di(),domain:"mon-i18n.tiktokv.com",release:"",env:"production",sample:Ui,plugins:{},transport:{get:gi,post:gi}}},Yi=function(t){var e=void 0===t?{}:t,n=e.createSender,r=void 0===n?function(t){return Ji({size:20,endpoint:qi(t.domain),transport:t.transport})}:n,o=e.builder,i=void 0===o?Bi:o,a=e.createDefaultConfig,c=function(t){var e,n,r=t.builder,o=t.createSender,i=t.createDefaultConfig,a=t.createConfigManager,c=t.userConfigNormalizer,u=t.initConfigNormalizer,s=t.validateInitConfig,f={};hi.forEach((function(t){return f[t]=[]}));var l=!1,p=!1,d=!1,v=[],h=[],g=function(){var t=!1,e={},n=function(t){t.length&&t.forEach((function(t){try{t()}catch(t){}})),t.length=0},r=function(t){e[t]&&e[t].forEach((function(t){n(t[1])})),e[t]=void 0};return{set:function(r,o,i){e[r]?e[r].push([o,i]):e[r]=[[o,i]],t&&n(i)},has:function(t){return!!e[t]},remove:r,removeByEvType:function(t){Object.keys(e).forEach((function(r){e[r]&&e[r].forEach((function(e){e[0]===t&&n(e[1])}))}))},clear:function(){t=!0,Object.keys(e).forEach((function(t){r(t)}))}}}(),m={getBuilder:function(){return r},getSender:function(){return e},getPreStartQueue:function(){return v},init:function(t){if(l)Ai("already inited");else{if(!(t&&yi(t)&&s(t)))throw new Error("invalid InitConfig, init failed");var r=i(t);if(!r)throw new Error("defaultConfig missing");var c=u(t);if((n=a(r)).setConfig(c),n.onChange((function(){y("config")})),!(e=o(n.getConfig())))throw new Error("sender missing");l=!0,y("init",!0)}},set:function(t){l&&t&&yi(t)&&(y("beforeConfig",!1,t),null==n||n.setConfig(t))},config:function(t){if(l)return t&&yi(t)&&(y("beforeConfig",!1,t),null==n||n.setConfig(c(t))),null==n?void 0:n.getConfig()},provide:function(t,e){Ti(h,t)?Ai("cannot provide "+t+", reserved"):(m[t]=e,y("provide",!1,t))},start:function(){var t=this;l&&(p||null==n||n.onReady((function(){p=!0,y("start",!0),v.forEach((function(e){return t.build(e)})),v.length=0})))},report:function(t){if(t){var e=Li(f.beforeReport)(t);if(e){var n=Li(f.report)(e);n&&(p?this.build(n):v.push(n))}}},build:function(t){if(p){var e=Li(f.beforeBuild)(t);if(e){var n=r.build(e);if(n){var o=Li(f.build)(n);o&&this.send(o)}}}},send:function(t){if(p){var n=Li(f.beforeSend)(t);n&&(e.send(n),y("send",!1,n))}},destroy:function(){g.clear(),d=!0,v.length=0,y("beforeDestroy",!0)},on:function(t,e){if("init"===t&&l||"start"===t&&p||"beforeDestroy"===t&&d)try{e()}catch(t){}else f[t]&&f[t].push(e)},off:function(t,e){f[t]&&(f[t]=Si(f[t],e))},destroyAgent:g};return h=Object.keys(m),m;function y(t,e){void 0===e&&(e=!1);for(var n=[],r=2;r=200&&c.status<300){var t={},e=c.response||c.responseText,n=c.getResponseHeader("Content-Type")||c.getResponseHeader("content-type");if(n&&-1!==n.indexOf("application/json"))try{t=JSON.parse(e)}catch(t){}else t=e;setTimeout((function(){i(t)}),0)}else a(new TypeError("Network request failed, status: "+c.status));s()}},c.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed, occur error"))}),0),s()},c.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed, timeout"))}),0),s()},c.onabort=function(){setTimeout((function(){a(new DOMException("Aborted","AbortError"))}),0),s()};var f=e;if((null==o?void 0:o.params)&&(f=f+"?"+function(t){for(var e=Object.keys(t),n="",r=0;r=1?n+"&"+a:a}return n}(o.params)),c.open(n,f,!0),(null==o?void 0:o.timeout)&&"number"==typeof o.timeout?c.timeout=o.timeout:c.timeout=5e3,null==o?void 0:o.headers)for(var l=o.headers,p=0,d=Object.keys(l);p