@kintone/rest-api-client 5.0.6 → 5.0.8
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.
- package/esm/package.json +7 -7
- package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
- package/lib/package.json +7 -7
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/umd/KintoneRestAPIClient.js +1594 -1751
- package/umd/KintoneRestAPIClient.min.js +5 -5
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
* This bundle includes the following third-party libraries:
|
|
26
26
|
*
|
|
27
27
|
* =====
|
|
28
|
-
* core-js@3.35.
|
|
28
|
+
* core-js@3.35.1 -- MIT
|
|
29
29
|
* -----
|
|
30
30
|
*
|
|
31
|
-
* Copyright (c) 2014-
|
|
31
|
+
* Copyright (c) 2014-2024 Denis Pushkarev
|
|
32
32
|
*
|
|
33
33
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
34
34
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
*
|
|
109
109
|
*
|
|
110
110
|
* =====
|
|
111
|
-
* axios@1.6.
|
|
111
|
+
* axios@1.6.7 -- MIT
|
|
112
112
|
* -----
|
|
113
113
|
*
|
|
114
114
|
* # Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
*
|
|
435
435
|
*
|
|
436
436
|
* =====
|
|
437
|
-
* js-base64@3.7.
|
|
437
|
+
* js-base64@3.7.6 -- BSD-3-Clause
|
|
438
438
|
* -----
|
|
439
439
|
*
|
|
440
440
|
* Copyright (c) 2014, Dan Kogai
|
|
@@ -466,4 +466,4 @@
|
|
|
466
466
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
467
467
|
*/
|
|
468
468
|
|
|
469
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={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(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){f(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),s=new I(n||[]);return i(a,"_invoke",{value:P(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var x={};l(x,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(_([])));E&&E!==r&&n.call(E,s)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function P(e,r,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,i(A,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},R(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},R(A),l(A,c,"Generator"),l(A,s,(function(){return this})),l(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function i(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,u,"next",t)}function u(t){s(i,n,o,a,u,"throw",t)}a(void 0)}))}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function p(t,e,r){return e&&l(t.prototype,e),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function m(t,e,r){return m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&y(o,r.prototype),o},m.apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return g=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return m(t,arguments,d(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),y(r,t)},g(t)}function v(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}function x(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||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 S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function R(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var O=function(t){return t&&t.Math===Math&&t},P=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof E&&E)||O("object"==typeof E&&E)||function(){return this}()||Function("return this")(),k={},j=function(t){try{return!!t()}catch(t){return!0}},T=!j((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),I=!j((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),_=I,N=Function.prototype.call,C=_?N.bind(N):function(){return N.apply(N,arguments)},U={},L={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,B=F&&!L.call({1:2},1);U.f=B?function(t){var e=F(this,t);return!!e&&e.enumerable}:L;var D,q,M=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},W=I,G=Function.prototype,z=G.call,H=W&&G.bind.bind(z,z),$=W?H:function(t){return function(){return z.apply(t,arguments)}},V=$,Y=V({}.toString),K=V("".slice),J=function(t){return K(Y(t),8,-1)},Q=j,X=J,Z=Object,tt=$("".split),et=Q((function(){return!Z("z").propertyIsEnumerable(0)}))?function(t){return"String"===X(t)?tt(t,""):Z(t)}:Z,rt=function(t){return null==t},nt=rt,ot=TypeError,it=function(t){if(nt(t))throw new ot("Can't call method on "+t);return t},at=et,st=it,ut=function(t){return at(st(t))},ct="object"==typeof document&&document.all,lt=void 0===ct&&void 0!==ct?function(t){return"function"==typeof t||t===ct}:function(t){return"function"==typeof t},pt=lt,ft=function(t){return"object"==typeof t?null!==t:pt(t)},ht=P,dt=lt,yt=function(t,e){return arguments.length<2?(r=ht[t],dt(r)?r:void 0):ht[t]&&ht[t][e];var r},mt=$({}.isPrototypeOf),gt=P,vt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",bt=gt.process,wt=gt.Deno,xt=bt&&bt.versions||wt&&wt.version,St=xt&&xt.v8;St&&(q=(D=St.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!q&&vt&&(!(D=vt.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=vt.match(/Chrome\/(\d+)/))&&(q=+D[1]);var Et=q,At=Et,Rt=j,Ot=P.String,Pt=!!Object.getOwnPropertySymbols&&!Rt((function(){var t=Symbol("symbol detection");return!Ot(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&At&&At<41})),kt=Pt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,jt=yt,Tt=lt,It=mt,_t=Object,Nt=kt?function(t){return"symbol"==typeof t}:function(t){var e=jt("Symbol");return Tt(e)&&It(e.prototype,_t(t))},Ct=String,Ut=function(t){try{return Ct(t)}catch(t){return"Object"}},Lt=lt,Ft=Ut,Bt=TypeError,Dt=function(t){if(Lt(t))return t;throw new Bt(Ft(t)+" is not a function")},qt=Dt,Mt=rt,Wt=function(t,e){var r=t[e];return Mt(r)?void 0:qt(r)},Gt=C,zt=lt,Ht=ft,$t=TypeError,Vt={exports:{}},Yt=P,Kt=Object.defineProperty,Jt=function(t,e){try{Kt(Yt,t,{value:e,configurable:!0,writable:!0})}catch(r){Yt[t]=e}return e},Qt=Jt,Xt="__core-js_shared__",Zt=P[Xt]||Qt(Xt,{}),te=Zt;(Vt.exports=function(t,e){return te[t]||(te[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ee=Vt.exports,re=it,ne=Object,oe=function(t){return ne(re(t))},ie=oe,ae=$({}.hasOwnProperty),se=Object.hasOwn||function(t,e){return ae(ie(t),e)},ue=$,ce=0,le=Math.random(),pe=ue(1..toString),fe=function(t){return"Symbol("+(void 0===t?"":t)+")_"+pe(++ce+le,36)},he=ee,de=se,ye=fe,me=Pt,ge=kt,ve=P.Symbol,be=he("wks"),we=ge?ve.for||ve:ve&&ve.withoutSetter||ye,xe=function(t){return de(be,t)||(be[t]=me&&de(ve,t)?ve[t]:we("Symbol."+t)),be[t]},Se=C,Ee=ft,Ae=Nt,Re=Wt,Oe=function(t,e){var r,n;if("string"===e&&zt(r=t.toString)&&!Ht(n=Gt(r,t)))return n;if(zt(r=t.valueOf)&&!Ht(n=Gt(r,t)))return n;if("string"!==e&&zt(r=t.toString)&&!Ht(n=Gt(r,t)))return n;throw new $t("Can't convert object to primitive value")},Pe=TypeError,ke=xe("toPrimitive"),je=function(t,e){if(!Ee(t)||Ae(t))return t;var r,n=Re(t,ke);if(n){if(void 0===e&&(e="default"),r=Se(n,t,e),!Ee(r)||Ae(r))return r;throw new Pe("Can't convert object to primitive value")}return void 0===e&&(e="number"),Oe(t,e)},Te=je,Ie=Nt,_e=function(t){var e=Te(t,"string");return Ie(e)?e:e+""},Ne=ft,Ce=P.document,Ue=Ne(Ce)&&Ne(Ce.createElement),Le=function(t){return Ue?Ce.createElement(t):{}},Fe=Le,Be=!T&&!j((function(){return 7!==Object.defineProperty(Fe("div"),"a",{get:function(){return 7}}).a})),De=T,qe=C,Me=U,We=M,Ge=ut,ze=_e,He=se,$e=Be,Ve=Object.getOwnPropertyDescriptor;k.f=De?Ve:function(t,e){if(t=Ge(t),e=ze(e),$e)try{return Ve(t,e)}catch(t){}if(He(t,e))return We(!qe(Me.f,t,e),t[e])};var Ye={},Ke=T&&j((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Je=ft,Qe=String,Xe=TypeError,Ze=function(t){if(Je(t))return t;throw new Xe(Qe(t)+" is not an object")},tr=T,er=Be,rr=Ke,nr=Ze,or=_e,ir=TypeError,ar=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,ur="enumerable",cr="configurable",lr="writable";Ye.f=tr?rr?function(t,e,r){if(nr(t),e=or(e),nr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&lr in r&&!r[lr]){var n=sr(t,e);n&&n[lr]&&(t[e]=r.value,r={configurable:cr in r?r[cr]:n[cr],enumerable:ur in r?r[ur]:n[ur],writable:!1})}return ar(t,e,r)}:ar:function(t,e,r){if(nr(t),e=or(e),nr(r),er)try{return ar(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ir("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var pr=Ye,fr=M,hr=T?function(t,e,r){return pr.f(t,e,fr(1,r))}:function(t,e,r){return t[e]=r,t},dr={exports:{}},yr=T,mr=se,gr=Function.prototype,vr=yr&&Object.getOwnPropertyDescriptor,br=mr(gr,"name"),wr={EXISTS:br,PROPER:br&&"something"===function(){}.name,CONFIGURABLE:br&&(!yr||yr&&vr(gr,"name").configurable)},xr=lt,Sr=Zt,Er=$(Function.toString);xr(Sr.inspectSource)||(Sr.inspectSource=function(t){return Er(t)});var Ar,Rr,Or,Pr=Sr.inspectSource,kr=lt,jr=P.WeakMap,Tr=kr(jr)&&/native code/.test(String(jr)),Ir=fe,_r=ee("keys"),Nr=function(t){return _r[t]||(_r[t]=Ir(t))},Cr={},Ur=Tr,Lr=P,Fr=ft,Br=hr,Dr=se,qr=Zt,Mr=Nr,Wr=Cr,Gr="Object already initialized",zr=Lr.TypeError,Hr=Lr.WeakMap;if(Ur||qr.state){var $r=qr.state||(qr.state=new Hr);$r.get=$r.get,$r.has=$r.has,$r.set=$r.set,Ar=function(t,e){if($r.has(t))throw new zr(Gr);return e.facade=t,$r.set(t,e),e},Rr=function(t){return $r.get(t)||{}},Or=function(t){return $r.has(t)}}else{var Vr=Mr("state");Wr[Vr]=!0,Ar=function(t,e){if(Dr(t,Vr))throw new zr(Gr);return e.facade=t,Br(t,Vr,e),e},Rr=function(t){return Dr(t,Vr)?t[Vr]:{}},Or=function(t){return Dr(t,Vr)}}var Yr={set:Ar,get:Rr,has:Or,enforce:function(t){return Or(t)?Rr(t):Ar(t,{})},getterFor:function(t){return function(e){var r;if(!Fr(e)||(r=Rr(e)).type!==t)throw new zr("Incompatible receiver, "+t+" required");return r}}},Kr=$,Jr=j,Qr=lt,Xr=se,Zr=T,tn=wr.CONFIGURABLE,en=Pr,rn=Yr.enforce,nn=Yr.get,on=String,an=Object.defineProperty,sn=Kr("".slice),un=Kr("".replace),cn=Kr([].join),ln=Zr&&!Jr((function(){return 8!==an((function(){}),"length",{value:8}).length})),pn=String(String).split("String"),fn=dr.exports=function(t,e,r){"Symbol("===sn(on(e),0,7)&&(e="["+un(on(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Xr(t,"name")||tn&&t.name!==e)&&(Zr?an(t,"name",{value:e,configurable:!0}):t.name=e),ln&&r&&Xr(r,"arity")&&t.length!==r.arity&&an(t,"length",{value:r.arity});try{r&&Xr(r,"constructor")&&r.constructor?Zr&&an(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=rn(t);return Xr(n,"source")||(n.source=cn(pn,"string"==typeof e?e:"")),t};Function.prototype.toString=fn((function(){return Qr(this)&&nn(this).source||en(this)}),"toString");var hn=dr.exports,dn=lt,yn=Ye,mn=hn,gn=Jt,vn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(dn(r)&&mn(r,i,n),n.global)o?t[e]=r:gn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:yn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},bn={},wn=Math.ceil,xn=Math.floor,Sn=Math.trunc||function(t){var e=+t;return(e>0?xn:wn)(e)},En=function(t){var e=+t;return e!=e||0===e?0:Sn(e)},An=En,Rn=Math.max,On=Math.min,Pn=function(t,e){var r=An(t);return r<0?Rn(r+e,0):On(r,e)},kn=En,jn=Math.min,Tn=function(t){return t>0?jn(kn(t),9007199254740991):0},In=Tn,_n=function(t){return In(t.length)},Nn=ut,Cn=Pn,Un=_n,Ln=function(t){return function(e,r,n){var o,i=Nn(e),a=Un(i),s=Cn(n,a);if(t&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((t||s in i)&&i[s]===r)return t||s||0;return!t&&-1}},Fn={includes:Ln(!0),indexOf:Ln(!1)},Bn=se,Dn=ut,qn=Fn.indexOf,Mn=Cr,Wn=$([].push),Gn=function(t,e){var r,n=Dn(t),o=0,i=[];for(r in n)!Bn(Mn,r)&&Bn(n,r)&&Wn(i,r);for(;e.length>o;)Bn(n,r=e[o++])&&(~qn(i,r)||Wn(i,r));return i},zn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Gn,$n=zn.concat("length","prototype");bn.f=Object.getOwnPropertyNames||function(t){return Hn(t,$n)};var Vn={};Vn.f=Object.getOwnPropertySymbols;var Yn=yt,Kn=bn,Jn=Vn,Qn=Ze,Xn=$([].concat),Zn=Yn("Reflect","ownKeys")||function(t){var e=Kn.f(Qn(t)),r=Jn.f;return r?Xn(e,r(t)):e},to=se,eo=Zn,ro=k,no=Ye,oo=j,io=lt,ao=/#|\.prototype\./,so=function(t,e){var r=co[uo(t)];return r===po||r!==lo&&(io(e)?oo(e):!!e)},uo=so.normalize=function(t){return String(t).replace(ao,".").toLowerCase()},co=so.data={},lo=so.NATIVE="N",po=so.POLYFILL="P",fo=so,ho=P,yo=k.f,mo=hr,go=vn,vo=Jt,bo=function(t,e,r){for(var n=eo(e),o=no.f,i=ro.f,a=0;a<n.length;a++){var s=n[a];to(t,s)||r&&to(r,s)||o(t,s,i(e,s))}},wo=fo,xo=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?ho:c?ho[s]||vo(s,{}):(ho[s]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=yo(r,n))&&a.value:r[n],!wo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;bo(i,o)}(t.sham||o&&o.sham)&&mo(i,"sham",!0),go(r,n,i,t)}},So=J,Eo=Array.isArray||function(t){return"Array"===So(t)},Ao=TypeError,Ro=_e,Oo=Ye,Po=M,ko=function(t,e,r){var n=Ro(e);n in t?Oo.f(t,n,Po(0,r)):t[n]=r},jo={};jo[xe("toStringTag")]="z";var To="[object z]"===String(jo),Io=To,_o=lt,No=J,Co=xe("toStringTag"),Uo=Object,Lo="Arguments"===No(function(){return arguments}()),Fo=Io?No:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Uo(t),Co))?r:Lo?No(e):"Object"===(n=No(e))&&_o(e.callee)?"Arguments":n},Bo=$,Do=j,qo=lt,Mo=Fo,Wo=Pr,Go=function(){},zo=[],Ho=yt("Reflect","construct"),$o=/^\s*(?:class|function)\b/,Vo=Bo($o.exec),Yo=!$o.test(Go),Ko=function(t){if(!qo(t))return!1;try{return Ho(Go,zo,t),!0}catch(t){return!1}},Jo=function(t){if(!qo(t))return!1;switch(Mo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Yo||!!Vo($o,Wo(t))}catch(t){return!0}};Jo.sham=!0;var Qo=!Ho||Do((function(){var t;return Ko(Ko.call)||!Ko(Object)||!Ko((function(){t=!0}))||t}))?Jo:Ko,Xo=Eo,Zo=Qo,ti=ft,ei=xe("species"),ri=Array,ni=function(t){var e;return Xo(t)&&(e=t.constructor,(Zo(e)&&(e===ri||Xo(e.prototype))||ti(e)&&null===(e=e[ei]))&&(e=void 0)),void 0===e?ri:e},oi=function(t,e){return new(ni(t))(0===e?0:e)},ii=j,ai=Et,si=xe("species"),ui=function(t){return ai>=51||!ii((function(){var e=[];return(e.constructor={})[si]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ci=xo,li=j,pi=Eo,fi=ft,hi=oe,di=_n,yi=function(t){if(t>9007199254740991)throw Ao("Maximum allowed index exceeded");return t},mi=ko,gi=oi,vi=ui,bi=Et,wi=xe("isConcatSpreadable"),xi=bi>=51||!li((function(){var t=[];return t[wi]=!1,t.concat()[0]!==t})),Si=function(t){if(!fi(t))return!1;var e=t[wi];return void 0!==e?!!e:pi(t)};ci({target:"Array",proto:!0,arity:1,forced:!xi||!vi("concat")},{concat:function(t){var e,r,n,o,i,a=hi(this),s=gi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Si(i=-1===e?a:arguments[e]))for(o=di(i),yi(u+o),r=0;r<o;r++,u++)r in i&&mi(s,u,i[r]);else yi(u+1),mi(s,u++,i);return s.length=u,s}});var Ei=Fo,Ai=To?{}.toString:function(){return"[object "+Ei(this)+"]"};To||vn(Object.prototype,"toString",Ai,{unsafe:!0});var Ri=I,Oi=Function.prototype,Pi=Oi.apply,ki=Oi.call,ji="object"==typeof Reflect&&Reflect.apply||(Ri?ki.bind(Pi):function(){return ki.apply(Pi,arguments)}),Ti=$([].slice),Ii=$,_i=Dt,Ni=ft,Ci=se,Ui=Ti,Li=I,Fi=Function,Bi=Ii([].concat),Di=Ii([].join),qi={},Mi=Li?Fi.bind:function(t){var e=_i(this),r=e.prototype,n=Ui(arguments,1),o=function(){var r=Bi(n,Ui(arguments));return this instanceof o?function(t,e,r){if(!Ci(qi,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";qi[e]=Fi("C,a","return new C("+Di(n,",")+")")}return qi[e](t,r)}(e,r.length,r):e.apply(t,r)};return Ni(r)&&(o.prototype=r),o},Wi=Qo,Gi=Ut,zi=TypeError,Hi={},$i=Gn,Vi=zn,Yi=Object.keys||function(t){return $i(t,Vi)},Ki=T,Ji=Ke,Qi=Ye,Xi=Ze,Zi=ut,ta=Yi;Hi.f=Ki&&!Ji?Object.defineProperties:function(t,e){Xi(t);for(var r,n=Zi(e),o=ta(e),i=o.length,a=0;i>a;)Qi.f(t,r=o[a++],n[r]);return t};var ea,ra=yt("document","documentElement"),na=Ze,oa=Hi,ia=zn,aa=Cr,sa=ra,ua=Le,ca="prototype",la="script",pa=Nr("IE_PROTO"),fa=function(){},ha=function(t){return"<"+la+">"+t+"</"+la+">"},da=function(t){t.write(ha("")),t.close();var e=t.parentWindow.Object;return t=null,e},ya=function(){try{ea=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;ya="undefined"!=typeof document?document.domain&&ea?da(ea):(e=ua("iframe"),r="java"+la+":",e.style.display="none",sa.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(ha("document.F=Object")),t.close(),t.F):da(ea);for(var n=ia.length;n--;)delete ya[ca][ia[n]];return ya()};aa[pa]=!0;var ma=Object.create||function(t,e){var r;return null!==t?(fa[ca]=na(t),r=new fa,fa[ca]=null,r[pa]=t):r=ya(),void 0===e?r:oa.f(r,e)},ga=xo,va=ji,ba=Mi,wa=function(t){if(Wi(t))return t;throw new zi(Gi(t)+" is not a constructor")},xa=Ze,Sa=ft,Ea=ma,Aa=j,Ra=yt("Reflect","construct"),Oa=Object.prototype,Pa=[].push,ka=Aa((function(){function t(){}return!(Ra((function(){}),[],t)instanceof t)})),ja=!Aa((function(){Ra((function(){}))})),Ta=ka||ja;ga({target:"Reflect",stat:!0,forced:Ta,sham:Ta},{construct:function(t,e){wa(t),xa(e);var r=arguments.length<3?t:wa(arguments[2]);if(ja&&!ka)return Ra(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return va(Pa,n,e),new(va(ba,t,n))}var o=r.prototype,i=Ea(Sa(o)?o:Oa),a=va(t,i,e);return Sa(a)?a:i}});var Ia=hn,_a=Ye,Na=function(t,e,r){return r.get&&Ia(r.get,e,{getter:!0}),r.set&&Ia(r.set,e,{setter:!0}),_a.f(t,e,r)},Ca=T,Ua=wr.EXISTS,La=$,Fa=Na,Ba=Function.prototype,Da=La(Ba.toString),qa=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ma=La(qa.exec);Ca&&!Ua&&Fa(Ba,"name",{configurable:!0,get:function(){try{return Ma(qa,Da(this))[1]}catch(t){return""}}});var Wa=$,Ga=Dt,za=ft,Ha=function(t){return za(t)||null===t},$a=String,Va=TypeError,Ya=function(t,e,r){try{return Wa(Ga(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Ka=Ze,Ja=function(t){if(Ha(t))return t;throw new Va("Can't set "+$a(t)+" as a prototype")},Qa=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Ya(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Ka(r),Ja(n),e?t(r,n):r.__proto__=n,r}}():void 0);xo({target:"Object",stat:!0},{setPrototypeOf:Qa});var Xa=function(t){function e(t){var r;return c(this,e),r=function(t,e,r){return e=d(e),w(t,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){return!1}}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))}(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(b(r),e),r.name="UnsupportedPlatformError",r.platform=t,Object.setPrototypeOf(b(r),e.prototype),r}return h(e,t),p(e)}(g(Error));function Za(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Za.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&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(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},Za.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},Za.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var ts,es,rs=A(new Za({"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"]})),ns="5.0.6",os=function(){var t=u(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":a(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":a(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),is=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=rs.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:os,getVersion:function(){return ns},readFileFromPath:function(t){throw new Xa("Browser")}}),as=Fo,ss=String,us=function(t){if("Symbol"===as(t))throw new TypeError("Cannot convert a Symbol value to a string");return ss(t)},cs=Ze,ls=function(){var t=cs(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ps=j,fs=P.RegExp,hs=ps((function(){var t=fs("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ds=hs||ps((function(){return!fs("a","y").sticky})),ys={BROKEN_CARET:hs||ps((function(){var t=fs("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ds,UNSUPPORTED_Y:hs},ms=j,gs=P.RegExp,vs=ms((function(){var t=gs(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),bs=j,ws=P.RegExp,xs=bs((function(){var t=ws("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ss=C,Es=$,As=us,Rs=ls,Os=ys,Ps=ma,ks=Yr.get,js=vs,Ts=xs,Is=ee("native-string-replace",String.prototype.replace),_s=RegExp.prototype.exec,Ns=_s,Cs=Es("".charAt),Us=Es("".indexOf),Ls=Es("".replace),Fs=Es("".slice),Bs=(es=/b*/g,Ss(_s,ts=/a/,"a"),Ss(_s,es,"a"),0!==ts.lastIndex||0!==es.lastIndex),Ds=Os.BROKEN_CARET,qs=void 0!==/()??/.exec("")[1];(Bs||qs||Ds||js||Ts)&&(Ns=function(t){var e,r,n,o,i,a,s,u=this,c=ks(u),l=As(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Ss(Ns,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Ds&&u.sticky,d=Ss(Rs,u),y=u.source,m=0,g=l;if(h&&(d=Ls(d,"y",""),-1===Us(d,"g")&&(d+="g"),g=Fs(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Cs(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),qs&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Bs&&(n=u.lastIndex),o=Ss(_s,h?r:u,g),h?o?(o.input=Fs(o.input,m),o[0]=Fs(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Bs&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),qs&&o&&o.length>1&&Ss(Is,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Ps(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var Ms=Ns;xo({target:"RegExp",proto:!0,forced:/./.exec!==Ms},{exec:Ms});var Ws=J,Gs=$,zs=function(t){if("Function"===Ws(t))return Gs(t)},Hs=zs,$s=vn,Vs=Ms,Ys=j,Ks=xe,Js=hr,Qs=Ks("species"),Xs=RegExp.prototype,Zs=function(t,e,r,n){var o=Ks(t),i=!Ys((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!Ys((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Qs]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=Hs(/./[o]),u=e(o,""[t],(function(t,e,r,n,o){var a=Hs(t),u=e.exec;return u===Vs||u===Xs.exec?i&&!o?{done:!0,value:s(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));$s(String.prototype,t,u[0]),$s(Xs,o,u[1])}n&&Js(Xs[o],"sham",!0)},tu=$,eu=En,ru=us,nu=it,ou=tu("".charAt),iu=tu("".charCodeAt),au=tu("".slice),su=function(t){return function(e,r){var n,o,i=ru(nu(e)),a=eu(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=iu(i,a))<55296||n>56319||a+1===s||(o=iu(i,a+1))<56320||o>57343?t?ou(i,a):n:t?au(i,a,a+2):o-56320+(n-55296<<10)+65536}},uu={codeAt:su(!1),charAt:su(!0)},cu=uu.charAt,lu=function(t,e,r){return e+(r?cu(t,e).length:1)},pu=$,fu=oe,hu=Math.floor,du=pu("".charAt),yu=pu("".replace),mu=pu("".slice),gu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vu=/\$([$&'`]|\d{1,2})/g,bu=C,wu=Ze,xu=lt,Su=J,Eu=Ms,Au=TypeError,Ru=function(t,e){var r=t.exec;if(xu(r)){var n=bu(r,t,e);return null!==n&&wu(n),n}if("RegExp"===Su(t))return bu(Eu,t,e);throw new Au("RegExp#exec called on incompatible receiver")},Ou=ji,Pu=C,ku=$,ju=Zs,Tu=j,Iu=Ze,_u=lt,Nu=rt,Cu=En,Uu=Tn,Lu=us,Fu=it,Bu=lu,Du=Wt,qu=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=vu;return void 0!==o&&(o=fu(o),u=gu),yu(i,u,(function(i,u){var c;switch(du(u,0)){case"$":return"$";case"&":return t;case"`":return mu(e,0,r);case"'":return mu(e,a);case"<":c=o[mu(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=hu(l/10);return 0===p?i:p<=s?void 0===n[p-1]?du(u,1):n[p-1]+du(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Mu=Ru,Wu=xe("replace"),Gu=Math.max,zu=Math.min,Hu=ku([].concat),$u=ku([].push),Vu=ku("".indexOf),Yu=ku("".slice),Ku="$0"==="a".replace(/./,"$0"),Ju=!!/./[Wu]&&""===/./[Wu]("a","$0");ju("replace",(function(t,e,r){var n=Ju?"$":"$0";return[function(t,r){var n=Fu(this),o=Nu(t)?void 0:Du(t,Wu);return o?Pu(o,t,n,r):Pu(e,Lu(n),t,r)},function(t,o){var i=Iu(this),a=Lu(t);if("string"==typeof o&&-1===Vu(o,n)&&-1===Vu(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=_u(o);u||(o=Lu(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Mu(i,a))&&($u(f,p),l);){""===Lu(p[0])&&(i.lastIndex=Bu(a,Uu(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=Lu((p=f[m])[0]),b=Gu(zu(Cu(p.index),a.length),0),w=[],x=1;x<p.length;x++)$u(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Hu([v],w,b,a);void 0!==S&&$u(E,S),g=Lu(Ou(o,void 0,E))}else g=qu(v,a,b,w,S,o);b>=y&&(d+=Yu(a,y,b)+g,y=b+v.length)}return d+Yu(a,y)}]}),!!Tu((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ku||Ju);var Qu=xe,Xu=ma,Zu=Ye.f,tc=Qu("unscopables"),ec=Array.prototype;void 0===ec[tc]&&Zu(ec,tc,{configurable:!0,value:Xu(null)});var rc,nc,oc,ic={},ac=!j((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),sc=se,uc=lt,cc=oe,lc=ac,pc=Nr("IE_PROTO"),fc=Object,hc=fc.prototype,dc=lc?fc.getPrototypeOf:function(t){var e=cc(t);if(sc(e,pc))return e[pc];var r=e.constructor;return uc(r)&&e instanceof r?r.prototype:e instanceof fc?hc:null},yc=j,mc=lt,gc=ft,vc=dc,bc=vn,wc=xe("iterator"),xc=!1;[].keys&&("next"in(oc=[].keys())?(nc=vc(vc(oc)))!==Object.prototype&&(rc=nc):xc=!0);var Sc=!gc(rc)||yc((function(){var t={};return rc[wc].call(t)!==t}));Sc&&(rc={}),mc(rc[wc])||bc(rc,wc,(function(){return this}));var Ec={IteratorPrototype:rc,BUGGY_SAFARI_ITERATORS:xc},Ac=Ye.f,Rc=se,Oc=xe("toStringTag"),Pc=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Rc(t,Oc)&&Ac(t,Oc,{configurable:!0,value:e})},kc=Ec.IteratorPrototype,jc=ma,Tc=M,Ic=Pc,_c=ic,Nc=function(){return this},Cc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=jc(kc,{next:Tc(+!n,r)}),Ic(t,o,!1),_c[o]=Nc,t},Uc=xo,Lc=C,Fc=lt,Bc=Cc,Dc=dc,qc=Qa,Mc=Pc,Wc=hr,Gc=vn,zc=ic,Hc=wr.PROPER,$c=wr.CONFIGURABLE,Vc=Ec.IteratorPrototype,Yc=Ec.BUGGY_SAFARI_ITERATORS,Kc=xe("iterator"),Jc="keys",Qc="values",Xc="entries",Zc=function(){return this},tl=function(t,e,r,n,o,i,a){Bc(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!Yc&&t&&t in h)return h[t];switch(t){case Jc:case Qc:case Xc:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[Kc]||h["@@iterator"]||o&&h[o],y=!Yc&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=Dc(m.call(new t)))!==Object.prototype&&s.next&&(Dc(s)!==Vc&&(qc?qc(s,Vc):Fc(s[Kc])||Gc(s,Kc,Zc)),Mc(s,p,!0)),Hc&&o===Qc&&d&&d.name!==Qc&&($c?Wc(h,"name",Qc):(f=!0,y=function(){return Lc(d,this)})),o)if(u={values:l(Qc),keys:i?y:l(Jc),entries:l(Xc)},a)for(c in u)(Yc||f||!(c in h))&&Gc(h,c,u[c]);else Uc({target:e,proto:!0,forced:Yc||f},u);return h[Kc]!==y&&Gc(h,Kc,y,{name:o}),zc[e]=y,u},el=function(t,e){return{value:t,done:e}},rl=ut,nl=function(t){ec[tc][t]=!0},ol=ic,il=Yr,al=Ye.f,sl=tl,ul=el,cl=T,ll="Array Iterator",pl=il.set,fl=il.getterFor(ll),hl=sl(Array,"Array",(function(t,e){pl(this,{type:ll,target:rl(t),index:0,kind:e})}),(function(){var t=fl(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,ul(void 0,!0);switch(t.kind){case"keys":return ul(r,!1);case"values":return ul(e[r],!1)}return ul([r,e[r]],!1)}),"values"),dl=ol.Arguments=ol.Array;if(nl("keys"),nl("values"),nl("entries"),cl&&"values"!==dl.name)try{al(dl,"name",{value:"values"})}catch(t){}var yl=uu.charAt,ml=us,gl=Yr,vl=tl,bl=el,wl="String Iterator",xl=gl.set,Sl=gl.getterFor(wl);vl(String,"String",(function(t){xl(this,{type:wl,string:ml(t),index:0})}),(function(){var t,e=Sl(this),r=e.string,n=e.index;return n>=r.length?bl(void 0,!0):(t=yl(r,n),e.index+=t.length,bl(t,!1))}));var El={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},Al=Le("span").classList,Rl=Al&&Al.constructor&&Al.constructor.prototype,Ol=Rl===Object.prototype?void 0:Rl,Pl=P,kl=El,jl=Ol,Tl=hl,Il=hr,_l=Pc,Nl=xe("iterator"),Cl=Tl.values,Ul=function(t,e){if(t){if(t[Nl]!==Cl)try{Il(t,Nl,Cl)}catch(e){t[Nl]=Cl}if(_l(t,e,!0),kl[e])for(var r in Tl)if(t[r]!==Tl[r])try{Il(t,r,Tl[r])}catch(e){t[r]=Tl[r]}}};for(var Ll in kl)Ul(Pl[Ll]&&Pl[Ll].prototype,Ll);Ul(jl,"DOMTokenList");var Fl=j,Bl=T,Dl=xe("iterator"),ql=!Fl((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),!e.size&&!Bl||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Dl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Ml=Dt,Wl=I,Gl=zs(zs.bind),zl=function(t,e){return Ml(t),void 0===e?t:Wl?Gl(t,e):function(){return t.apply(e,arguments)}},Hl=mt,$l=TypeError,Vl=function(t,e){if(Hl(e,t))return t;throw new $l("Incorrect invocation")},Yl=T,Kl=$,Jl=C,Ql=j,Xl=Yi,Zl=Vn,tp=U,ep=oe,rp=et,np=Object.assign,op=Object.defineProperty,ip=Kl([].concat),ap=!np||Ql((function(){if(Yl&&1!==np({b:1},np(op({},"a",{enumerable:!0,get:function(){op(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==np({},t)[r]||Xl(np({},e)).join("")!==n}))?function(t,e){for(var r=ep(t),n=arguments.length,o=1,i=Zl.f,a=tp.f;n>o;)for(var s,u=rp(arguments[o++]),c=i?ip(Xl(u),i(u)):Xl(u),l=c.length,p=0;l>p;)s=c[p++],Yl&&!Jl(a,u,s)||(r[s]=u[s]);return r}:np,sp=C,up=Ze,cp=Wt,lp=Ze,pp=function(t,e,r){var n,o;up(t);try{if(!(n=cp(t,"return"))){if("throw"===e)throw r;return r}n=sp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return up(n),r},fp=ic,hp=xe("iterator"),dp=Array.prototype,yp=Fo,mp=Wt,gp=rt,vp=ic,bp=xe("iterator"),wp=function(t){if(!gp(t))return mp(t,bp)||mp(t,"@@iterator")||vp[yp(t)]},xp=C,Sp=Dt,Ep=Ze,Ap=Ut,Rp=wp,Op=TypeError,Pp=function(t,e){var r=arguments.length<2?Rp(t):e;if(Sp(r))return Ep(xp(r,t));throw new Op(Ap(t)+" is not iterable")},kp=zl,jp=C,Tp=oe,Ip=function(t,e,r,n){try{return n?e(lp(r)[0],r[1]):e(r)}catch(e){pp(t,"throw",e)}},_p=function(t){return void 0!==t&&(fp.Array===t||dp[hp]===t)},Np=Qo,Cp=_n,Up=ko,Lp=Pp,Fp=wp,Bp=Array,Dp=$,qp=2147483647,Mp=/[^\0-\u007E]/,Wp=/[.\u3002\uFF0E\uFF61]/g,Gp="Overflow: input needs wider integers to process",zp=RangeError,Hp=Dp(Wp.exec),$p=Math.floor,Vp=String.fromCharCode,Yp=Dp("".charCodeAt),Kp=Dp([].join),Jp=Dp([].push),Qp=Dp("".replace),Xp=Dp("".split),Zp=Dp("".toLowerCase),tf=function(t){return t+22+75*(t<26)},ef=function(t,e,r){var n=0;for(t=r?$p(t/700):t>>1,t+=$p(t/e);t>455;)t=$p(t/35),n+=36;return $p(n+36*t/(t+38))},rf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=Yp(t,r++);if(o>=55296&&o<=56319&&r<n){var i=Yp(t,r++);56320==(64512&i)?Jp(e,((1023&o)<<10)+(1023&i)+65536):(Jp(e,o),r--)}else Jp(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,s=72;for(r=0;r<t.length;r++)(n=t[r])<128&&Jp(e,Vp(n));var u=e.length,c=u;for(u&&Jp(e,"-");c<o;){var l=qp;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>$p((qp-a)/p))throw new zp(Gp);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>qp)throw new zp(Gp);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;Jp(e,Vp(tf(d+y%m))),f=$p(y/m),h+=36}Jp(e,Vp(tf(f))),s=ef(a,p,c===u),a=0,c++}}a++,i++}return Kp(e,"")},nf=TypeError,of=function(t,e){if(t<e)throw new nf("Not enough arguments");return t},af=P,sf=T,uf=Object.getOwnPropertyDescriptor,cf=vn,lf=Ti,pf=Math.floor,ff=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=pf(r/2),s=ff(lf(t,0,a),e),u=ff(lf(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},hf=xo,df=P,yf=function(t){if(!sf)return af[t];var e=uf(af,t);return e&&e.value},mf=C,gf=$,vf=T,bf=ql,wf=vn,xf=Na,Sf=function(t,e,r){for(var n in e)cf(t,n,e[n],r);return t},Ef=Pc,Af=Cc,Rf=Yr,Of=Vl,Pf=lt,kf=se,jf=zl,Tf=Fo,If=Ze,_f=ft,Nf=us,Cf=ma,Uf=M,Lf=Pp,Ff=wp,Bf=el,Df=of,qf=ff,Mf=xe("iterator"),Wf="URLSearchParams",Gf=Wf+"Iterator",zf=Rf.set,Hf=Rf.getterFor(Wf),$f=Rf.getterFor(Gf),Vf=yf("fetch"),Yf=yf("Request"),Kf=yf("Headers"),Jf=Yf&&Yf.prototype,Qf=Kf&&Kf.prototype,Xf=df.RegExp,Zf=df.TypeError,th=df.decodeURIComponent,eh=df.encodeURIComponent,rh=gf("".charAt),nh=gf([].join),oh=gf([].push),ih=gf("".replace),ah=gf([].shift),sh=gf([].splice),uh=gf("".split),ch=gf("".slice),lh=/\+/g,ph=Array(4),fh=function(t){return ph[t-1]||(ph[t-1]=Xf("((?:%[\\da-f]{2}){"+t+"})","gi"))},hh=function(t){try{return th(t)}catch(e){return t}},dh=function(t){var e=ih(t,lh," "),r=4;try{return th(e)}catch(t){for(;r;)e=ih(e,fh(r--),hh);return e}},yh=/[!'()~]|%20/g,mh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},gh=function(t){return mh[t]},vh=function(t){return ih(eh(t),yh,gh)},bh=Af((function(t,e){zf(this,{type:Gf,target:Hf(t).entries,index:0,kind:e})}),Wf,(function(){var t=$f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Bf(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Bf(n.key,!1);case"values":return Bf(n.value,!1)}return Bf([n.key,n.value],!1)}),!0),wh=function(t){this.entries=[],this.url=null,void 0!==t&&(_f(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===rh(t,0)?ch(t,1):t:Nf(t)))};wh.prototype={type:Wf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=Ff(t);if(c)for(r=(e=Lf(t,c)).next;!(n=mf(r,e)).done;){if(i=(o=Lf(If(n.value))).next,(a=mf(i,o)).done||(s=mf(i,o)).done||!mf(i,o).done)throw new Zf("Expected sequence with length 2");oh(u,{key:Nf(a.value),value:Nf(s.value)})}else for(var l in t)kf(t,l)&&oh(u,{key:l,value:Nf(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=uh(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=uh(e,"="),oh(n,{key:dh(ah(r)),value:dh(nh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],oh(r,vh(t.key)+"="+vh(t.value));return nh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var xh=function(){Of(this,Sh);var t=zf(this,new wh(arguments.length>0?arguments[0]:void 0));vf||(this.size=t.entries.length)},Sh=xh.prototype;if(Sf(Sh,{append:function(t,e){var r=Hf(this);Df(arguments.length,2),oh(r.entries,{key:Nf(t),value:Nf(e)}),vf||this.length++,r.updateURL()},delete:function(t){for(var e=Hf(this),r=Df(arguments.length,1),n=e.entries,o=Nf(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Nf(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(sh(n,s,1),void 0!==a)break}vf||(this.size=n.length),e.updateURL()},get:function(t){var e=Hf(this).entries;Df(arguments.length,1);for(var r=Nf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=Hf(this).entries;Df(arguments.length,1);for(var r=Nf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&oh(n,e[o].value);return n},has:function(t){for(var e=Hf(this).entries,r=Df(arguments.length,1),n=Nf(t),o=r<2?void 0:arguments[1],i=void 0===o?o:Nf(o),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(t,e){var r=Hf(this);Df(arguments.length,1);for(var n,o=r.entries,i=!1,a=Nf(t),s=Nf(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?sh(o,u--,1):(i=!0,n.value=s));i||oh(o,{key:a,value:s}),vf||(this.size=o.length),r.updateURL()},sort:function(){var t=Hf(this);qf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=Hf(this).entries,n=jf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new bh(this,"keys")},values:function(){return new bh(this,"values")},entries:function(){return new bh(this,"entries")}},{enumerable:!0}),wf(Sh,Mf,Sh.entries,{name:"entries"}),wf(Sh,"toString",(function(){return Hf(this).serialize()}),{enumerable:!0}),vf&&xf(Sh,"size",{get:function(){return Hf(this).entries.length},configurable:!0,enumerable:!0}),Ef(xh,Wf),hf({global:!0,constructor:!0,forced:!bf},{URLSearchParams:xh}),!bf&&Pf(Kf)){var Eh=gf(Qf.has),Ah=gf(Qf.set),Rh=function(t){if(_f(t)){var e,r=t.body;if(Tf(r)===Wf)return e=t.headers?new Kf(t.headers):new Kf,Eh(e,"content-type")||Ah(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Cf(t,{body:Uf(0,Nf(r)),headers:Uf(0,e)})}return t};if(Pf(Vf)&&hf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Vf(t,arguments.length>1?Rh(arguments[1]):{})}}),Pf(Yf)){var Oh=function(t){return Of(this,Jf),new Yf(t,arguments.length>1?Rh(arguments[1]):{})};Jf.constructor=Oh,Oh.prototype=Jf,hf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Oh})}}var Ph,kh=xo,jh=T,Th=ql,Ih=P,_h=zl,Nh=$,Ch=vn,Uh=Na,Lh=Vl,Fh=se,Bh=ap,Dh=function(t){var e=Tp(t),r=Np(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=kp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Fp(e),h=0;if(!f||this===Bp&&_p(f))for(a=Cp(e),s=r?new this(a):Bp(a);a>h;h++)p=i?o(e[h],h):e[h],Up(s,h,p);else for(l=(c=Lp(e,f)).next,s=r?new this:[];!(u=jp(l,c)).done;h++)p=i?Ip(c,o,[u.value,h],!0):u.value,Up(s,h,p);return s.length=h,s},qh=Ti,Mh=uu.codeAt,Wh=function(t){var e,r,n=[],o=Xp(Qp(Zp(t),Wp,"."),".");for(e=0;e<o.length;e++)r=o[e],Jp(n,Hp(Mp,r)?"xn--"+rf(r):r);return Kp(n,".")},Gh=us,zh=Pc,Hh=of,$h={URLSearchParams:xh,getState:Hf},Vh=Yr,Yh=Vh.set,Kh=Vh.getterFor("URL"),Jh=$h.URLSearchParams,Qh=$h.getState,Xh=Ih.URL,Zh=Ih.TypeError,td=Ih.parseInt,ed=Math.floor,rd=Math.pow,nd=Nh("".charAt),od=Nh(/./.exec),id=Nh([].join),ad=Nh(1..toString),sd=Nh([].pop),ud=Nh([].push),cd=Nh("".replace),ld=Nh([].shift),pd=Nh("".split),fd=Nh("".slice),hd=Nh("".toLowerCase),dd=Nh([].unshift),yd="Invalid scheme",md="Invalid host",gd="Invalid port",vd=/[a-z]/i,bd=/[\d+-.a-z]/i,wd=/\d/,xd=/^0x/i,Sd=/^[0-7]+$/,Ed=/^\d+$/,Ad=/^[\da-f]+$/i,Rd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Od=/[\0\t\n\r #/:<>?@[\\\]^|]/,Pd=/^[\u0000-\u0020]+/,kd=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,jd=/[\t\n\r]/g,Td=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)dd(e,t%256),t=ed(t/256);return id(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=ad(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},Id={},_d=Bh({},Id,{" ":1,'"':1,"<":1,">":1,"`":1}),Nd=Bh({},_d,{"#":1,"?":1,"{":1,"}":1}),Cd=Bh({},Nd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ud=function(t,e){var r=Mh(t,0);return r>32&&r<127&&!Fh(e,t)?t:encodeURIComponent(t)},Ld={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Fd=function(t,e){var r;return 2===t.length&&od(vd,nd(t,0))&&(":"===(r=nd(t,1))||!e&&"|"===r)},Bd=function(t){var e;return t.length>1&&Fd(fd(t,0,2))&&(2===t.length||"/"===(e=nd(t,2))||"\\"===e||"?"===e||"#"===e)},Dd=function(t){return"."===t||"%2e"===hd(t)},qd={},Md={},Wd={},Gd={},zd={},Hd={},$d={},Vd={},Yd={},Kd={},Jd={},Qd={},Xd={},Zd={},ty={},ey={},ry={},ny={},oy={},iy={},ay={},sy=function(t,e,r){var n,o,i,a=Gh(t);if(e){if(o=this.parse(a))throw new Zh(o);this.searchParams=null}else{if(void 0!==r&&(n=new sy(r,!0)),o=this.parse(a,null,n))throw new Zh(o);(i=Qh(new Jh)).bindURL(this),this.searchParams=i}};sy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||qd,l=0,p="",f=!1,h=!1,d=!1;for(t=Gh(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=cd(t,Pd,""),t=cd(t,kd,"$1")),t=cd(t,jd,""),n=Dh(t);l<=n.length;){switch(o=n[l],c){case qd:if(!o||!od(vd,o)){if(e)return yd;c=Wd;continue}p+=hd(o),c=Md;break;case Md:if(o&&(od(bd,o)||"+"===o||"-"===o||"."===o))p+=hd(o);else{if(":"!==o){if(e)return yd;p="",c=Wd,l=0;continue}if(e&&(u.isSpecial()!==Fh(Ld,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&Ld[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=Zd:u.isSpecial()&&r&&r.scheme===u.scheme?c=Gd:u.isSpecial()?c=Vd:"/"===n[l+1]?(c=zd,l++):(u.cannotBeABaseURL=!0,ud(u.path,""),c=oy)}break;case Wd:if(!r||r.cannotBeABaseURL&&"#"!==o)return yd;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=qh(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=ay;break}c="file"===r.scheme?Zd:Hd;continue;case Gd:if("/"!==o||"/"!==n[l+1]){c=Hd;continue}c=Yd,l++;break;case zd:if("/"===o){c=Kd;break}c=ny;continue;case Hd:if(u.scheme=r.scheme,o===Ph)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=qh(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=$d;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=qh(r.path),u.query="",c=iy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=qh(r.path),u.path.length--,c=ny;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=qh(r.path),u.query=r.query,u.fragment="",c=ay}break;case $d:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=ny;continue}c=Kd}else c=Yd;break;case Vd:if(c=Yd,"/"!==o||"/"!==nd(p,l+1))continue;l++;break;case Yd:if("/"!==o&&"\\"!==o){c=Kd;continue}break;case Kd:if("@"===o){f&&(p="%40"+p),f=!0,i=Dh(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=Ud(m,Cd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===Ph||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=Dh(p).length+1,p="",c=Jd}else p+=o;break;case Jd:case Qd:if(e&&"file"===u.scheme){c=ey;continue}if(":"!==o||h){if(o===Ph||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return md;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=ry,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return md;if(a=u.parseHost(p))return a;if(p="",c=Xd,e===Qd)return}break;case Xd:if(!od(wd,o)){if(o===Ph||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=td(p,10);if(v>65535)return gd;u.port=u.isSpecial()&&v===Ld[u.scheme]?null:v,p=""}if(e)return;c=ry;continue}return gd}p+=o;break;case Zd:if(u.scheme="file","/"===o||"\\"===o)c=ty;else{if(!r||"file"!==r.scheme){c=ny;continue}switch(o){case Ph:u.host=r.host,u.path=qh(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=qh(r.path),u.query="",c=iy;break;case"#":u.host=r.host,u.path=qh(r.path),u.query=r.query,u.fragment="",c=ay;break;default:Bd(id(qh(n,l),""))||(u.host=r.host,u.path=qh(r.path),u.shortenPath()),c=ny;continue}}break;case ty:if("/"===o||"\\"===o){c=ey;break}r&&"file"===r.scheme&&!Bd(id(qh(n,l),""))&&(Fd(r.path[0],!0)?ud(u.path,r.path[0]):u.host=r.host),c=ny;continue;case ey:if(o===Ph||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&Fd(p))c=ny;else if(""===p){if(u.host="",e)return;c=ry}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=ry}continue}p+=o;break;case ry:if(u.isSpecial()){if(c=ny,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Ph&&(c=ny,"/"!==o))continue}else u.fragment="",c=ay;else u.query="",c=iy;break;case ny:if(o===Ph||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=hd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||ud(u.path,"")):Dd(p)?"/"===o||"\\"===o&&u.isSpecial()||ud(u.path,""):("file"===u.scheme&&!u.path.length&&Fd(p)&&(u.host&&(u.host=""),p=nd(p,0)+":"),ud(u.path,p)),p="","file"===u.scheme&&(o===Ph||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)ld(u.path);"?"===o?(u.query="",c=iy):"#"===o&&(u.fragment="",c=ay)}else p+=Ud(o,Nd);break;case oy:"?"===o?(u.query="",c=iy):"#"===o?(u.fragment="",c=ay):o!==Ph&&(u.path[0]+=Ud(o,Id));break;case iy:e||"#"!==o?o!==Ph&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":Ud(o,Id)):(u.fragment="",c=ay);break;case ay:o!==Ph&&(u.fragment+=Ud(o,_d))}l++}},parseHost:function(t){var e,r,n;if("["===nd(t,0)){if("]"!==nd(t,t.length-1))return md;if(e=function(t){var e,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return nd(t,p)};if(":"===f()){if(":"!==nd(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&od(Ad,f());)e=16*e+td(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!od(wd,f()))return;for(;od(wd,f());){if(i=td(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;p++,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}(fd(t,1,-1)),!e)return md;this.host=e}else if(this.isSpecial()){if(t=Wh(t),od(Rd,t))return md;if(e=function(t){var e,r,n,o,i,a,s,u=pd(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===nd(o,0)&&(i=od(xd,o)?16:8,o=fd(o,8===i?1:2)),""===o)a=0;else{if(!od(10===i?Ed:8===i?Sd:Ad,o))return t;a=td(o,i)}ud(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=rd(256,5-e))return null}else if(a>255)return null;for(s=sd(r),n=0;n<r.length;n++)s+=r[n]*rd(256,3-n);return s}(t),null===e)return md;this.host=e}else{if(od(Od,t))return md;for(e="",r=Dh(t),n=0;n<r.length;n++)e+=Ud(r[n],Id);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Fh(Ld,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&Fd(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Td(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+id(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new Zh(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new uy(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+Td(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Gh(t)+":",qd)},getUsername:function(){return this.username},setUsername:function(t){var e=Dh(Gh(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=Ud(e[r],Cd)}},getPassword:function(){return this.password},setPassword:function(t){var e=Dh(Gh(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=Ud(e[r],Cd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?Td(t):Td(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Jd)},getHostname:function(){var t=this.host;return null===t?"":Td(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Qd)},getPort:function(){var t=this.port;return null===t?"":Gh(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=Gh(t))?this.port=null:this.parse(t,Xd))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+id(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,ry))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=Gh(t))?this.query=null:("?"===nd(t,0)&&(t=fd(t,1)),this.query="",this.parse(t,iy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=Gh(t))?("#"===nd(t,0)&&(t=fd(t,1)),this.fragment="",this.parse(t,ay)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var uy=function(t){var e=Lh(this,cy),r=Hh(arguments.length,1)>1?arguments[1]:void 0,n=Yh(e,new sy(t,!1,r));jh||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},cy=uy.prototype,ly=function(t,e){return{get:function(){return Kh(this)[t]()},set:e&&function(t){return Kh(this)[e](t)},configurable:!0,enumerable:!0}};if(jh&&(Uh(cy,"href",ly("serialize","setHref")),Uh(cy,"origin",ly("getOrigin")),Uh(cy,"protocol",ly("getProtocol","setProtocol")),Uh(cy,"username",ly("getUsername","setUsername")),Uh(cy,"password",ly("getPassword","setPassword")),Uh(cy,"host",ly("getHost","setHost")),Uh(cy,"hostname",ly("getHostname","setHostname")),Uh(cy,"port",ly("getPort","setPort")),Uh(cy,"pathname",ly("getPathname","setPathname")),Uh(cy,"search",ly("getSearch","setSearch")),Uh(cy,"searchParams",ly("getSearchParams")),Uh(cy,"hash",ly("getHash","setHash"))),Ch(cy,"toJSON",(function(){return Kh(this).serialize()}),{enumerable:!0}),Ch(cy,"toString",(function(){return Kh(this).serialize()}),{enumerable:!0}),Xh){var py=Xh.createObjectURL,fy=Xh.revokeObjectURL;py&&Ch(uy,"createObjectURL",_h(py,Xh)),fy&&Ch(uy,"revokeObjectURL",_h(fy,Xh))}zh(uy,"URL"),kh({global:!0,constructor:!0,forced:!Th,sham:!jh},{URL:uy});var hy="\t\n\v\f\r \u2028\u2029\ufeff",dy=it,yy=us,my=hy,gy=$("".replace),vy=RegExp("^["+my+"]+"),by=RegExp("(^|[^"+my+"])["+my+"]+$"),wy=function(t){return function(e){var r=yy(dy(e));return 1&t&&(r=gy(r,vy,"")),2&t&&(r=gy(r,by,"$1")),r}},xy={start:wy(1),end:wy(2),trim:wy(3)},Sy=P,Ey=j,Ay=us,Ry=xy.trim,Oy=hy,Py=$("".charAt),ky=Sy.parseFloat,jy=Sy.Symbol,Ty=jy&&jy.iterator,Iy=1/ky(Oy+"-0")!=-1/0||Ty&&!Ey((function(){ky(Object(Ty))}))?function(t){var e=Ry(Ay(t)),r=ky(e);return 0===r&&"-"===Py(e,0)?-0:r}:ky;xo({global:!0,forced:parseFloat!==Iy},{parseFloat:Iy});var _y=$,Ny=vn,Cy=Date.prototype,Uy="Invalid Date",Ly="toString",Fy=_y(Cy[Ly]),By=_y(Cy.getTime);String(new Date(NaN))!==Uy&&Ny(Cy,Ly,(function(){var t=By(this);return t==t?Fy(this):Uy}));var Dy=C,qy=se,My=mt,Wy=ls,Gy=RegExp.prototype,zy=wr.PROPER,Hy=vn,$y=Ze,Vy=us,Yy=j,Ky=function(t){var e=t.flags;return void 0!==e||"flags"in Gy||qy(t,"flags")||!My(Gy,t)?e:Dy(Wy,t)},Jy="toString",Qy=RegExp.prototype,Xy=Qy[Jy],Zy=Yy((function(){return"/a/b"!==Xy.call({source:"a",flags:"b"})})),tm=zy&&Xy.name!==Jy;(Zy||tm)&&Hy(Qy,Jy,(function(){var t=$y(this);return"/"+Vy(t.source)+"/"+Vy(Ky(t))}),{unsafe:!0});var em=zl,rm=et,nm=oe,om=_n,im=oi,am=$([].push),sm=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(u,c,l,p){for(var f,h,d=nm(u),y=rm(d),m=om(y),g=em(c,l),v=0,b=p||im,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:am(w,f)}else switch(t){case 4:return!1;case 7:am(w,f)}return i?-1:n||o?o:w}},um={forEach:sm(0),map:sm(1),filter:sm(2),some:sm(3),every:sm(4),find:sm(5),findIndex:sm(6),filterReject:sm(7)},cm=um.map;xo({target:"Array",proto:!0,forced:!ui("map")},{map:function(t){return cm(this,t,arguments.length>1?arguments[1]:void 0)}});var lm=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},pm=["endpointName"],fm=function(){function t(e,r){c(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return p(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,o=v(t,pm);return n({api:e.buildPathWithGuestSpaceId({endpointName:r})},o)}return t})),o=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(o,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return lm(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=["preview"],vm=["preview"],bm=["preview"],wm=["preview"],xm=["preview"],Sm=["preview"],Em=["preview"],Am=["preview"],Rm=["preview"],Om=["preview"],Pm=function(){function t(e,r){c(this,t),this.client=e,this.guestSpaceId=r}var e;return p(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,hm),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(o,n({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=v(t,dm),o=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(o,n({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=v(t,ym),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(e=u(o().mark((function t(e){var r,i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,i=e.space,a=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!i){t.next=9;break}return s=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(s,{id:i});case 6:return u=t.sent,c=u.defaultThread,t.abrupt("return",this.client.post(a,n(n({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(a,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=v(t,mm),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=v(t,gm),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=v(t,vm),o=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=v(t,bm),o=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=v(t,wm),o=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(o,n({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=v(t,xm),o=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(o,n({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=v(t,Sm),o=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(o,n({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=v(t,Em),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=v(t,Am),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=v(t,Rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=v(t,Om),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return lm(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),km=ap;xo({target:"Object",stat:!0,arity:2,forced:Object.assign!==km},{assign:km});var jm=C,Tm=Ze,Im=rt,_m=Tn,Nm=us,Cm=it,Um=Wt,Lm=lu,Fm=Ru;Zs("match",(function(t,e,r){return[function(e){var r=Cm(this),n=Im(e)?void 0:Um(e,t);return n?jm(n,e,r):new RegExp(e)[t](Nm(r))},function(t){var n=Tm(this),o=Nm(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Fm(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=Fm(n,o));){var l=Nm(s[0]);u[c]=l,""===l&&(n.lastIndex=Lm(o,_m(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Bm=P,Dm=lt,qm=ft,Mm=Qa,Wm=$(1..valueOf),Gm=xo,zm=T,Hm=P,$m=Bm,Vm=$,Ym=fo,Km=se,Jm=function(t,e,r){var n,o;return Mm&&Dm(n=e.constructor)&&n!==r&&qm(o=n.prototype)&&o!==r.prototype&&Mm(t,o),t},Qm=mt,Xm=Nt,Zm=je,tg=j,eg=bn.f,rg=k.f,ng=Ye.f,og=Wm,ig=xy.trim,ag="Number",sg=Hm[ag];$m[ag];var ug=sg.prototype,cg=Hm.TypeError,lg=Vm("".slice),pg=Vm("".charCodeAt),fg=function(t){var e,r,n,o,i,a,s,u,c=Zm(t,"number");if(Xm(c))throw new cg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=ig(c),43===(e=pg(c,0))||45===e){if(88===(r=pg(c,2))||120===r)return NaN}else if(48===e){switch(pg(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=lg(c,2)).length,s=0;s<a;s++)if((u=pg(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},hg=Ym(ag,!sg(" 0o1")||!sg("0b1")||sg("+0x1")),dg=function(t){var e,r=arguments.length<1?0:sg(function(t){var e=Zm(t,"number");return"bigint"==typeof e?e:fg(e)}(t));return Qm(ug,e=this)&&tg((function(){og(e)}))?Jm(Object(r),this,dg):r};dg.prototype=ug,hg&&(ug.constructor=dg),Gm({global:!0,constructor:!0,wrap:!0,forced:hg},{Number:dg});hg&&function(t,e){for(var r,n=zm?eg(e):"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++)Km(e,r=n[o])&&!Km(t,r)&&ng(t,r,rg(e,r))}($m[ag],sg);var yg=j,mg=function(t,e){var r=[][t];return!!r&&yg((function(){r.call(null,e||function(){return 1},1)}))},gg=xo,vg=Fn.indexOf,bg=mg,wg=zs([].indexOf),xg=!!wg&&1/wg([1],1,-0)<0;gg({target:"Array",proto:!0,forced:xg||!bg("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return xg?wg(this,t,e)||0:vg(this,t,e)}});var Sg=um.every;xo({target:"Array",proto:!0,forced:!mg("every")},{every:function(t){return Sg(this,t,arguments.length>1?arguments[1]:void 0)}}),xo({target:"Array",stat:!0},{isArray:Eo});var Eg=xo,Ag=Eo,Rg=Qo,Og=ft,Pg=Pn,kg=_n,jg=ut,Tg=ko,Ig=xe,_g=Ti,Ng=ui("slice"),Cg=Ig("species"),Ug=Array,Lg=Math.max;Eg({target:"Array",proto:!0,forced:!Ng},{slice:function(t,e){var r,n,o,i=jg(this),a=kg(i),s=Pg(t,a),u=Pg(void 0===e?a:e,a);if(Ag(i)&&(r=i.constructor,(Rg(r)&&(r===Ug||Ag(r.prototype))||Og(r)&&null===(r=r[Cg]))&&(r=void 0),r===Ug||void 0===r))return _g(i,s,u);for(n=new(void 0===r?Ug:r)(Lg(u-s,0)),o=0;s<u;s++,o++)s in i&&Tg(n,o,i[s]);return n.length=o,n}});var Fg=Dt,Bg=oe,Dg=et,qg=_n,Mg=TypeError,Wg=function(t){return function(e,r,n,o){var i=Bg(e),a=Dg(i),s=qg(i);Fg(r);var u=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw new Mg("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},Gg={left:Wg(!1),right:Wg(!0)},zg="process"===J(P.process),Hg=Gg.left;xo({target:"Array",proto:!0,forced:!zg&&Et>79&&Et<83||!mg("reduce")},{reduce:function(t){var e=arguments.length;return Hg(this,t,e,e>1?arguments[1]:void 0)}});var $g=um.forEach,Vg=mg("forEach")?[].forEach:function(t){return $g(this,t,arguments.length>1?arguments[1]:void 0)};xo({target:"Array",proto:!0,forced:[].forEach!==Vg},{forEach:Vg});var Yg=P,Kg=El,Jg=Ol,Qg=Vg,Xg=hr,Zg=function(t){if(t&&t.forEach!==Qg)try{Xg(t,"forEach",Qg)}catch(e){t.forEach=Qg}};for(var tv in Kg)Kg[tv]&&Zg(Yg[tv]&&Yg[tv].prototype);Zg(Jg);var ev=oe,rv=Yi;xo({target:"Object",stat:!0,forced:j((function(){rv(1)}))},{keys:function(t){return rv(ev(t))}});var nv=function(t){function e(t,r,n,o,i){var a;c(this,e);var s=n-r.length,u=e.extractErrorIndex(s,o,i),l=e.buildErrorMessage(s,n,u);return(a=function(t,e,r){return e=d(e),w(t,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){return!1}}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))}(this,e,[l])).name="KintoneAllRecordsError",a.processedRecordsResult=t,a.unprocessedRecords=r,a.error=o,a.errorIndex=u,a.message=l,a.numOfProcessedRecords=s,a.numOfAllRecords=n,Object.setPrototypeOf(b(a),e.prototype),a}return h(e,t),p(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}]),e}(g(Error)),ov=["condition","orderBy","withCursor"],iv=["fields","condition"],av=["condition","orderBy"],sv=500,uv=function(){function t(e,r,n){c(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,s,l,h,d,y,m,g,b,w,S,E;return p(t,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(E=u(o().mark((function t(e){var r,n,i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,i=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(a=t.sent,!((s=a.records).length>0)){t.next=13;break}if("__ID__"!==s[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return u=t.sent,c=u.revision,t.abrupt("return",{id:s[0].$id.value,revision:c});case 12: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 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},i,f({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"getRecords",value:(S=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[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:(w=u(o().mark((function t(e){var r,n,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,i=n.ids,a=n.revisions,t.abrupt("return",{ids:i,revisions:a,records:i.map((function(t,e){return{id:t,revision:a[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return w.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(b=u(o().mark((function t(e){var r,i,a,s,u,c,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,s=void 0===a||a,u=v(e,ov),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},u),{},{condition:r})));case 3:if(!s){t.next=7;break}return c=r?"".concat(r," "):"",l="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},u),{},{query:l})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},u),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(g=u(o().mark((function t(e){var r,i,a,s,u,c,l,p,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,i=e.condition,a=v(e,iv),(s=r)&&s.length>0&&-1===s.indexOf("$id")&&(s=[].concat(x(s),["$id"])),u=i?"(".concat(i,") and "):"",c=[],l="0";case 6:return p="".concat(u,"$id > ").concat(l," order by $id asc limit ").concat(sv),t.next=10,this.getRecords(n(n({},a),{},{fields:s,query:p}));case 10:if(f=t.sent,c=c.concat(f.records),!(f.records.length<sv)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(h=f.records[f.records.length-1]).$id.type){t.next=19;break}l=h.$id.value,t.next=20;break;case 19: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 20:t.next=6;break;case 22:return t.abrupt("return",c);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(m=u(o().mark((function t(e){var r,i,a,s,u,c,l,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,i=e.orderBy,a=v(e,av),s=r?"".concat(r," "):"",u=[],c=0;case 4:return l="".concat(s).concat(i?"order by ".concat(i," "):"","limit ").concat(sv," offset ").concat(c),t.next=8,this.getRecords(n(n({},a),{},{query:l}));case 8:if(p=t.sent,u=u.concat(p.records),!(p.records.length<sv)){t.next=12;break}return t.abrupt("break",15);case 12:c+=sv,t.next=4;break;case 15:return t.abrupt("return",u);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(y=u(o().mark((function t(e){var r,n,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,i=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(a=t.sent,i=i.concat(a.records),a.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",i);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(h=u(o().mark((function t(e,r,n){var i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,s=e.records,0!==(u=s.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new nv({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:s.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return h.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(l=u(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"updateAllRecords",value:(s=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(a=u(o().mark((function t(e,r,n){var i,a,s,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,a=e.app,s=e.records,0!==(u=s.slice(0,i)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:a,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new nv({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:s.slice(i)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return a.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(i=u(o().mark((function t(e){var r,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return i=t.sent.results,t.abrupt("return",i.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=u(o().mark((function t(e,r){var n,i,a,s;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,a=e.records,0!==(s=a.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:i,records:s});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new nv({},a,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:i,records:a.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(x(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return lm(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),cv=A("object"==typeof self?self.FormData:window.FormData),lv=function(){function t(e,r){c(this,t),this.client=e,this.guestSpaceId=r}var r;return p(t,[{key:"uploadFile",value:(r=u(o().mark((function t(r){var n,i,a,s,u,c,l,p,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new cv,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:a=t.sent,s=a.name,u=a.data,i.append("file",u,s),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Xa)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,l=c.name,p=c.data,f=e.buildFormDataValue(p,l),i.append("file",f,l);case 22:return t.abrupt("return",this.client.postData(n,i));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return lm(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),pv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function fv(t,e){return function(){return t.apply(e,arguments)}}const{toString:hv}=Object.prototype,{getPrototypeOf:dv}=Object,yv=(mv=Object.create(null),t=>{const e=hv.call(t);return mv[e]||(mv[e]=e.slice(8,-1).toLowerCase())});var mv;const gv=t=>(t=t.toLowerCase(),e=>yv(e)===t),vv=t=>e=>typeof e===t,{isArray:bv}=Array,wv=vv("undefined");const xv=gv("ArrayBuffer");const Sv=vv("string"),Ev=vv("function"),Av=vv("number"),Rv=t=>null!==t&&"object"==typeof t,Ov=t=>{if("object"!==yv(t))return!1;const e=dv(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Pv=gv("Date"),kv=gv("File"),jv=gv("Blob"),Tv=gv("FileList"),Iv=gv("URLSearchParams");function _v(t,e){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=t)if("object"!=typeof t&&(t=[t]),bv(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{const n=o?Object.getOwnPropertyNames(t):Object.keys(t),i=n.length;let a;for(r=0;r<i;r++)a=n[r],e.call(null,t[a],a,t)}}function Nv(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const Cv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:pv,Uv=t=>!wv(t)&&t!==Cv;const Lv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&dv(Uint8Array)),Fv=gv("HTMLFormElement"),Bv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),Dv=gv("RegExp"),qv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};_v(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},Mv="abcdefghijklmnopqrstuvwxyz",Wv="0123456789",Gv={DIGIT:Wv,ALPHA:Mv,ALPHA_DIGIT:Mv+Mv.toUpperCase()+Wv};const zv=gv("AsyncFunction");var Hv={isArray:bv,isArrayBuffer:xv,isBuffer:function(t){return null!==t&&!wv(t)&&null!==t.constructor&&!wv(t.constructor)&&Ev(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Ev(t.append)&&("formdata"===(e=yv(t))||"object"===e&&Ev(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&xv(t.buffer),e},isString:Sv,isNumber:Av,isBoolean:t=>!0===t||!1===t,isObject:Rv,isPlainObject:Ov,isUndefined:wv,isDate:Pv,isFile:kv,isBlob:jv,isRegExp:Dv,isFunction:Ev,isStream:t=>Rv(t)&&Ev(t.pipe),isURLSearchParams:Iv,isTypedArray:Lv,isFileList:Tv,forEach:_v,merge:function t(){const{caseless:e}=Uv(this)&&this||{},r={},n=(n,o)=>{const i=e&&Nv(r,o)||o;Ov(r[i])&&Ov(n)?r[i]=t(r[i],n):Ov(n)?r[i]=t({},n):bv(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&_v(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return _v(e,((e,n)=>{r&&Ev(e)?t[n]=fv(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&dv(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:yv,kindOfTest:gv,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(bv(t))return t;let e=t.length;if(!Av(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:Fv,hasOwnProperty:Bv,hasOwnProp:Bv,reduceDescriptors:qv,freezeMethods:t=>{qv(t,((e,r)=>{if(Ev(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Ev(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return bv(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:Nv,global:Cv,isContextDefined:Uv,ALPHABET:Gv,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gv.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Ev(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(Rv(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=bv(t)?[]:{};return _v(t,((t,e)=>{const i=r(t,n+1);!wv(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:zv,isThenable:t=>t&&(Rv(t)||Ev(t))&&Ev(t.then)&&Ev(t.catch)},$v=[],Vv=[],Yv="undefined"!=typeof Uint8Array?Uint8Array:Array,Kv=!1;function Jv(){Kv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)$v[e]=t[e],Vv[t.charCodeAt(e)]=e;Vv["-".charCodeAt(0)]=62,Vv["_".charCodeAt(0)]=63}function Qv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push($v[(o=n)>>18&63]+$v[o>>12&63]+$v[o>>6&63]+$v[63&o]);return i.join("")}function Xv(t){var e;Kv||Jv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Qv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=$v[e>>2],o+=$v[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=$v[e>>10],o+=$v[e>>4&63],o+=$v[e<<2&63],o+="="),i.push(o),i.join("")}function Zv(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=t[e+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+p],p+=f,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 tb(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*u-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var eb={}.toString,rb=Array.isArray||function(t){return"[object Array]"==eb.call(t)};function nb(){return ib.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ob(t,e){if(nb()<e)throw new RangeError("Invalid typed array length");return ib.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=ib.prototype:(null===t&&(t=new ib(e)),t.length=e),t}function ib(t,e,r){if(!(ib.TYPED_ARRAY_SUPPORT||this instanceof ib))return new ib(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return ub(this,t)}return ab(this,t,e,r)}function ab(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);ib.TYPED_ARRAY_SUPPORT?(t=e).__proto__=ib.prototype:t=cb(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!ib.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|fb(e,r);t=ob(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(pb(e)){var r=0|lb(e.length);return 0===(t=ob(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?ob(t,0):cb(t,e);if("Buffer"===e.type&&rb(e.data))return cb(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function sb(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function ub(t,e){if(sb(e),t=ob(t,e<0?0:0|lb(e)),!ib.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function cb(t,e){var r=e.length<0?0:0|lb(e.length);t=ob(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function lb(t){if(t>=nb())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nb().toString(16)+" bytes");return 0|t}function pb(t){return!(null==t||!t._isBuffer)}function fb(t,e){if(pb(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Db(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return qb(t).length;default:if(n)return Db(t).length;e=(""+e).toLowerCase(),n=!0}}function hb(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return kb(this,e,r);case"utf8":case"utf-8":return Ab(this,e,r);case"ascii":return Ob(this,e,r);case"latin1":case"binary":return Pb(this,e,r);case"base64":return Eb(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function db(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function yb(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=ib.from(e,n)),pb(e))return 0===e.length?-1:mb(t,e,r,n,o);if("number"==typeof e)return e&=255,ib.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):mb(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function mb(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-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 p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function gb(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.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(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function vb(t,e,r,n){return Mb(Db(e,t.length-r),t,r,n)}function bb(t,e,r,n){return Mb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function wb(t,e,r,n){return bb(t,e,r,n)}function xb(t,e,r,n){return Mb(qb(e),t,r,n)}function Sb(t,e,r,n){return Mb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function Eb(t,e,r){return 0===e&&r===t.length?Xv(t):Xv(t.slice(e,r))}function Ab(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[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=t[o+1],a=t[o+2],s=t[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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=Rb)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Rb));return r}(n)}ib.TYPED_ARRAY_SUPPORT=void 0===pv.TYPED_ARRAY_SUPPORT||pv.TYPED_ARRAY_SUPPORT,nb(),ib.poolSize=8192,ib._augment=function(t){return t.__proto__=ib.prototype,t},ib.from=function(t,e,r){return ab(null,t,e,r)},ib.TYPED_ARRAY_SUPPORT&&(ib.prototype.__proto__=Uint8Array.prototype,ib.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&ib[Symbol.species]),ib.alloc=function(t,e,r){return function(t,e,r,n){return sb(e),e<=0?ob(t,e):void 0!==r?"string"==typeof n?ob(t,e).fill(r,n):ob(t,e).fill(r):ob(t,e)}(null,t,e,r)},ib.allocUnsafe=function(t){return ub(null,t)},ib.allocUnsafeSlow=function(t){return ub(null,t)},ib.isBuffer=function(t){return null!=t&&(!!t._isBuffer||Wb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Wb(t.slice(0,0))}(t))},ib.compare=function(t,e){if(!pb(t)||!pb(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},ib.isEncoding=function(t){switch(String(t).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}},ib.concat=function(t,e){if(!rb(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return ib.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=ib.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!pb(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},ib.byteLength=fb,ib.prototype._isBuffer=!0,ib.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)db(this,e,e+1);return this},ib.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)db(this,e,e+3),db(this,e+1,e+2);return this},ib.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)db(this,e,e+7),db(this,e+1,e+6),db(this,e+2,e+5),db(this,e+3,e+4);return this},ib.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Ab(this,0,t):hb.apply(this,arguments)},ib.prototype.equals=function(t){if(!pb(t))throw new TypeError("Argument must be a Buffer");return this===t||0===ib.compare(this,t)},ib.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},ib.prototype.compare=function(t,e,r,n,o){if(!pb(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,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},ib.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},ib.prototype.indexOf=function(t,e,r){return yb(this,t,e,r,!0)},ib.prototype.lastIndexOf=function(t,e,r){return yb(this,t,e,r,!1)},ib.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return gb(this,t,e,r);case"utf8":case"utf-8":return vb(this,t,e,r);case"ascii":return bb(this,t,e,r);case"latin1":case"binary":return wb(this,t,e,r);case"base64":return xb(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sb(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},ib.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Rb=4096;function Ob(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function Pb(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function kb(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Bb(t[i]);return o}function jb(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function Tb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function Ib(t,e,r,n,o,i){if(!pb(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function _b(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Nb(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function Cb(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ub(t,e,r,n,o){return o||Cb(t,0,r,4),tb(t,e,r,n,23,4),r+4}function Lb(t,e,r,n,o){return o||Cb(t,0,r,8),tb(t,e,r,n,52,8),r+8}ib.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),ib.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=ib.prototype;else{var o=e-t;r=new ib(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},ib.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Tb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},ib.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Tb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},ib.prototype.readUInt8=function(t,e){return e||Tb(t,1,this.length),this[t]},ib.prototype.readUInt16LE=function(t,e){return e||Tb(t,2,this.length),this[t]|this[t+1]<<8},ib.prototype.readUInt16BE=function(t,e){return e||Tb(t,2,this.length),this[t]<<8|this[t+1]},ib.prototype.readUInt32LE=function(t,e){return e||Tb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},ib.prototype.readUInt32BE=function(t,e){return e||Tb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},ib.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Tb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},ib.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Tb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},ib.prototype.readInt8=function(t,e){return e||Tb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},ib.prototype.readInt16LE=function(t,e){e||Tb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},ib.prototype.readInt16BE=function(t,e){e||Tb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},ib.prototype.readInt32LE=function(t,e){return e||Tb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},ib.prototype.readInt32BE=function(t,e){return e||Tb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},ib.prototype.readFloatLE=function(t,e){return e||Tb(t,4,this.length),Zv(this,t,!0,23,4)},ib.prototype.readFloatBE=function(t,e){return e||Tb(t,4,this.length),Zv(this,t,!1,23,4)},ib.prototype.readDoubleLE=function(t,e){return e||Tb(t,8,this.length),Zv(this,t,!0,52,8)},ib.prototype.readDoubleBE=function(t,e){return e||Tb(t,8,this.length),Zv(this,t,!1,52,8)},ib.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Ib(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},ib.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Ib(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},ib.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,1,255,0),ib.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},ib.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,2,65535,0),ib.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):_b(this,t,e,!0),e+2},ib.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,2,65535,0),ib.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):_b(this,t,e,!1),e+2},ib.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,4,4294967295,0),ib.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Nb(this,t,e,!0),e+4},ib.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,4,4294967295,0),ib.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Nb(this,t,e,!1),e+4},ib.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Ib(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},ib.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);Ib(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},ib.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,1,127,-128),ib.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},ib.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,2,32767,-32768),ib.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):_b(this,t,e,!0),e+2},ib.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,2,32767,-32768),ib.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):_b(this,t,e,!1),e+2},ib.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,4,2147483647,-2147483648),ib.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Nb(this,t,e,!0),e+4},ib.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Ib(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),ib.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Nb(this,t,e,!1),e+4},ib.prototype.writeFloatLE=function(t,e,r){return Ub(this,t,e,!0,r)},ib.prototype.writeFloatBE=function(t,e,r){return Ub(this,t,e,!1,r)},ib.prototype.writeDoubleLE=function(t,e,r){return Lb(this,t,e,!0,r)},ib.prototype.writeDoubleBE=function(t,e,r){return Lb(this,t,e,!1,r)},ib.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!ib.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},ib.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!ib.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=pb(t)?t:Db(new ib(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var Fb=/[^+\/0-9A-Za-z-_]/g;function Bb(t){return t<16?"0"+t.toString(16):t.toString(16)}function Db(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function qb(t){return function(t){var e,r,n,o,i,a;Kv||Jv();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,a=new Yv(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)o=Vv[t.charCodeAt(e)]<<18|Vv[t.charCodeAt(e+1)]<<12|Vv[t.charCodeAt(e+2)]<<6|Vv[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Vv[t.charCodeAt(e)]<<2|Vv[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=Vv[t.charCodeAt(e)]<<10|Vv[t.charCodeAt(e+1)]<<4|Vv[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Fb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Mb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function Wb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function Gb(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Hv.inherits(Gb,Error,{toJSON:function(){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:Hv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const zb=Gb.prototype,Hb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Hb[t]={value:t}})),Object.defineProperties(Gb,Hb),Object.defineProperty(zb,"isAxiosError",{value:!0}),Gb.from=(t,e,r,n,o,i)=>{const a=Object.create(zb);return Hv.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Gb.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function $b(t){return Hv.isPlainObject(t)||Hv.isArray(t)}function Vb(t){return Hv.endsWith(t,"[]")?t.slice(0,-2):t}function Yb(t,e,r){return t?t.concat(e).map((function(t,e){return t=Vb(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const Kb=Hv.toFlatObject(Hv,{},null,(function(t){return/^is[A-Z]/.test(t)}));function Jb(t,e,r){if(!Hv.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Hv.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Hv.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Hv.isSpecCompliantForm(e);if(!Hv.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Hv.isDate(t))return t.toISOString();if(!s&&Hv.isBlob(t))throw new Gb("Blob is not supported. Use a Buffer instead.");return Hv.isArrayBuffer(t)||Hv.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):ib.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(Hv.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Hv.isArray(t)&&function(t){return Hv.isArray(t)&&!t.some($b)}(t)||(Hv.isFileList(t)||Hv.endsWith(r,"[]"))&&(s=Hv.toArray(t)))return r=Vb(r),s.forEach((function(t,n){!Hv.isUndefined(t)&&null!==t&&e.append(!0===a?Yb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!$b(t)||(e.append(Yb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(Kb,{defaultVisitor:c,convertValue:u,isVisitable:$b});if(!Hv.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Hv.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Hv.forEach(r,(function(r,i){!0===(!(Hv.isUndefined(r)||null===r)&&o.call(e,r,Hv.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function Qb(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Xb(t,e){this._pairs=[],t&&Jb(t,this,e)}const Zb=Xb.prototype;function tw(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ew(t,e,r){if(!e)return t;const n=r&&r.encode||tw,o=r&&r.serialize;let i;if(i=o?o(e,r):Hv.isURLSearchParams(e)?e.toString():new Xb(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}Zb.append=function(t,e){this._pairs.push([t,e])},Zb.toString=function(t){const e=t?function(e){return t.call(this,e,Qb)}:Qb;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class rw{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Hv.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var nw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ow={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Xb,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const iw="undefined"!=typeof window&&"undefined"!=typeof document,aw=(sw="undefined"!=typeof navigator&&navigator.product,iw&&["ReactNative","NativeScript","NS"].indexOf(sw)<0);var sw;const uw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var cw={...Object.freeze({__proto__:null,hasBrowserEnv:iw,hasStandardBrowserEnv:aw,hasStandardBrowserWebWorkerEnv:uw}),...ow};function lw(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Hv.isArray(n)?n.length:i,s)return Hv.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Hv.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&Hv.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(Hv.isFormData(t)&&Hv.isFunction(t.entries)){const r={};return Hv.forEachEntry(t,((t,n)=>{e(function(t){return Hv.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const pw={transitional:nw,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Hv.isObject(t);o&&Hv.isHTMLForm(t)&&(t=new FormData(t));if(Hv.isFormData(t))return n&&n?JSON.stringify(lw(t)):t;if(Hv.isArrayBuffer(t)||Hv.isBuffer(t)||Hv.isStream(t)||Hv.isFile(t)||Hv.isBlob(t))return t;if(Hv.isArrayBufferView(t))return t.buffer;if(Hv.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Jb(t,new cw.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return cw.isNode&&Hv.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Hv.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Jb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Hv.isString(t))try{return(e||JSON.parse)(t),Hv.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||pw.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&Hv.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw Gb.from(t,Gb.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:cw.classes.FormData,Blob:cw.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Hv.forEach(["delete","get","head","post","put","patch"],(t=>{pw.headers[t]={}}));var fw=pw;const hw=Hv.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 dw=Symbol("internals");function yw(t){return t&&String(t).trim().toLowerCase()}function mw(t){return!1===t||null==t?t:Hv.isArray(t)?t.map(mw):String(t)}function gw(t,e,r,n,o){return Hv.isFunction(n)?n.call(this,e,r):(o&&(e=r),Hv.isString(e)?Hv.isString(n)?-1!==e.indexOf(n):Hv.isRegExp(n)?n.test(e):void 0:void 0)}class vw{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=yw(e);if(!o)throw new Error("header name must be a non-empty string");const i=Hv.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=mw(t))}const i=(t,e)=>Hv.forEach(t,((t,r)=>o(t,r,e)));return Hv.isPlainObject(t)||t instanceof this.constructor?i(t,e):Hv.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&hw[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=yw(t)){const r=Hv.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Hv.isFunction(e))return e.call(this,t,r);if(Hv.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=yw(t)){const r=Hv.findKey(this,t);return!(!r||void 0===this[r]||e&&!gw(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=yw(t)){const o=Hv.findKey(r,t);!o||e&&!gw(0,r[o],o,e)||(delete r[o],n=!0)}}return Hv.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!gw(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Hv.forEach(this,((n,o)=>{const i=Hv.findKey(r,o);if(i)return e[i]=mw(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=mw(n),r[a]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return Hv.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Hv.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);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((t=>e.set(t))),e}static accessor(t){const e=(this[dw]=this[dw]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=yw(t);e[n]||(!function(t,e){const r=Hv.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return Hv.isArray(t)?t.forEach(n):n(t),this}}vw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Hv.reduceDescriptors(vw.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),Hv.freezeMethods(vw);var bw=vw;function ww(t,e){const r=this||fw,n=e||r,o=bw.from(n.headers);let i=n.data;return Hv.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function xw(t){return!(!t||!t.__CANCEL__)}function Sw(t,e,r){Gb.call(this,null==t?"canceled":t,Gb.ERR_CANCELED,e,r),this.name="CanceledError"}Hv.inherits(Sw,Gb,{__CANCEL__:!0});var Ew=cw.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];Hv.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Hv.isString(n)&&a.push("path="+n),Hv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Aw(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var Rw=cw.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=Hv.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function Ow(t,e){let r=0;const n=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={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:o};c[e?"download":"upload"]=!0,t(c)}}var Pw="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=bw.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(Hv.isFormData(n))if(cw.hasStandardBrowserEnv||cw.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const p=Aw(t.baseURL,t.url);function f(){if(!l)return;const n=bw.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Gb("Request failed with status code "+r.status,[Gb.ERR_BAD_REQUEST,Gb.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),ew(p,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(f)},l.onabort=function(){l&&(r(new Gb("Request aborted",Gb.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new Gb("Network Error",Gb.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||nw;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new Gb(e,n.clarifyTimeoutError?Gb.ETIMEDOUT:Gb.ECONNABORTED,t,l)),l=null},cw.hasStandardBrowserEnv&&(u&&Hv.isFunction(u)&&(u=u(t)),u||!1!==u&&Rw(p))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&Ew.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&Hv.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),Hv.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",Ow(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ow(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new Sw(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(p);h&&-1===cw.protocols.indexOf(h)?r(new Gb("Unsupported protocol "+h+":",Gb.ERR_BAD_REQUEST,t)):l.send(n||null)}))};const kw={http:null,xhr:Pw};Hv.forEach(kw,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const jw=t=>`- ${t}`,Tw=t=>Hv.isFunction(t)||null===t||!1===t;var Iw=t=>{t=Hv.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!Tw(r)&&(n=kw[(e=String(r)).toLowerCase()],void 0===n))throw new Gb(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Gb("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(jw).join("\n"):" "+jw(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function _w(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Sw(null,t)}function Nw(t){_w(t),t.headers=bw.from(t.headers),t.data=ww.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Iw(t.adapter||fw.adapter)(t).then((function(e){return _w(t),e.data=ww.call(t,t.transformResponse,e),e.headers=bw.from(e.headers),e}),(function(e){return xw(e)||(_w(t),e&&e.response&&(e.response.data=ww.call(t,t.transformResponse,e.response),e.response.headers=bw.from(e.response.headers))),Promise.reject(e)}))}const Cw=t=>t instanceof bw?t.toJSON():t;function Uw(t,e){e=e||{};const r={};function n(t,e,r){return Hv.isPlainObject(t)&&Hv.isPlainObject(e)?Hv.merge.call({caseless:r},t,e):Hv.isPlainObject(e)?Hv.merge({},e):Hv.isArray(e)?e.slice():e}function o(t,e,r){return Hv.isUndefined(e)?Hv.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!Hv.isUndefined(e))return n(void 0,e)}function a(t,e){return Hv.isUndefined(e)?Hv.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?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:(t,e)=>o(Cw(t),Cw(e),!0)};return Hv.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);Hv.isUndefined(a)&&i!==s||(r[n]=a)})),r}const Lw="1.6.5",Fw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Fw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const Bw={};Fw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.5] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new Gb(n(o," has been removed"+(e?" in "+e:"")),Gb.ERR_DEPRECATED);return e&&!Bw[o]&&(Bw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var Dw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Gb("options must be an object",Gb.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new Gb("option "+i+" must be "+r,Gb.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Gb("Unknown option "+i,Gb.ERR_BAD_OPTION)}},validators:Fw};const qw=Dw.validators;class Mw{constructor(t){this.defaults=t,this.interceptors={request:new rw,response:new rw}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Uw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&Dw.assertOptions(r,{silentJSONParsing:qw.transitional(qw.boolean),forcedJSONParsing:qw.transitional(qw.boolean),clarifyTimeoutError:qw.transitional(qw.boolean)},!1),null!=n&&(Hv.isFunction(n)?e.paramsSerializer={serialize:n}:Dw.assertOptions(n,{encode:qw.function,serialize:qw.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&Hv.merge(o.common,o[e.method]);o&&Hv.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=bw.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[Nw.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);p<l;)c=c.then(t[p++],t[p++]);return c}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=Nw.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(t){return ew(Aw((t=Uw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Hv.forEach(["delete","get","head","options"],(function(t){Mw.prototype[t]=function(e,r){return this.request(Uw(r||{},{method:t,url:e,data:(r||{}).data}))}})),Hv.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Uw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Mw.prototype[t]=e(),Mw.prototype[t+"Form"]=e(!0)}));var Ww=Mw;class Gw{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new Sw(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new Gw((function(e){t=e})),cancel:t}}}var zw=Gw;const Hw={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};Object.entries(Hw).forEach((t=>{let[e,r]=t;Hw[r]=e}));var $w=Hw;const Vw=function t(e){const r=new Ww(e),n=fv(Ww.prototype.request,r);return Hv.extend(n,Ww.prototype,r,{allOwnKeys:!0}),Hv.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Uw(e,r))},n}(fw);Vw.Axios=Ww,Vw.CanceledError=Sw,Vw.CancelToken=zw,Vw.isCancel=xw,Vw.VERSION=Lw,Vw.toFormData=Jb,Vw.AxiosError=Gb,Vw.Cancel=Vw.CanceledError,Vw.all=function(t){return Promise.all(t)},Vw.spread=function(t){return function(e){return t.apply(null,e)}},Vw.isAxiosError=function(t){return Hv.isObject(t)&&!0===t.isAxiosError},Vw.mergeConfig=Uw,Vw.AxiosHeaders=bw,Vw.formToJSON=t=>lw(Hv.isHTMLForm(t)?new FormData(t):t),Vw.getAdapter=Iw,Vw.HttpStatusCode=$w,Vw.default=Vw;var Yw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;c(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,s,l;return p(t,[{key:"get",value:(l=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"getData",value:(s=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"post",value:(a=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return a.apply(this,arguments)})},{key:"postData",value:(i=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return i.apply(this,arguments)})},{key:"put",value:(r=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"delete",value:(e=u(o().mark((function t(e,r){var n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(Vw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),Kw=xo,Jw=et,Qw=ut,Xw=mg,Zw=$([].join);Kw({target:"Array",proto:!0,forced:Jw!==Object||!Xw("join",",")},{join:function(t){return Zw(Qw(this),void 0===t?",":t)}});var tx,ex="undefined"!=typeof Symbol&&Symbol,rx=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},nx={foo:{}},ox=Object,ix=Object.prototype.toString,ax=Math.max,sx=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},ux=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==ix.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),o=ax(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,sx(n,arguments));return Object(o)===o?o:this}return e.apply(t,sx(n,arguments))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},cx=Function.prototype.bind||ux,lx=cx.call(Function.call,Object.prototype.hasOwnProperty),px=SyntaxError,fx=Function,hx=TypeError,dx=function(t){try{return fx('"use strict"; return ('+t+").constructor;")()}catch(t){}},yx=Object.getOwnPropertyDescriptor;if(yx)try{yx({},"")}catch(t){yx=null}var mx=function(){throw new hx},gx=yx?function(){try{return mx}catch(t){try{return yx(arguments,"callee").get}catch(t){return mx}}}():mx,vx="function"==typeof ex&&"function"==typeof Symbol&&"symbol"==typeof ex("foo")&&"symbol"==typeof Symbol("bar")&&rx(),bx={__proto__:nx}.foo===nx.foo&&!({__proto__:null}instanceof ox),wx=Object.getPrototypeOf||(bx?function(t){return t.__proto__}:null),xx={},Sx="undefined"!=typeof Uint8Array&&wx?wx(Uint8Array):tx,Ex={"%AggregateError%":"undefined"==typeof AggregateError?tx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?tx:ArrayBuffer,"%ArrayIteratorPrototype%":vx&&wx?wx([][Symbol.iterator]()):tx,"%AsyncFromSyncIteratorPrototype%":tx,"%AsyncFunction%":xx,"%AsyncGenerator%":xx,"%AsyncGeneratorFunction%":xx,"%AsyncIteratorPrototype%":xx,"%Atomics%":"undefined"==typeof Atomics?tx:Atomics,"%BigInt%":"undefined"==typeof BigInt?tx:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?tx:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?tx:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?tx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?tx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?tx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?tx:FinalizationRegistry,"%Function%":fx,"%GeneratorFunction%":xx,"%Int8Array%":"undefined"==typeof Int8Array?tx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?tx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?tx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":vx&&wx?wx(wx([][Symbol.iterator]())):tx,"%JSON%":"object"==typeof JSON?JSON:tx,"%Map%":"undefined"==typeof Map?tx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&vx&&wx?wx((new Map)[Symbol.iterator]()):tx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?tx:Promise,"%Proxy%":"undefined"==typeof Proxy?tx:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?tx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?tx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&vx&&wx?wx((new Set)[Symbol.iterator]()):tx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?tx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":vx&&wx?wx(""[Symbol.iterator]()):tx,"%Symbol%":vx?Symbol:tx,"%SyntaxError%":px,"%ThrowTypeError%":gx,"%TypedArray%":Sx,"%TypeError%":hx,"%Uint8Array%":"undefined"==typeof Uint8Array?tx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?tx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?tx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?tx:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?tx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?tx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?tx:WeakSet};if(wx)try{null.error}catch(t){var Ax=wx(wx(t));Ex["%Error.prototype%"]=Ax}var Rx=function t(e){var r;if("%AsyncFunction%"===e)r=dx("async function () {}");else if("%GeneratorFunction%"===e)r=dx("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=dx("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&wx&&(r=wx(o.prototype))}return Ex[e]=r,r},Ox={"%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"]},Px=cx,kx=lx,jx=Px.call(Function.call,Array.prototype.concat),Tx=Px.call(Function.apply,Array.prototype.splice),Ix=Px.call(Function.call,String.prototype.replace),_x=Px.call(Function.call,String.prototype.slice),Nx=Px.call(Function.call,RegExp.prototype.exec),Cx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ux=/\\(\\)?/g,Lx=function(t,e){var r,n=t;if(kx(Ox,n)&&(n="%"+(r=Ox[n])[0]+"%"),kx(Ex,n)){var o=Ex[n];if(o===xx&&(o=Rx(n)),void 0===o&&!e)throw new hx("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new px("intrinsic "+t+" does not exist!")},Fx=function(t,e){if("string"!=typeof t||0===t.length)throw new hx("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new hx('"allowMissing" argument must be a boolean');if(null===Nx(/^%?[^%]*%?$/,t))throw new px("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=_x(t,0,1),r=_x(t,-1);if("%"===e&&"%"!==r)throw new px("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new px("invalid intrinsic syntax, expected opening `%`");var n=[];return Ix(t,Cx,(function(t,e,r,o){n[n.length]=r?Ix(o,Ux,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=Lx("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],Tx(r,jx([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=_x(p,0,1),h=_x(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new px("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),kx(Ex,i="%"+(n+="."+p)+"%"))a=Ex[i];else if(null!=a){if(!(p in a)){if(!e)throw new hx("base intrinsic for "+t+" exists, but the property is not available.");return}if(yx&&c+1>=r.length){var d=yx(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=kx(a,p),a=a[p];l&&!s&&(Ex[i]=a)}}return a},Bx={exports:{}},Dx=Array.prototype.slice,qx=Object.prototype.toString,Mx=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==qx.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=Dx.call(arguments,1),o=Math.max(0,e.length-n.length),i=[],a=0;a<o;a++)i.push("$"+a);if(r=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,n.concat(Dx.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Dx.call(arguments)))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},Wx=Function.prototype.bind||Mx;!function(t){var e=Wx,r=Fx,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){var r=i(e,o,arguments);a&&s&&(a(r,"length").configurable&&s(r,"length",{value:1+u(0,t.length-(arguments.length-1))}));return r};var c=function(){return i(e,n,arguments)};s?s(t.exports,"apply",{value:c}):t.exports.apply=c}(Bx);var Gx=Fx,zx=Bx.exports,Hx=zx(Gx("String.prototype.indexOf")),$x=R(Object.freeze({__proto__:null,default:{}})),Vx="function"==typeof Map&&Map.prototype,Yx=Object.getOwnPropertyDescriptor&&Vx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Kx=Vx&&Yx&&"function"==typeof Yx.get?Yx.get:null,Jx=Vx&&Map.prototype.forEach,Qx="function"==typeof Set&&Set.prototype,Xx=Object.getOwnPropertyDescriptor&&Qx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zx=Qx&&Xx&&"function"==typeof Xx.get?Xx.get:null,tS=Qx&&Set.prototype.forEach,eS="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,rS="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,nS="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,oS=Boolean.prototype.valueOf,iS=Object.prototype.toString,aS=Function.prototype.toString,sS=String.prototype.match,uS=String.prototype.slice,cS=String.prototype.replace,lS=String.prototype.toUpperCase,pS=String.prototype.toLowerCase,fS=RegExp.prototype.test,hS=Array.prototype.concat,dS=Array.prototype.join,yS=Array.prototype.slice,mS=Math.floor,gS="function"==typeof BigInt?BigInt.prototype.valueOf:null,vS=Object.getOwnPropertySymbols,bS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,wS="function"==typeof Symbol&&"object"==typeof Symbol.iterator,xS="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===wS||"symbol")?Symbol.toStringTag:null,SS=Object.prototype.propertyIsEnumerable,ES=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function AS(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||fS.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-mS(-t):mS(t);if(n!==t){var o=String(n),i=uS.call(e,o.length+1);return cS.call(o,r,"$&_")+"."+cS.call(cS.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return cS.call(e,r,"$&_")}var RS=$x,OS=RS.custom,PS=_S(OS)?OS:null;function kS(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function jS(t){return cS.call(String(t),/"/g,""")}function TS(t){return!("[object Array]"!==US(t)||xS&&"object"==typeof t&&xS in t)}function IS(t){return!("[object RegExp]"!==US(t)||xS&&"object"==typeof t&&xS in t)}function _S(t){if(wS)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!bS)return!1;try{return bS.call(t),!0}catch(t){}return!1}var NS=Object.prototype.hasOwnProperty||function(t){return t in this};function CS(t,e){return NS.call(t,e)}function US(t){return iS.call(t)}function LS(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function FS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return FS(uS.call(t,0,e.maxStringLength),e)+n}return kS(cS.call(cS.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,BS),"single",e)}function BS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+lS.call(e.toString(16))}function DS(t){return"Object("+t+")"}function qS(t){return t+" { ? }"}function MS(t,e,r,n){return t+" ("+e+") {"+(n?WS(r,n):dS.call(r,", "))+"}"}function WS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+dS.call(t,","+r)+"\n"+e.prev}function GS(t,e){var r=TS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=CS(t,o)?e(t[o],t):""}var i,a="function"==typeof vS?vS(t):[];if(wS){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)CS(t,u)&&(r&&String(Number(u))===u&&u<t.length||wS&&i["$"+u]instanceof Symbol||(fS.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof vS)for(var c=0;c<a.length;c++)SS.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var zS=Fx,HS=function(t,e){var r=Gx(t,!!e);return"function"==typeof r&&Hx(t,".prototype.")>-1?zx(r):r},$S=function t(e,r,n,o){var i=r||{};if(CS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(CS(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=!CS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(CS(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(CS(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===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return FS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?AS(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?AS(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof e)return TS(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=dS.call(Array(t.indent+1)," ")}return{base:r,prev:dS.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(LS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=yS.call(o)).push(r),a){var s={depth:i.depth};return CS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!IS(e)){var h=function(t){if(t.name)return t.name;var e=sS.call(aS.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=GS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+dS.call(d,", ")+" }":"")}if(_S(e)){var y=wS?cS.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):bS.call(e);return"object"!=typeof e||wS?y:DS(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var m="<"+pS.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+kS(jS(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+pS.call(String(e.nodeName))+">"}if(TS(e)){if(0===e.length)return"[]";var b=GS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(LS(t[e],"\n")>=0)return!1;return!0}(b)?"["+WS(b,p)+"]":"[ "+dS.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==US(t)||xS&&"object"==typeof t&&xS in t)}(e)){var w=GS(e,f);return"cause"in Error.prototype||!("cause"in e)||SS.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+dS.call(w,", ")+" }":"{ ["+String(e)+"] "+dS.call(hS.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(PS&&"function"==typeof e[PS]&&RS)return RS(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Kx||!t||"object"!=typeof t)return!1;try{Kx.call(t);try{Zx.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return Jx&&Jx.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),MS("Map",Kx.call(e),x,p)}if(function(t){if(!Zx||!t||"object"!=typeof t)return!1;try{Zx.call(t);try{Kx.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var S=[];return tS&&tS.call(e,(function(t){S.push(f(t,e))})),MS("Set",Zx.call(e),S,p)}if(function(t){if(!eS||!t||"object"!=typeof t)return!1;try{eS.call(t,eS);try{rS.call(t,rS)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return qS("WeakMap");if(function(t){if(!rS||!t||"object"!=typeof t)return!1;try{rS.call(t,rS);try{eS.call(t,eS)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return qS("WeakSet");if(function(t){if(!nS||!t||"object"!=typeof t)return!1;try{return nS.call(t),!0}catch(t){}return!1}(e))return qS("WeakRef");if(function(t){return!("[object Number]"!==US(t)||xS&&"object"==typeof t&&xS in t)}(e))return DS(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!gS)return!1;try{return gS.call(t),!0}catch(t){}return!1}(e))return DS(f(gS.call(e)));if(function(t){return!("[object Boolean]"!==US(t)||xS&&"object"==typeof t&&xS in t)}(e))return DS(oS.call(e));if(function(t){return!("[object String]"!==US(t)||xS&&"object"==typeof t&&xS in t)}(e))return DS(f(String(e)));if(!function(t){return!("[object Date]"!==US(t)||xS&&"object"==typeof t&&xS in t)}(e)&&!IS(e)){var E=GS(e,f),A=ES?ES(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",O=!A&&xS&&Object(e)===e&&xS in e?uS.call(US(e),8,-1):R?"Object":"",P=(A||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(O||R?"["+dS.call(hS.call([],O||[],R||[]),": ")+"] ":"");return 0===E.length?P+"{}":p?P+"{"+WS(E,p)+"}":P+"{ "+dS.call(E,", ")+" }"}return String(e)},VS=zS("%TypeError%"),YS=zS("%WeakMap%",!0),KS=zS("%Map%",!0),JS=HS("WeakMap.prototype.get",!0),QS=HS("WeakMap.prototype.set",!0),XS=HS("WeakMap.prototype.has",!0),ZS=HS("Map.prototype.get",!0),tE=HS("Map.prototype.set",!0),eE=HS("Map.prototype.has",!0),rE=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},nE=String.prototype.replace,oE=/%20/g,iE="RFC3986",aE={default:iE,formatters:{RFC1738:function(t){return nE.call(t,oE,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:iE},sE=aE,uE=Object.prototype.hasOwnProperty,cE=Array.isArray,lE=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),pE=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},fE={arrayToObject:pE,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[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)&&(e.push({obj:i,prop:u}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(cE(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===sE.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=lE[u]:u<2048?a+=lE[192|u>>6]+lE[128|63&u]:u<55296||u>=57344?a+=lE[224|u>>12]+lE[128|u>>6&63]+lE[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=lE[240|u>>18]+lE[128|u>>12&63]+lE[128|u>>6&63]+lE[128|63&u])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(cE(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(cE(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!uE.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return cE(e)&&!cE(r)&&(o=pE(e,n)),cE(e)&&cE(r)?(r.forEach((function(r,o){if(uE.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return uE.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},hE=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new VS("Side channel does not contain "+$S(t))},get:function(n){if(YS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return JS(t,n)}else if(KS){if(e)return ZS(e,n)}else if(r)return function(t,e){var r=rE(t,e);return r&&r.value}(r,n)},has:function(n){if(YS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return XS(t,n)}else if(KS){if(e)return eE(e,n)}else if(r)return function(t,e){return!!rE(t,e)}(r,n);return!1},set:function(n,o){YS&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new YS),QS(t,n,o)):KS?(e||(e=new KS),tE(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=rE(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},dE=fE,yE=aE,mE=Object.prototype.hasOwnProperty,gE={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},vE=Array.isArray,bE=Array.prototype.push,wE=function(t,e){bE.apply(t,vE(e)?e:[e])},xE=Date.prototype.toISOString,SE=yE.default,EE={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:dE.encode,encodeValuesOnly:!1,format:SE,formatter:yE.formatters[SE],indices:!1,serializeDate:function(t){return xE.call(t)},skipNulls:!1,strictNullHandling:!1},AE={},RE=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m){for(var g,v=e,b=m,w=0,x=!1;void 0!==(b=b.get(AE))&&!x;){var S=b.get(e);if(w+=1,void 0!==S){if(S===w)throw new RangeError("Cyclic object value");x=!0}void 0===b.get(AE)&&(w=0)}if("function"==typeof u?v=u(r,v):v instanceof Date?v=p(v):"comma"===n&&vE(v)&&(v=dE.maybeMap(v,(function(t){return t instanceof Date?p(t):t}))),null===v){if(i)return s&&!d?s(r,EE.encoder,y,"key",f):r;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||dE.isBuffer(v))return s?[h(d?r:s(r,EE.encoder,y,"key",f))+"="+h(s(v,EE.encoder,y,"value",f))]:[h(r)+"="+h(String(v))];var E,A=[];if(void 0===v)return A;if("comma"===n&&vE(v))d&&s&&(v=dE.maybeMap(v,s)),E=[{value:v.length>0?v.join(",")||null:void 0}];else if(vE(u))E=u;else{var R=Object.keys(v);E=c?R.sort(c):R}for(var O=o&&vE(v)&&1===v.length?r+"[]":r,P=0;P<E.length;++P){var k=E[P],j="object"==typeof k&&void 0!==k.value?k.value:v[k];if(!a||null!==j){var T=vE(v)?"function"==typeof n?n(O,k):O:O+(l?"."+k:"["+k+"]");m.set(e,w);var I=hE();I.set(AE,m),wE(A,t(j,T,n,o,i,a,"comma"===n&&d&&vE(v)?null:s,u,c,l,p,f,h,d,y,I))}}return A},OE=fE,PE=Object.prototype.hasOwnProperty,kE=Array.isArray,jE={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:OE.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},TE=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},IE=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},_E=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&PE.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&PE.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:IE(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(u,e,r,n)}},NE=function(t,e){var r,n=t,o=function(t){if(!t)return EE;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||EE.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=yE.default;if(void 0!==t.format){if(!mE.call(yE.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=yE.formatters[r],o=EE.filter;return("function"==typeof t.filter||vE(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:EE.addQueryPrefix,allowDots:void 0===t.allowDots?EE.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:EE.charsetSentinel,delimiter:void 0===t.delimiter?EE.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:EE.encode,encoder:"function"==typeof t.encoder?t.encoder:EE.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:EE.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:EE.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:EE.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:EE.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):vE(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in gE?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=gE[i];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="comma"===s&&e&&e.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=hE(),l=0;l<r.length;++l){var p=r[l];o.skipNulls&&null===n[p]||wE(a,RE(n[p],p,s,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var f=a.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&"),f.length>0?h+f:""},CE=function(t,e){var r=function(t){if(!t)return jE;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?jE.charset:t.charset;return{allowDots:void 0===t.allowDots?jE.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:jE.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:jE.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:jE.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:jE.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:jE.comma,decoder:"function"==typeof t.decoder?t.decoder:jE.decoder,delimiter:"string"==typeof t.delimiter||OE.isRegExp(t.delimiter)?t.delimiter:jE.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:jE.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:jE.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:jE.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:jE.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:jE.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,jE.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),jE.decoder,u,"key"),l=OE.maybeMap(IE(p.slice(h+1),e),(function(t){return e.decoder(t,jE.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=TE(l)),p.indexOf("[]=")>-1&&(l=kE(l)?[l]:l),PE.call(n,c)?n[c]=OE.combine(n[c],l):n[c]=l}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=_E(s,n[s],r,"string"==typeof t);o=OE.merge(o,u,r)}return!0===r.allowSparse?o:OE.compact(o)},UE=A({formats:aE,parse:CE,stringify:NE});const LE="function"==typeof btoa,FE="function"==typeof Buffer,BE=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),DE=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),qE=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(DE),String.fromCharCode.bind(String)),ME=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),WE=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=DE[e>>18&63]+DE[e>>12&63]+DE[e>>6&63]+DE[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},GE=LE?t=>btoa(t):FE?t=>Buffer.from(t,"binary").toString("base64"):WE,zE=FE?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(qE.apply(null,t.subarray(r,r+4096)));return GE(e.join(""))},HE=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?qE(192|e>>>6)+qE(128|63&e):qE(224|e>>>12&15)+qE(128|e>>>6&63)+qE(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return qE(240|e>>>18&7)+qE(128|e>>>12&63)+qE(128|e>>>6&63)+qE(128|63&e)},$E=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,VE=t=>t.replace($E,HE),YE=FE?t=>Buffer.from(t,"utf8").toString("base64"):BE?t=>zE(BE.encode(t)):t=>GE(VE(t)),KE=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?ME(YE(t)):YE(t)},JE=KE;var QE=function(){function t(e){if(c(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}var r,i,a;return p(t,[{key:"build",value:(a=u(o().mark((function t(r,i,a,s){var u,c,l,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},s||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(i,a)).length>4096)){t.next=15;break}return t.t1=n,t.t2=n({},u),t.t3={},t.t4=n(n({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(a);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",n(n({},u),{},{url:c}));case 16:if(!(a instanceof cv)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return l=t.sent,t.abrupt("return",n(n({},u),{},{headers:"function"==typeof l.getHeaders?n(n({},this.headers),l.getHeaders()):this.headers,data:l}));case 21:return t.t7=n,t.t8=n({},u),t.t9={},t.next=26,this.buildData(a);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=n,t.t13=n({},u),t.t14={},t.next=34,this.buildData(a);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=i,t.next=41,this.buildData(a);case 41:return t.t19=t.sent,p=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return a.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(UE.stringify(e))}},{key:"buildData",value:(i=u(o().mark((function t(e){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof cv)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",n({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,o=t.userAgent,i=r?{Authorization:"Basic ".concat(JE("".concat(r.username,":").concat(r.password)))}:{},a=n(n({},e.buildHeaders({userAgent:o})),i);switch(this.auth.type){case"password":return n(n({},a),{},{"X-Cybozu-Authorization":JE("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var s=this.auth.apiToken;return Array.isArray(s)?n(n({},a),{},{"X-Cybozu-API-Token":s.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":s});case"oAuthToken":return n(n({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return n(n({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(r=u(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})}]),t}();var XE=function(t){function e(t){var r;return c(this,e),(r=function(t,e,r){return e=d(e),w(t,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){return!1}}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))}(this,e,[t])).name="KintoneAbortSearchError",r.message=t,Object.setPrototypeOf(b(r),e.prototype),r}return h(e,t),p(e)}(g(Error));var ZE,tA=function(t){function e(t){var r;c(this,e);var n=e.buildErrorResponseDateWithIndex(t),o=n.data,i=n.bulkRequestIndex;return(r=function(t,e,r){return e=d(e),w(t,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){return!1}}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))}(this,e,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=t.status,r.bulkRequestIndex=i,r.headers=t.headers,r.message="[".concat(t.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(b(r),e),Object.setPrototypeOf(b(r),e.prototype),r}return h(e,t),p(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}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(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),e}(g(Error)),eA=["data"],rA=function(){function t(e){var r=e.enableAbortSearchError;c(this,t),this.enableAbortSearchError=r}return p(t,[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new XE(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,o=v(e,eA);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new tA(n({data:r},o))}}]),t}(),nA=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,t),oA(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return n({type:"password"},t);if("apiToken"in t)return n({type:"apiToken"},t);if("oAuthToken"in t)return n({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Xa)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=a.auth)&&void 0!==r?r:{}),u=new QE(n(n({},a),{},{baseUrl:this.baseUrl,auth:s})),l=new rA({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),p=new Yw({responseHandler:l,requestConfigBuilder:u}),f=a.guestSpaceId;this.bulkRequest_=new fm(p,f),this.record=new uv(p,this.bulkRequest_,f),this.app=new Pm(p,f),this.file=new lv(p,f)}return p(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),oA=function(t){iA(t.baseUrl),aA(t.guestSpaceId),sA(t.socketTimeout)},iA=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},aA=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},sA=function(t){if(void 0!==t){var e=parseFloat(t.toString());if(isNaN(e)||e<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(ZE=is).readFileFromPath&&(e.readFileFromPath=ZE.readFileFromPath),ZE.getRequestToken&&(e.getRequestToken=ZE.getRequestToken),ZE.getDefaultAuth&&(e.getDefaultAuth=ZE.getDefaultAuth),ZE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=ZE.buildPlatformDependentConfig),ZE.buildHeaders&&(e.buildHeaders=ZE.buildHeaders),ZE.buildFormDataValue&&(e.buildFormDataValue=ZE.buildFormDataValue),ZE.buildBaseUrl&&(e.buildBaseUrl=ZE.buildBaseUrl),ZE.getVersion&&(e.getVersion=ZE.getVersion),t.KintoneAbortSearchError=XE,t.KintoneAllRecordsError=nv,t.KintoneRestAPIClient=nA,t.KintoneRestAPIError=tA}));
|
|
469
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";var e={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(t,e,r){return e=m(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return w(t)}(t,n()?Reflect.construct(e,r||[],m(t).constructor):e.apply(t,r))}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(n=function(){return!!t})()}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:k(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function v(){}function b(){}function w(){}var x={};l(x,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(_([])));E&&E!==r&&n.call(E,s)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,s){var u=f(t[o],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=P(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,o(A,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},R(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},R(A),l(A,c,"Generator"),l(A,s,(function(){return this})),l(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function l(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,s,"next",t)}function s(t){c(i,n,o,a,s,"throw",t)}a(void 0)}))}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function h(t,e,r){return e&&f(t.prototype,e),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e,r){return(e=s(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function v(t){var e="function"==typeof Map?new Map:void 0;return v=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(n())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var i=new(t.bind.apply(t,o));return r&&g(i,r.prototype),i}(t,arguments,m(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},v(t)}function b(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function w(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||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 S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function R(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var O=function(t){return t&&t.Math===Math&&t},k=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof E&&E)||O("object"==typeof E&&E)||function(){return this}()||Function("return this")(),P={},j=function(t){try{return!!t()}catch(t){return!0}},T=!j((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),I=!j((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),_=I,N=Function.prototype.call,U=_?N.bind(N):function(){return N.apply(N,arguments)},C={},L={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,B=F&&!L.call({1:2},1);C.f=B?function(t){var e=F(this,t);return!!e&&e.enumerable}:L;var D,q,M=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},W=I,G=Function.prototype,z=G.call,H=W&&G.bind.bind(z,z),$=W?H:function(t){return function(){return z.apply(t,arguments)}},V=$,Y=V({}.toString),K=V("".slice),J=function(t){return K(Y(t),8,-1)},Q=j,X=J,Z=Object,tt=$("".split),et=Q((function(){return!Z("z").propertyIsEnumerable(0)}))?function(t){return"String"===X(t)?tt(t,""):Z(t)}:Z,rt=function(t){return null==t},nt=rt,ot=TypeError,it=function(t){if(nt(t))throw new ot("Can't call method on "+t);return t},at=et,st=it,ut=function(t){return at(st(t))},ct="object"==typeof document&&document.all,lt=void 0===ct&&void 0!==ct?function(t){return"function"==typeof t||t===ct}:function(t){return"function"==typeof t},pt=lt,ft=function(t){return"object"==typeof t?null!==t:pt(t)},ht=k,dt=lt,yt=function(t,e){return arguments.length<2?(r=ht[t],dt(r)?r:void 0):ht[t]&&ht[t][e];var r},mt=$({}.isPrototypeOf),gt=k,vt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",bt=gt.process,wt=gt.Deno,xt=bt&&bt.versions||wt&&wt.version,St=xt&&xt.v8;St&&(q=(D=St.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!q&&vt&&(!(D=vt.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=vt.match(/Chrome\/(\d+)/))&&(q=+D[1]);var Et=q,At=Et,Rt=j,Ot=k.String,kt=!!Object.getOwnPropertySymbols&&!Rt((function(){var t=Symbol("symbol detection");return!Ot(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&At&&At<41})),Pt=kt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,jt=yt,Tt=lt,It=mt,_t=Object,Nt=Pt?function(t){return"symbol"==typeof t}:function(t){var e=jt("Symbol");return Tt(e)&&It(e.prototype,_t(t))},Ut=String,Ct=function(t){try{return Ut(t)}catch(t){return"Object"}},Lt=lt,Ft=Ct,Bt=TypeError,Dt=function(t){if(Lt(t))return t;throw new Bt(Ft(t)+" is not a function")},qt=Dt,Mt=rt,Wt=function(t,e){var r=t[e];return Mt(r)?void 0:qt(r)},Gt=U,zt=lt,Ht=ft,$t=TypeError,Vt={exports:{}},Yt=k,Kt=Object.defineProperty,Jt=function(t,e){try{Kt(Yt,t,{value:e,configurable:!0,writable:!0})}catch(r){Yt[t]=e}return e},Qt=Jt,Xt="__core-js_shared__",Zt=k[Xt]||Qt(Xt,{}),te=Zt;(Vt.exports=function(t,e){return te[t]||(te[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ee=Vt.exports,re=it,ne=Object,oe=function(t){return ne(re(t))},ie=oe,ae=$({}.hasOwnProperty),se=Object.hasOwn||function(t,e){return ae(ie(t),e)},ue=$,ce=0,le=Math.random(),pe=ue(1..toString),fe=function(t){return"Symbol("+(void 0===t?"":t)+")_"+pe(++ce+le,36)},he=ee,de=se,ye=fe,me=kt,ge=Pt,ve=k.Symbol,be=he("wks"),we=ge?ve.for||ve:ve&&ve.withoutSetter||ye,xe=function(t){return de(be,t)||(be[t]=me&&de(ve,t)?ve[t]:we("Symbol."+t)),be[t]},Se=U,Ee=ft,Ae=Nt,Re=Wt,Oe=function(t,e){var r,n;if("string"===e&&zt(r=t.toString)&&!Ht(n=Gt(r,t)))return n;if(zt(r=t.valueOf)&&!Ht(n=Gt(r,t)))return n;if("string"!==e&&zt(r=t.toString)&&!Ht(n=Gt(r,t)))return n;throw new $t("Can't convert object to primitive value")},ke=TypeError,Pe=xe("toPrimitive"),je=function(t,e){if(!Ee(t)||Ae(t))return t;var r,n=Re(t,Pe);if(n){if(void 0===e&&(e="default"),r=Se(n,t,e),!Ee(r)||Ae(r))return r;throw new ke("Can't convert object to primitive value")}return void 0===e&&(e="number"),Oe(t,e)},Te=je,Ie=Nt,_e=function(t){var e=Te(t,"string");return Ie(e)?e:e+""},Ne=ft,Ue=k.document,Ce=Ne(Ue)&&Ne(Ue.createElement),Le=function(t){return Ce?Ue.createElement(t):{}},Fe=Le,Be=!T&&!j((function(){return 7!==Object.defineProperty(Fe("div"),"a",{get:function(){return 7}}).a})),De=T,qe=U,Me=C,We=M,Ge=ut,ze=_e,He=se,$e=Be,Ve=Object.getOwnPropertyDescriptor;P.f=De?Ve:function(t,e){if(t=Ge(t),e=ze(e),$e)try{return Ve(t,e)}catch(t){}if(He(t,e))return We(!qe(Me.f,t,e),t[e])};var Ye={},Ke=T&&j((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Je=ft,Qe=String,Xe=TypeError,Ze=function(t){if(Je(t))return t;throw new Xe(Qe(t)+" is not an object")},tr=T,er=Be,rr=Ke,nr=Ze,or=_e,ir=TypeError,ar=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,ur="enumerable",cr="configurable",lr="writable";Ye.f=tr?rr?function(t,e,r){if(nr(t),e=or(e),nr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&lr in r&&!r[lr]){var n=sr(t,e);n&&n[lr]&&(t[e]=r.value,r={configurable:cr in r?r[cr]:n[cr],enumerable:ur in r?r[ur]:n[ur],writable:!1})}return ar(t,e,r)}:ar:function(t,e,r){if(nr(t),e=or(e),nr(r),er)try{return ar(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ir("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var pr=Ye,fr=M,hr=T?function(t,e,r){return pr.f(t,e,fr(1,r))}:function(t,e,r){return t[e]=r,t},dr={exports:{}},yr=T,mr=se,gr=Function.prototype,vr=yr&&Object.getOwnPropertyDescriptor,br=mr(gr,"name"),wr={EXISTS:br,PROPER:br&&"something"===function(){}.name,CONFIGURABLE:br&&(!yr||yr&&vr(gr,"name").configurable)},xr=lt,Sr=Zt,Er=$(Function.toString);xr(Sr.inspectSource)||(Sr.inspectSource=function(t){return Er(t)});var Ar,Rr,Or,kr=Sr.inspectSource,Pr=lt,jr=k.WeakMap,Tr=Pr(jr)&&/native code/.test(String(jr)),Ir=fe,_r=ee("keys"),Nr=function(t){return _r[t]||(_r[t]=Ir(t))},Ur={},Cr=Tr,Lr=k,Fr=ft,Br=hr,Dr=se,qr=Zt,Mr=Nr,Wr=Ur,Gr="Object already initialized",zr=Lr.TypeError,Hr=Lr.WeakMap;if(Cr||qr.state){var $r=qr.state||(qr.state=new Hr);$r.get=$r.get,$r.has=$r.has,$r.set=$r.set,Ar=function(t,e){if($r.has(t))throw new zr(Gr);return e.facade=t,$r.set(t,e),e},Rr=function(t){return $r.get(t)||{}},Or=function(t){return $r.has(t)}}else{var Vr=Mr("state");Wr[Vr]=!0,Ar=function(t,e){if(Dr(t,Vr))throw new zr(Gr);return e.facade=t,Br(t,Vr,e),e},Rr=function(t){return Dr(t,Vr)?t[Vr]:{}},Or=function(t){return Dr(t,Vr)}}var Yr={set:Ar,get:Rr,has:Or,enforce:function(t){return Or(t)?Rr(t):Ar(t,{})},getterFor:function(t){return function(e){var r;if(!Fr(e)||(r=Rr(e)).type!==t)throw new zr("Incompatible receiver, "+t+" required");return r}}},Kr=$,Jr=j,Qr=lt,Xr=se,Zr=T,tn=wr.CONFIGURABLE,en=kr,rn=Yr.enforce,nn=Yr.get,on=String,an=Object.defineProperty,sn=Kr("".slice),un=Kr("".replace),cn=Kr([].join),ln=Zr&&!Jr((function(){return 8!==an((function(){}),"length",{value:8}).length})),pn=String(String).split("String"),fn=dr.exports=function(t,e,r){"Symbol("===sn(on(e),0,7)&&(e="["+un(on(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Xr(t,"name")||tn&&t.name!==e)&&(Zr?an(t,"name",{value:e,configurable:!0}):t.name=e),ln&&r&&Xr(r,"arity")&&t.length!==r.arity&&an(t,"length",{value:r.arity});try{r&&Xr(r,"constructor")&&r.constructor?Zr&&an(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=rn(t);return Xr(n,"source")||(n.source=cn(pn,"string"==typeof e?e:"")),t};Function.prototype.toString=fn((function(){return Qr(this)&&nn(this).source||en(this)}),"toString");var hn=dr.exports,dn=lt,yn=Ye,mn=hn,gn=Jt,vn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(dn(r)&&mn(r,i,n),n.global)o?t[e]=r:gn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:yn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},bn={},wn=Math.ceil,xn=Math.floor,Sn=Math.trunc||function(t){var e=+t;return(e>0?xn:wn)(e)},En=function(t){var e=+t;return e!=e||0===e?0:Sn(e)},An=En,Rn=Math.max,On=Math.min,kn=function(t,e){var r=An(t);return r<0?Rn(r+e,0):On(r,e)},Pn=En,jn=Math.min,Tn=function(t){var e=Pn(t);return e>0?jn(e,9007199254740991):0},In=Tn,_n=function(t){return In(t.length)},Nn=ut,Un=kn,Cn=_n,Ln=function(t){return function(e,r,n){var o,i=Nn(e),a=Cn(i),s=Un(n,a);if(t&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((t||s in i)&&i[s]===r)return t||s||0;return!t&&-1}},Fn={includes:Ln(!0),indexOf:Ln(!1)},Bn=se,Dn=ut,qn=Fn.indexOf,Mn=Ur,Wn=$([].push),Gn=function(t,e){var r,n=Dn(t),o=0,i=[];for(r in n)!Bn(Mn,r)&&Bn(n,r)&&Wn(i,r);for(;e.length>o;)Bn(n,r=e[o++])&&(~qn(i,r)||Wn(i,r));return i},zn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Gn,$n=zn.concat("length","prototype");bn.f=Object.getOwnPropertyNames||function(t){return Hn(t,$n)};var Vn={};Vn.f=Object.getOwnPropertySymbols;var Yn=yt,Kn=bn,Jn=Vn,Qn=Ze,Xn=$([].concat),Zn=Yn("Reflect","ownKeys")||function(t){var e=Kn.f(Qn(t)),r=Jn.f;return r?Xn(e,r(t)):e},to=se,eo=Zn,ro=P,no=Ye,oo=j,io=lt,ao=/#|\.prototype\./,so=function(t,e){var r=co[uo(t)];return r===po||r!==lo&&(io(e)?oo(e):!!e)},uo=so.normalize=function(t){return String(t).replace(ao,".").toLowerCase()},co=so.data={},lo=so.NATIVE="N",po=so.POLYFILL="P",fo=so,ho=k,yo=P.f,mo=hr,go=vn,vo=Jt,bo=function(t,e,r){for(var n=eo(e),o=no.f,i=ro.f,a=0;a<n.length;a++){var s=n[a];to(t,s)||r&&to(r,s)||o(t,s,i(e,s))}},wo=fo,xo=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?ho:c?ho[s]||vo(s,{}):ho[s]&&ho[s].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=yo(r,n))&&a.value:r[n],!wo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;bo(i,o)}(t.sham||o&&o.sham)&&mo(i,"sham",!0),go(r,n,i,t)}},So=J,Eo=Array.isArray||function(t){return"Array"===So(t)},Ao=TypeError,Ro=_e,Oo=Ye,ko=M,Po=function(t,e,r){var n=Ro(e);n in t?Oo.f(t,n,ko(0,r)):t[n]=r},jo={};jo[xe("toStringTag")]="z";var To="[object z]"===String(jo),Io=To,_o=lt,No=J,Uo=xe("toStringTag"),Co=Object,Lo="Arguments"===No(function(){return arguments}()),Fo=Io?No:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Co(t),Uo))?r:Lo?No(e):"Object"===(n=No(e))&&_o(e.callee)?"Arguments":n},Bo=$,Do=j,qo=lt,Mo=Fo,Wo=kr,Go=function(){},zo=yt("Reflect","construct"),Ho=/^\s*(?:class|function)\b/,$o=Bo(Ho.exec),Vo=!Ho.test(Go),Yo=function(t){if(!qo(t))return!1;try{return zo(Go,[],t),!0}catch(t){return!1}},Ko=function(t){if(!qo(t))return!1;switch(Mo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Vo||!!$o(Ho,Wo(t))}catch(t){return!0}};Ko.sham=!0;var Jo=!zo||Do((function(){var t;return Yo(Yo.call)||!Yo(Object)||!Yo((function(){t=!0}))||t}))?Ko:Yo,Qo=Eo,Xo=Jo,Zo=ft,ti=xe("species"),ei=Array,ri=function(t){var e;return Qo(t)&&(e=t.constructor,(Xo(e)&&(e===ei||Qo(e.prototype))||Zo(e)&&null===(e=e[ti]))&&(e=void 0)),void 0===e?ei:e},ni=function(t,e){return new(ri(t))(0===e?0:e)},oi=j,ii=Et,ai=xe("species"),si=function(t){return ii>=51||!oi((function(){var e=[];return(e.constructor={})[ai]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ui=xo,ci=j,li=Eo,pi=ft,fi=oe,hi=_n,di=function(t){if(t>9007199254740991)throw Ao("Maximum allowed index exceeded");return t},yi=Po,mi=ni,gi=si,vi=Et,bi=xe("isConcatSpreadable"),wi=vi>=51||!ci((function(){var t=[];return t[bi]=!1,t.concat()[0]!==t})),xi=function(t){if(!pi(t))return!1;var e=t[bi];return void 0!==e?!!e:li(t)};ui({target:"Array",proto:!0,arity:1,forced:!wi||!gi("concat")},{concat:function(t){var e,r,n,o,i,a=fi(this),s=mi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(xi(i=-1===e?a:arguments[e]))for(o=hi(i),di(u+o),r=0;r<o;r++,u++)r in i&&yi(s,u,i[r]);else di(u+1),yi(s,u++,i);return s.length=u,s}});var Si=hn,Ei=Ye,Ai=function(t,e,r){return r.get&&Si(r.get,e,{getter:!0}),r.set&&Si(r.set,e,{setter:!0}),Ei.f(t,e,r)},Ri=T,Oi=wr.EXISTS,ki=$,Pi=Ai,ji=Function.prototype,Ti=ki(ji.toString),Ii=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_i=ki(Ii.exec);Ri&&!Oi&&Pi(ji,"name",{configurable:!0,get:function(){try{return _i(Ii,Ti(this))[1]}catch(t){return""}}});var Ni=$,Ui=Dt,Ci=ft,Li=function(t){return Ci(t)||null===t},Fi=String,Bi=TypeError,Di=function(t,e,r){try{return Ni(Ui(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},qi=Ze,Mi=function(t){if(Li(t))return t;throw new Bi("Can't set "+Fi(t)+" as a prototype")},Wi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Di(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return qi(r),Mi(n),e?t(r,n):r.__proto__=n,r}}():void 0);xo({target:"Object",stat:!0},{setPrototypeOf:Wi});var Gi=function(t){function e(t){var n;return p(this,e),n=r(this,e,["This function is not supported in ".concat(t," environment")]),Error.captureStackTrace&&Error.captureStackTrace(w(n),e),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(w(n),e.prototype),n}return y(e,t),h(e)}(v(Error));function zi(){this._types=Object.create(null),this._extensions=Object.create(null);for(let t=0;t<arguments.length;t++)this.define(arguments[t]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}zi.prototype.define=function(t,e){for(let r in t){let n=t[r].map((function(t){return t.toLowerCase()}));r=r.toLowerCase();for(let t=0;t<n.length;t++){const o=n[t];if("*"!==o[0]){if(!e&&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(e||!this._extensions[r]){const t=n[0];this._extensions[r]="*"!==t[0]?t:t.substr(1)}}},zi.prototype.getType=function(t){let e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),r=e.replace(/^.*\./,"").toLowerCase(),n=e.length<t.length;return(r.length<e.length-1||!n)&&this._types[r]||null},zi.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Hi=A(new zi({"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"]})),$i="5.0.8",Vi=function(){var t=l(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":u(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){t.next=2;break}return t.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":u(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(e=e.kintone)||void 0===e?void 0:e.getRequestToken)){t.next=4;break}return t.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Yi=Object.freeze({__proto__:null,buildBaseUrl:function(t){if(t)return t;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var e=location,r=e.host,n=e.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(t,e){var r={};return e&&(r.type=Hi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Vi,getVersion:function(){return $i},readFileFromPath:function(t){throw new Gi("Browser")}}),Ki={},Ji=Gn,Qi=zn,Xi=Object.keys||function(t){return Ji(t,Qi)},Zi=T,ta=Ke,ea=Ye,ra=Ze,na=ut,oa=Xi;Ki.f=Zi&&!ta?Object.defineProperties:function(t,e){ra(t);for(var r,n=na(e),o=oa(e),i=o.length,a=0;i>a;)ea.f(t,r=o[a++],n[r]);return t};var ia,aa=yt("document","documentElement"),sa=Ze,ua=Ki,ca=zn,la=Ur,pa=aa,fa=Le,ha="prototype",da="script",ya=Nr("IE_PROTO"),ma=function(){},ga=function(t){return"<"+da+">"+t+"</"+da+">"},va=function(t){t.write(ga("")),t.close();var e=t.parentWindow.Object;return t=null,e},ba=function(){try{ia=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;ba="undefined"!=typeof document?document.domain&&ia?va(ia):(e=fa("iframe"),r="java"+da+":",e.style.display="none",pa.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(ga("document.F=Object")),t.close(),t.F):va(ia);for(var n=ca.length;n--;)delete ba[ha][ca[n]];return ba()};la[ya]=!0;var wa=Object.create||function(t,e){var r;return null!==t?(ma[ha]=sa(t),r=new ma,ma[ha]=null,r[ya]=t):r=ba(),void 0===e?r:ua.f(r,e)},xa=xe,Sa=wa,Ea=Ye.f,Aa=xa("unscopables"),Ra=Array.prototype;void 0===Ra[Aa]&&Ea(Ra,Aa,{configurable:!0,value:Sa(null)});var Oa,ka,Pa,ja={},Ta=!j((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ia=se,_a=lt,Na=oe,Ua=Ta,Ca=Nr("IE_PROTO"),La=Object,Fa=La.prototype,Ba=Ua?La.getPrototypeOf:function(t){var e=Na(t);if(Ia(e,Ca))return e[Ca];var r=e.constructor;return _a(r)&&e instanceof r?r.prototype:e instanceof La?Fa:null},Da=j,qa=lt,Ma=ft,Wa=Ba,Ga=vn,za=xe("iterator"),Ha=!1;[].keys&&("next"in(Pa=[].keys())?(ka=Wa(Wa(Pa)))!==Object.prototype&&(Oa=ka):Ha=!0);var $a=!Ma(Oa)||Da((function(){var t={};return Oa[za].call(t)!==t}));$a&&(Oa={}),qa(Oa[za])||Ga(Oa,za,(function(){return this}));var Va={IteratorPrototype:Oa,BUGGY_SAFARI_ITERATORS:Ha},Ya=Ye.f,Ka=se,Ja=xe("toStringTag"),Qa=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Ka(t,Ja)&&Ya(t,Ja,{configurable:!0,value:e})},Xa=Va.IteratorPrototype,Za=wa,ts=M,es=Qa,rs=ja,ns=function(){return this},os=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Za(Xa,{next:ts(+!n,r)}),es(t,o,!1),rs[o]=ns,t},is=xo,as=U,ss=lt,us=os,cs=Ba,ls=Wi,ps=Qa,fs=hr,hs=vn,ds=ja,ys=wr.PROPER,ms=wr.CONFIGURABLE,gs=Va.IteratorPrototype,vs=Va.BUGGY_SAFARI_ITERATORS,bs=xe("iterator"),ws="keys",xs="values",Ss="entries",Es=function(){return this},As=function(t,e,r,n,o,i,a){us(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!vs&&t&&t in h)return h[t];switch(t){case ws:case xs:case Ss:return function(){return new r(this,t)}}return function(){return new r(this)}},p=e+" Iterator",f=!1,h=t.prototype,d=h[bs]||h["@@iterator"]||o&&h[o],y=!vs&&d||l(o),m="Array"===e&&h.entries||d;if(m&&(s=cs(m.call(new t)))!==Object.prototype&&s.next&&(cs(s)!==gs&&(ls?ls(s,gs):ss(s[bs])||hs(s,bs,Es)),ps(s,p,!0)),ys&&o===xs&&d&&d.name!==xs&&(ms?fs(h,"name",xs):(f=!0,y=function(){return as(d,this)})),o)if(u={values:l(xs),keys:i?y:l(ws),entries:l(Ss)},a)for(c in u)(vs||f||!(c in h))&&hs(h,c,u[c]);else is({target:e,proto:!0,forced:vs||f},u);return h[bs]!==y&&hs(h,bs,y,{name:o}),ds[e]=y,u},Rs=function(t,e){return{value:t,done:e}},Os=ut,ks=function(t){Ra[Aa][t]=!0},Ps=ja,js=Yr,Ts=Ye.f,Is=As,_s=Rs,Ns=T,Us="Array Iterator",Cs=js.set,Ls=js.getterFor(Us),Fs=Is(Array,"Array",(function(t,e){Cs(this,{type:Us,target:Os(t),index:0,kind:e})}),(function(){var t=Ls(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,_s(void 0,!0);switch(t.kind){case"keys":return _s(r,!1);case"values":return _s(e[r],!1)}return _s([r,e[r]],!1)}),"values"),Bs=Ps.Arguments=Ps.Array;if(ks("keys"),ks("values"),ks("entries"),Ns&&"values"!==Bs.name)try{Ts(Bs,"name",{value:"values"})}catch(t){}var Ds=$,qs=vn,Ms=Date.prototype,Ws="Invalid Date",Gs="toString",zs=Ds(Ms[Gs]),Hs=Ds(Ms.getTime);String(new Date(NaN))!==Ws&&qs(Ms,Gs,(function(){var t=Hs(this);return t==t?zs(this):Ws}));var $s=Fo,Vs=To?{}.toString:function(){return"[object "+$s(this)+"]"};To||vn(Object.prototype,"toString",Vs,{unsafe:!0});var Ys=Fo,Ks=String,Js=function(t){if("Symbol"===Ys(t))throw new TypeError("Cannot convert a Symbol value to a string");return Ks(t)},Qs="\t\n\v\f\r \u2028\u2029\ufeff",Xs=it,Zs=Js,tu=Qs,eu=$("".replace),ru=RegExp("^["+tu+"]+"),nu=RegExp("(^|[^"+tu+"])["+tu+"]+$"),ou=function(t){return function(e){var r=Zs(Xs(e));return 1&t&&(r=eu(r,ru,"")),2&t&&(r=eu(r,nu,"$1")),r}},iu={start:ou(1),end:ou(2),trim:ou(3)},au=k,su=j,uu=Js,cu=iu.trim,lu=Qs,pu=$("".charAt),fu=au.parseFloat,hu=au.Symbol,du=hu&&hu.iterator,yu=1/fu(lu+"-0")!=-1/0||du&&!su((function(){fu(Object(du))}))?function(t){var e=cu(uu(t)),r=fu(e);return 0===r&&"-"===pu(e,0)?-0:r}:fu;xo({global:!0,forced:parseFloat!==yu},{parseFloat:yu});var mu,gu,vu=Ze,bu=function(){var t=vu(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},wu=j,xu=k.RegExp,Su=wu((function(){var t=xu("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Eu=Su||wu((function(){return!xu("a","y").sticky})),Au={BROKEN_CARET:Su||wu((function(){var t=xu("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Eu,UNSUPPORTED_Y:Su},Ru=j,Ou=k.RegExp,ku=Ru((function(){var t=Ou(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Pu=j,ju=k.RegExp,Tu=Pu((function(){var t=ju("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Iu=U,_u=$,Nu=Js,Uu=bu,Cu=Au,Lu=wa,Fu=Yr.get,Bu=ku,Du=Tu,qu=ee("native-string-replace",String.prototype.replace),Mu=RegExp.prototype.exec,Wu=Mu,Gu=_u("".charAt),zu=_u("".indexOf),Hu=_u("".replace),$u=_u("".slice),Vu=(gu=/b*/g,Iu(Mu,mu=/a/,"a"),Iu(Mu,gu,"a"),0!==mu.lastIndex||0!==gu.lastIndex),Yu=Cu.BROKEN_CARET,Ku=void 0!==/()??/.exec("")[1];(Vu||Ku||Yu||Bu||Du)&&(Wu=function(t){var e,r,n,o,i,a,s,u=this,c=Fu(u),l=Nu(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Iu(Wu,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=Yu&&u.sticky,d=Iu(Uu,u),y=u.source,m=0,g=l;if(h&&(d=Hu(d,"y",""),-1===zu(d,"g")&&(d+="g"),g=$u(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Gu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Ku&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Vu&&(n=u.lastIndex),o=Iu(Mu,h?r:u,g),h?o?(o.input=$u(o.input,m),o[0]=$u(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Vu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Ku&&o&&o.length>1&&Iu(qu,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&f)for(o.groups=a=Lu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var Ju=Wu;xo({target:"RegExp",proto:!0,forced:/./.exec!==Ju},{exec:Ju});var Qu=U,Xu=se,Zu=mt,tc=bu,ec=RegExp.prototype,rc=wr.PROPER,nc=vn,oc=Ze,ic=Js,ac=j,sc=function(t){var e=t.flags;return void 0!==e||"flags"in ec||Xu(t,"flags")||!Zu(ec,t)?e:Qu(tc,t)},uc="toString",cc=RegExp.prototype,lc=cc[uc],pc=ac((function(){return"/a/b"!==lc.call({source:"a",flags:"b"})})),fc=rc&&lc.name!==uc;(pc||fc)&&nc(cc,uc,(function(){var t=oc(this);return"/"+ic(t.source)+"/"+ic(sc(t))}),{unsafe:!0});var hc=$,dc=En,yc=Js,mc=it,gc=hc("".charAt),vc=hc("".charCodeAt),bc=hc("".slice),wc=function(t){return function(e,r){var n,o,i=yc(mc(e)),a=dc(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=vc(i,a))<55296||n>56319||a+1===s||(o=vc(i,a+1))<56320||o>57343?t?gc(i,a):n:t?bc(i,a,a+2):o-56320+(n-55296<<10)+65536}},xc={codeAt:wc(!1),charAt:wc(!0)},Sc=xc.charAt,Ec=Js,Ac=Yr,Rc=As,Oc=Rs,kc="String Iterator",Pc=Ac.set,jc=Ac.getterFor(kc);Rc(String,"String",(function(t){Pc(this,{type:kc,string:Ec(t),index:0})}),(function(){var t,e=jc(this),r=e.string,n=e.index;return n>=r.length?Oc(void 0,!0):(t=Sc(r,n),e.index+=t.length,Oc(t,!1))}));var Tc=I,Ic=Function.prototype,_c=Ic.apply,Nc=Ic.call,Uc="object"==typeof Reflect&&Reflect.apply||(Tc?Nc.bind(_c):function(){return Nc.apply(_c,arguments)}),Cc=U,Lc=vn,Fc=Ju,Bc=j,Dc=xe,qc=hr,Mc=Dc("species"),Wc=RegExp.prototype,Gc=function(t,e,r,n){var o=Dc(t),i=!Bc((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!Bc((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Mc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===Fc||a===Wc.exec?i&&!o?{done:!0,value:Cc(s,e,r,n)}:{done:!0,value:Cc(t,r,e,n)}:{done:!1}}));Lc(String.prototype,t,u[0]),Lc(Wc,o,u[1])}n&&qc(Wc[o],"sham",!0)},zc=xc.charAt,Hc=function(t,e,r){return e+(r?zc(t,e).length:1)},$c=$,Vc=oe,Yc=Math.floor,Kc=$c("".charAt),Jc=$c("".replace),Qc=$c("".slice),Xc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Zc=/\$([$&'`]|\d{1,2})/g,tl=U,el=Ze,rl=lt,nl=J,ol=Ju,il=TypeError,al=function(t,e){var r=t.exec;if(rl(r)){var n=tl(r,t,e);return null!==n&&el(n),n}if("RegExp"===nl(t))return tl(ol,t,e);throw new il("RegExp#exec called on incompatible receiver")},sl=Uc,ul=U,cl=$,ll=Gc,pl=j,fl=Ze,hl=lt,dl=rt,yl=En,ml=Tn,gl=Js,vl=it,bl=Hc,wl=Wt,xl=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=Zc;return void 0!==o&&(o=Vc(o),u=Xc),Jc(i,u,(function(i,u){var c;switch(Kc(u,0)){case"$":return"$";case"&":return t;case"`":return Qc(e,0,r);case"'":return Qc(e,a);case"<":c=o[Qc(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Yc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Kc(u,1):n[p-1]+Kc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Sl=al,El=xe("replace"),Al=Math.max,Rl=Math.min,Ol=cl([].concat),kl=cl([].push),Pl=cl("".indexOf),jl=cl("".slice),Tl="$0"==="a".replace(/./,"$0"),Il=!!/./[El]&&""===/./[El]("a","$0");ll("replace",(function(t,e,r){var n=Il?"$":"$0";return[function(t,r){var n=vl(this),o=dl(t)?void 0:wl(t,El);return o?ul(o,t,n,r):ul(e,gl(n),t,r)},function(t,o){var i=fl(this),a=gl(t);if("string"==typeof o&&-1===Pl(o,n)&&-1===Pl(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=hl(o);u||(o=gl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Sl(i,a))&&(kl(f,p),l);){""===gl(p[0])&&(i.lastIndex=bl(a,ml(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=gl((p=f[m])[0]),b=Al(Rl(yl(p.index),a.length),0),w=[],x=1;x<p.length;x++)kl(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Ol([v],w,b,a);void 0!==S&&kl(E,S),g=gl(sl(o,void 0,E))}else g=xl(v,a,b,w,S,o);b>=y&&(d+=jl(a,y,b)+g,y=b+v.length)}return d+jl(a,y)}]}),!!pl((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Tl||Il);var _l={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},Nl=Le("span").classList,Ul=Nl&&Nl.constructor&&Nl.constructor.prototype,Cl=Ul===Object.prototype?void 0:Ul,Ll=k,Fl=_l,Bl=Cl,Dl=Fs,ql=hr,Ml=Qa,Wl=xe("iterator"),Gl=Dl.values,zl=function(t,e){if(t){if(t[Wl]!==Gl)try{ql(t,Wl,Gl)}catch(e){t[Wl]=Gl}if(Ml(t,e,!0),Fl[e])for(var r in Dl)if(t[r]!==Dl[r])try{ql(t,r,Dl[r])}catch(e){t[r]=Dl[r]}}};for(var Hl in Fl)zl(Ll[Hl]&&Ll[Hl].prototype,Hl);zl(Bl,"DOMTokenList");var $l=j,Vl=T,Yl=xe("iterator"),Kl=!$l((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),!e.size&&!Vl||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Yl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Jl=J,Ql=$,Xl=function(t){if("Function"===Jl(t))return Ql(t)},Zl=Dt,tp=I,ep=Xl(Xl.bind),rp=function(t,e){return Zl(t),void 0===e?t:tp?ep(t,e):function(){return t.apply(e,arguments)}},np=mt,op=TypeError,ip=function(t,e){if(np(e,t))return t;throw new op("Incorrect invocation")},ap=T,sp=$,up=U,cp=j,lp=Xi,pp=Vn,fp=C,hp=oe,dp=et,yp=Object.assign,mp=Object.defineProperty,gp=sp([].concat),vp=!yp||cp((function(){if(ap&&1!==yp({b:1},yp(mp({},"a",{enumerable:!0,get:function(){mp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==yp({},t)[r]||lp(yp({},e)).join("")!==n}))?function(t,e){for(var r=hp(t),n=arguments.length,o=1,i=pp.f,a=fp.f;n>o;)for(var s,u=dp(arguments[o++]),c=i?gp(lp(u),i(u)):lp(u),l=c.length,p=0;l>p;)s=c[p++],ap&&!up(a,u,s)||(r[s]=u[s]);return r}:yp,bp=U,wp=Ze,xp=Wt,Sp=Ze,Ep=function(t,e,r){var n,o;wp(t);try{if(!(n=xp(t,"return"))){if("throw"===e)throw r;return r}n=bp(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return wp(n),r},Ap=ja,Rp=xe("iterator"),Op=Array.prototype,kp=Fo,Pp=Wt,jp=rt,Tp=ja,Ip=xe("iterator"),_p=function(t){if(!jp(t))return Pp(t,Ip)||Pp(t,"@@iterator")||Tp[kp(t)]},Np=U,Up=Dt,Cp=Ze,Lp=Ct,Fp=_p,Bp=TypeError,Dp=function(t,e){var r=arguments.length<2?Fp(t):e;if(Up(r))return Cp(Np(r,t));throw new Bp(Lp(t)+" is not iterable")},qp=rp,Mp=U,Wp=oe,Gp=function(t,e,r,n){try{return n?e(Sp(r)[0],r[1]):e(r)}catch(e){Ep(t,"throw",e)}},zp=function(t){return void 0!==t&&(Ap.Array===t||Op[Rp]===t)},Hp=Jo,$p=_n,Vp=Po,Yp=Dp,Kp=_p,Jp=Array,Qp=$([].slice),Xp=$,Zp=2147483647,tf=/[^\0-\u007E]/,ef=/[.\u3002\uFF0E\uFF61]/g,rf="Overflow: input needs wider integers to process",nf=RangeError,of=Xp(ef.exec),af=Math.floor,sf=String.fromCharCode,uf=Xp("".charCodeAt),cf=Xp([].join),lf=Xp([].push),pf=Xp("".replace),ff=Xp("".split),hf=Xp("".toLowerCase),df=function(t){return t+22+75*(t<26)},yf=function(t,e,r){var n=0;for(t=r?af(t/700):t>>1,t+=af(t/e);t>455;)t=af(t/35),n+=36;return af(n+36*t/(t+38))},mf=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=uf(t,r++);if(o>=55296&&o<=56319&&r<n){var i=uf(t,r++);56320==(64512&i)?lf(e,((1023&o)<<10)+(1023&i)+65536):(lf(e,o),r--)}else lf(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,s=72;for(r=0;r<t.length;r++)(n=t[r])<128&&lf(e,sf(n));var u=e.length,c=u;for(u&&lf(e,"-");c<o;){var l=Zp;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>af((Zp-a)/p))throw new nf(rf);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>Zp)throw new nf(rf);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;lf(e,sf(df(d+y%m))),f=af(y/m),h+=36}lf(e,sf(df(f))),s=yf(a,p,c===u),a=0,c++}}a++,i++}return cf(e,"")},gf=TypeError,vf=function(t,e){if(t<e)throw new gf("Not enough arguments");return t},bf=k,wf=T,xf=Object.getOwnPropertyDescriptor,Sf=vn,Ef=Qp,Af=Math.floor,Rf=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Af(r/2),s=Rf(Ef(t,0,a),e),u=Rf(Ef(t,a),e),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)t[p+f]=p<c&&f<l?e(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return t},Of=xo,kf=k,Pf=function(t){if(!wf)return bf[t];var e=xf(bf,t);return e&&e.value},jf=U,Tf=$,If=T,_f=Kl,Nf=vn,Uf=Ai,Cf=function(t,e,r){for(var n in e)Sf(t,n,e[n],r);return t},Lf=Qa,Ff=os,Bf=Yr,Df=ip,qf=lt,Mf=se,Wf=rp,Gf=Fo,zf=Ze,Hf=ft,$f=Js,Vf=wa,Yf=M,Kf=Dp,Jf=_p,Qf=Rs,Xf=vf,Zf=Rf,th=xe("iterator"),eh="URLSearchParams",rh=eh+"Iterator",nh=Bf.set,oh=Bf.getterFor(eh),ih=Bf.getterFor(rh),ah=Pf("fetch"),sh=Pf("Request"),uh=Pf("Headers"),ch=sh&&sh.prototype,lh=uh&&uh.prototype,ph=kf.RegExp,fh=kf.TypeError,hh=kf.decodeURIComponent,dh=kf.encodeURIComponent,yh=Tf("".charAt),mh=Tf([].join),gh=Tf([].push),vh=Tf("".replace),bh=Tf([].shift),wh=Tf([].splice),xh=Tf("".split),Sh=Tf("".slice),Eh=/\+/g,Ah=Array(4),Rh=function(t){return Ah[t-1]||(Ah[t-1]=ph("((?:%[\\da-f]{2}){"+t+"})","gi"))},Oh=function(t){try{return hh(t)}catch(e){return t}},kh=function(t){var e=vh(t,Eh," "),r=4;try{return hh(e)}catch(t){for(;r;)e=vh(e,Rh(r--),Oh);return e}},Ph=/[!'()~]|%20/g,jh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Th=function(t){return jh[t]},Ih=function(t){return vh(dh(t),Ph,Th)},_h=Ff((function(t,e){nh(this,{type:rh,target:oh(t).entries,index:0,kind:e})}),eh,(function(){var t=ih(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Qf(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Qf(n.key,!1);case"values":return Qf(n.value,!1)}return Qf([n.key,n.value],!1)}),!0),Nh=function(t){this.entries=[],this.url=null,void 0!==t&&(Hf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===yh(t,0)?Sh(t,1):t:$f(t)))};Nh.prototype={type:eh,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=this.entries,c=Jf(t);if(c)for(r=(e=Kf(t,c)).next;!(n=jf(r,e)).done;){if(i=(o=Kf(zf(n.value))).next,(a=jf(i,o)).done||(s=jf(i,o)).done||!jf(i,o).done)throw new fh("Expected sequence with length 2");gh(u,{key:$f(a.value),value:$f(s.value)})}else for(var l in t)Mf(t,l)&&gh(u,{key:l,value:$f(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=xh(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=xh(e,"="),gh(n,{key:kh(bh(r)),value:kh(mh(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],gh(r,Ih(t.key)+"="+Ih(t.value));return mh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Uh=function(){Df(this,Ch);var t=nh(this,new Nh(arguments.length>0?arguments[0]:void 0));If||(this.size=t.entries.length)},Ch=Uh.prototype;if(Cf(Ch,{append:function(t,e){var r=oh(this);Xf(arguments.length,2),gh(r.entries,{key:$f(t),value:$f(e)}),If||this.length++,r.updateURL()},delete:function(t){for(var e=oh(this),r=Xf(arguments.length,1),n=e.entries,o=$f(t),i=r<2?void 0:arguments[1],a=void 0===i?i:$f(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(wh(n,s,1),void 0!==a)break}If||(this.size=n.length),e.updateURL()},get:function(t){var e=oh(this).entries;Xf(arguments.length,1);for(var r=$f(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=oh(this).entries;Xf(arguments.length,1);for(var r=$f(t),n=[],o=0;o<e.length;o++)e[o].key===r&&gh(n,e[o].value);return n},has:function(t){for(var e=oh(this).entries,r=Xf(arguments.length,1),n=$f(t),o=r<2?void 0:arguments[1],i=void 0===o?o:$f(o),a=0;a<e.length;){var s=e[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(t,e){var r=oh(this);Xf(arguments.length,1);for(var n,o=r.entries,i=!1,a=$f(t),s=$f(e),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?wh(o,u--,1):(i=!0,n.value=s));i||gh(o,{key:a,value:s}),If||(this.size=o.length),r.updateURL()},sort:function(){var t=oh(this);Zf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=oh(this).entries,n=Wf(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new _h(this,"keys")},values:function(){return new _h(this,"values")},entries:function(){return new _h(this,"entries")}},{enumerable:!0}),Nf(Ch,th,Ch.entries,{name:"entries"}),Nf(Ch,"toString",(function(){return oh(this).serialize()}),{enumerable:!0}),If&&Uf(Ch,"size",{get:function(){return oh(this).entries.length},configurable:!0,enumerable:!0}),Lf(Uh,eh),Of({global:!0,constructor:!0,forced:!_f},{URLSearchParams:Uh}),!_f&&qf(uh)){var Lh=Tf(lh.has),Fh=Tf(lh.set),Bh=function(t){if(Hf(t)){var e,r=t.body;if(Gf(r)===eh)return e=t.headers?new uh(t.headers):new uh,Lh(e,"content-type")||Fh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Vf(t,{body:Yf(0,$f(r)),headers:Yf(0,e)})}return t};if(qf(ah)&&Of({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return ah(t,arguments.length>1?Bh(arguments[1]):{})}}),qf(sh)){var Dh=function(t){return Df(this,ch),new sh(t,arguments.length>1?Bh(arguments[1]):{})};ch.constructor=Dh,Dh.prototype=ch,Of({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Dh})}}var qh,Mh=xo,Wh=T,Gh=Kl,zh=k,Hh=rp,$h=$,Vh=vn,Yh=Ai,Kh=ip,Jh=se,Qh=vp,Xh=function(t){var e=Wp(t),r=Hp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=qp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Kp(e),h=0;if(!f||this===Jp&&zp(f))for(a=$p(e),s=r?new this(a):Jp(a);a>h;h++)p=i?o(e[h],h):e[h],Vp(s,h,p);else for(l=(c=Yp(e,f)).next,s=r?new this:[];!(u=Mp(l,c)).done;h++)p=i?Gp(c,o,[u.value,h],!0):u.value,Vp(s,h,p);return s.length=h,s},Zh=Qp,td=xc.codeAt,ed=function(t){var e,r,n=[],o=ff(pf(hf(t),ef,"."),".");for(e=0;e<o.length;e++)r=o[e],lf(n,of(tf,r)?"xn--"+mf(r):r);return cf(n,".")},rd=Js,nd=Qa,od=vf,id={URLSearchParams:Uh,getState:oh},ad=Yr,sd=ad.set,ud=ad.getterFor("URL"),cd=id.URLSearchParams,ld=id.getState,pd=zh.URL,fd=zh.TypeError,hd=zh.parseInt,dd=Math.floor,yd=Math.pow,md=$h("".charAt),gd=$h(/./.exec),vd=$h([].join),bd=$h(1..toString),wd=$h([].pop),xd=$h([].push),Sd=$h("".replace),Ed=$h([].shift),Ad=$h("".split),Rd=$h("".slice),Od=$h("".toLowerCase),kd=$h([].unshift),Pd="Invalid scheme",jd="Invalid host",Td="Invalid port",Id=/[a-z]/i,_d=/[\d+-.a-z]/i,Nd=/\d/,Ud=/^0x/i,Cd=/^[0-7]+$/,Ld=/^\d+$/,Fd=/^[\da-f]+$/i,Bd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Dd=/[\0\t\n\r #/:<>?@[\\\]^|]/,qd=/^[\u0000-\u0020]+/,Md=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Wd=/[\t\n\r]/g,Gd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)kd(e,t%256),t=dd(t/256);return vd(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=bd(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},zd={},Hd=Qh({},zd,{" ":1,'"':1,"<":1,">":1,"`":1}),$d=Qh({},Hd,{"#":1,"?":1,"{":1,"}":1}),Vd=Qh({},$d,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Yd=function(t,e){var r=td(t,0);return r>32&&r<127&&!Jh(e,t)?t:encodeURIComponent(t)},Kd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Jd=function(t,e){var r;return 2===t.length&&gd(Id,md(t,0))&&(":"===(r=md(t,1))||!e&&"|"===r)},Qd=function(t){var e;return t.length>1&&Jd(Rd(t,0,2))&&(2===t.length||"/"===(e=md(t,2))||"\\"===e||"?"===e||"#"===e)},Xd=function(t){return"."===t||"%2e"===Od(t)},Zd={},ty={},ey={},ry={},ny={},oy={},iy={},ay={},sy={},uy={},cy={},ly={},py={},fy={},hy={},dy={},yy={},my={},gy={},vy={},by={},wy=function(t,e,r){var n,o,i,a=rd(t);if(e){if(o=this.parse(a))throw new fd(o);this.searchParams=null}else{if(void 0!==r&&(n=new wy(r,!0)),o=this.parse(a,null,n))throw new fd(o);(i=ld(new cd)).bindURL(this),this.searchParams=i}};wy.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||Zd,l=0,p="",f=!1,h=!1,d=!1;for(t=rd(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=Sd(t,qd,""),t=Sd(t,Md,"$1")),t=Sd(t,Wd,""),n=Xh(t);l<=n.length;){switch(o=n[l],c){case Zd:if(!o||!gd(Id,o)){if(e)return Pd;c=ey;continue}p+=Od(o),c=ty;break;case ty:if(o&&(gd(_d,o)||"+"===o||"-"===o||"."===o))p+=Od(o);else{if(":"!==o){if(e)return Pd;p="",c=ey,l=0;continue}if(e&&(u.isSpecial()!==Jh(Kd,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&Kd[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=fy:u.isSpecial()&&r&&r.scheme===u.scheme?c=ry:u.isSpecial()?c=ay:"/"===n[l+1]?(c=ny,l++):(u.cannotBeABaseURL=!0,xd(u.path,""),c=gy)}break;case ey:if(!r||r.cannotBeABaseURL&&"#"!==o)return Pd;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=Zh(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=by;break}c="file"===r.scheme?fy:oy;continue;case ry:if("/"!==o||"/"!==n[l+1]){c=oy;continue}c=sy,l++;break;case ny:if("/"===o){c=uy;break}c=my;continue;case oy:if(u.scheme=r.scheme,o===qh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=Zh(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=iy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=Zh(r.path),u.query="",c=vy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=Zh(r.path),u.path.length--,c=my;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=Zh(r.path),u.query=r.query,u.fragment="",c=by}break;case iy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=my;continue}c=uy}else c=sy;break;case ay:if(c=sy,"/"!==o||"/"!==md(p,l+1))continue;l++;break;case sy:if("/"!==o&&"\\"!==o){c=uy;continue}break;case uy:if("@"===o){f&&(p="%40"+p),f=!0,i=Xh(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=Yd(m,Vd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===qh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=Xh(p).length+1,p="",c=cy}else p+=o;break;case cy:case ly:if(e&&"file"===u.scheme){c=dy;continue}if(":"!==o||h){if(o===qh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return jd;if(e&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=yy,e)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return jd;if(a=u.parseHost(p))return a;if(p="",c=py,e===ly)return}break;case py:if(!gd(Nd,o)){if(o===qh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==p){var v=hd(p,10);if(v>65535)return Td;u.port=u.isSpecial()&&v===Kd[u.scheme]?null:v,p=""}if(e)return;c=yy;continue}return Td}p+=o;break;case fy:if(u.scheme="file","/"===o||"\\"===o)c=hy;else{if(!r||"file"!==r.scheme){c=my;continue}switch(o){case qh:u.host=r.host,u.path=Zh(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=Zh(r.path),u.query="",c=vy;break;case"#":u.host=r.host,u.path=Zh(r.path),u.query=r.query,u.fragment="",c=by;break;default:Qd(vd(Zh(n,l),""))||(u.host=r.host,u.path=Zh(r.path),u.shortenPath()),c=my;continue}}break;case hy:if("/"===o||"\\"===o){c=dy;break}r&&"file"===r.scheme&&!Qd(vd(Zh(n,l),""))&&(Jd(r.path[0],!0)?xd(u.path,r.path[0]):u.host=r.host),c=my;continue;case dy:if(o===qh||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&Jd(p))c=my;else if(""===p){if(u.host="",e)return;c=yy}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),e)return;p="",c=yy}continue}p+=o;break;case yy:if(u.isSpecial()){if(c=my,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==qh&&(c=my,"/"!==o))continue}else u.fragment="",c=by;else u.query="",c=vy;break;case my:if(o===qh||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(s=Od(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||xd(u.path,"")):Xd(p)?"/"===o||"\\"===o&&u.isSpecial()||xd(u.path,""):("file"===u.scheme&&!u.path.length&&Jd(p)&&(u.host&&(u.host=""),p=md(p,0)+":"),xd(u.path,p)),p="","file"===u.scheme&&(o===qh||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Ed(u.path);"?"===o?(u.query="",c=vy):"#"===o&&(u.fragment="",c=by)}else p+=Yd(o,$d);break;case gy:"?"===o?(u.query="",c=vy):"#"===o?(u.fragment="",c=by):o!==qh&&(u.path[0]+=Yd(o,zd));break;case vy:e||"#"!==o?o!==qh&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":Yd(o,zd)):(u.fragment="",c=by);break;case by:o!==qh&&(u.fragment+=Yd(o,Hd))}l++}},parseHost:function(t){var e,r,n;if("["===md(t,0)){if("]"!==md(t,t.length-1))return jd;if(e=function(t){var e,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return md(t,p)};if(":"===f()){if(":"!==md(t,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&gd(Fd,f());)e=16*e+hd(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!gd(Nd,f()))return;for(;gd(Nd,f());){if(i=hd(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;p++,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}(Rd(t,1,-1)),!e)return jd;this.host=e}else if(this.isSpecial()){if(t=ed(t),gd(Bd,t))return jd;if(e=function(t){var e,r,n,o,i,a,s,u=Ad(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===md(o,0)&&(i=gd(Ud,o)?16:8,o=Rd(o,8===i?1:2)),""===o)a=0;else{if(!gd(10===i?Ld:8===i?Cd:Fd,o))return t;a=hd(o,i)}xd(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=yd(256,5-e))return null}else if(a>255)return null;for(s=wd(r),n=0;n<r.length;n++)s+=r[n]*yd(256,3-n);return s}(t),null===e)return jd;this.host=e}else{if(gd(Dd,t))return jd;for(e="",r=Xh(t),n=0;n<r.length;n++)e+=Yd(r[n],zd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Jh(Kd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&Jd(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Gd(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+vd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new fd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new xy(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+Gd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(rd(t)+":",Zd)},getUsername:function(){return this.username},setUsername:function(t){var e=Xh(rd(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=Yd(e[r],Vd)}},getPassword:function(){return this.password},setPassword:function(t){var e=Xh(rd(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=Yd(e[r],Vd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?Gd(t):Gd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,cy)},getHostname:function(){var t=this.host;return null===t?"":Gd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,ly)},getPort:function(){var t=this.port;return null===t?"":rd(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=rd(t))?this.port=null:this.parse(t,py))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+vd(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,yy))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=rd(t))?this.query=null:("?"===md(t,0)&&(t=Rd(t,1)),this.query="",this.parse(t,vy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=rd(t))?("#"===md(t,0)&&(t=Rd(t,1)),this.fragment="",this.parse(t,by)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var xy=function(t){var e=Kh(this,Sy),r=od(arguments.length,1)>1?arguments[1]:void 0,n=sd(e,new wy(t,!1,r));Wh||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Sy=xy.prototype,Ey=function(t,e){return{get:function(){return ud(this)[t]()},set:e&&function(t){return ud(this)[e](t)},configurable:!0,enumerable:!0}};if(Wh&&(Yh(Sy,"href",Ey("serialize","setHref")),Yh(Sy,"origin",Ey("getOrigin")),Yh(Sy,"protocol",Ey("getProtocol","setProtocol")),Yh(Sy,"username",Ey("getUsername","setUsername")),Yh(Sy,"password",Ey("getPassword","setPassword")),Yh(Sy,"host",Ey("getHost","setHost")),Yh(Sy,"hostname",Ey("getHostname","setHostname")),Yh(Sy,"port",Ey("getPort","setPort")),Yh(Sy,"pathname",Ey("getPathname","setPathname")),Yh(Sy,"search",Ey("getSearch","setSearch")),Yh(Sy,"searchParams",Ey("getSearchParams")),Yh(Sy,"hash",Ey("getHash","setHash"))),Vh(Sy,"toJSON",(function(){return ud(this).serialize()}),{enumerable:!0}),Vh(Sy,"toString",(function(){return ud(this).serialize()}),{enumerable:!0}),pd){var Ay=pd.createObjectURL,Ry=pd.revokeObjectURL;Ay&&Vh(xy,"createObjectURL",Hh(Ay,pd)),Ry&&Vh(xy,"revokeObjectURL",Hh(Ry,pd))}nd(xy,"URL"),Mh({global:!0,constructor:!0,forced:!Gh,sham:!Wh},{URL:xy});var Oy=rp,ky=et,Py=oe,jy=_n,Ty=ni,Iy=$([].push),_y=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(u,c,l,p){for(var f,h,d=Py(u),y=ky(d),m=jy(y),g=Oy(c,l),v=0,b=p||Ty,w=e?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),t))if(e)w[v]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return v;case 2:Iy(w,f)}else switch(t){case 4:return!1;case 7:Iy(w,f)}return i?-1:n||o?o:w}},Ny={forEach:_y(0),map:_y(1),filter:_y(2),some:_y(3),every:_y(4),find:_y(5),findIndex:_y(6),filterReject:_y(7)},Uy=Ny.map;xo({target:"Array",proto:!0,forced:!si("map")},{map:function(t){return Uy(this,t,arguments.length>1?arguments[1]:void 0)}});var Cy=function(t){var e=t.endpointName,r=t.guestSpaceId,n=t.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(e,".json")},Ly=["endpointName"],Fy=function(){function t(e,r){p(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return h(t,[{key:"send",value:function(t){var e=this,r=t.requests.map((function(t){if("endpointName"in t){var r=t.endpointName,n=b(t,Ly);return i({api:e.buildPathWithGuestSpaceId({endpointName:r})},n)}return t})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}},{key:"buildPathWithGuestSpaceId",value:function(t){return Cy(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),By=["preview"],Dy=["preview"],qy=["preview"],My=["preview"],Wy=["preview"],Gy=["preview"],zy=["preview"],Hy=["preview"],$y=["preview"],Vy=["preview"],Yy=["preview"],Ky=["preview"],Jy=["preview"],Qy=["preview"],Xy=function(){function t(e,r){p(this,t),this.client=e,this.guestSpaceId=r}var e;return h(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=b(t,By),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:e});return this.client.get(n,i({},r))}},{key:"addFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(e,t)}},{key:"updateFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(e,t)}},{key:"deleteFormFields",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(e,t)}},{key:"getFormLayout",value:function(t){var e=t.preview,r=b(t,Dy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:e});return this.client.get(n,i({},r))}},{key:"updateFormLayout",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(e,t)}},{key:"getViews",value:function(t){var e=t.preview,r=b(t,qy),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:e});return this.client.get(n,r)}},{key:"updateViews",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(e,t)}},{key:"getApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(e,t)}},{key:"getApps",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(e,t)}},{key:"addApp",value:(e=l(a().mark((function t(e){var r,n,o,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,n=e.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){t.next=9;break}return s=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(s,{id:n});case 6:return u=t.sent,c=u.defaultThread,t.abrupt("return",this.client.post(o,i(i({},e),{},{thread:c})));case 9:return t.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"getAppSettings",value:function(t){var e=t.preview,r=b(t,My),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:e});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(e,t)}},{key:"getProcessManagement",value:function(t){var e=t.preview,r=b(t,Wy),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:e});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(e,t)}},{key:"getDeployStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(e,t)}},{key:"deployApp",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(e,t)}},{key:"getFieldAcl",value:function(t){var e=t.preview,r=b(t,Gy),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateFieldAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppAcl",value:function(t){var e=t.preview,r=b(t,zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(e,t)}},{key:"evaluateRecordsAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(e,t)}},{key:"getRecordAcl",value:function(t){var e=t.preview,r=b(t,Hy),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:e});return this.client.get(n,i({},r))}},{key:"updateRecordAcl",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(e,t)}},{key:"getAppCustomize",value:function(t){var e=t.preview,r=b(t,$y),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:e});return this.client.get(n,i({},r))}},{key:"updateAppCustomize",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(e,t)}},{key:"getGeneralNotifications",value:function(t){var e=t.preview,r=b(t,Vy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:e});return this.client.get(n,i({},r))}},{key:"updateGeneralNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(e,t)}},{key:"getPerRecordNotifications",value:function(t){var e=t.preview,r=b(t,Yy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:e});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(e,t)}},{key:"getReminderNotifications",value:function(t){var e=t.preview,r=b(t,Ky),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:e});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(e,t)}},{key:"getReports",value:function(t){var e=t.preview,r=b(t,Jy),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:e});return this.client.get(n,r)}},{key:"updateReports",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(e,t)}},{key:"getAppActions",value:function(t){var e=t.preview,r=b(t,Qy),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:e});return this.client.get(n,r)}},{key:"updateAppActions",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Cy(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Zy=j,tm=function(t,e){var r=[][t];return!!r&&Zy((function(){r.call(null,e||function(){return 1},1)}))},em=Ny.every;xo({target:"Array",proto:!0,forced:!tm("every")},{every:function(t){return em(this,t,arguments.length>1?arguments[1]:void 0)}});var rm=xo,nm=Fn.indexOf,om=tm,im=Xl([].indexOf),am=!!im&&1/im([1],1,-0)<0;rm({target:"Array",proto:!0,forced:am||!om("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return am?im(this,t,e)||0:nm(this,t,e)}}),xo({target:"Array",stat:!0},{isArray:Eo});var sm=Dt,um=oe,cm=et,lm=_n,pm=TypeError,fm=function(t){return function(e,r,n,o){var i=um(e),a=cm(i),s=lm(i);sm(r);var u=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw new pm("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},hm={left:fm(!1),right:fm(!0)},dm="process"===J(k.process),ym=hm.left;xo({target:"Array",proto:!0,forced:!dm&&Et>79&&Et<83||!tm("reduce")},{reduce:function(t){var e=arguments.length;return ym(this,t,e,e>1?arguments[1]:void 0)}});var mm=xo,gm=Eo,vm=Jo,bm=ft,wm=kn,xm=_n,Sm=ut,Em=Po,Am=xe,Rm=Qp,Om=si("slice"),km=Am("species"),Pm=Array,jm=Math.max;mm({target:"Array",proto:!0,forced:!Om},{slice:function(t,e){var r,n,o,i=Sm(this),a=xm(i),s=wm(t,a),u=wm(void 0===e?a:e,a);if(gm(i)&&(r=i.constructor,(vm(r)&&(r===Pm||gm(r.prototype))||bm(r)&&null===(r=r[km]))&&(r=void 0),r===Pm||void 0===r))return Rm(i,s,u);for(n=new(void 0===r?Pm:r)(jm(u-s,0)),o=0;s<u;s++,o++)s in i&&Em(n,o,i[s]);return n.length=o,n}});var Tm=k,Im=lt,_m=ft,Nm=Wi,Um=$(1..valueOf),Cm=xo,Lm=T,Fm=k,Bm=Tm,Dm=$,qm=fo,Mm=se,Wm=function(t,e,r){var n,o;return Nm&&Im(n=e.constructor)&&n!==r&&_m(o=n.prototype)&&o!==r.prototype&&Nm(t,o),t},Gm=mt,zm=Nt,Hm=je,$m=j,Vm=bn.f,Ym=P.f,Km=Ye.f,Jm=Um,Qm=iu.trim,Xm="Number",Zm=Fm[Xm];Bm[Xm];var tg=Zm.prototype,eg=Fm.TypeError,rg=Dm("".slice),ng=Dm("".charCodeAt),og=function(t){var e,r,n,o,i,a,s,u,c=Hm(t,"number");if(zm(c))throw new eg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Qm(c),43===(e=ng(c,0))||45===e){if(88===(r=ng(c,2))||120===r)return NaN}else if(48===e){switch(ng(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=rg(c,2)).length,s=0;s<a;s++)if((u=ng(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},ig=qm(Xm,!Zm(" 0o1")||!Zm("0b1")||Zm("+0x1")),ag=function(t){var e,r=arguments.length<1?0:Zm(function(t){var e=Hm(t,"number");return"bigint"==typeof e?e:og(e)}(t));return Gm(tg,e=this)&&$m((function(){Jm(e)}))?Wm(Object(r),this,ag):r};ag.prototype=tg,ig&&(tg.constructor=ag),Cm({global:!0,constructor:!0,wrap:!0,forced:ig},{Number:ag});ig&&function(t,e){for(var r,n=Lm?Vm(e):"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++)Mm(e,r=n[o])&&!Mm(t,r)&&Km(t,r,Ym(e,r))}(Bm[Xm],Zm);var sg=vp;xo({target:"Object",stat:!0,arity:2,forced:Object.assign!==sg},{assign:sg});var ug=U,cg=Ze,lg=rt,pg=Tn,fg=Js,hg=it,dg=Wt,yg=Hc,mg=al;Gc("match",(function(t,e,r){return[function(e){var r=hg(this),n=lg(e)?void 0:dg(e,t);return n?ug(n,e,r):new RegExp(e)[t](fg(r))},function(t){var n=cg(this),o=fg(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return mg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=mg(n,o));){var l=fg(s[0]);u[c]=l,""===l&&(n.lastIndex=yg(o,pg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var gg=Ny.forEach,vg=tm("forEach")?[].forEach:function(t){return gg(this,t,arguments.length>1?arguments[1]:void 0)};xo({target:"Array",proto:!0,forced:[].forEach!==vg},{forEach:vg});var bg=oe,wg=Xi;xo({target:"Object",stat:!0,forced:j((function(){wg(1)}))},{keys:function(t){return wg(bg(t))}});var xg=k,Sg=_l,Eg=Cl,Ag=vg,Rg=hr,Og=function(t){if(t&&t.forEach!==Ag)try{Rg(t,"forEach",Ag)}catch(e){t.forEach=Ag}};for(var kg in Sg)Sg[kg]&&Og(xg[kg]&&xg[kg].prototype);Og(Eg);var Pg=function(t){function e(t,n,o,i,a){var s;p(this,e);var u=o-n.length,c=e.extractErrorIndex(u,i,a),l=e.buildErrorMessage(u,o,c);return(s=r(this,e,[l])).name="KintoneAllRecordsError",s.processedRecordsResult=t,s.unprocessedRecords=n,s.error=i,s.errorIndex=c,s.message=l,s.numOfProcessedRecords=u,s.numOfAllRecords=o,Object.setPrototypeOf(w(s),e.prototype),s}return y(e,t),h(e,null,[{key:"parseErrorIndex",value:function(t){var e=[];return Object.keys(t).forEach((function(t){var r=t.match(/records\[(\d+)\]/);r&&e.push(Number(r[1]))})),e.length>0?Math.min.apply(Math,e):null}},{key:"extractErrorIndex",value:function(t,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=e.parseErrorIndex(r.errors);if(null!==o)return t+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(t,e,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(t,"/").concat(e," records are processed successfully")}}]),e}(v(Error)),jg=["condition","orderBy","withCursor"],Tg=["fields","condition"],Ig=["condition","orderBy"],_g=500,Ng=function(){function t(e,r,n){p(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,n,o,s,u,c,f,y,m,g,v,w,S,E;return h(t,[{key:"getRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(e,t)}},{key:"addRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(e,t)}},{key:"updateRecord",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(e,t)}},{key:"upsertRecord",value:(E=l(a().mark((function t(e){var r,n,o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.app,n=e.updateKey,o=e.record,t.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=t.sent,!((s=i.records).length>0)){t.next=13;break}if("__ID__"!==s[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return u=t.sent,c=u.revision,t.abrupt("return",{id:s[0].$id.value,revision:c});case 12: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 13:return t.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,d({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return E.apply(this,arguments)})},{key:"getRecords",value:(S=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.get(r,e);case 3:return n=t.sent,this.warnMaximumOffsetValueIfNeeded(e.query),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(t){if(t){var e=t.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&e&&Number(e[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:(w=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),t.next=3,this.client.post(r,e);case 3:return n=t.sent,o=n.ids,i=n.revisions,t.abrupt("return",{ids:o,revisions:i,records:o.map((function(t,e){return{id:t,revision:i[e]}}))});case 7:case"end":return t.stop()}}),t,this)}))),function(t){return w.apply(this,arguments)})},{key:"updateRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(e,t)}},{key:"deleteRecords",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(e,t)}},{key:"createCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(e,t)}},{key:"getRecordsByCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(e,t)}},{key:"deleteCursor",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(e,t)}},{key:"getAllRecords",value:(v=l(a().mark((function t(e){var r,n,o,s,u,c,l;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,n=e.orderBy,o=e.withCursor,s=void 0===o||o,u=b(e,jg),n){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(i(i({},u),{},{condition:r})));case 3:if(!s){t.next=7;break}return c=r?"".concat(r," "):"",l="".concat(c).concat(n?"order by ".concat(n):""),t.abrupt("return",this.getAllRecordsWithCursor(i(i({},u),{},{query:l})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(i(i({},u),{},{orderBy:n,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return v.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(g=l(a().mark((function t(e){var r,n,o,s,u,c,l,p,f,h;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.fields,n=e.condition,o=b(e,Tg),(s=r)&&s.length>0&&-1===s.indexOf("$id")&&(s=[].concat(x(s),["$id"])),u=n?"(".concat(n,") and "):"",c=[],l="0";case 6:return p="".concat(u,"$id > ").concat(l," order by $id asc limit ").concat(_g),t.next=10,this.getRecords(i(i({},o),{},{fields:s,query:p}));case 10:if(f=t.sent,c=c.concat(f.records),!(f.records.length<_g)){t.next=14;break}return t.abrupt("break",22);case 14:if("__ID__"!==(h=f.records[f.records.length-1]).$id.type){t.next=19;break}l=h.$id.value,t.next=20;break;case 19: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 20:t.next=6;break;case 22:return t.abrupt("return",c);case 23:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(m=l(a().mark((function t(e){var r,n,o,s,u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.condition,n=e.orderBy,o=b(e,Ig),s=r?"".concat(r," "):"",u=[],c=0;case 4:return l="".concat(s).concat(n?"order by ".concat(n," "):"","limit ").concat(_g," offset ").concat(c),t.next=8,this.getRecords(i(i({},o),{},{query:l}));case 8:if(p=t.sent,u=u.concat(p.records),!(p.records.length<_g)){t.next=12;break}return t.abrupt("break",15);case 12:c+=_g,t.next=4;break;case 15:return t.abrupt("return",u);case 16:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(y=l(a().mark((function t(e){var r,n,o,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:r=t.sent,n=r.id,t.prev=4,o=[];case 6:return t.next=9,this.getRecordsByCursor({id:n});case 9:if(i=t.sent,o=o.concat(i.records),i.next){t.next=13;break}return t.abrupt("break",15);case 13:t.next=6;break;case 15:return t.abrupt("return",o);case 18:return t.prev=18,t.t0=t.catch(4),t.next=22,this.deleteCursor({id:n});case 22:throw t.t0;case 23:case"end":return t.stop()}}),t,this,[[4,18]])}))),function(t){return y.apply(this,arguments)})},{key:"addAllRecords",value:(f=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.records.every((function(t){return!Array.isArray(t)&&t instanceof Object}))){t.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return t.abrupt("return",this.addAllRecordsRecursive(e,e.records.length,[]));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(c=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.addAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Pg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return c.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(u=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"POST",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){var e=t.ids,r=t.revisions;return e.map((function(t,e){return{id:t,revision:r[e]}}))})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"updateAllRecords",value:(s=l(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.updateAllRecordsRecursive(e,e.records.length,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(o=l(a().mark((function t(e,r,n){var o,i,s,u,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=e.app,s=e.records,0!==(u=s.slice(0,o)).length){t.next=5;break}return t.abrupt("return",{records:n});case 5:return t.prev=5,t.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:u});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Pg({records:n},s,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:i,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return t.stop()}}),t,this,[[5,11]])}))),function(t,e,r){return o.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(n=l(a().mark((function t(e){var r,n,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"PUT",endpointName:"records",payload:{app:e.app,records:t}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=t.sent.results,t.abrupt("return",o.map((function(t){return t.records})).reduce((function(t,e){return t.concat(e)}),[]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"deleteAllRecords",value:function(t){return this.deleteAllRecordsRecursive(t,t.records.length)}},{key:"deleteAllRecordsRecursive",value:(r=l(a().mark((function t(e,r){var n,o,i,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=e.app,i=e.records,0!==(s=i.slice(0,n)).length){t.next=5;break}return t.abrupt("return",{});case 5:return t.prev=5,t.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:s});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Pg({},i,r,t.t0,100);case 13:return t.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(t,e){return r.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(e=l(a().mark((function t(e){var r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.separateArrayRecursive(100,[],e.records),n=r.map((function(t){return{method:"DELETE",endpointName:"records",payload:{app:e.app,ids:t.map((function(t){return t.id})),revisions:t.map((function(t){return t.revision}))}}})),t.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(t,e,r){var n=r.slice(0,t);return 0===n.length?e:this.separateArrayRecursive(t,[].concat(x(e),[n]),r.slice(t))}},{key:"addRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(e,t)}},{key:"deleteRecordComment",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(e,t)}},{key:"getRecordComments",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(e,t)}},{key:"updateRecordAssignees",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(e,t)}},{key:"updateRecordStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(e,t)}},{key:"updateRecordsStatus",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Cy(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Ug=A("object"==typeof self?self.FormData:window.FormData),Cg=function(){function t(e,r){p(this,t),this.client=e,this.guestSpaceId=r}var r;return h(t,[{key:"uploadFile",value:(r=l(a().mark((function t(r){var n,o,i,s,u,c,l,p,f;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Ug,!("path"in r.file)){t.next=19;break}return t.prev=3,t.next=6,e.readFileFromPath(r.file.path);case 6:i=t.sent,s=i.name,u=i.data,o.append("file",u,s),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof Gi)){t.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(t.t0.platform," environment."));case 16:throw t.t0;case 17:t.next=22;break;case 19:c=r.file,l=c.name,p=c.data,f=e.buildFormDataValue(p,l),o.append("file",f,l);case 22:return t.abrupt("return",this.client.postData(n,o));case 23:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(t){return r.apply(this,arguments)})},{key:"downloadFile",value:function(t){var e=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(e,t)}},{key:"buildPathWithGuestSpaceId",value:function(t){return Cy(i(i({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Lg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Fg(t,e){return function(){return t.apply(e,arguments)}}const{toString:Bg}=Object.prototype,{getPrototypeOf:Dg}=Object,qg=(Mg=Object.create(null),t=>{const e=Bg.call(t);return Mg[e]||(Mg[e]=e.slice(8,-1).toLowerCase())});var Mg;const Wg=t=>(t=t.toLowerCase(),e=>qg(e)===t),Gg=t=>e=>typeof e===t,{isArray:zg}=Array,Hg=Gg("undefined");const $g=Wg("ArrayBuffer");const Vg=Gg("string"),Yg=Gg("function"),Kg=Gg("number"),Jg=t=>null!==t&&"object"==typeof t,Qg=t=>{if("object"!==qg(t))return!1;const e=Dg(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Xg=Wg("Date"),Zg=Wg("File"),tv=Wg("Blob"),ev=Wg("FileList"),rv=Wg("URLSearchParams");function nv(t,e){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=t)if("object"!=typeof t&&(t=[t]),zg(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{const n=o?Object.getOwnPropertyNames(t):Object.keys(t),i=n.length;let a;for(r=0;r<i;r++)a=n[r],e.call(null,t[a],a,t)}}function ov(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const iv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Lg,av=t=>!Hg(t)&&t!==iv;const sv=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Dg(Uint8Array)),uv=Wg("HTMLFormElement"),cv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),lv=Wg("RegExp"),pv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};nv(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},fv="abcdefghijklmnopqrstuvwxyz",hv="0123456789",dv={DIGIT:hv,ALPHA:fv,ALPHA_DIGIT:fv+fv.toUpperCase()+hv};const yv=Wg("AsyncFunction");var mv={isArray:zg,isArrayBuffer:$g,isBuffer:function(t){return null!==t&&!Hg(t)&&null!==t.constructor&&!Hg(t.constructor)&&Yg(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Yg(t.append)&&("formdata"===(e=qg(t))||"object"===e&&Yg(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&$g(t.buffer),e},isString:Vg,isNumber:Kg,isBoolean:t=>!0===t||!1===t,isObject:Jg,isPlainObject:Qg,isUndefined:Hg,isDate:Xg,isFile:Zg,isBlob:tv,isRegExp:lv,isFunction:Yg,isStream:t=>Jg(t)&&Yg(t.pipe),isURLSearchParams:rv,isTypedArray:sv,isFileList:ev,forEach:nv,merge:function t(){const{caseless:e}=av(this)&&this||{},r={},n=(n,o)=>{const i=e&&ov(r,o)||o;Qg(r[i])&&Qg(n)?r[i]=t(r[i],n):Qg(n)?r[i]=t({},n):zg(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&nv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return nv(e,((e,n)=>{r&&Yg(e)?t[n]=Fg(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&Dg(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:qg,kindOfTest:Wg,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(zg(t))return t;let e=t.length;if(!Kg(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:uv,hasOwnProperty:cv,hasOwnProp:cv,reduceDescriptors:pv,freezeMethods:t=>{pv(t,((e,r)=>{if(Yg(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Yg(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return zg(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:ov,global:iv,isContextDefined:av,ALPHABET:dv,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dv.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Yg(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(Jg(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=zg(t)?[]:{};return nv(t,((t,e)=>{const i=r(t,n+1);!Hg(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:yv,isThenable:t=>t&&(Jg(t)||Yg(t))&&Yg(t.then)&&Yg(t.catch)},gv=[],vv=[],bv="undefined"!=typeof Uint8Array?Uint8Array:Array,wv=!1;function xv(){wv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)gv[e]=t[e],vv[t.charCodeAt(e)]=e;vv["-".charCodeAt(0)]=62,vv["_".charCodeAt(0)]=63}function Sv(t,e,r){for(var n,o,i=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(gv[(o=n)>>18&63]+gv[o>>12&63]+gv[o>>6&63]+gv[63&o]);return i.join("")}function Ev(t){var e;wv||xv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Sv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=gv[e>>2],o+=gv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=gv[e>>10],o+=gv[e>>4&63],o+=gv[e<<2&63],o+="="),i.push(o),i.join("")}function Av(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=t[e+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+p],p+=f,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 Rv(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*u-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var Ov={}.toString,kv=Array.isArray||function(t){return"[object Array]"==Ov.call(t)};function Pv(){return Tv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function jv(t,e){if(Pv()<e)throw new RangeError("Invalid typed array length");return Tv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Tv.prototype:(null===t&&(t=new Tv(e)),t.length=e),t}function Tv(t,e,r){if(!(Tv.TYPED_ARRAY_SUPPORT||this instanceof Tv))return new Tv(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Nv(this,t)}return Iv(this,t,e,r)}function Iv(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);Tv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Tv.prototype:t=Uv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Tv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Fv(e,r);t=jv(t,n);var o=t.write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Lv(e)){var r=0|Cv(e.length);return 0===(t=jv(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?jv(t,0):Uv(t,e);if("Buffer"===e.type&&kv(e.data))return Uv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function _v(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Nv(t,e){if(_v(e),t=jv(t,e<0?0:0|Cv(e)),!Tv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Uv(t,e){var r=e.length<0?0:0|Cv(e.length);t=jv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Cv(t){if(t>=Pv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pv().toString(16)+" bytes");return 0|t}function Lv(t){return!(null==t||!t._isBuffer)}function Fv(t,e){if(Lv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return lb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return pb(t).length;default:if(n)return lb(t).length;e=(""+e).toLowerCase(),n=!0}}function Bv(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Zv(this,e,r);case"utf8":case"utf-8":return Kv(this,e,r);case"ascii":return Qv(this,e,r);case"latin1":case"binary":return Xv(this,e,r);case"base64":return Yv(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Dv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function qv(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=Tv.from(e,n)),Lv(e))return 0===e.length?-1:Mv(t,e,r,n,o);if("number"==typeof e)return e&=255,Tv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Mv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Mv(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-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 p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function Wv(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.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(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function Gv(t,e,r,n){return fb(lb(e,t.length-r),t,r,n)}function zv(t,e,r,n){return fb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Hv(t,e,r,n){return zv(t,e,r,n)}function $v(t,e,r,n){return fb(pb(e),t,r,n)}function Vv(t,e,r,n){return fb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function Yv(t,e,r){return 0===e&&r===t.length?Ev(t):Ev(t.slice(e,r))}function Kv(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[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=t[o+1],a=t[o+2],s=t[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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=Jv)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Jv));return r}(n)}Tv.TYPED_ARRAY_SUPPORT=void 0===Lg.TYPED_ARRAY_SUPPORT||Lg.TYPED_ARRAY_SUPPORT,Pv(),Tv.poolSize=8192,Tv._augment=function(t){return t.__proto__=Tv.prototype,t},Tv.from=function(t,e,r){return Iv(null,t,e,r)},Tv.TYPED_ARRAY_SUPPORT&&(Tv.prototype.__proto__=Uint8Array.prototype,Tv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Tv[Symbol.species]),Tv.alloc=function(t,e,r){return function(t,e,r,n){return _v(e),e<=0?jv(t,e):void 0!==r?"string"==typeof n?jv(t,e).fill(r,n):jv(t,e).fill(r):jv(t,e)}(null,t,e,r)},Tv.allocUnsafe=function(t){return Nv(null,t)},Tv.allocUnsafeSlow=function(t){return Nv(null,t)},Tv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||hb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&hb(t.slice(0,0))}(t))},Tv.compare=function(t,e){if(!Lv(t)||!Lv(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},Tv.isEncoding=function(t){switch(String(t).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}},Tv.concat=function(t,e){if(!kv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Tv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Tv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Lv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Tv.byteLength=Fv,Tv.prototype._isBuffer=!0,Tv.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Dv(this,e,e+1);return this},Tv.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Dv(this,e,e+3),Dv(this,e+1,e+2);return this},Tv.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Dv(this,e,e+7),Dv(this,e+1,e+6),Dv(this,e+2,e+5),Dv(this,e+3,e+4);return this},Tv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Kv(this,0,t):Bv.apply(this,arguments)},Tv.prototype.equals=function(t){if(!Lv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Tv.compare(this,t)},Tv.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Tv.prototype.compare=function(t,e,r,n,o){if(!Lv(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,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},Tv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Tv.prototype.indexOf=function(t,e,r){return qv(this,t,e,r,!0)},Tv.prototype.lastIndexOf=function(t,e,r){return qv(this,t,e,r,!1)},Tv.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Wv(this,t,e,r);case"utf8":case"utf-8":return Gv(this,t,e,r);case"ascii":return zv(this,t,e,r);case"latin1":case"binary":return Hv(this,t,e,r);case"base64":return $v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vv(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Tv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Jv=4096;function Qv(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function Xv(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function Zv(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=cb(t[i]);return o}function tb(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function eb(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function rb(t,e,r,n,o,i){if(!Lv(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function nb(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function ob(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function ib(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ab(t,e,r,n,o){return o||ib(t,0,r,4),Rv(t,e,r,n,23,4),r+4}function sb(t,e,r,n,o){return o||ib(t,0,r,8),Rv(t,e,r,n,52,8),r+8}Tv.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),Tv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Tv.prototype;else{var o=e-t;r=new Tv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Tv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||eb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},Tv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||eb(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},Tv.prototype.readUInt8=function(t,e){return e||eb(t,1,this.length),this[t]},Tv.prototype.readUInt16LE=function(t,e){return e||eb(t,2,this.length),this[t]|this[t+1]<<8},Tv.prototype.readUInt16BE=function(t,e){return e||eb(t,2,this.length),this[t]<<8|this[t+1]},Tv.prototype.readUInt32LE=function(t,e){return e||eb(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Tv.prototype.readUInt32BE=function(t,e){return e||eb(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Tv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||eb(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},Tv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||eb(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},Tv.prototype.readInt8=function(t,e){return e||eb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Tv.prototype.readInt16LE=function(t,e){e||eb(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Tv.prototype.readInt16BE=function(t,e){e||eb(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Tv.prototype.readInt32LE=function(t,e){return e||eb(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Tv.prototype.readInt32BE=function(t,e){return e||eb(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Tv.prototype.readFloatLE=function(t,e){return e||eb(t,4,this.length),Av(this,t,!0,23,4)},Tv.prototype.readFloatBE=function(t,e){return e||eb(t,4,this.length),Av(this,t,!1,23,4)},Tv.prototype.readDoubleLE=function(t,e){return e||eb(t,8,this.length),Av(this,t,!0,52,8)},Tv.prototype.readDoubleBE=function(t,e){return e||eb(t,8,this.length),Av(this,t,!1,52,8)},Tv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||rb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},Tv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||rb(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},Tv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,1,255,0),Tv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Tv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,2,65535,0),Tv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):nb(this,t,e,!0),e+2},Tv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,2,65535,0),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):nb(this,t,e,!1),e+2},Tv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,4,4294967295,0),Tv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):ob(this,t,e,!0),e+4},Tv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,4,4294967295,0),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):ob(this,t,e,!1),e+4},Tv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);rb(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Tv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);rb(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},Tv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,1,127,-128),Tv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Tv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,2,32767,-32768),Tv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):nb(this,t,e,!0),e+2},Tv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,2,32767,-32768),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):nb(this,t,e,!1),e+2},Tv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,4,2147483647,-2147483648),Tv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):ob(this,t,e,!0),e+4},Tv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||rb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):ob(this,t,e,!1),e+4},Tv.prototype.writeFloatLE=function(t,e,r){return ab(this,t,e,!0,r)},Tv.prototype.writeFloatBE=function(t,e,r){return ab(this,t,e,!1,r)},Tv.prototype.writeDoubleLE=function(t,e,r){return sb(this,t,e,!0,r)},Tv.prototype.writeDoubleBE=function(t,e,r){return sb(this,t,e,!1,r)},Tv.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!Tv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},Tv.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Tv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=Lv(t)?t:lb(new Tv(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var ub=/[^+\/0-9A-Za-z-_]/g;function cb(t){return t<16?"0"+t.toString(16):t.toString(16)}function lb(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=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((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function pb(t){return function(t){var e,r,n,o,i,a;wv||xv();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,a=new bv(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)o=vv[t.charCodeAt(e)]<<18|vv[t.charCodeAt(e+1)]<<12|vv[t.charCodeAt(e+2)]<<6|vv[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=vv[t.charCodeAt(e)]<<2|vv[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=vv[t.charCodeAt(e)]<<10|vv[t.charCodeAt(e+1)]<<4|vv[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(ub,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function fb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function hb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function db(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}mv.inherits(db,Error,{toJSON:function(){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:mv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const yb=db.prototype,mb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{mb[t]={value:t}})),Object.defineProperties(db,mb),Object.defineProperty(yb,"isAxiosError",{value:!0}),db.from=(t,e,r,n,o,i)=>{const a=Object.create(yb);return mv.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),db.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function gb(t){return mv.isPlainObject(t)||mv.isArray(t)}function vb(t){return mv.endsWith(t,"[]")?t.slice(0,-2):t}function bb(t,e,r){return t?t.concat(e).map((function(t,e){return t=vb(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const wb=mv.toFlatObject(mv,{},null,(function(t){return/^is[A-Z]/.test(t)}));function xb(t,e,r){if(!mv.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=mv.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!mv.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&mv.isSpecCompliantForm(e);if(!mv.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(mv.isDate(t))return t.toISOString();if(!s&&mv.isBlob(t))throw new db("Blob is not supported. Use a Buffer instead.");return mv.isArrayBuffer(t)||mv.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Tv.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(mv.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(mv.isArray(t)&&function(t){return mv.isArray(t)&&!t.some(gb)}(t)||(mv.isFileList(t)||mv.endsWith(r,"[]"))&&(s=mv.toArray(t)))return r=vb(r),s.forEach((function(t,n){!mv.isUndefined(t)&&null!==t&&e.append(!0===a?bb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!gb(t)||(e.append(bb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(wb,{defaultVisitor:c,convertValue:u,isVisitable:gb});if(!mv.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!mv.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),mv.forEach(r,(function(r,i){!0===(!(mv.isUndefined(r)||null===r)&&o.call(e,r,mv.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function Sb(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Eb(t,e){this._pairs=[],t&&xb(t,this,e)}const Ab=Eb.prototype;function Rb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ob(t,e,r){if(!e)return t;const n=r&&r.encode||Rb,o=r&&r.serialize;let i;if(i=o?o(e,r):mv.isURLSearchParams(e)?e.toString():new Eb(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}Ab.append=function(t,e){this._pairs.push([t,e])},Ab.toString=function(t){const e=t?function(e){return t.call(this,e,Sb)}:Sb;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class kb{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){mv.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Pb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jb={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Eb,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Tb="undefined"!=typeof window&&"undefined"!=typeof document,Ib=(_b="undefined"!=typeof navigator&&navigator.product,Tb&&["ReactNative","NativeScript","NS"].indexOf(_b)<0);var _b;const Nb="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var Ub={...Object.freeze({__proto__:null,hasBrowserEnv:Tb,hasStandardBrowserEnv:Ib,hasStandardBrowserWebWorkerEnv:Nb}),...jb};function Cb(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&mv.isArray(n)?n.length:i,s)return mv.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&mv.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&mv.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(mv.isFormData(t)&&mv.isFunction(t.entries)){const r={};return mv.forEachEntry(t,((t,n)=>{e(function(t){return mv.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const Lb={transitional:Pb,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=mv.isObject(t);o&&mv.isHTMLForm(t)&&(t=new FormData(t));if(mv.isFormData(t))return n?JSON.stringify(Cb(t)):t;if(mv.isArrayBuffer(t)||mv.isBuffer(t)||mv.isStream(t)||mv.isFile(t)||mv.isBlob(t))return t;if(mv.isArrayBufferView(t))return t.buffer;if(mv.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return xb(t,new Ub.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Ub.isNode&&mv.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=mv.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return xb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(mv.isString(t))try{return(e||JSON.parse)(t),mv.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Lb.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&mv.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw db.from(t,db.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ub.classes.FormData,Blob:Ub.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};mv.forEach(["delete","get","head","post","put","patch"],(t=>{Lb.headers[t]={}}));var Fb=Lb;const Bb=mv.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 Db=Symbol("internals");function qb(t){return t&&String(t).trim().toLowerCase()}function Mb(t){return!1===t||null==t?t:mv.isArray(t)?t.map(Mb):String(t)}function Wb(t,e,r,n,o){return mv.isFunction(n)?n.call(this,e,r):(o&&(e=r),mv.isString(e)?mv.isString(n)?-1!==e.indexOf(n):mv.isRegExp(n)?n.test(e):void 0:void 0)}class Gb{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=qb(e);if(!o)throw new Error("header name must be a non-empty string");const i=mv.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Mb(t))}const i=(t,e)=>mv.forEach(t,((t,r)=>o(t,r,e)));return mv.isPlainObject(t)||t instanceof this.constructor?i(t,e):mv.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&Bb[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=qb(t)){const r=mv.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(mv.isFunction(e))return e.call(this,t,r);if(mv.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=qb(t)){const r=mv.findKey(this,t);return!(!r||void 0===this[r]||e&&!Wb(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=qb(t)){const o=mv.findKey(r,t);!o||e&&!Wb(0,r[o],o,e)||(delete r[o],n=!0)}}return mv.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!Wb(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return mv.forEach(this,((n,o)=>{const i=mv.findKey(r,o);if(i)return e[i]=Mb(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Mb(n),r[a]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return mv.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&mv.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);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((t=>e.set(t))),e}static accessor(t){const e=(this[Db]=this[Db]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=qb(t);e[n]||(!function(t,e){const r=mv.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return mv.isArray(t)?t.forEach(n):n(t),this}}Gb.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),mv.reduceDescriptors(Gb.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),mv.freezeMethods(Gb);var zb=Gb;function Hb(t,e){const r=this||Fb,n=e||r,o=zb.from(n.headers);let i=n.data;return mv.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function $b(t){return!(!t||!t.__CANCEL__)}function Vb(t,e,r){db.call(this,null==t?"canceled":t,db.ERR_CANCELED,e,r),this.name="CanceledError"}mv.inherits(Vb,db,{__CANCEL__:!0});var Yb=Ub.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];mv.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),mv.isString(n)&&a.push("path="+n),mv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Kb(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var Jb=Ub.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=mv.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function Qb(t,e){let r=0;const n=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={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:o};c[e?"download":"upload"]=!0,t(c)}}var Xb="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=zb.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(mv.isFormData(n))if(Ub.hasStandardBrowserEnv||Ub.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const p=Kb(t.baseURL,t.url);function f(){if(!l)return;const n=zb.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new db("Request failed with status code "+r.status,[db.ERR_BAD_REQUEST,db.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Ob(p,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(f)},l.onabort=function(){l&&(r(new db("Request aborted",db.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new db("Network Error",db.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||Pb;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new db(e,n.clarifyTimeoutError?db.ETIMEDOUT:db.ECONNABORTED,t,l)),l=null},Ub.hasStandardBrowserEnv&&(u&&mv.isFunction(u)&&(u=u(t)),u||!1!==u&&Jb(p))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&Yb.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&mv.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),mv.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",Qb(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Qb(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new Vb(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(p);h&&-1===Ub.protocols.indexOf(h)?r(new db("Unsupported protocol "+h+":",db.ERR_BAD_REQUEST,t)):l.send(n||null)}))};const Zb={http:null,xhr:Xb};mv.forEach(Zb,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const tw=t=>`- ${t}`,ew=t=>mv.isFunction(t)||null===t||!1===t;var rw=t=>{t=mv.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!ew(r)&&(n=Zb[(e=String(r)).toLowerCase()],void 0===n))throw new db(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((t=>{let[e,r]=t;return`adapter ${e} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new db("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(tw).join("\n"):" "+tw(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function nw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Vb(null,t)}function ow(t){nw(t),t.headers=zb.from(t.headers),t.data=Hb.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return rw(t.adapter||Fb.adapter)(t).then((function(e){return nw(t),e.data=Hb.call(t,t.transformResponse,e),e.headers=zb.from(e.headers),e}),(function(e){return $b(e)||(nw(t),e&&e.response&&(e.response.data=Hb.call(t,t.transformResponse,e.response),e.response.headers=zb.from(e.response.headers))),Promise.reject(e)}))}const iw=t=>t instanceof zb?t.toJSON():t;function aw(t,e){e=e||{};const r={};function n(t,e,r){return mv.isPlainObject(t)&&mv.isPlainObject(e)?mv.merge.call({caseless:r},t,e):mv.isPlainObject(e)?mv.merge({},e):mv.isArray(e)?e.slice():e}function o(t,e,r){return mv.isUndefined(e)?mv.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!mv.isUndefined(e))return n(void 0,e)}function a(t,e){return mv.isUndefined(e)?mv.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?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:(t,e)=>o(iw(t),iw(e),!0)};return mv.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);mv.isUndefined(a)&&i!==s||(r[n]=a)})),r}const sw="1.6.7",uw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{uw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const cw={};uw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new db(n(o," has been removed"+(e?" in "+e:"")),db.ERR_DEPRECATED);return e&&!cw[o]&&(cw[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var lw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new db("options must be an object",db.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new db("option "+i+" must be "+r,db.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new db("Unknown option "+i,db.ERR_BAD_OPTION)}},validators:uw};const pw=lw.validators;class fw{constructor(t){this.defaults=t,this.interceptors={request:new kb,response:new kb}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=aw(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&lw.assertOptions(r,{silentJSONParsing:pw.transitional(pw.boolean),forcedJSONParsing:pw.transitional(pw.boolean),clarifyTimeoutError:pw.transitional(pw.boolean)},!1),null!=n&&(mv.isFunction(n)?e.paramsSerializer={serialize:n}:lw.assertOptions(n,{encode:pw.function,serialize:pw.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&mv.merge(o.common,o[e.method]);o&&mv.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=zb.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[ow.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);p<l;)c=c.then(t[p++],t[p++]);return c}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=ow.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(t){return Ob(Kb((t=aw(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}mv.forEach(["delete","get","head","options"],(function(t){fw.prototype[t]=function(e,r){return this.request(aw(r||{},{method:t,url:e,data:(r||{}).data}))}})),mv.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(aw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}fw.prototype[t]=e(),fw.prototype[t+"Form"]=e(!0)}));var hw=fw;class dw{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new Vb(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new dw((function(e){t=e})),cancel:t}}}var yw=dw;const mw={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};Object.entries(mw).forEach((t=>{let[e,r]=t;mw[r]=e}));var gw=mw;const vw=function t(e){const r=new hw(e),n=Fg(hw.prototype.request,r);return mv.extend(n,hw.prototype,r,{allOwnKeys:!0}),mv.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(aw(e,r))},n}(Fb);vw.Axios=hw,vw.CanceledError=Vb,vw.CancelToken=yw,vw.isCancel=$b,vw.VERSION=sw,vw.toFormData=xb,vw.AxiosError=db,vw.Cancel=vw.CanceledError,vw.all=function(t){return Promise.all(t)},vw.spread=function(t){return function(e){return t.apply(null,e)}},vw.isAxiosError=function(t){return mv.isObject(t)&&!0===t.isAxiosError},vw.mergeConfig=aw,vw.AxiosHeaders=zb,vw.formToJSON=t=>Cb(mv.isHTMLForm(t)?new FormData(t):t),vw.getAdapter=rw,vw.HttpStatusCode=gw,vw.default=vw;var bw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;p(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,n,o,s,u;return h(t,[{key:"get",value:(u=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})},{key:"getData",value:(s=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("get",e,r,{responseType:"arraybuffer"});case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"post",value:(o=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return o.apply(this,arguments)})},{key:"postData",value:(n=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("post",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"put",value:(r=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("put",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"delete",value:(e=l(a().mark((function t(e,r){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.requestConfigBuilder.build("delete",e,r);case 2:return n=t.sent,t.next=5,this.sendRequest(n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(t){return this.responseHandler.handle(vw(i(i({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),ww=xo,xw=et,Sw=ut,Ew=tm,Aw=$([].join);ww({target:"Array",proto:!0,forced:xw!==Object||!Ew("join",",")},{join:function(t){return Aw(Sw(this),void 0===t?",":t)}});var Rw,Ow="undefined"!=typeof Symbol&&Symbol,kw=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0},Pw={foo:{}},jw=Object,Tw=Object.prototype.toString,Iw=Math.max,_w=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},Nw=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==Tw.apply(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r}(arguments,1),o=Iw(0,e.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,_w(n,arguments));return Object(o)===o?o:this}return e.apply(t,_w(n,arguments))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},Uw=Function.prototype.bind||Nw,Cw=Uw.call(Function.call,Object.prototype.hasOwnProperty),Lw=SyntaxError,Fw=Function,Bw=TypeError,Dw=function(t){try{return Fw('"use strict"; return ('+t+").constructor;")()}catch(t){}},qw=Object.getOwnPropertyDescriptor;if(qw)try{qw({},"")}catch(t){qw=null}var Mw=function(){throw new Bw},Ww=qw?function(){try{return Mw}catch(t){try{return qw(arguments,"callee").get}catch(t){return Mw}}}():Mw,Gw="function"==typeof Ow&&"function"==typeof Symbol&&"symbol"==typeof Ow("foo")&&"symbol"==typeof Symbol("bar")&&kw(),zw={__proto__:Pw}.foo===Pw.foo&&!({__proto__:null}instanceof jw),Hw=Object.getPrototypeOf||(zw?function(t){return t.__proto__}:null),$w={},Vw="undefined"!=typeof Uint8Array&&Hw?Hw(Uint8Array):Rw,Yw={"%AggregateError%":"undefined"==typeof AggregateError?Rw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Rw:ArrayBuffer,"%ArrayIteratorPrototype%":Gw&&Hw?Hw([][Symbol.iterator]()):Rw,"%AsyncFromSyncIteratorPrototype%":Rw,"%AsyncFunction%":$w,"%AsyncGenerator%":$w,"%AsyncGeneratorFunction%":$w,"%AsyncIteratorPrototype%":$w,"%Atomics%":"undefined"==typeof Atomics?Rw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Rw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Rw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Rw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Rw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Rw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Rw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Rw:FinalizationRegistry,"%Function%":Fw,"%GeneratorFunction%":$w,"%Int8Array%":"undefined"==typeof Int8Array?Rw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Rw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Rw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gw&&Hw?Hw(Hw([][Symbol.iterator]())):Rw,"%JSON%":"object"==typeof JSON?JSON:Rw,"%Map%":"undefined"==typeof Map?Rw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Gw&&Hw?Hw((new Map)[Symbol.iterator]()):Rw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Rw:Promise,"%Proxy%":"undefined"==typeof Proxy?Rw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Rw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Rw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Gw&&Hw?Hw((new Set)[Symbol.iterator]()):Rw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Rw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gw&&Hw?Hw(""[Symbol.iterator]()):Rw,"%Symbol%":Gw?Symbol:Rw,"%SyntaxError%":Lw,"%ThrowTypeError%":Ww,"%TypedArray%":Vw,"%TypeError%":Bw,"%Uint8Array%":"undefined"==typeof Uint8Array?Rw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Rw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Rw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Rw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Rw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Rw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Rw:WeakSet};if(Hw)try{null.error}catch(t){var Kw=Hw(Hw(t));Yw["%Error.prototype%"]=Kw}var Jw=function t(e){var r;if("%AsyncFunction%"===e)r=Dw("async function () {}");else if("%GeneratorFunction%"===e)r=Dw("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Dw("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&Hw&&(r=Hw(o.prototype))}return Yw[e]=r,r},Qw={"%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"]},Xw=Uw,Zw=Cw,tx=Xw.call(Function.call,Array.prototype.concat),ex=Xw.call(Function.apply,Array.prototype.splice),rx=Xw.call(Function.call,String.prototype.replace),nx=Xw.call(Function.call,String.prototype.slice),ox=Xw.call(Function.call,RegExp.prototype.exec),ix=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ax=/\\(\\)?/g,sx=function(t,e){var r,n=t;if(Zw(Qw,n)&&(n="%"+(r=Qw[n])[0]+"%"),Zw(Yw,n)){var o=Yw[n];if(o===$w&&(o=Jw(n)),void 0===o&&!e)throw new Bw("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Lw("intrinsic "+t+" does not exist!")},ux=function(t,e){if("string"!=typeof t||0===t.length)throw new Bw("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Bw('"allowMissing" argument must be a boolean');if(null===ox(/^%?[^%]*%?$/,t))throw new Lw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=nx(t,0,1),r=nx(t,-1);if("%"===e&&"%"!==r)throw new Lw("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Lw("invalid intrinsic syntax, expected opening `%`");var n=[];return rx(t,ix,(function(t,e,r,o){n[n.length]=r?rx(o,ax,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=sx("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],ex(r,tx([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=nx(p,0,1),h=nx(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new Lw("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Zw(Yw,i="%"+(n+="."+p)+"%"))a=Yw[i];else if(null!=a){if(!(p in a)){if(!e)throw new Bw("base intrinsic for "+t+" exists, but the property is not available.");return}if(qw&&c+1>=r.length){var d=qw(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=Zw(a,p),a=a[p];l&&!s&&(Yw[i]=a)}}return a},cx={exports:{}},lx=Array.prototype.slice,px=Object.prototype.toString,fx=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==px.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,n=lx.call(arguments,1),o=Math.max(0,e.length-n.length),i=[],a=0;a<o;a++)i.push("$"+a);if(r=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=e.apply(this,n.concat(lx.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(lx.call(arguments)))})),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},hx=Function.prototype.bind||fx;!function(t){var e=hx,r=ux,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){var r=i(e,o,arguments);a&&s&&(a(r,"length").configurable&&s(r,"length",{value:1+u(0,t.length-(arguments.length-1))}));return r};var c=function(){return i(e,n,arguments)};s?s(t.exports,"apply",{value:c}):t.exports.apply=c}(cx);var dx=ux,yx=cx.exports,mx=yx(dx("String.prototype.indexOf")),gx=R(Object.freeze({__proto__:null,default:{}})),vx="function"==typeof Map&&Map.prototype,bx=Object.getOwnPropertyDescriptor&&vx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,wx=vx&&bx&&"function"==typeof bx.get?bx.get:null,xx=vx&&Map.prototype.forEach,Sx="function"==typeof Set&&Set.prototype,Ex=Object.getOwnPropertyDescriptor&&Sx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ax=Sx&&Ex&&"function"==typeof Ex.get?Ex.get:null,Rx=Sx&&Set.prototype.forEach,Ox="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,kx="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Px="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,jx=Boolean.prototype.valueOf,Tx=Object.prototype.toString,Ix=Function.prototype.toString,_x=String.prototype.match,Nx=String.prototype.slice,Ux=String.prototype.replace,Cx=String.prototype.toUpperCase,Lx=String.prototype.toLowerCase,Fx=RegExp.prototype.test,Bx=Array.prototype.concat,Dx=Array.prototype.join,qx=Array.prototype.slice,Mx=Math.floor,Wx="function"==typeof BigInt?BigInt.prototype.valueOf:null,Gx=Object.getOwnPropertySymbols,zx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Hx="function"==typeof Symbol&&"object"==typeof Symbol.iterator,$x="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Hx||"symbol")?Symbol.toStringTag:null,Vx=Object.prototype.propertyIsEnumerable,Yx=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Kx(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Fx.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-Mx(-t):Mx(t);if(n!==t){var o=String(n),i=Nx.call(e,o.length+1);return Ux.call(o,r,"$&_")+"."+Ux.call(Ux.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ux.call(e,r,"$&_")}var Jx=gx,Qx=Jx.custom,Xx=nS(Qx)?Qx:null;function Zx(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function tS(t){return Ux.call(String(t),/"/g,""")}function eS(t){return!("[object Array]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}function rS(t){return!("[object RegExp]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}function nS(t){if(Hx)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!zx)return!1;try{return zx.call(t),!0}catch(t){}return!1}var oS=Object.prototype.hasOwnProperty||function(t){return t in this};function iS(t,e){return oS.call(t,e)}function aS(t){return Tx.call(t)}function sS(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function uS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return uS(Nx.call(t,0,e.maxStringLength),e)+n}return Zx(Ux.call(Ux.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,cS),"single",e)}function cS(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Cx.call(e.toString(16))}function lS(t){return"Object("+t+")"}function pS(t){return t+" { ? }"}function fS(t,e,r,n){return t+" ("+e+") {"+(n?hS(r,n):Dx.call(r,", "))+"}"}function hS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Dx.call(t,","+r)+"\n"+e.prev}function dS(t,e){var r=eS(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=iS(t,o)?e(t[o],t):""}var i,a="function"==typeof Gx?Gx(t):[];if(Hx){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)iS(t,u)&&(r&&String(Number(u))===u&&u<t.length||Hx&&i["$"+u]instanceof Symbol||(Fx.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof Gx)for(var c=0;c<a.length;c++)Vx.call(t,a[c])&&n.push("["+e(a[c])+"]: "+e(t[a[c]],t));return n}var yS=ux,mS=function(t,e){var r=dx(t,!!e);return"function"==typeof r&&mx(t,".prototype.")>-1?yx(r):r},gS=function t(e,r,n,o){var i=r||{};if(iS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(iS(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=!iS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(iS(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(iS(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===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return uS(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?Kx(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?Kx(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof e)return eS(e)?"[Array]":"[Object]";var p=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Dx.call(Array(t.indent+1)," ")}return{base:r,prev:Dx.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(sS(o,e)>=0)return"[Circular]";function f(e,r,a){if(r&&(o=qx.call(o)).push(r),a){var s={depth:i.depth};return iS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e&&!rS(e)){var h=function(t){if(t.name)return t.name;var e=_x.call(Ix.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),d=dS(e,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+Dx.call(d,", ")+" }":"")}if(nS(e)){var y=Hx?Ux.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):zx.call(e);return"object"!=typeof e||Hx?y:lS(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var m="<"+Lx.call(String(e.nodeName)),g=e.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+Zx(tS(g[v].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+="</"+Lx.call(String(e.nodeName))+">"}if(eS(e)){if(0===e.length)return"[]";var b=dS(e,f);return p&&!function(t){for(var e=0;e<t.length;e++)if(sS(t[e],"\n")>=0)return!1;return!0}(b)?"["+hS(b,p)+"]":"[ "+Dx.call(b,", ")+" ]"}if(function(t){return!("[object Error]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}(e)){var w=dS(e,f);return"cause"in Error.prototype||!("cause"in e)||Vx.call(e,"cause")?0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Dx.call(w,", ")+" }":"{ ["+String(e)+"] "+Dx.call(Bx.call("[cause]: "+f(e.cause),w),", ")+" }"}if("object"==typeof e&&a){if(Xx&&"function"==typeof e[Xx]&&Jx)return Jx(e,{depth:l-n});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!wx||!t||"object"!=typeof t)return!1;try{wx.call(t);try{Ax.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var x=[];return xx&&xx.call(e,(function(t,r){x.push(f(r,e,!0)+" => "+f(t,e))})),fS("Map",wx.call(e),x,p)}if(function(t){if(!Ax||!t||"object"!=typeof t)return!1;try{Ax.call(t);try{wx.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var S=[];return Rx&&Rx.call(e,(function(t){S.push(f(t,e))})),fS("Set",Ax.call(e),S,p)}if(function(t){if(!Ox||!t||"object"!=typeof t)return!1;try{Ox.call(t,Ox);try{kx.call(t,kx)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return pS("WeakMap");if(function(t){if(!kx||!t||"object"!=typeof t)return!1;try{kx.call(t,kx);try{Ox.call(t,Ox)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return pS("WeakSet");if(function(t){if(!Px||!t||"object"!=typeof t)return!1;try{return Px.call(t),!0}catch(t){}return!1}(e))return pS("WeakRef");if(function(t){return!("[object Number]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}(e))return lS(f(Number(e)));if(function(t){if(!t||"object"!=typeof t||!Wx)return!1;try{return Wx.call(t),!0}catch(t){}return!1}(e))return lS(f(Wx.call(e)));if(function(t){return!("[object Boolean]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}(e))return lS(jx.call(e));if(function(t){return!("[object String]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}(e))return lS(f(String(e)));if(!function(t){return!("[object Date]"!==aS(t)||$x&&"object"==typeof t&&$x in t)}(e)&&!rS(e)){var E=dS(e,f),A=Yx?Yx(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",O=!A&&$x&&Object(e)===e&&$x in e?Nx.call(aS(e),8,-1):R?"Object":"",k=(A||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(O||R?"["+Dx.call(Bx.call([],O||[],R||[]),": ")+"] ":"");return 0===E.length?k+"{}":p?k+"{"+hS(E,p)+"}":k+"{ "+Dx.call(E,", ")+" }"}return String(e)},vS=yS("%TypeError%"),bS=yS("%WeakMap%",!0),wS=yS("%Map%",!0),xS=mS("WeakMap.prototype.get",!0),SS=mS("WeakMap.prototype.set",!0),ES=mS("WeakMap.prototype.has",!0),AS=mS("Map.prototype.get",!0),RS=mS("Map.prototype.set",!0),OS=mS("Map.prototype.has",!0),kS=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},PS=String.prototype.replace,jS=/%20/g,TS="RFC3986",IS={default:TS,formatters:{RFC1738:function(t){return PS.call(t,jS,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:TS},_S=IS,NS=Object.prototype.hasOwnProperty,US=Array.isArray,CS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),LS=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},FS={arrayToObject:LS,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[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)&&(e.push({obj:i,prop:u}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(US(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===_S.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=CS[u]:u<2048?a+=CS[192|u>>6]+CS[128|63&u]:u<55296||u>=57344?a+=CS[224|u>>12]+CS[128|u>>6&63]+CS[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=CS[240|u>>18]+CS[128|u>>12&63]+CS[128|u>>6&63]+CS[128|63&u])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(US(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(US(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!NS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return US(e)&&!US(r)&&(o=LS(e,n)),US(e)&&US(r)?(r.forEach((function(r,o){if(NS.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return NS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},BS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new vS("Side channel does not contain "+gS(t))},get:function(n){if(bS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return xS(t,n)}else if(wS){if(e)return AS(e,n)}else if(r)return function(t,e){var r=kS(t,e);return r&&r.value}(r,n)},has:function(n){if(bS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return ES(t,n)}else if(wS){if(e)return OS(e,n)}else if(r)return function(t,e){return!!kS(t,e)}(r,n);return!1},set:function(n,o){bS&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new bS),SS(t,n,o)):wS?(e||(e=new wS),RS(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=kS(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},DS=FS,qS=IS,MS=Object.prototype.hasOwnProperty,WS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},GS=Array.isArray,zS=Array.prototype.push,HS=function(t,e){zS.apply(t,GS(e)?e:[e])},$S=Date.prototype.toISOString,VS=qS.default,YS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:DS.encode,encodeValuesOnly:!1,format:VS,formatter:qS.formatters[VS],indices:!1,serializeDate:function(t){return $S.call(t)},skipNulls:!1,strictNullHandling:!1},KS={},JS=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m){for(var g,v=e,b=m,w=0,x=!1;void 0!==(b=b.get(KS))&&!x;){var S=b.get(e);if(w+=1,void 0!==S){if(S===w)throw new RangeError("Cyclic object value");x=!0}void 0===b.get(KS)&&(w=0)}if("function"==typeof u?v=u(r,v):v instanceof Date?v=p(v):"comma"===n&&GS(v)&&(v=DS.maybeMap(v,(function(t){return t instanceof Date?p(t):t}))),null===v){if(i)return s&&!d?s(r,YS.encoder,y,"key",f):r;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||DS.isBuffer(v))return s?[h(d?r:s(r,YS.encoder,y,"key",f))+"="+h(s(v,YS.encoder,y,"value",f))]:[h(r)+"="+h(String(v))];var E,A=[];if(void 0===v)return A;if("comma"===n&&GS(v))d&&s&&(v=DS.maybeMap(v,s)),E=[{value:v.length>0?v.join(",")||null:void 0}];else if(GS(u))E=u;else{var R=Object.keys(v);E=c?R.sort(c):R}for(var O=o&&GS(v)&&1===v.length?r+"[]":r,k=0;k<E.length;++k){var P=E[k],j="object"==typeof P&&void 0!==P.value?P.value:v[P];if(!a||null!==j){var T=GS(v)?"function"==typeof n?n(O,P):O:O+(l?"."+P:"["+P+"]");m.set(e,w);var I=BS();I.set(KS,m),HS(A,t(j,T,n,o,i,a,"comma"===n&&d&&GS(v)?null:s,u,c,l,p,f,h,d,y,I))}}return A},QS=FS,XS=Object.prototype.hasOwnProperty,ZS=Array.isArray,tE={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:QS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},eE=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},rE=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},nE=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&XS.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&XS.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:rE(e,r),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(u,e,r,n)}},oE=function(t,e){var r,n=t,o=function(t){if(!t)return YS;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||YS.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=qS.default;if(void 0!==t.format){if(!MS.call(qS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=qS.formatters[r],o=YS.filter;return("function"==typeof t.filter||GS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:YS.addQueryPrefix,allowDots:void 0===t.allowDots?YS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:YS.charsetSentinel,delimiter:void 0===t.delimiter?YS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:YS.encode,encoder:"function"==typeof t.encoder?t.encoder:YS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:YS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:YS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:YS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:YS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):GS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in WS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=WS[i];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="comma"===s&&e&&e.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=BS(),l=0;l<r.length;++l){var p=r[l];o.skipNulls&&null===n[p]||HS(a,JS(n[p],p,s,u,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var f=a.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&"),f.length>0?h+f:""},iE=function(t,e){var r=function(t){if(!t)return tE;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?tE.charset:t.charset;return{allowDots:void 0===t.allowDots?tE.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:tE.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:tE.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:tE.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:tE.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:tE.comma,decoder:"function"==typeof t.decoder?t.decoder:tE.decoder,delimiter:"string"==typeof t.delimiter||QS.isRegExp(t.delimiter)?t.delimiter:tE.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:tE.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:tE.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:tE.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:tE.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:tE.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=e.decoder(p,tE.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),tE.decoder,u,"key"),l=QS.maybeMap(rE(p.slice(h+1),e),(function(t){return e.decoder(t,tE.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=eE(l)),p.indexOf("[]=")>-1&&(l=ZS(l)?[l]:l),XS.call(n,c)?n[c]=QS.combine(n[c],l):n[c]=l}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=nE(s,n[s],r,"string"==typeof t);o=QS.merge(o,u,r)}return!0===r.allowSparse?o:QS.compact(o)},aE=A({formats:IS,parse:iE,stringify:oE});const sE="function"==typeof btoa,uE="function"==typeof Buffer,cE=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),lE=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),pE=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(lE),String.fromCharCode.bind(String)),fE=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),hE=t=>{let e,r,n,o,i="";const a=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=lE[e>>18&63]+lE[e>>12&63]+lE[e>>6&63]+lE[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},dE=sE?t=>btoa(t):uE?t=>Buffer.from(t,"binary").toString("base64"):hE,yE=uE?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(pE.apply(null,t.subarray(r,r+4096)));return dE(e.join(""))},mE=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?pE(192|e>>>6)+pE(128|63&e):pE(224|e>>>12&15)+pE(128|e>>>6&63)+pE(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return pE(240|e>>>18&7)+pE(128|e>>>12&63)+pE(128|e>>>6&63)+pE(128|63&e)},gE=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,vE=t=>t.replace(gE,mE),bE=uE?t=>Buffer.from(t,"utf8").toString("base64"):cE?t=>yE(cE.encode(t)):t=>dE(vE(t)),wE=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?fE(bE(t)):bE(t)},xE=wE;var SE,EE=function(){function t(e){if(p(this,t),this.baseUrl=e.baseUrl,this.auth=e.auth,this.headers=this.buildHeaders({basicAuth:e.basicAuth,userAgent:e.userAgent}),"httpsAgent"in e){if("clientCertAuth"in e)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=e.httpsAgent}else"clientCertAuth"in e&&(this.clientCertAuth=e.clientCertAuth);this.proxy=e.proxy,this.requestToken=null,this.socketTimeout=e.socketTimeout}var r,n,o;return h(t,[{key:"build",value:(o=l(a().mark((function t(r,n,o,s){var u,c,l,p;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u=i(i(i({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},s||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),t.t0=r,t.next="get"===t.t0?4:"post"===t.t0?16:"put"===t.t0?29:"delete"===t.t0?37:44;break;case 4:if(!((c=this.buildRequestUrl(n,o)).length>4096)){t.next=15;break}return t.t1=i,t.t2=i({},u),t.t3={},t.t4=i(i({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),t.next=12,this.buildData(o);case 12:return t.t5=t.sent,t.t6={method:"post",headers:t.t4,data:t.t5},t.abrupt("return",(0,t.t1)(t.t2,t.t3,t.t6));case 15:return t.abrupt("return",i(i({},u),{},{url:c}));case 16:if(!(o instanceof Ug)){t.next=21;break}return t.next=19,this.buildData(o);case 19:return l=t.sent,t.abrupt("return",i(i({},u),{},{headers:"function"==typeof l.getHeaders?i(i({},this.headers),l.getHeaders()):this.headers,data:l}));case 21:return t.t7=i,t.t8=i({},u),t.t9={},t.next=26,this.buildData(o);case 26:return t.t10=t.sent,t.t11={data:t.t10},t.abrupt("return",(0,t.t7)(t.t8,t.t9,t.t11));case 29:return t.t12=i,t.t13=i({},u),t.t14={},t.next=34,this.buildData(o);case 34:return t.t15=t.sent,t.t16={data:t.t15},t.abrupt("return",(0,t.t12)(t.t13,t.t14,t.t16));case 37:return t.t17=this,t.t18=n,t.next=41,this.buildData(o);case 41:return t.t19=t.sent,p=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",i(i({},u),{},{url:p}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return o.apply(this,arguments)})},{key:"buildProxyConfig",value:function(t){var e;if(void 0!==t){if(!1===t)return!1;var r=t;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(e=r.protocol)&&void 0!==e?e:"http",r}}},{key:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(aE.stringify(e))}},{key:"buildData",value:(n=l(a().mark((function t(e){var r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("session"!==this.auth.type){t.next=8;break}return t.next=3,this.getRequestToken();case 3:if(r=t.sent,!(e instanceof Ug)){t.next=7;break}return e.append("__REQUEST_TOKEN__",r),t.abrupt("return",e);case 7:return t.abrupt("return",i({__REQUEST_TOKEN__:r},e));case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"buildHeaders",value:function(t){var r=t.basicAuth,n=t.userAgent,o=r?{Authorization:"Basic ".concat(xE("".concat(r.username,":").concat(r.password)))}:{},a=i(i({},e.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return i(i({},a),{},{"X-Cybozu-Authorization":xE("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var s=this.auth.apiToken;return Array.isArray(s)?i(i({},a),{},{"X-Cybozu-API-Token":s.join(",")}):i(i({},a),{},{"X-Cybozu-API-Token":s});case"oAuthToken":return i(i({},a),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return i(i({},a),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(r=l(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.requestToken){t.next=4;break}return t.next=3,e.getRequestToken();case 3:this.requestToken=t.sent;case 4:return t.abrupt("return",this.requestToken);case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})}]),t}(),AE=function(t){function e(t){var n;return p(this,e),(n=r(this,e,[t])).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(w(n),e.prototype),n}return y(e,t),h(e)}(v(Error)),RE=function(t){function e(t){var n;p(this,e);var o=e.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=r(this,e,[i.message])).name="KintoneRestAPIError",n.id=i.id,n.code=i.code,n.errors=i.errors,n.status=t.status,n.bulkRequestIndex=a,n.headers=t.headers,n.message="[".concat(t.status,"] [").concat(n.code,"] ").concat(n.message," (").concat(n.id,")"),Error.captureStackTrace&&Error.captureStackTrace(w(n),e),Object.setPrototypeOf(w(n),e.prototype),n}return y(e,t),h(e,null,[{key:"findErrorResponseDataWithIndex",value:function(t){for(var e=0;e<t.length;e++){if(0!==Object.keys(t[e]).length)return{data:t[e],bulkRequestIndex:e}}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(t){return"results"in t.data?e.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),e}(v(Error)),OE=["data"],kE=function(){function t(e){var r=e.enableAbortSearchError;p(this,t),this.enableAbortSearchError=r}return h(t,[{key:"handle",value:function(t){var e=this;return t.then((function(t){return e.handleSuccessResponse(t)}),(function(t){return e.handleErrorResponse(t)}))}},{key:"handleSuccessResponse",value:function(t){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(t.headers["x-cybozu-warning"]))throw new AE(t.headers["x-cybozu-warning"]);return t.data}},{key:"handleErrorResponse",value:function(t){if(!t.response){if(/mac verify failure/.test(t.toString()))throw new Error("invalid clientCertAuth setting");throw t}var e=t.response,r=e.data,n=b(e,OE);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new RE(i({data:r},n))}}]),t}(),PE=function(){function t(){var r,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,t),jE(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=function(t){if("username"in t)return i({type:"password"},t);if("apiToken"in t)return i({type:"apiToken"},t);if("oAuthToken"in t)return i({type:"oAuthToken"},t);try{return e.getDefaultAuth()}catch(t){if(t instanceof Gi)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}}(null!==(r=a.auth)&&void 0!==r?r:{}),u=new EE(i(i({},a),{},{baseUrl:this.baseUrl,auth:s})),c=new kE({enableAbortSearchError:null!==(n=null===(o=a.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new bw({responseHandler:c,requestConfigBuilder:u}),f=a.guestSpaceId;this.bulkRequest_=new Fy(l,f),this.record=new Ng(l,this.bulkRequest_,f),this.app=new Xy(l,f),this.file=new Cg(l,f)}return h(t,[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(t){return this.bulkRequest_.send(t)}}],[{key:"version",get:function(){return e.getVersion()}}]),t}(),jE=function(t){TE(t.baseUrl),IE(t.guestSpaceId),_E(t.socketTimeout)},TE=function(t){if(void 0!==t){var e=new URL(t);if("localhost"!==e.hostname&&"https:"!==e.protocol)throw new Error('The protocol of baseUrl must be "https".')}},IE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))},_E=function(t){if(void 0!==t){var e=parseFloat(t.toString());if(isNaN(e)||e<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(SE=Yi).readFileFromPath&&(e.readFileFromPath=SE.readFileFromPath),SE.getRequestToken&&(e.getRequestToken=SE.getRequestToken),SE.getDefaultAuth&&(e.getDefaultAuth=SE.getDefaultAuth),SE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=SE.buildPlatformDependentConfig),SE.buildHeaders&&(e.buildHeaders=SE.buildHeaders),SE.buildFormDataValue&&(e.buildFormDataValue=SE.buildFormDataValue),SE.buildBaseUrl&&(e.buildBaseUrl=SE.buildBaseUrl),SE.getVersion&&(e.getVersion=SE.getVersion),t.KintoneAbortSearchError=AE,t.KintoneAllRecordsError=Pg,t.KintoneRestAPIClient=PE,t.KintoneRestAPIError=RE}));
|