/*! For license information please see 463.1d0eeca0.js.LICENSE.txt */ "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[463],{69336:(t,e,n)=>{n.r(e),n.d(e,{TTVerifyCenter:()=>Ma,close:()=>Ka,config:()=>Ca,getFp:()=>Na,init:()=>Da,render:()=>La,transform:()=>Fa});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])),!u&&H&&(!(a=H.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=H.match(/Chrome\/(\d+)/))&&(u=+a[1]);var W,Y=u,X=!!Object.getOwnPropertySymbols&&!_((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=U("Symbol");return w(e)&&G(e.prototype,Q(t))},tt=s.String,et=function(t){try{return tt(t)}catch(ki){return"Object"}},nt=s.TypeError,rt=function(t){if(w(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,ut="__core-js_shared__",ct=s[ut]||function(t,e){try{at(s,t,{value:e,configurable:!0,writable:!0})}catch(ki){s[t]=e}return e}(ut,{}),st=i((function(t){(t.exports=function(t,e){return ct[t]||(ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.1",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),ft=s.Object,lt=function(t){return ft(K(t))},pt=b({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return pt(lt(t),e)},ht=0,vt=Math.random(),yt=b(1..toString),mt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+yt(++ht+vt,36)},gt=st("wks"),bt=s.Symbol,wt=bt&&bt.for,_t=Z?bt:bt&&bt.withoutSetter||mt,Tt=function(t){if(!dt(gt,t)||!X&&"string"!=typeof gt[t]){var e="Symbol."+t;X&&dt(bt,t)?gt[t]=bt[t]:gt[t]=Z&&wt?wt(e):_t(e)}return gt[t]},Ot=s.TypeError,Et=Tt("toPrimitive"),St=function(t,e){if(!M(t)||$(t))return t;var n,r=ot(t,Et);if(r){if(void 0===e&&(e="default"),n=E(r,t,e),!M(n)||$(n))return n;throw Ot("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&w(n=t.toString)&&!M(r=E(n,t)))return r;if(w(n=t.valueOf)&&!M(r=E(n,t)))return r;if("string"!==e&&w(n=t.toString)&&!M(r=E(n,t)))return r;throw it("Can't convert object to primitive value")}(t,e)},jt=function(t){var e=St(t,"string");return $(e)?e:e+""},It=s.document,At=M(It)&&M(It.createElement),xt=function(t){return At?It.createElement(t):{}},Pt=!T&&!_((function(){return 7!=Object.defineProperty(xt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,kt={f:T?Rt:function(t,e){if(t=N(t),e=jt(e),Pt)try{return Rt(t,e)}catch(ki){}if(dt(t,e))return A(!E(I.f,t,e),t[e])}},Ct=/#|\.prototype\./,Dt=function(t,e){var n=Kt[Lt(t)];return n==Mt||n!=Nt&&(w(e)?_(e):!!e)},Lt=Dt.normalize=function(t){return String(t).replace(Ct,".").toLowerCase()},Kt=Dt.data={},Nt=Dt.NATIVE="N",Mt=Dt.POLYFILL="P",Ft=Dt,Bt=b(b.bind),Ut=function(t,e){return rt(t),void 0===e?t:Bt?Bt(t,e):function(){return t.apply(e,arguments)}},Gt=s.String,Ht=s.TypeError,qt=function(t){if(M(t))return t;throw Ht(Gt(t)+" is not an object")},zt=s.TypeError,Jt=Object.defineProperty,Vt={f:T?Jt:function(t,e,n){if(qt(t),e=jt(e),qt(n),Pt)try{return Jt(t,e,n)}catch(ki){}if("get"in n||"set"in n)throw zt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Wt=T?function(t,e,n){return Vt.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},Yt=kt.f,Xt=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 h(t,this,arguments)};return e.prototype=t.prototype,e},Zt=function(t,e){var n,r,o,i,a,u,c,f,l=t.target,p=t.global,d=t.stat,h=t.proto,v=p?s:d?s[l]:(s[l]||{}).prototype,y=p?F:F[l]||Wt(F,l,{})[l],m=y.prototype;for(o in e)n=!Ft(p?o:l+(d?".":"#")+o,t.forced)&&v&&dt(v,o),a=y[o],n&&(u=t.noTargetGet?(f=Yt(v,o))&&f.value:v[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(c=t.bind&&n?Ut(i,s):t.wrap&&n?Xt(i):h&&w(i)?b(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Wt(c,"sham",!0),Wt(y,o,c),h&&(dt(F,r=l+"Prototype")||Wt(F,r,{}),Wt(F[r],o,i),t.real&&m&&!m[o]&&Wt(m,o,i)))},Qt=st("keys"),$t=function(t){return Qt[t]||(Qt[t]=mt(t))},te=!_((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ee=$t("IE_PROTO"),ne=s.Object,re=ne.prototype,oe=te?ne.getPrototypeOf:function(t){var e=lt(t);if(dt(e,ee))return e[ee];var n=e.constructor;return w(n)&&e instanceof n?n.prototype:e instanceof ne?re:null},ie=s.String,ae=s.TypeError,ue=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(ki){}return function(n,r){return qt(n),function(t){if("object"==typeof t||w(t))return t;throw ae("Can't set "+ie(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),ce=Math.ceil,se=Math.floor,fe=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:ce)(e)},le=Math.max,pe=Math.min,de=Math.min,he=function(t){return(e=t.length)>0?de(fe(e),9007199254740991):0;var e},ve=function(t){return function(e,n,r){var o,i=N(e),a=he(i),u=function(t,e){var n=fe(t);return n<0?le(n+e,0):pe(n,e)}(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},ye={includes:ve(!0),indexOf:ve(!1)},me={},ge=ye.indexOf,be=b([].push),we=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!dt(me,n)&&dt(r,n)&&be(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~ge(i,n)||be(i,n));return i},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=_e.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Te)}},Ee={f:Object.getOwnPropertySymbols},Se=b([].concat),je=U("Reflect","ownKeys")||function(t){var e=Oe.f(qt(t)),n=Ee.f;return n?Se(e,n(t)):e},Ie=Object.keys||function(t){return we(t,_e)},Ae=T?Object.defineProperties:function(t,e){qt(t);for(var n,r=N(e),o=Ie(e),i=o.length,a=0;i>a;)Vt.f(t,n=o[a++],r[n]);return t},xe=U("document","documentElement"),Pe="prototype",Re="script",ke=$t("IE_PROTO"),Ce=function(){},De=function(t){return"<"+Re+">"+t+""},Le=function(t){t.write(De("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ke=function(){try{W=new ActiveXObject("htmlfile")}catch(ki){}var t,e,n;Ke="undefined"!=typeof document?document.domain&&W?Le(W):(e=xt("iframe"),n="java"+Re+":",e.style.display="none",xe.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(De("document.F=Object")),t.close(),t.F):Le(W);for(var r=_e.length;r--;)delete Ke[Pe][_e[r]];return Ke()};me[ke]=!0;var Ne=Object.create||function(t,e){var n;return null!==t?(Ce[Pe]=qt(t),n=new Ce,Ce[Pe]=null,n[ke]=t):n=Ke(),void 0===e?n:Ae(n,e)},Me=b("".replace),Fe=String(Error("zxcasd").stack),Be=/\n\s*at [^:]*:[^\n]*/,Ue=Be.test(Fe),Ge={},He=Tt("iterator"),qe=Array.prototype,ze={};ze[Tt("toStringTag")]="z";var Je="[object z]"===String(ze),Ve=Tt("toStringTag"),We=s.Object,Ye="Arguments"==R(function(){return arguments}()),Xe=Je?R: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(ki){}}(e=We(t),Ve))?n:Ye?R(e):"Object"==(r=R(e))&&w(e.callee)?"Arguments":r},Ze=Tt("iterator"),Qe=function(t){if(null!=t)return ot(t,Ze)||ot(t,"@@iterator")||Ge[Xe(t)]},$e=s.TypeError,tn=function(t,e,n){var r,o;qt(t);try{if(!(r=ot(t,"return"))){if("throw"===e)throw n;return n}r=E(r,t)}catch(ki){o=!0,r=ki}if("throw"===e)throw n;if(o)throw r;return qt(r),n},en=s.TypeError,nn=function(t,e){this.stopped=t,this.result=e},rn=nn.prototype,on=function(t,e,n){var r,o,i,a,u,c,s,f,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Ut(e,l),y=function(t){return r&&tn(r,"normal",t),new nn(!0,t)},m=function(t){return p?(qt(t),h?v(t[0],t[1],y):v(t[0],t[1])):h?v(t,y):v(t)};if(d)r=t;else{if(!(o=Qe(t)))throw en(et(t)+" is not iterable");if(void 0!==(f=o)&&(Ge.Array===f||qe[He]===f)){for(i=0,a=he(t);a>i;i++)if((u=m(t[i]))&&G(rn,u))return u;return new nn(!1)}r=function(t,e){var n=arguments.length<2?Qe(t):e;if(rt(n))return qt(E(n,t));throw $e(et(t)+" is not iterable")}(t,o)}for(c=r.next;!(s=E(c,r)).done;){try{u=m(s.value)}catch(ki){tn(r,"throw",ki)}if("object"==typeof u&&u&&G(rn,u))return u}return new nn(!1)},an=s.String,un=function(t){if("Symbol"===Xe(t))throw TypeError("Cannot convert a Symbol value to a string");return an(t)},cn=!_((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",A(1,7)),7!==t.stack)})),sn=Tt("toStringTag"),fn=s.Error,ln=[].push,pn=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=G(dn,this);ue?n=ue(new fn,o?oe(this):dn):(n=o?this:Ne(dn),Wt(n,sn,"Error")),void 0!==e&&Wt(n,"message",function(t,e){return void 0===t?arguments.length<2?"":e:un(t)}(e)),cn&&Wt(n,"stack",function(t,e){if(Ue&&"string"==typeof t)for(;e--;)t=Me(t,Be,"");return t}(n.stack,1)),function(t,e){M(e)&&"cause"in e&&Wt(t,"cause",e.cause)}(n,r);var i=[];return on(t,ln,{that:i}),Wt(n,"errors",i),n};ue?ue(pn,fn):function(t,e,n){for(var r=je(e),o=Vt.f,i=kt.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 ir=s.Promise,ar=Tt("species"),ur=s.TypeError,cr=Tt("iterator"),sr=!1;try{var fr=0,lr={next:function(){return{done:!!fr++}},return:function(){sr=!0}};lr[cr]=function(){return this},Array.from(lr,(function(){throw 2}))}catch(ki){}var pr=function(){},dr=[],hr=U("Reflect","construct"),vr=/^\s*(?:class|function)\b/,yr=b(vr.exec),mr=!vr.exec(pr),gr=function(t){if(!w(t))return!1;try{return hr(pr,dr,t),!0}catch(ki){return!1}},br=function(t){if(!w(t))return!1;switch(Xe(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(vr,gn(t))}catch(ki){return!0}};br.sham=!0;var wr,_r,Tr,Or,Er=!hr||_((function(){var t;return gr(gr.call)||!gr(Object)||!gr((function(){t=!0}))||t}))?br:gr,Sr=s.TypeError,jr=Tt("species"),Ir=function(t,e){var n,r=qt(t).constructor;return void 0===r||null==(n=qt(r)[jr])?e:function(t){if(Er(t))return t;throw Sr(et(t)+" is not a constructor")}(n)},Ar=b([].slice),xr=/(?:ipad|iphone|ipod).*applewebkit/i.test(H),Pr="process"==R(s.process),Rr=s.setImmediate,kr=s.clearImmediate,Cr=s.process,Dr=s.Dispatch,Lr=s.Function,Kr=s.MessageChannel,Nr=s.String,Mr=0,Fr={},Br="onreadystatechange";try{wr=s.location}catch(ki){}var Ur=function(t){if(dt(Fr,t)){var e=Fr[t];delete Fr[t],e()}},Gr=function(t){return function(){Ur(t)}},Hr=function(t){Ur(t.data)},qr=function(t){s.postMessage(Nr(t),wr.protocol+"//"+wr.host)};Rr&&kr||(Rr=function(t){var e=Ar(arguments,1);return Fr[++Mr]=function(){h(w(t)?t:Lr(t),void 0,e)},_r(Mr),Mr},kr=function(t){delete Fr[t]},Pr?_r=function(t){Cr.nextTick(Gr(t))}:Dr&&Dr.now?_r=function(t){Dr.now(Gr(t))}:Kr&&!xr?(Or=(Tr=new Kr).port2,Tr.port1.onmessage=Hr,_r=Ut(Or.postMessage,Or)):s.addEventListener&&w(s.postMessage)&&!s.importScripts&&wr&&"file:"!==wr.protocol&&!_(qr)?(_r=qr,s.addEventListener("message",Hr,!1)):_r=Br in xt("script")?function(t){xe.appendChild(xt("script"))[Br]=function(){xe.removeChild(this),Ur(t)}}:function(t){setTimeout(Gr(t),0)});var zr,Jr,Vr,Wr,Yr,Xr,Zr,Qr,$r={set:Rr,clear:kr},to=/ipad|iphone|ipod/i.test(H)&&void 0!==s.Pebble,eo=/web0s(?!.*chrome)/i.test(H),no=kt.f,ro=$r.set,oo=s.MutationObserver||s.WebKitMutationObserver,io=s.document,ao=s.process,uo=s.Promise,co=no(s,"queueMicrotask"),so=co&&co.value;so||(zr=function(){var t,e;for(Pr&&(t=ao.domain)&&t.exit();Jr;){e=Jr.fn,Jr=Jr.next;try{e()}catch(ki){throw Jr?Wr():Vr=void 0,ki}}Vr=void 0,t&&t.enter()},xr||Pr||eo||!oo||!io?!to&&uo&&uo.resolve?((Zr=uo.resolve(void 0)).constructor=uo,Qr=Ut(Zr.then,Zr),Wr=function(){Qr(zr)}):Pr?Wr=function(){ao.nextTick(zr)}:(ro=Ut(ro,s),Wr=function(){ro(zr)}):(Yr=!0,Xr=io.createTextNode(""),new oo(zr).observe(Xr,{characterData:!0}),Wr=function(){Xr.data=Yr=!Yr}));var fo=so||function(t){var e={fn:t,next:void 0};Vr&&(Vr.next=e),Jr||(Jr=e,Wr()),Vr=e},lo=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)},po={f:function(t){return new lo(t)}},ho=function(t,e){if(qt(t),M(e)&&e.constructor===t)return e;var n=po.f(t);return(0,n.resolve)(e),n.promise},vo=function(t){try{return{error:!1,value:t()}}catch(ki){return{error:!0,value:ki}}},yo=function(){this.head=null,this.tail=null};yo.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 mo,go,bo,wo=yo,_o="object"==typeof window,To=$r.set,Oo=Tt("species"),Eo="Promise",So=kn.getterFor(Eo),jo=kn.set,Io=kn.getterFor(Eo),Ao=ir&&ir.prototype,xo=ir,Po=Ao,Ro=s.TypeError,ko=s.document,Co=s.process,Do=po.f,Lo=Do,Ko=!!(ko&&ko.createEvent&&s.dispatchEvent),No=w(s.PromiseRejectionEvent),Mo="unhandledrejection",Fo=Ft(Eo,(function(){var t=gn(xo),e=t!==String(xo);if(!e&&66===Y)return!0;if(!Po.finally)return!0;if(Y>=51&&/native code/.test(t))return!1;var n=new xo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[Oo]=r,!(n.then((function(){}))instanceof r)||!e&&_o&&!No})),Bo=Fo||!function(t,e){if(!e&&!sr)return!1;var n=!1;try{var r={};r[cr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(ki){}return n}((function(t){xo.all(t).catch((function(){}))})),Uo=function(t){var e;return!(!M(t)||!w(e=t.then))&&e},Go=function(t,e){var n,r,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,s=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&Vo(e),e.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===t.promise?s(Ro("Promise-chain cycle")):(r=Uo(n))?E(r,n,c,s):c(n)):s(i)}catch(ki){f&&!o&&f.exit(),s(ki)}},Ho=function(t,e){t.notified||(t.notified=!0,fo((function(){for(var n,r=t.reactions;n=r.get();)Go(n,t);t.notified=!1,e&&!t.rejection&&zo(t)})))},qo=function(t,e,n){var r,o;Ko?((r=ko.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!No&&(o=s["on"+t])?o(r):t===Mo&&function(t,e){var n=s.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},zo=function(t){E(To,s,(function(){var e,n=t.facade,r=t.value;if(Jo(t)&&(e=vo((function(){Pr?Co.emit("unhandledRejection",r,n):qo(Mo,n,r)})),t.rejection=Pr||Jo(t)?2:1,e.error))throw e.value}))},Jo=function(t){return 1!==t.rejection&&!t.parent},Vo=function(t){E(To,s,(function(){var e=t.facade;Pr?Co.emit("rejectionHandled",e):qo("rejectionhandled",e,t.value)}))},Wo=function(t,e,n){return function(r){t(e,r,n)}},Yo=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Ho(t,!0))},Xo=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Ro("Promise can't be resolved itself");var r=Uo(e);r?fo((function(){var n={done:!1};try{E(r,e,Wo(Xo,n,t),Wo(Yo,n,t))}catch(ki){Yo(n,ki,t)}})):(t.value=e,t.state=1,Ho(t,!1))}catch(ki){Yo({done:!1},ki,t)}}};Fo&&(xo=function(t){!function(t,e){if(G(e,t))return t;throw ur("Incorrect invocation")}(this,Po),rt(t),E(mo,this);var e=So(this);try{t(Wo(Xo,e),Wo(Yo,e))}catch(ki){Yo(e,ki)}},Po=xo.prototype,(mo=function(t){jo(this,{type:Eo,done:!1,notified:!1,parent:!1,reactions:new wo,rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)n&&n.unsafe&&t[r]?t[r]=e[r]:Nn(t,r,e[r],n);return t}(Po,{then:function(t,e){var n=Io(this),r=Do(Ir(this,xo));return n.parent=!0,r.ok=!w(t)||t,r.fail=w(e)&&e,r.domain=Pr?Co.domain:void 0,0==n.state?n.reactions.add(r):fo((function(){Go(r,n)})),r.promise},catch:function(t){return this.then(void 0,t)}}),go=function(){var t=new mo,e=So(t);this.promise=t,this.resolve=Wo(Xo,e),this.reject=Wo(Yo,e)},po.f=Do=function(t){return t===xo||t===bo?new go(t):Lo(t)}),Zt({global:!0,wrap:!0,forced:Fo},{Promise:xo}),zn(xo,Eo,!1,!0),function(t){var e=U(t),n=Vt.f;T&&e&&!e[ar]&&n(e,ar,{configurable:!0,get:function(){return this}})}(Eo),bo=U(Eo),Zt({target:Eo,stat:!0,forced:Fo},{reject:function(t){var e=Do(this);return E(e.reject,void 0,t),e.promise}}),Zt({target:Eo,stat:!0,forced:!0},{resolve:function(t){return ho(this===bo?xo:this,t)}}),Zt({target:Eo,stat:!0,forced:Bo},{all:function(t){var e=this,n=Do(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),i=[],a=0,u=1;on(t,(function(t){var c=a++,s=!1;u++,E(n,e,t).then((function(t){s||(s=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Do(e),r=n.reject,o=vo((function(){var o=rt(e.resolve);on(t,(function(t){E(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Zt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=po.f(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),o=[],i=0,a=1;on(t,(function(t){var u=i++,c=!1;a++,E(n,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||r(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||r(o))}))})),--a||r(o)}));return i.error&&o(i.value),n.promise}});var Zo="No one promise resolved";Zt({target:"Promise",stat:!0},{any:function(t){var e=this,n=U("AggregateError"),r=po.f(e),o=r.resolve,i=r.reject,a=vo((function(){var r=rt(e.resolve),a=[],u=0,c=1,s=!1;on(t,(function(t){var f=u++,l=!1;c++,E(r,e,t).then((function(t){l||s||(s=!0,o(t))}),(function(t){l||s||(l=!0,a[f]=t,--c||i(new n(a,Zo)))}))})),--c||i(new n(a,Zo))}));return a.error&&i(a.value),r.promise}});var Qo=!!ir&&_((function(){ir.prototype.finally.call({then:function(){}},(function(){}))}));Zt({target:"Promise",proto:!0,real:!0,forced:Qo},{finally:function(t){var e=Ir(this,U("Promise")),n=w(t);return this.then(n?function(n){return ho(e,t()).then((function(){return n}))}:t,n?function(n){return ho(e,t()).then((function(){throw n}))}:t)}});var $o=b("".charAt),ti=b("".charCodeAt),ei=b("".slice),ni=function(t){return function(e,n){var r,o,i=un(K(e)),a=fe(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=ti(i,a))<55296||r>56319||a+1===u||(o=ti(i,a+1))<56320||o>57343?t?$o(i,a):r:t?ei(i,a,a+2):o-56320+(r-55296<<10)+65536}},ri={codeAt:ni(!1),charAt:ni(!0)}.charAt,oi="String Iterator",ii=kn.set,ai=kn.getterFor(oi);er(String,"String",(function(t){ii(this,{type:oi,string:un(t),index:0})}),(function(){var t,e=ai(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=ri(n,r),e.index+=t.length,{value:t,done:!1})}));var ui=F.Promise,ci=Tt("toStringTag");for(var si 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 fi=s[si],li=fi&&fi.prototype;li&&Xe(li)!==ci&&Wt(li,ci,si),Ge[si]=Ge.Array}var pi=ui,di=10,hi=1e3,vi=function(t){return JSON.stringify({ev_type:"batch",list:t})};var yi=function(){return yi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(ki){o={error:ki}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function gi(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 xi(t){try{return ji(t)?t:JSON.stringify(t)}catch(e){return"[FAILED_TO_STRINGIFY]:"+String(e)}}var Pi="".padStart?function(t,e){return void 0===e&&(e=8),t.padStart(e," ")}:function(t){return t},Ri=0,ki=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)}function Fi(t){var e,n,r=t.builder,o=t.createSender,i=t.createDefaultConfig,a=t.createConfigManager,u=t.userConfigNormalizer,c=t.initConfigNormalizer,s=t.validateInitConfig,f={};bi.forEach((function(t){return f[t]=[]}));var l=!1,p=!1,d=!1,h=[],v=[],y=function(){var t=!1,e={},n=function(t){t.length&&t.forEach((function(t){try{t()}catch(e){}})),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 h},init:function(t){if(l)Di("already inited");else{if(!(t&&Ti(t)&&s(t)))throw new Error("invalid InitConfig, init failed");var r=i(t);if(!r)throw new Error("defaultConfig missing");var u=c(t);if((n=a(r)).setConfig(u),n.onChange((function(){g("config")})),!(e=o(n.getConfig())))throw new Error("sender missing");l=!0,g("init",!0)}},set:function(t){l&&t&&Ti(t)&&(g("beforeConfig",!1,t),null==n||n.setConfig(t))},config:function(t){if(l)return t&&Ti(t)&&(g("beforeConfig",!1,t),null==n||n.setConfig(u(t))),null==n?void 0:n.getConfig()},provide:function(t,e){Ii(v,t)?Di("cannot provide "+t+", reserved"):(m[t]=e,g("provide",!1,t))},start:function(){var t=this;l&&(p||null==n||n.onReady((function(){p=!0,g("start",!0),h.forEach((function(e){return t.build(e)})),h.length=0})))},report:function(t){if(t){var e=Ni(f.beforeReport)(t);if(e){var n=Ni(f.report)(e);n&&(p?this.build(n):h.push(n))}}},build:function(t){if(p){var e=Ni(f.beforeBuild)(t);if(e){var n=r.build(e);if(n){var o=Ni(f.build)(n);o&&this.send(o)}}}},send:function(t){if(p){var n=Ni(f.beforeSend)(t);n&&(e.send(n),g("send",!1,n))}},destroy:function(){y.clear(),d=!0,h.length=0,g("beforeDestroy",!0)},on:function(t,e){if("init"===t&&l||"start"===t&&p||"beforeDestroy"===t&&d)try{e()}catch(n){}else f[t]&&f[t].push(e)},off:function(t,e){f[t]&&(f[t]=Ai(f[t],e))},destroyAgent:y};return v=Object.keys(m),m;function g(t,e){void 0===e&&(e=!1);for(var n=[],r=2;r0;)t=t[i],i=(r=mi(a))[0],a=r.slice(1);if(t)return n(t,i)}(t,e,(function(t,e){return t[e]}));return void 0!==o&&function(t,e,n){switch(n){case"eq":return Ii(e,t);case"neq":return!Ii(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),u)},flush:function(){clearTimeout(s),f.call(this)},getBatchData:function(){return c.length?vi(c):""},clear:function(){clearTimeout(s),c=[]},fail:function(t){e=t}}}(t)}var ia=function(t,e){return void 0===e&&(e="/monitor_browser/collect/batch/"),(t&&t.indexOf("//")>=0?"":"https://")+t+e},aa=function(t){return{bid:"",pid:"",viewId:(e="_",e+"_"+Date.now()),userId:Mi(),deviceId:Mi(),sessionId:Mi(),domain:"mon-va.byteoversea.com",release:"",env:"production",sample:Qi,plugins:{},transport:{get:wi,post:wi}};var e},ua=function(t){var e=void 0===t?{}:t,n=e.createSender,r=void 0===n?function(t){return oa({size:20,endpoint:ia(t.domain),transport:t.transport})}:n,o=e.builder,i=void 0===o?Xi:o,a=e.createDefaultConfig,u=Fi({validateInitConfig:ta,initConfigNormalizer:$i,userConfigNormalizer:ea,createSender:r,builder:i,createDefaultConfig:void 0===a?aa:a,createConfigManager:Zi});return Bi(u),ra(u),na(u),function(t,e){t.on("init",(function(){var n=[],r=function(r){r.forEach((function(r){var o=r.name;Ii(n,o)||(n.push(o),r.setup(t),e&&e(o,r.setup),t.destroyAgent.set(o,o,[function(){n=Ai(n,o),r.tearDown&&r.tearDown()}]))}))};t.provide("applyIntegrations",r);var o=t.config();o&&o.integrations&&r(o.integrations)}))}(u),u},ca=function(t){void 0===t&&(t={});var e=ua(t);return function(t){t.on("start",(function(){var e=t.config(),n=e.userId,r=e.sample,o=Yi(n,r,Li,Ki,[function(){t.destroy()},function(e){t.destroyAgent.removeByEvType(e)}]);t.on("build",o)}))}(e),qi(e),e};ca();var sa,fa="sg",la={in:"https://sgali-mcs.byteoversea.com",sg:"https://sgali-mcs.byteoversea.com",va:"https://maliva-mcs.byteoversea.com",tcpy:"https://mcs-sg.tiktok.com",tcpy_in:"https://mcs-va-useast2a.tiktokv.com",ttp:"https://mcs.tiktokw.us",ttp2:"https://mcs.tiktokw.us"},pa="s_v_web_id",da="/vc/setting",ha=function(t){return-1!==["ttp","tcpy"].indexOf(t)?"/v1/list":"/list"},va=function(t){return-1!==["ttp","tcpy"].indexOf(t)?"/v1/user/webid":"/webid"};!function(t){t[t.TIKTOK_NATIVE=1180]="TIKTOK_NATIVE",t[t.MUSICALLY_NATIVE=1233]="MUSICALLY_NATIVE",t[t.TIKTOK_LOGIN_WEB=1459]="TIKTOK_LOGIN_WEB",t[t.TIKTOK_LITE=1340]="TIKTOK_LITE",t[t.TIKTOK_MUSIC=310024]="TIKTOK_MUSIC",t[t.TIKTOK_OPEN_PLATFORM=2471]="TIKTOK_OPEN_PLATFORM",t[t.TIKTOK_LIVE_BACKSTAGE=6849]="TIKTOK_LIVE_BACKSTAGE",t[t.TIKTOK_SAFETY_ENFORCEMENT_TOOL=326738]="TIKTOK_SAFETY_ENFORCEMENT_TOOL",t[t.TIKTOK_ADS=1583]="TIKTOK_ADS",t[t.TIKTOK_SELLER_APP=7743]="TIKTOK_SELLER_APP",t[t.TIKTOK_MAGELLAN=4068]="TIKTOK_MAGELLAN",t[t.TIKTOK_MAGELLAN2=6556]="TIKTOK_MAGELLAN2",t[t.TIKTOK_WEB=1988]="TIKTOK_WEB",t[t.TIKTOK_BIZ_CENTER=2239]="TIKTOK_BIZ_CENTER"}(sa||(sa={}));var ya=function(t){return{aid:t.commonOptions.aid}},ma=function(){function t(){this.isInit=!1,this.pid="0",this.filename=""}return t.prototype.init=function(t,e){if(!this.isInit){this.isInit=!0,this.pid=String(t.aid),this.browserSlardar=ca();var n={transport:{get:function(){},post:function(t){var n=t.url,r=t.data;e(n,JSON.parse(r))}},bid:"verify_center_va",pid:this.pid,release:"3.8.21-alpha.2",env:fa,sample:{sample_rate:1,include_users:[],sample_granularity:"session",rules:{pageview:{enable:!0,sample_rate:.01},js_error:{enable:!0,sample_rate:1},resource_error:{enable:!0,sample_rate:.01},http:{enable:!0,sample_rate:.01},resource:{enable:!0,sample_rate:.01}}}};this.browserSlardar.init(n),this.browserSlardar.context.merge({belong:"hotsdk"})}},t.prototype.start=function(){var t=this;this.browserSlardar.start(),this.reportPageview(),window.addEventListener("error",(function(e){var n,r;"ErrorEvent"===(r=e,Object.prototype.toString.call(r).slice(8,-1))&&t.filename&&e.filename===t.filename&&t.reportJsError({message:null==e?void 0:e.message,stack:null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.stack,filename:null==e?void 0:e.filename})}),!0)},t.prototype.destroy=function(){this.browserSlardar.destroy()},t.prototype.reportPageview=function(){this.browserSlardar.report({ev_type:"pageview",payload:{pid:this.pid,source:"init"}})},t.prototype.reportJsError=function(t){this.browserSlardar.report({ev_type:"js_error",payload:{error:{name:"JS ERROR",message:t.message,stack:t.stack,filename:t.filename||this.filename},breadcrumbs:[]}})},t.prototype.reportHttp=function(t){this.browserSlardar.report({ev_type:"http",payload:{api:"xhr",request:{method:t.method,url:t.url},response:{status:t.status,is_custom_error:!1,timestamp:Date.now()},duration:t.duration}})},t.prototype.reportResourceError=function(t){this.browserSlardar.report({ev_type:"resource_error",payload:{type:"script",url:t}})},t.prototype.reportResource=function(t){this.browserSlardar.report({ev_type:"resource",payload:{entryType:"resource",name:t.url,duration:t.duration,startTime:t.startTime}})},t.prototype.setFileName=function(t){this.filename=t},t}(),ga=new ma,ba=function(t){var e=t.url,n=t.method,r=t.data,o=t.config;return new pi((function(i,a){var u=new XMLHttpRequest,c=Date.now(),s=function(){-1!==t.url.indexOf(da)&&ga.reportHttp({url:e,method:n,duration:Date.now()-c,status:u.status})};u.onreadystatechange=function(){if(u.readyState===u.DONE){if(u.status>=200&&u.status<300){var t={},e=u.response||u.responseText,n=u.getResponseHeader("Content-Type")||u.getResponseHeader("content-type");if(n&&-1!==n.indexOf("application/json"))try{t=JSON.parse(e)}catch(r){}else t=e;setTimeout((function(){i(t)}),0)}else a(new TypeError("Network request failed, status: "+u.status));s()}},u.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed, occur error"))}),0),s()},u.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed, timeout"))}),0),s()},u.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)),u.open(n,f,!0),(null==o?void 0:o.timeout)&&"number"==typeof o.timeout?u.timeout=o.timeout:u.timeout=5e3,null==o?void 0:o.headers)for(var l=o.headers,p=0,d=Object.keys(l);p{n.r(e),n.d(e,{TTVerifyCenter:()=>Ma,close:()=>Ka,config:()=>Ca,getFp:()=>Na,init:()=>Da,render:()=>La,transform:()=>Fa});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])),!u&&H&&(!(a=H.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=H.match(/Chrome\/(\d+)/))&&(u=+a[1]);var W,Y=u,X=!!Object.getOwnPropertySymbols&&!_((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=U("Symbol");return w(e)&&G(e.prototype,Q(t))},tt=s.String,et=function(t){try{return tt(t)}catch(ki){return"Object"}},nt=s.TypeError,rt=function(t){if(w(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,ut="__core-js_shared__",ct=s[ut]||function(t,e){try{at(s,t,{value:e,configurable:!0,writable:!0})}catch(ki){s[t]=e}return e}(ut,{}),st=i((function(t){(t.exports=function(t,e){return ct[t]||(ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.1",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),ft=s.Object,lt=function(t){return ft(K(t))},pt=b({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return pt(lt(t),e)},ht=0,vt=Math.random(),yt=b(1..toString),mt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+yt(++ht+vt,36)},gt=st("wks"),bt=s.Symbol,wt=bt&&bt.for,_t=Z?bt:bt&&bt.withoutSetter||mt,Tt=function(t){if(!dt(gt,t)||!X&&"string"!=typeof gt[t]){var e="Symbol."+t;X&&dt(bt,t)?gt[t]=bt[t]:gt[t]=Z&&wt?wt(e):_t(e)}return gt[t]},Ot=s.TypeError,Et=Tt("toPrimitive"),St=function(t,e){if(!M(t)||$(t))return t;var n,r=ot(t,Et);if(r){if(void 0===e&&(e="default"),n=E(r,t,e),!M(n)||$(n))return n;throw Ot("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&w(n=t.toString)&&!M(r=E(n,t)))return r;if(w(n=t.valueOf)&&!M(r=E(n,t)))return r;if("string"!==e&&w(n=t.toString)&&!M(r=E(n,t)))return r;throw it("Can't convert object to primitive value")}(t,e)},jt=function(t){var e=St(t,"string");return $(e)?e:e+""},It=s.document,At=M(It)&&M(It.createElement),xt=function(t){return At?It.createElement(t):{}},Pt=!T&&!_((function(){return 7!=Object.defineProperty(xt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,kt={f:T?Rt:function(t,e){if(t=N(t),e=jt(e),Pt)try{return Rt(t,e)}catch(ki){}if(dt(t,e))return A(!E(I.f,t,e),t[e])}},Ct=/#|\.prototype\./,Dt=function(t,e){var n=Kt[Lt(t)];return n==Mt||n!=Nt&&(w(e)?_(e):!!e)},Lt=Dt.normalize=function(t){return String(t).replace(Ct,".").toLowerCase()},Kt=Dt.data={},Nt=Dt.NATIVE="N",Mt=Dt.POLYFILL="P",Ft=Dt,Bt=b(b.bind),Ut=function(t,e){return rt(t),void 0===e?t:Bt?Bt(t,e):function(){return t.apply(e,arguments)}},Gt=s.String,Ht=s.TypeError,qt=function(t){if(M(t))return t;throw Ht(Gt(t)+" is not an object")},zt=s.TypeError,Jt=Object.defineProperty,Vt={f:T?Jt:function(t,e,n){if(qt(t),e=jt(e),qt(n),Pt)try{return Jt(t,e,n)}catch(ki){}if("get"in n||"set"in n)throw zt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Wt=T?function(t,e,n){return Vt.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},Yt=kt.f,Xt=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 h(t,this,arguments)};return e.prototype=t.prototype,e},Zt=function(t,e){var n,r,o,i,a,u,c,f,l=t.target,p=t.global,d=t.stat,h=t.proto,v=p?s:d?s[l]:(s[l]||{}).prototype,y=p?F:F[l]||Wt(F,l,{})[l],m=y.prototype;for(o in e)n=!Ft(p?o:l+(d?".":"#")+o,t.forced)&&v&&dt(v,o),a=y[o],n&&(u=t.noTargetGet?(f=Yt(v,o))&&f.value:v[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(c=t.bind&&n?Ut(i,s):t.wrap&&n?Xt(i):h&&w(i)?b(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Wt(c,"sham",!0),Wt(y,o,c),h&&(dt(F,r=l+"Prototype")||Wt(F,r,{}),Wt(F[r],o,i),t.real&&m&&!m[o]&&Wt(m,o,i)))},Qt=st("keys"),$t=function(t){return Qt[t]||(Qt[t]=mt(t))},te=!_((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ee=$t("IE_PROTO"),ne=s.Object,re=ne.prototype,oe=te?ne.getPrototypeOf:function(t){var e=lt(t);if(dt(e,ee))return e[ee];var n=e.constructor;return w(n)&&e instanceof n?n.prototype:e instanceof ne?re:null},ie=s.String,ae=s.TypeError,ue=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(ki){}return function(n,r){return qt(n),function(t){if("object"==typeof t||w(t))return t;throw ae("Can't set "+ie(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),ce=Math.ceil,se=Math.floor,fe=function(t){var e=+t;return e!=e||0===e?0:(e>0?se:ce)(e)},le=Math.max,pe=Math.min,de=Math.min,he=function(t){return(e=t.length)>0?de(fe(e),9007199254740991):0;var e},ve=function(t){return function(e,n,r){var o,i=N(e),a=he(i),u=function(t,e){var n=fe(t);return n<0?le(n+e,0):pe(n,e)}(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},ye={includes:ve(!0),indexOf:ve(!1)},me={},ge=ye.indexOf,be=b([].push),we=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!dt(me,n)&&dt(r,n)&&be(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~ge(i,n)||be(i,n));return i},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=_e.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Te)}},Ee={f:Object.getOwnPropertySymbols},Se=b([].concat),je=U("Reflect","ownKeys")||function(t){var e=Oe.f(qt(t)),n=Ee.f;return n?Se(e,n(t)):e},Ie=Object.keys||function(t){return we(t,_e)},Ae=T?Object.defineProperties:function(t,e){qt(t);for(var n,r=N(e),o=Ie(e),i=o.length,a=0;i>a;)Vt.f(t,n=o[a++],r[n]);return t},xe=U("document","documentElement"),Pe="prototype",Re="script",ke=$t("IE_PROTO"),Ce=function(){},De=function(t){return"<"+Re+">"+t+""},Le=function(t){t.write(De("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ke=function(){try{W=new ActiveXObject("htmlfile")}catch(ki){}var t,e,n;Ke="undefined"!=typeof document?document.domain&&W?Le(W):(e=xt("iframe"),n="java"+Re+":",e.style.display="none",xe.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(De("document.F=Object")),t.close(),t.F):Le(W);for(var r=_e.length;r--;)delete Ke[Pe][_e[r]];return Ke()};me[ke]=!0;var Ne=Object.create||function(t,e){var n;return null!==t?(Ce[Pe]=qt(t),n=new Ce,Ce[Pe]=null,n[ke]=t):n=Ke(),void 0===e?n:Ae(n,e)},Me=b("".replace),Fe=String(Error("zxcasd").stack),Be=/\n\s*at [^:]*:[^\n]*/,Ue=Be.test(Fe),Ge={},He=Tt("iterator"),qe=Array.prototype,ze={};ze[Tt("toStringTag")]="z";var Je="[object z]"===String(ze),Ve=Tt("toStringTag"),We=s.Object,Ye="Arguments"==R(function(){return arguments}()),Xe=Je?R: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(ki){}}(e=We(t),Ve))?n:Ye?R(e):"Object"==(r=R(e))&&w(e.callee)?"Arguments":r},Ze=Tt("iterator"),Qe=function(t){if(null!=t)return ot(t,Ze)||ot(t,"@@iterator")||Ge[Xe(t)]},$e=s.TypeError,tn=function(t,e,n){var r,o;qt(t);try{if(!(r=ot(t,"return"))){if("throw"===e)throw n;return n}r=E(r,t)}catch(ki){o=!0,r=ki}if("throw"===e)throw n;if(o)throw r;return qt(r),n},en=s.TypeError,nn=function(t,e){this.stopped=t,this.result=e},rn=nn.prototype,on=function(t,e,n){var r,o,i,a,u,c,s,f,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Ut(e,l),y=function(t){return r&&tn(r,"normal",t),new nn(!0,t)},m=function(t){return p?(qt(t),h?v(t[0],t[1],y):v(t[0],t[1])):h?v(t,y):v(t)};if(d)r=t;else{if(!(o=Qe(t)))throw en(et(t)+" is not iterable");if(void 0!==(f=o)&&(Ge.Array===f||qe[He]===f)){for(i=0,a=he(t);a>i;i++)if((u=m(t[i]))&&G(rn,u))return u;return new nn(!1)}r=function(t,e){var n=arguments.length<2?Qe(t):e;if(rt(n))return qt(E(n,t));throw $e(et(t)+" is not iterable")}(t,o)}for(c=r.next;!(s=E(c,r)).done;){try{u=m(s.value)}catch(ki){tn(r,"throw",ki)}if("object"==typeof u&&u&&G(rn,u))return u}return new nn(!1)},an=s.String,un=function(t){if("Symbol"===Xe(t))throw TypeError("Cannot convert a Symbol value to a string");return an(t)},cn=!_((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",A(1,7)),7!==t.stack)})),sn=Tt("toStringTag"),fn=s.Error,ln=[].push,pn=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=G(dn,this);ue?n=ue(new fn,o?oe(this):dn):(n=o?this:Ne(dn),Wt(n,sn,"Error")),void 0!==e&&Wt(n,"message",function(t,e){return void 0===t?arguments.length<2?"":e:un(t)}(e)),cn&&Wt(n,"stack",function(t,e){if(Ue&&"string"==typeof t)for(;e--;)t=Me(t,Be,"");return t}(n.stack,1)),function(t,e){M(e)&&"cause"in e&&Wt(t,"cause",e.cause)}(n,r);var i=[];return on(t,ln,{that:i}),Wt(n,"errors",i),n};ue?ue(pn,fn):function(t,e,n){for(var r=je(e),o=Vt.f,i=kt.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 ir=s.Promise,ar=Tt("species"),ur=s.TypeError,cr=Tt("iterator"),sr=!1;try{var fr=0,lr={next:function(){return{done:!!fr++}},return:function(){sr=!0}};lr[cr]=function(){return this},Array.from(lr,(function(){throw 2}))}catch(ki){}var pr=function(){},dr=[],hr=U("Reflect","construct"),vr=/^\s*(?:class|function)\b/,yr=b(vr.exec),mr=!vr.exec(pr),gr=function(t){if(!w(t))return!1;try{return hr(pr,dr,t),!0}catch(ki){return!1}},br=function(t){if(!w(t))return!1;switch(Xe(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(vr,gn(t))}catch(ki){return!0}};br.sham=!0;var wr,_r,Tr,Or,Er=!hr||_((function(){var t;return gr(gr.call)||!gr(Object)||!gr((function(){t=!0}))||t}))?br:gr,Sr=s.TypeError,jr=Tt("species"),Ir=function(t,e){var n,r=qt(t).constructor;return void 0===r||null==(n=qt(r)[jr])?e:function(t){if(Er(t))return t;throw Sr(et(t)+" is not a constructor")}(n)},Ar=b([].slice),xr=/(?:ipad|iphone|ipod).*applewebkit/i.test(H),Pr="process"==R(s.process),Rr=s.setImmediate,kr=s.clearImmediate,Cr=s.process,Dr=s.Dispatch,Lr=s.Function,Kr=s.MessageChannel,Nr=s.String,Mr=0,Fr={},Br="onreadystatechange";try{wr=s.location}catch(ki){}var Ur=function(t){if(dt(Fr,t)){var e=Fr[t];delete Fr[t],e()}},Gr=function(t){return function(){Ur(t)}},Hr=function(t){Ur(t.data)},qr=function(t){s.postMessage(Nr(t),wr.protocol+"//"+wr.host)};Rr&&kr||(Rr=function(t){var e=Ar(arguments,1);return Fr[++Mr]=function(){h(w(t)?t:Lr(t),void 0,e)},_r(Mr),Mr},kr=function(t){delete Fr[t]},Pr?_r=function(t){Cr.nextTick(Gr(t))}:Dr&&Dr.now?_r=function(t){Dr.now(Gr(t))}:Kr&&!xr?(Or=(Tr=new Kr).port2,Tr.port1.onmessage=Hr,_r=Ut(Or.postMessage,Or)):s.addEventListener&&w(s.postMessage)&&!s.importScripts&&wr&&"file:"!==wr.protocol&&!_(qr)?(_r=qr,s.addEventListener("message",Hr,!1)):_r=Br in xt("script")?function(t){xe.appendChild(xt("script"))[Br]=function(){xe.removeChild(this),Ur(t)}}:function(t){setTimeout(Gr(t),0)});var zr,Jr,Vr,Wr,Yr,Xr,Zr,Qr,$r={set:Rr,clear:kr},to=/ipad|iphone|ipod/i.test(H)&&void 0!==s.Pebble,eo=/web0s(?!.*chrome)/i.test(H),no=kt.f,ro=$r.set,oo=s.MutationObserver||s.WebKitMutationObserver,io=s.document,ao=s.process,uo=s.Promise,co=no(s,"queueMicrotask"),so=co&&co.value;so||(zr=function(){var t,e;for(Pr&&(t=ao.domain)&&t.exit();Jr;){e=Jr.fn,Jr=Jr.next;try{e()}catch(ki){throw Jr?Wr():Vr=void 0,ki}}Vr=void 0,t&&t.enter()},xr||Pr||eo||!oo||!io?!to&&uo&&uo.resolve?((Zr=uo.resolve(void 0)).constructor=uo,Qr=Ut(Zr.then,Zr),Wr=function(){Qr(zr)}):Pr?Wr=function(){ao.nextTick(zr)}:(ro=Ut(ro,s),Wr=function(){ro(zr)}):(Yr=!0,Xr=io.createTextNode(""),new oo(zr).observe(Xr,{characterData:!0}),Wr=function(){Xr.data=Yr=!Yr}));var fo=so||function(t){var e={fn:t,next:void 0};Vr&&(Vr.next=e),Jr||(Jr=e,Wr()),Vr=e},lo=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)},po={f:function(t){return new lo(t)}},ho=function(t,e){if(qt(t),M(e)&&e.constructor===t)return e;var n=po.f(t);return(0,n.resolve)(e),n.promise},vo=function(t){try{return{error:!1,value:t()}}catch(ki){return{error:!0,value:ki}}},yo=function(){this.head=null,this.tail=null};yo.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 mo,go,bo,wo=yo,_o="object"==typeof window,To=$r.set,Oo=Tt("species"),Eo="Promise",So=kn.getterFor(Eo),jo=kn.set,Io=kn.getterFor(Eo),Ao=ir&&ir.prototype,xo=ir,Po=Ao,Ro=s.TypeError,ko=s.document,Co=s.process,Do=po.f,Lo=Do,Ko=!!(ko&&ko.createEvent&&s.dispatchEvent),No=w(s.PromiseRejectionEvent),Mo="unhandledrejection",Fo=Ft(Eo,(function(){var t=gn(xo),e=t!==String(xo);if(!e&&66===Y)return!0;if(!Po.finally)return!0;if(Y>=51&&/native code/.test(t))return!1;var n=new xo((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[Oo]=r,!(n.then((function(){}))instanceof r)||!e&&_o&&!No})),Bo=Fo||!function(t,e){if(!e&&!sr)return!1;var n=!1;try{var r={};r[cr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(ki){}return n}((function(t){xo.all(t).catch((function(){}))})),Uo=function(t){var e;return!(!M(t)||!w(e=t.then))&&e},Go=function(t,e){var n,r,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,s=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&Vo(e),e.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===t.promise?s(Ro("Promise-chain cycle")):(r=Uo(n))?E(r,n,c,s):c(n)):s(i)}catch(ki){f&&!o&&f.exit(),s(ki)}},Ho=function(t,e){t.notified||(t.notified=!0,fo((function(){for(var n,r=t.reactions;n=r.get();)Go(n,t);t.notified=!1,e&&!t.rejection&&zo(t)})))},qo=function(t,e,n){var r,o;Ko?((r=ko.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!No&&(o=s["on"+t])?o(r):t===Mo&&function(t,e){var n=s.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},zo=function(t){E(To,s,(function(){var e,n=t.facade,r=t.value;if(Jo(t)&&(e=vo((function(){Pr?Co.emit("unhandledRejection",r,n):qo(Mo,n,r)})),t.rejection=Pr||Jo(t)?2:1,e.error))throw e.value}))},Jo=function(t){return 1!==t.rejection&&!t.parent},Vo=function(t){E(To,s,(function(){var e=t.facade;Pr?Co.emit("rejectionHandled",e):qo("rejectionhandled",e,t.value)}))},Wo=function(t,e,n){return function(r){t(e,r,n)}},Yo=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Ho(t,!0))},Xo=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Ro("Promise can't be resolved itself");var r=Uo(e);r?fo((function(){var n={done:!1};try{E(r,e,Wo(Xo,n,t),Wo(Yo,n,t))}catch(ki){Yo(n,ki,t)}})):(t.value=e,t.state=1,Ho(t,!1))}catch(ki){Yo({done:!1},ki,t)}}};Fo&&(xo=function(t){!function(t,e){if(G(e,t))return t;throw ur("Incorrect invocation")}(this,Po),rt(t),E(mo,this);var e=So(this);try{t(Wo(Xo,e),Wo(Yo,e))}catch(ki){Yo(e,ki)}},Po=xo.prototype,(mo=function(t){jo(this,{type:Eo,done:!1,notified:!1,parent:!1,reactions:new wo,rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)n&&n.unsafe&&t[r]?t[r]=e[r]:Nn(t,r,e[r],n);return t}(Po,{then:function(t,e){var n=Io(this),r=Do(Ir(this,xo));return n.parent=!0,r.ok=!w(t)||t,r.fail=w(e)&&e,r.domain=Pr?Co.domain:void 0,0==n.state?n.reactions.add(r):fo((function(){Go(r,n)})),r.promise},catch:function(t){return this.then(void 0,t)}}),go=function(){var t=new mo,e=So(t);this.promise=t,this.resolve=Wo(Xo,e),this.reject=Wo(Yo,e)},po.f=Do=function(t){return t===xo||t===bo?new go(t):Lo(t)}),Zt({global:!0,wrap:!0,forced:Fo},{Promise:xo}),zn(xo,Eo,!1,!0),function(t){var e=U(t),n=Vt.f;T&&e&&!e[ar]&&n(e,ar,{configurable:!0,get:function(){return this}})}(Eo),bo=U(Eo),Zt({target:Eo,stat:!0,forced:Fo},{reject:function(t){var e=Do(this);return E(e.reject,void 0,t),e.promise}}),Zt({target:Eo,stat:!0,forced:!0},{resolve:function(t){return ho(this===bo?xo:this,t)}}),Zt({target:Eo,stat:!0,forced:Bo},{all:function(t){var e=this,n=Do(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),i=[],a=0,u=1;on(t,(function(t){var c=a++,s=!1;u++,E(n,e,t).then((function(t){s||(s=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Do(e),r=n.reject,o=vo((function(){var o=rt(e.resolve);on(t,(function(t){E(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Zt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=po.f(e),r=n.resolve,o=n.reject,i=vo((function(){var n=rt(e.resolve),o=[],i=0,a=1;on(t,(function(t){var u=i++,c=!1;a++,E(n,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||r(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||r(o))}))})),--a||r(o)}));return i.error&&o(i.value),n.promise}});var Zo="No one promise resolved";Zt({target:"Promise",stat:!0},{any:function(t){var e=this,n=U("AggregateError"),r=po.f(e),o=r.resolve,i=r.reject,a=vo((function(){var r=rt(e.resolve),a=[],u=0,c=1,s=!1;on(t,(function(t){var f=u++,l=!1;c++,E(r,e,t).then((function(t){l||s||(s=!0,o(t))}),(function(t){l||s||(l=!0,a[f]=t,--c||i(new n(a,Zo)))}))})),--c||i(new n(a,Zo))}));return a.error&&i(a.value),r.promise}});var Qo=!!ir&&_((function(){ir.prototype.finally.call({then:function(){}},(function(){}))}));Zt({target:"Promise",proto:!0,real:!0,forced:Qo},{finally:function(t){var e=Ir(this,U("Promise")),n=w(t);return this.then(n?function(n){return ho(e,t()).then((function(){return n}))}:t,n?function(n){return ho(e,t()).then((function(){throw n}))}:t)}});var $o=b("".charAt),ti=b("".charCodeAt),ei=b("".slice),ni=function(t){return function(e,n){var r,o,i=un(K(e)),a=fe(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=ti(i,a))<55296||r>56319||a+1===u||(o=ti(i,a+1))<56320||o>57343?t?$o(i,a):r:t?ei(i,a,a+2):o-56320+(r-55296<<10)+65536}},ri={codeAt:ni(!1),charAt:ni(!0)}.charAt,oi="String Iterator",ii=kn.set,ai=kn.getterFor(oi);er(String,"String",(function(t){ii(this,{type:oi,string:un(t),index:0})}),(function(){var t,e=ai(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=ri(n,r),e.index+=t.length,{value:t,done:!1})}));var ui=F.Promise,ci=Tt("toStringTag");for(var si 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 fi=s[si],li=fi&&fi.prototype;li&&Xe(li)!==ci&&Wt(li,ci,si),Ge[si]=Ge.Array}var pi=ui,di=10,hi=1e3,vi=function(t){return JSON.stringify({ev_type:"batch",list:t})};var yi=function(){return yi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(ki){o={error:ki}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function gi(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 xi(t){try{return ji(t)?t:JSON.stringify(t)}catch(e){return"[FAILED_TO_STRINGIFY]:"+String(e)}}var Pi="".padStart?function(t,e){return void 0===e&&(e=8),t.padStart(e," ")}:function(t){return t},Ri=0,ki=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)}function Fi(t){var e,n,r=t.builder,o=t.createSender,i=t.createDefaultConfig,a=t.createConfigManager,u=t.userConfigNormalizer,c=t.initConfigNormalizer,s=t.validateInitConfig,f={};bi.forEach((function(t){return f[t]=[]}));var l=!1,p=!1,d=!1,h=[],v=[],y=function(){var t=!1,e={},n=function(t){t.length&&t.forEach((function(t){try{t()}catch(e){}})),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 h},init:function(t){if(l)Di("already inited");else{if(!(t&&Ti(t)&&s(t)))throw new Error("invalid InitConfig, init failed");var r=i(t);if(!r)throw new Error("defaultConfig missing");var u=c(t);if((n=a(r)).setConfig(u),n.onChange((function(){g("config")})),!(e=o(n.getConfig())))throw new Error("sender missing");l=!0,g("init",!0)}},set:function(t){l&&t&&Ti(t)&&(g("beforeConfig",!1,t),null==n||n.setConfig(t))},config:function(t){if(l)return t&&Ti(t)&&(g("beforeConfig",!1,t),null==n||n.setConfig(u(t))),null==n?void 0:n.getConfig()},provide:function(t,e){Ii(v,t)?Di("cannot provide "+t+", reserved"):(m[t]=e,g("provide",!1,t))},start:function(){var t=this;l&&(p||null==n||n.onReady((function(){p=!0,g("start",!0),h.forEach((function(e){return t.build(e)})),h.length=0})))},report:function(t){if(t){var e=Ni(f.beforeReport)(t);if(e){var n=Ni(f.report)(e);n&&(p?this.build(n):h.push(n))}}},build:function(t){if(p){var e=Ni(f.beforeBuild)(t);if(e){var n=r.build(e);if(n){var o=Ni(f.build)(n);o&&this.send(o)}}}},send:function(t){if(p){var n=Ni(f.beforeSend)(t);n&&(e.send(n),g("send",!1,n))}},destroy:function(){y.clear(),d=!0,h.length=0,g("beforeDestroy",!0)},on:function(t,e){if("init"===t&&l||"start"===t&&p||"beforeDestroy"===t&&d)try{e()}catch(n){}else f[t]&&f[t].push(e)},off:function(t,e){f[t]&&(f[t]=Ai(f[t],e))},destroyAgent:y};return v=Object.keys(m),m;function g(t,e){void 0===e&&(e=!1);for(var n=[],r=2;r0;)t=t[i],i=(r=mi(a))[0],a=r.slice(1);if(t)return n(t,i)}(t,e,(function(t,e){return t[e]}));return void 0!==o&&function(t,e,n){switch(n){case"eq":return Ii(e,t);case"neq":return!Ii(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),u)},flush:function(){clearTimeout(s),f.call(this)},getBatchData:function(){return c.length?vi(c):""},clear:function(){clearTimeout(s),c=[]},fail:function(t){e=t}}}(t)}var ia=function(t,e){return void 0===e&&(e="/monitor_browser/collect/batch/"),(t&&t.indexOf("//")>=0?"":"https://")+t+e},aa=function(t){return{bid:"",pid:"",viewId:(e="_",e+"_"+Date.now()),userId:Mi(),deviceId:Mi(),sessionId:Mi(),domain:"mon-va.byteoversea.com",release:"",env:"production",sample:Qi,plugins:{},transport:{get:wi,post:wi}};var e},ua=function(t){var e=void 0===t?{}:t,n=e.createSender,r=void 0===n?function(t){return oa({size:20,endpoint:ia(t.domain),transport:t.transport})}:n,o=e.builder,i=void 0===o?Xi:o,a=e.createDefaultConfig,u=Fi({validateInitConfig:ta,initConfigNormalizer:$i,userConfigNormalizer:ea,createSender:r,builder:i,createDefaultConfig:void 0===a?aa:a,createConfigManager:Zi});return Bi(u),ra(u),na(u),function(t,e){t.on("init",(function(){var n=[],r=function(r){r.forEach((function(r){var o=r.name;Ii(n,o)||(n.push(o),r.setup(t),e&&e(o,r.setup),t.destroyAgent.set(o,o,[function(){n=Ai(n,o),r.tearDown&&r.tearDown()}]))}))};t.provide("applyIntegrations",r);var o=t.config();o&&o.integrations&&r(o.integrations)}))}(u),u},ca=function(t){void 0===t&&(t={});var e=ua(t);return function(t){t.on("start",(function(){var e=t.config(),n=e.userId,r=e.sample,o=Yi(n,r,Li,Ki,[function(){t.destroy()},function(e){t.destroyAgent.removeByEvType(e)}]);t.on("build",o)}))}(e),qi(e),e};ca();var sa,fa="va",la={in:"https://sgali-mcs.byteoversea.com",ie:"https://sgali-mcs.byteoversea.com",sg:"https://sgali-mcs.byteoversea.com",va:"https://maliva-mcs.byteoversea.com",tcpy:"https://mcs-sg.tiktok.com",tcpy_in:"https://mcs-va-useast2a.tiktokv.com",ttp:"https://mcs.tiktokw.us",ttp2:"https://mcs.tiktokw.us"},pa="s_v_web_id",da="/vc/setting",ha=function(t){return-1!==["ttp","tcpy"].indexOf(t)?"/v1/list":"/list"},va=function(t){return-1!==["ttp","tcpy"].indexOf(t)?"/v1/user/webid":"/webid"};!function(t){t[t.TIKTOK_NATIVE=1180]="TIKTOK_NATIVE",t[t.MUSICALLY_NATIVE=1233]="MUSICALLY_NATIVE",t[t.TIKTOK_LOGIN_WEB=1459]="TIKTOK_LOGIN_WEB",t[t.TIKTOK_LITE=1340]="TIKTOK_LITE",t[t.TIKTOK_MUSIC=310024]="TIKTOK_MUSIC",t[t.TIKTOK_OPEN_PLATFORM=2471]="TIKTOK_OPEN_PLATFORM",t[t.TIKTOK_LIVE_BACKSTAGE=6849]="TIKTOK_LIVE_BACKSTAGE",t[t.TIKTOK_SAFETY_ENFORCEMENT_TOOL=326738]="TIKTOK_SAFETY_ENFORCEMENT_TOOL",t[t.TIKTOK_ADS=1583]="TIKTOK_ADS",t[t.TIKTOK_SELLER_APP=7743]="TIKTOK_SELLER_APP",t[t.TIKTOK_MAGELLAN=4068]="TIKTOK_MAGELLAN",t[t.TIKTOK_MAGELLAN2=6556]="TIKTOK_MAGELLAN2",t[t.TIKTOK_WEB=1988]="TIKTOK_WEB",t[t.TIKTOK_BIZ_CENTER=2239]="TIKTOK_BIZ_CENTER"}(sa||(sa={}));var ya=function(t){return{aid:t.commonOptions.aid}},ma=function(){function t(){this.isInit=!1,this.pid="0",this.filename=""}return t.prototype.init=function(t,e){if(!this.isInit){this.isInit=!0,this.pid=String(t.aid),this.browserSlardar=ca();var n={transport:{get:function(){},post:function(t){var n=t.url,r=t.data;e(n,JSON.parse(r))}},bid:"verify_center_va",pid:this.pid,release:"3.8.21-alpha.2",env:fa,sample:{sample_rate:1,include_users:[],sample_granularity:"session",rules:{pageview:{enable:!0,sample_rate:.01},js_error:{enable:!0,sample_rate:1},resource_error:{enable:!0,sample_rate:.01},http:{enable:!0,sample_rate:.01},resource:{enable:!0,sample_rate:.01}}}};this.browserSlardar.init(n),this.browserSlardar.context.merge({belong:"hotsdk"})}},t.prototype.start=function(){var t=this;this.browserSlardar.start(),this.reportPageview(),window.addEventListener("error",(function(e){var n,r;"ErrorEvent"===(r=e,Object.prototype.toString.call(r).slice(8,-1))&&t.filename&&e.filename===t.filename&&t.reportJsError({message:null==e?void 0:e.message,stack:null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.stack,filename:null==e?void 0:e.filename})}),!0)},t.prototype.destroy=function(){this.browserSlardar.destroy()},t.prototype.reportPageview=function(){this.browserSlardar.report({ev_type:"pageview",payload:{pid:this.pid,source:"init"}})},t.prototype.reportJsError=function(t){this.browserSlardar.report({ev_type:"js_error",payload:{error:{name:"JS ERROR",message:t.message,stack:t.stack,filename:t.filename||this.filename},breadcrumbs:[]}})},t.prototype.reportHttp=function(t){this.browserSlardar.report({ev_type:"http",payload:{api:"xhr",request:{method:t.method,url:t.url},response:{status:t.status,is_custom_error:!1,timestamp:Date.now()},duration:t.duration}})},t.prototype.reportResourceError=function(t){this.browserSlardar.report({ev_type:"resource_error",payload:{type:"script",url:t}})},t.prototype.reportResource=function(t){this.browserSlardar.report({ev_type:"resource",payload:{entryType:"resource",name:t.url,duration:t.duration,startTime:t.startTime}})},t.prototype.setFileName=function(t){this.filename=t},t}(),ga=new ma,ba=function(t){var e=t.url,n=t.method,r=t.data,o=t.config;return new pi((function(i,a){var u=new XMLHttpRequest,c=Date.now(),s=function(){-1!==t.url.indexOf(da)&&ga.reportHttp({url:e,method:n,duration:Date.now()-c,status:u.status})};u.onreadystatechange=function(){if(u.readyState===u.DONE){if(u.status>=200&&u.status<300){var t={},e=u.response||u.responseText,n=u.getResponseHeader("Content-Type")||u.getResponseHeader("content-type");if(n&&-1!==n.indexOf("application/json"))try{t=JSON.parse(e)}catch(r){}else t=e;setTimeout((function(){i(t)}),0)}else a(new TypeError("Network request failed, status: "+u.status));s()}},u.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed, occur error"))}),0),s()},u.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed, timeout"))}),0),s()},u.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)),u.open(n,f,!0),(null==o?void 0:o.timeout)&&"number"==typeof o.timeout?u.timeout=o.timeout:u.timeout=5e3,null==o?void 0:o.headers)for(var l=o.headers,p=0,d=Object.keys(l);p0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=300||o?(u=t.headers&&t.headers.get("x-tt-logid"),c=t.status,s=t.url,[2,r(r({},n),{logId:u,httpStatus:c,url:s,__RES__:t})]):[2,Object.assign(n,{__RES__:t})]}}))}))};e.default=function(t,e){var n=e.method,a=void 0===n?u.get:n,l=e.contentType,p=void 0===l?c.JSON:l,d=e.data,h=e.commonParams,v=e.init,y=e.signal,m=e.verify,g=e.isRawRes,b={},w=t,_={method:a,signal:y},T=w.indexOf("?");if([u.get,u.delete].includes(a)){if(-1===T)(h||d)&&(w=w+"?"+s.default.stringify(r(r({},h),d),{arrayFormat:"repeat"}));else{var O=s.default.stringify(r(r(r({},h),s.default.parse(w.slice(T+1))),d),{arrayFormat:"repeat"});w=w.slice(0,T)+"?"+O}b=e.headers||{}}else{if(p===c.FormData&&"undefined"!=typeof FormData){var E=new FormData;Object.keys(d).forEach((function(t){E.append(t,d[t])})),b=r({},e.headers),_.body=E}else p===c.UrlEncoded?(b=r(r({},e.headers),{"Content-Type":"application/x-www-form-urlencoded"}),_.body=s.default.stringify(d)):p===c.JSON&&(b=r(r({},e.headers),{"Content-Type":"application/json"}),_.body=JSON.stringify(d));if(-1===T)h&&(w=w+"?"+s.default.stringify(r({},h),{arrayFormat:"repeat"}));else{O=s.default.stringify(r(r({},h),s.default.parse(w.slice(T+1))),{arrayFormat:"repeat"});w=w.slice(0,T)+"?"+O}}_=r(r({},_),{headers:r({},b),credentials:null==v?void 0:v.credentials,mode:null==v?void 0:v.mode});var S=o(void 0,void 0,void 0,(function(){var t,e,n,o,a,u,c;return i(this,(function(i){switch(i.label){case 0:return t=Date.now(),[4,window.fetch(w,_)];case 1:return e=i.sent(),n=Date.now(),g?[2,Promise.resolve(e)]:[4,f(e,m)];case 2:return o=i.sent(),a=null==o?void 0:o.__RES__,u={url:w,begin:t,end:n,cost:n-t,httpStatus:a.status,logId:null===(c=a.headers)||void 0===c?void 0:c.get("x-tt-logid")},e.status>=200&&e.status<300?[2,Promise.resolve(r(r({},o),{__META__:u}))]:[2,Promise.reject(r(r({},o),{__META__:u}))]}}))})),j=new Promise((function(t,n){var r;setTimeout((function(){return n(new Error("fetch timeout"))}),null!==(r=e.timeout)&&void 0!==r?r:6e4)}));return Promise.race([S,j])}},29689:(t,e)=>{var n=function(t){return function(e){return Math.pow(e,t)}},r=function(t){return function(e){return 1-Math.abs(Math.pow(e-1,t))}},o=function(t){return function(e){return e<.5?n(t)(2*e)/2:r(t)(2*e-1)/2+.5}},i=n(2),a=r(2),u=o(2),c=n(3),s=r(3),f=o(3),l=n(4),p=r(4),d=o(4),h=n(5),v=r(5),y=o(5),m=function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},g=function(t){return 1-m(1-t)},b=Object.freeze({linear:function(t){return t},quadIn:i,quadOut:a,quadInOut:u,cubicIn:c,cubicOut:s,cubicInOut:f,quartIn:l,quartOut:p,quartInOut:d,quintIn:h,quintOut:v,quintInOut:y,sineIn:function(t){return 1+Math.sin(Math.PI/2*t-Math.PI/2)},sineOut:function(t){return Math.sin(Math.PI/2*t)},sineInOut:function(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2},bounceOut:m,bounceIn:g,bounceInOut:function(t){return t<.5?.5*g(2*t):.5*m(2*t-1)+.5}}),w=function(t){var e=t.from,n=t.to,r=t.duration,o=t.delay,i=t.easing,a=t.onStart,u=t.onUpdate,c=t.onFinish;for(var s in e)void 0===n[s]&&(n[s]=e[s]);for(var f in n)void 0===e[f]&&(e[f]=n[f]);this.from=e,this.to=n,this.duration=r||500,this.delay=o||0,this.easing=i||"linear",this.onStart=a,this.onUpdate=u||function(){},this.onFinish=c,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};w.prototype.update=function(){if(this.time=Date.now(),!(this.timethis.duration?this.duration:this.elapsed,this.to)this.keys[t]=this.from[t]+(this.to[t]-this.from[t])*b[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}else this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys))},w.prototype.start=function(){var t=this;this.startTime=Date.now()+this.delay;var e=function(){t.update(),t.timer=requestAnimationFrame(e),t.finished&&(cancelAnimationFrame(t.timer),t.timer=null)};e()},w.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null},e.A=w},49047:(t,e,n)=>{n.r(e),n.d(e,{DOMException:()=>_,Headers:()=>f,Request:()=>m,Response:()=>b,fetch:()=>T});var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},o={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function p(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function d(t){var e=new FileReader,n=p(e);return e.readAsArrayBuffer(t),n}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=l(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(o.blob)return this.blob().then(d);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,n,r,o,i=l(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=p(e),r=/charset=([A-Za-z0-9_-]+)/.exec(t.type),o=r?r[1]:"utf-8",e.readAsText(t,o),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r-1?o:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in r)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var a=/([?&])_=[^&]*/;if(a.test(this.url))this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function b(t,e){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new f(e.headers),this.url=e.url||"",this._initBody(t)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},v.call(m.prototype),v.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var w=[301,302,303,307,308];b.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})};var _=r.DOMException;try{new _}catch(O){(_=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),_.prototype.constructor=_}function T(t,e){return new Promise((function(n,i){var a=new m(t,e);if(a.signal&&a.signal.aborted)return i(new _("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}if(s.onload=function(){var t,e,r={statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new f,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();try{e.append(r,o)}catch(i){console.warn("Response "+i.message)}}})),e)};0===a.url.indexOf("file://")&&(s.status<200||s.status>599)?r.status=200:r.status=s.status,r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;setTimeout((function(){n(new b(o,r))}),0)},s.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)},s.onabort=function(){setTimeout((function(){i(new _("Aborted","AbortError"))}),0)},s.open(a.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&(o.blob?s.responseType="blob":o.arrayBuffer&&(s.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof f||r.Headers&&e.headers instanceof r.Headers)){var p=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){p.push(u(t)),s.setRequestHeader(t,c(e.headers[t]))})),a.headers.forEach((function(t,e){-1===p.indexOf(e)&&s.setRequestHeader(e,t)}))}else a.headers.forEach((function(t,e){s.setRequestHeader(e,t)}));a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}T.polyfill=!0,r.fetch||(r.fetch=T,r.Headers=f,r.Request=m,r.Response=b)}}]);