@namiml/web-sdk
Version:
Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing
1 lines • 2.01 MB
JavaScript
"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n,r,i={},a={};function o(){if(r)return n;r=1;var t=function(e){return e&&e.Math===Math&&e};return n=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||t("object"==typeof n&&n)||function(){return this}()||Function("return this")()}var s,u,l,d,c,h,f,m,p={};function v(){return u?s:(u=1,s=function(e){try{return!!e()}catch(e){return!0}})}function g(){if(d)return l;d=1;var e=v();return l=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function y(){if(h)return c;h=1;var e=v();return c=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function b(){if(m)return f;m=1;var e=y(),t=Function.prototype.call;return f=e?t.bind(t):function(){return t.apply(t,arguments)},f}var w,E,k,S,T,P,M,A,_,D,x,C,I,L,R,O,N,F,W,j,$,B,U,z,H,G,V,K,X,Y,q,J,Q,Z,ee,te,ne,re,ie,ae,oe,se={};function ue(){if(w)return se;w=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return se.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,se}function le(){return k?E:(k=1,E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function de(){if(T)return S;T=1;var e=y(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return S=e?r:function(e){return function(){return n.apply(e,arguments)}},S}function ce(){if(M)return P;M=1;var e=de(),t=e({}.toString),n=e("".slice);return P=function(e){return n(t(e),8,-1)},P}function he(){if(_)return A;_=1;var e=de(),t=v(),n=ce(),r=Object,i=e("".split);return A=t(function(){return!r("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?i(e,""):r(e)}:r,A}function fe(){return x||(x=1,D=function(e){return null==e}),D}function me(){if(I)return C;I=1;var e=fe(),t=TypeError;return C=function(n){if(e(n))throw new t("Can't call method on "+n);return n},C}function pe(){if(R)return L;R=1;var e=he(),t=me();return L=function(n){return e(t(n))},L}function ve(){if(N)return O;N=1;var e="object"==typeof document&&document.all;return O=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function ge(){if(W)return F;W=1;var e=ve();return F=function(t){return"object"==typeof t?null!==t:e(t)},F}function ye(){if($)return j;$=1;var e=o(),t=ve();return j=function(n,r){return arguments.length<2?(i=e[n],t(i)?i:void 0):e[n]&&e[n][r];var i},j}function be(){if(U)return B;U=1;var e=de();return B=e({}.isPrototypeOf)}function we(){if(H)return z;H=1;var e=o().navigator,t=e&&e.userAgent;return z=t?String(t):""}function Ee(){if(V)return G;V=1;var e,t,n=o(),r=we(),i=n.process,a=n.Deno,s=i&&i.versions||a&&a.version,u=s&&s.v8;return u&&(t=(e=u.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),G=t}function ke(){if(X)return K;X=1;var e=Ee(),t=v(),n=o().String;return K=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function Se(){if(q)return Y;q=1;var e=ke();return Y=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Te(){if(Q)return J;Q=1;var e=ye(),t=ve(),n=be(),r=Se(),i=Object;return J=r?function(e){return"symbol"==typeof e}:function(r){var a=e("Symbol");return t(a)&&n(a.prototype,i(r))},J}function Pe(){if(ee)return Z;ee=1;var e=String;return Z=function(t){try{return e(t)}catch(e){return"Object"}}}function Me(){if(ne)return te;ne=1;var e=ve(),t=Pe(),n=TypeError;return te=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function Ae(){if(ie)return re;ie=1;var e=Me(),t=fe();return re=function(n,r){var i=n[r];return t(i)?void 0:e(i)},re}function _e(){if(oe)return ae;oe=1;var e=b(),t=ve(),n=ge(),r=TypeError;return ae=function(i,a){var o,s;if("string"===a&&t(o=i.toString)&&!n(s=e(o,i)))return s;if(t(o=i.valueOf)&&!n(s=e(o,i)))return s;if("string"!==a&&t(o=i.toString)&&!n(s=e(o,i)))return s;throw new r("Can't convert object to primitive value")}}var De,xe,Ce,Ie,Le,Re,Oe,Ne,Fe,We,je,$e,Be,Ue,ze,He,Ge,Ve,Ke,Xe,Ye,qe,Je,Qe,Ze={exports:{}};function et(){return xe?De:(xe=1,De=!1)}function tt(){if(Ie)return Ce;Ie=1;var e=o(),t=Object.defineProperty;return Ce=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}}function nt(){if(Le)return Ze.exports;Le=1;var e=et(),t=o(),n=tt(),r="__core-js_shared__",i=Ze.exports=t[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.46.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ze.exports}function rt(){if(Oe)return Re;Oe=1;var e=nt();return Re=function(t,n){return e[t]||(e[t]=n||{})}}function it(){if(Fe)return Ne;Fe=1;var e=me(),t=Object;return Ne=function(n){return t(e(n))}}function at(){if(je)return We;je=1;var e=de(),t=it(),n=e({}.hasOwnProperty);return We=Object.hasOwn||function(e,r){return n(t(e),r)},We}function ot(){if(Be)return $e;Be=1;var e=de(),t=0,n=Math.random(),r=e(1.1.toString);return $e=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function st(){if(ze)return Ue;ze=1;var e=o(),t=rt(),n=at(),r=ot(),i=ke(),a=Se(),s=e.Symbol,u=t("wks"),l=a?s.for||s:s&&s.withoutSetter||r;return Ue=function(e){return n(u,e)||(u[e]=i&&n(s,e)?s[e]:l("Symbol."+e)),u[e]}}function ut(){if(Ge)return He;Ge=1;var e=b(),t=ge(),n=Te(),r=Ae(),i=_e(),a=st(),o=TypeError,s=a("toPrimitive");return He=function(a,u){if(!t(a)||n(a))return a;var l,d=r(a,s);if(d){if(void 0===u&&(u="default"),l=e(d,a,u),!t(l)||n(l))return l;throw new o("Can't convert object to primitive value")}return void 0===u&&(u="number"),i(a,u)}}function lt(){if(Ke)return Ve;Ke=1;var e=ut(),t=Te();return Ve=function(n){var r=e(n,"string");return t(r)?r:r+""}}function dt(){if(Ye)return Xe;Ye=1;var e=o(),t=ge(),n=e.document,r=t(n)&&t(n.createElement);return Xe=function(e){return r?n.createElement(e):{}},Xe}function ct(){if(Je)return qe;Je=1;var e=g(),t=v(),n=dt();return qe=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ht(){if(Qe)return p;Qe=1;var e=g(),t=b(),n=ue(),r=le(),i=pe(),a=lt(),o=at(),s=ct(),u=Object.getOwnPropertyDescriptor;return p.f=e?u:function(e,l){if(e=i(e),l=a(l),s)try{return u(e,l)}catch(e){}if(o(e,l))return r(!t(n.f,e,l),e[l])},p}var ft,mt,pt,vt,gt,yt,bt,wt={};function Et(){if(mt)return ft;mt=1;var e=g(),t=v();return ft=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function kt(){if(vt)return pt;vt=1;var e=ge(),t=String,n=TypeError;return pt=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function St(){if(gt)return wt;gt=1;var e=g(),t=ct(),n=Et(),r=kt(),i=lt(),a=TypeError,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",d="writable";return wt.f=e?n?function(e,t,n){if(r(e),t=i(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var a=s(e,t);a&&a[d]&&(e[t]=n.value,n={configurable:l in n?n[l]:a[l],enumerable:u in n?n[u]:a[u],writable:!1})}return o(e,t,n)}:o:function(e,n,s){if(r(e),n=i(n),r(s),t)try{return o(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new a("Accessors not supported");return"value"in s&&(e[n]=s.value),e},wt}function Tt(){if(bt)return yt;bt=1;var e=g(),t=St(),n=le();return yt=e?function(e,r,i){return t.f(e,r,n(1,i))}:function(e,t,n){return e[t]=n,e}}var Pt,Mt,At,_t,Dt,xt,Ct,It,Lt,Rt,Ot,Nt,Ft,Wt,jt,$t={exports:{}};function Bt(){if(Mt)return Pt;Mt=1;var e=g(),t=at(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,i=t(n,"name"),a=i&&"something"===function(){}.name,o=i&&(!e||e&&r(n,"name").configurable);return Pt={EXISTS:i,PROPER:a,CONFIGURABLE:o}}function Ut(){if(_t)return At;_t=1;var e=de(),t=ve(),n=nt(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),At=n.inspectSource}function zt(){if(xt)return Dt;xt=1;var e=o(),t=ve(),n=e.WeakMap;return Dt=t(n)&&/native code/.test(String(n))}function Ht(){if(It)return Ct;It=1;var e=rt(),t=ot(),n=e("keys");return Ct=function(e){return n[e]||(n[e]=t(e))}}function Gt(){return Rt?Lt:(Rt=1,Lt={})}function Vt(){if(Nt)return Ot;Nt=1;var e,t,n,r=zt(),i=o(),a=ge(),s=Tt(),u=at(),l=nt(),d=Ht(),c=Gt(),h="Object already initialized",f=i.TypeError,m=i.WeakMap;if(r||l.state){var p=l.state||(l.state=new m);p.get=p.get,p.has=p.has,p.set=p.set,e=function(e,t){if(p.has(e))throw new f(h);return t.facade=e,p.set(e,t),t},t=function(e){return p.get(e)||{}},n=function(e){return p.has(e)}}else{var v=d("state");c[v]=!0,e=function(e,t){if(u(e,v))throw new f(h);return t.facade=e,s(e,v,t),t},t=function(e){return u(e,v)?e[v]:{}},n=function(e){return u(e,v)}}return Ot={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!a(n)||(r=t(n)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}},Ot}function Kt(){if(Ft)return $t.exports;Ft=1;var e=de(),t=v(),n=ve(),r=at(),i=g(),a=Bt().CONFIGURABLE,o=Ut(),s=Vt(),u=s.enforce,l=s.get,d=String,c=Object.defineProperty,h=e("".slice),f=e("".replace),m=e([].join),p=i&&!t(function(){return 8!==c(function(){},"length",{value:8}).length}),y=String(String).split("String"),b=$t.exports=function(e,t,n){"Symbol("===h(d(t),0,7)&&(t="["+f(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||a&&e.name!==t)&&(i?c(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&r(n,"arity")&&e.length!==n.arity&&c(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?i&&c(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=u(e);return r(o,"source")||(o.source=m(y,"string"==typeof t?t:"")),e};return Function.prototype.toString=b(function(){return n(this)&&l(this).source||o(this)},"toString"),$t.exports}function Xt(){if(jt)return Wt;jt=1;var e=ve(),t=St(),n=Kt(),r=tt();return Wt=function(i,a,o,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:a;if(e(o)&&n(o,l,s),s.global)u?i[a]=o:r(a,o);else{try{s.unsafe?i[a]&&(u=!0):delete i[a]}catch(e){}u?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i}}var Yt,qt,Jt,Qt,Zt,en,tn,nn,rn,an,on,sn,un,ln,dn,cn,hn,fn={};function mn(){if(qt)return Yt;qt=1;var e=Math.ceil,t=Math.floor;return Yt=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)},Yt}function pn(){if(Qt)return Jt;Qt=1;var e=mn();return Jt=function(t){var n=+t;return n!=n||0===n?0:e(n)}}function vn(){if(en)return Zt;en=1;var e=pn(),t=Math.max,n=Math.min;return Zt=function(r,i){var a=e(r);return a<0?t(a+i,0):n(a,i)}}function gn(){if(nn)return tn;nn=1;var e=pn(),t=Math.min;return tn=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function yn(){if(an)return rn;an=1;var e=gn();return rn=function(t){return e(t.length)}}function bn(){if(sn)return on;sn=1;var e=pe(),t=vn(),n=yn(),r=function(r){return function(i,a,o){var s=e(i),u=n(s);if(0===u)return!r&&-1;var l,d=t(o,u);if(r&&a!=a){for(;u>d;)if((l=s[d++])!=l)return!0}else for(;u>d;d++)if((r||d in s)&&s[d]===a)return r||d||0;return!r&&-1}};return on={includes:r(!0),indexOf:r(!1)}}function wn(){if(ln)return un;ln=1;var e=de(),t=at(),n=pe(),r=bn().indexOf,i=Gt(),a=e([].push);return un=function(e,o){var s,u=n(e),l=0,d=[];for(s in u)!t(i,s)&&t(u,s)&&a(d,s);for(;o.length>l;)t(u,s=o[l++])&&(~r(d,s)||a(d,s));return d},un}function En(){return cn?dn:(cn=1,dn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function kn(){if(hn)return fn;hn=1;var e=wn(),t=En().concat("length","prototype");return fn.f=Object.getOwnPropertyNames||function(n){return e(n,t)},fn}var Sn,Tn,Pn,Mn,An,_n,Dn,xn,Cn,In,Ln,Rn,On,Nn,Fn,Wn={};function jn(){return Sn||(Sn=1,Wn.f=Object.getOwnPropertySymbols),Wn}function $n(){if(Pn)return Tn;Pn=1;var e=ye(),t=de(),n=kn(),r=jn(),i=kt(),a=t([].concat);return Tn=e("Reflect","ownKeys")||function(e){var t=n.f(i(e)),o=r.f;return o?a(t,o(e)):t},Tn}function Bn(){if(An)return Mn;An=1;var e=at(),t=$n(),n=ht(),r=St();return Mn=function(i,a,o){for(var s=t(a),u=r.f,l=n.f,d=0;d<s.length;d++){var c=s[d];e(i,c)||o&&e(o,c)||u(i,c,l(a,c))}},Mn}function Un(){if(Dn)return _n;Dn=1;var e=v(),t=ve(),n=/#|\.prototype\./,r=function(n,r){var u=a[i(n)];return u===s||u!==o&&(t(r)?e(r):!!r)},i=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},a=r.data={},o=r.NATIVE="N",s=r.POLYFILL="P";return _n=r}function zn(){if(Cn)return xn;Cn=1;var e=o(),t=ht().f,n=Tt(),r=Xt(),i=tt(),a=Bn(),s=Un();return xn=function(o,u){var l,d,c,h,f,m=o.target,p=o.global,v=o.stat;if(l=p?e:v?e[m]||i(m,{}):e[m]&&e[m].prototype)for(d in u){if(h=u[d],c=o.dontCallGetSet?(f=t(l,d))&&f.value:l[d],!s(p?d:m+(v?".":"#")+d,o.forced)&&void 0!==c){if(typeof h==typeof c)continue;a(h,c)}(o.sham||c&&c.sham)&&n(h,"sham",!0),r(l,d,h,o)}}}function Hn(){if(Ln)return In;Ln=1;var e={};return e[st()("toStringTag")]="z",In="[object z]"===String(e)}function Gn(){if(On)return Rn;On=1;var e=Hn(),t=ve(),n=ce(),r=st()("toStringTag"),i=Object,a="Arguments"===n(function(){return arguments}());return Rn=e?n:function(e){var o,s,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(o=i(e),r))?s:a?n(o):"Object"===(u=n(o))&&t(o.callee)?"Arguments":u},Rn}function Vn(){if(Fn)return Nn;Fn=1;var e=Gn(),t=String;return Nn=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}var Kn,Xn,Yn,qn,Jn,Qn,Zn,er={};function tr(){if(Xn)return Kn;Xn=1;var e=wn(),t=En();return Kn=Object.keys||function(n){return e(n,t)}}function nr(){if(Yn)return er;Yn=1;var e=g(),t=Et(),n=St(),r=kt(),i=pe(),a=tr();return er.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var o,s=i(t),u=a(t),l=u.length,d=0;l>d;)n.f(e,o=u[d++],s[o]);return e},er}function rr(){if(Jn)return qn;Jn=1;var e=ye();return qn=e("document","documentElement")}function ir(){if(Zn)return Qn;Zn=1;var e,t=kt(),n=nr(),r=En(),i=Gt(),a=rr(),o=dt(),s=Ht(),u="prototype",l="script",d=s("IE_PROTO"),c=function(){},h=function(e){return"<"+l+">"+e+"</"+l+">"},f=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,i;m="undefined"!=typeof document?document.domain&&e?f(e):(n=o("iframe"),i="java"+l+":",n.style.display="none",a.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):f(e);for(var s=r.length;s--;)delete m[u][r[s]];return m()};return i[d]=!0,Qn=Object.create||function(e,r){var i;return null!==e?(c[u]=t(e),i=new c,c[u]=null,i[d]=e):i=m(),void 0===r?i:n.f(i,r)}}var ar,or,sr,ur,lr,dr={};function cr(){if(or)return ar;or=1;var e=de();return ar=e([].slice)}function hr(){if(sr)return dr;sr=1;var e=ce(),t=pe(),n=kn().f,r=cr(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return dr.f=function(a){return i&&"Window"===e(a)?function(e){try{return n(e)}catch(e){return r(i)}}(a):n(t(a))},dr}function fr(){if(lr)return ur;lr=1;var e=Kt(),t=St();return ur=function(n,r,i){return i.get&&e(i.get,r,{getter:!0}),i.set&&e(i.set,r,{setter:!0}),t.f(n,r,i)}}var mr,pr,vr,gr,yr,br,wr,Er,kr,Sr,Tr,Pr,Mr,Ar,_r,Dr,xr,Cr,Ir,Lr,Rr,Or,Nr,Fr,Wr={};function jr(){if(mr)return Wr;mr=1;var e=st();return Wr.f=e,Wr}function $r(){if(vr)return pr;vr=1;var e=o();return pr=e}function Br(){if(yr)return gr;yr=1;var e=$r(),t=at(),n=jr(),r=St().f;return gr=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||r(a,i,{value:n.f(i)})},gr}function Ur(){if(wr)return br;wr=1;var e=b(),t=ye(),n=st(),r=Xt();return br=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,s=n("toPrimitive");a&&!a[s]&&r(a,s,function(t){return e(o,this)},{arity:1})}}function zr(){if(kr)return Er;kr=1;var e=St().f,t=at(),n=st()("toStringTag");return Er=function(r,i,a){r&&!a&&(r=r.prototype),r&&!t(r,n)&&e(r,n,{configurable:!0,value:i})}}function Hr(){if(Tr)return Sr;Tr=1;var e=ce(),t=de();return Sr=function(n){if("Function"===e(n))return t(n)}}function Gr(){if(Mr)return Pr;Mr=1;var e=Hr(),t=Me(),n=y(),r=e(e.bind);return Pr=function(e,i){return t(e),void 0===i?e:n?r(e,i):function(){return e.apply(i,arguments)}},Pr}function Vr(){if(_r)return Ar;_r=1;var e=ce();return Ar=Array.isArray||function(t){return"Array"===e(t)}}function Kr(){if(xr)return Dr;xr=1;var e=de(),t=v(),n=ve(),r=Gn(),i=ye(),a=Ut(),o=function(){},s=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,l=e(u.exec),d=!u.test(o),c=function(e){if(!n(e))return!1;try{return s(o,[],e),!0}catch(e){return!1}},h=function(e){if(!n(e))return!1;switch(r(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!l(u,a(e))}catch(e){return!0}};return h.sham=!0,Dr=!s||t(function(){var e;return c(c.call)||!c(Object)||!c(function(){e=!0})||e})?h:c}function Xr(){if(Ir)return Cr;Ir=1;var e=Vr(),t=Kr(),n=ge(),r=st()("species"),i=Array;return Cr=function(a){var o;return e(a)&&(o=a.constructor,(t(o)&&(o===i||e(o.prototype))||n(o)&&null===(o=o[r]))&&(o=void 0)),void 0===o?i:o},Cr}function Yr(){if(Rr)return Lr;Rr=1;var e=Xr();return Lr=function(t,n){return new(e(t))(0===n?0:n)}}function qr(){if(Nr)return Or;Nr=1;var e=Gr(),t=de(),n=he(),r=it(),i=yn(),a=Yr(),o=t([].push),s=function(t){var s=1===t,u=2===t,l=3===t,d=4===t,c=6===t,h=7===t,f=5===t||c;return function(m,p,v,g){for(var y,b,w=r(m),E=n(w),k=i(E),S=e(p,v),T=0,P=g||a,M=s?P(m,k):u||h?P(m,0):void 0;k>T;T++)if((f||T in E)&&(b=S(y=E[T],T,w),t))if(s)M[T]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return T;case 2:o(M,y)}else switch(t){case 4:return!1;case 7:o(M,y)}return c?-1:l||d?d:M}};return Or={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}var Jr,Qr,Zr,ei={};function ti(){if(Qr)return Jr;Qr=1;var e=ke();return Jr=e&&!!Symbol.for&&!!Symbol.keyFor}var ni,ri={};var ii,ai,oi,si,ui,li={};function di(){if(ai)return ii;ai=1;var e=y(),t=Function.prototype,n=t.apply,r=t.call;return ii="object"==typeof Reflect&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),ii}function ci(){if(ui)return li;ui=1;var e=zn(),t=ye(),n=di(),r=b(),i=de(),a=v(),o=ve(),s=Te(),u=cr(),l=function(){if(si)return oi;si=1;var e=de(),t=Vr(),n=ve(),r=ce(),i=Vn(),a=e([].push);return oi=function(e){if(n(e))return e;if(t(e)){for(var o=e.length,s=[],u=0;u<o;u++){var l=e[u];"string"==typeof l?a(s,l):"number"!=typeof l&&"Number"!==r(l)&&"String"!==r(l)||a(s,i(l))}var d=s.length,c=!0;return function(e,n){if(c)return c=!1,n;if(t(this))return n;for(var r=0;r<d;r++)if(s[r]===e)return n}}},oi}(),d=ke(),c=String,h=t("JSON","stringify"),f=i(/./.exec),m=i("".charAt),p=i("".charCodeAt),g=i("".replace),y=i(1.1.toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,S=!d||a(function(){var e=t("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))}),T=a(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")}),P=function(e,t){var i=u(arguments),a=l(t);if(o(a)||void 0!==e&&!s(e))return i[1]=function(e,t){if(o(a)&&(t=r(a,this,c(e),t)),!s(t))return t},n(h,null,i)},M=function(e,t,n){var r=m(n,t-1),i=m(n,t+1);return f(E,e)&&!f(k,i)||f(k,e)&&!f(E,r)?"\\u"+y(p(e,0),16):e};return h&&e({target:"JSON",stat:!0,arity:3,forced:S||T},{stringify:function(e,t,r){var i=u(arguments),a=n(S?P:h,null,i);return T&&"string"==typeof a?g(a,w,M):a}}),li}var hi,fi,mi={};function pi(){return fi||(fi=1,function(){if(Fr)return a;Fr=1;var e=zn(),t=o(),n=b(),r=de(),i=et(),s=g(),u=ke(),l=v(),d=at(),c=be(),h=kt(),f=pe(),m=lt(),p=Vn(),y=le(),w=ir(),E=tr(),k=kn(),S=hr(),T=jn(),P=ht(),M=St(),A=nr(),_=ue(),D=Xt(),x=fr(),C=rt(),I=Ht(),L=Gt(),R=ot(),O=st(),N=jr(),F=Br(),W=Ur(),j=zr(),$=Vt(),B=qr().forEach,U=I("hidden"),z="Symbol",H="prototype",G=$.set,V=$.getterFor(z),K=Object[H],X=t.Symbol,Y=X&&X[H],q=t.RangeError,J=t.TypeError,Q=t.QObject,Z=P.f,ee=M.f,te=S.f,ne=_.f,re=r([].push),ie=C("symbols"),ae=C("op-symbols"),oe=C("wks"),se=!Q||!Q[H]||!Q[H].findChild,ce=function(e,t,n){var r=Z(K,t);r&&delete K[t],ee(e,t,n),r&&e!==K&&ee(K,t,r)},he=s&&l(function(){return 7!==w(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a})?ce:ee,fe=function(e,t){var n=ie[e]=w(Y);return G(n,{type:z,tag:e,description:t}),s||(n.description=t),n},me=function(e,t,n){e===K&&me(ae,t,n),h(e);var r=m(t);return h(n),d(ie,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=w(n,{enumerable:y(0,!1)})):(d(e,U)||ee(e,U,y(1,w(null))),e[U][r]=!0),he(e,r,n)):ee(e,r,n)},ve=function(e,t){h(e);var r=f(t),i=E(r).concat(Ee(r));return B(i,function(t){s&&!n(ge,r,t)||me(e,t,r[t])}),e},ge=function(e){var t=m(e),r=n(ne,this,t);return!(this===K&&d(ie,t)&&!d(ae,t))&&(!(r||!d(this,t)||!d(ie,t)||d(this,U)&&this[U][t])||r)},ye=function(e,t){var n=f(e),r=m(t);if(n!==K||!d(ie,r)||d(ae,r)){var i=Z(n,r);return!i||!d(ie,r)||d(n,U)&&n[U][r]||(i.enumerable=!0),i}},we=function(e){var t=te(f(e)),n=[];return B(t,function(e){d(ie,e)||d(L,e)||re(n,e)}),n},Ee=function(e){var t=e===K,n=te(t?ae:f(e)),r=[];return B(n,function(e){!d(ie,e)||t&&!d(K,e)||re(r,ie[e])}),r};u||(X=function(){if(c(Y,this))throw new J("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,r=R(e),i=function(e){var a=void 0===this?t:this;a===K&&n(i,ae,e),d(a,U)&&d(a[U],r)&&(a[U][r]=!1);var o=y(1,e);try{he(a,r,o)}catch(e){if(!(e instanceof q))throw e;ce(a,r,o)}};return s&&se&&he(K,r,{configurable:!0,set:i}),fe(r,e)},D(Y=X[H],"toString",function(){return V(this).tag}),D(X,"withoutSetter",function(e){return fe(R(e),e)}),_.f=ge,M.f=me,A.f=ve,P.f=ye,k.f=S.f=we,T.f=Ee,N.f=function(e){return fe(O(e),e)},s&&(x(Y,"description",{configurable:!0,get:function(){return V(this).description}}),i||D(K,"propertyIsEnumerable",ge,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),B(E(oe),function(e){F(e)}),e({target:z,stat:!0,forced:!u},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),e({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(e,t){return void 0===t?w(e):ve(w(e),t)},defineProperty:me,defineProperties:ve,getOwnPropertyDescriptor:ye}),e({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:we}),W(),j(X,z),L[U]=!0}(),function(){if(Zr)return ei;Zr=1;var e=zn(),t=ye(),n=at(),r=Vn(),i=rt(),a=ti(),o=i("string-to-symbol-registry"),s=i("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!a},{for:function(e){var i=r(e);if(n(o,i))return o[i];var a=t("Symbol")(i);return o[i]=a,s[a]=i,a}})}(),function(){if(ni)return ri;ni=1;var e=zn(),t=at(),n=Te(),r=Pe(),i=rt(),a=ti(),o=i("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(e){if(!n(e))throw new TypeError(r(e)+" is not a symbol");if(t(o,e))return o[e]}})}(),ci(),function(){if(hi)return mi;hi=1;var e=zn(),t=ke(),n=v(),r=jn(),i=it();e({target:"Object",stat:!0,forced:!t||n(function(){r.f(1)})},{getOwnPropertySymbols:function(e){var t=r.f;return t?t(i(e)):[]}})}()),i}var vi,gi={};var yi,bi={};var wi;var Ei,ki={};var Si;var Ti;var Pi;var Mi;var Ai;var _i;var Di;var xi;var Ci;var Ii,Li={};var Ri,Oi={};var Ni;var Fi,Wi,ji,$i,Bi,Ui,zi,Hi,Gi,Vi,Ki,Xi,Yi,qi,Ji,Qi,Zi,ea,ta,na,ra,ia,aa,oa,sa,ua={};function la(){if(Wi)return Fi;Wi=1;var e=de(),t=Me();return Fi=function(n,r,i){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[i]))}catch(e){}}}function da(){if($i)return ji;$i=1;var e=ge();return ji=function(t){return e(t)||null===t}}function ca(){if(Ui)return Bi;Ui=1;var e=da(),t=String,n=TypeError;return Bi=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")}}function ha(){if(Hi)return zi;Hi=1;var e=la(),t=ge(),n=me(),r=ca();return zi=Object.setPrototypeOf||("__proto__"in{}?function(){var i,a=!1,o={};try{(i=e(Object.prototype,"__proto__","set"))(o,[]),a=o instanceof Array}catch(e){}return function(e,o){return n(e),r(o),t(e)?(a?i(e,o):e.__proto__=o,e):e}}():void 0)}function fa(){if(Vi)return Gi;Vi=1;var e=St().f;return Gi=function(t,n,r){r in t||e(t,r,{configurable:!0,get:function(){return n[r]},set:function(e){n[r]=e}})},Gi}function ma(){if(Xi)return Ki;Xi=1;var e=ve(),t=ge(),n=ha();return Ki=function(r,i,a){var o,s;return n&&e(o=i.constructor)&&o!==a&&t(s=o.prototype)&&s!==a.prototype&&n(r,s),r}}function pa(){if(qi)return Yi;qi=1;var e=Vn();return Yi=function(t,n){return void 0===t?arguments.length<2?"":n:e(t)},Yi}function va(){if(Qi)return Ji;Qi=1;var e=ge(),t=Tt();return Ji=function(n,r){e(r)&&"cause"in r&&t(n,"cause",r.cause)}}function ga(){if(ea)return Zi;ea=1;var e=de(),t=Error,n=e("".replace),r=String(new t("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,a=i.test(r);return Zi=function(e,r){if(a&&"string"==typeof e&&!t.prepareStackTrace)for(;r--;)e=n(e,i,"");return e}}function ya(){if(na)return ta;na=1;var e=v(),t=le();return ta=!e(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",t(1,7)),7!==e.stack)})}function ba(){if(ia)return ra;ia=1;var e=Tt(),t=ga(),n=ya(),r=Error.captureStackTrace;return ra=function(i,a,o,s){n&&(r?r(i,a):e(i,"stack",t(o,s)))},ra}function wa(){if(oa)return aa;oa=1;var e=ye(),t=at(),n=Tt(),r=be(),i=ha(),a=Bn(),o=fa(),s=ma(),u=pa(),l=va(),d=ba(),c=g(),h=et();return aa=function(f,m,p,v){var g="stackTraceLimit",y=v?2:1,b=f.split("."),w=b[b.length-1],E=e.apply(null,b);if(E){var k=E.prototype;if(!h&&t(k,"cause")&&delete k.cause,!p)return E;var S=e("Error"),T=m(function(e,t){var i=u(v?t:e,void 0),a=v?new E(e):new E;return void 0!==i&&n(a,"message",i),d(a,T,a.stack,2),this&&r(k,this)&&s(a,this,T),arguments.length>y&&l(a,arguments[y]),a});if(T.prototype=k,"Error"!==w?i?i(T,S):a(T,S,{name:!0}):c&&g in E&&(o(T,E,g),o(T,E,"prepareStackTrace")),a(T,E),!h)try{k.name!==w&&n(k,"name",w),k.constructor=T}catch(e){}return T}},aa}var Ea,ka={};var Sa,Ta,Pa,Ma={};function Aa(){if(Ta)return Sa;Ta=1;var e=g(),t=v(),n=kt(),r=pa(),i=Error.prototype.toString,a=t(function(){if(e){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==i.call(t))return!0}return"2: 1"!==i.call({message:1,name:2})||"Error"!==i.call({})});return Sa=a?function(){var e=n(this),t=r(e.name,"Error"),i=r(e.message);return t?i?t+": "+i:t:i}:i,Sa}var _a,Da,xa,Ca,Ia,La,Ra,Oa,Na,Fa,Wa,ja,$a,Ba,Ua,za,Ha,Ga,Va={},Ka={};function Xa(){if(Da)return _a;Da=1;var e=v();return _a=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}function Ya(){if(Ca)return xa;Ca=1;var e=at(),t=ve(),n=it(),r=Ht(),i=Xa(),a=r("IE_PROTO"),o=Object,s=o.prototype;return xa=i?o.getPrototypeOf:function(r){var i=n(r);if(e(i,a))return i[a];var u=i.constructor;return t(u)&&i instanceof u?u.prototype:i instanceof o?s:null}}function qa(){return La?Ia:(La=1,Ia={})}function Ja(){if(Oa)return Ra;Oa=1;var e=st(),t=qa(),n=e("iterator"),r=Array.prototype;return Ra=function(e){return void 0!==e&&(t.Array===e||r[n]===e)},Ra}function Qa(){if(Fa)return Na;Fa=1;var e=Gn(),t=Ae(),n=fe(),r=qa(),i=st()("iterator");return Na=function(a){if(!n(a))return t(a,i)||t(a,"@@iterator")||r[e(a)]},Na}function Za(){if(ja)return Wa;ja=1;var e=b(),t=Me(),n=kt(),r=Pe(),i=Qa(),a=TypeError;return Wa=function(o,s){var u=arguments.length<2?i(o):s;if(t(u))return n(e(u,o));throw new a(r(o)+" is not iterable")},Wa}function eo(){if(Ba)return $a;Ba=1;var e=b(),t=kt(),n=Ae();return $a=function(r,i,a){var o,s;t(r);try{if(!(o=n(r,"return"))){if("throw"===i)throw a;return a}o=e(o,r)}catch(e){s=!0,o=e}if("throw"===i)throw a;if(s)throw o;return t(o),a}}function to(){if(za)return Ua;za=1;var e=Gr(),t=b(),n=kt(),r=Pe(),i=Ja(),a=yn(),o=be(),s=Za(),u=Qa(),l=eo(),d=TypeError,c=function(e,t){this.stopped=e,this.result=t},h=c.prototype;return Ua=function(f,m,p){var v,g,y,b,w,E,k,S=p&&p.that,T=!(!p||!p.AS_ENTRIES),P=!(!p||!p.IS_RECORD),M=!(!p||!p.IS_ITERATOR),A=!(!p||!p.INTERRUPTED),_=e(m,S),D=function(e){return v&&l(v,"normal"),new c(!0,e)},x=function(e){return T?(n(e),A?_(e[0],e[1],D):_(e[0],e[1])):A?_(e,D):_(e)};if(P)v=f.iterator;else if(M)v=f;else{if(!(g=u(f)))throw new d(r(f)+" is not iterable");if(i(g)){for(y=0,b=a(f);b>y;y++)if((w=x(f[y]))&&o(h,w))return w;return new c(!1)}v=s(f,g)}for(E=P?f.next:v.next;!(k=t(E,v)).done;){try{w=x(k.value)}catch(e){l(v,"throw",e)}if("object"==typeof w&&w&&o(h,w))return w}return new c(!1)}}function no(){return Ga||(Ga=1,function(){if(Ha)return Ka;Ha=1;var e=zn(),t=be(),n=Ya(),r=ha(),i=Bn(),a=ir(),o=Tt(),s=le(),u=va(),l=ba(),d=to(),c=pa(),h=st()("toStringTag"),f=Error,m=[].push,p=function(e,i){var s,g=t(v,this);r?s=r(new f,g?n(this):v):(s=g?this:a(v),o(s,h,"Error")),void 0!==i&&o(s,"message",c(i)),l(s,p,s.stack,1),arguments.length>2&&u(s,arguments[2]);var y=[];return d(e,m,{that:y}),o(s,"errors",y),s};r?r(p,f):i(p,f,{name:!0});var v=p.prototype=a(f.prototype,{constructor:s(1,p),message:s(1,""),name:s(1,"AggregateError")});e({global:!0,constructor:!0,arity:2},{AggregateError:p})}()),Va}var ro,io={};var ao,oo={};var so,uo,lo,co={};function ho(){if(uo)return so;uo=1;var e=st(),t=ir(),n=St().f,r=e("unscopables"),i=Array.prototype;return void 0===i[r]&&n(i,r,{configurable:!0,value:t(null)}),so=function(e){i[r][e]=!0}}var fo,mo,po,vo,go,yo,bo,wo={};function Eo(){if(mo)return fo;mo=1;var e=TypeError;return fo=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t},fo}function ko(){if(vo)return po;vo=1;var e=g(),t=St(),n=le();return po=function(r,i,a){e?t.f(r,i,n(0,a)):r[i]=a}}function So(){if(yo)return go;yo=1;var e=v(),t=st(),n=Ee(),r=t("species");return go=function(t){return n>=51||!e(function(){var e=[];return(e.constructor={})[r]=function(){return{foo:1}},1!==e[t](Boolean).foo})}}var To,Po,Mo,Ao,_o,Do={};function xo(){if(Po)return To;Po=1;var e=Pe(),t=TypeError;return To=function(n,r){if(!delete n[r])throw new t("Cannot delete property "+e(r)+" of "+e(n))},To}function Co(){if(Ao)return Mo;Ao=1;var e=it(),t=vn(),n=yn(),r=xo(),i=Math.min;return Mo=[].copyWithin||function(a,o){var s=e(this),u=n(s),l=t(a,u),d=t(o,u),c=arguments.length>2?arguments[2]:void 0,h=i((void 0===c?u:t(c,u))-d,u-l),f=1;for(d<l&&l<d+h&&(f=-1,d+=h-1,l+=h-1);h-- >0;)d in s?s[l]=s[d]:r(s,l),l+=f,d+=f;return s},Mo}var Io,Lo,Ro,Oo={};function No(){if(Lo)return Io;Lo=1;var e=v();return Io=function(t,n){var r=[][t];return!!r&&e(function(){r.call(null,n||function(){return 1},1)})}}var Fo,Wo,jo,$o={};function Bo(){if(Wo)return Fo;Wo=1;var e=it(),t=vn(),n=yn();return Fo=function(r){for(var i=e(this),a=n(i),o=arguments.length,s=t(o>1?arguments[1]:void 0,a),u=o>2?arguments[2]:void 0,l=void 0===u?a:t(u,a);l>s;)i[s++]=r;return i},Fo}var Uo,zo={};var Ho,Go={};var Vo,Ko={};var Xo,Yo,qo,Jo={};function Qo(){if(Yo)return Xo;Yo=1;var e=Gr(),t=he(),n=it(),r=yn(),i=function(i){var a=1===i;return function(o,s,u){for(var l,d=n(o),c=t(d),h=r(c),f=e(s,u);h-- >0;)if(f(l=c[h],h,d))switch(i){case 0:return l;case 1:return h}return a?-1:void 0}};return Xo={findLast:i(0),findLastIndex:i(1)}}var Zo,es={};var ts,ns,rs,is={};function as(){if(ns)return ts;ns=1;var e=Vr(),t=yn(),n=Eo(),r=Gr(),i=function(a,o,s,u,l,d,c,h){for(var f,m,p=l,v=0,g=!!c&&r(c,h);v<u;)v in s&&(f=g?g(s[v],v,o):s[v],d>0&&e(f)?(m=t(f),p=i(a,o,f,m,p,d-1)-1):(n(p+1),a[p]=f),p++),v++;return p};return ts=i}var os,ss={};var us,ls,ds,cs={};function hs(){if(ls)return us;ls=1;var e=qr().forEach,t=No()("forEach");return us=t?[].forEach:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)},us}var fs,ms,ps,vs,gs,ys,bs,ws={};function Es(){if(ms)return fs;ms=1;var e=kt(),t=eo();return fs=function(n,r,i,a){try{return a?r(e(i)[0],i[1]):r(i)}catch(e){t(n,"throw",e)}}}function ks(){if(vs)return ps;vs=1;var e=Gr(),t=b(),n=it(),r=Es(),i=Ja(),a=Kr(),o=yn(),s=ko(),u=Za(),l=Qa(),d=Array;return ps=function(c){var h=n(c),f=a(this),m=arguments.length,p=m>1?arguments[1]:void 0,v=void 0!==p;v&&(p=e(p,m>2?arguments[2]:void 0));var g,y,b,w,E,k,S=l(h),T=0;if(!S||this===d&&i(S))for(g=o(h),y=f?new this(g):d(g);g>T;T++)k=v?p(h[T],T):h[T],s(y,T,k);else for(y=f?new this:[],E=(w=u(h,S)).next;!(b=t(E,w)).done;T++)k=v?r(w,p,[b.value,T],!0):b.value,s(y,T,k);return y.length=T,y},ps}function Ss(){if(ys)return gs;ys=1;var e=st()("iterator"),t=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){t=!0}};r[e]=function(){return this},Array.from(r,function(){throw 2})}catch(e){}return gs=function(n,r){try{if(!r&&!t)return!1}catch(e){return!1}var i=!1;try{var a={};a[e]=function(){return{next:function(){return{done:i=!0}}}},n(a)}catch(e){}return i}}var Ts,Ps={};var Ms,As={};var _s,Ds,xs,Cs,Is,Ls,Rs,Os,Ns,Fs,Ws;function js(){if(xs)return Ds;xs=1;var e,t,n,r=v(),i=ve(),a=ge(),o=ir(),s=Ya(),u=Xt(),l=st(),d=et(),c=l("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(t=s(s(n)))!==Object.prototype&&(e=t):h=!0),!a(e)||r(function(){var t={};return e[c].call(t)!==t})?e={}:d&&(e=o(e)),i(e[c])||u(e,c,function(){return this}),Ds={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}}function $s(){if(Is)return Cs;Is=1;var e=js().IteratorPrototype,t=ir(),n=le(),r=zr(),i=qa(),a=function(){return this};return Cs=function(o,s,u,l){var d=s+" Iterator";return o.prototype=t(e,{next:n(+!l,u)}),r(o,d,!1,!0),i[d]=a,o},Cs}function Bs(){if(Rs)return Ls;Rs=1;var e=zn(),t=b(),n=et(),r=Bt(),i=ve(),a=$s(),o=Ya(),s=ha(),u=zr(),l=Tt(),d=Xt(),c=st(),h=qa(),f=js(),m=r.PROPER,p=r.CONFIGURABLE,v=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,y=c("iterator"),w="keys",E="values",k="entries",S=function(){return this};return Ls=function(r,c,f,b,T,P,M){a(f,c,b);var A,_,D,x=function(e){if(e===T&&O)return O;if(!g&&e&&e in L)return L[e];switch(e){case w:case E:case k:return function(){return new f(this,e)}}return function(){return new f(this)}},C=c+" Iterator",I=!1,L=r.prototype,R=L[y]||L["@@iterator"]||T&&L[T],O=!g&&R||x(T),N="Array"===c&&L.entries||R;if(N&&(A=o(N.call(new r)))!==Object.prototype&&A.next&&(n||o(A)===v||(s?s(A,v):i(A[y])||d(A,y,S)),u(A,C,!0,!0),n&&(h[C]=S)),m&&T===E&&R&&R.name!==E&&(!n&&p?l(L,"name",E):(I=!0,O=function(){return t(R,this)})),T)if(_={values:x(E),keys:P?O:x(w),entries:x(k)},M)for(D in _)(g||I||!(D in L))&&d(L,D,_[D]);else e({target:c,proto:!0,forced:g||I},_);return n&&!M||L[y]===O||d(L,y,O,{name:T}),h[c]=O,_},Ls}function Us(){return Ns?Os:(Ns=1,Os=function(e,t){return{value:e,done:t}})}function zs(){if(Ws)return Fs;Ws=1;var e=pe(),t=ho(),n=qa(),r=Vt(),i=St().f,a=Bs(),o=Us(),s=et(),u=g(),l="Array Iterator",d=r.set,c=r.getterFor(l);Fs=a(Array,"Array",function(t,n){d(this,{type:l,target:e(t),index:0,kind:n})},function(){var e=c(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,o(void 0,!0);switch(e.kind){case"keys":return o(n,!1);case"values":return o(t[n],!1)}return o([n,t[n]],!1)},"values");var h=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!s&&u&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(e){}return Fs}var Hs,Gs={};var Vs,Ks,Xs,Ys={};function qs(){if(Ks)return Vs;Ks=1;var e=di(),t=pe(),n=pn(),r=yn(),i=No(),a=Math.min,o=[].lastIndexOf,s=!!o&&1/[1].lastIndexOf(1,-0)<0,u=i("lastIndexOf");return Vs=s||!u?function(i){if(s)return e(o,this,arguments)||0;var u=t(this),l=r(u);if(0===l)return-1;var d=l-1;for(arguments.length>1&&(d=a(d,n(arguments[1]))),d<0&&(d=l+d);d>=0;d--)if(d in u&&u[d]===i)return d||0;return-1}:o,Vs}var Js,Qs={};var Zs,eu={};var tu,nu,ru,iu={};function au(){if(nu)return tu;nu=1;var e=g(),t=Vr(),n=TypeError,r=Object.getOwnPropertyDescriptor,i=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();return tu=i?function(e,i){if(t(e)&&!r(e,"length").writable)throw new n("Cannot set read only .length");return e.length=i}:function(e,t){return e.length=t}}var ou,su,uu,lu,du,cu,hu,fu={};function mu(){if(su)return ou;su=1;var e=Me(),t=it(),n=he(),r=yn(),i=TypeError,a="Reduce of empty array with no initial value",o=function(o){return function(s,u,l,d){var c=t(s),h=n(c),f=r(c);if(e(u),0===f&&l<2)throw new i(a);var m=o?f-1:0,p=o?-1:1;if(l<2)for(;;){if(m in h){d=h[m],m+=p;break}if(m+=p,o?m<0:f<=m)throw new i(a)}for(;o?m>=0:f>m;m+=p)m in h&&(d=u(d,h[m],m,c));return d}};return ou={left:o(!1),right:o(!0)}}function pu(){if(lu)return uu;lu=1;var e=o(),t=we(),n=ce(),r=function(e){return t.slice(0,e.length)===e};return uu=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function vu(){if(cu)return du;cu=1;var e=pu();return du="NODE"===e}var gu,yu={};var bu,wu={};var Eu,ku={};var Su,Tu={};var Pu,Mu,Au,_u,Du,xu,Cu,Iu,Lu,Ru={};function Ou(){if(Mu)return Pu;Mu=1;var e=cr(),t=Math.floor,n=function(r,i){var a=r.length;if(a<8)for(var o,s,u=1;u<a;){for(s=u,o=r[u];s&&i(r[s-1],o)>0;)r[s]=r[--s];s!==u++&&(r[s]=o)}else for(var l=t(a/2),d=n(e(r,0,l),i),c=n(e(r,l),i),h=d.length,f=c.length,m=0,p=0;m<h||p<f;)r[m+p]=m<h&&p<f?i(d[m],c[p])<=0?d[m++]:c[p++]:m<h?d[m++]:c[p++];return r};return Pu=n}function Nu(){if(_u)return Au;_u=1;var e=we().match(/firefox\/(\d+)/i);return Au=!!e&&+e[1]}function Fu(){if(xu)return Du;xu=1;var e=we();return Du=/MSIE|Trident/.test(e)}function Wu(){if(Iu)return Cu;Iu=1;var e=we().match(/AppleWebKit\/(\d+)\./);return Cu=!!e&&+e[1]}function ju(){if(Lu)return Ru;Lu=1;var e=zn(),t=de(),n=Me(),r=it(),i=yn(),a=xo(),o=Vn(),s=v(),u=Ou(),l=No(),d=Nu(),c=Fu(),h=Ee(),f=Wu(),m=[],p=t(m.sort),g=t(m.push),y=s(function(){m.sort(void 0)}),b=s(function(){m.sort(null)}),w=l("sort"),E=!s(function(){if(h)return h<70;if(!(d&&d>3)){if(c)return!0;if(f)return f<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort(function(e,t){return t.v-e.v}),r=0;r<m.length;r++)t=m[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});return e({target:"Array",proto:!0,forced:y||!b||!w||!E},{sort:function(e){void 0!==e&&n(e);var t=r(this);if(E)return void 0===e?p(t):p(t,e);var s,l,d=[],c=i(t);for(l=0;l<c;l++)l in t&&g(d,t[l]);for(u(d,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:o(t)>o(n)?1:-1}}(e)),s=i(d),l=0;l<s;)t[l]=d[l++];for(;l<c;)a(t,l++);return t}}),Ru}var $u,Bu,Uu;function zu(){if(Bu)return $u;Bu=1;var e=ye(),t=fr(),n=st(),r=g(),i=n("species");return $u=function(n){var a=e(n);r&&a&&!a[i]&&t(a,i,{configurable:!0,get:function(){return this}})}}var Hu,Gu={};var Vu,Ku,Xu,Yu={};function qu(){if(Ku)return Vu;Ku=1;var e=yn();return Vu=function(t,n){for(var r=e(t),i=new n(r),a=0;a<r;a++)i[a]=t[r-a-1];return i},Vu}var Ju,Qu,Zu,el,tl,nl={};function rl(){if(Qu)return Ju;Qu=1;var e=yn();return Ju=function(t,n,r){for(var i=0,a=arguments.length>2?r:e(n),o=new t(a);a>i;)o[i]=n[i++];return o},Ju}function il(){if(el)return Zu;el=1;var e=o();return Zu=function(t,n){var r=e[t],i=r&&r.prototype;return i&&i[n]}}var al,ol={};var sl;var ul;var ll,dl={};var cl,hl,fl,ml={};function pl(){if(hl)return cl;hl=1;var e=yn(),t=pn(),n=RangeError;return cl=function(r,i,a,o){var s=e(r),u=t(a),l=u<0?s+u:u;if(l>=s||l<0)throw new n("Incorrect index");for(var d=new i(s),c=0;c<s;c++)d[c]=c===l?o:r[c];return d},cl}var vl,gl,yl,bl,wl,El,kl,Sl,Tl,Pl,Ml,Al,_l,Dl,xl,Cl,Il,Ll,Rl,Ol,Nl,Fl={};function Wl(){return gl?vl:(gl=1,vl="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView)}function jl(){if(bl)return yl;bl=1;var e=Xt();return yl=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}}function $l(){if(El)return wl;El=1;var e=be(),t=TypeError;return wl=function(n,r){if(e(r,n))return n;throw new t("Incorrect invocation")},wl}function Bl(){if(Sl)return kl;Sl=1;var e=pn(),t=gn(),n=RangeError;return kl=function(r){if(void 0===r)return 0;var i=e(r),a=t(i);if(i!==a)throw new n("Wrong length or index");return a},kl}function Ul(){return Pl||(Pl=1,Tl=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}),Tl}function zl(){if(Al)return Ml;Al=1;var e=4503599627370496;return Ml=function(t){return t+e-e},Ml}function Hl(){if(Dl)return _l;Dl=1;var e=Ul(),t=zl(),n=Math.abs;return _l=function(r,i,a,o){var s=+r,u=n(s),l=e(s);if(u<o)return l*t(u/o/i)*o*i;var d=(1+i/2220446049250313e-31)*u,c=d-(d-u);return c>a||c!=c?l*(1/0):l*c},_l}function Gl(){if(Cl)return xl;Cl=1;var e=Hl();return xl=Math.fround||function(t){return e(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},xl}function Vl(){if(Ll)return Il;Ll=1;var e=Array,t=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,a=Math.LN2;return Il={pack:function(o,s,u){var l,d,c,h=e(u),f=8*u-s-1,m=(1<<f)-1,p=m>>1,v=23===s?n(2,-24)-n(2,-77):0,g=o<0||0===o&&1/o<0?1:0,y=0;for((o=t(o))!=o||o===1/0?(d=o!=o?1:0,l=m):(l=r(i(o)/a),o*(c=n(2,-l))<1&&(l--,c*=2),(o+=l+p>=1?v/c:v*n(2,1-p))*c>=2&&(l++,c/=2),l+p>=m?(d=0,l=m):l+p>=1?(d=(o*c-1)*n(2,s),l+=p):(d=o*n(2,p-1)*n(2,s),l=0));s>=8;)h[y++]=255&d,d/=256,s-=8;for(l=l<<s|d,f+=s;f>0;)h[y++]=255&l,l/=256,f-=8;return h[y-1]|=128*g,h},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,u=a-7,l=i-1,d=e[l--],c=127&d;for(d>>=7;u>0;)c=256*c+e[l--],u-=8;for(r=c&(1<<-u)-1,c>>=-u,u+=t;u>0;)r=256*r+e[l--],u-=8;if(0===c)c=1-s;else{if(c===o)return r?NaN:d?-1/0:1/0;r+=n(2,t),c-=s}return(d?-1:1)*r*n(2,c-t)}},Il}function Kl(){if(Ol)return Rl;Ol=1;var e=o(),t=de(),n=g(),r=Wl(),i=Bt(),a=Tt(),s=fr(),u=jl(),l=v(),d=$l(),c=pn(),h=gn(),f=Bl(),m=Gl(),p=Vl(),y=Ya(),b=ha(),w=Bo(),E=cr(),k=ma(),S=Bn(),T=zr(),P=Vt(),M=i.PROPER,A=i.CONFIGURABLE,_="ArrayBuffer",D="DataView",x="prototype",C="Wrong index",I=P.getterFor(_),L=P.getterFor(D),R=P.set,O=e[_],N=O,F=N&&N[x],W=e[D],j=W&&W[x],$=Object.prototype,B=e.Array,U=e.RangeError,z=t(w),H=t([].reverse),G=p.pack,V=p.unpack,K=function(e){return[255&e]},X=function(e){return[255&e,e>>8&255]},Y=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return G(m(e),23,4)},Q=function(e){return G(e,52,8)},Z=function(e,t,n){s(e[x],t,{configurable:!0,get:function(){return n(this)[t]}})},ee=function(e,t,n,r){var i=L(e),a=f(n),o=!!r;if(a+t>i.byteLength)throw new U(C);var s=i.bytes,u=a+i.byteOffset,l=E(s,u,u+t);return o?l:H(l)},te=function(e,t,n,r,i,a){var o=L(e),s=f(n),u=r(+i),l=!!a;if(s+t>o.byteLength)throw new U(C);for(var d=o.bytes,c=s+o.byteOffset,h=0;h<t;h++)d[c+h]=u[l?h:t-h-1]};if(r){var ne=M&&O.name!==_;l(function(){O(1)})&&l(function(){new O(-1)})&&!l(function(){return new O,new O(1.5),new O(NaN),1!==O.length||ne&&!A})?ne&&A&&a(O,"name",_):((N=function(e){return d(this,F),k(new O(f(e)),this,N)})[x]=F,F.constructor=N,S(N,O)),b&&y(j)!==$&&b(j,$);var re=new W(new N(2)),ie=t(j.setInt8);re.setInt8(0,2147483648),re.setInt8(1,2147483649),!re.getInt8(0)&&re.getInt8(1)||u(j,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else F=(N=function(e){d(this,F);var t=f(e);R(this,{type:_,bytes:z(B(t),0),byteLength:t}),n||(this.byteLength=t,this.detached=!1)})[x],j=(W=function(e,t,r){d(this,j),d(e,F);var i=I(e),a=i.byteLength,o=c(t);if(o<0||o>a)throw new U("Wrong offset");if(o+(r=void 0===r?a-o:h(r))>a)throw new U("Wrong length");R(this,{type:D,buffer:e,byteLength:r,byteOffset:o,bytes:i.bytes}),n||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[x],n&&(Z(N,"byteLength",I),Z(W,"buffer",L),Z(W,"byteLength",L),Z(W,"byteOffset",L)),u(j,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return q(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return V(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return V(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,K,t)},setUint8:function(e,t){te(this,1,e,K,t)},setInt16:function(e,t){te(this,2,e,X,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,X,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,Y,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,Y,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,Q,t,arguments.length>2&&arguments[2])}});return T(N,_),T(W,D),Rl={ArrayBuffer:N,DataView:W}}var Xl,Yl,ql,Jl={};function Ql(){if(Yl)return Xl;Yl=1;var e,t,n,r=Wl(),i=g(),a=o(),s=ve(),u=ge(),l=at(),d=Gn(),c=Pe(),h=Tt(),f=Xt(),m=fr(),p=be(),v=Ya(),y=ha(),b=st(),w=ot(),E=Vt(),k=E.enforce,S=E.get,T=a.Int8Array,P=T&&T.prototype,M=a.Uint8ClampedArray,A=M&&M.prototype,_=T&&v(T),D=P&&v(P),x=Object.prototype,C=a.TypeError,I=b("toStringTag"),L=w("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",O=r&&!!y&&"Opera"!==d(a.opera),N=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},j=function(e){var t=v(e);if(u(t)){var n=S(t);return n&&l(n,R)?n[R]:j(t)}},$=function(e){if(!u(e))return!1;var t=d(e);return l(F,t)||l(W,t)};for(e in F)(n=(t=a[e])&&t.prototype)?k(n)[R]=t:O=!1;for(e in W)(n=(t=a[e])&&t.prototype)&&(k(n)[R]=t);if((!O||!s(_)||_===Function.prototype)&&(_=function(){throw new C("Incorrect invocation")},O))for(e in F)a[e]&&y(a[e],_);if((!O||!D||D===x)&&(D=_.prototype,O))for(e in F)a[e]&&y(a[e].prototype,D);if(O&&v(A)!==D&&y(A,D),i&&!l(D,I))for(e in N=!0,m(D,I,{configurable:!0,get:function(){return u(this)?this[L]:void 0}}),F)a[e]&&h(a[e],L,e);return Xl={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:N&&L,aTypedArray:function(e){if($(e))return e;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(s(e)&&(!y||p(_,e)))return e;throw new C(c(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(i){if(n)for(var o in F){var s=a[o];if(s&&l(s.prototype,e))try{delete s.prototype[e]}catch(n){try{s.prototype[e]=t}catch(e){}}}D[e]&&!n||f(D,e,n?t:O&&P[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(y){if(n)for(r in F)if((o=a[r])&&l(o,e))try{delete o[e]}catch(e){}if(_[e]&&!n)return;try{return f(_,e,n?t:O&&_[e]||t)}catch(e){}}for(r in F)!(o=a[r])||o[e]&&!n||f(o,e,t)}},getTypedArrayConstructor:j,isView:function(e){if(!u(e))return!1;var t=d(e);return"DataView"===t||l(F,t)||l(W,t)},isTypedArray:$,TypedArray:_,TypedArrayPrototype:D},Xl}var Zl,ed={};var td,nd,rd={},id={};function ad(){return nd||(nd=1,function(){if(td)return id;td=1;var e=zn(),t=Kl();e({global:!0,constructor:!0,forced:!Wl()},{DataView:t.DataView})}()),rd}var od,sd={};function ud(){if(od)return sd;od=1;var e=zn(),t=de(),n=Math.pow,r=n(2,-24),i=.0009765625,a=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(e){return t=a(this,e,arguments.length>1&&arguments[1]),o=t>>>15,u=1023&t,31===(s=t>>>10&31)?0===u?0===o?1/0:-1/0:NaN:0===s?u*(0===o?r:-r):n(2,s-15)*(0===o?1+u*i:-1-u*i);var t,o,s,u}}),sd}var ld,dd,cd,hd,fd,md={};function pd(){if(dd)return ld;dd=1;var e=Gn(),t=TypeError;return ld=function(n){if("DataView"===e(n))return n;throw new t("Argument is not a DataView")}}function vd(){if(hd)return cd;hd=1;var e=Math.log,t=Math.LN2;return cd=Math.log2||function(n){return e(n)/t},cd}function gd(){if(fd)return md;fd=1;var e=zn(),t=de(),n=pd(),r=Bl(),i=vd(),a=zl(),o=Math.pow,s=1024,u=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(e,t){u(n(this),r(e),function(e){if(e!=e)return 32256;if(0===e)return(1/e==-1/0)<<15;var t=e<0;if(t&&(e=-e),e>=65520)return t<<15|31744;if(e<61005353927612305e-21)return t<<15|a(16777216*e);var n=0|i(e);if(-15===n)return t<<15|s;var r=a((e*o(2,-n)-1)*s);return r===s?t<<15|n+16<<10:t<<15|n+15<<10|r}(+t),arguments.length>2&&arguments[2])}}),md}var yd,bd,wd,Ed,kd,Sd={};function Td(){if(bd)return yd;bd=1;var e=o(),t=la(),n=ce(),r=e.ArrayBuffer,i=e.TypeError;return yd=r&&t(r.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==n(e))throw new i("ArrayBuffer expected");return e.byteLength}}function Pd(){if(Ed)return wd;Ed=1;var e=o(),t=Wl(),n=Td(),r=e.DataView;return wd=function(e){if(!t||0!==n(e))return!1;try{return new r(e),!1}catch(e){return!0}}}var Md,Ad,_d,Dd,xd,Cd,Id,Ld,Rd,Od,Nd,Fd={};function Wd(){if(Ad)return Md;Ad=1;var e=Pd(),t=TypeError;return Md=function(n){if(e(n))throw new t("ArrayBuffer is detached");return n},Md}function jd(){if(Dd)return _d;Dd=1;var e=o(),t=vu();return _d=function(n){if(t){try{return e.process.getBuiltinModule(n)}catch(e){}try{return Function('return require("'+n+'")')()}catch(e){}}}}function $d(){if(Cd)return xd;Cd=1;var e=o(),t=v(),n=Ee(),r=pu(),i=e.structuredClone;return xd=!!i&&!t(function(){if("DENO"===r&&n>92||"NODE"===r&&n>94||"BROWSER"===r&&n>97)return!1;var e=new ArrayBuffer(8),t=i(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})}function Bd(){if(Ld)return Id;Ld=1;var e,t,n,r,i=o(),a=jd(),s=$d(),u=i.structuredClone,l=i.ArrayBuffer,d=i.MessageChannel,c=!1;if(s)c=function(e){u(e,{transfer:[e]})};else if(l)try{d||(e=a("worker_threads"))&&(d=e.MessageChannel),d&&(t=new d,n=new l(2),r=function(e){t.port1.postMessage(null,[e])},2===n.byteLength&&(r(n),0===n.byteLength&&(c=r)))}catch(e){}return Id=c}function Ud(){if(Od)return Rd;Od=1;var e=o(),t=de(),n=la(),r=Bl(),i=Wd(),a=Td(),s=Bd(),u=$d(),l=e.structuredClone,d=