@kintone/rest-api-client 6.1.5 → 6.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,7 +137,7 @@
137
137
  *
138
138
  *
139
139
  * =====
140
- * axios@1.14.0 -- MIT
140
+ * axios@1.15.0 -- MIT
141
141
  * -----
142
142
  *
143
143
  * # Copyright (c) 2014-present Matt Zabriskie & Collaborators
@@ -697,7 +697,7 @@
697
697
  *
698
698
  *
699
699
  * =====
700
- * qs@6.15.0 -- BSD-3-Clause
700
+ * qs@6.15.1 -- BSD-3-Clause
701
701
  * -----
702
702
  *
703
703
  * BSD 3-Clause License
@@ -766,4 +766,4 @@
766
766
 
767
767
  !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).window=e.window||{})}(this,function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)})}}function i(e,t,r){return t=l(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,p()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,r){return(t=w(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(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&&v(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(){
768
768
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
769
- var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var u=n&&n.prototype instanceof s?n:s,c=Object.create(u.prototype);return g(c,"_invoke",function(r,n,o){var i,s,u,c=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,u=e,p.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],h=p.p,d=i[2];r>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,p.v=n,p.n=i[1]):h<d&&(o=r<3||i[0]>n||n>d)&&(i[4]=r,i[5]=n,p.n=d,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(p.n=-1),h(s,u)):p.n=u:p.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=p.n<0)?u:r.call(n,p))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(r,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(g(t={},n,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,g(f,"constructor",c),g(c,"constructor",u),u.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(f),g(f,o,"Generator"),g(f,n,function(){return this}),g(f,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:p}})()}function g(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,r,n){function i(t,r){g(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},g(e,t,r,n)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(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 w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function S(e){return S="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},S(e)}function E(e){var t="function"==typeof Map?new Map:void 0;return E=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,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&v(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},E(e)}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var O=function(e){return e&&e.Math===Math&&e},P=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof x&&x)||O("object"==typeof x&&x)||function(){return this}()||Function("return this")(),k={},j=function(e){try{return!!e()}catch(e){return!0}},T=!j(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),I=!j(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),_=I,N=Function.prototype.call,C=_?N.bind(N):function(){return N.apply(N,arguments)},U={},L={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,F=D&&!L.call({1:2},1);U.f=F?function(e){var t=D(this,e);return!!t&&t.enumerable}:L;var B,M,q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},W=I,G=Function.prototype,z=G.call,H=W&&G.bind.bind(z,z),$=W?H:function(e){return function(){return z.apply(e,arguments)}},V=$,K=V({}.toString),Y=V("".slice),J=function(e){return Y(K(e),8,-1)},Q=j,X=J,Z=Object,ee=$("".split),te=Q(function(){return!Z("z").propertyIsEnumerable(0)})?function(e){return"String"===X(e)?ee(e,""):Z(e)}:Z,re=function(e){return null==e},ne=re,oe=TypeError,ie=function(e){if(ne(e))throw new oe("Can't call method on "+e);return e},ae=te,se=ie,ue=function(e){return ae(se(e))},ce="object"==typeof document&&document.all,le=void 0===ce&&void 0!==ce?function(e){return"function"==typeof e||e===ce}:function(e){return"function"==typeof e},fe=le,pe=function(e){return"object"==typeof e?null!==e:fe(e)},he=P,de=le,ye=function(e,t){return arguments.length<2?(r=he[e],de(r)?r:void 0):he[e]&&he[e][t];var r},me=$({}.isPrototypeOf),ge=P.navigator,ve=ge&&ge.userAgent,be=ve?String(ve):"",we=P,Se=be,Ee=we.process,xe=we.Deno,Ae=Ee&&Ee.versions||xe&&xe.version,Re=Ae&&Ae.v8;Re&&(M=(B=Re.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!M&&Se&&(!(B=Se.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=Se.match(/Chrome\/(\d+)/))&&(M=+B[1]);var Oe=M,Pe=Oe,ke=j,je=P.String,Te=!!Object.getOwnPropertySymbols&&!ke(function(){var e=Symbol("symbol detection");return!je(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41}),Ie=Te&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_e=ye,Ne=le,Ce=me,Ue=Object,Le=Ie?function(e){return"symbol"==typeof e}:function(e){var t=_e("Symbol");return Ne(t)&&Ce(t.prototype,Ue(e))},De=String,Fe=function(e){try{return De(e)}catch(e){return"Object"}},Be=le,Me=Fe,qe=TypeError,We=function(e){if(Be(e))return e;throw new qe(Me(e)+" is not a function")},Ge=We,ze=re,He=function(e,t){var r=e[t];return ze(r)?void 0:Ge(r)},$e=C,Ve=le,Ke=pe,Ye=TypeError,Je={exports:{}},Qe=P,Xe=Object.defineProperty,Ze=function(e,t){try{Xe(Qe,e,{value:t,configurable:!0,writable:!0})}catch(r){Qe[e]=t}return t},et=P,tt=Ze,rt="__core-js_shared__",nt=Je.exports=et[rt]||tt(rt,{});(nt.versions||(nt.versions=[])).push({version:"3.49.0",mode:"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ot=Je.exports,it=ot,at=function(e,t){return it[e]||(it[e]=t||{})},st=ie,ut=Object,ct=function(e){return ut(st(e))},lt=ct,ft=$({}.hasOwnProperty),pt=Object.hasOwn||function(e,t){return ft(lt(e),t)},ht=$,dt=0,yt=Math.random(),mt=ht(1.1.toString),gt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+mt(++dt+yt,36)},vt=at,bt=pt,wt=gt,St=Te,Et=Ie,xt=P.Symbol,At=vt("wks"),Rt=Et?xt.for||xt:xt&&xt.withoutSetter||wt,Ot=function(e){return bt(At,e)||(At[e]=St&&bt(xt,e)?xt[e]:Rt("Symbol."+e)),At[e]},Pt=C,kt=pe,jt=Le,Tt=He,It=function(e,t){var r,n;if("string"===t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;if(Ve(r=e.valueOf)&&!Ke(n=$e(r,e)))return n;if("string"!==t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;throw new Ye("Can't convert object to primitive value")},_t=TypeError,Nt=Ot("toPrimitive"),Ct=function(e,t){if(!kt(e)||jt(e))return e;var r,n=Tt(e,Nt);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||jt(r))return r;throw new _t("Can't convert object to primitive value")}return void 0===t&&(t="number"),It(e,t)},Ut=Ct,Lt=Le,Dt=function(e){var t=Ut(e,"string");return Lt(t)?t:t+""},Ft=pe,Bt=P.document,Mt=Ft(Bt)&&Ft(Bt.createElement),qt=function(e){return Mt?Bt.createElement(e):{}},Wt=qt,Gt=!T&&!j(function(){return 7!==Object.defineProperty(Wt("div"),"a",{get:function(){return 7}}).a}),zt=T,Ht=C,$t=U,Vt=q,Kt=ue,Yt=Dt,Jt=pt,Qt=Gt,Xt=Object.getOwnPropertyDescriptor;k.f=zt?Xt:function(e,t){if(e=Kt(e),t=Yt(t),Qt)try{return Xt(e,t)}catch(e){}if(Jt(e,t))return Vt(!Ht($t.f,e,t),e[t])};var Zt={},er=T&&j(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),tr=pe,rr=String,nr=TypeError,or=function(e){if(tr(e))return e;throw new nr(rr(e)+" is not an object")},ir=T,ar=Gt,sr=er,ur=or,cr=Dt,lr=TypeError,fr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Zt.f=ir?sr?function(e,t,r){if(ur(e),t=cr(t),ur(r),"function"==typeof e&&"prototype"===t&&"value"in r&&yr in r&&!r[yr]){var n=pr(e,t);n&&n[yr]&&(e[t]=r.value,r={configurable:dr in r?r[dr]:n[dr],enumerable:hr in r?r[hr]:n[hr],writable:!1})}return fr(e,t,r)}:fr:function(e,t,r){if(ur(e),t=cr(t),ur(r),ar)try{return fr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new lr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var mr=Zt,gr=q,vr=T?function(e,t,r){return mr.f(e,t,gr(1,r))}:function(e,t,r){return e[t]=r,e},br={exports:{}},wr=T,Sr=pt,Er=Function.prototype,xr=wr&&Object.getOwnPropertyDescriptor,Ar=Sr(Er,"name"),Rr={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!wr||wr&&xr(Er,"name").configurable)},Or=le,Pr=ot,kr=$(Function.toString);Or(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var jr,Tr,Ir,_r=Pr.inspectSource,Nr=le,Cr=P.WeakMap,Ur=Nr(Cr)&&/native code/.test(String(Cr)),Lr=gt,Dr=at("keys"),Fr=function(e){return Dr[e]||(Dr[e]=Lr(e))},Br={},Mr=Ur,qr=P,Wr=pe,Gr=vr,zr=pt,Hr=ot,$r=Fr,Vr=Br,Kr="Object already initialized",Yr=qr.TypeError,Jr=qr.WeakMap;if(Mr||Hr.state){var Qr=Hr.state||(Hr.state=new Jr);Qr.get=Qr.get,Qr.has=Qr.has,Qr.set=Qr.set,jr=function(e,t){if(Qr.has(e))throw new Yr(Kr);return t.facade=e,Qr.set(e,t),t},Tr=function(e){return Qr.get(e)||{}},Ir=function(e){return Qr.has(e)}}else{var Xr=$r("state");Vr[Xr]=!0,jr=function(e,t){if(zr(e,Xr))throw new Yr(Kr);return t.facade=e,Gr(e,Xr,t),t},Tr=function(e){return zr(e,Xr)?e[Xr]:{}},Ir=function(e){return zr(e,Xr)}}var Zr={set:jr,get:Tr,has:Ir,enforce:function(e){return Ir(e)?Tr(e):jr(e,{})},getterFor:function(e){return function(t){var r;if(!Wr(t)||(r=Tr(t)).type!==e)throw new Yr("Incompatible receiver, "+e+" required");return r}}},en=$,tn=j,rn=le,nn=pt,on=T,an=Rr.CONFIGURABLE,sn=_r,un=Zr.enforce,cn=Zr.get,ln=String,fn=Object.defineProperty,pn=en("".slice),hn=en("".replace),dn=en([].join),yn=on&&!tn(function(){return 8!==fn(function(){},"length",{value:8}).length}),mn=String(String).split("String"),gn=br.exports=function(e,t,r){"Symbol("===pn(ln(t),0,7)&&(t="["+hn(ln(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!nn(e,"name")||an&&e.name!==t)&&(on?fn(e,"name",{value:t,configurable:!0}):e.name=t),yn&&r&&nn(r,"arity")&&e.length!==r.arity&&fn(e,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&fn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=un(e);return nn(n,"source")||(n.source=dn(mn,"string"==typeof t?t:"")),e};Function.prototype.toString=gn(function(){return rn(this)&&cn(this).source||sn(this)},"toString");var vn,bn=br.exports,wn=le,Sn=Zt,En=bn,xn=Ze,An=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(wn(r)&&En(r,i,n),n.global)o?e[t]=r:xn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Sn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Rn={},On=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(e){var t=+e;return(t>0?Pn:On)(t)},jn=function(e){var t=+e;return t!=t||0===t?0:kn(t)},Tn=jn,In=Math.max,_n=Math.min,Nn=function(e,t){var r=Tn(e);return r<0?In(r+t,0):_n(r,t)},Cn=jn,Un=Math.min,Ln=function(e){var t=Cn(e);return t>0?Un(t,9007199254740991):0},Dn=Ln,Fn=function(e){return Dn(e.length)},Bn=ue,Mn=Nn,qn=Fn,Wn={indexOf:(vn=!1,function(e,t,r){var n=Bn(e),o=qn(n);if(0===o)return!vn&&-1;var i,a=Mn(r,o);if(vn&&t!=t){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((vn||a in n)&&n[a]===t)return vn||a||0;return!vn&&-1})},Gn=pt,zn=ue,Hn=Wn.indexOf,$n=Br,Vn=$([].push),Kn=function(e,t){var r,n=zn(e),o=0,i=[];for(r in n)!Gn($n,r)&&Gn(n,r)&&Vn(i,r);for(;t.length>o;)Gn(n,r=t[o++])&&(~Hn(i,r)||Vn(i,r));return i},Yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jn=Kn,Qn=Yn.concat("length","prototype");Rn.f=Object.getOwnPropertyNames||function(e){return Jn(e,Qn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=ye,eo=Rn,to=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(e){var t=eo.f(ro(e)),r=to.f;return r?no(t,r(e)):t},io=pt,ao=oo,so=k,uo=Zt,co=j,lo=le,fo=/#|\.prototype\./,po=function(e,t){var r=yo[ho(e)];return r===go||r!==mo&&(lo(t)?co(t):!!t)},ho=po.normalize=function(e){return String(e).replace(fo,".").toLowerCase()},yo=po.data={},mo=po.NATIVE="N",go=po.POLYFILL="P",vo=po,bo=P,wo=k.f,So=vr,Eo=An,xo=Ze,Ao=function(e,t,r){for(var n=ao(t),o=uo.f,i=so.f,a=0;a<n.length;a++){var s=n[a];io(e,s)||r&&io(r,s)||o(e,s,i(t,s))}},Ro=vo,Oo=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?bo:c?bo[s]||xo(s,{}):bo[s]&&bo[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ao(i,o)}(e.sham||o&&o.sham)&&So(i,"sham",!0),Eo(r,n,i,e)}},Po=J,ko=Array.isArray||function(e){return"Array"===Po(e)},jo=TypeError,To=T,Io=Zt,_o=q,No=function(e,t,r){To?Io.f(e,t,_o(0,r)):e[t]=r},Co=T,Uo=ko,Lo=TypeError,Do=Object.getOwnPropertyDescriptor,Fo=Co&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(Uo(e)&&!Do(e,"length").writable)throw new Lo("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Bo={};Bo[Ot("toStringTag")]="z";var Mo="[object z]"===String(Bo),qo=Mo,Wo=le,Go=J,zo=Ot("toStringTag"),Ho=Object,$o="Arguments"===Go(function(){return arguments}()),Vo=qo?Go:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ho(e),zo))?r:$o?Go(t):"Object"===(n=Go(t))&&Wo(t.callee)?"Arguments":n},Ko=$,Yo=j,Jo=le,Qo=Vo,Xo=_r,Zo=function(){},ei=ye("Reflect","construct"),ti=/^\s*(?:class|function)\b/,ri=Ko(ti.exec),ni=!ti.test(Zo),oi=function(e){if(!Jo(e))return!1;try{return ei(Zo,[],e),!0}catch(e){return!1}},ii=function(e){if(!Jo(e))return!1;switch(Qo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ni||!!ri(ti,Xo(e))}catch(e){return!0}};ii.sham=!0;var ai=!ei||Yo(function(){var e;return oi(oi.call)||!oi(Object)||!oi(function(){e=!0})||e})?ii:oi,si=ko,ui=ai,ci=pe,li=Ot("species"),fi=Array,pi=function(e){var t;return si(e)&&(t=e.constructor,(ui(t)&&(t===fi||si(t.prototype))||ci(t)&&null===(t=t[li]))&&(t=void 0)),void 0===t?fi:t},hi=function(e,t){return new(pi(e))(0===t?0:t)},di=j,yi=Oe,mi=Ot("species"),gi=function(e){return yi>=51||!di(function(){var t=[];return(t.constructor={})[mi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},vi=Oo,bi=j,wi=ko,Si=pe,Ei=ct,xi=Fn,Ai=function(e){if(e>9007199254740991)throw new jo("Maximum allowed index exceeded");return e},Ri=No,Oi=Fo,Pi=hi,ki=gi,ji=Oe,Ti=Ot("isConcatSpreadable"),Ii=ji>=51||!bi(function(){var e=[];return e[Ti]=!1,e.concat()[0]!==e}),_i=function(e){if(!Si(e))return!1;var t=e[Ti];return void 0!==t?!!t:wi(e)};vi({target:"Array",proto:!0,arity:1,forced:!Ii||!ki("concat")},{concat:function(e){var t,r,n,o,i,a=Ei(this),s=Pi(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(_i(i=-1===t?a:arguments[t]))for(o=xi(i),Ai(u+o),r=0;r<o;r++,u++)r in i&&Ri(s,u,i[r]);else Ai(u+1),Ri(s,u++,i);return Oi(s,u),s}});var Ni=bn,Ci=Zt,Ui=function(e,t,r){return r.get&&Ni(r.get,t,{getter:!0}),r.set&&Ni(r.set,t,{setter:!0}),Ci.f(e,t,r)},Li=T,Di=Rr.EXISTS,Fi=$,Bi=Ui,Mi=Function.prototype,qi=Fi(Mi.toString),Wi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Gi=Fi(Wi.exec);Li&&!Di&&Bi(Mi,"name",{configurable:!0,get:function(){try{return Gi(Wi,qi(this))[1]}catch(e){return""}}});var zi=$,Hi=We,$i=pe,Vi=function(e){return $i(e)||null===e},Ki=String,Yi=TypeError,Ji=function(e,t,r){try{return zi(Hi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Qi=pe,Xi=ie,Zi=function(e){if(Vi(e))return e;throw new Yi("Can't set "+Ki(e)+" as a prototype")},ea=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ji(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Xi(r),Zi(n),Qi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Oo({target:"Object",stat:!0},{setPrototypeOf:ea});var ta=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error));function ra(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ra.prototype.define=function(e,t){for(let r in e){let n=e[r].map(function(e){return e.toLowerCase()});r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},ra.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},ra.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var na=A(new ra({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),oa="6.1.5",ia=function(){var e=o(m().m(function e(){var t;return m().w(function(e){for(;;)switch(e.n){case 0:if("object"!==("undefined"==typeof kintone?"undefined":S(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.n=1;break}return e.a(2,kintone.getRequestToken());case 1:if("object"!==("undefined"==typeof garoon?"undefined":S(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.n=2;break}return e.a(2,garoon.connect.kintone.getRequestToken());case 2:throw new Error("session authentication must specify a request token");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),aa=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=na.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:ia,getVersion:function(){return oa},readFileFromPath:function(e){throw new ta("Browser")}}),sa={},ua=Kn,ca=Yn,la=Object.keys||function(e){return ua(e,ca)},fa=T,pa=er,ha=Zt,da=or,ya=ue,ma=la;sa.f=fa&&!pa?Object.defineProperties:function(e,t){da(e);for(var r,n=ya(t),o=ma(t),i=o.length,a=0;i>a;)ha.f(e,r=o[a++],n[r]);return e};var ga,va=ye("document","documentElement"),ba=or,wa=sa,Sa=Yn,Ea=Br,xa=va,Aa=qt,Ra="prototype",Oa="script",Pa=Fr("IE_PROTO"),ka=function(){},ja=function(e){return"<"+Oa+">"+e+"</"+Oa+">"},Ta=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ia=function(){try{ga=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ia="undefined"!=typeof document?document.domain&&ga?Ta(ga):(t=Aa("iframe"),r="java"+Oa+":",t.style.display="none",xa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):Ta(ga);for(var n=Sa.length;n--;)delete Ia[Ra][Sa[n]];return Ia()};Ea[Pa]=!0;var _a=Object.create||function(e,t){var r;return null!==e?(ka[Ra]=ba(e),r=new ka,ka[Ra]=null,r[Pa]=e):r=Ia(),void 0===t?r:wa.f(r,t)},Na=Ot,Ca=_a,Ua=Zt.f,La=Na("unscopables"),Da=Array.prototype;void 0===Da[La]&&Ua(Da,La,{configurable:!0,value:Ca(null)});var Fa,Ba,Ma,qa={},Wa=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ga=pt,za=le,Ha=ct,$a=Wa,Va=Fr("IE_PROTO"),Ka=Object,Ya=Ka.prototype,Ja=$a?Ka.getPrototypeOf:function(e){var t=Ha(e);if(Ga(t,Va))return t[Va];var r=t.constructor;return za(r)&&t instanceof r?r.prototype:t instanceof Ka?Ya:null},Qa=j,Xa=le,Za=pe,es=Ja,ts=An,rs=Ot("iterator"),ns=!1;[].keys&&("next"in(Ma=[].keys())?(Ba=es(es(Ma)))!==Object.prototype&&(Fa=Ba):ns=!0);var os=!Za(Fa)||Qa(function(){var e={};return Fa[rs].call(e)!==e});os&&(Fa={}),Xa(Fa[rs])||ts(Fa,rs,function(){return this});var is={IteratorPrototype:Fa,BUGGY_SAFARI_ITERATORS:ns},as=Zt.f,ss=pt,us=Ot("toStringTag"),cs=function(e,t,r){e&&!r&&(e=e.prototype),e&&!ss(e,us)&&as(e,us,{configurable:!0,value:t})},ls=is.IteratorPrototype,fs=_a,ps=q,hs=cs,ds=qa,ys=function(){return this},ms=function(e,t,r,n){var o=t+" Iterator";return e.prototype=fs(ls,{next:ps(+!n,r)}),hs(e,o,!1),ds[o]=ys,e},gs=Oo,vs=C,bs=le,ws=ms,Ss=Ja,Es=ea,xs=cs,As=vr,Rs=An,Os=qa,Ps=Rr.PROPER,ks=Rr.CONFIGURABLE,js=is.IteratorPrototype,Ts=is.BUGGY_SAFARI_ITERATORS,Is=Ot("iterator"),_s="keys",Ns="values",Cs="entries",Us=function(){return this},Ls=function(e,t,r,n,o,i,a){ws(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!Ts&&e&&e in h)return h[e];switch(e){case _s:case Ns:case Cs:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Is]||h["@@iterator"]||o&&h[o],y=!Ts&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=Ss(m.call(new e)))!==Object.prototype&&s.next&&(Ss(s)!==js&&(Es?Es(s,js):bs(s[Is])||Rs(s,Is,Us)),xs(s,f,!0)),Ps&&o===Ns&&d&&d.name!==Ns&&(ks?As(h,"name",Ns):(p=!0,y=function(){return vs(d,this)})),o)if(u={values:l(Ns),keys:i?y:l(_s),entries:l(Cs)},a)for(c in u)(Ts||p||!(c in h))&&Rs(h,c,u[c]);else gs({target:t,proto:!0,forced:Ts||p},u);return h[Is]!==y&&Rs(h,Is,y,{name:o}),Os[t]=y,u},Ds=function(e,t){return{value:e,done:t}},Fs=ue,Bs=function(e){Da[La][e]=!0},Ms=qa,qs=Zr,Ws=Zt.f,Gs=Ls,zs=Ds,Hs=T,$s="Array Iterator",Vs=qs.set,Ks=qs.getterFor($s),Ys=Gs(Array,"Array",function(e,t){Vs(this,{type:$s,target:Fs(e),index:0,kind:t})},function(){var e=Ks(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,zs(void 0,!0);switch(e.kind){case"keys":return zs(r,!1);case"values":return zs(t[r],!1)}return zs([r,t[r]],!1)},"values"),Js=Ms.Arguments=Ms.Array;if(Bs("keys"),Bs("values"),Bs("entries"),Hs&&"values"!==Js.name)try{Ws(Js,"name",{value:"values"})}catch(e){}var Qs=$,Xs=An,Zs=Date.prototype,eu="Invalid Date",tu="toString",ru=Qs(Zs[tu]),nu=Qs(Zs.getTime);String(new Date(NaN))!==eu&&Xs(Zs,tu,function(){var e=nu(this);return e==e?ru(this):eu});var ou=Vo,iu=Mo?{}.toString:function(){return"[object "+ou(this)+"]"};Mo||An(Object.prototype,"toString",iu,{unsafe:!0});var au,su=Vo,uu=String,cu=function(e){if("Symbol"===su(e))throw new TypeError("Cannot convert a Symbol value to a string");return uu(e)},lu="\t\n\v\f\r                 \u2028\u2029\ufeff",fu=ie,pu=cu,hu=lu,du=$("".replace),yu=RegExp("^["+hu+"]+"),mu=RegExp("(^|[^"+hu+"])["+hu+"]+$"),gu={trim:(au=3,function(e){var t=pu(fu(e));return 1&au&&(t=du(t,yu,"")),2&au&&(t=du(t,mu,"$1")),t})},vu=P,bu=j,wu=cu,Su=gu.trim,Eu=lu,xu=$("".charAt),Au=vu.parseFloat,Ru=vu.Symbol,Ou=Ru&&Ru.iterator,Pu=1/Au(Eu+"-0")!=-1/0||Ou&&!bu(function(){Au(Object(Ou))})?function(e){var t=Su(wu(e)),r=Au(t);return 0===r&&"-"===xu(t,0)?-0:r}:Au;Oo({global:!0,forced:parseFloat!==Pu},{parseFloat:Pu});var ku=or,ju=function(){var e=ku(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},Tu=j,Iu=P.RegExp,_u=Tu(function(){var e=Iu("a","y");return e.lastIndex=2,null!==e.exec("abcd")});_u||Tu(function(){return!Iu("a","y").sticky});var Nu,Cu,Uu={BROKEN_CARET:_u||Tu(function(){var e=Iu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Lu=j,Du=P.RegExp,Fu=Lu(function(){var e=Du(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),Bu=j,Mu=P.RegExp,qu=Bu(function(){var e=Mu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Wu=C,Gu=$,zu=cu,Hu=ju,$u=Uu,Vu=_a,Ku=Zr.get,Yu=Fu,Ju=qu,Qu=at("native-string-replace",String.prototype.replace),Xu=RegExp.prototype.exec,Zu=Xu,ec=Gu("".charAt),tc=Gu("".indexOf),rc=Gu("".replace),nc=Gu("".slice),oc=(Cu=/b*/g,Wu(Xu,Nu=/a/,"a"),Wu(Xu,Cu,"a"),0!==Nu.lastIndex||0!==Cu.lastIndex),ic=$u.BROKEN_CARET,ac=void 0!==/()??/.exec("")[1],sc=function(e,t){for(var r=e.groups=Vu(null),n=0;n<t.length;n++){var o=t[n];r[o[0]]=e[o[1]]}};(oc||ac||ic||Yu||Ju)&&(Zu=function(e){var t,r,n,o=this,i=Ku(o),a=zu(e),s=i.raw;if(s)return s.lastIndex=o.lastIndex,t=Wu(Zu,s,a),o.lastIndex=s.lastIndex,t&&i.groups&&sc(t,i.groups),t;var u=i.groups,c=ic&&o.sticky,l=Wu(Hu,o),f=o.source,p=0,h=a;if(c){l=rc(l,"y",""),-1===tc(l,"g")&&(l+="g"),h=nc(a,o.lastIndex);var d=o.lastIndex>0&&ec(a,o.lastIndex-1);o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==d&&"\r"!==d&&"\u2028"!==d&&"\u2029"!==d)&&(f="(?: (?:"+f+"))",h=" "+h,p++),r=new RegExp("^(?:"+f+")",l)}ac&&(r=new RegExp("^"+f+"$(?!\\s)",l)),oc&&(n=o.lastIndex);var y=Wu(Xu,c?r:o,h);return c?y?(y.input=a,y[0]=nc(y[0],p),y.index=o.lastIndex,o.lastIndex+=y[0].length):o.lastIndex=0:oc&&y&&(o.lastIndex=o.global?y.index+y[0].length:n),ac&&y&&y.length>1&&Wu(Qu,y[0],r,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(y[e]=void 0)}),y&&u&&sc(y,u),y});var uc=Zu;Oo({target:"RegExp",proto:!0,forced:/./.exec!==uc},{exec:uc});var cc=j,lc=P.RegExp,fc=!cc(function(){var e=!0;try{lc(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(lc.prototype,"flags").get.call(t)!==n||r!==n}),pc=C,hc=pt,dc=me,yc={correct:fc},mc=ju,gc=RegExp.prototype,vc=yc.correct?function(e){return e.flags}:function(e){return yc.correct||!dc(gc,e)||hc(e,"flags")?e.flags:pc(mc,e)},bc=Rr.PROPER,wc=An,Sc=or,Ec=cu,xc=j,Ac=vc,Rc="toString",Oc=RegExp.prototype,Pc=Oc[Rc],kc=xc(function(){return"/a/b"!==Pc.call({source:"a",flags:"b"})}),jc=bc&&Pc.name!==Rc;(kc||jc)&&wc(Oc,Rc,function(){var e=Sc(this);return"/"+Ec(e.source)+"/"+Ec(Ac(e))},{unsafe:!0});var Tc=$,Ic=jn,_c=cu,Nc=ie,Cc=Tc("".charAt),Uc=Tc("".charCodeAt),Lc=Tc("".slice),Dc=function(e){return function(t,r){var n,o,i=_c(Nc(t)),a=Ic(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=Uc(i,a))<55296||n>56319||a+1===s||(o=Uc(i,a+1))<56320||o>57343?e?Cc(i,a):n:e?Lc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Fc={codeAt:Dc(!1),charAt:Dc(!0)},Bc=Fc.charAt,Mc=cu,qc=Zr,Wc=Ls,Gc=Ds,zc="String Iterator",Hc=qc.set,$c=qc.getterFor(zc);Wc(String,"String",function(e){Hc(this,{type:zc,string:Mc(e),index:0})},function(){var e,t=$c(this),r=t.string,n=t.index;return n>=r.length?Gc(void 0,!0):(e=Bc(r,n),t.index+=e.length,Gc(e,!1))});var Vc=I,Kc=Function.prototype,Yc=Kc.apply,Jc=Kc.call,Qc="object"==typeof Reflect&&Reflect.apply||(Vc?Jc.bind(Yc):function(){return Jc.apply(Yc,arguments)}),Xc=C,Zc=An,el=uc,tl=j,rl=Ot,nl=vr,ol=rl("species"),il=RegExp.prototype,al=function(e,t,r,n){var o=rl(e),i=!tl(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!tl(function(){var t=!1,r=/a/;if("split"===e){var n={};n[ol]=function(){return r},(r={constructor:n,flags:""})[o]=/./[o]}return r.exec=function(){return t=!0,null},r[o](""),!t});if(!i||!a||r){var s=/./[o],u=t(o,""[e],function(e,t,r,n,o){var a=t.exec;return a===el||a===il.exec?i&&!o?{done:!0,value:Xc(s,t,r,n)}:{done:!0,value:Xc(e,r,t,n)}:{done:!1}});Zc(String.prototype,e,u[0]),Zc(il,o,u[1])}n&&nl(il[o],"sham",!0)},sl=Fc.charAt,ul=function(e,t,r){return t+(r&&sl(e,t).length||1)},cl=$,ll=ct,fl=Math.floor,pl=cl("".charAt),hl=cl("".replace),dl=cl("".slice),yl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ml=/\$([$&'`]|\d{1,2})/g,gl=C,vl=or,bl=le,wl=J,Sl=uc,El=TypeError,xl=function(e,t){var r=e.exec;if(bl(r)){var n=gl(r,e,t);return null!==n&&vl(n),n}if("RegExp"===wl(e))return gl(Sl,e,t);throw new El("RegExp#exec called on incompatible receiver")},Al=Qc,Rl=C,Ol=$,Pl=al,kl=j,jl=or,Tl=le,Il=pe,_l=jn,Nl=Ln,Cl=cu,Ul=ie,Ll=ul,Dl=He,Fl=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=ml;return void 0!==o&&(o=ll(o),u=yl),hl(i,u,function(i,u){var c;switch(pl(u,0)){case"$":return"$";case"&":return e;case"`":return dl(t,0,r);case"'":return dl(t,a);case"<":c=o[dl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=fl(l/10);return 0===f?i:f<=s?void 0===n[f-1]?pl(u,1):n[f-1]+pl(u,1):i}c=n[l-1]}return void 0===c?"":c})},Bl=vc,Ml=xl,ql=Ot("replace"),Wl=Math.max,Gl=Math.min,zl=Ol([].concat),Hl=Ol([].push),$l=Ol("".indexOf),Vl=Ol("".slice),Kl=function(e){return void 0===e?e:String(e)},Yl="$0"==="a".replace(/./,"$0"),Jl=!!/./[ql]&&""===/./[ql]("a","$0");Pl("replace",function(e,t,r){var n=Jl?"$":"$0";return[function(e,r){var n=Ul(this),o=Il(e)?Dl(e,ql):void 0;return o?Rl(o,e,n,r):Rl(t,Cl(n),e,r)},function(e,o){var i=jl(this),a=Cl(e),s=Tl(o);s||(o=Cl(o));var u=Cl(Bl(i));if("string"==typeof o&&!~$l(o,n)&&!~$l(o,"$<")&&!~$l(u,"y")){var c=r(t,i,a,o);if(c.done)return c.value}var l,f=!!~$l(u,"g");f&&(l=!!~$l(u,"u")||!!~$l(u,"v"),i.lastIndex=0);for(var p,h=[];null!==(p=Ml(i,a))&&(Hl(h,p),f);){""===Cl(p[0])&&(i.lastIndex=Ll(a,Nl(i.lastIndex),l))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Cl((p=h[m])[0]),b=Wl(Gl(_l(p.index),a.length),0),w=[],S=1;S<p.length;S++)Hl(w,Kl(p[S]));var E=p.groups;if(s){var x=zl([v],w,b,a);void 0!==E&&Hl(x,E),g=Cl(Al(o,void 0,x))}else g=Fl(v,a,b,w,E,o);b>=y&&(d+=Vl(a,y,b)+g,y=b+v.length)}return d+Vl(a,y)}]},!!kl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Yl||Jl);var Ql={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Xl=qt("span").classList,Zl=Xl&&Xl.constructor&&Xl.constructor.prototype,ef=Zl===Object.prototype?void 0:Zl,tf=P,rf=Ql,nf=ef,of=Ys,af=vr,sf=cs,uf=Ot("iterator"),cf=of.values,lf=function(e,t){if(e){if(e[uf]!==cf)try{af(e,uf,cf)}catch(t){e[uf]=cf}if(sf(e,t,!0),rf[t])for(var r in of)if(e[r]!==of[r])try{af(e,r,of[r])}catch(t){e[r]=of[r]}}};for(var ff in rf)lf(tf[ff]&&tf[ff].prototype,ff);lf(nf,"DOMTokenList");var pf=j,hf=T,df=Ot("iterator"),yf=!pf(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),!t.size&&!hf||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[df]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),mf=J,gf=$,vf=function(e){if("Function"===mf(e))return gf(e)},bf=We,wf=I,Sf=vf(vf.bind),Ef=function(e,t){return bf(e),void 0===t?e:wf?Sf(e,t):function(){return e.apply(t,arguments)}},xf=me,Af=TypeError,Rf=function(e,t){if(xf(t,e))return e;throw new Af("Incorrect invocation")},Of=T,Pf=$,kf=C,jf=j,Tf=la,If=Xn,_f=U,Nf=ct,Cf=te,Uf=Object.assign,Lf=Object.defineProperty,Df=Pf([].concat),Ff=!Uf||jf(function(){if(Of&&1!==Uf({b:1},Uf(Lf({},"a",{enumerable:!0,get:function(){Lf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!==Uf({},e)[r]||Tf(Uf({},t)).join("")!==n})?function(e,t){for(var r=Nf(e),n=arguments.length,o=1,i=If.f,a=_f.f;n>o;)for(var s,u=Cf(arguments[o++]),c=i?Df(Tf(u),i(u)):Tf(u),l=c.length,f=0;l>f;)s=c[f++],Of&&!kf(a,u,s)||(r[s]=u[s]);return r}:Uf,Bf=C,Mf=or,qf=He,Wf=function(e,t,r){var n,o;Mf(e);try{if(!(n=qf(e,"return"))){if("throw"===t)throw r;return r}n=Bf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Mf(n),r},Gf=or,zf=Wf,Hf=qa,$f=Ot("iterator"),Vf=Array.prototype,Kf=Vo,Yf=He,Jf=re,Qf=qa,Xf=Ot("iterator"),Zf=function(e){if(!Jf(e))return Yf(e,Xf)||Yf(e,"@@iterator")||Qf[Kf(e)]},ep=C,tp=We,rp=or,np=Fe,op=Zf,ip=TypeError,ap=function(e,t){var r=arguments.length<2?op(e):t;if(tp(r))return rp(ep(r,e));throw new ip(np(e)+" is not iterable")},sp=Ef,up=C,cp=ct,lp=function(e,t,r,n){try{return n?t(Gf(r)[0],r[1]):t(r)}catch(t){zf(e,"throw",t)}},fp=function(e){return void 0!==e&&(Hf.Array===e||Vf[$f]===e)},pp=ai,hp=Fn,dp=No,yp=Fo,mp=ap,gp=Zf,vp=Wf,bp=Array,wp=$([].slice),Sp=$,Ep=2147483647,xp=/[^\0-\u007E]/,Ap=/[.\u3002\uFF0E\uFF61]/g,Rp="Overflow: input needs wider integers to process",Op=RangeError,Pp=Sp(Ap.exec),kp=Math.floor,jp=String.fromCharCode,Tp=Sp("".charCodeAt),Ip=Sp([].join),_p=Sp([].push),Np=Sp("".replace),Cp=Sp("".split),Up=Sp("".toLowerCase),Lp=function(e){return e+22+75*(e<26)},Dp=function(e,t,r){var n=0;for(e=r?kp(e/700):e>>1,e+=kp(e/t);e>455;)e=kp(e/35),n+=36;return kp(n+36*e/(e+38))},Fp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=Tp(e,r++);if(o>=55296&&o<=56319&&r<n){var i=Tp(e,r++);56320==(64512&i)?_p(t,((1023&o)<<10)+(1023&i)+65536):(_p(t,o),r--)}else _p(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&_p(t,jp(n));var u=t.length,c=u;for(u&&_p(t,"-");c<o;){var l=Ep;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>kp((Ep-a)/f))throw new Op(Rp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>Ep)throw new Op(Rp);if(n===i){for(var p=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(p<d)break;var y=p-d,m=36-d;_p(t,jp(Lp(d+y%m))),p=kp(y/m),h+=36}_p(t,jp(Lp(p))),s=Dp(a,f,c===u),a=0,c++}}a++,i++}return Ip(t,"")},Bp=TypeError,Mp=function(e,t){if(e<t)throw new Bp("Not enough arguments");return e},qp=Oo,Wp=$,Gp=Nn,zp=RangeError,Hp=String.fromCharCode,$p=String.fromCodePoint,Vp=Wp([].join);qp({target:"String",stat:!0,arity:1,forced:!!$p&&1!==$p.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(Gp(t=+arguments[o],1114111)!==t)throw new zp(t+" is not a valid code point");r[o++]=t<65536?Hp(t):Hp(55296+((t-=65536)>>10),t%1024+56320)}return Vp(r,"")}});var Kp=P,Yp=T,Jp=Object.getOwnPropertyDescriptor,Qp=An,Xp=wp,Zp=Math.floor,eh=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=Zp(r/2),s=eh(Xp(e,0,a),t),u=eh(Xp(e,a),t),c=s.length,l=u.length,f=0,p=0;f<c||p<l;)e[f+p]=f<c&&p<l?t(s[f],u[p])<=0?s[f++]:u[p++]:f<c?s[f++]:u[p++];return e},th=Oo,rh=P,nh=function(e){if(!Yp)return Kp[e];var t=Jp(Kp,e);return t&&t.value},oh=ye,ih=C,ah=$,sh=T,uh=yf,ch=An,lh=Ui,fh=function(e,t,r){for(var n in t)Qp(e,n,t[n],r);return e},ph=cs,hh=ms,dh=Zr,yh=Rf,mh=le,gh=pt,vh=Ef,bh=Vo,wh=or,Sh=pe,Eh=cu,xh=_a,Ah=q,Rh=ap,Oh=Zf,Ph=Ds,kh=Mp,jh=eh,Th=Ot("iterator"),Ih="URLSearchParams",_h=Ih+"Iterator",Nh=dh.set,Ch=dh.getterFor(Ih),Uh=dh.getterFor(_h),Lh=nh("fetch"),Dh=nh("Request"),Fh=nh("Headers"),Bh=Dh&&Dh.prototype,Mh=Fh&&Fh.prototype,qh=rh.TypeError,Wh=rh.encodeURIComponent,Gh=String.fromCharCode,zh=oh("String","fromCodePoint"),Hh=parseInt,$h=ah("".charAt),Vh=ah([].join),Kh=ah([].push),Yh=ah("".replace),Jh=ah([].shift),Qh=ah([].splice),Xh=ah("".split),Zh=ah("".slice),ed=ah(/./.exec),td=/\+/g,rd=/^[0-9a-f]+$/i,nd=function(e,t){var r=Zh(e,t,t+2);return ed(rd,r)?Hh(r,16):NaN},od=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},id=function(e){var t=null,r=e.length;switch(r){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(r>3?65536:r>2?2048:r>1?128:0)?null:t},ad=function(e){for(var t=(e=Yh(e,td," ")).length,r="",n=0;n<t;){var o=$h(e,n);if("%"===o){if("%"===$h(e,n+1)||n+3>t){r+="%",n++;continue}var i=nd(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=od(i);if(0===a)o=Gh(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==$h(e,n));){var c=nd(e,n+1);if(c!=c||c>191||c<128)break;if(1===u){if(224===i&&c<160)break;if(237===i&&c>159)break;if(240===i&&c<144)break;if(244===i&&c>143)break}Kh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=id(s);if(null===l){for(var f=0;f<a;f++)r+="�";n++;continue}o=zh(l)}}r+=o,n++}return r},sd=/[!'()~]|%20/g,ud={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},cd=function(e){return ud[e]},ld=function(e){return Yh(Wh(e),sd,cd)},fd=hh(function(e,t){Nh(this,{type:_h,target:Ch(e).entries,index:0,kind:t})},Ih,function(){var e=Uh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ph(void 0,!0);var n=t[r];switch(e.kind){case"keys":return Ph(n.key,!1);case"values":return Ph(n.value,!1)}return Ph([n.key,n.value],!1)},!0),pd=function(e){this.entries=[],this.url=null,void 0!==e&&(Sh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$h(e,0)?Zh(e,1):e:Eh(e)))};pd.prototype={type:Ih,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=Oh(e);if(c)for(r=(t=Rh(e,c)).next;!(n=ih(r,t)).done;){if(i=(o=Rh(wh(n.value))).next,(a=ih(i,o)).done||(s=ih(i,o)).done||!ih(i,o).done)throw new qh("Expected sequence with length 2");Kh(u,{key:Eh(a.value),value:Eh(s.value)})}else for(var l in e)gh(e,l)&&Kh(u,{key:l,value:Eh(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Xh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Xh(t,"="),Kh(n,{key:ad(Jh(r)),value:ad(Vh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Kh(r,ld(e.key)+"="+ld(e.value));return Vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var hd=function(){yh(this,dd);var e=Nh(this,new pd(arguments.length>0?arguments[0]:void 0));sh||(this.size=e.entries.length)},dd=hd.prototype;if(fh(dd,{append:function(e,t){var r=Ch(this);kh(arguments.length,2),Kh(r.entries,{key:Eh(e),value:Eh(t)}),sh||this.size++,r.updateURL()},delete:function(e){for(var t=Ch(this),r=kh(arguments.length,1),n=t.entries,o=Eh(e),i=r<2?void 0:arguments[1],a=void 0===i?i:Eh(i),s=0;s<n.length;){var u=n[s];u.key!==o||void 0!==a&&u.value!==a?s++:Qh(n,s,1)}sh||(this.size=n.length),t.updateURL()},get:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Kh(n,t[o].value);return n},has:function(e){for(var t=Ch(this).entries,r=kh(arguments.length,1),n=Eh(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Eh(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=Ch(this);kh(arguments.length,2);for(var n,o=r.entries,i=!1,a=Eh(e),s=Eh(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Qh(o,u--,1):(i=!0,n.value=s));i||Kh(o,{key:a,value:s}),sh||(this.size=o.length),r.updateURL()},sort:function(){var e=Ch(this);jh(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Ch(this).entries,n=vh(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new fd(this,"keys")},values:function(){return new fd(this,"values")},entries:function(){return new fd(this,"entries")}},{enumerable:!0}),ch(dd,Th,dd.entries,{name:"entries"}),ch(dd,"toString",function(){return Ch(this).serialize()},{enumerable:!0}),sh&&lh(dd,"size",{get:function(){return Ch(this).entries.length},configurable:!0,enumerable:!0}),ph(hd,Ih),th({global:!0,constructor:!0,forced:!uh},{URLSearchParams:hd}),!uh&&mh(Fh)){var yd=ah(Mh.has),md=ah(Mh.set),gd=function(e){if(Sh(e)){var t,r=e.body;if(bh(r)===Ih)return t=e.headers?new Fh(e.headers):new Fh,yd(t,"content-type")||md(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xh(e,{body:Ah(0,Eh(r)),headers:Ah(0,t)})}return e};if(mh(Lh)&&th({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Lh(e,arguments.length>1?gd(arguments[1]):{})}}),mh(Dh)){var vd=function(e){return yh(this,Bh),new Dh(e,arguments.length>1?gd(arguments[1]):{})};Bh.constructor=vd,vd.prototype=Bh,th({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vd})}}var bd,wd=Oo,Sd=T,Ed=yf,xd=P,Ad=Ef,Rd=$,Od=An,Pd=Ui,kd=Rf,jd=pt,Td=Ff,Id=function(e){var t=pp(this),r=arguments.length,n=r>1?arguments[1]:void 0,o=void 0!==n;o&&(n=sp(n,r>2?arguments[2]:void 0));var i,a,s,u,c,l,f=cp(e),p=gp(f),h=0;if(!p||this===bp&&fp(p))for(i=hp(f),a=t?new this(i):bp(i);i>h;h++)l=o?n(f[h],h):f[h],dp(a,h,l);else for(a=t?new this:[],c=(u=mp(f,p)).next;!(s=up(c,u)).done;h++){l=o?lp(u,n,[s.value,h],!0):s.value;try{dp(a,h,l)}catch(e){vp(u,"throw",e)}}return yp(a,h),a},_d=wp,Nd=Fc.codeAt,Cd=function(e){var t,r,n=[],o=Cp(Np(Up(e),Ap,"."),".");for(t=0;t<o.length;t++)r=o[t],_p(n,Pp(xp,r)?"xn--"+Fp(r):r);return Ip(n,".")},Ud=cu,Ld=cs,Dd=Mp,Fd={URLSearchParams:hd,getState:Ch},Bd=Zr,Md=Bd.set,qd=Bd.getterFor("URL"),Wd=Fd.URLSearchParams,Gd=Fd.getState,zd=xd.URL,Hd=xd.TypeError,$d=xd.encodeURIComponent,Vd=xd.parseInt,Kd=Math.floor,Yd=Math.pow,Jd=Rd("".charAt),Qd=Rd(/./.exec),Xd=Rd([].join),Zd=Rd(1.1.toString),ey=Rd([].pop),ty=Rd([].push),ry=Rd("".replace),ny=Rd([].shift),oy=Rd("".split),iy=Rd("".slice),ay=Rd("".toLowerCase),sy=Rd([].unshift),uy="Invalid scheme",cy="Invalid host",ly="Invalid port",fy=/[a-z]/i,py=/[\d+\-.a-z]/i,hy=/\d/,dy=/^0x/i,yy=/^[0-7]+$/,my=/^\d+$/,gy=/^[\da-f]+$/i,vy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,by=/[\0\t\n\r #/:<>?@[\\\]^|]/,wy=/^[\u0000-\u0020]+/,Sy=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ey=/[\t\n\r]/g,xy=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)sy(t,e%256),e=Kd(e/256);return Xd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=Zd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ay={},Ry=Td({},Ay,{" ":1,'"':1,"#":1,"<":1,">":1}),Oy=Td({},Ry,{"'":1}),Py=Td({},Ay,{" ":1,'"':1,"<":1,">":1,"`":1}),ky=Td({},Py,{"#":1,"?":1,"{":1,"}":1,"^":1}),jy=Td({},ky,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ty=function(e,t){var r=Nd(e,0);return r>=32&&r<127&&!jd(t,e)?e:"'"===e&&jd(t,e)?"%27":$d(e)},Iy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_y=function(e,t){var r;return 2===e.length&&Qd(fy,Jd(e,0))&&(":"===(r=Jd(e,1))||!t&&"|"===r)},Ny=function(e){var t;return e.length>1&&_y(iy(e,0,2))&&(2===e.length||"/"===(t=Jd(e,2))||"\\"===t||"?"===t||"#"===t)},Cy=function(e){return"."===e||"%2e"===ay(e)},Uy=function(e){return".."===(e=ay(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ly={},Dy={},Fy={},By={},My={},qy={},Wy={},Gy={},zy={},Hy={},$y={},Vy={},Ky={},Yy={},Jy={},Qy={},Xy={},Zy={},em={},tm={},rm={},nm=function(e,t,r){var n,o,i,a=Ud(e);if(t){if(o=this.parse(a))throw new Hd(o);this.searchParams=null}else{if(void 0!==r&&(n=new nm(r,!0)),o=this.parse(a,null,n))throw new Hd(o);(i=Gd(new Wd)).bindURL(this),this.searchParams=i}};nm.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Ly,c=0,l="",f=!1,p=!1,h=!1;for(e=Ud(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=ry(e,wy,""),e=ry(e,Sy,"$1")),e=ry(e,Ey,""),n=Id(e);c<=n.length;){switch(o=n[c],u){case Ly:if(!o||!Qd(fy,o)){if(t)return uy;u=Fy;continue}l+=ay(o),u=Dy;break;case Dy:if(o&&Qd(py,o))l+=ay(o);else{if(":"!==o){if(t)return uy;l="",u=Fy,c=0;continue}if(t&&(s.isSpecial()!==jd(Iy,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&""===s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&Iy[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Yy:s.isSpecial()&&r&&r.scheme===s.scheme?u=By:s.isSpecial()?u=Gy:"/"===n[c+1]?(u=My,c++):(s.cannotBeABaseURL=!0,ty(s.path,""),u=em)}break;case Fy:if(!r||r.cannotBeABaseURL&&"#"!==o)return uy;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=_d(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=rm;break}u="file"===r.scheme?Yy:qy;continue;case By:if("/"!==o||"/"!==n[c+1]){u=qy;continue}u=zy,c++;break;case My:if("/"===o){u=Hy;break}u=Zy;continue;case qy:if(s.scheme=r.scheme,o===bd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=Wy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query="",u=tm;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.path.length&&s.path.length--,u=Zy;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm}break;case Wy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=Zy;continue}u=Hy}else u=zy;break;case Gy:if(u=zy,"/"!==o||"/"!==n[c+1])continue;c++;break;case zy:if("/"!==o&&"\\"!==o){u=Hy;continue}break;case Hy:if("@"===o){f&&(l="%40"+l),f=!0,i=Id(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=Ty(y,jy);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Id(l).length+1,l="",u=$y}else l+=o;break;case $y:case Vy:if(t&&"file"===s.scheme){u=Qy;continue}if(":"!==o||p){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return cy;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=Xy,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return cy;if(t===Vy)return;if(a=s.parseHost(l))return a;l="",u=Ky}break;case Ky:if(!Qd(hy,o)){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Vd(l,10);if(g>65535)return ly;s.port=s.isSpecial()&&g===Iy[s.scheme]?null:g,l=""}if(t)return;u=Xy;continue}return ly}l+=o;break;case Yy:if(s.scheme="file",s.host="","/"===o||"\\"===o)u=Jy;else{if(!r||"file"!==r.scheme){u=Zy;continue}switch(o){case bd:s.host=r.host,s.path=_d(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=_d(r.path),s.query="",u=tm;break;case"#":s.host=r.host,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm;break;default:s.host=r.host,Ny(Xd(_d(n,c),""))||(s.path=_d(r.path),s.shortenPath()),u=Zy;continue}}break;case Jy:if("/"===o||"\\"===o){u=Qy;break}r&&"file"===r.scheme&&(s.host=r.host,!Ny(Xd(_d(n,c),""))&&_y(r.path[0],!0)&&ty(s.path,r.path[0])),u=Zy;continue;case Qy:if(o===bd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&_y(l))u=Zy;else if(""===l){if(s.host="",t)return;u=Xy}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=Xy}continue}l+=o;break;case Xy:if(s.isSpecial()){if(u=Zy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==bd&&(u=Zy,"/"!==o))continue}else s.fragment="",u=rm;else s.query="",u=tm;break;case Zy:if(o===bd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(Uy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,"")):Cy(l)?"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,""):("file"===s.scheme&&!s.path.length&&_y(l)&&(null!==s.host&&""!==s.host&&(s.host=""),l=Jd(l,0)+":"),ty(s.path,l)),l="","file"===s.scheme&&(o===bd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)ny(s.path);"?"===o?(s.query="",u=tm):"#"===o&&(s.fragment="",u=rm)}else l+=Ty(o,ky);break;case em:"?"===o?(s.query="",u=tm):"#"===o?(s.fragment="",u=rm):o!==bd&&(s.path[0]+=Ty(o,Ay));break;case tm:t||"#"!==o?o!==bd&&(s.query+=Ty(o,s.isSpecial()?Oy:Ry)):(s.fragment="",u=rm);break;case rm:o!==bd&&(s.fragment+=Ty(o,Py))}c++}},parseHost:function(e){var t,r,n;if("["===Jd(e,0)){if("]"!==Jd(e,e.length-1))return cy;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return Jd(e,f)};if(":"===p()){if(":"!==Jd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Qd(gy,p());)t=16*t+Vd(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!Qd(hy,p()))return;for(;Qd(hy,p());){if(i=Vd(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!==++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(iy(e,1,-1)),!t)return cy;this.host=t}else if(this.isSpecial()){if(e=Cd(e),Qd(vy,e))return cy;if(function(e){var t,r,n=oy(e,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return t=n[n.length-1],!!Qd(my,t)||!!Qd(dy,t)&&(""===(r=iy(t,2))||!!Qd(gy,r))}(e)){if(t=function(e){var t,r,n,o,i,a,s,u=oy(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return null;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return null;if(i=10,o.length>1&&"0"===Jd(o,0)&&(i=Qd(dy,o)?16:8,o=iy(o,8===i?1:2)),""===o)a=0;else{if(!Qd(10===i?my:8===i?yy:gy,o))return null;a=Vd(o,i)}ty(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Yd(256,5-t))return null}else if(a>255)return null;for(s=ey(r),n=0;n<r.length;n++)s+=r[n]*Yd(256,3-n);return s}(e),null===t)return cy;this.host=t}else this.host=e}else{if(Qd(by,e))return cy;for(t="",r=Id(e),n=0;n<r.length;n++)t+=Ty(r[n],Ay);this.host=t}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return jd(Iy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&_y(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=xy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),null===o&&!e.cannotBeABaseURL&&a.length>1&&""===a[0]&&(c+="/."),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+Xd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Hd(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new om(this.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+xy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ud(e)+":",Ly)},getUsername:function(){return this.username},setUsername:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ty(t[r],jy)}},getPassword:function(){return this.password},setPassword:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ty(t[r],jy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?xy(e):xy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,$y)},getHostname:function(){var e=this.host;return null===e?"":xy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Vy)},getPort:function(){var e=this.port;return null===e?"":Ud(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Ud(e))?this.port=null:this.parse(e,Ky))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Xd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Xy))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Ud(e))?this.query=null:("?"===Jd(e,0)&&(e=iy(e,1)),this.query="",this.parse(e,tm)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Ud(e))?("#"===Jd(e,0)&&(e=iy(e,1)),this.fragment="",this.parse(e,rm)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var om=function(e){var t=kd(this,im),r=Dd(arguments.length,1)>1?arguments[1]:void 0,n=Md(t,new nm(e,!1,r));Sd||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},im=om.prototype,am=function(e,t){return{get:function(){return qd(this)[e]()},set:t&&function(e){return qd(this)[t](e)},configurable:!0,enumerable:!0}};if(Sd&&(Pd(im,"href",am("serialize","setHref")),Pd(im,"origin",am("getOrigin")),Pd(im,"protocol",am("getProtocol","setProtocol")),Pd(im,"username",am("getUsername","setUsername")),Pd(im,"password",am("getPassword","setPassword")),Pd(im,"host",am("getHost","setHost")),Pd(im,"hostname",am("getHostname","setHostname")),Pd(im,"port",am("getPort","setPort")),Pd(im,"pathname",am("getPathname","setPathname")),Pd(im,"search",am("getSearch","setSearch")),Pd(im,"searchParams",am("getSearchParams")),Pd(im,"hash",am("getHash","setHash"))),Od(im,"toJSON",function(){return qd(this).serialize()},{enumerable:!0}),Od(im,"toString",function(){return qd(this).serialize()},{enumerable:!0}),zd){var sm=zd.createObjectURL,um=zd.revokeObjectURL;sm&&Od(om,"createObjectURL",Ad(sm,zd)),um&&Od(om,"revokeObjectURL",Ad(um,zd))}Ld(om,"URL"),wd({global:!0,constructor:!0,forced:!Ed,sham:!Sd},{URL:om});var cm=C;Oo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return cm(URL.prototype.toString,this)}});var lm=Ef,fm=te,pm=ct,hm=Fn,dm=hi,ym=No,mm=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l){for(var f,p,h=pm(u),d=fm(h),y=hm(d),m=lm(c,l),g=0,v=0,b=t?dm(u,y):r||a?dm(u,0):void 0;y>g;g++)if((s||g in d)&&(p=m(f=d[g],g,h),e))if(t)ym(b,g,p);else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return g;case 2:ym(b,v++,f)}else switch(e){case 4:return!1;case 7:ym(b,v++,f)}return i?-1:n||o?o:b}},gm={forEach:mm(0),map:mm(1),every:mm(4)},vm=gm.map;Oo({target:"Array",proto:!0,forced:!gi("map")},{map:function(e){return vm(this,e,arguments.length>1?arguments[1]:void 0)}});var bm=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},wm=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return bm(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return bm(e)}}])}(),Sm=["endpointName"],Em=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return f(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map(function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,Sm);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(wm),xm=["preview"],Am=["preview"],Rm=["preview"],Om=["preview"],Pm=["preview"],km=["preview"],jm=["preview"],Tm=["preview"],Im=["preview"],_m=["preview"],Nm=["preview"],Cm=["preview"],Um=["preview"],Lm=["preview"],Dm=["preview"],Fm=["preview"],Bm=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,xm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,Am),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,Rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.n=2;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.n=1,this.client.get(i,{id:n});case 1:return a=e.v,s=a.defaultThread,e.a(2,this.client.post(o,d(d({},t),{},{thread:s})));case 2:return e.a(2,this.client.post(o,{name:r}))}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,Om),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,Pm),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,km),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,jm),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,Tm),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,Im),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,_m),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,Nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,Cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,Um),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,Lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"getAdminNotes",value:function(e){var t=e.preview,r=y(e,Dm),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:t});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(t,e)}},{key:"move",value:function(e){var t=this.buildPath({endpointName:"app/move"});return this.client.post(t,e)}},{key:"getPlugins",value:function(e){var t=e.preview,r=y(e,Fm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:t});return this.client.get(n,r)}},{key:"addPlugins",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"apps/statistics"});return this.client.get(t,e)}}]);var r}(wm),Mm=j,qm=function(e,t){var r=[][e];return!!r&&Mm(function(){r.call(null,t||function(){return 1},1)})},Wm=gm.every;Oo({target:"Array",proto:!0,forced:!qm("every")},{every:function(e){return Wm(this,e,arguments.length>1?arguments[1]:void 0)}});var Gm=Oo,zm=Wn.indexOf,Hm=qm,$m=vf([].indexOf),Vm=!!$m&&1/$m([1],1,-0)<0;Gm({target:"Array",proto:!0,forced:Vm||!Hm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Vm?$m(this,e,t)||0:zm(this,e,t)}}),Oo({target:"Array",stat:!0},{isArray:ko});var Km,Ym=We,Jm=ct,Qm=te,Xm=Fn,Zm=TypeError,eg="Reduce of empty array with no initial value",tg={left:(Km=!1,function(e,t,r,n){var o=Jm(e),i=Qm(o),a=Xm(o);if(Ym(t),0===a&&r<2)throw new Zm(eg);var s=Km?a-1:0,u=Km?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Km?s<0:a<=s)throw new Zm(eg)}for(;Km?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},rg=P,ng=be,og=J,ig=function(e){return ng.slice(0,e.length)===e},ag=ig("Bun/")?"BUN":ig("Cloudflare-Workers")?"CLOUDFLARE":ig("Deno/")?"DENO":ig("Node.js/")?"NODE":rg.Bun&&"string"==typeof Bun.version?"BUN":rg.Deno&&"object"==typeof Deno.version?"DENO":"process"===og(rg.process)?"NODE":rg.window&&rg.document?"BROWSER":"REST",sg=tg.left;Oo({target:"Array",proto:!0,forced:!("NODE"===ag)&&Oe>79&&Oe<83||!qm("reduce")},{reduce:function(e){var t=arguments.length;return sg(this,e,t,t>1?arguments[1]:void 0)}});var ug=Oo,cg=ko,lg=ai,fg=pe,pg=Nn,hg=Fn,dg=ue,yg=No,mg=Fo,gg=Ot,vg=wp,bg=gi("slice"),wg=gg("species"),Sg=Array,Eg=Math.max;ug({target:"Array",proto:!0,forced:!bg},{slice:function(e,t){var r,n,o,i=dg(this),a=hg(i),s=pg(e,a),u=pg(void 0===t?a:t,a);if(cg(i)&&(r=i.constructor,(lg(r)&&(r===Sg||cg(r.prototype))||fg(r)&&null===(r=r[wg]))&&(r=void 0),r===Sg||void 0===r))return vg(i,s,u);for(n=new(void 0===r?Sg:r)(Eg(u-s,0)),o=0;s<u;s++,o++)s in i&&yg(n,o,i[s]);return mg(n,o),n}});var xg=P,Ag=le,Rg=pe,Og=ea,Pg=$(1.1.valueOf),kg=Oo,jg=T,Tg=P,Ig=xg,_g=$,Ng=vo,Cg=pt,Ug=function(e,t,r){var n,o;return Og&&Ag(n=t.constructor)&&n!==r&&Rg(o=n.prototype)&&o!==r.prototype&&Og(e,o),e},Lg=me,Dg=Le,Fg=Ct,Bg=j,Mg=Rn.f,qg=k.f,Wg=Zt.f,Gg=Pg,zg=gu.trim,Hg="Number",$g=Tg[Hg];Ig[Hg];var Vg=$g.prototype,Kg=Tg.TypeError,Yg=_g("".slice),Jg=_g("".charCodeAt),Qg=function(e){var t,r,n,o,i,a,s,u,c=Fg(e,"number");if(Dg(c))throw new Kg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zg(c),43===(t=Jg(c,0))||45===t){if(88===(r=Jg(c,2))||120===r)return NaN}else if(48===t){switch(Jg(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Yg(c,2)).length,s=0;s<a;s++)if((u=Jg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Xg=Ng(Hg,!$g(" 0o1")||!$g("0b1")||$g("+0x1")),Zg=function(e){var t,r=arguments.length<1?0:$g(function(e){var t=Fg(e,"number");return"bigint"==typeof t?t:Qg(t)}(e));return Lg(Vg,t=this)&&Bg(function(){Gg(t)})?Ug(Object(r),this,Zg):r};Zg.prototype=Vg,Xg&&(Vg.constructor=Zg),kg({global:!0,constructor:!0,wrap:!0,forced:Xg},{Number:Zg});Xg&&function(e,t){for(var r,n=jg?Mg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)Cg(t,r=n[o])&&!Cg(e,r)&&Wg(e,r,qg(t,r))}(Ig[Hg],$g);var ev=Ff;Oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==ev},{assign:ev});var tv=C,rv=al,nv=or,ov=pe,iv=Ln,av=cu,sv=ie,uv=He,cv=ul,lv=vc,fv=xl,pv=$("".indexOf);rv("match",function(e,t,r){return[function(t){var r=sv(this),n=ov(t)?uv(t,e):void 0;return n?tv(n,t,r):new RegExp(t)[e](av(r))},function(e){var n=nv(this),o=av(e),i=r(t,n,o);if(i.done)return i.value;var a=av(lv(n));if(!~pv(a,"g"))return fv(n,o);var s=!!~pv(a,"u")||!!~pv(a,"v");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=fv(n,o));){var f=av(u[0]);c[l]=f,""===f&&(n.lastIndex=cv(o,iv(n.lastIndex),s)),l++}return 0===l?null:c}]});var hv=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error)),dv=gm.forEach,yv=qm("forEach")?[].forEach:function(e){return dv(this,e,arguments.length>1?arguments[1]:void 0)};Oo({target:"Array",proto:!0,forced:[].forEach!==yv},{forEach:yv});var mv=ct,gv=la;Oo({target:"Object",stat:!0,forced:j(function(){gv(1)})},{keys:function(e){return gv(mv(e))}});var vv=P,bv=Ql,wv=ef,Sv=yv,Ev=vr,xv=function(e){if(e&&e.forEach!==Sv)try{Ev(e,"forEach",Sv)}catch(t){e.forEach=Sv}};for(var Av in bv)bv[Av]&&xv(vv[Av]&&vv[Av].prototype);xv(wv);var Rv=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),f=t.buildErrorMessage(c,n,l);return(u=i(this,t,[f])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=f,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return f(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach(function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))}),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(E(Error)),Ov=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(E(Error)),Pv=["condition","orderBy","withCursor"],kv=["fields","condition"],jv=["condition","orderBy"],Tv=500,Iv=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return f(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(O=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:return r=t.app,n=t.updateKey,o=t.record,e.n=1,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 1:if(i=e.v,!((a=i.records).length>0)){e.n=4;break}if("__ID__"!==a[0].$id.type){e.n=3;break}return e.n=2,this.updateRecord(t);case 2:return s=e.v,u=s.revision,e.a(2,{id:a[0].$id.value,revision:u});case 3:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 4:return e.a(2,this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}))}},e,this)})),function(e){return O.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.get(r,t);case 1:return n=e.v,this.warnMaximumOffsetValueIfNeeded(t.query),e.a(2,n)}},e,this)})),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().m(function e(t){var r,n,o,i;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.post(r,t);case 1:return n=e.v,o=n.ids,i=n.revisions,e.a(2,{ids:o,revisions:i,records:o.map(function(e,t){return{id:e,revision:i[t]}})})}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(x=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,Pv),n){e.n=1;break}return e.a(2,this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 1:if(!i){e.n=2;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.a(2,this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 2:return e.a(2,this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})))}},e,this)})),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(E=o(m().m(function e(t){var r,n,o,i,a,s,u,c,l,f;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.fields,n=t.condition,o=y(t,kv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(b(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 1:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(Tv),e.n=2,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 2:if(l=e.v,s=s.concat(l.records),!(l.records.length<Tv)){e.n=3;break}return e.a(3,6);case 3:if("__ID__"!==(f=l.records[l.records.length-1]).$id.type){e.n=4;break}u=f.$id.value,e.n=5;break;case 4:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 5:e.n=1;break;case 6:return e.a(2,s)}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(S=o(m().m(function e(t){var r,n,o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.condition,n=t.orderBy,o=y(t,jv),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(Tv," offset ").concat(s),e.n=2,this.getRecords(d(d({},o),{},{query:u}));case 2:if(c=e.v,a=a.concat(c.records),!(c.records.length<Tv)){e.n=3;break}return e.a(3,4);case 3:s+=Tv,e.n=1;break;case 4:return e.a(2,a)}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=d(d({},t),{},{size:Tv}),e.n=1,this.createCursor(r);case 1:n=e.v,o=n.id,e.p=2,i=[];case 3:return e.n=4,this.getRecordsByCursor({id:o});case 4:if(a=e.v,i=i.concat(a.records),a.next){e.n=5;break}return e.a(3,6);case 5:e.n=3;break;case 6:return e.a(2,i);case 7:return e.p=7,s=e.v,e.n=8,this.deleteCursor({id:o});case 8:throw s;case 9:return e.a(2)}},e,this,[[2,7]])})),function(e){return w.apply(this,arguments)})},{key:"addAllRecords",value:(v=o(m().m(function e(t){return m().w(function(e){for(;;)switch(e.n){case 0:if(t.records.every(function(e){return!Array.isArray(e)&&e instanceof Object})){e.n=1;break}throw new Error("the `records` parameter must be an array of object.");case 1:return e.a(2,this.addAllRecordsRecursive(t,t.records.length,[]))}},e,this)})),function(e){return v.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().m(function e(t,r,n){var o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.addAllRecordsWithBulkRequest({app:i,records:s});case 2:u=e.v,e.n=4;break;case 3:throw e.p=3,c=e.v,new Rv({records:n},a,r,c,100);case 4:return e.a(2,this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)))}},e,this,[[1,3]])})),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){var t=e.ids,r=e.revisions;return t.map(function(e,t){return{id:e,revision:r[t]}})}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(p=o(m().m(function e(t){return m().w(function(e){for(;;)if(0===e.n)return e.a(2,this.updateAllRecordsRecursive(t,t.records.length,[]))},e,this)})),function(e){return p.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().m(function e(t,r,n){var o,i,a,s,u,c,l;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.upsert,s=t.records,0!==(u=s.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 2:c=e.v,e.n=4;break;case 3:throw e.p=3,l=e.v,new Rv({records:n},s,r,l,100);case 4:return e.a(2,this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)))}},e,this,[[1,3]])})),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,upsert:t.upsert,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){return e.records}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().m(function e(t,r){var n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.n=1;break}return e.a(2,{});case 1:return e.p=1,e.n=2,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 2:e.n=4;break;case 3:throw e.p=3,s=e.v,new Rv({},i,r,s,100);case 4:return e.a(2,this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r))}},e,this,[[1,3]])})),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map(function(e){return e.id}),revisions:e.map(function(e){return e.revision})}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return e.a(2)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(b(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,p,h,g,v,w,S,E,x,A,R,O}(wm),_v=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"updateSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"addThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"spaces/statistics"});return this.client.get(t,e)}}])}(wm),Nv=A("object"==typeof self?self.FormData:window.FormData),Cv=function(e){function r(){return a(this,r),i(this,r,arguments)}return f(r,e),u(r,[{key:"uploadFile",value:(n=o(m().m(function e(r){var n,o,i,a,s,u,c,l,f,p;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Nv,!("path"in r.file)){e.n=6;break}return e.p=1,e.n=2,t.readFileFromPath(r.file.path);case 2:i=e.v,a=i.name,s=i.data,o.append("file",s,a),e.n=5;break;case 3:if(e.p=3,!((p=e.v)instanceof ta)){e.n=4;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(p.platform," environment."));case 4:throw p;case 5:e.n=7;break;case 6:u=r.file,c=u.name,l=u.data,f=t.buildFormDataValue(l,c),o.append("file",f,c);case 7:return e.a(2,this.client.postData(n,o))}},e,this,[[1,3]])})),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(wm),Uv=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins"});return this.client.get(t,e)}},{key:"getRequiredPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins/required"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPath({endpointName:"plugin/apps"});return this.client.get(t,e)}},{key:"updatePlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.put(t,e)}},{key:"installPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.post(t,e)}},{key:"uninstallPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.delete(t,e)}}])}(wm),Lv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Dv(){throw new Error("setTimeout has not been defined")}function Fv(){throw new Error("clearTimeout has not been defined")}var Bv=Dv,Mv=Fv;function qv(e){if(Bv===setTimeout)return setTimeout(e,0);if((Bv===Dv||!Bv)&&setTimeout)return Bv=setTimeout,setTimeout(e,0);try{return Bv(e,0)}catch(t){try{return Bv.call(null,e,0)}catch(t){return Bv.call(this,e,0)}}}"function"==typeof Lv.setTimeout&&(Bv=setTimeout),"function"==typeof Lv.clearTimeout&&(Mv=clearTimeout);var Wv,Gv=[],zv=!1,Hv=-1;function $v(){zv&&Wv&&(zv=!1,Wv.length?Gv=Wv.concat(Gv):Hv=-1,Gv.length&&Vv())}function Vv(){if(!zv){var e=qv($v);zv=!0;for(var t=Gv.length;t;){for(Wv=Gv,Gv=[];++Hv<t;)Wv&&Wv[Hv].run();Hv=-1,t=Gv.length}Wv=null,zv=!1,function(e){if(Mv===clearTimeout)return clearTimeout(e);if((Mv===Fv||!Mv)&&clearTimeout)return Mv=clearTimeout,clearTimeout(e);try{return Mv(e)}catch(t){try{return Mv.call(null,e)}catch(t){return Mv.call(this,e)}}}(e)}}function Kv(e,t){this.fun=e,this.array=t}Kv.prototype.run=function(){this.fun.apply(null,this.array)};var Yv=Lv.performance||{};Yv.now||Yv.mozNow||Yv.msNow||Yv.oNow||Yv.webkitNow;function Jv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qv}=Object.prototype,{getPrototypeOf:Xv}=Object,{iterator:Zv,toStringTag:eb}=Symbol,tb=(rb=Object.create(null),e=>{const t=Qv.call(e);return rb[t]||(rb[t]=t.slice(8,-1).toLowerCase())});var rb;const nb=e=>(e=e.toLowerCase(),t=>tb(t)===e),ob=e=>t=>typeof t===e,{isArray:ib}=Array,ab=ob("undefined");function sb(e){return null!==e&&!ab(e)&&null!==e.constructor&&!ab(e.constructor)&&lb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ub=nb("ArrayBuffer");const cb=ob("string"),lb=ob("function"),fb=ob("number"),pb=e=>null!==e&&"object"==typeof e,hb=e=>{if("object"!==tb(e))return!1;const t=Xv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||eb in e||Zv in e)},db=nb("Date"),yb=nb("File"),mb=nb("Blob"),gb=nb("FileList");const vb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==Lv?Lv:{},bb=void 0!==vb.FormData?vb.FormData:void 0,wb=nb("URLSearchParams"),[Sb,Eb,xb,Ab]=["ReadableStream","Request","Response","Headers"].map(nb);function Rb(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),ib(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(sb(e))return;const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let a;for(r=0;r<i;r++)a=n[r],t.call(null,e[a],a,e)}}function Ob(e,t){if(sb(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const Pb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Lv,kb=e=>!ab(e)&&e!==Pb;const jb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Xv(Uint8Array)),Tb=nb("HTMLFormElement"),Ib=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),_b=nb("RegExp"),Nb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Rb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const Cb=nb("AsyncFunction"),Ub=(Lb="function"==typeof setImmediate,Db=lb(Pb.postMessage),Lb?setImmediate:Db?(Fb=`axios@${Math.random()}`,Bb=[],Pb.addEventListener("message",e=>{let{source:t,data:r}=e;t===Pb&&r===Fb&&Bb.length&&Bb.shift()()},!1),e=>{Bb.push(e),Pb.postMessage(Fb,"*")}):e=>setTimeout(e));var Lb,Db,Fb,Bb;const Mb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Pb):function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Gv.push(new Kv(e,t)),1!==Gv.length||zv||qv(Vv)}||Ub;var qb={isArray:ib,isArrayBuffer:ub,isBuffer:sb,isFormData:e=>{let t;return e&&(bb&&e instanceof bb||lb(e.append)&&("formdata"===(t=tb(e))||"object"===t&&lb(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ub(e.buffer),t},isString:cb,isNumber:fb,isBoolean:e=>!0===e||!1===e,isObject:pb,isPlainObject:hb,isEmptyObject:e=>{if(!pb(e)||sb(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Sb,isRequest:Eb,isResponse:xb,isHeaders:Ab,isUndefined:ab,isDate:db,isFile:yb,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:mb,isRegExp:_b,isFunction:lb,isStream:e=>pb(e)&&lb(e.pipe),isURLSearchParams:wb,isTypedArray:jb,isFileList:gb,forEach:Rb,merge:function e(){const{caseless:t,skipUndefined:r}=kb(this)&&this||{},n={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=t&&Ob(n,i)||i;hb(n[a])&&hb(o)?n[a]=e(n[a],o):hb(o)?n[a]=e({},o):ib(o)?n[a]=o.slice():r&&ab(o)||(n[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Rb(arguments[e],o);return n},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Rb(t,(t,n)=>{r&&lb(t)?Object.defineProperty(e,n,{value:Jv(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Xv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:tb,kindOfTest:nb,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(ib(e))return e;let t=e.length;if(!fb(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Zv]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Tb,hasOwnProperty:Ib,hasOwnProp:Ib,reduceDescriptors:Nb,freezeMethods:e=>{Nb(e,(t,r)=>{if(lb(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];lb(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return ib(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ob,global:Pb,isContextDefined:kb,isSpecCompliantForm:function(e){return!!(e&&lb(e.append)&&"FormData"===e[eb]&&e[Zv])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(pb(e)){if(t.indexOf(e)>=0)return;if(sb(e))return e;if(!("toJSON"in e)){t[n]=e;const o=ib(e)?[]:{};return Rb(e,(e,t)=>{const i=r(e,n+1);!ab(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Cb,isThenable:e=>e&&(pb(e)||lb(e))&&lb(e.then)&&lb(e.catch),setImmediate:Ub,asap:Mb,isIterable:e=>null!=e&&lb(e[Zv])},Wb=[],Gb=[],zb="undefined"!=typeof Uint8Array?Uint8Array:Array,Hb=!1;function $b(){Hb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Wb[t]=e[t],Gb[e.charCodeAt(t)]=t;Gb["-".charCodeAt(0)]=62,Gb["_".charCodeAt(0)]=63}function Vb(e){return Wb[e>>18&63]+Wb[e>>12&63]+Wb[e>>6&63]+Wb[63&e]}function Kb(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(Vb(n));return o.join("")}function Yb(e){var t;Hb||$b();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Kb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Wb[t>>2],o+=Wb[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Wb[t>>10],o+=Wb[t>>4&63],o+=Wb[t<<2&63],o+="="),i.push(o),i.join("")}function Jb(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Qb(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var Xb={}.toString,Zb=Array.isArray||function(e){return"[object Array]"==Xb.call(e)};function ew(){return rw.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function tw(e,t){if(ew()<t)throw new RangeError("Invalid typed array length");return rw.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=rw.prototype:(null===e&&(e=new rw(t)),e.length=t),e}function rw(e,t,r){if(!(rw.TYPED_ARRAY_SUPPORT||this instanceof rw))return new rw(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return iw(this,e)}return nw(this,e,t,r)}function nw(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);rw.TYPED_ARRAY_SUPPORT?(e=t).__proto__=rw.prototype:e=aw(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!rw.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|cw(t,r);e=tw(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(uw(t)){var r=0|sw(t.length);return 0===(e=tw(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?tw(e,0):aw(e,t);if("Buffer"===t.type&&Zb(t.data))return aw(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ow(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function iw(e,t){if(ow(t),e=tw(e,t<0?0:0|sw(t)),!rw.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function aw(e,t){var r=t.length<0?0:0|sw(t.length);e=tw(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function sw(e){if(e>=ew())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ew().toString(16)+" bytes");return 0|e}function uw(e){return!(null==e||!e._isBuffer)}function cw(e,t){if(uw(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Lw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Dw(e).length;default:if(n)return Lw(e).length;t=(""+t).toLowerCase(),n=!0}}function lw(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Rw(this,t,r);case"utf8":case"utf-8":return Sw(this,t,r);case"ascii":return xw(this,t,r);case"latin1":case"binary":return Aw(this,t,r);case"base64":return ww(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ow(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function fw(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function pw(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=rw.from(t,n)),uw(t))return 0===t.length?-1:hw(e,t,r,n,o);if("number"==typeof t)return t&=255,rw.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):hw(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function hw(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,p=0;p<u;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function dw(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function yw(e,t,r,n){return Fw(Lw(t,e.length-r),e,r,n)}function mw(e,t,r,n){return Fw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function gw(e,t,r,n){return mw(e,t,r,n)}function vw(e,t,r,n){return Fw(Dw(t),e,r,n)}function bw(e,t,r,n){return Fw(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function ww(e,t,r){return 0===t&&r===e.length?Yb(e):Yb(e.slice(t,r))}function Sw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=Ew)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Ew));return r}(n)}rw.TYPED_ARRAY_SUPPORT=void 0===Lv.TYPED_ARRAY_SUPPORT||Lv.TYPED_ARRAY_SUPPORT,ew(),rw.poolSize=8192,rw._augment=function(e){return e.__proto__=rw.prototype,e},rw.from=function(e,t,r){return nw(null,e,t,r)},rw.TYPED_ARRAY_SUPPORT&&(rw.prototype.__proto__=Uint8Array.prototype,rw.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&rw[Symbol.species]),rw.alloc=function(e,t,r){return function(e,t,r,n){return ow(t),t<=0?tw(e,t):void 0!==r?"string"==typeof n?tw(e,t).fill(r,n):tw(e,t).fill(r):tw(e,t)}(null,e,t,r)},rw.allocUnsafe=function(e){return iw(null,e)},rw.allocUnsafeSlow=function(e){return iw(null,e)},rw.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Bw(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Bw(e.slice(0,0))}(e))},rw.compare=function(e,t){if(!uw(e)||!uw(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},rw.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},rw.concat=function(e,t){if(!Zb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return rw.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=rw.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!uw(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},rw.byteLength=cw,rw.prototype._isBuffer=!0,rw.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)fw(this,t,t+1);return this},rw.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)fw(this,t,t+3),fw(this,t+1,t+2);return this},rw.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)fw(this,t,t+7),fw(this,t+1,t+6),fw(this,t+2,t+5),fw(this,t+3,t+4);return this},rw.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Sw(this,0,e):lw.apply(this,arguments)},rw.prototype.equals=function(e){if(!uw(e))throw new TypeError("Argument must be a Buffer");return this===e||0===rw.compare(this,e)},rw.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},rw.prototype.compare=function(e,t,r,n,o){if(!uw(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},rw.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},rw.prototype.indexOf=function(e,t,r){return pw(this,e,t,r,!0)},rw.prototype.lastIndexOf=function(e,t,r){return pw(this,e,t,r,!1)},rw.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return dw(this,e,t,r);case"utf8":case"utf-8":return yw(this,e,t,r);case"ascii":return mw(this,e,t,r);case"latin1":case"binary":return gw(this,e,t,r);case"base64":return vw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},rw.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ew=4096;function xw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Aw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Rw(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Uw(e[i]);return o}function Ow(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function Pw(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function kw(e,t,r,n,o,i){if(!uw(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function jw(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Tw(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Iw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _w(e,t,r,n,o){return o||Iw(e,0,r,4),Qb(e,t,r,n,23,4),r+4}function Nw(e,t,r,n,o){return o||Iw(e,0,r,8),Qb(e,t,r,n,52,8),r+8}rw.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),rw.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=rw.prototype;else{var o=t-e;r=new rw(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},rw.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},rw.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},rw.prototype.readUInt8=function(e,t){return t||Pw(e,1,this.length),this[e]},rw.prototype.readUInt16LE=function(e,t){return t||Pw(e,2,this.length),this[e]|this[e+1]<<8},rw.prototype.readUInt16BE=function(e,t){return t||Pw(e,2,this.length),this[e]<<8|this[e+1]},rw.prototype.readUInt32LE=function(e,t){return t||Pw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rw.prototype.readUInt32BE=function(e,t){return t||Pw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rw.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},rw.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},rw.prototype.readInt8=function(e,t){return t||Pw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rw.prototype.readInt16LE=function(e,t){t||Pw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt16BE=function(e,t){t||Pw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt32LE=function(e,t){return t||Pw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rw.prototype.readInt32BE=function(e,t){return t||Pw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rw.prototype.readFloatLE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!0,23,4)},rw.prototype.readFloatBE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!1,23,4)},rw.prototype.readDoubleLE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!0,52,8)},rw.prototype.readDoubleBE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!1,52,8)},rw.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},rw.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},rw.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,255,0),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},rw.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Tw(this,e,t,!0),t+4},rw.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,127,-128),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},rw.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Tw(this,e,t,!0),t+4},rw.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeFloatLE=function(e,t,r){return _w(this,e,t,!0,r)},rw.prototype.writeFloatBE=function(e,t,r){return _w(this,e,t,!1,r)},rw.prototype.writeDoubleLE=function(e,t,r){return Nw(this,e,t,!0,r)},rw.prototype.writeDoubleBE=function(e,t,r){return Nw(this,e,t,!1,r)},rw.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!rw.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},rw.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!rw.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=uw(e)?e:Lw(new rw(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var Cw=/[^+\/0-9A-Za-z-_]/g;function Uw(e){return e<16?"0"+e.toString(16):e.toString(16)}function Lw(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Dw(e){return function(e){var t,r,n,o,i,a;Hb||$b();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new zb(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Gb[e.charCodeAt(t)]<<18|Gb[e.charCodeAt(t+1)]<<12|Gb[e.charCodeAt(t+2)]<<6|Gb[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Gb[e.charCodeAt(t)]<<2|Gb[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Gb[e.charCodeAt(t)]<<10|Gb[e.charCodeAt(t+1)]<<4|Gb[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Cw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Fw(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Bw(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}let Mw=class e extends Error{static from(t,r,n,o,i,a){const s=new e(t.message,r||t.code,n,o,i);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),a&&Object.assign(s,a),s}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:qb.toJSONObject(this.config),code:this.code,status:this.status}}};Mw.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Mw.ERR_BAD_OPTION="ERR_BAD_OPTION",Mw.ECONNABORTED="ECONNABORTED",Mw.ETIMEDOUT="ETIMEDOUT",Mw.ERR_NETWORK="ERR_NETWORK",Mw.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Mw.ERR_DEPRECATED="ERR_DEPRECATED",Mw.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Mw.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Mw.ERR_CANCELED="ERR_CANCELED",Mw.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Mw.ERR_INVALID_URL="ERR_INVALID_URL";function qw(e){return qb.isPlainObject(e)||qb.isArray(e)}function Ww(e){return qb.endsWith(e,"[]")?e.slice(0,-2):e}function Gw(e,t,r){return e?e.concat(t).map(function(e,t){return e=Ww(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const zw=qb.toFlatObject(qb,{},null,function(e){return/^is[A-Z]/.test(e)});function Hw(e,t,r){if(!qb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=qb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!qb.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&qb.isSpecCompliantForm(t);if(!qb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(qb.isDate(e))return e.toISOString();if(qb.isBoolean(e))return e.toString();if(!s&&qb.isBlob(e))throw new Mw("Blob is not supported. Use a Buffer instead.");return qb.isArrayBuffer(e)||qb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):rw.from(e):e}function c(e,r,o){let s=e;if(qb.isReactNative(t)&&qb.isReactNativeBlob(e))return t.append(Gw(o,r,i),u(e)),!1;if(e&&!o&&"object"==typeof e)if(qb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(qb.isArray(e)&&function(e){return qb.isArray(e)&&!e.some(qw)}(e)||(qb.isFileList(e)||qb.endsWith(r,"[]"))&&(s=qb.toArray(e)))return r=Ww(r),s.forEach(function(e,n){!qb.isUndefined(e)&&null!==e&&t.append(!0===a?Gw([r],n,i):null===a?r:r+"[]",u(e))}),!1;return!!qw(e)||(t.append(Gw(o,r,i),u(e)),!1)}const l=[],f=Object.assign(zw,{defaultVisitor:c,convertValue:u,isVisitable:qw});if(!qb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!qb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),qb.forEach(r,function(r,i){!0===(!(qb.isUndefined(r)||null===r)&&o.call(t,r,qb.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t}function $w(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Vw(e,t){this._pairs=[],e&&Hw(e,this,t)}const Kw=Vw.prototype;function Yw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Jw(e,t,r){if(!t)return e;const n=r&&r.encode||Yw,o=qb.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let a;if(a=i?i(t,o):qb.isURLSearchParams(t)?t.toString():new Vw(t,o).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Kw.append=function(e,t){this._pairs.push([e,t])},Kw.toString=function(e){const t=e?function(t){return e.call(this,t,$w)}:$w;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class Qw{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){qb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Xw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Zw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Vw,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const eS="undefined"!=typeof window&&"undefined"!=typeof document,tS="object"==typeof navigator&&navigator||void 0,rS=eS&&(!tS||["ReactNative","NativeScript","NS"].indexOf(tS.product)<0),nS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,oS=eS&&window.location.href||"http://localhost";var iS={...Object.freeze({__proto__:null,hasBrowserEnv:eS,hasStandardBrowserEnv:rS,hasStandardBrowserWebWorkerEnv:nS,navigator:tS,origin:oS}),...Zw};function aS(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&qb.isArray(n)?n.length:i,s)return qb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&qb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&qb.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(qb.isFormData(e)&&qb.isFunction(e.entries)){const r={};return qb.forEachEntry(e,(e,n)=>{t(function(e){return qb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const sS={transitional:Xw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=qb.isObject(e);o&&qb.isHTMLForm(e)&&(e=new FormData(e));if(qb.isFormData(e))return n?JSON.stringify(aS(e)):e;if(qb.isArrayBuffer(e)||qb.isBuffer(e)||qb.isStream(e)||qb.isFile(e)||qb.isBlob(e)||qb.isReadableStream(e))return e;if(qb.isArrayBufferView(e))return e.buffer;if(qb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Hw(e,new iS.classes.URLSearchParams,{visitor:function(e,t,r,n){return iS.isNode&&qb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=qb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Hw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(qb.isString(e))try{return(t||JSON.parse)(e),qb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||sS.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(qb.isResponse(e)||qb.isReadableStream(e))return e;if(e&&qb.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(r){if("SyntaxError"===e.name)throw Mw.from(e,Mw.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iS.classes.FormData,Blob:iS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qb.forEach(["delete","get","head","post","put","patch"],e=>{sS.headers[e]={}});const uS=qb.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const cS=Symbol("internals");function lS(e){return e&&String(e).trim().toLowerCase()}function fS(e){return!1===e||null==e?e:qb.isArray(e)?e.map(fS):String(e).replace(/[\r\n]+$/,"")}function pS(e,t,r,n,o){return qb.isFunction(n)?n.call(this,t,r):(o&&(t=r),qb.isString(t)?qb.isString(n)?-1!==t.indexOf(n):qb.isRegExp(n)?n.test(t):void 0:void 0)}let hS=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=lS(t);if(!o)throw new Error("header name must be a non-empty string");const i=qb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=fS(e))}const i=(e,t)=>qb.forEach(e,(e,r)=>o(e,r,t));if(qb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(qb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&uS[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(qb.isObject(e)&&qb.isIterable(e)){let r,n,o={};for(const t of e){if(!qb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?qb.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=lS(e)){const r=qb.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(qb.isFunction(t))return t.call(this,e,r);if(qb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=lS(e)){const r=qb.findKey(this,e);return!(!r||void 0===this[r]||t&&!pS(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=lS(e)){const o=qb.findKey(r,e);!o||t&&!pS(0,r[o],o,t)||(delete r[o],n=!0)}}return qb.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!pS(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return qb.forEach(this,(n,o)=>{const i=qb.findKey(r,o);if(i)return t[i]=fS(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=fS(n),r[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return qb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&qb.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[t,r]=e;return t+": "+r}).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[cS]=this[cS]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=lS(e);t[n]||(!function(e,t){const r=qb.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return qb.isArray(e)?e.forEach(n):n(e),this}};function dS(e,t){const r=this||sS,n=t||r,o=hS.from(n.headers);let i=n.data;return qb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function yS(e){return!(!e||!e.__CANCEL__)}hS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qb.reduceDescriptors(hS.prototype,(e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),qb.freezeMethods(hS);let mS=class extends Mw{constructor(e,t,r){super(null==e?"canceled":e,Mw.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function gS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Mw("Request failed with status code "+r.status,[Mw.ERR_BAD_REQUEST,Mw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const vS=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];t>=i?a(u,e):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-t)))},()=>r&&a(r)]}(r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},bS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},wS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return qb.asap(()=>e(...r))};var SS=iS.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,iS.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(iS.origin),iS.navigator&&/(msie|trident)/i.test(iS.navigator.userAgent)):()=>!0,ES=iS.hasStandardBrowserEnv?{write(e,t,r,n,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];qb.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),qb.isString(n)&&s.push(`path=${n}`),qb.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),qb.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function xS(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const AS=e=>e instanceof hS?{...e}:e;function RS(e,t){t=t||{};const r={};function n(e,t,r,n){return qb.isPlainObject(e)&&qb.isPlainObject(t)?qb.merge.call({caseless:n},e,t):qb.isPlainObject(t)?qb.merge({},t):qb.isArray(t)?t.slice():t}function o(e,t,r,o){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!qb.isUndefined(t))return n(void 0,t)}function a(e,t){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(AS(e),AS(t),0,!0)};return qb.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const i=qb.hasOwnProp(u,n)?u[n]:o,a=i(e[n],t[n],n);qb.isUndefined(a)&&i!==s||(r[n]=a)}),r}var OS=e=>{const t=RS({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=hS.from(a),t.url=Jw(xS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),qb.isFormData(r))if(iS.hasStandardBrowserEnv||iS.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(qb.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(e=>{let[r,n]=e;t.includes(r.toLowerCase())&&a.set(r,n)})}if(iS.hasStandardBrowserEnv&&(n&&qb.isFunction(n)&&(n=n(t)),n||!1!==n&&SS(t.url))){const e=o&&i&&ES.read(i);e&&a.set(o,e)}return t};var PS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=OS(e);let o=n.data;const i=hS.from(n.headers).normalize();let a,s,u,c,l,{responseType:f,onUploadProgress:p,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=hS.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());gS(function(e){t(e),d()},function(e){r(e),d()},{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Mw("Request aborted",Mw.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new Mw(n,Mw.ERR_NETWORK,e,y);o.event=t||null,r(o),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Xw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Mw(t,o.clarifyTimeoutError?Mw.ETIMEDOUT:Mw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&qb.forEach(i.toJSON(),function(e,t){y.setRequestHeader(t,e)}),qb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h&&([u,l]=vS(h,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=vS(p),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=t=>{y&&(r(!t||t.type?new mS(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===iS.protocols.indexOf(g)?r(new Mw("Unsupported protocol "+g+":",Mw.ERR_BAD_REQUEST,e)):y.send(o||null)})};const kS=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Mw?t:new mS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Mw(`timeout of ${t}ms exceeded`,Mw.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>qb.asap(a),s}},jS=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},TS=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},IS=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of TS(e))yield*jS(r,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:_S}=qb,NS=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(qb.global),{ReadableStream:CS,TextEncoder:US}=qb.global,LS=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},DS=e=>{e=qb.merge.call({skipUndefined:!0},NS,e);const{fetch:t,Request:r,Response:n}=e,o=t?_S(t):"function"==typeof fetch,i=_S(r),a=_S(n);if(!o)return!1;const s=o&&_S(CS),u=o&&("function"==typeof US?(c=new US,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const l=i&&s&&LS(()=>{let e=!1;const t=new CS,n=new r(iS.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!n}),f=a&&s&&LS(()=>qb.isReadableStream(new n("").body)),p={stream:f&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Mw(`Response type '${e}' is not supported`,Mw.ERR_NOT_SUPPORT,r)})});const h=async(e,t)=>{const n=qb.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(qb.isBlob(e))return e.size;if(qb.isSpecCompliantForm(e)){const t=new r(iS.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return qb.isArrayBufferView(e)||qb.isArrayBuffer(e)?e.byteLength:(qb.isURLSearchParams(e)&&(e+=""),qb.isString(e)?(await u(e)).byteLength:void 0)})(t):n};return async e=>{let{url:o,method:a,data:s,signal:u,cancelToken:c,timeout:d,onDownloadProgress:y,onUploadProgress:m,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:w}=OS(e),S=t||fetch;g=g?(g+"").toLowerCase():"text";let E=kS([u,c&&c.toAbortSignal()],d),x=null;const A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let R;try{if(m&&l&&"get"!==a&&"head"!==a&&0!==(R=await h(v,s))){let e,t=new r(o,{method:"POST",body:s,duplex:"half"});if(qb.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=bS(R,vS(wS(m)));s=IS(t.body,65536,e,r)}}qb.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in r.prototype,u={...w,signal:E,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};x=i&&new r(o,u);let c=await(i?S(x,w):S(o,u));const d=f&&("stream"===g||"response"===g);if(f&&(y||d&&A)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});const t=qb.toFiniteNumber(c.headers.get("content-length")),[r,o]=y&&bS(t,vS(wS(y),!0))||[];c=new n(IS(c.body,65536,r,()=>{o&&o(),A&&A()}),e)}g=g||"text";let O=await p[qb.findKey(p,g)||"text"](c,e);return!d&&A&&A(),await new Promise((t,r)=>{gS(t,r,{data:O,headers:hS.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:x})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Mw("Network Error",Mw.ERR_NETWORK,e,x,t&&t.response),{cause:t.cause||t});throw Mw.from(t,t&&t.code,e,x,t&&t.response)}}},FS=new Map,BS=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let a,s,u=i.length,c=FS;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:DS(t)),c=s;return s};BS();const MS={http:null,xhr:PS,fetch:{get:BS}};qb.forEach(MS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const qS=e=>`- ${e}`,WS=e=>qb.isFunction(e)||null===e||!1===e;var GS={getAdapter:function(e,t){e=qb.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let a=0;a<r;a++){let r;if(n=e[a],o=n,!WS(n)&&(o=MS[(r=String(n)).toLowerCase()],void 0===o))throw new Mw(`Unknown adapter '${r}'`);if(o&&(qb.isFunction(o)||(o=o.get(t))))break;i[r||"#"+a]=o}if(!o){const e=Object.entries(i).map(e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")});let t=r?e.length>1?"since :\n"+e.map(qS).join("\n"):" "+qS(e[0]):"as no adapter specified";throw new Mw("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:MS};function zS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mS(null,e)}function HS(e){zS(e),e.headers=hS.from(e.headers),e.data=dS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return GS.getAdapter(e.adapter||sS.adapter,e)(e).then(function(t){return zS(e),t.data=dS.call(e,e.transformResponse,t),t.headers=hS.from(t.headers),t},function(t){return yS(t)||(zS(e),t&&t.response&&(t.response.data=dS.call(e,e.transformResponse,t.response),t.response.headers=hS.from(t.response.headers))),Promise.reject(t)})}const $S="1.14.0",VS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{VS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const KS={};VS.transitional=function(e,t,r){function n(e,t){return"[Axios v"+$S+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Mw(n(o," has been removed"+(t?" in "+t:"")),Mw.ERR_DEPRECATED);return t&&!KS[o]&&(KS[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},VS.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var YS={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Mw("options must be an object",Mw.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Mw("option "+i+" must be "+r,Mw.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Mw("Unknown option "+i,Mw.ERR_BAD_OPTION)}},validators:VS};const JS=YS.validators;let QS=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Qw,response:new Qw}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=RS(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&YS.assertOptions(r,{silentJSONParsing:JS.transitional(JS.boolean),forcedJSONParsing:JS.transitional(JS.boolean),clarifyTimeoutError:JS.transitional(JS.boolean),legacyInterceptorReqResOrdering:JS.transitional(JS.boolean)},!1),null!=n&&(qb.isFunction(n)?t.paramsSerializer={serialize:n}:YS.assertOptions(n,{encode:JS.function,serialize:JS.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),YS.assertOptions(t,{baseUrl:JS.spelling("baseURL"),withXsrfToken:JS.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&qb.merge(o.common,o[t.method]);o&&qb.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=hS.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||Xw;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const u=[];let c;this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let l,f=0;if(!s){const e=[HS.bind(this),void 0];for(e.unshift(...a),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let p=t;for(;f<l;){const e=a[f++],t=a[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=HS.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return Jw(xS((e=RS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};qb.forEach(["delete","get","head","options"],function(e){QS.prototype[e]=function(t,r){return this.request(RS(r||{},{method:e,url:t,data:(r||{}).data}))}}),qb.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(RS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}QS.prototype[e]=t(),QS.prototype[e+"Form"]=t(!0)});const XS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(XS).forEach(e=>{let[t,r]=e;XS[r]=t});const ZS=function e(t){const r=new QS(t),n=Jv(QS.prototype.request,r);return qb.extend(n,QS.prototype,r,{allOwnKeys:!0}),qb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(RS(t,r))},n}(sS);ZS.Axios=QS,ZS.CanceledError=mS,ZS.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new mS(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},ZS.isCancel=yS,ZS.VERSION=$S,ZS.toFormData=Hw,ZS.AxiosError=Mw,ZS.Cancel=ZS.CanceledError,ZS.all=function(e){return Promise.all(e)},ZS.spread=function(e){return function(t){return e.apply(null,t)}},ZS.isAxiosError=function(e){return qb.isObject(e)&&!0===e.isAxiosError},ZS.mergeConfig=RS,ZS.AxiosHeaders=hS,ZS.formToJSON=e=>aS(qb.isHTMLForm(e)?new FormData(e):e),ZS.getAdapter=GS.getAdapter,ZS.HttpStatusCode=XS,ZS.default=ZS;const{Axios:eE,AxiosError:tE,CanceledError:rE,isCancel:nE,CancelToken:oE,VERSION:iE,all:aE,Cancel:sE,isAxiosError:uE,spread:cE,toFormData:lE,AxiosHeaders:fE,HttpStatusCode:pE,formToJSON:hE,getAdapter:dE,mergeConfig:yE}=ZS;var mE=function(){return u(function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n},[{key:"get",value:(s=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("put",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("delete",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(ZS(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),gE=Oo,vE=te,bE=ue,wE=qm,SE=$([].join);gE({target:"Array",proto:!0,forced:vE!==Object||!wE("join",",")},{join:function(e){return SE(bE(this),void 0===e?",":e)}});var EE=TypeError,xE=R(Object.freeze({__proto__:null,default:{}})),AE="function"==typeof Map&&Map.prototype,RE=Object.getOwnPropertyDescriptor&&AE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,OE=AE&&RE&&"function"==typeof RE.get?RE.get:null,PE=AE&&Map.prototype.forEach,kE="function"==typeof Set&&Set.prototype,jE=Object.getOwnPropertyDescriptor&&kE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,TE=kE&&jE&&"function"==typeof jE.get?jE.get:null,IE=kE&&Set.prototype.forEach,_E="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,NE="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,CE="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,UE=Boolean.prototype.valueOf,LE=Object.prototype.toString,DE=Function.prototype.toString,FE=String.prototype.match,BE=String.prototype.slice,ME=String.prototype.replace,qE=String.prototype.toUpperCase,WE=String.prototype.toLowerCase,GE=RegExp.prototype.test,zE=Array.prototype.concat,HE=Array.prototype.join,$E=Array.prototype.slice,VE=Math.floor,KE="function"==typeof BigInt?BigInt.prototype.valueOf:null,YE=Object.getOwnPropertySymbols,JE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,QE="function"==typeof Symbol&&"object"==typeof Symbol.iterator,XE="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===QE||"symbol")?Symbol.toStringTag:null,ZE=Object.prototype.propertyIsEnumerable,ex=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function tx(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||GE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-VE(-e):VE(e);if(n!==e){var o=String(n),i=BE.call(t,o.length+1);return ME.call(o,r,"$&_")+"."+ME.call(ME.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ME.call(t,r,"$&_")}var rx=xE,nx=rx.custom,ox=hx(nx)?nx:null,ix={__proto__:null,double:'"',single:"'"},ax={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},sx=function e(t,r,n,o){var i=r||{};if(yx(i,"quoteStyle")&&!yx(ix,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yx(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!yx(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yx(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yx(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return vx(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?tx(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?tx(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return fx(t)?"[Array]":"[Object]";var f=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=HE.call(Array(e.indent+1)," ")}return{base:r,prev:HE.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(gx(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=$E.call(o)).push(r),a){var s={depth:i.depth};return yx(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!px(t)){var h=function(e){if(e.name)return e.name;var t=FE.call(DE.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=Ax(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+HE.call(d,", ")+" }":"")}if(hx(t)){var y=QE?ME.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):JE.call(t);return"object"!=typeof t||QE?y:wx(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+WE.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+ux(cx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+WE.call(String(t.nodeName))+">"}if(fx(t)){if(0===t.length)return"[]";var b=Ax(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(gx(e[t],"\n")>=0)return!1;return!0}(b)?"["+xx(b,f)+"]":"[ "+HE.call(b,", ")+" ]"}if(function(e){return"[object Error]"===mx(e)&&lx(e)}(t)){var w=Ax(t,p);return"cause"in Error.prototype||!("cause"in t)||ZE.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+HE.call(w,", ")+" }":"{ ["+String(t)+"] "+HE.call(zE.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(ox&&"function"==typeof t[ox]&&rx)return rx(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!OE||!e||"object"!=typeof e)return!1;try{OE.call(e);try{TE.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return PE&&PE.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),Ex("Map",OE.call(t),S,f)}if(function(e){if(!TE||!e||"object"!=typeof e)return!1;try{TE.call(e);try{OE.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return IE&&IE.call(t,function(e){E.push(p(e,t))}),Ex("Set",TE.call(t),E,f)}if(function(e){if(!_E||!e||"object"!=typeof e)return!1;try{_E.call(e,_E);try{NE.call(e,NE)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Sx("WeakMap");if(function(e){if(!NE||!e||"object"!=typeof e)return!1;try{NE.call(e,NE);try{_E.call(e,_E)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Sx("WeakSet");if(function(e){if(!CE||!e||"object"!=typeof e)return!1;try{return CE.call(e),!0}catch(e){}return!1}(t))return Sx("WeakRef");if(function(e){return"[object Number]"===mx(e)&&lx(e)}(t))return wx(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!KE)return!1;try{return KE.call(e),!0}catch(e){}return!1}(t))return wx(p(KE.call(t)));if(function(e){return"[object Boolean]"===mx(e)&&lx(e)}(t))return wx(UE.call(t));if(function(e){return"[object String]"===mx(e)&&lx(e)}(t))return wx(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==x&&t===x)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===mx(e)&&lx(e)}(t)&&!px(t)){var A=Ax(t,p),R=ex?ex(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&XE&&Object(t)===t&&XE in t?BE.call(mx(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+HE.call(zE.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":f?k+"{"+xx(A,f)+"}":k+"{ "+HE.call(A,", ")+" }"}return String(t)};function ux(e,t,r){var n=r.quoteStyle||t,o=ix[n];return o+e+o}function cx(e){return ME.call(String(e),/"/g,"&quot;")}function lx(e){return!XE||!("object"==typeof e&&(XE in e||void 0!==e[XE]))}function fx(e){return"[object Array]"===mx(e)&&lx(e)}function px(e){return"[object RegExp]"===mx(e)&&lx(e)}function hx(e){if(QE)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!JE)return!1;try{return JE.call(e),!0}catch(e){}return!1}var dx=Object.prototype.hasOwnProperty||function(e){return e in this};function yx(e,t){return dx.call(e,t)}function mx(e){return LE.call(e)}function gx(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function vx(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return vx(BE.call(e,0,t.maxStringLength),t)+n}var o=ax[t.quoteStyle||"single"];return o.lastIndex=0,ux(ME.call(ME.call(e,o,"\\$1"),/[\x00-\x1f]/g,bx),"single",t)}function bx(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+qE.call(t.toString(16))}function wx(e){return"Object("+e+")"}function Sx(e){return e+" { ? }"}function Ex(e,t,r,n){return e+" ("+t+") {"+(n?xx(r,n):HE.call(r,", "))+"}"}function xx(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+HE.call(e,","+r)+"\n"+t.prev}function Ax(e,t){var r=fx(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=yx(e,o)?t(e[o],e):""}var i,a="function"==typeof YE?YE(e):[];if(QE){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)yx(e,u)&&(r&&String(Number(u))===u&&u<e.length||QE&&i["$"+u]instanceof Symbol||(GE.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof YE)for(var c=0;c<a.length;c++)ZE.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var Rx=sx,Ox=EE,Px=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},kx=Object,jx=Error,Tx=EvalError,Ix=RangeError,_x=ReferenceError,Nx=SyntaxError,Cx=URIError,Ux=Math.abs,Lx=Math.floor,Dx=Math.max,Fx=Math.min,Bx=Math.pow,Mx=Math.round,qx=Number.isNaN||function(e){return e!=e},Wx=Object.getOwnPropertyDescriptor;if(Wx)try{Wx([],"length")}catch(e){Wx=null}var Gx=Wx,zx=Object.defineProperty||!1;if(zx)try{zx({},"a",{value:1})}catch(e){zx=!1}var Hx,$x,Vx,Kx,Yx,Jx,Qx,Xx,Zx,eA,tA,rA,nA,oA,iA,aA,sA=zx;function uA(){return Jx?Yx:(Jx=1,Yx="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function cA(){return Xx?Qx:(Xx=1,Qx=kx.getPrototypeOf||null)}function lA(){if(eA)return Zx;eA=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};return Zx=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=t(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},Zx}function fA(){if(rA)return tA;rA=1;var e=lA();return tA=Function.prototype.bind||e}function pA(){return oA?nA:(oA=1,nA=Function.prototype.call)}function hA(){return aA?iA:(aA=1,iA=Function.prototype.apply)}var dA,yA,mA,gA,vA,bA,wA,SA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,EA=fA(),xA=hA(),AA=pA(),RA=SA||EA.call(AA,xA),OA=fA(),PA=EE,kA=pA(),jA=RA,TA=function(e){if(e.length<1||"function"!=typeof e[0])throw new PA("a function is required");return jA(OA,kA,e)};var IA=kx,_A=jx,NA=Tx,CA=Ix,UA=_x,LA=Nx,DA=EE,FA=Cx,BA=Ux,MA=Lx,qA=Dx,WA=Fx,GA=Bx,zA=Mx,HA=function(e){return qx(e)||0===e?e:e<0?-1:1},$A=Function,VA=function(e){try{return $A('"use strict"; return ('+e+").constructor;")()}catch(e){}},KA=Gx,YA=sA,JA=function(){throw new DA},QA=KA?function(){try{return JA}catch(e){try{return KA(arguments,"callee").get}catch(e){return JA}}}():JA,XA=function(){if(Kx)return Vx;Kx=1;var e="undefined"!=typeof Symbol&&Symbol,t=$x?Hx:($x=1,Hx=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return Vx=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),ZA=function(){if(gA)return mA;gA=1;var e=uA(),t=cA(),r=function(){if(yA)return dA;yA=1;var e,t=TA,r=Gx;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return dA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return mA=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),eR=cA(),tR=uA(),rR=hA(),nR=pA(),oR={},iR="undefined"!=typeof Uint8Array&&ZA?ZA(Uint8Array):wA,aR={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?wA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?wA:ArrayBuffer,"%ArrayIteratorPrototype%":XA&&ZA?ZA([][Symbol.iterator]()):wA,"%AsyncFromSyncIteratorPrototype%":wA,"%AsyncFunction%":oR,"%AsyncGenerator%":oR,"%AsyncGeneratorFunction%":oR,"%AsyncIteratorPrototype%":oR,"%Atomics%":"undefined"==typeof Atomics?wA:Atomics,"%BigInt%":"undefined"==typeof BigInt?wA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?wA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?wA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?wA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":_A,"%eval%":eval,"%EvalError%":NA,"%Float16Array%":"undefined"==typeof Float16Array?wA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?wA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?wA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?wA:FinalizationRegistry,"%Function%":$A,"%GeneratorFunction%":oR,"%Int8Array%":"undefined"==typeof Int8Array?wA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?wA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?wA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":XA&&ZA?ZA(ZA([][Symbol.iterator]())):wA,"%JSON%":"object"==typeof JSON?JSON:wA,"%Map%":"undefined"==typeof Map?wA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&XA&&ZA?ZA((new Map)[Symbol.iterator]()):wA,"%Math%":Math,"%Number%":Number,"%Object%":IA,"%Object.getOwnPropertyDescriptor%":KA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?wA:Promise,"%Proxy%":"undefined"==typeof Proxy?wA:Proxy,"%RangeError%":CA,"%ReferenceError%":UA,"%Reflect%":"undefined"==typeof Reflect?wA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?wA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&XA&&ZA?ZA((new Set)[Symbol.iterator]()):wA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?wA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":XA&&ZA?ZA(""[Symbol.iterator]()):wA,"%Symbol%":XA?Symbol:wA,"%SyntaxError%":LA,"%ThrowTypeError%":QA,"%TypedArray%":iR,"%TypeError%":DA,"%Uint8Array%":"undefined"==typeof Uint8Array?wA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?wA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?wA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?wA:Uint32Array,"%URIError%":FA,"%WeakMap%":"undefined"==typeof WeakMap?wA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?wA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?wA:WeakSet,"%Function.prototype.call%":nR,"%Function.prototype.apply%":rR,"%Object.defineProperty%":YA,"%Object.getPrototypeOf%":eR,"%Math.abs%":BA,"%Math.floor%":MA,"%Math.max%":qA,"%Math.min%":WA,"%Math.pow%":GA,"%Math.round%":zA,"%Math.sign%":HA,"%Reflect.getPrototypeOf%":tR};if(ZA)try{null.error}catch(e){var sR=ZA(ZA(e));aR["%Error.prototype%"]=sR}var uR=function e(t){var r;if("%AsyncFunction%"===t)r=VA("async function () {}");else if("%GeneratorFunction%"===t)r=VA("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=VA("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&ZA&&(r=ZA(o.prototype))}return aR[t]=r,r},cR={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},lR=fA(),fR=function(){if(bA)return vA;bA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=fA();return vA=r.call(e,t)}(),pR=lR.call(nR,Array.prototype.concat),hR=lR.call(rR,Array.prototype.splice),dR=lR.call(nR,String.prototype.replace),yR=lR.call(nR,String.prototype.slice),mR=lR.call(nR,RegExp.prototype.exec),gR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,vR=/\\(\\)?/g,bR=function(e,t){var r,n=e;if(fR(cR,n)&&(n="%"+(r=cR[n])[0]+"%"),fR(aR,n)){var o=aR[n];if(o===oR&&(o=uR(n)),void 0===o&&!t)throw new DA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new LA("intrinsic "+e+" does not exist!")},wR=function(e,t){if("string"!=typeof e||0===e.length)throw new DA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new DA('"allowMissing" argument must be a boolean');if(null===mR(/^%?[^%]*%?$/,e))throw new LA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=yR(e,0,1),r=yR(e,-1);if("%"===t&&"%"!==r)throw new LA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new LA("invalid intrinsic syntax, expected opening `%`");var n=[];return dR(e,gR,function(e,t,r,o){n[n.length]=r?dR(o,vR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=bR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],hR(r,pR([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=yR(f,0,1),h=yR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new LA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),fR(aR,i="%"+(n+="."+f)+"%"))a=aR[i];else if(null!=a){if(!(f in a)){if(!t)throw new DA("base intrinsic for "+e+" exists, but the property is not available.");return}if(KA&&c+1>=r.length){var d=KA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=fR(a,f),a=a[f];l&&!s&&(aR[i]=a)}}return a},SR=wR,ER=TA,xR=ER([SR("%String.prototype.indexOf%")]),AR=function(e,t){var r=SR(e,!!t);return"function"==typeof r&&xR(e,".prototype.")>-1?ER([r]):r},RR=AR,OR=sx,PR=EE,kR=wR("%Map%",!0),jR=RR("Map.prototype.get",!0),TR=RR("Map.prototype.set",!0),IR=RR("Map.prototype.has",!0),_R=RR("Map.prototype.delete",!0),NR=RR("Map.prototype.size",!0),CR=!!kR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new PR("Side channel does not contain "+OR(e))},delete:function(t){if(e){var r=_R(e,t);return 0===NR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return jR(e,t)},has:function(t){return!!e&&IR(e,t)},set:function(t,r){e||(e=new kR),TR(e,t,r)}};return t},UR=AR,LR=sx,DR=CR,FR=EE,BR=wR("%WeakMap%",!0),MR=UR("WeakMap.prototype.get",!0),qR=UR("WeakMap.prototype.set",!0),WR=UR("WeakMap.prototype.has",!0),GR=UR("WeakMap.prototype.delete",!0),zR=EE,HR=sx,$R=(BR?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new FR("Side channel does not contain "+LR(e))},delete:function(r){if(BR&&r&&("object"==typeof r||"function"==typeof r)){if(e)return GR(e,r)}else if(DR&&t)return t.delete(r);return!1},get:function(r){return BR&&r&&("object"==typeof r||"function"==typeof r)&&e?MR(e,r):t&&t.get(r)},has:function(r){return BR&&r&&("object"==typeof r||"function"==typeof r)&&e?WR(e,r):!!t&&t.has(r)},set:function(r,n){BR&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new BR),qR(e,r,n)):DR&&(t||(t=DR()),t.set(r,n))}};return r}:DR)||CR||function(){var e,t={assert:function(e){if(!t.has(e))throw new Ox("Side channel does not contain "+Rx(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return Px(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=Px(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!Px(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=Px(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},VR=function(){var e,t={assert:function(e){if(!t.has(e))throw new zR("Side channel does not contain "+HR(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=$R()),e.set(t,r)}};return t},KR=String.prototype.replace,YR=/%20/g,JR="RFC3986",QR={default:JR,formatters:{RFC1738:function(e){return KR.call(e,YR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:JR},XR=QR,ZR=VR,eO=Object.prototype.hasOwnProperty,tO=Array.isArray,rO=ZR(),nO=function(e,t){return rO.set(e,t),e},oO=function(e){return rO.has(e)},iO=function(e){return rO.get(e)},aO=function(e,t){rO.set(e,t)},sO=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),uO=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},cO=1024,lO={arrayToObject:uO,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(oO(e)){var o=iO(e)+1;return e[o]=t,aO(e,o),e}var i=[].concat(e,t);return i.length>r?nO(uO(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:i,prop:u},r[r.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(tO(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",s=0;s<i.length;s+=cO){for(var u=i.length>=cO?i.slice(s,s+cO):i,c=[],l=0;l<u.length;++l){var f=u.charCodeAt(l);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===XR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=sO[f]:f<2048?c[c.length]=sO[192|f>>6]+sO[128|63&f]:f<55296||f>=57344?c[c.length]=sO[224|f>>12]+sO[128|f>>6&63]+sO[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=sO[240|f>>18]+sO[128|f>>12&63]+sO[128|f>>6&63]+sO[128|63&f])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:oO,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:nO,maybeMap:function(e,t){if(tO(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(tO(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return nO(uO(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!=typeof t)return[t,r];if(oO(t)){var i=iO(t)+1;t[i]=r,aO(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!eO.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(oO(r)){for(var a=Object.keys(r),s=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},u=0;u<a.length;u++){s[parseInt(a[u],10)+1]=r[a[u]]}return nO(s,iO(r)+1)}var c=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&c.length>n.arrayLimit?nO(uO(c,n),c.length-1):c}var l=t;return tO(t)&&!tO(r)&&(l=uO(t,n)),tO(t)&&tO(r)?(r.forEach(function(r,o){if(eO.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t[t.length]=r}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];if(eO.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,oO(r)&&!oO(t)&&nO(t,iO(r)),oO(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>iO(t)&&aO(t,a)}return t},l)}},fO=VR,pO=lO,hO=QR,dO=Object.prototype.hasOwnProperty,yO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},mO=Array.isArray,gO=Array.prototype.push,vO=function(e,t){gO.apply(e,mO(t)?t:[t])},bO=Date.prototype.toISOString,wO=hO.default,SO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:pO.encode,encodeValuesOnly:!1,filter:void 0,format:wO,formatter:hO.formatters[wO],indices:!1,serializeDate:function(e){return bO.call(e)},skipNulls:!1,strictNullHandling:!1},EO={},xO=function e(t,r,n,o,i,a,s,u,c,l,f,p,h,d,y,m,g,v){for(var b,w=t,S=v,E=0,x=!1;void 0!==(S=S.get(EO))&&!x;){var A=S.get(t);if(E+=1,void 0!==A){if(A===E)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(EO)&&(E=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&mO(w)&&(w=pO.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,SO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||pO.isBuffer(w))return c?[y(m?r:c(r,SO.encoder,g,"key",d))+"="+y(c(w,SO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&mO(w))m&&c&&(w=pO.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(mO(l))R=l;else{var P=Object.keys(w);R=f?P.sort(f):P}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&mO(w)&&1===w.length?k+"[]":k;if(i&&mO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=p&&u?String(I).replace(/\./g,"%2E"):String(I),C=mO(w)?"function"==typeof n?n(j,N):j:j+(p?"."+N:"["+N+"]");v.set(t,E);var U=fO();U.set(EO,v),vO(O,e(_,C,n,o,i,a,s,u,"comma"===n&&m&&mO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},AO=lO,RO=Object.prototype.hasOwnProperty,OO=Array.isArray,PO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:AO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},kO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},jO=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},TO=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&RO.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&RO.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var s=0;null!==(o=n.exec(r))&&s<t.depth;){s+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&RO.call(Object.prototype,u)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:jO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=AO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:AO.combine([],a,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),h=!isNaN(p)&&c!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(h&&p<r.arrayLimit)(u=[])[p]=a;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");h?(u[p]=a,AO.markOverflow(u,p)):"__proto__"!==f&&(u[f]=a)}else u={0:a}}a=u}return a}(o,t,r,n)}},IO=function(e,t){var r,n=e,o=function(e){if(!e)return SO;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||SO.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=hO.default;if(void 0!==e.format){if(!dO.call(hO.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=hO.formatters[r],i=SO.filter;if(("function"==typeof e.filter||mO(e.filter))&&(i=e.filter),n=e.arrayFormat in yO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":SO.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||SO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:SO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:SO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:SO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?SO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:SO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:SO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:SO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:SO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:SO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:SO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:SO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):mO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=yO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=fO(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||vO(i,xO(f,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),p.length>0?h+p:""},_O=function(e,t){var r=function(e){if(!e)return PO;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?PO.charset:e.charset,r=void 0===e.duplicates?PO.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||PO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:PO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:PO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:PO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:PO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:PO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:PO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:PO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:PO.decoder,delimiter:"string"==typeof e.delimiter||AO.isRegExp(e.delimiter)?e.delimiter:PO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:PO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:PO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:PO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:PO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:PO.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:PO.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:PO.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded?o+1:o);if(t.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,u=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?u="utf-8":"utf8=%26%2310003%3B"===i[a]&&(u="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var c,l,f=i[a],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;if(-1===h?(c=t.decoder(f,PO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),PO.decoder,u,"key"))&&(l=AO.maybeMap(jO(f.slice(h+1),t,OO(r[c])?r[c].length:0),function(e){return t.decoder(e,PO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=kO(String(l))),f.indexOf("[]=")>-1&&(l=OO(l)?[l]:l),t.comma&&OO(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=AO.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==c){var d=RO.call(r,c);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[c]=AO.combine(r[c],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[c]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=TO(s,n[s],r,"string"==typeof e);o=AO.merge(o,u,r)}return!0===r.allowSparse?o:AO.compact(o)},NO=A({formats:QR,parse:_O,stringify:IO});const CO="function"==typeof Buffer,UO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),LO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),DO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(LO),FO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,BO=String.fromCharCode.bind(String),MO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),qO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),WO=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=LO[t>>18&63]+LO[t>>12&63]+LO[t>>6&63]+LO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},GO="function"==typeof btoa?e=>btoa(e):CO?e=>Buffer.from(e,"binary").toString("base64"):WO,zO=CO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(BO.apply(null,e.subarray(r,r+4096)));return GO(t.join(""))},HO=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?BO(192|t>>>6)+BO(128|63&t):BO(224|t>>>12&15)+BO(128|t>>>6&63)+BO(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return BO(240|t>>>18&7)+BO(128|t>>>12&63)+BO(128|t>>>6&63)+BO(128|63&t)},$O=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,VO=e=>e.replace($O,HO),KO=CO?e=>Buffer.from(e,"utf8").toString("base64"):UO?e=>zO(UO.encode(e)):e=>GO(VO(e)),YO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?MO(KO(e)):KO(e)},JO=e=>{if(e=e.replace(/\s+/g,""),!FO.test(e))throw new TypeError("malformed base64.");let t,r,n;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=DO[e.charAt(i++)]<<18|DO[e.charAt(i++)]<<12|(r=DO[e.charAt(i++)])<<6|(n=DO[e.charAt(i++)]),64===r?o.push(BO(t>>16&255)):64===n?o.push(BO(t>>16&255,t>>8&255)):o.push(BO(t>>16&255,t>>8&255,255&t));return o.join("")},QO=YO;var XO,ZO=function(){return u(function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout},[{key:"build",value:(n=o(m().m(function e(r,n,o,i){var a,s,u,c,l,f,p,h,y,g,v,b,w,S,E,x,A,R,O,P;return m().w(function(e){for(;;)switch(e.n){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),l=r,e.n="get"===l?1:"post"===l?4:"put"===l?8:"delete"===l?10:12;break;case 1:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.n=3;break}return f=d,p=d({},a),h={},y=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.n=2,this.buildData(o);case 2:return g=e.v,e.a(2,f(p,h,{method:"post",headers:y,data:g}));case 3:return e.a(2,d(d({},a),{},{url:s}));case 4:if(!(o instanceof Nv)){e.n=6;break}return e.n=5,this.buildData(o);case 5:return u=e.v,e.a(2,d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 6:return v=d,b=d({},a),w={},e.n=7,this.buildData(o);case 7:return S=e.v,e.a(2,v(b,w,{data:S}));case 8:return E=d,x=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,E(x,A,{data:R}));case 10:return O=this,P=n,e.n=11,this.buildData(o);case 11:return c=O.buildRequestUrl.call(O,P,e.v),e.a(2,d(d({},a),{},{url:c}));case 12:throw new Error("".concat(r," method is not supported"));case 13:return e.a(2)}},e,this)})),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(NO.stringify(t))}},{key:"buildData",value:(r=o(m().m(function e(t){var r;return m().w(function(e){for(;;)switch(e.n){case 0:if("session"!==this.auth.type){e.n=3;break}return e.n=1,this.getRequestToken();case 1:if(r=e.v,!(t instanceof Nv)){e.n=2;break}return t.append("__REQUEST_TOKEN__",r),e.a(2,t);case 2:return e.a(2,d({__REQUEST_TOKEN__:r},t));case 3:return e.a(2,t)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(QO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":QO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:if(null!==this.requestToken){e.n=2;break}return e.n=1,t.getRequestToken();case 1:this.requestToken=e.v;case 2:return e.a(2,this.requestToken)}},e,this)})),function(){return e.apply(this,arguments)})}]);var e,r,n}(),eP=["data"],tP=function(){return u(function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r},[{key:"handle",value:function(e){var t=this;return e.then(function(e){return t.handleSuccessResponse(e)},function(e){return t.handleErrorResponse(e)})}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new hv(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,eP);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Ov(d({data:r},n))}}])}(),rP=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),nP(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof ta)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new ZO(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new tP({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new mE({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new Em(l,f),this.record=new Iv(l,this.bulkRequest_,f),this.app=new Bm(l,f),this.space=new _v(l,f),this.file=new Cv(l,f),this.plugin=new Uv(l)},[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),nP=function(e){oP(e.baseUrl),iP(e.guestSpaceId),aP(e.socketTimeout)},oP=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},iP=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},aP=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(XO=aa).readFileFromPath&&(t.readFileFromPath=XO.readFileFromPath),XO.getRequestToken&&(t.getRequestToken=XO.getRequestToken),XO.getDefaultAuth&&(t.getDefaultAuth=XO.getDefaultAuth),XO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=XO.buildPlatformDependentConfig),XO.buildHeaders&&(t.buildHeaders=XO.buildHeaders),XO.buildFormDataValue&&(t.buildFormDataValue=XO.buildFormDataValue),XO.buildBaseUrl&&(t.buildBaseUrl=XO.buildBaseUrl),XO.getVersion&&(t.getVersion=XO.getVersion),e.KintoneAbortSearchError=hv,e.KintoneAllRecordsError=Rv,e.KintoneRestAPIClient=rP,e.KintoneRestAPIError=Ov});
769
+ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var u=n&&n.prototype instanceof s?n:s,c=Object.create(u.prototype);return g(c,"_invoke",function(r,n,o){var i,s,u,c=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,u=e,p.n=r,a}};function h(r,n){for(s=r,u=n,t=0;!f&&c&&!o&&t<l.length;t++){var o,i=l[t],h=p.p,d=i[2];r>3?(o=d===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,p.v=n,p.n=i[1]):h<d&&(o=r<3||i[0]>n||n>d)&&(i[4]=r,i[5]=n,p.n=d,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,d),s=l,u=d;(t=s<2?e:u)||!f;){i||(s?s<3?(s>1&&(p.n=-1),h(s,u)):p.n=u:p.v=u);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=p.n<0)?u:r.call(n,p))!==a)break}catch(t){i=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(r,o,i),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(g(t={},n,function(){return this}),t),f=c.prototype=s.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,g(f,"constructor",c),g(c,"constructor",u),u.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(f),g(f,o,"Generator"),g(f,n,function(){return this}),g(f,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:p}})()}function g(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,r,n){function i(t,r){g(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},g(e,t,r,n)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(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 w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function S(e){return S="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},S(e)}function E(e){var t="function"==typeof Map?new Map:void 0;return E=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,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&v(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},E(e)}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var O=function(e){return e&&e.Math===Math&&e},P=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof x&&x)||O("object"==typeof x&&x)||function(){return this}()||Function("return this")(),k={},j=function(e){try{return!!e()}catch(e){return!0}},T=!j(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),I=!j(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),_=I,N=Function.prototype.call,C=_?N.bind(N):function(){return N.apply(N,arguments)},U={},L={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,F=D&&!L.call({1:2},1);U.f=F?function(e){var t=D(this,e);return!!t&&t.enumerable}:L;var B,M,q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},W=I,G=Function.prototype,z=G.call,H=W&&G.bind.bind(z,z),$=W?H:function(e){return function(){return z.apply(e,arguments)}},V=$,K=V({}.toString),Y=V("".slice),J=function(e){return Y(K(e),8,-1)},Q=j,X=J,Z=Object,ee=$("".split),te=Q(function(){return!Z("z").propertyIsEnumerable(0)})?function(e){return"String"===X(e)?ee(e,""):Z(e)}:Z,re=function(e){return null==e},ne=re,oe=TypeError,ie=function(e){if(ne(e))throw new oe("Can't call method on "+e);return e},ae=te,se=ie,ue=function(e){return ae(se(e))},ce="object"==typeof document&&document.all,le=void 0===ce&&void 0!==ce?function(e){return"function"==typeof e||e===ce}:function(e){return"function"==typeof e},fe=le,pe=function(e){return"object"==typeof e?null!==e:fe(e)},he=P,de=le,ye=function(e,t){return arguments.length<2?(r=he[e],de(r)?r:void 0):he[e]&&he[e][t];var r},me=$({}.isPrototypeOf),ge=P.navigator,ve=ge&&ge.userAgent,be=ve?String(ve):"",we=P,Se=be,Ee=we.process,xe=we.Deno,Ae=Ee&&Ee.versions||xe&&xe.version,Re=Ae&&Ae.v8;Re&&(M=(B=Re.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!M&&Se&&(!(B=Se.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=Se.match(/Chrome\/(\d+)/))&&(M=+B[1]);var Oe=M,Pe=Oe,ke=j,je=P.String,Te=!!Object.getOwnPropertySymbols&&!ke(function(){var e=Symbol("symbol detection");return!je(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41}),Ie=Te&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_e=ye,Ne=le,Ce=me,Ue=Object,Le=Ie?function(e){return"symbol"==typeof e}:function(e){var t=_e("Symbol");return Ne(t)&&Ce(t.prototype,Ue(e))},De=String,Fe=function(e){try{return De(e)}catch(e){return"Object"}},Be=le,Me=Fe,qe=TypeError,We=function(e){if(Be(e))return e;throw new qe(Me(e)+" is not a function")},Ge=We,ze=re,He=function(e,t){var r=e[t];return ze(r)?void 0:Ge(r)},$e=C,Ve=le,Ke=pe,Ye=TypeError,Je={exports:{}},Qe=P,Xe=Object.defineProperty,Ze=function(e,t){try{Xe(Qe,e,{value:t,configurable:!0,writable:!0})}catch(r){Qe[e]=t}return t},et=P,tt=Ze,rt="__core-js_shared__",nt=Je.exports=et[rt]||tt(rt,{});(nt.versions||(nt.versions=[])).push({version:"3.49.0",mode:"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ot=Je.exports,it=ot,at=function(e,t){return it[e]||(it[e]=t||{})},st=ie,ut=Object,ct=function(e){return ut(st(e))},lt=ct,ft=$({}.hasOwnProperty),pt=Object.hasOwn||function(e,t){return ft(lt(e),t)},ht=$,dt=0,yt=Math.random(),mt=ht(1.1.toString),gt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+mt(++dt+yt,36)},vt=at,bt=pt,wt=gt,St=Te,Et=Ie,xt=P.Symbol,At=vt("wks"),Rt=Et?xt.for||xt:xt&&xt.withoutSetter||wt,Ot=function(e){return bt(At,e)||(At[e]=St&&bt(xt,e)?xt[e]:Rt("Symbol."+e)),At[e]},Pt=C,kt=pe,jt=Le,Tt=He,It=function(e,t){var r,n;if("string"===t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;if(Ve(r=e.valueOf)&&!Ke(n=$e(r,e)))return n;if("string"!==t&&Ve(r=e.toString)&&!Ke(n=$e(r,e)))return n;throw new Ye("Can't convert object to primitive value")},_t=TypeError,Nt=Ot("toPrimitive"),Ct=function(e,t){if(!kt(e)||jt(e))return e;var r,n=Tt(e,Nt);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||jt(r))return r;throw new _t("Can't convert object to primitive value")}return void 0===t&&(t="number"),It(e,t)},Ut=Ct,Lt=Le,Dt=function(e){var t=Ut(e,"string");return Lt(t)?t:t+""},Ft=pe,Bt=P.document,Mt=Ft(Bt)&&Ft(Bt.createElement),qt=function(e){return Mt?Bt.createElement(e):{}},Wt=qt,Gt=!T&&!j(function(){return 7!==Object.defineProperty(Wt("div"),"a",{get:function(){return 7}}).a}),zt=T,Ht=C,$t=U,Vt=q,Kt=ue,Yt=Dt,Jt=pt,Qt=Gt,Xt=Object.getOwnPropertyDescriptor;k.f=zt?Xt:function(e,t){if(e=Kt(e),t=Yt(t),Qt)try{return Xt(e,t)}catch(e){}if(Jt(e,t))return Vt(!Ht($t.f,e,t),e[t])};var Zt={},er=T&&j(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),tr=pe,rr=String,nr=TypeError,or=function(e){if(tr(e))return e;throw new nr(rr(e)+" is not an object")},ir=T,ar=Gt,sr=er,ur=or,cr=Dt,lr=TypeError,fr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Zt.f=ir?sr?function(e,t,r){if(ur(e),t=cr(t),ur(r),"function"==typeof e&&"prototype"===t&&"value"in r&&yr in r&&!r[yr]){var n=pr(e,t);n&&n[yr]&&(e[t]=r.value,r={configurable:dr in r?r[dr]:n[dr],enumerable:hr in r?r[hr]:n[hr],writable:!1})}return fr(e,t,r)}:fr:function(e,t,r){if(ur(e),t=cr(t),ur(r),ar)try{return fr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new lr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var mr=Zt,gr=q,vr=T?function(e,t,r){return mr.f(e,t,gr(1,r))}:function(e,t,r){return e[t]=r,e},br={exports:{}},wr=T,Sr=pt,Er=Function.prototype,xr=wr&&Object.getOwnPropertyDescriptor,Ar=Sr(Er,"name"),Rr={EXISTS:Ar,PROPER:Ar&&"something"===function(){}.name,CONFIGURABLE:Ar&&(!wr||wr&&xr(Er,"name").configurable)},Or=le,Pr=ot,kr=$(Function.toString);Or(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var jr,Tr,Ir,_r=Pr.inspectSource,Nr=le,Cr=P.WeakMap,Ur=Nr(Cr)&&/native code/.test(String(Cr)),Lr=gt,Dr=at("keys"),Fr=function(e){return Dr[e]||(Dr[e]=Lr(e))},Br={},Mr=Ur,qr=P,Wr=pe,Gr=vr,zr=pt,Hr=ot,$r=Fr,Vr=Br,Kr="Object already initialized",Yr=qr.TypeError,Jr=qr.WeakMap;if(Mr||Hr.state){var Qr=Hr.state||(Hr.state=new Jr);Qr.get=Qr.get,Qr.has=Qr.has,Qr.set=Qr.set,jr=function(e,t){if(Qr.has(e))throw new Yr(Kr);return t.facade=e,Qr.set(e,t),t},Tr=function(e){return Qr.get(e)||{}},Ir=function(e){return Qr.has(e)}}else{var Xr=$r("state");Vr[Xr]=!0,jr=function(e,t){if(zr(e,Xr))throw new Yr(Kr);return t.facade=e,Gr(e,Xr,t),t},Tr=function(e){return zr(e,Xr)?e[Xr]:{}},Ir=function(e){return zr(e,Xr)}}var Zr={set:jr,get:Tr,has:Ir,enforce:function(e){return Ir(e)?Tr(e):jr(e,{})},getterFor:function(e){return function(t){var r;if(!Wr(t)||(r=Tr(t)).type!==e)throw new Yr("Incompatible receiver, "+e+" required");return r}}},en=$,tn=j,rn=le,nn=pt,on=T,an=Rr.CONFIGURABLE,sn=_r,un=Zr.enforce,cn=Zr.get,ln=String,fn=Object.defineProperty,pn=en("".slice),hn=en("".replace),dn=en([].join),yn=on&&!tn(function(){return 8!==fn(function(){},"length",{value:8}).length}),mn=String(String).split("String"),gn=br.exports=function(e,t,r){"Symbol("===pn(ln(t),0,7)&&(t="["+hn(ln(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!nn(e,"name")||an&&e.name!==t)&&(on?fn(e,"name",{value:t,configurable:!0}):e.name=t),yn&&r&&nn(r,"arity")&&e.length!==r.arity&&fn(e,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&fn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=un(e);return nn(n,"source")||(n.source=dn(mn,"string"==typeof t?t:"")),e};Function.prototype.toString=gn(function(){return rn(this)&&cn(this).source||sn(this)},"toString");var vn,bn=br.exports,wn=le,Sn=Zt,En=bn,xn=Ze,An=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(wn(r)&&En(r,i,n),n.global)o?e[t]=r:xn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Sn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Rn={},On=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(e){var t=+e;return(t>0?Pn:On)(t)},jn=function(e){var t=+e;return t!=t||0===t?0:kn(t)},Tn=jn,In=Math.max,_n=Math.min,Nn=function(e,t){var r=Tn(e);return r<0?In(r+t,0):_n(r,t)},Cn=jn,Un=Math.min,Ln=function(e){var t=Cn(e);return t>0?Un(t,9007199254740991):0},Dn=Ln,Fn=function(e){return Dn(e.length)},Bn=ue,Mn=Nn,qn=Fn,Wn={indexOf:(vn=!1,function(e,t,r){var n=Bn(e),o=qn(n);if(0===o)return!vn&&-1;var i,a=Mn(r,o);if(vn&&t!=t){for(;o>a;)if((i=n[a++])!=i)return!0}else for(;o>a;a++)if((vn||a in n)&&n[a]===t)return vn||a||0;return!vn&&-1})},Gn=pt,zn=ue,Hn=Wn.indexOf,$n=Br,Vn=$([].push),Kn=function(e,t){var r,n=zn(e),o=0,i=[];for(r in n)!Gn($n,r)&&Gn(n,r)&&Vn(i,r);for(;t.length>o;)Gn(n,r=t[o++])&&(~Hn(i,r)||Vn(i,r));return i},Yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jn=Kn,Qn=Yn.concat("length","prototype");Rn.f=Object.getOwnPropertyNames||function(e){return Jn(e,Qn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=ye,eo=Rn,to=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(e){var t=eo.f(ro(e)),r=to.f;return r?no(t,r(e)):t},io=pt,ao=oo,so=k,uo=Zt,co=j,lo=le,fo=/#|\.prototype\./,po=function(e,t){var r=yo[ho(e)];return r===go||r!==mo&&(lo(t)?co(t):!!t)},ho=po.normalize=function(e){return String(e).replace(fo,".").toLowerCase()},yo=po.data={},mo=po.NATIVE="N",go=po.POLYFILL="P",vo=po,bo=P,wo=k.f,So=vr,Eo=An,xo=Ze,Ao=function(e,t,r){for(var n=ao(t),o=uo.f,i=so.f,a=0;a<n.length;a++){var s=n[a];io(e,s)||r&&io(r,s)||o(e,s,i(t,s))}},Ro=vo,Oo=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?bo:c?bo[s]||xo(s,{}):bo[s]&&bo[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ao(i,o)}(e.sham||o&&o.sham)&&So(i,"sham",!0),Eo(r,n,i,e)}},Po=J,ko=Array.isArray||function(e){return"Array"===Po(e)},jo=TypeError,To=T,Io=Zt,_o=q,No=function(e,t,r){To?Io.f(e,t,_o(0,r)):e[t]=r},Co=T,Uo=ko,Lo=TypeError,Do=Object.getOwnPropertyDescriptor,Fo=Co&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(Uo(e)&&!Do(e,"length").writable)throw new Lo("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Bo={};Bo[Ot("toStringTag")]="z";var Mo="[object z]"===String(Bo),qo=Mo,Wo=le,Go=J,zo=Ot("toStringTag"),Ho=Object,$o="Arguments"===Go(function(){return arguments}()),Vo=qo?Go:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ho(e),zo))?r:$o?Go(t):"Object"===(n=Go(t))&&Wo(t.callee)?"Arguments":n},Ko=$,Yo=j,Jo=le,Qo=Vo,Xo=_r,Zo=function(){},ei=ye("Reflect","construct"),ti=/^\s*(?:class|function)\b/,ri=Ko(ti.exec),ni=!ti.test(Zo),oi=function(e){if(!Jo(e))return!1;try{return ei(Zo,[],e),!0}catch(e){return!1}},ii=function(e){if(!Jo(e))return!1;switch(Qo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ni||!!ri(ti,Xo(e))}catch(e){return!0}};ii.sham=!0;var ai=!ei||Yo(function(){var e;return oi(oi.call)||!oi(Object)||!oi(function(){e=!0})||e})?ii:oi,si=ko,ui=ai,ci=pe,li=Ot("species"),fi=Array,pi=function(e){var t;return si(e)&&(t=e.constructor,(ui(t)&&(t===fi||si(t.prototype))||ci(t)&&null===(t=t[li]))&&(t=void 0)),void 0===t?fi:t},hi=function(e,t){return new(pi(e))(0===t?0:t)},di=j,yi=Oe,mi=Ot("species"),gi=function(e){return yi>=51||!di(function(){var t=[];return(t.constructor={})[mi]=function(){return{foo:1}},1!==t[e](Boolean).foo})},vi=Oo,bi=j,wi=ko,Si=pe,Ei=ct,xi=Fn,Ai=function(e){if(e>9007199254740991)throw new jo("Maximum allowed index exceeded");return e},Ri=No,Oi=Fo,Pi=hi,ki=gi,ji=Oe,Ti=Ot("isConcatSpreadable"),Ii=ji>=51||!bi(function(){var e=[];return e[Ti]=!1,e.concat()[0]!==e}),_i=function(e){if(!Si(e))return!1;var t=e[Ti];return void 0!==t?!!t:wi(e)};vi({target:"Array",proto:!0,arity:1,forced:!Ii||!ki("concat")},{concat:function(e){var t,r,n,o,i,a=Ei(this),s=Pi(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(_i(i=-1===t?a:arguments[t]))for(o=xi(i),Ai(u+o),r=0;r<o;r++,u++)r in i&&Ri(s,u,i[r]);else Ai(u+1),Ri(s,u++,i);return Oi(s,u),s}});var Ni=bn,Ci=Zt,Ui=function(e,t,r){return r.get&&Ni(r.get,t,{getter:!0}),r.set&&Ni(r.set,t,{setter:!0}),Ci.f(e,t,r)},Li=T,Di=Rr.EXISTS,Fi=$,Bi=Ui,Mi=Function.prototype,qi=Fi(Mi.toString),Wi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Gi=Fi(Wi.exec);Li&&!Di&&Bi(Mi,"name",{configurable:!0,get:function(){try{return Gi(Wi,qi(this))[1]}catch(e){return""}}});var zi=$,Hi=We,$i=pe,Vi=function(e){return $i(e)||null===e},Ki=String,Yi=TypeError,Ji=function(e,t,r){try{return zi(Hi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Qi=pe,Xi=ie,Zi=function(e){if(Vi(e))return e;throw new Yi("Can't set "+Ki(e)+" as a prototype")},ea=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Ji(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Xi(r),Zi(n),Qi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Oo({target:"Object",stat:!0},{setPrototypeOf:ea});var ta=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error));function ra(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ra.prototype.define=function(e,t){for(let r in e){let n=e[r].map(function(e){return e.toLowerCase()});r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},ra.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},ra.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var na=A(new ra({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),oa="6.1.6",ia=function(){var e=o(m().m(function e(){var t;return m().w(function(e){for(;;)switch(e.n){case 0:if("object"!==("undefined"==typeof kintone?"undefined":S(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.n=1;break}return e.a(2,kintone.getRequestToken());case 1:if("object"!==("undefined"==typeof garoon?"undefined":S(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.n=2;break}return e.a(2,garoon.connect.kintone.getRequestToken());case 2:throw new Error("session authentication must specify a request token");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),aa=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=na.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:ia,getVersion:function(){return oa},readFileFromPath:function(e){throw new ta("Browser")}}),sa={},ua=Kn,ca=Yn,la=Object.keys||function(e){return ua(e,ca)},fa=T,pa=er,ha=Zt,da=or,ya=ue,ma=la;sa.f=fa&&!pa?Object.defineProperties:function(e,t){da(e);for(var r,n=ya(t),o=ma(t),i=o.length,a=0;i>a;)ha.f(e,r=o[a++],n[r]);return e};var ga,va=ye("document","documentElement"),ba=or,wa=sa,Sa=Yn,Ea=Br,xa=va,Aa=qt,Ra="prototype",Oa="script",Pa=Fr("IE_PROTO"),ka=function(){},ja=function(e){return"<"+Oa+">"+e+"</"+Oa+">"},Ta=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ia=function(){try{ga=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Ia="undefined"!=typeof document?document.domain&&ga?Ta(ga):(t=Aa("iframe"),r="java"+Oa+":",t.style.display="none",xa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):Ta(ga);for(var n=Sa.length;n--;)delete Ia[Ra][Sa[n]];return Ia()};Ea[Pa]=!0;var _a=Object.create||function(e,t){var r;return null!==e?(ka[Ra]=ba(e),r=new ka,ka[Ra]=null,r[Pa]=e):r=Ia(),void 0===t?r:wa.f(r,t)},Na=Ot,Ca=_a,Ua=Zt.f,La=Na("unscopables"),Da=Array.prototype;void 0===Da[La]&&Ua(Da,La,{configurable:!0,value:Ca(null)});var Fa,Ba,Ma,qa={},Wa=!j(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ga=pt,za=le,Ha=ct,$a=Wa,Va=Fr("IE_PROTO"),Ka=Object,Ya=Ka.prototype,Ja=$a?Ka.getPrototypeOf:function(e){var t=Ha(e);if(Ga(t,Va))return t[Va];var r=t.constructor;return za(r)&&t instanceof r?r.prototype:t instanceof Ka?Ya:null},Qa=j,Xa=le,Za=pe,es=Ja,ts=An,rs=Ot("iterator"),ns=!1;[].keys&&("next"in(Ma=[].keys())?(Ba=es(es(Ma)))!==Object.prototype&&(Fa=Ba):ns=!0);var os=!Za(Fa)||Qa(function(){var e={};return Fa[rs].call(e)!==e});os&&(Fa={}),Xa(Fa[rs])||ts(Fa,rs,function(){return this});var is={IteratorPrototype:Fa,BUGGY_SAFARI_ITERATORS:ns},as=Zt.f,ss=pt,us=Ot("toStringTag"),cs=function(e,t,r){e&&!r&&(e=e.prototype),e&&!ss(e,us)&&as(e,us,{configurable:!0,value:t})},ls=is.IteratorPrototype,fs=_a,ps=q,hs=cs,ds=qa,ys=function(){return this},ms=function(e,t,r,n){var o=t+" Iterator";return e.prototype=fs(ls,{next:ps(+!n,r)}),hs(e,o,!1),ds[o]=ys,e},gs=Oo,vs=C,bs=le,ws=ms,Ss=Ja,Es=ea,xs=cs,As=vr,Rs=An,Os=qa,Ps=Rr.PROPER,ks=Rr.CONFIGURABLE,js=is.IteratorPrototype,Ts=is.BUGGY_SAFARI_ITERATORS,Is=Ot("iterator"),_s="keys",Ns="values",Cs="entries",Us=function(){return this},Ls=function(e,t,r,n,o,i,a){ws(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!Ts&&e&&e in h)return h[e];switch(e){case _s:case Ns:case Cs:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[Is]||h["@@iterator"]||o&&h[o],y=!Ts&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=Ss(m.call(new e)))!==Object.prototype&&s.next&&(Ss(s)!==js&&(Es?Es(s,js):bs(s[Is])||Rs(s,Is,Us)),xs(s,f,!0)),Ps&&o===Ns&&d&&d.name!==Ns&&(ks?As(h,"name",Ns):(p=!0,y=function(){return vs(d,this)})),o)if(u={values:l(Ns),keys:i?y:l(_s),entries:l(Cs)},a)for(c in u)(Ts||p||!(c in h))&&Rs(h,c,u[c]);else gs({target:t,proto:!0,forced:Ts||p},u);return h[Is]!==y&&Rs(h,Is,y,{name:o}),Os[t]=y,u},Ds=function(e,t){return{value:e,done:t}},Fs=ue,Bs=function(e){Da[La][e]=!0},Ms=qa,qs=Zr,Ws=Zt.f,Gs=Ls,zs=Ds,Hs=T,$s="Array Iterator",Vs=qs.set,Ks=qs.getterFor($s),Ys=Gs(Array,"Array",function(e,t){Vs(this,{type:$s,target:Fs(e),index:0,kind:t})},function(){var e=Ks(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,zs(void 0,!0);switch(e.kind){case"keys":return zs(r,!1);case"values":return zs(t[r],!1)}return zs([r,t[r]],!1)},"values"),Js=Ms.Arguments=Ms.Array;if(Bs("keys"),Bs("values"),Bs("entries"),Hs&&"values"!==Js.name)try{Ws(Js,"name",{value:"values"})}catch(e){}var Qs=$,Xs=An,Zs=Date.prototype,eu="Invalid Date",tu="toString",ru=Qs(Zs[tu]),nu=Qs(Zs.getTime);String(new Date(NaN))!==eu&&Xs(Zs,tu,function(){var e=nu(this);return e==e?ru(this):eu});var ou=Vo,iu=Mo?{}.toString:function(){return"[object "+ou(this)+"]"};Mo||An(Object.prototype,"toString",iu,{unsafe:!0});var au,su=Vo,uu=String,cu=function(e){if("Symbol"===su(e))throw new TypeError("Cannot convert a Symbol value to a string");return uu(e)},lu="\t\n\v\f\r                 \u2028\u2029\ufeff",fu=ie,pu=cu,hu=lu,du=$("".replace),yu=RegExp("^["+hu+"]+"),mu=RegExp("(^|[^"+hu+"])["+hu+"]+$"),gu={trim:(au=3,function(e){var t=pu(fu(e));return 1&au&&(t=du(t,yu,"")),2&au&&(t=du(t,mu,"$1")),t})},vu=P,bu=j,wu=cu,Su=gu.trim,Eu=lu,xu=$("".charAt),Au=vu.parseFloat,Ru=vu.Symbol,Ou=Ru&&Ru.iterator,Pu=1/Au(Eu+"-0")!=-1/0||Ou&&!bu(function(){Au(Object(Ou))})?function(e){var t=Su(wu(e)),r=Au(t);return 0===r&&"-"===xu(t,0)?-0:r}:Au;Oo({global:!0,forced:parseFloat!==Pu},{parseFloat:Pu});var ku=or,ju=function(){var e=ku(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},Tu=j,Iu=P.RegExp,_u=Tu(function(){var e=Iu("a","y");return e.lastIndex=2,null!==e.exec("abcd")});_u||Tu(function(){return!Iu("a","y").sticky});var Nu,Cu,Uu={BROKEN_CARET:_u||Tu(function(){var e=Iu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})},Lu=j,Du=P.RegExp,Fu=Lu(function(){var e=Du(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),Bu=j,Mu=P.RegExp,qu=Bu(function(){var e=Mu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Wu=C,Gu=$,zu=cu,Hu=ju,$u=Uu,Vu=_a,Ku=Zr.get,Yu=Fu,Ju=qu,Qu=at("native-string-replace",String.prototype.replace),Xu=RegExp.prototype.exec,Zu=Xu,ec=Gu("".charAt),tc=Gu("".indexOf),rc=Gu("".replace),nc=Gu("".slice),oc=(Cu=/b*/g,Wu(Xu,Nu=/a/,"a"),Wu(Xu,Cu,"a"),0!==Nu.lastIndex||0!==Cu.lastIndex),ic=$u.BROKEN_CARET,ac=void 0!==/()??/.exec("")[1],sc=function(e,t){for(var r=e.groups=Vu(null),n=0;n<t.length;n++){var o=t[n];r[o[0]]=e[o[1]]}};(oc||ac||ic||Yu||Ju)&&(Zu=function(e){var t,r,n,o=this,i=Ku(o),a=zu(e),s=i.raw;if(s)return s.lastIndex=o.lastIndex,t=Wu(Zu,s,a),o.lastIndex=s.lastIndex,t&&i.groups&&sc(t,i.groups),t;var u=i.groups,c=ic&&o.sticky,l=Wu(Hu,o),f=o.source,p=0,h=a;if(c){l=rc(l,"y",""),-1===tc(l,"g")&&(l+="g"),h=nc(a,o.lastIndex);var d=o.lastIndex>0&&ec(a,o.lastIndex-1);o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==d&&"\r"!==d&&"\u2028"!==d&&"\u2029"!==d)&&(f="(?: (?:"+f+"))",h=" "+h,p++),r=new RegExp("^(?:"+f+")",l)}ac&&(r=new RegExp("^"+f+"$(?!\\s)",l)),oc&&(n=o.lastIndex);var y=Wu(Xu,c?r:o,h);return c?y?(y.input=a,y[0]=nc(y[0],p),y.index=o.lastIndex,o.lastIndex+=y[0].length):o.lastIndex=0:oc&&y&&(o.lastIndex=o.global?y.index+y[0].length:n),ac&&y&&y.length>1&&Wu(Qu,y[0],r,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(y[e]=void 0)}),y&&u&&sc(y,u),y});var uc=Zu;Oo({target:"RegExp",proto:!0,forced:/./.exec!==uc},{exec:uc});var cc=j,lc=P.RegExp,fc=!cc(function(){var e=!0;try{lc(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(lc.prototype,"flags").get.call(t)!==n||r!==n}),pc=C,hc=pt,dc=me,yc={correct:fc},mc=ju,gc=RegExp.prototype,vc=yc.correct?function(e){return e.flags}:function(e){return yc.correct||!dc(gc,e)||hc(e,"flags")?e.flags:pc(mc,e)},bc=Rr.PROPER,wc=An,Sc=or,Ec=cu,xc=j,Ac=vc,Rc="toString",Oc=RegExp.prototype,Pc=Oc[Rc],kc=xc(function(){return"/a/b"!==Pc.call({source:"a",flags:"b"})}),jc=bc&&Pc.name!==Rc;(kc||jc)&&wc(Oc,Rc,function(){var e=Sc(this);return"/"+Ec(e.source)+"/"+Ec(Ac(e))},{unsafe:!0});var Tc=$,Ic=jn,_c=cu,Nc=ie,Cc=Tc("".charAt),Uc=Tc("".charCodeAt),Lc=Tc("".slice),Dc=function(e){return function(t,r){var n,o,i=_c(Nc(t)),a=Ic(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=Uc(i,a))<55296||n>56319||a+1===s||(o=Uc(i,a+1))<56320||o>57343?e?Cc(i,a):n:e?Lc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Fc={codeAt:Dc(!1),charAt:Dc(!0)},Bc=Fc.charAt,Mc=cu,qc=Zr,Wc=Ls,Gc=Ds,zc="String Iterator",Hc=qc.set,$c=qc.getterFor(zc);Wc(String,"String",function(e){Hc(this,{type:zc,string:Mc(e),index:0})},function(){var e,t=$c(this),r=t.string,n=t.index;return n>=r.length?Gc(void 0,!0):(e=Bc(r,n),t.index+=e.length,Gc(e,!1))});var Vc=I,Kc=Function.prototype,Yc=Kc.apply,Jc=Kc.call,Qc="object"==typeof Reflect&&Reflect.apply||(Vc?Jc.bind(Yc):function(){return Jc.apply(Yc,arguments)}),Xc=C,Zc=An,el=uc,tl=j,rl=Ot,nl=vr,ol=rl("species"),il=RegExp.prototype,al=function(e,t,r,n){var o=rl(e),i=!tl(function(){var t={};return t[o]=function(){return 7},7!==""[e](t)}),a=i&&!tl(function(){var t=!1,r=/a/;if("split"===e){var n={};n[ol]=function(){return r},(r={constructor:n,flags:""})[o]=/./[o]}return r.exec=function(){return t=!0,null},r[o](""),!t});if(!i||!a||r){var s=/./[o],u=t(o,""[e],function(e,t,r,n,o){var a=t.exec;return a===el||a===il.exec?i&&!o?{done:!0,value:Xc(s,t,r,n)}:{done:!0,value:Xc(e,r,t,n)}:{done:!1}});Zc(String.prototype,e,u[0]),Zc(il,o,u[1])}n&&nl(il[o],"sham",!0)},sl=Fc.charAt,ul=function(e,t,r){return t+(r&&sl(e,t).length||1)},cl=$,ll=ct,fl=Math.floor,pl=cl("".charAt),hl=cl("".replace),dl=cl("".slice),yl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ml=/\$([$&'`]|\d{1,2})/g,gl=C,vl=or,bl=le,wl=J,Sl=uc,El=TypeError,xl=function(e,t){var r=e.exec;if(bl(r)){var n=gl(r,e,t);return null!==n&&vl(n),n}if("RegExp"===wl(e))return gl(Sl,e,t);throw new El("RegExp#exec called on incompatible receiver")},Al=Qc,Rl=C,Ol=$,Pl=al,kl=j,jl=or,Tl=le,Il=pe,_l=jn,Nl=Ln,Cl=cu,Ul=ie,Ll=ul,Dl=He,Fl=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=ml;return void 0!==o&&(o=ll(o),u=yl),hl(i,u,function(i,u){var c;switch(pl(u,0)){case"$":return"$";case"&":return e;case"`":return dl(t,0,r);case"'":return dl(t,a);case"<":c=o[dl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var f=fl(l/10);return 0===f?i:f<=s?void 0===n[f-1]?pl(u,1):n[f-1]+pl(u,1):i}c=n[l-1]}return void 0===c?"":c})},Bl=vc,Ml=xl,ql=Ot("replace"),Wl=Math.max,Gl=Math.min,zl=Ol([].concat),Hl=Ol([].push),$l=Ol("".indexOf),Vl=Ol("".slice),Kl=function(e){return void 0===e?e:String(e)},Yl="$0"==="a".replace(/./,"$0"),Jl=!!/./[ql]&&""===/./[ql]("a","$0");Pl("replace",function(e,t,r){var n=Jl?"$":"$0";return[function(e,r){var n=Ul(this),o=Il(e)?Dl(e,ql):void 0;return o?Rl(o,e,n,r):Rl(t,Cl(n),e,r)},function(e,o){var i=jl(this),a=Cl(e),s=Tl(o);s||(o=Cl(o));var u=Cl(Bl(i));if("string"==typeof o&&!~$l(o,n)&&!~$l(o,"$<")&&!~$l(u,"y")){var c=r(t,i,a,o);if(c.done)return c.value}var l,f=!!~$l(u,"g");f&&(l=!!~$l(u,"u")||!!~$l(u,"v"),i.lastIndex=0);for(var p,h=[];null!==(p=Ml(i,a))&&(Hl(h,p),f);){""===Cl(p[0])&&(i.lastIndex=Ll(a,Nl(i.lastIndex),l))}for(var d="",y=0,m=0;m<h.length;m++){for(var g,v=Cl((p=h[m])[0]),b=Wl(Gl(_l(p.index),a.length),0),w=[],S=1;S<p.length;S++)Hl(w,Kl(p[S]));var E=p.groups;if(s){var x=zl([v],w,b,a);void 0!==E&&Hl(x,E),g=Cl(Al(o,void 0,x))}else g=Fl(v,a,b,w,E,o);b>=y&&(d+=Vl(a,y,b)+g,y=b+v.length)}return d+Vl(a,y)}]},!!kl(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Yl||Jl);var Ql={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Xl=qt("span").classList,Zl=Xl&&Xl.constructor&&Xl.constructor.prototype,ef=Zl===Object.prototype?void 0:Zl,tf=P,rf=Ql,nf=ef,of=Ys,af=vr,sf=cs,uf=Ot("iterator"),cf=of.values,lf=function(e,t){if(e){if(e[uf]!==cf)try{af(e,uf,cf)}catch(t){e[uf]=cf}if(sf(e,t,!0),rf[t])for(var r in of)if(e[r]!==of[r])try{af(e,r,of[r])}catch(t){e[r]=of[r]}}};for(var ff in rf)lf(tf[ff]&&tf[ff].prototype,ff);lf(nf,"DOMTokenList");var pf=j,hf=T,df=Ot("iterator"),yf=!pf(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),!t.size&&!hf||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[df]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),mf=J,gf=$,vf=function(e){if("Function"===mf(e))return gf(e)},bf=We,wf=I,Sf=vf(vf.bind),Ef=function(e,t){return bf(e),void 0===t?e:wf?Sf(e,t):function(){return e.apply(t,arguments)}},xf=me,Af=TypeError,Rf=function(e,t){if(xf(t,e))return e;throw new Af("Incorrect invocation")},Of=T,Pf=$,kf=C,jf=j,Tf=la,If=Xn,_f=U,Nf=ct,Cf=te,Uf=Object.assign,Lf=Object.defineProperty,Df=Pf([].concat),Ff=!Uf||jf(function(){if(Of&&1!==Uf({b:1},Uf(Lf({},"a",{enumerable:!0,get:function(){Lf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!==Uf({},e)[r]||Tf(Uf({},t)).join("")!==n})?function(e,t){for(var r=Nf(e),n=arguments.length,o=1,i=If.f,a=_f.f;n>o;)for(var s,u=Cf(arguments[o++]),c=i?Df(Tf(u),i(u)):Tf(u),l=c.length,f=0;l>f;)s=c[f++],Of&&!kf(a,u,s)||(r[s]=u[s]);return r}:Uf,Bf=C,Mf=or,qf=He,Wf=function(e,t,r){var n,o;Mf(e);try{if(!(n=qf(e,"return"))){if("throw"===t)throw r;return r}n=Bf(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Mf(n),r},Gf=or,zf=Wf,Hf=qa,$f=Ot("iterator"),Vf=Array.prototype,Kf=Vo,Yf=He,Jf=re,Qf=qa,Xf=Ot("iterator"),Zf=function(e){if(!Jf(e))return Yf(e,Xf)||Yf(e,"@@iterator")||Qf[Kf(e)]},ep=C,tp=We,rp=or,np=Fe,op=Zf,ip=TypeError,ap=function(e,t){var r=arguments.length<2?op(e):t;if(tp(r))return rp(ep(r,e));throw new ip(np(e)+" is not iterable")},sp=Ef,up=C,cp=ct,lp=function(e,t,r,n){try{return n?t(Gf(r)[0],r[1]):t(r)}catch(t){zf(e,"throw",t)}},fp=function(e){return void 0!==e&&(Hf.Array===e||Vf[$f]===e)},pp=ai,hp=Fn,dp=No,yp=Fo,mp=ap,gp=Zf,vp=Wf,bp=Array,wp=$([].slice),Sp=$,Ep=2147483647,xp=/[^\0-\u007E]/,Ap=/[.\u3002\uFF0E\uFF61]/g,Rp="Overflow: input needs wider integers to process",Op=RangeError,Pp=Sp(Ap.exec),kp=Math.floor,jp=String.fromCharCode,Tp=Sp("".charCodeAt),Ip=Sp([].join),_p=Sp([].push),Np=Sp("".replace),Cp=Sp("".split),Up=Sp("".toLowerCase),Lp=function(e){return e+22+75*(e<26)},Dp=function(e,t,r){var n=0;for(e=r?kp(e/700):e>>1,e+=kp(e/t);e>455;)e=kp(e/35),n+=36;return kp(n+36*e/(e+38))},Fp=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=Tp(e,r++);if(o>=55296&&o<=56319&&r<n){var i=Tp(e,r++);56320==(64512&i)?_p(t,((1023&o)<<10)+(1023&i)+65536):(_p(t,o),r--)}else _p(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&_p(t,jp(n));var u=t.length,c=u;for(u&&_p(t,"-");c<o;){var l=Ep;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var f=c+1;if(l-i>kp((Ep-a)/f))throw new Op(Rp);for(a+=(l-i)*f,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>Ep)throw new Op(Rp);if(n===i){for(var p=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(p<d)break;var y=p-d,m=36-d;_p(t,jp(Lp(d+y%m))),p=kp(y/m),h+=36}_p(t,jp(Lp(p))),s=Dp(a,f,c===u),a=0,c++}}a++,i++}return Ip(t,"")},Bp=TypeError,Mp=function(e,t){if(e<t)throw new Bp("Not enough arguments");return e},qp=Oo,Wp=$,Gp=Nn,zp=RangeError,Hp=String.fromCharCode,$p=String.fromCodePoint,Vp=Wp([].join);qp({target:"String",stat:!0,arity:1,forced:!!$p&&1!==$p.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(Gp(t=+arguments[o],1114111)!==t)throw new zp(t+" is not a valid code point");r[o++]=t<65536?Hp(t):Hp(55296+((t-=65536)>>10),t%1024+56320)}return Vp(r,"")}});var Kp=P,Yp=T,Jp=Object.getOwnPropertyDescriptor,Qp=An,Xp=wp,Zp=Math.floor,eh=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=Zp(r/2),s=eh(Xp(e,0,a),t),u=eh(Xp(e,a),t),c=s.length,l=u.length,f=0,p=0;f<c||p<l;)e[f+p]=f<c&&p<l?t(s[f],u[p])<=0?s[f++]:u[p++]:f<c?s[f++]:u[p++];return e},th=Oo,rh=P,nh=function(e){if(!Yp)return Kp[e];var t=Jp(Kp,e);return t&&t.value},oh=ye,ih=C,ah=$,sh=T,uh=yf,ch=An,lh=Ui,fh=function(e,t,r){for(var n in t)Qp(e,n,t[n],r);return e},ph=cs,hh=ms,dh=Zr,yh=Rf,mh=le,gh=pt,vh=Ef,bh=Vo,wh=or,Sh=pe,Eh=cu,xh=_a,Ah=q,Rh=ap,Oh=Zf,Ph=Ds,kh=Mp,jh=eh,Th=Ot("iterator"),Ih="URLSearchParams",_h=Ih+"Iterator",Nh=dh.set,Ch=dh.getterFor(Ih),Uh=dh.getterFor(_h),Lh=nh("fetch"),Dh=nh("Request"),Fh=nh("Headers"),Bh=Dh&&Dh.prototype,Mh=Fh&&Fh.prototype,qh=rh.TypeError,Wh=rh.encodeURIComponent,Gh=String.fromCharCode,zh=oh("String","fromCodePoint"),Hh=parseInt,$h=ah("".charAt),Vh=ah([].join),Kh=ah([].push),Yh=ah("".replace),Jh=ah([].shift),Qh=ah([].splice),Xh=ah("".split),Zh=ah("".slice),ed=ah(/./.exec),td=/\+/g,rd=/^[0-9a-f]+$/i,nd=function(e,t){var r=Zh(e,t,t+2);return ed(rd,r)?Hh(r,16):NaN},od=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},id=function(e){var t=null,r=e.length;switch(r){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(r>3?65536:r>2?2048:r>1?128:0)?null:t},ad=function(e){for(var t=(e=Yh(e,td," ")).length,r="",n=0;n<t;){var o=$h(e,n);if("%"===o){if("%"===$h(e,n+1)||n+3>t){r+="%",n++;continue}var i=nd(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=od(i);if(0===a)o=Gh(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==$h(e,n));){var c=nd(e,n+1);if(c!=c||c>191||c<128)break;if(1===u){if(224===i&&c<160)break;if(237===i&&c>159)break;if(240===i&&c<144)break;if(244===i&&c>143)break}Kh(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=id(s);if(null===l){for(var f=0;f<a;f++)r+="�";n++;continue}o=zh(l)}}r+=o,n++}return r},sd=/[!'()~]|%20/g,ud={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},cd=function(e){return ud[e]},ld=function(e){return Yh(Wh(e),sd,cd)},fd=hh(function(e,t){Nh(this,{type:_h,target:Ch(e).entries,index:0,kind:t})},Ih,function(){var e=Uh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ph(void 0,!0);var n=t[r];switch(e.kind){case"keys":return Ph(n.key,!1);case"values":return Ph(n.value,!1)}return Ph([n.key,n.value],!1)},!0),pd=function(e){this.entries=[],this.url=null,void 0!==e&&(Sh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$h(e,0)?Zh(e,1):e:Eh(e)))};pd.prototype={type:Ih,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=Oh(e);if(c)for(r=(t=Rh(e,c)).next;!(n=ih(r,t)).done;){if(i=(o=Rh(wh(n.value))).next,(a=ih(i,o)).done||(s=ih(i,o)).done||!ih(i,o).done)throw new qh("Expected sequence with length 2");Kh(u,{key:Eh(a.value),value:Eh(s.value)})}else for(var l in e)gh(e,l)&&Kh(u,{key:l,value:Eh(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Xh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Xh(t,"="),Kh(n,{key:ad(Jh(r)),value:ad(Vh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Kh(r,ld(e.key)+"="+ld(e.value));return Vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var hd=function(){yh(this,dd);var e=Nh(this,new pd(arguments.length>0?arguments[0]:void 0));sh||(this.size=e.entries.length)},dd=hd.prototype;if(fh(dd,{append:function(e,t){var r=Ch(this);kh(arguments.length,2),Kh(r.entries,{key:Eh(e),value:Eh(t)}),sh||this.size++,r.updateURL()},delete:function(e){for(var t=Ch(this),r=kh(arguments.length,1),n=t.entries,o=Eh(e),i=r<2?void 0:arguments[1],a=void 0===i?i:Eh(i),s=0;s<n.length;){var u=n[s];u.key!==o||void 0!==a&&u.value!==a?s++:Qh(n,s,1)}sh||(this.size=n.length),t.updateURL()},get:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=Ch(this).entries;kh(arguments.length,1);for(var r=Eh(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Kh(n,t[o].value);return n},has:function(e){for(var t=Ch(this).entries,r=kh(arguments.length,1),n=Eh(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Eh(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=Ch(this);kh(arguments.length,2);for(var n,o=r.entries,i=!1,a=Eh(e),s=Eh(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Qh(o,u--,1):(i=!0,n.value=s));i||Kh(o,{key:a,value:s}),sh||(this.size=o.length),r.updateURL()},sort:function(){var e=Ch(this);jh(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Ch(this).entries,n=vh(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new fd(this,"keys")},values:function(){return new fd(this,"values")},entries:function(){return new fd(this,"entries")}},{enumerable:!0}),ch(dd,Th,dd.entries,{name:"entries"}),ch(dd,"toString",function(){return Ch(this).serialize()},{enumerable:!0}),sh&&lh(dd,"size",{get:function(){return Ch(this).entries.length},configurable:!0,enumerable:!0}),ph(hd,Ih),th({global:!0,constructor:!0,forced:!uh},{URLSearchParams:hd}),!uh&&mh(Fh)){var yd=ah(Mh.has),md=ah(Mh.set),gd=function(e){if(Sh(e)){var t,r=e.body;if(bh(r)===Ih)return t=e.headers?new Fh(e.headers):new Fh,yd(t,"content-type")||md(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xh(e,{body:Ah(0,Eh(r)),headers:Ah(0,t)})}return e};if(mh(Lh)&&th({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Lh(e,arguments.length>1?gd(arguments[1]):{})}}),mh(Dh)){var vd=function(e){return yh(this,Bh),new Dh(e,arguments.length>1?gd(arguments[1]):{})};Bh.constructor=vd,vd.prototype=Bh,th({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vd})}}var bd,wd=Oo,Sd=T,Ed=yf,xd=P,Ad=Ef,Rd=$,Od=An,Pd=Ui,kd=Rf,jd=pt,Td=Ff,Id=function(e){var t=pp(this),r=arguments.length,n=r>1?arguments[1]:void 0,o=void 0!==n;o&&(n=sp(n,r>2?arguments[2]:void 0));var i,a,s,u,c,l,f=cp(e),p=gp(f),h=0;if(!p||this===bp&&fp(p))for(i=hp(f),a=t?new this(i):bp(i);i>h;h++)l=o?n(f[h],h):f[h],dp(a,h,l);else for(a=t?new this:[],c=(u=mp(f,p)).next;!(s=up(c,u)).done;h++){l=o?lp(u,n,[s.value,h],!0):s.value;try{dp(a,h,l)}catch(e){vp(u,"throw",e)}}return yp(a,h),a},_d=wp,Nd=Fc.codeAt,Cd=function(e){var t,r,n=[],o=Cp(Np(Up(e),Ap,"."),".");for(t=0;t<o.length;t++)r=o[t],_p(n,Pp(xp,r)?"xn--"+Fp(r):r);return Ip(n,".")},Ud=cu,Ld=cs,Dd=Mp,Fd={URLSearchParams:hd,getState:Ch},Bd=Zr,Md=Bd.set,qd=Bd.getterFor("URL"),Wd=Fd.URLSearchParams,Gd=Fd.getState,zd=xd.URL,Hd=xd.TypeError,$d=xd.encodeURIComponent,Vd=xd.parseInt,Kd=Math.floor,Yd=Math.pow,Jd=Rd("".charAt),Qd=Rd(/./.exec),Xd=Rd([].join),Zd=Rd(1.1.toString),ey=Rd([].pop),ty=Rd([].push),ry=Rd("".replace),ny=Rd([].shift),oy=Rd("".split),iy=Rd("".slice),ay=Rd("".toLowerCase),sy=Rd([].unshift),uy="Invalid scheme",cy="Invalid host",ly="Invalid port",fy=/[a-z]/i,py=/[\d+\-.a-z]/i,hy=/\d/,dy=/^0x/i,yy=/^[0-7]+$/,my=/^\d+$/,gy=/^[\da-f]+$/i,vy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,by=/[\0\t\n\r #/:<>?@[\\\]^|]/,wy=/^[\u0000-\u0020]+/,Sy=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ey=/[\t\n\r]/g,xy=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)sy(t,e%256),e=Kd(e/256);return Xd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=Zd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ay={},Ry=Td({},Ay,{" ":1,'"':1,"#":1,"<":1,">":1}),Oy=Td({},Ry,{"'":1}),Py=Td({},Ay,{" ":1,'"':1,"<":1,">":1,"`":1}),ky=Td({},Py,{"#":1,"?":1,"{":1,"}":1,"^":1}),jy=Td({},ky,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ty=function(e,t){var r=Nd(e,0);return r>=32&&r<127&&!jd(t,e)?e:"'"===e&&jd(t,e)?"%27":$d(e)},Iy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_y=function(e,t){var r;return 2===e.length&&Qd(fy,Jd(e,0))&&(":"===(r=Jd(e,1))||!t&&"|"===r)},Ny=function(e){var t;return e.length>1&&_y(iy(e,0,2))&&(2===e.length||"/"===(t=Jd(e,2))||"\\"===t||"?"===t||"#"===t)},Cy=function(e){return"."===e||"%2e"===ay(e)},Uy=function(e){return".."===(e=ay(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ly={},Dy={},Fy={},By={},My={},qy={},Wy={},Gy={},zy={},Hy={},$y={},Vy={},Ky={},Yy={},Jy={},Qy={},Xy={},Zy={},em={},tm={},rm={},nm=function(e,t,r){var n,o,i,a=Ud(e);if(t){if(o=this.parse(a))throw new Hd(o);this.searchParams=null}else{if(void 0!==r&&(n=new nm(r,!0)),o=this.parse(a,null,n))throw new Hd(o);(i=Gd(new Wd)).bindURL(this),this.searchParams=i}};nm.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||Ly,c=0,l="",f=!1,p=!1,h=!1;for(e=Ud(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=ry(e,wy,""),e=ry(e,Sy,"$1")),e=ry(e,Ey,""),n=Id(e);c<=n.length;){switch(o=n[c],u){case Ly:if(!o||!Qd(fy,o)){if(t)return uy;u=Fy;continue}l+=ay(o),u=Dy;break;case Dy:if(o&&Qd(py,o))l+=ay(o);else{if(":"!==o){if(t)return uy;l="",u=Fy,c=0;continue}if(t&&(s.isSpecial()!==jd(Iy,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&""===s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&Iy[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?u=Yy:s.isSpecial()&&r&&r.scheme===s.scheme?u=By:s.isSpecial()?u=Gy:"/"===n[c+1]?(u=My,c++):(s.cannotBeABaseURL=!0,ty(s.path,""),u=em)}break;case Fy:if(!r||r.cannotBeABaseURL&&"#"!==o)return uy;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=_d(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=rm;break}u="file"===r.scheme?Yy:qy;continue;case By:if("/"!==o||"/"!==n[c+1]){u=qy;continue}u=zy,c++;break;case My:if("/"===o){u=Hy;break}u=Zy;continue;case qy:if(s.scheme=r.scheme,o===bd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())u=Wy;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query="",u=tm;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.path.length&&s.path.length--,u=Zy;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm}break;case Wy:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=Zy;continue}u=Hy}else u=zy;break;case Gy:if(u=zy,"/"!==o||"/"!==n[c+1])continue;c++;break;case zy:if("/"!==o&&"\\"!==o){u=Hy;continue}break;case Hy:if("@"===o){f&&(l="%40"+l),f=!0,i=Id(l);for(var d=0;d<i.length;d++){var y=i[d];if(":"!==y||h){var m=Ty(y,jy);h?s.password+=m:s.username+=m}else h=!0}l=""}else if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(f&&""===l)return"Invalid authority";c-=Id(l).length+1,l="",u=$y}else l+=o;break;case $y:case Vy:if(t&&"file"===s.scheme){u=Qy;continue}if(":"!==o||p){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return cy;if(t&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",u=Xy,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return cy;if(t===Vy)return;if(a=s.parseHost(l))return a;l="",u=Ky}break;case Ky:if(!Qd(hy,o)){if(o===bd||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||t){if(""!==l){var g=Vd(l,10);if(g>65535)return ly;s.port=s.isSpecial()&&g===Iy[s.scheme]?null:g,l=""}if(t)return;u=Xy;continue}return ly}l+=o;break;case Yy:if(s.scheme="file",s.host="","/"===o||"\\"===o)u=Jy;else{if(!r||"file"!==r.scheme){u=Zy;continue}switch(o){case bd:s.host=r.host,s.path=_d(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=_d(r.path),s.query="",u=tm;break;case"#":s.host=r.host,s.path=_d(r.path),s.query=r.query,s.fragment="",u=rm;break;default:s.host=r.host,Ny(Xd(_d(n,c),""))||(s.path=_d(r.path),s.shortenPath()),u=Zy;continue}}break;case Jy:if("/"===o||"\\"===o){u=Qy;break}r&&"file"===r.scheme&&(s.host=r.host,!Ny(Xd(_d(n,c),""))&&_y(r.path[0],!0)&&ty(s.path,r.path[0])),u=Zy;continue;case Qy:if(o===bd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&_y(l))u=Zy;else if(""===l){if(s.host="",t)return;u=Xy}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),t)return;l="",u=Xy}continue}l+=o;break;case Xy:if(s.isSpecial()){if(u=Zy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==bd&&(u=Zy,"/"!==o))continue}else s.fragment="",u=rm;else s.query="",u=tm;break;case Zy:if(o===bd||"/"===o||"\\"===o&&s.isSpecial()||!t&&("?"===o||"#"===o)){if(Uy(l)?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,"")):Cy(l)?"/"===o||"\\"===o&&s.isSpecial()||ty(s.path,""):("file"===s.scheme&&!s.path.length&&_y(l)&&(null!==s.host&&""!==s.host&&(s.host=""),l=Jd(l,0)+":"),ty(s.path,l)),l="","file"===s.scheme&&(o===bd||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)ny(s.path);"?"===o?(s.query="",u=tm):"#"===o&&(s.fragment="",u=rm)}else l+=Ty(o,ky);break;case em:"?"===o?(s.query="",u=tm):"#"===o?(s.fragment="",u=rm):o!==bd&&(s.path[0]+=Ty(o,Ay));break;case tm:t||"#"!==o?o!==bd&&(s.query+=Ty(o,s.isSpecial()?Oy:Ry)):(s.fragment="",u=rm);break;case rm:o!==bd&&(s.fragment+=Ty(o,Py))}c++}},parseHost:function(e){var t,r,n;if("["===Jd(e,0)){if("]"!==Jd(e,e.length-1))return cy;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return Jd(e,f)};if(":"===p()){if(":"!==Jd(e,1))return;f+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=r=0;r<4&&Qd(gy,p());)t=16*t+Vd(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!Qd(hy,p()))return;for(;Qd(hy,p());){if(i=Vd(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!==++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(iy(e,1,-1)),!t)return cy;this.host=t}else if(this.isSpecial()){if(e=Cd(e),Qd(vy,e))return cy;if(function(e){var t,r,n=oy(e,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return t=n[n.length-1],!!Qd(my,t)||!!Qd(dy,t)&&(""===(r=iy(t,2))||!!Qd(gy,r))}(e)){if(t=function(e){var t,r,n,o,i,a,s,u=oy(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return null;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return null;if(i=10,o.length>1&&"0"===Jd(o,0)&&(i=Qd(dy,o)?16:8,o=iy(o,8===i?1:2)),""===o)a=0;else{if(!Qd(10===i?my:8===i?yy:gy,o))return null;a=Vd(o,i)}ty(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Yd(256,5-t))return null}else if(a>255)return null;for(s=ey(r),n=0;n<r.length;n++)s+=r[n]*Yd(256,3-n);return s}(e),null===t)return cy;this.host=t}else this.host=e}else{if(Qd(by,e))return cy;for(t="",r=Id(e),n=0;n<r.length;n++)t+=Ty(r[n],Ay);this.host=t}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return jd(Iy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&_y(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=xy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),null===o&&!e.cannotBeABaseURL&&a.length>1&&""===a[0]&&(c+="/."),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+Xd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Hd(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new om(this.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+xy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ud(e)+":",Ly)},getUsername:function(){return this.username},setUsername:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ty(t[r],jy)}},getPassword:function(){return this.password},setPassword:function(e){var t=Id(Ud(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ty(t[r],jy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?xy(e):xy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,$y)},getHostname:function(){var e=this.host;return null===e?"":xy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Vy)},getPort:function(){var e=this.port;return null===e?"":Ud(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Ud(e))?this.port=null:this.parse(e,Ky))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Xd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Xy))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Ud(e))?this.query=null:("?"===Jd(e,0)&&(e=iy(e,1)),this.query="",this.parse(e,tm)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Ud(e))?("#"===Jd(e,0)&&(e=iy(e,1)),this.fragment="",this.parse(e,rm)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var om=function(e){var t=kd(this,im),r=Dd(arguments.length,1)>1?arguments[1]:void 0,n=Md(t,new nm(e,!1,r));Sd||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},im=om.prototype,am=function(e,t){return{get:function(){return qd(this)[e]()},set:t&&function(e){return qd(this)[t](e)},configurable:!0,enumerable:!0}};if(Sd&&(Pd(im,"href",am("serialize","setHref")),Pd(im,"origin",am("getOrigin")),Pd(im,"protocol",am("getProtocol","setProtocol")),Pd(im,"username",am("getUsername","setUsername")),Pd(im,"password",am("getPassword","setPassword")),Pd(im,"host",am("getHost","setHost")),Pd(im,"hostname",am("getHostname","setHostname")),Pd(im,"port",am("getPort","setPort")),Pd(im,"pathname",am("getPathname","setPathname")),Pd(im,"search",am("getSearch","setSearch")),Pd(im,"searchParams",am("getSearchParams")),Pd(im,"hash",am("getHash","setHash"))),Od(im,"toJSON",function(){return qd(this).serialize()},{enumerable:!0}),Od(im,"toString",function(){return qd(this).serialize()},{enumerable:!0}),zd){var sm=zd.createObjectURL,um=zd.revokeObjectURL;sm&&Od(om,"createObjectURL",Ad(sm,zd)),um&&Od(om,"revokeObjectURL",Ad(um,zd))}Ld(om,"URL"),wd({global:!0,constructor:!0,forced:!Ed,sham:!Sd},{URL:om});var cm=C;Oo({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return cm(URL.prototype.toString,this)}});var lm=Ef,fm=te,pm=ct,hm=Fn,dm=hi,ym=No,mm=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l){for(var f,p,h=pm(u),d=fm(h),y=hm(d),m=lm(c,l),g=0,v=0,b=t?dm(u,y):r||a?dm(u,0):void 0;y>g;g++)if((s||g in d)&&(p=m(f=d[g],g,h),e))if(t)ym(b,g,p);else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return g;case 2:ym(b,v++,f)}else switch(e){case 4:return!1;case 7:ym(b,v++,f)}return i?-1:n||o?o:b}},gm={forEach:mm(0),map:mm(1),every:mm(4)},vm=gm.map;Oo({target:"Array",proto:!0,forced:!gi("map")},{map:function(e){return vm(this,e,arguments.length>1?arguments[1]:void 0)}});var bm=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},wm=function(){return u(function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r},[{key:"buildPathWithGuestSpaceId",value:function(e){return bm(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return bm(e)}}])}(),Sm=["endpointName"],Em=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return f(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map(function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,Sm);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e}),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(wm),xm=["preview"],Am=["preview"],Rm=["preview"],Om=["preview"],Pm=["preview"],km=["preview"],jm=["preview"],Tm=["preview"],Im=["preview"],_m=["preview"],Nm=["preview"],Cm=["preview"],Um=["preview"],Lm=["preview"],Dm=["preview"],Fm=["preview"],Bm=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,xm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,Am),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,Rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.n=2;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.n=1,this.client.get(i,{id:n});case 1:return a=e.v,s=a.defaultThread,e.a(2,this.client.post(o,d(d({},t),{},{thread:s})));case 2:return e.a(2,this.client.post(o,{name:r}))}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,Om),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,Pm),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,km),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,jm),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,Tm),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,Im),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,_m),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,Nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,Cm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,Um),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,Lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"getAdminNotes",value:function(e){var t=e.preview,r=y(e,Dm),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:t});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(t,e)}},{key:"move",value:function(e){var t=this.buildPath({endpointName:"app/move"});return this.client.post(t,e)}},{key:"getPlugins",value:function(e){var t=e.preview,r=y(e,Fm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:t});return this.client.get(n,r)}},{key:"addPlugins",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"apps/statistics"});return this.client.get(t,e)}}]);var r}(wm),Mm=j,qm=function(e,t){var r=[][e];return!!r&&Mm(function(){r.call(null,t||function(){return 1},1)})},Wm=gm.every;Oo({target:"Array",proto:!0,forced:!qm("every")},{every:function(e){return Wm(this,e,arguments.length>1?arguments[1]:void 0)}});var Gm=Oo,zm=Wn.indexOf,Hm=qm,$m=vf([].indexOf),Vm=!!$m&&1/$m([1],1,-0)<0;Gm({target:"Array",proto:!0,forced:Vm||!Hm("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Vm?$m(this,e,t)||0:zm(this,e,t)}}),Oo({target:"Array",stat:!0},{isArray:ko});var Km,Ym=We,Jm=ct,Qm=te,Xm=Fn,Zm=TypeError,eg="Reduce of empty array with no initial value",tg={left:(Km=!1,function(e,t,r,n){var o=Jm(e),i=Qm(o),a=Xm(o);if(Ym(t),0===a&&r<2)throw new Zm(eg);var s=Km?a-1:0,u=Km?-1:1;if(r<2)for(;;){if(s in i){n=i[s],s+=u;break}if(s+=u,Km?s<0:a<=s)throw new Zm(eg)}for(;Km?s>=0:a>s;s+=u)s in i&&(n=t(n,i[s],s,o));return n})},rg=P,ng=be,og=J,ig=function(e){return ng.slice(0,e.length)===e},ag=ig("Bun/")?"BUN":ig("Cloudflare-Workers")?"CLOUDFLARE":ig("Deno/")?"DENO":ig("Node.js/")?"NODE":rg.Bun&&"string"==typeof Bun.version?"BUN":rg.Deno&&"object"==typeof Deno.version?"DENO":"process"===og(rg.process)?"NODE":rg.window&&rg.document?"BROWSER":"REST",sg=tg.left;Oo({target:"Array",proto:!0,forced:!("NODE"===ag)&&Oe>79&&Oe<83||!qm("reduce")},{reduce:function(e){var t=arguments.length;return sg(this,e,t,t>1?arguments[1]:void 0)}});var ug=Oo,cg=ko,lg=ai,fg=pe,pg=Nn,hg=Fn,dg=ue,yg=No,mg=Fo,gg=Ot,vg=wp,bg=gi("slice"),wg=gg("species"),Sg=Array,Eg=Math.max;ug({target:"Array",proto:!0,forced:!bg},{slice:function(e,t){var r,n,o,i=dg(this),a=hg(i),s=pg(e,a),u=pg(void 0===t?a:t,a);if(cg(i)&&(r=i.constructor,(lg(r)&&(r===Sg||cg(r.prototype))||fg(r)&&null===(r=r[wg]))&&(r=void 0),r===Sg||void 0===r))return vg(i,s,u);for(n=new(void 0===r?Sg:r)(Eg(u-s,0)),o=0;s<u;s++,o++)s in i&&yg(n,o,i[s]);return mg(n,o),n}});var xg=P,Ag=le,Rg=pe,Og=ea,Pg=$(1.1.valueOf),kg=Oo,jg=T,Tg=P,Ig=xg,_g=$,Ng=vo,Cg=pt,Ug=function(e,t,r){var n,o;return Og&&Ag(n=t.constructor)&&n!==r&&Rg(o=n.prototype)&&o!==r.prototype&&Og(e,o),e},Lg=me,Dg=Le,Fg=Ct,Bg=j,Mg=Rn.f,qg=k.f,Wg=Zt.f,Gg=Pg,zg=gu.trim,Hg="Number",$g=Tg[Hg];Ig[Hg];var Vg=$g.prototype,Kg=Tg.TypeError,Yg=_g("".slice),Jg=_g("".charCodeAt),Qg=function(e){var t,r,n,o,i,a,s,u,c=Fg(e,"number");if(Dg(c))throw new Kg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zg(c),43===(t=Jg(c,0))||45===t){if(88===(r=Jg(c,2))||120===r)return NaN}else if(48===t){switch(Jg(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Yg(c,2)).length,s=0;s<a;s++)if((u=Jg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Xg=Ng(Hg,!$g(" 0o1")||!$g("0b1")||$g("+0x1")),Zg=function(e){var t,r=arguments.length<1?0:$g(function(e){var t=Fg(e,"number");return"bigint"==typeof t?t:Qg(t)}(e));return Lg(Vg,t=this)&&Bg(function(){Gg(t)})?Ug(Object(r),this,Zg):r};Zg.prototype=Vg,Xg&&(Vg.constructor=Zg),kg({global:!0,constructor:!0,wrap:!0,forced:Xg},{Number:Zg});Xg&&function(e,t){for(var r,n=jg?Mg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)Cg(t,r=n[o])&&!Cg(e,r)&&Wg(e,r,qg(t,r))}(Ig[Hg],$g);var ev=Ff;Oo({target:"Object",stat:!0,arity:2,forced:Object.assign!==ev},{assign:ev});var tv=C,rv=al,nv=or,ov=pe,iv=Ln,av=cu,sv=ie,uv=He,cv=ul,lv=vc,fv=xl,pv=$("".indexOf);rv("match",function(e,t,r){return[function(t){var r=sv(this),n=ov(t)?uv(t,e):void 0;return n?tv(n,t,r):new RegExp(t)[e](av(r))},function(e){var n=nv(this),o=av(e),i=r(t,n,o);if(i.done)return i.value;var a=av(lv(n));if(!~pv(a,"g"))return fv(n,o);var s=!!~pv(a,"u")||!!~pv(a,"v");n.lastIndex=0;for(var u,c=[],l=0;null!==(u=fv(n,o));){var f=av(u[0]);c[l]=f,""===f&&(n.lastIndex=cv(o,iv(n.lastIndex),s)),l++}return 0===l?null:c}]});var hv=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t)}(E(Error)),dv=gm.forEach,yv=qm("forEach")?[].forEach:function(e){return dv(this,e,arguments.length>1?arguments[1]:void 0)};Oo({target:"Array",proto:!0,forced:[].forEach!==yv},{forEach:yv});var mv=ct,gv=la;Oo({target:"Object",stat:!0,forced:j(function(){gv(1)})},{keys:function(e){return gv(mv(e))}});var vv=P,bv=Ql,wv=ef,Sv=yv,Ev=vr,xv=function(e){if(e&&e.forEach!==Sv)try{Ev(e,"forEach",Sv)}catch(t){e.forEach=Sv}};for(var Av in bv)bv[Av]&&xv(vv[Av]&&vv[Av].prototype);xv(wv);var Rv=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),f=t.buildErrorMessage(c,n,l);return(u=i(this,t,[f])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=f,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return f(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach(function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))}),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(E(Error)),Ov=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return f(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(E(Error)),Pv=["condition","orderBy","withCursor"],kv=["fields","condition"],jv=["condition","orderBy"],Tv=500,Iv=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return f(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(O=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:return r=t.app,n=t.updateKey,o=t.record,e.n=1,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 1:if(i=e.v,!((a=i.records).length>0)){e.n=4;break}if("__ID__"!==a[0].$id.type){e.n=3;break}return e.n=2,this.updateRecord(t);case 2:return s=e.v,u=s.revision,e.a(2,{id:a[0].$id.value,revision:u});case 3:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 4:return e.a(2,this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}))}},e,this)})),function(e){return O.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.get(r,t);case 1:return n=e.v,this.warnMaximumOffsetValueIfNeeded(t.query),e.a(2,n)}},e,this)})),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().m(function e(t){var r,n,o,i;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.n=1,this.client.post(r,t);case 1:return n=e.v,o=n.ids,i=n.revisions,e.a(2,{ids:o,revisions:i,records:o.map(function(e,t){return{id:e,revision:i[t]}})})}},e,this)})),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(x=o(m().m(function e(t){var r,n,o,i,a,s,u;return m().w(function(e){for(;;)switch(e.n){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,Pv),n){e.n=1;break}return e.a(2,this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 1:if(!i){e.n=2;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.a(2,this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 2:return e.a(2,this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})))}},e,this)})),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(E=o(m().m(function e(t){var r,n,o,i,a,s,u,c,l,f;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.fields,n=t.condition,o=y(t,kv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(b(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 1:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(Tv),e.n=2,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 2:if(l=e.v,s=s.concat(l.records),!(l.records.length<Tv)){e.n=3;break}return e.a(3,6);case 3:if("__ID__"!==(f=l.records[l.records.length-1]).$id.type){e.n=4;break}u=f.$id.value,e.n=5;break;case 4:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 5:e.n=1;break;case 6:return e.a(2,s)}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(S=o(m().m(function e(t){var r,n,o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.n){case 0:r=t.condition,n=t.orderBy,o=y(t,jv),i=r?"".concat(r," "):"",a=[],s=0;case 1:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(Tv," offset ").concat(s),e.n=2,this.getRecords(d(d({},o),{},{query:u}));case 2:if(c=e.v,a=a.concat(c.records),!(c.records.length<Tv)){e.n=3;break}return e.a(3,4);case 3:s+=Tv,e.n=1;break;case 4:return e.a(2,a)}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().m(function e(t){var r,n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=d(d({},t),{},{size:Tv}),e.n=1,this.createCursor(r);case 1:n=e.v,o=n.id,e.p=2,i=[];case 3:return e.n=4,this.getRecordsByCursor({id:o});case 4:if(a=e.v,i=i.concat(a.records),a.next){e.n=5;break}return e.a(3,6);case 5:e.n=3;break;case 6:return e.a(2,i);case 7:return e.p=7,s=e.v,e.n=8,this.deleteCursor({id:o});case 8:throw s;case 9:return e.a(2)}},e,this,[[2,7]])})),function(e){return w.apply(this,arguments)})},{key:"addAllRecords",value:(v=o(m().m(function e(t){return m().w(function(e){for(;;)switch(e.n){case 0:if(t.records.every(function(e){return!Array.isArray(e)&&e instanceof Object})){e.n=1;break}throw new Error("the `records` parameter must be an array of object.");case 1:return e.a(2,this.addAllRecordsRecursive(t,t.records.length,[]))}},e,this)})),function(e){return v.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().m(function e(t,r,n){var o,i,a,s,u,c;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.addAllRecordsWithBulkRequest({app:i,records:s});case 2:u=e.v,e.n=4;break;case 3:throw e.p=3,c=e.v,new Rv({records:n},a,r,c,100);case 4:return e.a(2,this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)))}},e,this,[[1,3]])})),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){var t=e.ids,r=e.revisions;return t.map(function(e,t){return{id:e,revision:r[t]}})}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(p=o(m().m(function e(t){return m().w(function(e){for(;;)if(0===e.n)return e.a(2,this.updateAllRecordsRecursive(t,t.records.length,[]))},e,this)})),function(e){return p.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().m(function e(t,r,n){var o,i,a,s,u,c,l;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.upsert,s=t.records,0!==(u=s.slice(0,o)).length){e.n=1;break}return e.a(2,{records:n});case 1:return e.p=1,e.n=2,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 2:c=e.v,e.n=4;break;case 3:throw e.p=3,l=e.v,new Rv({records:n},s,r,l,100);case 4:return e.a(2,this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)))}},e,this,[[1,3]])})),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().m(function e(t){var r,n,o;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,upsert:t.upsert,records:e}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return o=e.v.results,e.a(2,o.map(function(e){return e.records}).reduce(function(e,t){return e.concat(t)},[]))}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().m(function e(t,r){var n,o,i,a,s;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.n=1;break}return e.a(2,{});case 1:return e.p=1,e.n=2,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 2:e.n=4;break;case 3:throw e.p=3,s=e.v,new Rv({},i,r,s,100);case 4:return e.a(2,this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r))}},e,this,[[1,3]])})),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().m(function e(t){var r,n;return m().w(function(e){for(;;)switch(e.n){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map(function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map(function(e){return e.id}),revisions:e.map(function(e){return e.revision})}}}),e.n=1,this.bulkRequestClient.send({requests:n});case 1:return e.a(2)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(b(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,p,h,g,v,w,S,E,x,A,R,O}(wm),_v=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"updateSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"addThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}},{key:"getStatistics",value:function(e){var t=this.buildPath({endpointName:"spaces/statistics"});return this.client.get(t,e)}}])}(wm),Nv=A("object"==typeof self?self.FormData:window.FormData),Cv=function(e){function r(){return a(this,r),i(this,r,arguments)}return f(r,e),u(r,[{key:"uploadFile",value:(n=o(m().m(function e(r){var n,o,i,a,s,u,c,l,f,p;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Nv,!("path"in r.file)){e.n=6;break}return e.p=1,e.n=2,t.readFileFromPath(r.file.path);case 2:i=e.v,a=i.name,s=i.data,o.append("file",s,a),e.n=5;break;case 3:if(e.p=3,!((p=e.v)instanceof ta)){e.n=4;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(p.platform," environment."));case 4:throw p;case 5:e.n=7;break;case 6:u=r.file,c=u.name,l=u.data,f=t.buildFormDataValue(l,c),o.append("file",f,c);case 7:return e.a(2,this.client.postData(n,o))}},e,this,[[1,3]])})),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(wm),Uv=function(e){function t(){return a(this,t),i(this,t,arguments)}return f(t,e),u(t,[{key:"getPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins"});return this.client.get(t,e)}},{key:"getRequiredPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins/required"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPath({endpointName:"plugin/apps"});return this.client.get(t,e)}},{key:"updatePlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.put(t,e)}},{key:"installPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.post(t,e)}},{key:"uninstallPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.delete(t,e)}}])}(wm),Lv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Dv(){throw new Error("setTimeout has not been defined")}function Fv(){throw new Error("clearTimeout has not been defined")}var Bv=Dv,Mv=Fv;function qv(e){if(Bv===setTimeout)return setTimeout(e,0);if((Bv===Dv||!Bv)&&setTimeout)return Bv=setTimeout,setTimeout(e,0);try{return Bv(e,0)}catch(t){try{return Bv.call(null,e,0)}catch(t){return Bv.call(this,e,0)}}}"function"==typeof Lv.setTimeout&&(Bv=setTimeout),"function"==typeof Lv.clearTimeout&&(Mv=clearTimeout);var Wv,Gv=[],zv=!1,Hv=-1;function $v(){zv&&Wv&&(zv=!1,Wv.length?Gv=Wv.concat(Gv):Hv=-1,Gv.length&&Vv())}function Vv(){if(!zv){var e=qv($v);zv=!0;for(var t=Gv.length;t;){for(Wv=Gv,Gv=[];++Hv<t;)Wv&&Wv[Hv].run();Hv=-1,t=Gv.length}Wv=null,zv=!1,function(e){if(Mv===clearTimeout)return clearTimeout(e);if((Mv===Fv||!Mv)&&clearTimeout)return Mv=clearTimeout,clearTimeout(e);try{return Mv(e)}catch(t){try{return Mv.call(null,e)}catch(t){return Mv.call(this,e)}}}(e)}}function Kv(e,t){this.fun=e,this.array=t}Kv.prototype.run=function(){this.fun.apply(null,this.array)};var Yv=Lv.performance||{};Yv.now||Yv.mozNow||Yv.msNow||Yv.oNow||Yv.webkitNow;function Jv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qv}=Object.prototype,{getPrototypeOf:Xv}=Object,{iterator:Zv,toStringTag:eb}=Symbol,tb=(rb=Object.create(null),e=>{const t=Qv.call(e);return rb[t]||(rb[t]=t.slice(8,-1).toLowerCase())});var rb;const nb=e=>(e=e.toLowerCase(),t=>tb(t)===e),ob=e=>t=>typeof t===e,{isArray:ib}=Array,ab=ob("undefined");function sb(e){return null!==e&&!ab(e)&&null!==e.constructor&&!ab(e.constructor)&&lb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ub=nb("ArrayBuffer");const cb=ob("string"),lb=ob("function"),fb=ob("number"),pb=e=>null!==e&&"object"==typeof e,hb=e=>{if("object"!==tb(e))return!1;const t=Xv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||eb in e||Zv in e)},db=nb("Date"),yb=nb("File"),mb=nb("Blob"),gb=nb("FileList");const vb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==Lv?Lv:{},bb=void 0!==vb.FormData?vb.FormData:void 0,wb=nb("URLSearchParams"),[Sb,Eb,xb,Ab]=["ReadableStream","Request","Response","Headers"].map(nb);function Rb(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),ib(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(sb(e))return;const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let a;for(r=0;r<i;r++)a=n[r],t.call(null,e[a],a,e)}}function Ob(e,t){if(sb(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const Pb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Lv,kb=e=>!ab(e)&&e!==Pb;const jb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Xv(Uint8Array)),Tb=nb("HTMLFormElement"),Ib=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),_b=nb("RegExp"),Nb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Rb(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const Cb=nb("AsyncFunction"),Ub=(Lb="function"==typeof setImmediate,Db=lb(Pb.postMessage),Lb?setImmediate:Db?(Fb=`axios@${Math.random()}`,Bb=[],Pb.addEventListener("message",e=>{let{source:t,data:r}=e;t===Pb&&r===Fb&&Bb.length&&Bb.shift()()},!1),e=>{Bb.push(e),Pb.postMessage(Fb,"*")}):e=>setTimeout(e));var Lb,Db,Fb,Bb;const Mb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Pb):function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Gv.push(new Kv(e,t)),1!==Gv.length||zv||qv(Vv)}||Ub;var qb={isArray:ib,isArrayBuffer:ub,isBuffer:sb,isFormData:e=>{let t;return e&&(bb&&e instanceof bb||lb(e.append)&&("formdata"===(t=tb(e))||"object"===t&&lb(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ub(e.buffer),t},isString:cb,isNumber:fb,isBoolean:e=>!0===e||!1===e,isObject:pb,isPlainObject:hb,isEmptyObject:e=>{if(!pb(e)||sb(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Sb,isRequest:Eb,isResponse:xb,isHeaders:Ab,isUndefined:ab,isDate:db,isFile:yb,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:mb,isRegExp:_b,isFunction:lb,isStream:e=>pb(e)&&lb(e.pipe),isURLSearchParams:wb,isTypedArray:jb,isFileList:gb,forEach:Rb,merge:function e(){const{caseless:t,skipUndefined:r}=kb(this)&&this||{},n={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=t&&Ob(n,i)||i;hb(n[a])&&hb(o)?n[a]=e(n[a],o):hb(o)?n[a]=e({},o):ib(o)?n[a]=o.slice():r&&ab(o)||(n[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Rb(arguments[e],o);return n},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Rb(t,(t,n)=>{r&&lb(t)?Object.defineProperty(e,n,{value:Jv(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Xv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:tb,kindOfTest:nb,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(ib(e))return e;let t=e.length;if(!fb(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Zv]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Tb,hasOwnProperty:Ib,hasOwnProp:Ib,reduceDescriptors:Nb,freezeMethods:e=>{Nb(e,(t,r)=>{if(lb(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];lb(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return ib(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ob,global:Pb,isContextDefined:kb,isSpecCompliantForm:function(e){return!!(e&&lb(e.append)&&"FormData"===e[eb]&&e[Zv])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(pb(e)){if(t.indexOf(e)>=0)return;if(sb(e))return e;if(!("toJSON"in e)){t[n]=e;const o=ib(e)?[]:{};return Rb(e,(e,t)=>{const i=r(e,n+1);!ab(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Cb,isThenable:e=>e&&(pb(e)||lb(e))&&lb(e.then)&&lb(e.catch),setImmediate:Ub,asap:Mb,isIterable:e=>null!=e&&lb(e[Zv])},Wb=[],Gb=[],zb="undefined"!=typeof Uint8Array?Uint8Array:Array,Hb=!1;function $b(){Hb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Wb[t]=e[t],Gb[e.charCodeAt(t)]=t;Gb["-".charCodeAt(0)]=62,Gb["_".charCodeAt(0)]=63}function Vb(e){return Wb[e>>18&63]+Wb[e>>12&63]+Wb[e>>6&63]+Wb[63&e]}function Kb(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(Vb(n));return o.join("")}function Yb(e){var t;Hb||$b();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Kb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=Wb[t>>2],o+=Wb[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Wb[t>>10],o+=Wb[t>>4&63],o+=Wb[t<<2&63],o+="="),i.push(o),i.join("")}function Jb(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Qb(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var Xb={}.toString,Zb=Array.isArray||function(e){return"[object Array]"==Xb.call(e)};function ew(){return rw.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function tw(e,t){if(ew()<t)throw new RangeError("Invalid typed array length");return rw.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=rw.prototype:(null===e&&(e=new rw(t)),e.length=t),e}function rw(e,t,r){if(!(rw.TYPED_ARRAY_SUPPORT||this instanceof rw))return new rw(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return iw(this,e)}return nw(this,e,t,r)}function nw(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);rw.TYPED_ARRAY_SUPPORT?(e=t).__proto__=rw.prototype:e=aw(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!rw.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|cw(t,r);e=tw(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(uw(t)){var r=0|sw(t.length);return 0===(e=tw(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?tw(e,0):aw(e,t);if("Buffer"===t.type&&Zb(t.data))return aw(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ow(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function iw(e,t){if(ow(t),e=tw(e,t<0?0:0|sw(t)),!rw.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function aw(e,t){var r=t.length<0?0:0|sw(t.length);e=tw(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function sw(e){if(e>=ew())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ew().toString(16)+" bytes");return 0|e}function uw(e){return!(null==e||!e._isBuffer)}function cw(e,t){if(uw(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Lw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Dw(e).length;default:if(n)return Lw(e).length;t=(""+t).toLowerCase(),n=!0}}function lw(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Rw(this,t,r);case"utf8":case"utf-8":return Sw(this,t,r);case"ascii":return xw(this,t,r);case"latin1":case"binary":return Aw(this,t,r);case"base64":return ww(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ow(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function fw(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function pw(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=rw.from(t,n)),uw(t))return 0===t.length?-1:hw(e,t,r,n,o);if("number"==typeof t)return t&=255,rw.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):hw(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function hw(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,p=0;p<u;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function dw(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function yw(e,t,r,n){return Fw(Lw(t,e.length-r),e,r,n)}function mw(e,t,r,n){return Fw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function gw(e,t,r,n){return mw(e,t,r,n)}function vw(e,t,r,n){return Fw(Dw(t),e,r,n)}function bw(e,t,r,n){return Fw(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function ww(e,t,r){return 0===t&&r===e.length?Yb(e):Yb(e.slice(t,r))}function Sw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=Ew)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Ew));return r}(n)}rw.TYPED_ARRAY_SUPPORT=void 0===Lv.TYPED_ARRAY_SUPPORT||Lv.TYPED_ARRAY_SUPPORT,ew(),rw.poolSize=8192,rw._augment=function(e){return e.__proto__=rw.prototype,e},rw.from=function(e,t,r){return nw(null,e,t,r)},rw.TYPED_ARRAY_SUPPORT&&(rw.prototype.__proto__=Uint8Array.prototype,rw.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&rw[Symbol.species]),rw.alloc=function(e,t,r){return function(e,t,r,n){return ow(t),t<=0?tw(e,t):void 0!==r?"string"==typeof n?tw(e,t).fill(r,n):tw(e,t).fill(r):tw(e,t)}(null,e,t,r)},rw.allocUnsafe=function(e){return iw(null,e)},rw.allocUnsafeSlow=function(e){return iw(null,e)},rw.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Bw(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Bw(e.slice(0,0))}(e))},rw.compare=function(e,t){if(!uw(e)||!uw(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},rw.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},rw.concat=function(e,t){if(!Zb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return rw.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=rw.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!uw(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},rw.byteLength=cw,rw.prototype._isBuffer=!0,rw.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)fw(this,t,t+1);return this},rw.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)fw(this,t,t+3),fw(this,t+1,t+2);return this},rw.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)fw(this,t,t+7),fw(this,t+1,t+6),fw(this,t+2,t+5),fw(this,t+3,t+4);return this},rw.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Sw(this,0,e):lw.apply(this,arguments)},rw.prototype.equals=function(e){if(!uw(e))throw new TypeError("Argument must be a Buffer");return this===e||0===rw.compare(this,e)},rw.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},rw.prototype.compare=function(e,t,r,n,o){if(!uw(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},rw.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},rw.prototype.indexOf=function(e,t,r){return pw(this,e,t,r,!0)},rw.prototype.lastIndexOf=function(e,t,r){return pw(this,e,t,r,!1)},rw.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return dw(this,e,t,r);case"utf8":case"utf-8":return yw(this,e,t,r);case"ascii":return mw(this,e,t,r);case"latin1":case"binary":return gw(this,e,t,r);case"base64":return vw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},rw.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ew=4096;function xw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Aw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Rw(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Uw(e[i]);return o}function Ow(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function Pw(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function kw(e,t,r,n,o,i){if(!uw(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function jw(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Tw(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Iw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _w(e,t,r,n,o){return o||Iw(e,0,r,4),Qb(e,t,r,n,23,4),r+4}function Nw(e,t,r,n,o){return o||Iw(e,0,r,8),Qb(e,t,r,n,52,8),r+8}rw.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),rw.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=rw.prototype;else{var o=t-e;r=new rw(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},rw.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},rw.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},rw.prototype.readUInt8=function(e,t){return t||Pw(e,1,this.length),this[e]},rw.prototype.readUInt16LE=function(e,t){return t||Pw(e,2,this.length),this[e]|this[e+1]<<8},rw.prototype.readUInt16BE=function(e,t){return t||Pw(e,2,this.length),this[e]<<8|this[e+1]},rw.prototype.readUInt32LE=function(e,t){return t||Pw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rw.prototype.readUInt32BE=function(e,t){return t||Pw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rw.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},rw.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Pw(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},rw.prototype.readInt8=function(e,t){return t||Pw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rw.prototype.readInt16LE=function(e,t){t||Pw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt16BE=function(e,t){t||Pw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},rw.prototype.readInt32LE=function(e,t){return t||Pw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rw.prototype.readInt32BE=function(e,t){return t||Pw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rw.prototype.readFloatLE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!0,23,4)},rw.prototype.readFloatBE=function(e,t){return t||Pw(e,4,this.length),Jb(this,e,!1,23,4)},rw.prototype.readDoubleLE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!0,52,8)},rw.prototype.readDoubleBE=function(e,t){return t||Pw(e,8,this.length),Jb(this,e,!1,52,8)},rw.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},rw.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||kw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},rw.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,255,0),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},rw.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,65535,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Tw(this,e,t,!0),t+4},rw.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,4294967295,0),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);kw(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},rw.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,1,127,-128),rw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},rw.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):jw(this,e,t,!0),t+2},rw.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,2,32767,-32768),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):jw(this,e,t,!1),t+2},rw.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),rw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Tw(this,e,t,!0),t+4},rw.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||kw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),rw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tw(this,e,t,!1),t+4},rw.prototype.writeFloatLE=function(e,t,r){return _w(this,e,t,!0,r)},rw.prototype.writeFloatBE=function(e,t,r){return _w(this,e,t,!1,r)},rw.prototype.writeDoubleLE=function(e,t,r){return Nw(this,e,t,!0,r)},rw.prototype.writeDoubleBE=function(e,t,r){return Nw(this,e,t,!1,r)},rw.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!rw.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},rw.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!rw.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=uw(e)?e:Lw(new rw(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var Cw=/[^+\/0-9A-Za-z-_]/g;function Uw(e){return e<16?"0"+e.toString(16):e.toString(16)}function Lw(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Dw(e){return function(e){var t,r,n,o,i,a;Hb||$b();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new zb(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Gb[e.charCodeAt(t)]<<18|Gb[e.charCodeAt(t+1)]<<12|Gb[e.charCodeAt(t+2)]<<6|Gb[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Gb[e.charCodeAt(t)]<<2|Gb[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Gb[e.charCodeAt(t)]<<10|Gb[e.charCodeAt(t+1)]<<4|Gb[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Cw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Fw(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Bw(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}let Mw=class e extends Error{static from(t,r,n,o,i,a){const s=new e(t.message,r||t.code,n,o,i);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),a&&Object.assign(s,a),s}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:qb.toJSONObject(this.config),code:this.code,status:this.status}}};Mw.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Mw.ERR_BAD_OPTION="ERR_BAD_OPTION",Mw.ECONNABORTED="ECONNABORTED",Mw.ETIMEDOUT="ETIMEDOUT",Mw.ERR_NETWORK="ERR_NETWORK",Mw.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Mw.ERR_DEPRECATED="ERR_DEPRECATED",Mw.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Mw.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Mw.ERR_CANCELED="ERR_CANCELED",Mw.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Mw.ERR_INVALID_URL="ERR_INVALID_URL";function qw(e){return qb.isPlainObject(e)||qb.isArray(e)}function Ww(e){return qb.endsWith(e,"[]")?e.slice(0,-2):e}function Gw(e,t,r){return e?e.concat(t).map(function(e,t){return e=Ww(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const zw=qb.toFlatObject(qb,{},null,function(e){return/^is[A-Z]/.test(e)});function Hw(e,t,r){if(!qb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=qb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!qb.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&qb.isSpecCompliantForm(t);if(!qb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(qb.isDate(e))return e.toISOString();if(qb.isBoolean(e))return e.toString();if(!s&&qb.isBlob(e))throw new Mw("Blob is not supported. Use a Buffer instead.");return qb.isArrayBuffer(e)||qb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):rw.from(e):e}function c(e,r,o){let s=e;if(qb.isReactNative(t)&&qb.isReactNativeBlob(e))return t.append(Gw(o,r,i),u(e)),!1;if(e&&!o&&"object"==typeof e)if(qb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(qb.isArray(e)&&function(e){return qb.isArray(e)&&!e.some(qw)}(e)||(qb.isFileList(e)||qb.endsWith(r,"[]"))&&(s=qb.toArray(e)))return r=Ww(r),s.forEach(function(e,n){!qb.isUndefined(e)&&null!==e&&t.append(!0===a?Gw([r],n,i):null===a?r:r+"[]",u(e))}),!1;return!!qw(e)||(t.append(Gw(o,r,i),u(e)),!1)}const l=[],f=Object.assign(zw,{defaultVisitor:c,convertValue:u,isVisitable:qw});if(!qb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!qb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),qb.forEach(r,function(r,i){!0===(!(qb.isUndefined(r)||null===r)&&o.call(t,r,qb.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t}function $w(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Vw(e,t){this._pairs=[],e&&Hw(e,this,t)}const Kw=Vw.prototype;function Yw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Jw(e,t,r){if(!t)return e;const n=r&&r.encode||Yw,o=qb.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let a;if(a=i?i(t,o):qb.isURLSearchParams(t)?t.toString():new Vw(t,o).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Kw.append=function(e,t){this._pairs.push([e,t])},Kw.toString=function(e){const t=e?function(t){return e.call(this,t,$w)}:$w;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class Qw{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){qb.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Xw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Zw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Vw,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const eS="undefined"!=typeof window&&"undefined"!=typeof document,tS="object"==typeof navigator&&navigator||void 0,rS=eS&&(!tS||["ReactNative","NativeScript","NS"].indexOf(tS.product)<0),nS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,oS=eS&&window.location.href||"http://localhost";var iS={...Object.freeze({__proto__:null,hasBrowserEnv:eS,hasStandardBrowserEnv:rS,hasStandardBrowserWebWorkerEnv:nS,navigator:tS,origin:oS}),...Zw};function aS(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&qb.isArray(n)?n.length:i,s)return qb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&qb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&qb.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(qb.isFormData(e)&&qb.isFunction(e.entries)){const r={};return qb.forEachEntry(e,(e,n)=>{t(function(e){return qb.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const sS={transitional:Xw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=qb.isObject(e);o&&qb.isHTMLForm(e)&&(e=new FormData(e));if(qb.isFormData(e))return n?JSON.stringify(aS(e)):e;if(qb.isArrayBuffer(e)||qb.isBuffer(e)||qb.isStream(e)||qb.isFile(e)||qb.isBlob(e)||qb.isReadableStream(e))return e;if(qb.isArrayBufferView(e))return e.buffer;if(qb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Hw(e,new iS.classes.URLSearchParams,{visitor:function(e,t,r,n){return iS.isNode&&qb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=qb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Hw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(qb.isString(e))try{return(t||JSON.parse)(e),qb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||sS.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(qb.isResponse(e)||qb.isReadableStream(e))return e;if(e&&qb.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(r){if("SyntaxError"===e.name)throw Mw.from(e,Mw.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iS.classes.FormData,Blob:iS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qb.forEach(["delete","get","head","post","put","patch"],e=>{sS.headers[e]={}});const uS=qb.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const cS=Symbol("internals");function lS(e,t){if(!1!==e&&null!=e)if(qb.isArray(e))e.forEach(e=>lS(e,t));else if(!(e=>!/[\r\n]/.test(e))(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function fS(e){return e&&String(e).trim().toLowerCase()}function pS(e){return!1===e||null==e?e:qb.isArray(e)?e.map(pS):function(e){let t=e.length;for(;t>0;){const r=e.charCodeAt(t-1);if(10!==r&&13!==r)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function hS(e,t,r,n,o){return qb.isFunction(n)?n.call(this,t,r):(o&&(t=r),qb.isString(t)?qb.isString(n)?-1!==t.indexOf(n):qb.isRegExp(n)?n.test(t):void 0:void 0)}let dS=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=fS(t);if(!o)throw new Error("header name must be a non-empty string");const i=qb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(lS(e,t),n[i||t]=pS(e))}const i=(e,t)=>qb.forEach(e,(e,r)=>o(e,r,t));if(qb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(qb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&uS[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(qb.isObject(e)&&qb.isIterable(e)){let r,n,o={};for(const t of e){if(!qb.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?qb.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=fS(e)){const r=qb.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(qb.isFunction(t))return t.call(this,e,r);if(qb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fS(e)){const r=qb.findKey(this,e);return!(!r||void 0===this[r]||t&&!hS(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=fS(e)){const o=qb.findKey(r,e);!o||t&&!hS(0,r[o],o,t)||(delete r[o],n=!0)}}return qb.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!hS(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return qb.forEach(this,(n,o)=>{const i=qb.findKey(r,o);if(i)return t[i]=pS(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=pS(n),r[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return qb.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&qb.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[t,r]=e;return t+": "+r}).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[cS]=this[cS]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=fS(e);t[n]||(!function(e,t){const r=qb.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return qb.isArray(e)?e.forEach(n):n(e),this}};function yS(e,t){const r=this||sS,n=t||r,o=dS.from(n.headers);let i=n.data;return qb.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function mS(e){return!(!e||!e.__CANCEL__)}dS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qb.reduceDescriptors(dS.prototype,(e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}}),qb.freezeMethods(dS);let gS=class extends Mw{constructor(e,t,r){super(null==e?"canceled":e,Mw.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function vS(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Mw("Request failed with status code "+r.status,[Mw.ERR_BAD_REQUEST,Mw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const bS=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];t>=i?a(u,e):(r=u,n||(n=setTimeout(()=>{n=null,a(r)},i-t)))},()=>r&&a(r)]}(r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},wS=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},SS=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return qb.asap(()=>e(...r))};var ES=iS.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,iS.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(iS.origin),iS.navigator&&/(msie|trident)/i.test(iS.navigator.userAgent)):()=>!0,xS=iS.hasStandardBrowserEnv?{write(e,t,r,n,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];qb.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),qb.isString(n)&&s.push(`path=${n}`),qb.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),qb.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function AS(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const RS=e=>e instanceof dS?{...e}:e;function OS(e,t){t=t||{};const r={};function n(e,t,r,n){return qb.isPlainObject(e)&&qb.isPlainObject(t)?qb.merge.call({caseless:n},e,t):qb.isPlainObject(t)?qb.merge({},t):qb.isArray(t)?t.slice():t}function o(e,t,r,o){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!qb.isUndefined(t))return n(void 0,t)}function a(e,t){return qb.isUndefined(t)?qb.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(RS(e),RS(t),0,!0)};return qb.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const i=qb.hasOwnProp(u,n)?u[n]:o,a=i(e[n],t[n],n);qb.isUndefined(a)&&i!==s||(r[n]=a)}),r}var PS=e=>{const t=OS({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=dS.from(a),t.url=Jw(AS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),qb.isFormData(r))if(iS.hasStandardBrowserEnv||iS.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(qb.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(e=>{let[r,n]=e;t.includes(r.toLowerCase())&&a.set(r,n)})}if(iS.hasStandardBrowserEnv&&(n&&qb.isFunction(n)&&(n=n(t)),n||!1!==n&&ES(t.url))){const e=o&&i&&xS.read(i);e&&a.set(o,e)}return t};var kS="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=PS(e);let o=n.data;const i=dS.from(n.headers).normalize();let a,s,u,c,l,{responseType:f,onUploadProgress:p,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=dS.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());vS(function(e){t(e),d()},function(e){r(e),d()},{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Mw("Request aborted",Mw.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new Mw(n,Mw.ERR_NETWORK,e,y);o.event=t||null,r(o),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Xw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Mw(t,o.clarifyTimeoutError?Mw.ETIMEDOUT:Mw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&qb.forEach(i.toJSON(),function(e,t){y.setRequestHeader(t,e)}),qb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),h&&([u,l]=bS(h,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=bS(p),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=t=>{y&&(r(!t||t.type?new gS(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===iS.protocols.indexOf(g)?r(new Mw("Unsupported protocol "+g+":",Mw.ERR_BAD_REQUEST,e)):y.send(o||null)})};const jS=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Mw?t:new gS(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Mw(`timeout of ${t}ms exceeded`,Mw.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>qb.asap(a),s}},TS=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},IS=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},_S=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of IS(e))yield*TS(r,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:NS}=qb,CS=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(qb.global),{ReadableStream:US,TextEncoder:LS}=qb.global,DS=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},FS=e=>{e=qb.merge.call({skipUndefined:!0},CS,e);const{fetch:t,Request:r,Response:n}=e,o=t?NS(t):"function"==typeof fetch,i=NS(r),a=NS(n);if(!o)return!1;const s=o&&NS(US),u=o&&("function"==typeof LS?(c=new LS,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const l=i&&s&&DS(()=>{let e=!1;const t=new US,n=new r(iS.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!n}),f=a&&s&&DS(()=>qb.isReadableStream(new n("").body)),p={stream:f&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Mw(`Response type '${e}' is not supported`,Mw.ERR_NOT_SUPPORT,r)})});const h=async(e,t)=>{const n=qb.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(qb.isBlob(e))return e.size;if(qb.isSpecCompliantForm(e)){const t=new r(iS.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return qb.isArrayBufferView(e)||qb.isArrayBuffer(e)?e.byteLength:(qb.isURLSearchParams(e)&&(e+=""),qb.isString(e)?(await u(e)).byteLength:void 0)})(t):n};return async e=>{let{url:o,method:a,data:s,signal:u,cancelToken:c,timeout:d,onDownloadProgress:y,onUploadProgress:m,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:w}=PS(e),S=t||fetch;g=g?(g+"").toLowerCase():"text";let E=jS([u,c&&c.toAbortSignal()],d),x=null;const A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let R;try{if(m&&l&&"get"!==a&&"head"!==a&&0!==(R=await h(v,s))){let e,t=new r(o,{method:"POST",body:s,duplex:"half"});if(qb.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=wS(R,bS(SS(m)));s=_S(t.body,65536,e,r)}}qb.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in r.prototype,u={...w,signal:E,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};x=i&&new r(o,u);let c=await(i?S(x,w):S(o,u));const d=f&&("stream"===g||"response"===g);if(f&&(y||d&&A)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});const t=qb.toFiniteNumber(c.headers.get("content-length")),[r,o]=y&&wS(t,bS(SS(y),!0))||[];c=new n(_S(c.body,65536,r,()=>{o&&o(),A&&A()}),e)}g=g||"text";let O=await p[qb.findKey(p,g)||"text"](c,e);return!d&&A&&A(),await new Promise((t,r)=>{vS(t,r,{data:O,headers:dS.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:x})})}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Mw("Network Error",Mw.ERR_NETWORK,e,x,t&&t.response),{cause:t.cause||t});throw Mw.from(t,t&&t.code,e,x,t&&t.response)}}},BS=new Map,MS=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let a,s,u=i.length,c=BS;for(;u--;)a=i[u],s=c.get(a),void 0===s&&c.set(a,s=u?new Map:FS(t)),c=s;return s};MS();const qS={http:null,xhr:kS,fetch:{get:MS}};qb.forEach(qS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const WS=e=>`- ${e}`,GS=e=>qb.isFunction(e)||null===e||!1===e;var zS={getAdapter:function(e,t){e=qb.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let a=0;a<r;a++){let r;if(n=e[a],o=n,!GS(n)&&(o=qS[(r=String(n)).toLowerCase()],void 0===o))throw new Mw(`Unknown adapter '${r}'`);if(o&&(qb.isFunction(o)||(o=o.get(t))))break;i[r||"#"+a]=o}if(!o){const e=Object.entries(i).map(e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")});let t=r?e.length>1?"since :\n"+e.map(WS).join("\n"):" "+WS(e[0]):"as no adapter specified";throw new Mw("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:qS};function HS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gS(null,e)}function $S(e){HS(e),e.headers=dS.from(e.headers),e.data=yS.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return zS.getAdapter(e.adapter||sS.adapter,e)(e).then(function(t){return HS(e),t.data=yS.call(e,e.transformResponse,t),t.headers=dS.from(t.headers),t},function(t){return mS(t)||(HS(e),t&&t.response&&(t.response.data=yS.call(e,e.transformResponse,t.response),t.response.headers=dS.from(t.response.headers))),Promise.reject(t)})}const VS="1.15.0",KS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{KS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const YS={};KS.transitional=function(e,t,r){function n(e,t){return"[Axios v"+VS+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Mw(n(o," has been removed"+(t?" in "+t:"")),Mw.ERR_DEPRECATED);return t&&!YS[o]&&(YS[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},KS.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var JS={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Mw("options must be an object",Mw.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Mw("option "+i+" must be "+r,Mw.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Mw("Unknown option "+i,Mw.ERR_BAD_OPTION)}},validators:KS};const QS=JS.validators;let XS=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Qw,response:new Qw}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){const t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=OS(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&JS.assertOptions(r,{silentJSONParsing:QS.transitional(QS.boolean),forcedJSONParsing:QS.transitional(QS.boolean),clarifyTimeoutError:QS.transitional(QS.boolean),legacyInterceptorReqResOrdering:QS.transitional(QS.boolean)},!1),null!=n&&(qb.isFunction(n)?t.paramsSerializer={serialize:n}:JS.assertOptions(n,{encode:QS.function,serialize:QS.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),JS.assertOptions(t,{baseUrl:QS.spelling("baseURL"),withXsrfToken:QS.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&qb.merge(o.common,o[t.method]);o&&qb.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=dS.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||Xw;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const u=[];let c;this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let l,f=0;if(!s){const e=[$S.bind(this),void 0];for(e.unshift(...a),e.push(...u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let p=t;for(;f<l;){const e=a[f++],t=a[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=$S.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return Jw(AS((e=OS(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};qb.forEach(["delete","get","head","options"],function(e){XS.prototype[e]=function(t,r){return this.request(OS(r||{},{method:e,url:t,data:(r||{}).data}))}}),qb.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(OS(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}XS.prototype[e]=t(),XS.prototype[e+"Form"]=t(!0)});const ZS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ZS).forEach(e=>{let[t,r]=e;ZS[r]=t});const eE=function e(t){const r=new XS(t),n=Jv(XS.prototype.request,r);return qb.extend(n,XS.prototype,r,{allOwnKeys:!0}),qb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(OS(t,r))},n}(sS);eE.Axios=XS,eE.CanceledError=gS,eE.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new gS(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},eE.isCancel=mS,eE.VERSION=VS,eE.toFormData=Hw,eE.AxiosError=Mw,eE.Cancel=eE.CanceledError,eE.all=function(e){return Promise.all(e)},eE.spread=function(e){return function(t){return e.apply(null,t)}},eE.isAxiosError=function(e){return qb.isObject(e)&&!0===e.isAxiosError},eE.mergeConfig=OS,eE.AxiosHeaders=dS,eE.formToJSON=e=>aS(qb.isHTMLForm(e)?new FormData(e):e),eE.getAdapter=zS.getAdapter,eE.HttpStatusCode=ZS,eE.default=eE;const{Axios:tE,AxiosError:rE,CanceledError:nE,isCancel:oE,CancelToken:iE,VERSION:aE,all:sE,Cancel:uE,isAxiosError:cE,spread:lE,toFormData:fE,AxiosHeaders:pE,HttpStatusCode:hE,formToJSON:dE,getAdapter:yE,mergeConfig:mE}=eE;var gE=function(){return u(function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n},[{key:"get",value:(s=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("post",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("put",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().m(function e(t,r){var n;return m().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,this.requestConfigBuilder.build("delete",t,r);case 1:return n=e.v,e.n=2,this.sendRequest(n);case 2:return e.a(2,e.v)}},e,this)})),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(eE(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),vE=Oo,bE=te,wE=ue,SE=qm,EE=$([].join);vE({target:"Array",proto:!0,forced:bE!==Object||!SE("join",",")},{join:function(e){return EE(wE(this),void 0===e?",":e)}});var xE=TypeError,AE=R(Object.freeze({__proto__:null,default:{}})),RE="function"==typeof Map&&Map.prototype,OE=Object.getOwnPropertyDescriptor&&RE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,PE=RE&&OE&&"function"==typeof OE.get?OE.get:null,kE=RE&&Map.prototype.forEach,jE="function"==typeof Set&&Set.prototype,TE=Object.getOwnPropertyDescriptor&&jE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,IE=jE&&TE&&"function"==typeof TE.get?TE.get:null,_E=jE&&Set.prototype.forEach,NE="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,CE="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,UE="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,LE=Boolean.prototype.valueOf,DE=Object.prototype.toString,FE=Function.prototype.toString,BE=String.prototype.match,ME=String.prototype.slice,qE=String.prototype.replace,WE=String.prototype.toUpperCase,GE=String.prototype.toLowerCase,zE=RegExp.prototype.test,HE=Array.prototype.concat,$E=Array.prototype.join,VE=Array.prototype.slice,KE=Math.floor,YE="function"==typeof BigInt?BigInt.prototype.valueOf:null,JE=Object.getOwnPropertySymbols,QE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,XE="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ZE="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===XE||"symbol")?Symbol.toStringTag:null,ex=Object.prototype.propertyIsEnumerable,tx=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function rx(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||zE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-KE(-e):KE(e);if(n!==e){var o=String(n),i=ME.call(t,o.length+1);return qE.call(o,r,"$&_")+"."+qE.call(qE.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return qE.call(t,r,"$&_")}var nx=AE,ox=nx.custom,ix=dx(ox)?ox:null,ax={__proto__:null,double:'"',single:"'"},sx={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ux=function e(t,r,n,o){var i=r||{};if(mx(i,"quoteStyle")&&!mx(ax,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(mx(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!mx(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(mx(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(mx(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return bx(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?rx(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?rx(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return px(t)?"[Array]":"[Object]";var f=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=$E.call(Array(e.indent+1)," ")}return{base:r,prev:$E.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(vx(o,t)>=0)return"[Circular]";function p(t,r,a){if(r&&(o=VE.call(o)).push(r),a){var s={depth:i.depth};return mx(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!hx(t)){var h=function(e){if(e.name)return e.name;var t=BE.call(FE.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=Rx(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+$E.call(d,", ")+" }":"")}if(dx(t)){var y=XE?qE.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):QE.call(t);return"object"!=typeof t||XE?y:Sx(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+GE.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+cx(lx(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+GE.call(String(t.nodeName))+">"}if(px(t)){if(0===t.length)return"[]";var b=Rx(t,p);return f&&!function(e){for(var t=0;t<e.length;t++)if(vx(e[t],"\n")>=0)return!1;return!0}(b)?"["+Ax(b,f)+"]":"[ "+$E.call(b,", ")+" ]"}if(function(e){return"[object Error]"===gx(e)&&fx(e)}(t)){var w=Rx(t,p);return"cause"in Error.prototype||!("cause"in t)||ex.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$E.call(w,", ")+" }":"{ ["+String(t)+"] "+$E.call(HE.call("[cause]: "+p(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(ix&&"function"==typeof t[ix]&&nx)return nx(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!PE||!e||"object"!=typeof e)return!1;try{PE.call(e);try{IE.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return kE&&kE.call(t,function(e,r){S.push(p(r,t,!0)+" => "+p(e,t))}),xx("Map",PE.call(t),S,f)}if(function(e){if(!IE||!e||"object"!=typeof e)return!1;try{IE.call(e);try{PE.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return _E&&_E.call(t,function(e){E.push(p(e,t))}),xx("Set",IE.call(t),E,f)}if(function(e){if(!NE||!e||"object"!=typeof e)return!1;try{NE.call(e,NE);try{CE.call(e,CE)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Ex("WeakMap");if(function(e){if(!CE||!e||"object"!=typeof e)return!1;try{CE.call(e,CE);try{NE.call(e,NE)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Ex("WeakSet");if(function(e){if(!UE||!e||"object"!=typeof e)return!1;try{return UE.call(e),!0}catch(e){}return!1}(t))return Ex("WeakRef");if(function(e){return"[object Number]"===gx(e)&&fx(e)}(t))return Sx(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!YE)return!1;try{return YE.call(e),!0}catch(e){}return!1}(t))return Sx(p(YE.call(t)));if(function(e){return"[object Boolean]"===gx(e)&&fx(e)}(t))return Sx(LE.call(t));if(function(e){return"[object String]"===gx(e)&&fx(e)}(t))return Sx(p(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==x&&t===x)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===gx(e)&&fx(e)}(t)&&!hx(t)){var A=Rx(t,p),R=tx?tx(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&ZE&&Object(t)===t&&ZE in t?ME.call(gx(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+$E.call(HE.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":f?k+"{"+Ax(A,f)+"}":k+"{ "+$E.call(A,", ")+" }"}return String(t)};function cx(e,t,r){var n=r.quoteStyle||t,o=ax[n];return o+e+o}function lx(e){return qE.call(String(e),/"/g,"&quot;")}function fx(e){return!ZE||!("object"==typeof e&&(ZE in e||void 0!==e[ZE]))}function px(e){return"[object Array]"===gx(e)&&fx(e)}function hx(e){return"[object RegExp]"===gx(e)&&fx(e)}function dx(e){if(XE)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!QE)return!1;try{return QE.call(e),!0}catch(e){}return!1}var yx=Object.prototype.hasOwnProperty||function(e){return e in this};function mx(e,t){return yx.call(e,t)}function gx(e){return DE.call(e)}function vx(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function bx(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bx(ME.call(e,0,t.maxStringLength),t)+n}var o=sx[t.quoteStyle||"single"];return o.lastIndex=0,cx(qE.call(qE.call(e,o,"\\$1"),/[\x00-\x1f]/g,wx),"single",t)}function wx(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+WE.call(t.toString(16))}function Sx(e){return"Object("+e+")"}function Ex(e){return e+" { ? }"}function xx(e,t,r,n){return e+" ("+t+") {"+(n?Ax(r,n):$E.call(r,", "))+"}"}function Ax(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+$E.call(e,","+r)+"\n"+t.prev}function Rx(e,t){var r=px(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=mx(e,o)?t(e[o],e):""}var i,a="function"==typeof JE?JE(e):[];if(XE){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)mx(e,u)&&(r&&String(Number(u))===u&&u<e.length||XE&&i["$"+u]instanceof Symbol||(zE.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof JE)for(var c=0;c<a.length;c++)ex.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var Ox=ux,Px=xE,kx=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},jx=Object,Tx=Error,Ix=EvalError,_x=RangeError,Nx=ReferenceError,Cx=SyntaxError,Ux=URIError,Lx=Math.abs,Dx=Math.floor,Fx=Math.max,Bx=Math.min,Mx=Math.pow,qx=Math.round,Wx=Number.isNaN||function(e){return e!=e},Gx=Object.getOwnPropertyDescriptor;if(Gx)try{Gx([],"length")}catch(e){Gx=null}var zx=Gx,Hx=Object.defineProperty||!1;if(Hx)try{Hx({},"a",{value:1})}catch(e){Hx=!1}var $x,Vx,Kx,Yx,Jx,Qx,Xx,Zx,eA,tA,rA,nA,oA,iA,aA,sA,uA=Hx;function cA(){return Qx?Jx:(Qx=1,Jx="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function lA(){return Zx?Xx:(Zx=1,Xx=jx.getPrototypeOf||null)}function fA(){if(tA)return eA;tA=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};return eA=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=t(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},eA}function pA(){if(nA)return rA;nA=1;var e=fA();return rA=Function.prototype.bind||e}function hA(){return iA?oA:(iA=1,oA=Function.prototype.call)}function dA(){return sA?aA:(sA=1,aA=Function.prototype.apply)}var yA,mA,gA,vA,bA,wA,SA,EA="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,xA=pA(),AA=dA(),RA=hA(),OA=EA||xA.call(RA,AA),PA=pA(),kA=xE,jA=hA(),TA=OA,IA=function(e){if(e.length<1||"function"!=typeof e[0])throw new kA("a function is required");return TA(PA,jA,e)};var _A=jx,NA=Tx,CA=Ix,UA=_x,LA=Nx,DA=Cx,FA=xE,BA=Ux,MA=Lx,qA=Dx,WA=Fx,GA=Bx,zA=Mx,HA=qx,$A=function(e){return Wx(e)||0===e?e:e<0?-1:1},VA=Function,KA=function(e){try{return VA('"use strict"; return ('+e+").constructor;")()}catch(e){}},YA=zx,JA=uA,QA=function(){throw new FA},XA=YA?function(){try{return QA}catch(e){try{return YA(arguments,"callee").get}catch(e){return QA}}}():QA,ZA=function(){if(Yx)return Kx;Yx=1;var e="undefined"!=typeof Symbol&&Symbol,t=Vx?$x:(Vx=1,$x=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return Kx=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),eR=function(){if(vA)return gA;vA=1;var e=cA(),t=lA(),r=function(){if(mA)return yA;mA=1;var e,t=IA,r=zx;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return yA=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return gA=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),tR=lA(),rR=cA(),nR=dA(),oR=hA(),iR={},aR="undefined"!=typeof Uint8Array&&eR?eR(Uint8Array):SA,sR={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?SA:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?SA:ArrayBuffer,"%ArrayIteratorPrototype%":ZA&&eR?eR([][Symbol.iterator]()):SA,"%AsyncFromSyncIteratorPrototype%":SA,"%AsyncFunction%":iR,"%AsyncGenerator%":iR,"%AsyncGeneratorFunction%":iR,"%AsyncIteratorPrototype%":iR,"%Atomics%":"undefined"==typeof Atomics?SA:Atomics,"%BigInt%":"undefined"==typeof BigInt?SA:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?SA:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?SA:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?SA:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":NA,"%eval%":eval,"%EvalError%":CA,"%Float16Array%":"undefined"==typeof Float16Array?SA:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?SA:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?SA:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?SA:FinalizationRegistry,"%Function%":VA,"%GeneratorFunction%":iR,"%Int8Array%":"undefined"==typeof Int8Array?SA:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?SA:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?SA:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ZA&&eR?eR(eR([][Symbol.iterator]())):SA,"%JSON%":"object"==typeof JSON?JSON:SA,"%Map%":"undefined"==typeof Map?SA:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ZA&&eR?eR((new Map)[Symbol.iterator]()):SA,"%Math%":Math,"%Number%":Number,"%Object%":_A,"%Object.getOwnPropertyDescriptor%":YA,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?SA:Promise,"%Proxy%":"undefined"==typeof Proxy?SA:Proxy,"%RangeError%":UA,"%ReferenceError%":LA,"%Reflect%":"undefined"==typeof Reflect?SA:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?SA:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ZA&&eR?eR((new Set)[Symbol.iterator]()):SA,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?SA:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ZA&&eR?eR(""[Symbol.iterator]()):SA,"%Symbol%":ZA?Symbol:SA,"%SyntaxError%":DA,"%ThrowTypeError%":XA,"%TypedArray%":aR,"%TypeError%":FA,"%Uint8Array%":"undefined"==typeof Uint8Array?SA:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?SA:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?SA:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?SA:Uint32Array,"%URIError%":BA,"%WeakMap%":"undefined"==typeof WeakMap?SA:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?SA:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?SA:WeakSet,"%Function.prototype.call%":oR,"%Function.prototype.apply%":nR,"%Object.defineProperty%":JA,"%Object.getPrototypeOf%":tR,"%Math.abs%":MA,"%Math.floor%":qA,"%Math.max%":WA,"%Math.min%":GA,"%Math.pow%":zA,"%Math.round%":HA,"%Math.sign%":$A,"%Reflect.getPrototypeOf%":rR};if(eR)try{null.error}catch(e){var uR=eR(eR(e));sR["%Error.prototype%"]=uR}var cR=function e(t){var r;if("%AsyncFunction%"===t)r=KA("async function () {}");else if("%GeneratorFunction%"===t)r=KA("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=KA("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&eR&&(r=eR(o.prototype))}return sR[t]=r,r},lR={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fR=pA(),pR=function(){if(wA)return bA;wA=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=pA();return bA=r.call(e,t)}(),hR=fR.call(oR,Array.prototype.concat),dR=fR.call(nR,Array.prototype.splice),yR=fR.call(oR,String.prototype.replace),mR=fR.call(oR,String.prototype.slice),gR=fR.call(oR,RegExp.prototype.exec),vR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bR=/\\(\\)?/g,wR=function(e,t){var r,n=e;if(pR(lR,n)&&(n="%"+(r=lR[n])[0]+"%"),pR(sR,n)){var o=sR[n];if(o===iR&&(o=cR(n)),void 0===o&&!t)throw new FA("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new DA("intrinsic "+e+" does not exist!")},SR=function(e,t){if("string"!=typeof e||0===e.length)throw new FA("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new FA('"allowMissing" argument must be a boolean');if(null===gR(/^%?[^%]*%?$/,e))throw new DA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=mR(e,0,1),r=mR(e,-1);if("%"===t&&"%"!==r)throw new DA("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new DA("invalid intrinsic syntax, expected opening `%`");var n=[];return yR(e,vR,function(e,t,r,o){n[n.length]=r?yR(o,bR,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=wR("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],dR(r,hR([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var f=r[c],p=mR(f,0,1),h=mR(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===h||"'"===h||"`"===h)&&p!==h)throw new DA("property names with quotes must have matching quotes");if("constructor"!==f&&l||(s=!0),pR(sR,i="%"+(n+="."+f)+"%"))a=sR[i];else if(null!=a){if(!(f in a)){if(!t)throw new FA("base intrinsic for "+e+" exists, but the property is not available.");return}if(YA&&c+1>=r.length){var d=YA(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=pR(a,f),a=a[f];l&&!s&&(sR[i]=a)}}return a},ER=SR,xR=IA,AR=xR([ER("%String.prototype.indexOf%")]),RR=function(e,t){var r=ER(e,!!t);return"function"==typeof r&&AR(e,".prototype.")>-1?xR([r]):r},OR=RR,PR=ux,kR=xE,jR=SR("%Map%",!0),TR=OR("Map.prototype.get",!0),IR=OR("Map.prototype.set",!0),_R=OR("Map.prototype.has",!0),NR=OR("Map.prototype.delete",!0),CR=OR("Map.prototype.size",!0),UR=!!jR&&function(){var e,t={assert:function(e){if(!t.has(e))throw new kR("Side channel does not contain "+PR(e))},delete:function(t){if(e){var r=NR(e,t);return 0===CR(e)&&(e=void 0),r}return!1},get:function(t){if(e)return TR(e,t)},has:function(t){return!!e&&_R(e,t)},set:function(t,r){e||(e=new jR),IR(e,t,r)}};return t},LR=RR,DR=ux,FR=UR,BR=xE,MR=SR("%WeakMap%",!0),qR=LR("WeakMap.prototype.get",!0),WR=LR("WeakMap.prototype.set",!0),GR=LR("WeakMap.prototype.has",!0),zR=LR("WeakMap.prototype.delete",!0),HR=xE,$R=ux,VR=(MR?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new BR("Side channel does not contain "+DR(e))},delete:function(r){if(MR&&r&&("object"==typeof r||"function"==typeof r)){if(e)return zR(e,r)}else if(FR&&t)return t.delete(r);return!1},get:function(r){return MR&&r&&("object"==typeof r||"function"==typeof r)&&e?qR(e,r):t&&t.get(r)},has:function(r){return MR&&r&&("object"==typeof r||"function"==typeof r)&&e?GR(e,r):!!t&&t.has(r)},set:function(r,n){MR&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new MR),WR(e,r,n)):FR&&(t||(t=FR()),t.set(r,n))}};return r}:FR)||UR||function(){var e,t={assert:function(e){if(!t.has(e))throw new Px("Side channel does not contain "+Ox(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return kx(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=kx(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!kx(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=kx(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},KR=function(){var e,t={assert:function(e){if(!t.has(e))throw new HR("Side channel does not contain "+$R(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=VR()),e.set(t,r)}};return t},YR=String.prototype.replace,JR=/%20/g,QR="RFC3986",XR={default:QR,formatters:{RFC1738:function(e){return YR.call(e,JR,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:QR},ZR=XR,eO=KR,tO=Object.prototype.hasOwnProperty,rO=Array.isArray,nO=eO(),oO=function(e,t){return nO.set(e,t),e},iO=function(e){return nO.has(e)},aO=function(e){return nO.get(e)},sO=function(e,t){nO.set(e,t)},uO=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),cO=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},lO=1024,fO={arrayToObject:cO,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(iO(e)){var o=aO(e)+1;return e[o]=t,sO(e,o),e}var i=[].concat(e,t);return i.length>r?oO(cO(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:i,prop:u},r[r.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(rO(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",s=0;s<i.length;s+=lO){for(var u=i.length>=lO?i.slice(s,s+lO):i,c=[],l=0;l<u.length;++l){var f=u.charCodeAt(l);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===ZR.RFC1738&&(40===f||41===f)?c[c.length]=u.charAt(l):f<128?c[c.length]=uO[f]:f<2048?c[c.length]=uO[192|f>>6]+uO[128|63&f]:f<55296||f>=57344?c[c.length]=uO[224|f>>12]+uO[128|f>>6&63]+uO[128|63&f]:(l+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(l)),c[c.length]=uO[240|f>>18]+uO[128|f>>12&63]+uO[128|f>>6&63]+uO[128|63&f])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:iO,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:oO,maybeMap:function(e,t){if(rO(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(rO(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return oO(cO(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!=typeof t)return[t,r];if(iO(t)){var i=aO(t)+1;t[i]=r,sO(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!tO.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(iO(r)){for(var a=Object.keys(r),s=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},u=0;u<a.length;u++){s[parseInt(a[u],10)+1]=r[a[u]]}return oO(s,aO(r)+1)}var c=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&c.length>n.arrayLimit?oO(cO(c,n),c.length-1):c}var l=t;return rO(t)&&!rO(r)&&(l=cO(t,n)),rO(t)&&rO(r)?(r.forEach(function(r,o){if(tO.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t[t.length]=r}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];if(tO.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,iO(r)&&!iO(t)&&oO(t,aO(r)),iO(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>aO(t)&&sO(t,a)}return t},l)}},pO=KR,hO=fO,dO=XR,yO=Object.prototype.hasOwnProperty,mO={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},gO=Array.isArray,vO=Array.prototype.push,bO=function(e,t){vO.apply(e,gO(t)?t:[t])},wO=Date.prototype.toISOString,SO=dO.default,EO={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:hO.encode,encodeValuesOnly:!1,filter:void 0,format:SO,formatter:dO.formatters[SO],indices:!1,serializeDate:function(e){return wO.call(e)},skipNulls:!1,strictNullHandling:!1},xO={},AO=function e(t,r,n,o,i,a,s,u,c,l,f,p,h,d,y,m,g,v){for(var b,w=t,S=v,E=0,x=!1;void 0!==(S=S.get(xO))&&!x;){var A=S.get(t);if(E+=1,void 0!==A){if(A===E)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(xO)&&(E=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&gO(w)&&(w=hO.maybeMap(w,function(e){return e instanceof Date?h(e):e})),null===w){if(a)return c&&!m?c(r,EO.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||hO.isBuffer(w))return c?[y(m?r:c(r,EO.encoder,g,"key",d))+"="+y(c(w,EO.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&gO(w))m&&c&&(w=hO.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(gO(l))R=l;else{var P=Object.keys(w);R=f?P.sort(f):P}var k=u?String(r).replace(/\./g,"%2E"):String(r),j=o&&gO(w)&&1===w.length?k+"[]":k;if(i&&gO(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=p&&u?String(I).replace(/\./g,"%2E"):String(I),C=gO(w)?"function"==typeof n?n(j,N):j:j+(p?"."+N:"["+N+"]");v.set(t,E);var U=pO();U.set(xO,v),bO(O,e(_,C,n,o,i,a,s,u,"comma"===n&&m&&gO(w)?null:c,l,f,p,h,d,y,m,g,U))}}return O},RO=fO,OO=Object.prototype.hasOwnProperty,PO=Array.isArray,kO={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:RO.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},jO=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},TO=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},IO=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&OO.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&OO.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var s=0;null!==(o=n.exec(r))&&s<t.depth;){s+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&OO.call(Object.prototype,u)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:TO(t,r,o),s=e.length-1;s>=0;--s){var u,c=e[s];if("[]"===c&&r.parseArrays)u=RO.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:RO.combine([],a,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),h=!isNaN(p)&&c!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(h&&p<r.arrayLimit)(u=[])[p]=a;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");h?(u[p]=a,RO.markOverflow(u,p)):"__proto__"!==f&&(u[f]=a)}else u={0:a}}a=u}return a}(o,t,r,n)}},_O=function(e,t){var r,n=e,o=function(e){if(!e)return EO;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||EO.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=dO.default;if(void 0!==e.format){if(!yO.call(dO.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=dO.formatters[r],i=EO.filter;if(("function"==typeof e.filter||gO(e.filter))&&(i=e.filter),n=e.arrayFormat in mO?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":EO.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||EO.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:EO.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:EO.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:EO.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?EO.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:EO.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:EO.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:EO.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:EO.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:EO.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:EO.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:EO.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):gO(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=mO[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=pO(),c=0;c<r.length;++c){var l=r[c],f=n[l];o.skipNulls&&null===f||bO(i,AO(f,l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),h=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),p.length>0?h+p:""},NO=function(e,t){var r=function(e){if(!e)return kO;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?kO.charset:e.charset,r=void 0===e.duplicates?kO.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||kO.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:kO.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:kO.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:kO.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:kO.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:kO.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:kO.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:kO.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:kO.decoder,delimiter:"string"==typeof e.delimiter||RO.isRegExp(e.delimiter)?e.delimiter:kO.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:kO.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:kO.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:kO.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:kO.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:kO.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:kO.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:kO.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==o?o+1:o);if(t.throwOnLimitExceeded&&void 0!==o&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,u=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?u="utf-8":"utf8=%26%2310003%3B"===i[a]&&(u="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var c,l,f=i[a],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;if(-1===h?(c=t.decoder(f,kO.decoder,u,"key"),l=t.strictNullHandling?null:""):null!==(c=t.decoder(f.slice(0,h),kO.decoder,u,"key"))&&(l=RO.maybeMap(TO(f.slice(h+1),t,PO(r[c])?r[c].length:0),function(e){return t.decoder(e,kO.decoder,u,"value")})),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=jO(String(l))),f.indexOf("[]=")>-1&&(l=PO(l)?[l]:l),t.comma&&PO(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=RO.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==c){var d=OO.call(r,c);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[c]=RO.combine(r[c],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[c]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=IO(s,n[s],r,"string"==typeof e);o=RO.merge(o,u,r)}return!0===r.allowSparse?o:RO.compact(o)},CO=A({formats:XR,parse:NO,stringify:_O});const UO="function"==typeof Buffer,LO=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),DO=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),FO=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(DO),BO=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,MO=String.fromCharCode.bind(String),qO=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_")),WO=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),GO=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=DO[t>>18&63]+DO[t>>12&63]+DO[t>>6&63]+DO[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},zO="function"==typeof btoa?e=>btoa(e):UO?e=>Buffer.from(e,"binary").toString("base64"):GO,HO=UO?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(MO.apply(null,e.subarray(r,r+4096)));return zO(t.join(""))},$O=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?MO(192|t>>>6)+MO(128|63&t):MO(224|t>>>12&15)+MO(128|t>>>6&63)+MO(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return MO(240|t>>>18&7)+MO(128|t>>>12&63)+MO(128|t>>>6&63)+MO(128|63&t)},VO=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,KO=e=>e.replace(VO,$O),YO=UO?e=>Buffer.from(e,"utf8").toString("base64"):LO?e=>HO(LO.encode(e)):e=>zO(KO(e)),JO=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?qO(YO(e)):YO(e)},QO=e=>{if(e=e.replace(/\s+/g,""),!BO.test(e))throw new TypeError("malformed base64.");let t,r,n;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=FO[e.charAt(i++)]<<18|FO[e.charAt(i++)]<<12|(r=FO[e.charAt(i++)])<<6|(n=FO[e.charAt(i++)]),64===r?o.push(MO(t>>16&255)):64===n?o.push(MO(t>>16&255,t>>8&255)):o.push(MO(t>>16&255,t>>8&255,255&t));return o.join("")},XO=JO;var ZO,eP=function(){return u(function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout},[{key:"build",value:(n=o(m().m(function e(r,n,o,i){var a,s,u,c,l,f,p,h,y,g,v,b,w,S,E,x,A,R,O,P;return m().w(function(e){for(;;)switch(e.n){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),l=r,e.n="get"===l?1:"post"===l?4:"put"===l?8:"delete"===l?10:12;break;case 1:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.n=3;break}return f=d,p=d({},a),h={},y=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.n=2,this.buildData(o);case 2:return g=e.v,e.a(2,f(p,h,{method:"post",headers:y,data:g}));case 3:return e.a(2,d(d({},a),{},{url:s}));case 4:if(!(o instanceof Nv)){e.n=6;break}return e.n=5,this.buildData(o);case 5:return u=e.v,e.a(2,d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 6:return v=d,b=d({},a),w={},e.n=7,this.buildData(o);case 7:return S=e.v,e.a(2,v(b,w,{data:S}));case 8:return E=d,x=d({},a),A={},e.n=9,this.buildData(o);case 9:return R=e.v,e.a(2,E(x,A,{data:R}));case 10:return O=this,P=n,e.n=11,this.buildData(o);case 11:return c=O.buildRequestUrl.call(O,P,e.v),e.a(2,d(d({},a),{},{url:c}));case 12:throw new Error("".concat(r," method is not supported"));case 13:return e.a(2)}},e,this)})),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(CO.stringify(t))}},{key:"buildData",value:(r=o(m().m(function e(t){var r;return m().w(function(e){for(;;)switch(e.n){case 0:if("session"!==this.auth.type){e.n=3;break}return e.n=1,this.getRequestToken();case 1:if(r=e.v,!(t instanceof Nv)){e.n=2;break}return t.append("__REQUEST_TOKEN__",r),e.a(2,t);case 2:return e.a(2,d({__REQUEST_TOKEN__:r},t));case 3:return e.a(2,t)}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(XO("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":XO("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:if(null!==this.requestToken){e.n=2;break}return e.n=1,t.getRequestToken();case 1:this.requestToken=e.v;case 2:return e.a(2,this.requestToken)}},e,this)})),function(){return e.apply(this,arguments)})}]);var e,r,n}(),tP=["data"],rP=function(){return u(function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r},[{key:"handle",value:function(e){var t=this;return e.then(function(e){return t.handleSuccessResponse(e)},function(e){return t.handleErrorResponse(e)})}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new hv(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,tP);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Ov(d({data:r},n))}}])}(),nP=function(){return u(function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),oP(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof ta)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new eP(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new rP({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new gE({responseHandler:c,requestConfigBuilder:u}),f=i.guestSpaceId;this.bulkRequest_=new Em(l,f),this.record=new Iv(l,this.bulkRequest_,f),this.app=new Bm(l,f),this.space=new _v(l,f),this.file=new Cv(l,f),this.plugin=new Uv(l)},[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),oP=function(e){iP(e.baseUrl),aP(e.guestSpaceId),sP(e.socketTimeout)},iP=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},aP=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},sP=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(ZO=aa).readFileFromPath&&(t.readFileFromPath=ZO.readFileFromPath),ZO.getRequestToken&&(t.getRequestToken=ZO.getRequestToken),ZO.getDefaultAuth&&(t.getDefaultAuth=ZO.getDefaultAuth),ZO.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=ZO.buildPlatformDependentConfig),ZO.buildHeaders&&(t.buildHeaders=ZO.buildHeaders),ZO.buildFormDataValue&&(t.buildFormDataValue=ZO.buildFormDataValue),ZO.buildBaseUrl&&(t.buildBaseUrl=ZO.buildBaseUrl),ZO.getVersion&&(t.getVersion=ZO.getVersion),e.KintoneAbortSearchError=hv,e.KintoneAllRecordsError=Rv,e.KintoneRestAPIClient=nP,e.KintoneRestAPIError=Ov});