@usercentrics/cmp-browser-sdk
Version:
Usercentrics CMP Browser SDK
1 lines • 454 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UC_SDK={})}(this,function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n,r,i,s,o){try{var a=e[s](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,s){var o=e.apply(t,r);function a(e){n(o,i,s,a,c,"next",e)}function c(e){n(o,i,s,a,c,"throw",e)}a(void 0)})}}function i(e,t,n){return t=d(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}function u(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},l.apply(null,arguments)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function s(n,r,i,s){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return S(u,"_invoke",function(n,r,i){var s,a,c,u=0,l=i||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return s=t,a=0,c=e,h.n=n,o}};function f(n,r){for(a=n,c=r,t=0;!d&&u&&!i&&t<l.length;t++){var i,s=l[t],f=h.p,p=s[2];n>3?(i=p===r)&&(c=s[(a=s[4])?5:(a=3,3)],s[4]=s[5]=e):s[0]<=f&&((i=n<2&&f<s[1])?(a=0,h.v=r,h.n=s[1]):f<p&&(i=n<3||s[0]>r||r>p)&&(s[4]=n,s[5]=r,h.n=p,a=0))}if(i||n>1)return o;throw d=!0,r}return function(i,l,p){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,p),a=l,c=p;(t=a<2?e:c)||!d;){s||(a?a<3?(a>1&&(h.n=-1),f(a,c)):h.n=c:h.v=c);try{if(u=2,s){if(a||(i="next"),t=s[i]){if(!(t=t.call(s,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=s.return)&&t.call(s),a<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),a=1);s=e}else if((t=(d=h.n<0)?c:n.call(r,h))!==o)break}catch(t){s=e,a=1,c=t}finally{u=1}}return{value:t,done:d}}}(n,i,s),!0),u}var o={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(S(t={},r,function(){return this}),t),d=u.prototype=a.prototype=Object.create(l);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,S(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=u,S(d,"constructor",u),S(u,"constructor",c),c.displayName="GeneratorFunction",S(u,i,"GeneratorFunction"),S(d),S(d,i,"Generator"),S(d,r,function(){return this}),S(d,"toString",function(){return"[object Generator]"}),(v=function(){return{w:s,m:h}})()}function S(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}S=function(e,t,n,r){function s(t,n){S(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(s("next",0),s("throw",1),s("return",2))},S(e,t,n,r)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function y(e,t,n,r){var i=l(d(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof i?function(e){return i.apply(n,e)}:i}function I(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function C(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(f())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&E(i,n.prototype),i}(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),E(n,e)},A(e)}var _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var b=function(e){return e&&e.Math===Math&&e},O=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof _&&_)||b("object"==typeof _&&_)||function(){return this}()||Function("return this")(),N={},w=function(e){try{return!!e()}catch(e){return!0}},D=!w(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),R=!w(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),L=R,P=Function.prototype.call,V=L?P.bind(P):function(){return P.apply(P,arguments)},U={},M={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,F=k&&!M.call({1:2},1);U.f=F?function(e){var t=k(this,e);return!!t&&t.enumerable}:M;var x,G,B=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},j=R,H=Function.prototype,Y=H.call,W=j&&H.bind.bind(Y,Y),J=j?W:function(e){return function(){return Y.apply(e,arguments)}},K=J,z=K({}.toString),q=K("".slice),Q=function(e){return q(z(e),8,-1)},$=w,X=Q,Z=Object,ee=J("".split),te=$(function(){return!Z("z").propertyIsEnumerable(0)})?function(e){return"String"===X(e)?ee(e,""):Z(e)}:Z,ne=function(e){return null==e},re=ne,ie=TypeError,se=function(e){if(re(e))throw new ie("Can't call method on "+e);return e},oe=te,ae=se,ce=function(e){return oe(ae(e))},ue="object"==typeof document&&document.all,le=void 0===ue&&void 0!==ue?function(e){return"function"==typeof e||e===ue}:function(e){return"function"==typeof e},de=le,he=function(e){return"object"==typeof e?null!==e:de(e)},fe=O,pe=le,ge=function(e,t){return arguments.length<2?(n=fe[e],pe(n)?n:void 0):fe[e]&&fe[e][t];var n},ve=J({}.isPrototypeOf),Se=O.navigator,Ee=Se&&Se.userAgent,ye=Ee?String(Ee):"",Ie=O,me=ye,Te=Ie.process,Ce=Ie.Deno,Ae=Te&&Te.versions||Ce&&Ce.version,_e=Ae&&Ae.v8;_e&&(G=(x=_e.split("."))[0]>0&&x[0]<4?1:+(x[0]+x[1])),!G&&me&&(!(x=me.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=me.match(/Chrome\/(\d+)/))&&(G=+x[1]);var be=G,Oe=be,Ne=w,we=O.String,De=!!Object.getOwnPropertySymbols&&!Ne(function(){var e=Symbol("symbol detection");return!we(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Oe&&Oe<41}),Re=De&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Le=ge,Pe=le,Ve=ve,Ue=Object,Me=Re?function(e){return"symbol"==typeof e}:function(e){var t=Le("Symbol");return Pe(t)&&Ve(t.prototype,Ue(e))},ke=String,Fe=function(e){try{return ke(e)}catch(e){return"Object"}},xe=le,Ge=Fe,Be=TypeError,je=function(e){if(xe(e))return e;throw new Be(Ge(e)+" is not a function")},He=je,Ye=ne,We=function(e,t){var n=e[t];return Ye(n)?void 0:He(n)},Je=V,Ke=le,ze=he,qe=TypeError,Qe={exports:{}},$e=O,Xe=Object.defineProperty,Ze=function(e,t){try{Xe($e,e,{value:t,configurable:!0,writable:!0})}catch(n){$e[e]=t}return t},et=O,tt=Ze,nt="__core-js_shared__",rt=Qe.exports=et[nt]||tt(nt,{});(rt.versions||(rt.versions=[])).push({version:"3.47.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"});var it=Qe.exports,st=function(e,t){return it[e]||(it[e]=t||{})},ot=se,at=Object,ct=function(e){return at(ot(e))},ut=ct,lt=J({}.hasOwnProperty),dt=Object.hasOwn||function(e,t){return lt(ut(e),t)},ht=J,ft=0,pt=Math.random(),gt=ht(1.1.toString),vt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+gt(++ft+pt,36)},St=st,Et=dt,yt=vt,It=De,mt=Re,Tt=O.Symbol,Ct=St("wks"),At=mt?Tt.for||Tt:Tt&&Tt.withoutSetter||yt,_t=function(e){return Et(Ct,e)||(Ct[e]=It&&Et(Tt,e)?Tt[e]:At("Symbol."+e)),Ct[e]},bt=V,Ot=he,Nt=Me,wt=We,Dt=function(e,t){var n,r;if("string"===t&&Ke(n=e.toString)&&!ze(r=Je(n,e)))return r;if(Ke(n=e.valueOf)&&!ze(r=Je(n,e)))return r;if("string"!==t&&Ke(n=e.toString)&&!ze(r=Je(n,e)))return r;throw new qe("Can't convert object to primitive value")},Rt=TypeError,Lt=_t("toPrimitive"),Pt=function(e,t){if(!Ot(e)||Nt(e))return e;var n,r=wt(e,Lt);if(r){if(void 0===t&&(t="default"),n=bt(r,e,t),!Ot(n)||Nt(n))return n;throw new Rt("Can't convert object to primitive value")}return void 0===t&&(t="number"),Dt(e,t)},Vt=Pt,Ut=Me,Mt=function(e){var t=Vt(e,"string");return Ut(t)?t:t+""},kt=he,Ft=O.document,xt=kt(Ft)&&kt(Ft.createElement),Gt=function(e){return xt?Ft.createElement(e):{}},Bt=Gt,jt=!D&&!w(function(){return 7!==Object.defineProperty(Bt("div"),"a",{get:function(){return 7}}).a}),Ht=D,Yt=V,Wt=U,Jt=B,Kt=ce,zt=Mt,qt=dt,Qt=jt,$t=Object.getOwnPropertyDescriptor;N.f=Ht?$t:function(e,t){if(e=Kt(e),t=zt(t),Qt)try{return $t(e,t)}catch(e){}if(qt(e,t))return Jt(!Yt(Wt.f,e,t),e[t])};var Xt={},Zt=D&&w(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),en=he,tn=String,nn=TypeError,rn=function(e){if(en(e))return e;throw new nn(tn(e)+" is not an object")},sn=D,on=jt,an=Zt,cn=rn,un=Mt,ln=TypeError,dn=Object.defineProperty,hn=Object.getOwnPropertyDescriptor,fn="enumerable",pn="configurable",gn="writable";Xt.f=sn?an?function(e,t,n){if(cn(e),t=un(t),cn(n),"function"==typeof e&&"prototype"===t&&"value"in n&&gn in n&&!n[gn]){var r=hn(e,t);r&&r[gn]&&(e[t]=n.value,n={configurable:pn in n?n[pn]:r[pn],enumerable:fn in n?n[fn]:r[fn],writable:!1})}return dn(e,t,n)}:dn:function(e,t,n){if(cn(e),t=un(t),cn(n),on)try{return dn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new ln("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var vn=Xt,Sn=B,En=D?function(e,t,n){return vn.f(e,t,Sn(1,n))}:function(e,t,n){return e[t]=n,e},yn={exports:{}},In=D,mn=dt,Tn=Function.prototype,Cn=In&&Object.getOwnPropertyDescriptor,An=mn(Tn,"name"),_n={EXISTS:An,PROPER:An&&"something"===function(){}.name,CONFIGURABLE:An&&(!In||In&&Cn(Tn,"name").configurable)},bn=J,On=le,Nn=Qe.exports,wn=bn(Function.toString);On(Nn.inspectSource)||(Nn.inspectSource=function(e){return wn(e)});var Dn,Rn,Ln,Pn=Nn.inspectSource,Vn=le,Un=O.WeakMap,Mn=Vn(Un)&&/native code/.test(String(Un)),kn=vt,Fn=st("keys"),xn=function(e){return Fn[e]||(Fn[e]=kn(e))},Gn={},Bn=Mn,jn=O,Hn=he,Yn=En,Wn=dt,Jn=Qe.exports,Kn=xn,zn=Gn,qn="Object already initialized",Qn=jn.TypeError,$n=jn.WeakMap;if(Bn||Jn.state){var Xn=Jn.state||(Jn.state=new $n);Xn.get=Xn.get,Xn.has=Xn.has,Xn.set=Xn.set,Dn=function(e,t){if(Xn.has(e))throw new Qn(qn);return t.facade=e,Xn.set(e,t),t},Rn=function(e){return Xn.get(e)||{}},Ln=function(e){return Xn.has(e)}}else{var Zn=Kn("state");zn[Zn]=!0,Dn=function(e,t){if(Wn(e,Zn))throw new Qn(qn);return t.facade=e,Yn(e,Zn,t),t},Rn=function(e){return Wn(e,Zn)?e[Zn]:{}},Ln=function(e){return Wn(e,Zn)}}var er={set:Dn,get:Rn,has:Ln,enforce:function(e){return Ln(e)?Rn(e):Dn(e,{})},getterFor:function(e){return function(t){var n;if(!Hn(t)||(n=Rn(t)).type!==e)throw new Qn("Incompatible receiver, "+e+" required");return n}}},tr=J,nr=w,rr=le,ir=dt,sr=D,or=_n.CONFIGURABLE,ar=Pn,cr=er.enforce,ur=er.get,lr=String,dr=Object.defineProperty,hr=tr("".slice),fr=tr("".replace),pr=tr([].join),gr=sr&&!nr(function(){return 8!==dr(function(){},"length",{value:8}).length}),vr=String(String).split("String"),Sr=yn.exports=function(e,t,n){"Symbol("===hr(lr(t),0,7)&&(t="["+fr(lr(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!ir(e,"name")||or&&e.name!==t)&&(sr?dr(e,"name",{value:t,configurable:!0}):e.name=t),gr&&n&&ir(n,"arity")&&e.length!==n.arity&&dr(e,"length",{value:n.arity});try{n&&ir(n,"constructor")&&n.constructor?sr&&dr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=cr(e);return ir(r,"source")||(r.source=pr(vr,"string"==typeof t?t:"")),e};Function.prototype.toString=Sr(function(){return rr(this)&&ur(this).source||ar(this)},"toString");var Er=le,yr=Xt,Ir=yn.exports,mr=Ze,Tr=function(e,t,n,r){r||(r={});var i=r.enumerable,s=void 0!==r.name?r.name:t;if(Er(n)&&Ir(n,s,r),r.global)i?e[t]=n:mr(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:yr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Cr={},Ar=Math.ceil,_r=Math.floor,br=Math.trunc||function(e){var t=+e;return(t>0?_r:Ar)(t)},Or=function(e){var t=+e;return t!=t||0===t?0:br(t)},Nr=Or,wr=Math.max,Dr=Math.min,Rr=function(e,t){var n=Nr(e);return n<0?wr(n+t,0):Dr(n,t)},Lr=Or,Pr=Math.min,Vr=function(e){var t=Lr(e);return t>0?Pr(t,9007199254740991):0},Ur=Vr,Mr=function(e){return Ur(e.length)},kr=ce,Fr=Rr,xr=Mr,Gr=function(e){return function(t,n,r){var i=kr(t),s=xr(i);if(0===s)return!e&&-1;var o,a=Fr(r,s);if(e&&n!=n){for(;s>a;)if((o=i[a++])!=o)return!0}else for(;s>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},Br={includes:Gr(!0),indexOf:Gr(!1)},jr=dt,Hr=ce,Yr=Br.indexOf,Wr=Gn,Jr=J([].push),Kr=function(e,t){var n,r=Hr(e),i=0,s=[];for(n in r)!jr(Wr,n)&&jr(r,n)&&Jr(s,n);for(;t.length>i;)jr(r,n=t[i++])&&(~Yr(s,n)||Jr(s,n));return s},zr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qr=Kr,Qr=zr.concat("length","prototype");Cr.f=Object.getOwnPropertyNames||function(e){return qr(e,Qr)};var $r={};$r.f=Object.getOwnPropertySymbols;var Xr=ge,Zr=Cr,ei=$r,ti=rn,ni=J([].concat),ri=Xr("Reflect","ownKeys")||function(e){var t=Zr.f(ti(e)),n=ei.f;return n?ni(t,n(e)):t},ii=dt,si=ri,oi=N,ai=Xt,ci=function(e,t,n){for(var r=si(t),i=ai.f,s=oi.f,o=0;o<r.length;o++){var a=r[o];ii(e,a)||n&&ii(n,a)||i(e,a,s(t,a))}},ui=w,li=le,di=/#|\.prototype\./,hi=function(e,t){var n=pi[fi(e)];return n===vi||n!==gi&&(li(t)?ui(t):!!t)},fi=hi.normalize=function(e){return String(e).replace(di,".").toLowerCase()},pi=hi.data={},gi=hi.NATIVE="N",vi=hi.POLYFILL="P",Si=hi,Ei=O,yi=N.f,Ii=En,mi=Tr,Ti=Ze,Ci=ci,Ai=Si,_i=function(e,t){var n,r,i,s,o,a=e.target,c=e.global,u=e.stat;if(n=c?Ei:u?Ei[a]||Ti(a,{}):Ei[a]&&Ei[a].prototype)for(r in t){if(s=t[r],i=e.dontCallGetSet?(o=yi(n,r))&&o.value:n[r],!Ai(c?r:a+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof s==typeof i)continue;Ci(s,i)}(e.sham||i&&i.sham)&&Ii(s,"sham",!0),mi(n,r,s,e)}},bi={};bi[_t("toStringTag")]="z";var Oi="[object z]"===String(bi),Ni=Oi,wi=le,Di=Q,Ri=_t("toStringTag"),Li=Object,Pi="Arguments"===Di(function(){return arguments}()),Vi=Ni?Di:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Li(e),Ri))?n:Pi?Di(t):"Object"===(r=Di(t))&&wi(t.callee)?"Arguments":r},Ui=Vi,Mi=String,ki=function(e){if("Symbol"===Ui(e))throw new TypeError("Cannot convert a Symbol value to a string");return Mi(e)},Fi={},xi=Kr,Gi=zr,Bi=Object.keys||function(e){return xi(e,Gi)},ji=D,Hi=Zt,Yi=Xt,Wi=rn,Ji=ce,Ki=Bi;Fi.f=ji&&!Hi?Object.defineProperties:function(e,t){Wi(e);for(var n,r=Ji(t),i=Ki(t),s=i.length,o=0;s>o;)Yi.f(e,n=i[o++],r[n]);return e};var zi,qi=ge("document","documentElement"),Qi=rn,$i=Fi,Xi=zr,Zi=Gn,es=qi,ts=Gt,ns="prototype",rs="script",is=xn("IE_PROTO"),ss=function(){},os=function(e){return"<"+rs+">"+e+"</"+rs+">"},as=function(e){e.write(os("")),e.close();var t=e.parentWindow.Object;return e=null,t},cs=function(){try{zi=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;cs="undefined"!=typeof document?document.domain&&zi?as(zi):(t=ts("iframe"),n="java"+rs+":",t.style.display="none",es.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(os("document.F=Object")),e.close(),e.F):as(zi);for(var r=Xi.length;r--;)delete cs[ns][Xi[r]];return cs()};Zi[is]=!0;var us=Object.create||function(e,t){var n;return null!==e?(ss[ns]=Qi(e),n=new ss,ss[ns]=null,n[is]=e):n=cs(),void 0===t?n:$i.f(n,t)},ls={},ds=J([].slice),hs=Q,fs=ce,ps=Cr.f,gs=ds,vs="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];ls.f=function(e){return vs&&"Window"===hs(e)?function(e){try{return ps(e)}catch(e){return gs(vs)}}(e):ps(fs(e))};var Ss=yn.exports,Es=Xt,ys=function(e,t,n){return n.get&&Ss(n.get,t,{getter:!0}),n.set&&Ss(n.set,t,{setter:!0}),Es.f(e,t,n)},Is={},ms=_t;Is.f=ms;var Ts=O,Cs=Ts,As=dt,_s=Is,bs=Xt.f,Os=function(e){var t=Cs.Symbol||(Cs.Symbol={});As(t,e)||bs(t,e,{value:_s.f(e)})},Ns=V,ws=ge,Ds=_t,Rs=Tr,Ls=Xt.f,Ps=dt,Vs=_t("toStringTag"),Us=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Ps(e,Vs)&&Ls(e,Vs,{configurable:!0,value:t})},Ms=Q,ks=J,Fs=function(e){if("Function"===Ms(e))return ks(e)},xs=je,Gs=R,Bs=Fs(Fs.bind),js=function(e,t){return xs(e),void 0===t?e:Gs?Bs(e,t):function(){return e.apply(t,arguments)}},Hs=Q,Ys=Array.isArray||function(e){return"Array"===Hs(e)},Ws=J,Js=w,Ks=le,zs=Vi,qs=Pn,Qs=function(){},$s=ge("Reflect","construct"),Xs=/^\s*(?:class|function)\b/,Zs=Ws(Xs.exec),eo=!Xs.test(Qs),to=function(e){if(!Ks(e))return!1;try{return $s(Qs,[],e),!0}catch(e){return!1}},no=function(e){if(!Ks(e))return!1;switch(zs(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return eo||!!Zs(Xs,qs(e))}catch(e){return!0}};no.sham=!0;var ro=!$s||Js(function(){var e;return to(to.call)||!to(Object)||!to(function(){e=!0})||e})?no:to,io=Ys,so=ro,oo=he,ao=_t("species"),co=Array,uo=function(e){var t;return io(e)&&(t=e.constructor,(so(t)&&(t===co||io(t.prototype))||oo(t)&&null===(t=t[ao]))&&(t=void 0)),void 0===t?co:t},lo=function(e,t){return new(uo(e))(0===t?0:t)},ho=js,fo=te,po=ct,go=Mr,vo=lo,So=J([].push),Eo=function(e){var t=1===e,n=2===e,r=3===e,i=4===e,s=6===e,o=7===e,a=5===e||s;return function(c,u,l,d){for(var h,f,p=po(c),g=fo(p),v=go(g),S=ho(u,l),E=0,y=d||vo,I=t?y(c,v):n||o?y(c,0):void 0;v>E;E++)if((a||E in g)&&(f=S(h=g[E],E,p),e))if(t)I[E]=f;else if(f)switch(e){case 3:return!0;case 5:return h;case 6:return E;case 2:So(I,h)}else switch(e){case 4:return!1;case 7:So(I,h)}return s?-1:r||i?i:I}},yo={forEach:Eo(0),map:Eo(1),filter:Eo(2),some:Eo(3),every:Eo(4),find:Eo(5),findIndex:Eo(6),filterReject:Eo(7)},Io=_i,mo=O,To=V,Co=J,Ao=D,_o=De,bo=w,Oo=dt,No=ve,wo=rn,Do=ce,Ro=Mt,Lo=ki,Po=B,Vo=us,Uo=Bi,Mo=Cr,ko=ls,Fo=$r,xo=N,Go=Xt,Bo=Fi,jo=U,Ho=Tr,Yo=ys,Wo=st,Jo=Gn,Ko=vt,zo=_t,qo=Is,Qo=Os,$o=function(){var e=ws("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=Ds("toPrimitive");t&&!t[r]&&Rs(t,r,function(e){return Ns(n,this)},{arity:1})},Xo=Us,Zo=er,ea=yo.forEach,ta=xn("hidden"),na="Symbol",ra="prototype",ia=Zo.set,sa=Zo.getterFor(na),oa=Object[ra],aa=mo.Symbol,ca=aa&&aa[ra],ua=mo.RangeError,la=mo.TypeError,da=mo.QObject,ha=xo.f,fa=Go.f,pa=ko.f,ga=jo.f,va=Co([].push),Sa=Wo("symbols"),Ea=Wo("op-symbols"),ya=Wo("wks"),Ia=!da||!da[ra]||!da[ra].findChild,ma=function(e,t,n){var r=ha(oa,t);r&&delete oa[t],fa(e,t,n),r&&e!==oa&&fa(oa,t,r)},Ta=Ao&&bo(function(){return 7!==Vo(fa({},"a",{get:function(){return fa(this,"a",{value:7}).a}})).a})?ma:fa,Ca=function(e,t){var n=Sa[e]=Vo(ca);return ia(n,{type:na,tag:e,description:t}),Ao||(n.description=t),n},Aa=function(e,t,n){e===oa&&Aa(Ea,t,n),wo(e);var r=Ro(t);return wo(n),Oo(Sa,r)?(n.enumerable?(Oo(e,ta)&&e[ta][r]&&(e[ta][r]=!1),n=Vo(n,{enumerable:Po(0,!1)})):(Oo(e,ta)||fa(e,ta,Po(1,Vo(null))),e[ta][r]=!0),Ta(e,r,n)):fa(e,r,n)},_a=function(e,t){wo(e);var n=Do(t),r=Uo(n).concat(wa(n));return ea(r,function(t){Ao&&!To(ba,n,t)||Aa(e,t,n[t])}),e},ba=function(e){var t=Ro(e),n=To(ga,this,t);return!(this===oa&&Oo(Sa,t)&&!Oo(Ea,t))&&(!(n||!Oo(this,t)||!Oo(Sa,t)||Oo(this,ta)&&this[ta][t])||n)},Oa=function(e,t){var n=Do(e),r=Ro(t);if(n!==oa||!Oo(Sa,r)||Oo(Ea,r)){var i=ha(n,r);return!i||!Oo(Sa,r)||Oo(n,ta)&&n[ta][r]||(i.enumerable=!0),i}},Na=function(e){var t=pa(Do(e)),n=[];return ea(t,function(e){Oo(Sa,e)||Oo(Jo,e)||va(n,e)}),n},wa=function(e){var t=e===oa,n=pa(t?Ea:Do(e)),r=[];return ea(n,function(e){!Oo(Sa,e)||t&&!Oo(oa,e)||va(r,Sa[e])}),r};_o||(aa=function(){if(No(ca,this))throw new la("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Lo(arguments[0]):void 0,t=Ko(e),n=function(e){var r=void 0===this?mo:this;r===oa&&To(n,Ea,e),Oo(r,ta)&&Oo(r[ta],t)&&(r[ta][t]=!1);var i=Po(1,e);try{Ta(r,t,i)}catch(e){if(!(e instanceof ua))throw e;ma(r,t,i)}};return Ao&&Ia&&Ta(oa,t,{configurable:!0,set:n}),Ca(t,e)},Ho(ca=aa[ra],"toString",function(){return sa(this).tag}),Ho(aa,"withoutSetter",function(e){return Ca(Ko(e),e)}),jo.f=ba,Go.f=Aa,Bo.f=_a,xo.f=Oa,Mo.f=ko.f=Na,Fo.f=wa,qo.f=function(e){return Ca(zo(e),e)},Ao&&(Yo(ca,"description",{configurable:!0,get:function(){return sa(this).description}}),Ho(oa,"propertyIsEnumerable",ba,{unsafe:!0}))),Io({global:!0,constructor:!0,wrap:!0,forced:!_o,sham:!_o},{Symbol:aa}),ea(Uo(ya),function(e){Qo(e)}),Io({target:na,stat:!0,forced:!_o},{useSetter:function(){Ia=!0},useSimple:function(){Ia=!1}}),Io({target:"Object",stat:!0,forced:!_o,sham:!Ao},{create:function(e,t){return void 0===t?Vo(e):_a(Vo(e),t)},defineProperty:Aa,defineProperties:_a,getOwnPropertyDescriptor:Oa}),Io({target:"Object",stat:!0,forced:!_o},{getOwnPropertyNames:Na}),$o(),Xo(aa,na),Jo[ta]=!0;var Da=De&&!!Symbol.for&&!!Symbol.keyFor,Ra=_i,La=ge,Pa=dt,Va=ki,Ua=st,Ma=Da,ka=Ua("string-to-symbol-registry"),Fa=Ua("symbol-to-string-registry");Ra({target:"Symbol",stat:!0,forced:!Ma},{for:function(e){var t=Va(e);if(Pa(ka,t))return ka[t];var n=La("Symbol")(t);return ka[t]=n,Fa[n]=t,n}});var xa=_i,Ga=dt,Ba=Me,ja=Fe,Ha=Da,Ya=st("symbol-to-string-registry");xa({target:"Symbol",stat:!0,forced:!Ha},{keyFor:function(e){if(!Ba(e))throw new TypeError(ja(e)+" is not a symbol");if(Ga(Ya,e))return Ya[e]}});var Wa=R,Ja=Function.prototype,Ka=Ja.apply,za=Ja.call,qa="object"==typeof Reflect&&Reflect.apply||(Wa?za.bind(Ka):function(){return za.apply(Ka,arguments)}),Qa=he,$a=er.get,Xa=J,Za=dt,ec=SyntaxError,tc=parseInt,nc=String.fromCharCode,rc=Xa("".charAt),ic=Xa("".slice),sc=Xa(/./.exec),oc={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},ac=/^[\da-f]{4}$/i,cc=/^[\u0000-\u001F]$/,uc=!w(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e}),lc=_i,dc=ge,hc=qa,fc=V,pc=J,gc=w,vc=Ys,Sc=le,Ec=function(e){if(!Qa(e))return!1;var t=$a(e);return!!t&&"RawJSON"===t.type},yc=Me,Ic=Q,mc=ki,Tc=ds,Cc=function(e,t){for(var n=!0,r="";t<e.length;){var i=rc(e,t);if("\\"===i){var s=ic(e,t,t+2);if(Za(oc,s))r+=oc[s],t+=2;else{if("\\u"!==s)throw new ec('Unknown escape sequence: "'+s+'"');var o=ic(e,t+=2,t+4);if(!sc(ac,o))throw new ec("Bad Unicode escape at: "+t);r+=nc(tc(o,16)),t+=4}}else{if('"'===i){n=!1,t++;break}if(sc(cc,i))throw new ec("Bad control character in string literal at: "+t);r+=i,t++}}if(n)throw new ec("Unterminated string at: "+t);return{value:r,end:t}},Ac=vt,_c=De,bc=uc,Oc=String,Nc=dc("JSON","stringify"),wc=pc(/./.exec),Dc=pc("".charAt),Rc=pc("".charCodeAt),Lc=pc("".replace),Pc=pc("".slice),Vc=pc([].push),Uc=pc(1.1.toString),Mc=/[\uD800-\uDFFF]/g,kc=/^[\uD800-\uDBFF]$/,Fc=/^[\uDC00-\uDFFF]$/,xc=Ac(),Gc=xc.length,Bc=!_c||gc(function(){var e=dc("Symbol")("stringify detection");return"[null]"!==Nc([e])||"{}"!==Nc({a:e})||"{}"!==Nc(Object(e))}),jc=gc(function(){return'"\\udf06\\ud834"'!==Nc("\udf06\ud834")||'"\\udead"'!==Nc("\udead")}),Hc=Bc?function(e,t){var n=Tc(arguments),r=Wc(t);if(Sc(r)||void 0!==e&&!yc(e))return n[1]=function(e,t){if(Sc(r)&&(t=fc(r,this,Oc(e),t)),!yc(t))return t},hc(Nc,null,n)}:Nc,Yc=function(e,t,n){var r=Dc(n,t-1),i=Dc(n,t+1);return wc(kc,e)&&!wc(Fc,i)||wc(Fc,e)&&!wc(kc,r)?"\\u"+Uc(Rc(e,0),16):e},Wc=function(e){if(Sc(e))return e;if(vc(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?Vc(n,i):"number"!=typeof i&&"Number"!==Ic(i)&&"String"!==Ic(i)||Vc(n,mc(i))}var s=n.length,o=!0;return function(e,t){if(o)return o=!1,t;if(vc(this))return t;for(var r=0;r<s;r++)if(n[r]===e)return t}}};Nc&&lc({target:"JSON",stat:!0,arity:3,forced:Bc||jc||!bc},{stringify:function(e,t,n){var r=Wc(t),i=[],s=Hc(e,function(e,t){var n=Sc(r)?fc(r,this,Oc(e),t):t;return!bc&&Ec(n)?xc+(Vc(i,n.rawJSON)-1):n},n);if("string"!=typeof s)return s;if(jc&&(s=Lc(s,Mc,Yc)),bc)return s;for(var o="",a=s.length,c=0;c<a;c++){var u=Dc(s,c);if('"'===u){var l=Cc(s,++c).end-1,d=Pc(s,c,l);o+=Pc(d,0,Gc)===xc?i[Pc(d,Gc)]:'"'+d+'"',c=l}else o+=u}return o}});var Jc=$r,Kc=ct;_i({target:"Object",stat:!0,forced:!De||w(function(){Jc.f(1)})},{getOwnPropertySymbols:function(e){var t=Jc.f;return t?t(Kc(e)):[]}});var zc=_i,qc=D,Qc=J,$c=dt,Xc=le,Zc=ve,eu=ki,tu=ys,nu=ci,ru=O.Symbol,iu=ru&&ru.prototype;if(qc&&Xc(ru)&&(!("description"in iu)||void 0!==ru().description)){var su={},ou=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:eu(arguments[0]),t=Zc(iu,this)?new ru(e):void 0===e?ru():ru(e);return""===e&&(su[t]=!0),t};nu(ou,ru),ou.prototype=iu,iu.constructor=ou;var au="Symbol(description detection)"===String(ru("description detection")),cu=Qc(iu.valueOf),uu=Qc(iu.toString),lu=/^Symbol\((.*)\)[^)]+$/,du=Qc("".replace),hu=Qc("".slice);tu(iu,"description",{configurable:!0,get:function(){var e=cu(this);if($c(su,e))return"";var t=uu(e),n=au?hu(t,7,-1):du(t,lu,"$1");return""===n?void 0:n}}),zc({global:!0,constructor:!0,forced:!0},{Symbol:ou})}var fu=TypeError,pu=function(e){if(e>9007199254740991)throw fu("Maximum allowed index exceeded");return e},gu=D,vu=Xt,Su=B,Eu=function(e,t,n){gu?vu.f(e,t,Su(0,n)):e[t]=n},yu=w,Iu=be,mu=_t("species"),Tu=function(e){return Iu>=51||!yu(function(){var t=[];return(t.constructor={})[mu]=function(){return{foo:1}},1!==t[e](Boolean).foo})},Cu=_i,Au=w,_u=Ys,bu=he,Ou=ct,Nu=Mr,wu=pu,Du=Eu,Ru=lo,Lu=Tu,Pu=be,Vu=_t("isConcatSpreadable"),Uu=Pu>=51||!Au(function(){var e=[];return e[Vu]=!1,e.concat()[0]!==e}),Mu=function(e){if(!bu(e))return!1;var t=e[Vu];return void 0!==t?!!t:_u(e)};Cu({target:"Array",proto:!0,arity:1,forced:!Uu||!Lu("concat")},{concat:function(e){var t,n,r,i,s,o=Ou(this),a=Ru(o,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Mu(s=-1===t?o:arguments[t]))for(i=Nu(s),wu(c+i),n=0;n<i;n++,c++)n in s&&Du(a,c,s[n]);else wu(c+1),Du(a,c++,s);return a.length=c,a}});var ku=w,Fu=function(e,t){var n=[][e];return!!n&&ku(function(){n.call(null,t||function(){return 1},1)})},xu=yo.every;_i({target:"Array",proto:!0,forced:!Fu("every")},{every:function(e){return xu(this,e,arguments.length>1?arguments[1]:void 0)}});var Gu=yo.filter;_i({target:"Array",proto:!0,forced:!Tu("filter")},{filter:function(e){return Gu(this,e,arguments.length>1?arguments[1]:void 0)}});var Bu=_t,ju=us,Hu=Xt.f,Yu=Bu("unscopables"),Wu=Array.prototype;void 0===Wu[Yu]&&Hu(Wu,Yu,{configurable:!0,value:ju(null)});var Ju=function(e){Wu[Yu][e]=!0},Ku=_i,zu=yo.find,qu=Ju,Qu="find",$u=!0;Qu in[]&&Array(1)[Qu](function(){$u=!1}),Ku({target:"Array",proto:!0,forced:$u},{find:function(e){return zu(this,e,arguments.length>1?arguments[1]:void 0)}}),qu(Qu);var Xu=Ys,Zu=Mr,el=pu,tl=js,nl=function(e,t,n,r,i,s,o,a){for(var c,u,l=i,d=0,h=!!o&&tl(o,a);d<r;)d in n&&(c=h?h(n[d],d,t):n[d],s>0&&Xu(c)?(u=Zu(c),l=nl(e,t,c,u,l,s-1)-1):(el(l+1),e[l]=c),l++),d++;return l},rl=nl,il=ct,sl=Mr,ol=Or,al=lo;_i({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=il(this),n=sl(t),r=al(t,0);return r.length=rl(r,t,t,n,0,void 0===e?1:ol(e)),r}});var cl=yo.forEach,ul=Fu("forEach")?[].forEach:function(e){return cl(this,e,arguments.length>1?arguments[1]:void 0)};_i({target:"Array",proto:!0,forced:[].forEach!==ul},{forEach:ul});var ll=Br.includes,dl=Ju;_i({target:"Array",proto:!0,forced:w(function(){return!Array(1).includes()})},{includes:function(e){return ll(this,e,arguments.length>1?arguments[1]:void 0)}}),dl("includes");var hl=yo.map;_i({target:"Array",proto:!0,forced:!Tu("map")},{map:function(e){return hl(this,e,arguments.length>1?arguments[1]:void 0)}});var fl=je,pl=ct,gl=te,vl=Mr,Sl=TypeError,El="Reduce of empty array with no initial value",yl=function(e){return function(t,n,r,i){var s=pl(t),o=gl(s),a=vl(s);if(fl(n),0===a&&r<2)throw new Sl(El);var c=e?a-1:0,u=e?-1:1;if(r<2)for(;;){if(c in o){i=o[c],c+=u;break}if(c+=u,e?c<0:a<=c)throw new Sl(El)}for(;e?c>=0:a>c;c+=u)c in o&&(i=n(i,o[c],c,s));return i}},Il={left:yl(!1),right:yl(!0)},ml=O,Tl=ye,Cl=Q,Al=function(e){return Tl.slice(0,e.length)===e},_l=Al("Bun/")?"BUN":Al("Cloudflare-Workers")?"CLOUDFLARE":Al("Deno/")?"DENO":Al("Node.js/")?"NODE":ml.Bun&&"string"==typeof Bun.version?"BUN":ml.Deno&&"object"==typeof Deno.version?"DENO":"process"===Cl(ml.process)?"NODE":ml.window&&ml.document?"BROWSER":"REST",bl="NODE"===_l,Ol=Il.left;_i({target:"Array",proto:!0,forced:!bl&&be>79&&be<83||!Fu("reduce")},{reduce:function(e){var t=arguments.length;return Ol(this,e,t,t>1?arguments[1]:void 0)}});var Nl=_i,wl=Ys,Dl=ro,Rl=he,Ll=Rr,Pl=Mr,Vl=ce,Ul=Eu,Ml=_t,kl=ds,Fl=Tu("slice"),xl=Ml("species"),Gl=Array,Bl=Math.max;Nl({target:"Array",proto:!0,forced:!Fl},{slice:function(e,t){var n,r,i,s=Vl(this),o=Pl(s),a=Ll(e,o),c=Ll(void 0===t?o:t,o);if(wl(s)&&(n=s.constructor,(Dl(n)&&(n===Gl||wl(n.prototype))||Rl(n)&&null===(n=n[xl]))&&(n=void 0),n===Gl||void 0===n))return kl(s,a,c);for(r=new(void 0===n?Gl:n)(Bl(c-a,0)),i=0;a<c;a++,i++)a in s&&Ul(r,i,s[a]);return r.length=i,r}});var jl=yo.some;_i({target:"Array",proto:!0,forced:!Fu("some")},{some:function(e){return jl(this,e,arguments.length>1?arguments[1]:void 0)}}),Ju("flat");var Hl=J,Yl=je,Wl=he,Jl=dt,Kl=ds,zl=R,ql=Function,Ql=Hl([].concat),$l=Hl([].join),Xl={},Zl=zl?ql.bind:function(e){var t=Yl(this),n=t.prototype,r=Kl(arguments,1),i=function(){var n=Ql(r,Kl(arguments));return this instanceof i?function(e,t,n){if(!Jl(Xl,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";Xl[t]=ql("C,a","return new C("+$l(r,",")+")")}return Xl[t](e,n)}(t,n.length,n):t.apply(e,n)};return Wl(n)&&(i.prototype=n),i},ed=Zl;_i({target:"Function",proto:!0,forced:Function.bind!==ed},{bind:ed});var td=D,nd=_n.EXISTS,rd=J,id=ys,sd=Function.prototype,od=rd(sd.toString),ad=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cd=rd(ad.exec);td&&!nd&&id(sd,"name",{configurable:!0,get:function(){try{return cd(ad,od(this))[1]}catch(e){return""}}});var ud=ct,ld=Bi;_i({target:"Object",stat:!0,forced:w(function(){ld(1)})},{keys:function(e){return ld(ud(e))}});var dd=Vi,hd=Oi?{}.toString:function(){return"[object "+dd(this)+"]"};Oi||Tr(Object.prototype,"toString",hd,{unsafe:!0});var fd,pd,gd,vd,Sd=J,Ed=je,yd=he,Id=function(e){return yd(e)||null===e},md=String,Td=TypeError,Cd=function(e,t,n){try{return Sd(Ed(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},Ad=he,_d=se,bd=function(e){if(Id(e))return e;throw new Td("Can't set "+md(e)+" as a prototype")},Od=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Cd(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return _d(n),bd(r),Ad(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),Nd=ge,wd=ys,Dd=D,Rd=_t("species"),Ld=function(e){var t=Nd(e);Dd&&t&&!t[Rd]&&wd(t,Rd,{configurable:!0,get:function(){return this}})},Pd=ve,Vd=TypeError,Ud=function(e,t){if(Pd(t,e))return e;throw new Vd("Incorrect invocation")},Md=ro,kd=Fe,Fd=TypeError,xd=function(e){if(Md(e))return e;throw new Fd(kd(e)+" is not a constructor")},Gd=rn,Bd=xd,jd=ne,Hd=_t("species"),Yd=function(e,t){var n,r=Gd(e).constructor;return void 0===r||jd(n=Gd(r)[Hd])?t:Bd(n)},Wd=TypeError,Jd=function(e,t){if(e<t)throw new Wd("Not enough arguments");return e},Kd=/(?:ipad|iphone|ipod).*applewebkit/i.test(ye),zd=O,qd=qa,Qd=js,$d=le,Xd=dt,Zd=w,eh=qi,th=ds,nh=Gt,rh=Jd,ih=Kd,sh=bl,oh=zd.setImmediate,ah=zd.clearImmediate,ch=zd.process,uh=zd.Dispatch,lh=zd.Function,dh=zd.MessageChannel,hh=zd.String,fh=0,ph={},gh="onreadystatechange";Zd(function(){fd=zd.location});var vh=function(e){if(Xd(ph,e)){var t=ph[e];delete ph[e],t()}},Sh=function(e){return function(){vh(e)}},Eh=function(e){vh(e.data)},yh=function(e){zd.postMessage(hh(e),fd.protocol+"//"+fd.host)};oh&&ah||(oh=function(e){rh(arguments.length,1);var t=$d(e)?e:lh(e),n=th(arguments,1);return ph[++fh]=function(){qd(t,void 0,n)},pd(fh),fh},ah=function(e){delete ph[e]},sh?pd=function(e){ch.nextTick(Sh(e))}:uh&&uh.now?pd=function(e){uh.now(Sh(e))}:dh&&!ih?(vd=(gd=new dh).port2,gd.port1.onmessage=Eh,pd=Qd(vd.postMessage,vd)):zd.addEventListener&&$d(zd.postMessage)&&!zd.importScripts&&fd&&"file:"!==fd.protocol&&!Zd(yh)?(pd=yh,zd.addEventListener("message",Eh,!1)):pd=gh in nh("script")?function(e){eh.appendChild(nh("script"))[gh]=function(){eh.removeChild(this),vh(e)}}:function(e){setTimeout(Sh(e),0)});var Ih={set:oh,clear:ah},mh=O,Th=D,Ch=Object.getOwnPropertyDescriptor,Ah=function(e){if(!Th)return mh[e];var t=Ch(mh,e);return t&&t.value},_h=function(){this.head=null,this.tail=null};_h.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var bh,Oh,Nh,wh,Dh,Rh=_h,Lh=/ipad|iphone|ipod/i.test(ye)&&"undefined"!=typeof Pebble,Ph=/web0s(?!.*chrome)/i.test(ye),Vh=O,Uh=Ah,Mh=js,kh=Ih.set,Fh=Rh,xh=Kd,Gh=Lh,Bh=Ph,jh=bl,Hh=Vh.MutationObserver||Vh.WebKitMutationObserver,Yh=Vh.document,Wh=Vh.process,Jh=Vh.Promise,Kh=Uh("queueMicrotask");if(!Kh){var zh=new Fh,qh=function(){var e,t;for(jh&&(e=Wh.domain)&&e.exit();t=zh.get();)try{t()}catch(e){throw zh.head&&bh(),e}e&&e.enter()};xh||jh||Bh||!Hh||!Yh?!Gh&&Jh&&Jh.resolve?((wh=Jh.resolve(void 0)).constructor=Jh,Dh=Mh(wh.then,wh),bh=function(){Dh(qh)}):jh?bh=function(){Wh.nextTick(qh)}:(kh=Mh(kh,Vh),bh=function(){kh(qh)}):(Oh=!0,Nh=Yh.createTextNode(""),new Hh(qh).observe(Nh,{characterData:!0}),bh=function(){Nh.data=Oh=!Oh}),Kh=function(e){zh.head||bh(),zh.add(e)}}var Qh=Kh,$h=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Xh=O.Promise,Zh=O,ef=Xh,tf=le,nf=Si,rf=Pn,sf=_t,of=_l,af=be;ef&&ef.prototype;var cf=sf("species"),uf=!1,lf=tf(Zh.PromiseRejectionEvent),df=nf("Promise",function(){var e=rf(ef),t=e!==String(ef);if(!t&&66===af)return!0;if(!af||af<51||!/native code/.test(e)){var n=new ef(function(e){e(1)}),r=function(e){e(function(){},function(){})};if((n.constructor={})[cf]=r,!(uf=n.then(function(){})instanceof r))return!0}return!(t||"BROWSER"!==of&&"DENO"!==of||lf)}),hf={CONSTRUCTOR:df,REJECTION_EVENT:lf,SUBCLASSING:uf},ff={},pf=je,gf=TypeError,vf=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw new gf("Bad Promise constructor");t=e,n=r}),this.resolve=pf(t),this.reject=pf(n)};ff.f=function(e){return new vf(e)};var Sf,Ef,yf,If,mf=_i,Tf=bl,Cf=O,Af=Ts,_f=V,bf=Tr,Of=Od,Nf=Us,wf=Ld,Df=je,Rf=le,Lf=he,Pf=Ud,Vf=Yd,Uf=Ih.set,Mf=Qh,kf=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}},Ff=$h,xf=Rh,Gf=er,Bf=Xh,jf=ff,Hf="Promise",Yf=hf.CONSTRUCTOR,Wf=hf.REJECTION_EVENT,Jf=hf.SUBCLASSING,Kf=Gf.getterFor(Hf),zf=Gf.set,qf=Bf&&Bf.prototype,Qf=Bf,$f=qf,Xf=Cf.TypeError,Zf=Cf.document,ep=Cf.process,tp=jf.f,np=tp,rp=!!(Zf&&Zf.createEvent&&Cf.dispatchEvent),ip="unhandledrejection",sp=function(e){var t;return!(!Lf(e)||!Rf(t=e.then))&&t},op=function(e,t){var n,r,i,s=t.value,o=1===t.state,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2===t.rejection&&dp(t),t.rejection=1),!0===a?n=s:(l&&l.enter(),n=a(s),l&&(l.exit(),i=!0)),n===e.promise?u(new Xf("Promise-chain cycle")):(r=sp(n))?_f(r,n,c,u):c(n)):u(s)}catch(e){l&&!i&&l.exit(),u(e)}},ap=function(e,t){e.notified||(e.notified=!0,Mf(function(){for(var n,r=e.reactions;n=r.get();)op(n,e);e.notified=!1,t&&!e.rejection&&up(e)}))},cp=function(e,t,n){var r,i;rp?((r=Zf.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Cf.dispatchEvent(r)):r={promise:t,reason:n},!Wf&&(i=Cf["on"+e])?i(r):e===ip&&kf("Unhandled promise rejection",n)},up=function(e){_f(Uf,Cf,function(){var t,n=e.facade,r=e.value;if(lp(e)&&(t=Ff(function(){Tf?ep.emit("unhandledRejection",r,n):cp(ip,n,r)}),e.rejection=Tf||lp(e)?2:1,t.error))throw t.value})},lp=function(e){return 1!==e.rejection&&!e.parent},dp=function(e){_f(Uf,Cf,function(){var t=e.facade;Tf?ep.emit("rejectionHandled",t):cp("rejectionhandled",t,e.value)})},hp=function(e,t,n){return function(r){e(t,r,n)}},fp=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ap(e,!0))},pp=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new Xf("Promise can't be resolved itself");var r=sp(t);r?Mf(function(){var n={done:!1};try{_f(r,t,hp(pp,n,e),hp(fp,n,e))}catch(t){fp(n,t,e)}}):(e.value=t,e.state=1,ap(e,!1))}catch(t){fp({done:!1},t,e)}}};if(Yf&&($f=(Qf=function(e){Pf(this,$f),Df(e),_f(Sf,this);var t=Kf(this);try{e(hp(pp,t),hp(fp,t))}catch(e){fp(t,e)}}).prototype,(Sf=function(e){zf(this,{type:Hf,done:!1,notified:!1,parent:!1,reactions:new xf,rejection:!1,state:0,value:null})}).prototype=bf($f,"then",function(e,t){var n=Kf(this),r=tp(Vf(this,Qf));return n.parent=!0,r.ok=!Rf(e)||e,r.fail=Rf(t)&&t,r.domain=Tf?ep.domain:void 0,0===n.state?n.reactions.add(r):Mf(function(){op(r,n)}),r.promise}),Ef=function(){var e=new Sf,t=Kf(e);this.promise=e,this.resolve=hp(pp,t),this.reject=hp(fp,t)},jf.f=tp=function(e){return e===Qf||e===yf?new Ef(e):np(e)},Rf(Bf)&&qf!==Object.prototype)){If=qf.then,Jf||bf(qf,"then",function(e,t){var n=this;return new Qf(function(e,t){_f(If,n,e,t)}).then(e,t)},{unsafe:!0});try{delete qf.constructor}catch(e){}Of&&Of(qf,$f)}mf({global:!0,constructor:!0,wrap:!0,forced:Yf},{Promise:Qf}),yf=Af.Promise,Nf(Qf,Hf,!1),wf(Hf);var gp={},vp=gp,Sp=_t("iterator"),Ep=Array.prototype,yp=function(e){return void 0!==e&&(vp.Array===e||Ep[Sp]===e)},Ip=Vi,mp=We,Tp=ne,Cp=gp,Ap=_t("iterator"),_p=function(e){if(!Tp(e))return mp(e,Ap)||mp(e,"@@iterator")||Cp[Ip(e)]},bp=V,Op=je,Np=rn,wp=Fe,Dp=_p,Rp=TypeError,Lp=function(e,t){var n=arguments.length<2?Dp(e):t;if(Op(n))return Np(bp(n,e));throw new Rp(wp(e)+" is not iterable")},Pp=V,Vp=rn,Up=We,Mp=function(e,t,n){var r,i;Vp(e);try{if(!(r=Up(e,"return"))){if("throw"===t)throw n;return n}r=Pp(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return Vp(r),n},kp=js,Fp=V,xp=rn,Gp=Fe,Bp=yp,jp=Mr,Hp=ve,Yp=Lp,Wp=_p,Jp=Mp,Kp=TypeError,zp=function(e,t){this.stopped=e,this.result=t},qp=zp.prototype,Qp=function(e,t,n){var r,i,s,o,a,c,u,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),g=kp(t,l),v=function(e){return r&&Jp(r,"normal"),new zp(!0,e)},S=function(e){return d?(xp(e),p?g(e[0],e[1],v):g(e[0],e[1])):p?g(e,v):g(e)};if(h)r=e.iterator;else if(f)r=e;else{if(!(i=Wp(e)))throw new Kp(Gp(e)+" is not iterable");if(Bp(i)){for(s=0,o=jp(e);o>s;s++)if((a=S(e[s]))&&Hp(qp,a))return a;return new zp(!1)}r=Yp(e,i)}for(c=h?e.next:r.next;!(u=Fp(c,r)).done;){try{a=S(u.value)}catch(e){Jp(r,"throw",e)}if("object"==typeof a&&a&&Hp(qp,a))return a}return new zp(!1)},$p=_t("iterator"),Xp=!1;try{var Zp=0,eg={next:function(){return{done:!!Zp++}},return:function(){Xp=!0}};eg[$p]=function(){return this},Array.from(eg,function(){throw 2})}catch(e){}var tg=function(e,t){try{if(!t&&!Xp)return!1}catch(e){return!1}var n=!1;try{var r={};r[$p]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},ng=Xh,rg=hf.CONSTRUCTOR||!tg(function(e){ng.all(e).then(void 0,function(){})}),ig=V,sg=je,og=ff,ag=$h,cg=Qp;_i({target:"Promise",stat:!0,forced:rg},{all:function(e){var t=this,n=og.f(t),r=n.resolve,i=n.reject,s=ag(function(){var n=sg(t.resolve),s=[],o=0,a=1;cg(e,function(e){var c=o++,u=!1;a++,ig(n,t,e).then(function(e){u||(u=!0,s[c]=e,--a||r(s))},i)}),--a||r(s)});return s.error&&i(s.value),n.promise}});var ug=_i,lg=hf.CONSTRUCTOR,dg=Xh,hg=ge,fg=le,pg=Tr,gg=dg&&dg.prototype;if(ug({target:"Promise",proto:!0,forced:lg,real:!0},{catch:function(e){return this.then(void 0,e)}}),fg(dg)){var vg=hg("Promise").prototype.catch;gg.catch!==vg&&pg(gg,"catch",vg,{unsafe:!0})}var Sg=V,Eg=je,yg=ff,Ig=$h,mg=Qp;_i({target:"Promise",stat:!0,forced:rg},{race:function(e){var t=this,n=yg.f(t),r=n.reject,i=Ig(function(){var i=Eg(t.resolve);mg(e,function(e){Sg(i,t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var Tg=ff;_i({target:"Promise",stat:!0,forced:hf.CONSTRUCTOR},{reject:function(e){var t=Tg.f(this);return(0,t.reject)(e),t.promise}});var Cg=rn,Ag=he,_g=ff,bg=_i,Og=hf.CONSTRUCTOR,Ng=function(e,t){if(Cg(e),Ag(t)&&t.constructor===e)return t;var n=_g.f(e);return(0,n.resolve)(t),n.promise};ge("Promise"),bg({target:"Promise",stat:!0,forced:Og},{resolve:function(e){return Ng(this,e)}});var wg=rn,Dg=function(){var e=wg(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Rg=w,Lg=O.RegExp,Pg=Rg(function(){var e=Lg("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),Vg=Pg||Rg(function(){return!Lg("a","y").sticky}),Ug={BROKEN_CARET:Pg||Rg(function(){var e=Lg("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:Vg,UNSUPPORTED_Y:Pg},Mg=w,kg=O.RegExp,Fg=Mg(function(){var e=kg(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),xg=w,Gg=O.RegExp,Bg=xg(function(){var e=Gg("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),jg=V,Hg=J,Yg=ki,Wg=Dg,Jg=Ug,Kg=us,zg=er.get,qg=Fg,Qg=Bg,$g=st("native-string-replace",String.prototype.replace),Xg=RegExp.prototype.exec,Zg=Xg,ev=Hg("".charAt),tv=Hg("".indexOf),nv=Hg("".replace),rv=Hg("".slice),iv=function(){var e=/a/,t=/b*/g;return jg(Xg,e,"a"),jg(Xg,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),sv=Jg.BROKEN_CARET,ov=void 0!==/()??/.exec("")[1];(iv||ov||sv||qg||Qg)&&(Zg=function(e){var t,n,r,i,s,o,a,c=this,u=zg(c),l=Yg(e),d=u.raw;if(d)return d.lastIndex=c.lastIndex,t=jg(Zg,d,l),c.lastIndex=d.lastIndex,t;var h=u.groups,f=sv&&c.sticky,p=jg(Wg,c),g=c.source,v=0,S=l;if(f&&(p=nv(p,"y",""),-1===tv(p,"g")&&(p+="g"),S=rv(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==ev(l,c.lastIndex-1))&&(g="(?: "+g+")",S=" "+S,v++),n=new RegExp("^(?:"+g+")",p)),ov&&(n=new RegExp("^"+g+"$(?!\\s)",p)),iv&&(r=c.lastIndex),i=jg(Xg,f?n:c,S),f?i?(i.input=rv(i.input,v),i[0]=rv(i[0],v),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:iv&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),ov&&i&&i.length>1&&jg($g,i[0],n,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)}),i&&h)for(i.groups=o=Kg(null),s=0;s<h.length;s++)o[(a=h[s])[0]]=i[a[1]];return i});var av=Zg;_i({target:"RegExp",proto:!0,forced:/./.exec!==av},{exec:av});var cv=he,uv=Q,lv=_t("match"),dv=function(e){var t;return cv(e)&&(void 0!==(t=e[lv])?!!t:"RegExp"===uv(e))},hv=dv,fv=TypeError,pv=function(e){if(hv(e))throw new fv("The method doesn't accept regular expressions");return e},gv=_t("match"),vv=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[gv]=!1,"/./"[e](t)}catch(e){}}return!1},Sv=_i,Ev=pv,yv=se,Iv=ki,mv=vv,Tv=J("".indexOf);Sv({target:"String",proto:!0,forced:!mv("includes")},{includes:function(e){return!!~Tv(Iv(yv(this)),Iv(Ev(e)),arguments.length>1?arguments[1]:void 0)}});var Cv=V,Av=Tr,_v=av,bv=w,Ov=_t,Nv=En,wv=Ov("species"),Dv=RegExp.prototype,Rv=function(e,t,n,r){var i=Ov(e),s=!bv(function(){var t={};return t[i]=function(){return 7},7!==""[e](t)}),o=s&&!bv(function(){var t=!1,n=/a/;if("split"===e){var r={};r[wv]=function(){return n},(n={constructor:r,flags:""})[i]=/./[i]}return n.exec=function(){return t=!0,null},n[i](""),!t});if(!s||!o||n){var a=/./[i],c=t(i,""[e],function(e,t,n,r,i){var o=t.exec;return o===_v||o===Dv.exec?s&&!i?{done:!0,value:Cv(a,t,n,r)}:{done:!0,value:Cv(e,n,t,r)}:{done:!1}});Av(String.prototype,e,c[0]),Av(Dv,i,c[1])}r&&Nv(Dv[i],"sham",!0)},Lv=J,Pv=Or,Vv=ki,Uv=se,Mv=Lv("".charAt),kv=Lv("".charCodeAt),Fv=Lv("".slice),xv=function(e){return function(t,n){var r,i,s=Vv(Uv(t)),o=Pv(n),a=s.length;return o<0||o>=a?e?"":void 0:(r=kv(s,o))<55296||r>56319||o+1===a||(i=kv(s,o+1))<56320||i>57343?e?Mv(s,o):r:e?Fv(s,o,o+2):i-56320+(r-55296<<10)+65536}},Gv={codeAt:xv(!1),charAt:xv(!0)},Bv=Gv.charAt,jv=function(e,t,n){return t+(n?Bv(e,t).length:1)},Hv=J,Yv=ct,Wv=Math.floor,Jv=Hv("".charAt),Kv=Hv("".replace),zv=Hv("".slice),qv=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Qv=/\$([$&'`]|\d{1,2})/g,$v=w,Xv=O.RegExp,Zv=!$v(function(){var e=!0;try{Xv(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(s.hasIndices="d"),s)i(o,s[o]);return Object.getOwnPropertyDescriptor(Xv.prototype,"flags").get.call(t)!==r||n!==r}),eS=V,tS=dt,nS=ve,rS={correct:Zv},iS=Dg,sS=RegExp.prototype,oS=rS.correct?function(e){return e.flags}:function(e){return rS.correct||!nS(sS,e)||tS(e,"flags")?e.flags:eS(iS,e)},aS=V,cS=rn,uS=le,lS=Q,dS=av,hS=TypeError,fS=function(e,t){var n=e.exec;if(uS(n)){var r=aS(n,e,t);return null!==r&&cS(r),r}if("RegExp"===lS(e))return aS(dS,e,t);throw new hS("RegExp#exec called on incompatible receiver")},pS=qa,gS=V,vS=J,SS=Rv,ES=w,yS=rn,IS=le,mS=he,TS=Or,CS=Vr,AS=ki,_S=se,bS=jv,OS=We,NS=function(e,t,n,r,i,s){var o=n+e.length,a=r.length,c=Qv;return void 0!==i&&(i=Yv(i),c=qv),Kv(s,c,function(s,c){var u;switch(Jv(c,0)){case"$":return"$";case"&":return e;case"`":return zv(t,0,n);case"'":return zv(t,o);case"<":u=i[zv(c,1,-1)];break;default:var l=+c;if(0===l)return s;if(l>a){var d=Wv(l/10);return 0===d?s:d<=a?void 0===r[d-1]?Jv(c,1):r[d-1]+Jv(c,1):s}u=r[l-1]}return void 0===u?"":u})},wS=oS,DS=fS,RS=_t("replace"),LS=Math.max,PS=Math.min,VS=vS([].concat),US=vS([].push),MS=vS("".indexOf),kS=vS("".slice),FS=function(e){return void 0===e?e:String(e)},xS="$0"==="a".replace(/./,"$0"),GS=!!/./[RS]&&""===/./[RS]("a","$0");SS("replace",function(e,t,n){var r=GS?"$":"$0";return[function(e,n){var r=_S(this),i=mS(e)?OS(e,RS):void 0;return i?gS(i,e,r,n):gS(t,AS(r),e,n)},function(e,i){var s=yS(this),o=AS(e);if("string"==typeof i&&-1===MS(i,r)&&-1===MS(i,"$<")){var a=n(t,s,o,i);if(a.done)return a.value}var c=IS(i);c||(i=AS(i));var u,l=AS(wS(s)),d=-1!==MS(l,"g");d&&(u=-1!==MS(l,"u"),s.lastIndex=0);for(var h,f=[];null!==(h=DS(s,o))&&(US(f,h),d);){""===AS(h[0])&&(s.lastIndex=bS(o,CS(s.lastIndex),u))}for(var p="",g=0,v=0;v<f.length;v++){for(var S,E=AS((h=f[v])[0]),y=LS(PS(TS(h.index),o.length),0),I=[],m=1;m<h.length;m++)US(I,FS(h[m]));var T=h.groups;if(c){var C=VS([E],I,y,o);void 0!==T&&US(C,T),S=AS(pS(i,void 0,C))}else S=NS(E,o,y,I,T,i);y>=g&&(p+=kS(o,g,y)+S,g=y+E.length)}return p+kS(o,g)}]},!!ES(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!xS||GS);var BS="\t\n\v\f\r \u2028\u2029\ufeff",jS=se,HS=ki,YS=BS,WS=J("".replace),JS=RegExp("^["+YS+"]+"),KS=RegExp("(^|[^"+YS+"])["+YS+"]+$"),zS=function(e){return func