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