@kintone/rest-api-client 3.3.7 → 3.3.9

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.
@@ -1 +1 @@
1
- !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){p(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 t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),s=new P(o||[]);return n(a,"_invoke",{value:S(t,r,s)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function d(){}function y(){}var m={};c(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(O([])));v&&v!==e&&r.call(v,a)&&(m=v);var b=y.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(n,i,a,s){var u=p(t[n],t,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,s)}),(function(t){o("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return o("throw",t,a,s)}))}s(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=A(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function A(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),c(b,u,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.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}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,f):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),f},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),R(r),f}},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;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function i(t){return i="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},i(t)}function a(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 s(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function s(t){a(i,n,o,s,u,"next",t)}function u(t){a(i,n,o,s,u,"throw",t)}s(void 0)}))}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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,E(n.key),n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function p(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(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&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){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}}function m(t,e,r){return m=y()?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&&d(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||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;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,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,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){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function S(t){return function(t){if(Array.isArray(t))return A(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 A(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 A(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 A(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}function E(t){var e=function(t,e){if("object"!=typeof t||null===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)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return 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 R&&R)||function(){return this}()||Function("return this")(),j={},I=function(t){try{return!!t()}catch(t){return!0}},T=!I((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=!I((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),U=N,_=Function.prototype.call,C=U?_.bind(_):function(){return _.apply(_,arguments)},L={},F={}.propertyIsEnumerable,B=Object.getOwnPropertyDescriptor,D=B&&!F.call({1:2},1);L.f=D?function(t){var e=B(this,t);return!!e&&e.enumerable}:F;var M,q,W=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},G=N,z=Function.prototype,H=z.call,V=G&&z.bind.bind(H,H),Y=G?V:function(t){return function(){return H.apply(t,arguments)}},$=Y,J=$({}.toString),K=$("".slice),Q=function(t){return K(J(t),8,-1)},X=I,Z=Q,tt=Object,et=Y("".split),rt=X((function(){return!tt("z").propertyIsEnumerable(0)}))?function(t){return"String"==Z(t)?et(t,""):tt(t)}:tt,nt=function(t){return null==t},ot=nt,it=TypeError,at=function(t){if(ot(t))throw it("Can't call method on "+t);return t},st=rt,ut=at,ct=function(t){return st(ut(t))},lt="object"==typeof document&&document.all,pt={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ft=pt.all,ht=pt.IS_HTMLDDA?function(t){return"function"==typeof t||t===ft}:function(t){return"function"==typeof t},dt=ht,yt=pt.all,mt=pt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:dt(t)||t===yt}:function(t){return"object"==typeof t?null!==t:dt(t)},gt=k,vt=ht,bt=function(t){return vt(t)?t:void 0},wt=function(t,e){return arguments.length<2?bt(gt[t]):gt[t]&&gt[t][e]},xt=Y({}.isPrototypeOf),St=k,At="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Et=St.process,Rt=St.Deno,Pt=Et&&Et.versions||Rt&&Rt.version,Ot=Pt&&Pt.v8;Ot&&(q=(M=Ot.split("."))[0]>0&&M[0]<4?1:+(M[0]+M[1])),!q&&At&&(!(M=At.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=At.match(/Chrome\/(\d+)/))&&(q=+M[1]);var kt=q,jt=kt,It=I,Tt=!!Object.getOwnPropertySymbols&&!It((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&jt&&jt<41})),Nt=Tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=wt,_t=ht,Ct=xt,Lt=Object,Ft=Nt?function(t){return"symbol"==typeof t}:function(t){var e=Ut("Symbol");return _t(e)&&Ct(e.prototype,Lt(t))},Bt=String,Dt=function(t){try{return Bt(t)}catch(t){return"Object"}},Mt=ht,qt=Dt,Wt=TypeError,Gt=function(t){if(Mt(t))return t;throw Wt(qt(t)+" is not a function")},zt=Gt,Ht=nt,Vt=function(t,e){var r=t[e];return Ht(r)?void 0:zt(r)},Yt=C,$t=ht,Jt=mt,Kt=TypeError,Qt={},Xt={get exports(){return Qt},set exports(t){Qt=t}},Zt=k,te=Object.defineProperty,ee=function(t,e){try{te(Zt,t,{value:e,configurable:!0,writable:!0})}catch(r){Zt[t]=e}return e},re=ee,ne="__core-js_shared__",oe=k[ne]||re(ne,{}),ie=oe;(Xt.exports=function(t,e){return ie[t]||(ie[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ae=at,se=Object,ue=function(t){return se(ae(t))},ce=ue,le=Y({}.hasOwnProperty),pe=Object.hasOwn||function(t,e){return le(ce(t),e)},fe=Y,he=0,de=Math.random(),ye=fe(1..toString),me=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ye(++he+de,36)},ge=Qt,ve=pe,be=me,we=Tt,xe=Nt,Se=k.Symbol,Ae=ge("wks"),Ee=xe?Se.for||Se:Se&&Se.withoutSetter||be,Re=function(t){return ve(Ae,t)||(Ae[t]=we&&ve(Se,t)?Se[t]:Ee("Symbol."+t)),Ae[t]},Pe=C,Oe=mt,ke=Ft,je=Vt,Ie=function(t,e){var r,n;if("string"===e&&$t(r=t.toString)&&!Jt(n=Yt(r,t)))return n;if($t(r=t.valueOf)&&!Jt(n=Yt(r,t)))return n;if("string"!==e&&$t(r=t.toString)&&!Jt(n=Yt(r,t)))return n;throw Kt("Can't convert object to primitive value")},Te=TypeError,Ne=Re("toPrimitive"),Ue=function(t,e){if(!Oe(t)||ke(t))return t;var r,n=je(t,Ne);if(n){if(void 0===e&&(e="default"),r=Pe(n,t,e),!Oe(r)||ke(r))return r;throw Te("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ie(t,e)},_e=Ue,Ce=Ft,Le=function(t){var e=_e(t,"string");return Ce(e)?e:e+""},Fe=mt,Be=k.document,De=Fe(Be)&&Fe(Be.createElement),Me=function(t){return De?Be.createElement(t):{}},qe=Me,We=!T&&!I((function(){return 7!=Object.defineProperty(qe("div"),"a",{get:function(){return 7}}).a})),Ge=T,ze=C,He=L,Ve=W,Ye=ct,$e=Le,Je=pe,Ke=We,Qe=Object.getOwnPropertyDescriptor;j.f=Ge?Qe:function(t,e){if(t=Ye(t),e=$e(e),Ke)try{return Qe(t,e)}catch(t){}if(Je(t,e))return Ve(!ze(He.f,t,e),t[e])};var Xe={},Ze=T&&I((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),tr=mt,er=String,rr=TypeError,nr=function(t){if(tr(t))return t;throw rr(er(t)+" is not an object")},or=T,ir=We,ar=Ze,sr=nr,ur=Le,cr=TypeError,lr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,fr="enumerable",hr="configurable",dr="writable";Xe.f=or?ar?function(t,e,r){if(sr(t),e=ur(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&dr in r&&!r.writable){var n=pr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:hr in r?r.configurable:n.configurable,enumerable:fr in r?r.enumerable:n.enumerable,writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=ur(e),sr(r),ir)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var yr=Xe,mr=W,gr=T?function(t,e,r){return yr.f(t,e,mr(1,r))}:function(t,e,r){return t[e]=r,t},vr={},br={get exports(){return vr},set exports(t){vr=t}},wr=T,xr=pe,Sr=Function.prototype,Ar=wr&&Object.getOwnPropertyDescriptor,Er=xr(Sr,"name"),Rr={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!wr||wr&&Ar(Sr,"name").configurable)},Pr=ht,Or=oe,kr=Y(Function.toString);Pr(Or.inspectSource)||(Or.inspectSource=function(t){return kr(t)});var jr,Ir,Tr,Nr=Or.inspectSource,Ur=ht,_r=k.WeakMap,Cr=Ur(_r)&&/native code/.test(String(_r)),Lr=me,Fr=Qt("keys"),Br=function(t){return Fr[t]||(Fr[t]=Lr(t))},Dr={},Mr=Cr,qr=k,Wr=mt,Gr=gr,zr=pe,Hr=oe,Vr=Br,Yr=Dr,$r="Object already initialized",Jr=qr.TypeError,Kr=qr.WeakMap;if(Mr||Hr.state){var Qr=Hr.state||(Hr.state=new Kr);Qr.get=Qr.get,Qr.has=Qr.has,Qr.set=Qr.set,jr=function(t,e){if(Qr.has(t))throw Jr($r);return e.facade=t,Qr.set(t,e),e},Ir=function(t){return Qr.get(t)||{}},Tr=function(t){return Qr.has(t)}}else{var Xr=Vr("state");Yr[Xr]=!0,jr=function(t,e){if(zr(t,Xr))throw Jr($r);return e.facade=t,Gr(t,Xr,e),e},Ir=function(t){return zr(t,Xr)?t[Xr]:{}},Tr=function(t){return zr(t,Xr)}}var Zr={set:jr,get:Ir,has:Tr,enforce:function(t){return Tr(t)?Ir(t):jr(t,{})},getterFor:function(t){return function(e){var r;if(!Wr(e)||(r=Ir(e)).type!==t)throw Jr("Incompatible receiver, "+t+" required");return r}}},tn=Y,en=I,rn=ht,nn=pe,on=T,an=Rr.CONFIGURABLE,sn=Nr,un=Zr.enforce,cn=Zr.get,ln=String,pn=Object.defineProperty,fn=tn("".slice),hn=tn("".replace),dn=tn([].join),yn=on&&!en((function(){return 8!==pn((function(){}),"length",{value:8}).length})),mn=String(String).split("String"),gn=br.exports=function(t,e,r){"Symbol("===fn(ln(e),0,7)&&(e="["+hn(ln(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!nn(t,"name")||an&&t.name!==e)&&(on?pn(t,"name",{value:e,configurable:!0}):t.name=e),yn&&r&&nn(r,"arity")&&t.length!==r.arity&&pn(t,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&pn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=un(t);return nn(n,"source")||(n.source=dn(mn,"string"==typeof e?e:"")),t};Function.prototype.toString=gn((function(){return rn(this)&&cn(this).source||sn(this)}),"toString");var vn=ht,bn=Xe,wn=vr,xn=ee,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(vn(r)&&wn(r,i,n),n.global)o?t[e]=r:xn(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:bn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},An={},En=Math.ceil,Rn=Math.floor,Pn=Math.trunc||function(t){var e=+t;return(e>0?Rn:En)(e)},On=function(t){var e=+t;return e!=e||0===e?0:Pn(e)},kn=On,jn=Math.max,In=Math.min,Tn=function(t,e){var r=kn(t);return r<0?jn(r+e,0):In(r,e)},Nn=On,Un=Math.min,_n=function(t){return t>0?Un(Nn(t),9007199254740991):0},Cn=_n,Ln=function(t){return Cn(t.length)},Fn=ct,Bn=Tn,Dn=Ln,Mn=function(t){return function(e,r,n){var o,i=Fn(e),a=Dn(i),s=Bn(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}},qn={includes:Mn(!0),indexOf:Mn(!1)},Wn=pe,Gn=ct,zn=qn.indexOf,Hn=Dr,Vn=Y([].push),Yn=function(t,e){var r,n=Gn(t),o=0,i=[];for(r in n)!Wn(Hn,r)&&Wn(n,r)&&Vn(i,r);for(;e.length>o;)Wn(n,r=e[o++])&&(~zn(i,r)||Vn(i,r));return i},$n=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Jn=Yn,Kn=$n.concat("length","prototype");An.f=Object.getOwnPropertyNames||function(t){return Jn(t,Kn)};var Qn={};Qn.f=Object.getOwnPropertySymbols;var Xn=wt,Zn=An,to=Qn,eo=nr,ro=Y([].concat),no=Xn("Reflect","ownKeys")||function(t){var e=Zn.f(eo(t)),r=to.f;return r?ro(e,r(t)):e},oo=pe,io=no,ao=j,so=Xe,uo=I,co=ht,lo=/#|\.prototype\./,po=function(t,e){var r=ho[fo(t)];return r==mo||r!=yo&&(co(e)?uo(e):!!e)},fo=po.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},ho=po.data={},yo=po.NATIVE="N",mo=po.POLYFILL="P",go=po,vo=k,bo=j.f,wo=gr,xo=Sn,So=ee,Ao=function(t,e,r){for(var n=io(e),o=so.f,i=ao.f,a=0;a<n.length;a++){var s=n[a];oo(t,s)||r&&oo(r,s)||o(t,s,i(e,s))}},Eo=go,Ro=function(t,e){var r,n,o,i,a,s=t.target,u=t.global,c=t.stat;if(r=u?vo:c?vo[s]||So(s,{}):(vo[s]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=bo(r,n))&&a.value:r[n],!Eo(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ao(i,o)}(t.sham||o&&o.sham)&&wo(i,"sham",!0),xo(r,n,i,t)}},Po=Q,Oo=Array.isArray||function(t){return"Array"==Po(t)},ko=TypeError,jo=Le,Io=Xe,To=W,No=function(t,e,r){var n=jo(e);n in t?Io.f(t,n,To(0,r)):t[n]=r},Uo={};Uo[Re("toStringTag")]="z";var _o="[object z]"===String(Uo),Co=_o,Lo=ht,Fo=Q,Bo=Re("toStringTag"),Do=Object,Mo="Arguments"==Fo(function(){return arguments}()),qo=Co?Fo: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=Do(t),Bo))?r:Mo?Fo(e):"Object"==(n=Fo(e))&&Lo(e.callee)?"Arguments":n},Wo=Y,Go=I,zo=ht,Ho=qo,Vo=Nr,Yo=function(){},$o=[],Jo=wt("Reflect","construct"),Ko=/^\s*(?:class|function)\b/,Qo=Wo(Ko.exec),Xo=!Ko.exec(Yo),Zo=function(t){if(!zo(t))return!1;try{return Jo(Yo,$o,t),!0}catch(t){return!1}},ti=function(t){if(!zo(t))return!1;switch(Ho(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xo||!!Qo(Ko,Vo(t))}catch(t){return!0}};ti.sham=!0;var ei=!Jo||Go((function(){var t;return Zo(Zo.call)||!Zo(Object)||!Zo((function(){t=!0}))||t}))?ti:Zo,ri=Oo,ni=ei,oi=mt,ii=Re("species"),ai=Array,si=function(t){var e;return ri(t)&&(e=t.constructor,(ni(e)&&(e===ai||ri(e.prototype))||oi(e)&&null===(e=e[ii]))&&(e=void 0)),void 0===e?ai:e},ui=function(t,e){return new(si(t))(0===e?0:e)},ci=I,li=kt,pi=Re("species"),fi=function(t){return li>=51||!ci((function(){var e=[];return(e.constructor={})[pi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},hi=Ro,di=I,yi=Oo,mi=mt,gi=ue,vi=Ln,bi=function(t){if(t>9007199254740991)throw ko("Maximum allowed index exceeded");return t},wi=No,xi=ui,Si=fi,Ai=kt,Ei=Re("isConcatSpreadable"),Ri=Ai>=51||!di((function(){var t=[];return t[Ei]=!1,t.concat()[0]!==t})),Pi=function(t){if(!mi(t))return!1;var e=t[Ei];return void 0!==e?!!e:yi(t)};hi({target:"Array",proto:!0,arity:1,forced:!Ri||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=gi(this),s=xi(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Pi(i=-1===e?a:arguments[e]))for(o=vi(i),bi(u+o),r=0;r<o;r++,u++)r in i&&wi(s,u,i[r]);else bi(u+1),wi(s,u++,i);return s.length=u,s}});var Oi=vr,ki=Xe,ji=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),ki.f(t,e,r)},Ii=T,Ti=Rr.EXISTS,Ni=Y,Ui=ji,_i=Function.prototype,Ci=Ni(_i.toString),Li=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fi=Ni(Li.exec);Ii&&!Ti&&Ui(_i,"name",{configurable:!0,get:function(){try{return Fi(Li,Ci(this))[1]}catch(t){return""}}});var Bi=Y,Di=Gt,Mi=ht,qi=String,Wi=TypeError,Gi=function(t,e,r){try{return Bi(Di(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},zi=nr,Hi=function(t){if("object"==typeof t||Mi(t))return t;throw Wi("Can't set "+qi(t)+" as a prototype")},Vi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Gi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return zi(r),Hi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Ro({target:"Object",stat:!0},{setPrototypeOf:Vi});var Yi=function(t){f(r,t);var e=x(r);function r(t){var n;u(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return l(r)}(g(Error));function $i(){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)}$i.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)}}},$i.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},$i.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Ji=new $i({"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"]}),Ki=function(){var t=s(o().mark((function t(){var e,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(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":i(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(r=e.kintone)||void 0===r?void 0:r.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)}}(),Qi=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=Ji.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Ki,getVersion:function(){return"3.3.7"},readFileFromPath:function(t){throw new Yi("Browser")}}),Xi=qo,Zi=String,ta=function(t){if("Symbol"===Xi(t))throw TypeError("Cannot convert a Symbol value to a string");return Zi(t)},ea=nr,ra=function(){var t=ea(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},na=I,oa=k.RegExp,ia=na((function(){var t=oa("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),aa=ia||na((function(){return!oa("a","y").sticky})),sa={BROKEN_CARET:ia||na((function(){var t=oa("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:aa,UNSUPPORTED_Y:ia},ua={},ca=Yn,la=$n,pa=Object.keys||function(t){return ca(t,la)},fa=T,ha=Ze,da=Xe,ya=nr,ma=ct,ga=pa;ua.f=fa&&!ha?Object.defineProperties:function(t,e){ya(t);for(var r,n=ma(e),o=ga(e),i=o.length,a=0;i>a;)da.f(t,r=o[a++],n[r]);return t};var va,ba=wt("document","documentElement"),wa=nr,xa=ua,Sa=$n,Aa=Dr,Ea=ba,Ra=Me,Pa=Br("IE_PROTO"),Oa=function(){},ka=function(t){return"<script>"+t+"</"+"script>"},ja=function(t){t.write(ka("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ia=function(){try{va=new ActiveXObject("htmlfile")}catch(t){}var t,e;Ia="undefined"!=typeof document?document.domain&&va?ja(va):((e=Ra("iframe")).style.display="none",Ea.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ka("document.F=Object")),t.close(),t.F):ja(va);for(var r=Sa.length;r--;)delete Ia.prototype[Sa[r]];return Ia()};Aa[Pa]=!0;var Ta,Na,Ua=Object.create||function(t,e){var r;return null!==t?(Oa.prototype=wa(t),r=new Oa,Oa.prototype=null,r[Pa]=t):r=Ia(),void 0===e?r:xa.f(r,e)},_a=I,Ca=k.RegExp,La=_a((function(){var t=Ca(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Fa=I,Ba=k.RegExp,Da=Fa((function(){var t=Ba("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ma=C,qa=Y,Wa=ta,Ga=ra,za=sa,Ha=Ua,Va=Zr.get,Ya=La,$a=Da,Ja=Qt("native-string-replace",String.prototype.replace),Ka=RegExp.prototype.exec,Qa=Ka,Xa=qa("".charAt),Za=qa("".indexOf),ts=qa("".replace),es=qa("".slice),rs=(Na=/b*/g,Ma(Ka,Ta=/a/,"a"),Ma(Ka,Na,"a"),0!==Ta.lastIndex||0!==Na.lastIndex),ns=za.BROKEN_CARET,os=void 0!==/()??/.exec("")[1];(rs||os||ns||Ya||$a)&&(Qa=function(t){var e,r,n,o,i,a,s,u=this,c=Va(u),l=Wa(t),p=c.raw;if(p)return p.lastIndex=u.lastIndex,e=Ma(Qa,p,l),u.lastIndex=p.lastIndex,e;var f=c.groups,h=ns&&u.sticky,d=Ma(Ga,u),y=u.source,m=0,g=l;if(h&&(d=ts(d,"y",""),-1===Za(d,"g")&&(d+="g"),g=es(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Xa(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),os&&(r=new RegExp("^"+y+"$(?!\\s)",d)),rs&&(n=u.lastIndex),o=Ma(Ka,h?r:u,g),h?o?(o.input=es(o.input,m),o[0]=es(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:rs&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),os&&o&&o.length>1&&Ma(Ja,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=Ha(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var is=Qa;Ro({target:"RegExp",proto:!0,forced:/./.exec!==is},{exec:is});var as=N,ss=Function.prototype,us=ss.apply,cs=ss.call,ls="object"==typeof Reflect&&Reflect.apply||(as?cs.bind(us):function(){return cs.apply(us,arguments)}),ps=Q,fs=Y,hs=function(t){if("Function"===ps(t))return fs(t)},ds=hs,ys=Sn,ms=is,gs=I,vs=Re,bs=gr,ws=vs("species"),xs=RegExp.prototype,Ss=function(t,e,r,n){var o=vs(t),i=!gs((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!gs((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[ws]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var s=ds(/./[o]),u=e(o,""[t],(function(t,e,r,n,o){var a=ds(t),u=e.exec;return u===ms||u===xs.exec?i&&!o?{done:!0,value:s(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));ys(String.prototype,t,u[0]),ys(xs,o,u[1])}n&&bs(xs[o],"sham",!0)},As=Y,Es=On,Rs=ta,Ps=at,Os=As("".charAt),ks=As("".charCodeAt),js=As("".slice),Is=function(t){return function(e,r){var n,o,i=Rs(Ps(e)),a=Es(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=ks(i,a))<55296||n>56319||a+1===s||(o=ks(i,a+1))<56320||o>57343?t?Os(i,a):n:t?js(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ts={codeAt:Is(!1),charAt:Is(!0)},Ns=Ts.charAt,Us=function(t,e,r){return e+(r?Ns(t,e).length:1)},_s=Y,Cs=ue,Ls=Math.floor,Fs=_s("".charAt),Bs=_s("".replace),Ds=_s("".slice),Ms=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,qs=/\$([$&'`]|\d{1,2})/g,Ws=C,Gs=nr,zs=ht,Hs=Q,Vs=is,Ys=TypeError,$s=function(t,e){var r=t.exec;if(zs(r)){var n=Ws(r,t,e);return null!==n&&Gs(n),n}if("RegExp"===Hs(t))return Ws(Vs,t,e);throw Ys("RegExp#exec called on incompatible receiver")},Js=ls,Ks=C,Qs=Y,Xs=Ss,Zs=I,tu=nr,eu=ht,ru=nt,nu=On,ou=_n,iu=ta,au=at,su=Us,uu=Vt,cu=function(t,e,r,n,o,i){var a=r+t.length,s=n.length,u=qs;return void 0!==o&&(o=Cs(o),u=Ms),Bs(i,u,(function(i,u){var c;switch(Fs(u,0)){case"$":return"$";case"&":return t;case"`":return Ds(e,0,r);case"'":return Ds(e,a);case"<":c=o[Ds(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Ls(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Fs(u,1):n[p-1]+Fs(u,1):i}c=n[l-1]}return void 0===c?"":c}))},lu=$s,pu=Re("replace"),fu=Math.max,hu=Math.min,du=Qs([].concat),yu=Qs([].push),mu=Qs("".indexOf),gu=Qs("".slice),vu="$0"==="a".replace(/./,"$0"),bu=!!/./[pu]&&""===/./[pu]("a","$0");Xs("replace",(function(t,e,r){var n=bu?"$":"$0";return[function(t,r){var n=au(this),o=ru(t)?void 0:uu(t,pu);return o?Ks(o,t,n,r):Ks(e,iu(n),t,r)},function(t,o){var i=tu(this),a=iu(t);if("string"==typeof o&&-1===mu(o,n)&&-1===mu(o,"$<")){var s=r(e,i,a,o);if(s.done)return s.value}var u=eu(o);u||(o=iu(o));var c=i.global;if(c){var l=i.unicode;i.lastIndex=0}for(var p=[];;){var f=lu(i,a);if(null===f)break;if(yu(p,f),!c)break;""===iu(f[0])&&(i.lastIndex=su(a,ou(i.lastIndex),l))}for(var h,d="",y=0,m=0;m<p.length;m++){for(var g=iu((f=p[m])[0]),v=fu(hu(nu(f.index),a.length),0),b=[],w=1;w<f.length;w++)yu(b,void 0===(h=f[w])?h:String(h));var x=f.groups;if(u){var S=du([g],b,v,a);void 0!==x&&yu(S,x);var A=iu(Js(o,void 0,S))}else A=cu(g,a,v,b,x,o);v>=y&&(d+=gu(a,y,v)+A,y=v+g.length)}return d+gu(a,y)}]}),!!Zs((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!vu||bu);var wu=Re,xu=Ua,Su=Xe.f,Au=wu("unscopables"),Eu=Array.prototype;null==Eu[Au]&&Su(Eu,Au,{configurable:!0,value:xu(null)});var Ru,Pu,Ou,ku={},ju=!I((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Iu=pe,Tu=ht,Nu=ue,Uu=ju,_u=Br("IE_PROTO"),Cu=Object,Lu=Cu.prototype,Fu=Uu?Cu.getPrototypeOf:function(t){var e=Nu(t);if(Iu(e,_u))return e[_u];var r=e.constructor;return Tu(r)&&e instanceof r?r.prototype:e instanceof Cu?Lu:null},Bu=I,Du=ht,Mu=mt,qu=Fu,Wu=Sn,Gu=Re("iterator"),zu=!1;[].keys&&("next"in(Ou=[].keys())?(Pu=qu(qu(Ou)))!==Object.prototype&&(Ru=Pu):zu=!0);var Hu=!Mu(Ru)||Bu((function(){var t={};return Ru[Gu].call(t)!==t}));Hu&&(Ru={}),Du(Ru[Gu])||Wu(Ru,Gu,(function(){return this}));var Vu={IteratorPrototype:Ru,BUGGY_SAFARI_ITERATORS:zu},Yu=Xe.f,$u=pe,Ju=Re("toStringTag"),Ku=function(t,e,r){t&&!r&&(t=t.prototype),t&&!$u(t,Ju)&&Yu(t,Ju,{configurable:!0,value:e})},Qu=Vu.IteratorPrototype,Xu=Ua,Zu=W,tc=Ku,ec=ku,rc=function(){return this},nc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Xu(Qu,{next:Zu(+!n,r)}),tc(t,o,!1),ec[o]=rc,t},oc=Ro,ic=C,ac=ht,sc=nc,uc=Fu,cc=Vi,lc=Ku,pc=gr,fc=Sn,hc=ku,dc=Rr.PROPER,yc=Rr.CONFIGURABLE,mc=Vu.IteratorPrototype,gc=Vu.BUGGY_SAFARI_ITERATORS,vc=Re("iterator"),bc="keys",wc="values",xc="entries",Sc=function(){return this},Ac=function(t,e,r,n,o,i,a){sc(r,e,n);var s,u,c,l=function(t){if(t===o&&y)return y;if(!gc&&t in h)return h[t];switch(t){case bc:case wc: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[vc]||h["@@iterator"]||o&&h[o],y=!gc&&d||l(o),m="Array"==e&&h.entries||d;if(m&&(s=uc(m.call(new t)))!==Object.prototype&&s.next&&(uc(s)!==mc&&(cc?cc(s,mc):ac(s[vc])||fc(s,vc,Sc)),lc(s,p,!0)),dc&&o==wc&&d&&d.name!==wc&&(yc?pc(h,"name",wc):(f=!0,y=function(){return ic(d,this)})),o)if(u={values:l(wc),keys:i?y:l(bc),entries:l(xc)},a)for(c in u)(gc||f||!(c in h))&&fc(h,c,u[c]);else oc({target:e,proto:!0,forced:gc||f},u);return h[vc]!==y&&fc(h,vc,y,{name:o}),hc[e]=y,u},Ec=function(t,e){return{value:t,done:e}},Rc=ct,Pc=function(t){Eu[Au][t]=!0},Oc=ku,kc=Zr,jc=Xe.f,Ic=Ac,Tc=Ec,Nc=T,Uc="Array Iterator",_c=kc.set,Cc=kc.getterFor(Uc),Lc=Ic(Array,"Array",(function(t,e){_c(this,{type:Uc,target:Rc(t),index:0,kind:e})}),(function(){var t=Cc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Tc(void 0,!0)):Tc("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Fc=Oc.Arguments=Oc.Array;if(Pc("keys"),Pc("values"),Pc("entries"),Nc&&"values"!==Fc.name)try{jc(Fc,"name",{value:"values"})}catch(t){}var Bc=qo,Dc=_o?{}.toString:function(){return"[object "+Bc(this)+"]"};_o||Sn(Object.prototype,"toString",Dc,{unsafe:!0});var Mc=Ts.charAt,qc=ta,Wc=Zr,Gc=Ac,zc=Ec,Hc="String Iterator",Vc=Wc.set,Yc=Wc.getterFor(Hc);Gc(String,"String",(function(t){Vc(this,{type:Hc,string:qc(t),index:0})}),(function(){var t,e=Yc(this),r=e.string,n=e.index;return n>=r.length?zc(void 0,!0):(t=Mc(r,n),e.index+=t.length,zc(t,!1))}));var $c={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},Jc=Me("span").classList,Kc=Jc&&Jc.constructor&&Jc.constructor.prototype,Qc=Kc===Object.prototype?void 0:Kc,Xc=k,Zc=$c,tl=Qc,el=Lc,rl=gr,nl=Re,ol=nl("iterator"),il=nl("toStringTag"),al=el.values,sl=function(t,e){if(t){if(t[ol]!==al)try{rl(t,ol,al)}catch(e){t[ol]=al}if(t[il]||rl(t,il,e),Zc[e])for(var r in el)if(t[r]!==el[r])try{rl(t,r,el[r])}catch(e){t[r]=el[r]}}};for(var ul in Zc)sl(Xc[ul]&&Xc[ul].prototype,ul);sl(tl,"DOMTokenList");var cl=I,ll=T,pl=Re("iterator"),fl=!cl((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.size&&!ll||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[pl]||"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"!==r||"x"!==new URL("http://x",void 0).host})),hl=Gt,dl=N,yl=hs(hs.bind),ml=function(t,e){return hl(t),void 0===e?t:dl?yl(t,e):function(){return t.apply(e,arguments)}},gl=xt,vl=TypeError,bl=function(t,e){if(gl(e,t))return t;throw vl("Incorrect invocation")},wl=T,xl=Y,Sl=C,Al=I,El=pa,Rl=Qn,Pl=L,Ol=ue,kl=rt,jl=Object.assign,Il=Object.defineProperty,Tl=xl([].concat),Nl=!jl||Al((function(){if(wl&&1!==jl({b:1},jl(Il({},"a",{enumerable:!0,get:function(){Il(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=jl({},t)[r]||El(jl({},e)).join("")!=n}))?function(t,e){for(var r=Ol(t),n=arguments.length,o=1,i=Rl.f,a=Pl.f;n>o;)for(var s,u=kl(arguments[o++]),c=i?Tl(El(u),i(u)):El(u),l=c.length,p=0;l>p;)s=c[p++],wl&&!Sl(a,u,s)||(r[s]=u[s]);return r}:jl,Ul=C,_l=nr,Cl=Vt,Ll=nr,Fl=function(t,e,r){var n,o;_l(t);try{if(!(n=Cl(t,"return"))){if("throw"===e)throw r;return r}n=Ul(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return _l(n),r},Bl=ku,Dl=Re("iterator"),Ml=Array.prototype,ql=qo,Wl=Vt,Gl=nt,zl=ku,Hl=Re("iterator"),Vl=function(t){if(!Gl(t))return Wl(t,Hl)||Wl(t,"@@iterator")||zl[ql(t)]},Yl=C,$l=Gt,Jl=nr,Kl=Dt,Ql=Vl,Xl=TypeError,Zl=function(t,e){var r=arguments.length<2?Ql(t):e;if($l(r))return Jl(Yl(r,t));throw Xl(Kl(t)+" is not iterable")},tp=ml,ep=C,rp=ue,np=function(t,e,r,n){try{return n?e(Ll(r)[0],r[1]):e(r)}catch(e){Fl(t,"throw",e)}},op=function(t){return void 0!==t&&(Bl.Array===t||Ml[Dl]===t)},ip=ei,ap=Ln,sp=No,up=Zl,cp=Vl,lp=Array,pp=Tn,fp=Ln,hp=No,dp=Array,yp=Math.max,mp=function(t,e,r){for(var n=fp(t),o=pp(e,n),i=pp(void 0===r?n:r,n),a=dp(yp(i-o,0)),s=0;o<i;o++,s++)hp(a,s,t[o]);return a.length=s,a},gp=Y,vp=2147483647,bp=/[^\0-\u007E]/,wp=/[.\u3002\uFF0E\uFF61]/g,xp="Overflow: input needs wider integers to process",Sp=RangeError,Ap=gp(wp.exec),Ep=Math.floor,Rp=String.fromCharCode,Pp=gp("".charCodeAt),Op=gp([].join),kp=gp([].push),jp=gp("".replace),Ip=gp("".split),Tp=gp("".toLowerCase),Np=function(t){return t+22+75*(t<26)},Up=function(t,e,r){var n=0;for(t=r?Ep(t/700):t>>1,t+=Ep(t/e);t>455;)t=Ep(t/35),n+=36;return Ep(n+36*t/(t+38))},_p=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=Pp(t,r++);if(o>=55296&&o<=56319&&r<n){var i=Pp(t,r++);56320==(64512&i)?kp(e,((1023&o)<<10)+(1023&i)+65536):(kp(e,o),r--)}else kp(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&&kp(e,Rp(n));var u=e.length,c=u;for(u&&kp(e,"-");c<o;){var l=vp;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>Ep((vp-a)/p))throw Sp(xp);for(a+=(l-i)*p,i=l,r=0;r<t.length;r++){if((n=t[r])<i&&++a>vp)throw Sp(xp);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;kp(e,Rp(Np(d+y%m))),f=Ep(y/m),h+=36}kp(e,Rp(Np(f))),s=Up(a,p,c==u),a=0,c++}}a++,i++}return Op(e,"")},Cp=TypeError,Lp=function(t,e){if(t<e)throw Cp("Not enough arguments");return t},Fp=Sn,Bp=mp,Dp=Math.floor,Mp=function(t,e){var r=t.length,n=Dp(r/2);return r<8?qp(t,e):Wp(t,Mp(Bp(t,0,n),e),Mp(Bp(t,n),e),e)},qp=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},Wp=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,s=0;a<o||s<i;)t[a+s]=a<o&&s<i?n(e[a],r[s])<=0?e[a++]:r[s++]:a<o?e[a++]:r[s++];return t},Gp=Ro,zp=k,Hp=C,Vp=Y,Yp=T,$p=fl,Jp=Sn,Kp=ji,Qp=function(t,e,r){for(var n in e)Fp(t,n,e[n],r);return t},Xp=Ku,Zp=nc,tf=Zr,ef=bl,rf=ht,nf=pe,of=ml,af=qo,sf=nr,uf=mt,cf=ta,lf=Ua,pf=W,ff=Zl,hf=Vl,df=Lp,yf=Mp,mf=Re("iterator"),gf="URLSearchParams",vf="URLSearchParamsIterator",bf=tf.set,wf=tf.getterFor(gf),xf=tf.getterFor(vf),Sf=Object.getOwnPropertyDescriptor,Af=function(t){if(!Yp)return zp[t];var e=Sf(zp,t);return e&&e.value},Ef=Af("fetch"),Rf=Af("Request"),Pf=Af("Headers"),Of=Rf&&Rf.prototype,kf=Pf&&Pf.prototype,jf=zp.RegExp,If=zp.TypeError,Tf=zp.decodeURIComponent,Nf=zp.encodeURIComponent,Uf=Vp("".charAt),_f=Vp([].join),Cf=Vp([].push),Lf=Vp("".replace),Ff=Vp([].shift),Bf=Vp([].splice),Df=Vp("".split),Mf=Vp("".slice),qf=/\+/g,Wf=Array(4),Gf=function(t){return Wf[t-1]||(Wf[t-1]=jf("((?:%[\\da-f]{2}){"+t+"})","gi"))},zf=function(t){try{return Tf(t)}catch(e){return t}},Hf=function(t){var e=Lf(t,qf," "),r=4;try{return Tf(e)}catch(t){for(;r;)e=Lf(e,Gf(r--),zf);return e}},Vf=/[!'()~]|%20/g,Yf={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$f=function(t){return Yf[t]},Jf=function(t){return Lf(Nf(t),Vf,$f)},Kf=Zp((function(t,e){bf(this,{type:vf,iterator:ff(wf(t).entries),kind:e})}),"Iterator",(function(){var t=xf(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),Qf=function(t){this.entries=[],this.url=null,void 0!==t&&(uf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Uf(t,0)?Mf(t,1):t:cf(t)))};Qf.prototype={type:gf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,s,u=hf(t);if(u)for(r=(e=ff(t,u)).next;!(n=Hp(r,e)).done;){if(i=(o=ff(sf(n.value))).next,(a=Hp(i,o)).done||(s=Hp(i,o)).done||!Hp(i,o).done)throw If("Expected sequence with length 2");Cf(this.entries,{key:cf(a.value),value:cf(s.value)})}else for(var c in t)nf(t,c)&&Cf(this.entries,{key:c,value:cf(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=Df(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=Df(e,"="),Cf(this.entries,{key:Hf(Ff(r)),value:Hf(_f(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Cf(r,Jf(t.key)+"="+Jf(t.value));return _f(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Xf=function(){ef(this,Zf);var t=arguments.length>0?arguments[0]:void 0,e=bf(this,new Qf(t));Yp||(this.length=e.entries.length)},Zf=Xf.prototype;if(Qp(Zf,{append:function(t,e){df(arguments.length,2);var r=wf(this);Cf(r.entries,{key:cf(t),value:cf(e)}),Yp||this.length++,r.updateURL()},delete:function(t){df(arguments.length,1);for(var e=wf(this),r=e.entries,n=cf(t),o=0;o<r.length;)r[o].key===n?Bf(r,o,1):o++;Yp||(this.length=r.length),e.updateURL()},get:function(t){df(arguments.length,1);for(var e=wf(this).entries,r=cf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){df(arguments.length,1);for(var e=wf(this).entries,r=cf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Cf(n,e[o].value);return n},has:function(t){df(arguments.length,1);for(var e=wf(this).entries,r=cf(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){df(arguments.length,1);for(var r,n=wf(this),o=n.entries,i=!1,a=cf(t),s=cf(e),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?Bf(o,u--,1):(i=!0,r.value=s));i||Cf(o,{key:a,value:s}),Yp||(this.length=o.length),n.updateURL()},sort:function(){var t=wf(this);yf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=wf(this).entries,n=of(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 Kf(this,"keys")},values:function(){return new Kf(this,"values")},entries:function(){return new Kf(this,"entries")}},{enumerable:!0}),Jp(Zf,mf,Zf.entries,{name:"entries"}),Jp(Zf,"toString",(function(){return wf(this).serialize()}),{enumerable:!0}),Yp&&Kp(Zf,"size",{get:function(){return wf(this).entries.length},configurable:!0,enumerable:!0}),Xp(Xf,gf),Gp({global:!0,constructor:!0,forced:!$p},{URLSearchParams:Xf}),!$p&&rf(Pf)){var th=Vp(kf.has),eh=Vp(kf.set),rh=function(t){if(uf(t)){var e,r=t.body;if(af(r)===gf)return e=t.headers?new Pf(t.headers):new Pf,th(e,"content-type")||eh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),lf(t,{body:pf(0,cf(r)),headers:pf(0,e)})}return t};if(rf(Ef)&&Gp({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Ef(t,arguments.length>1?rh(arguments[1]):{})}}),rf(Rf)){var nh=function(t){return ef(this,Of),new Rf(t,arguments.length>1?rh(arguments[1]):{})};Of.constructor=nh,nh.prototype=Of,Gp({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:nh})}}var oh,ih=Ro,ah=T,sh=fl,uh=k,ch=ml,lh=Y,ph=Sn,fh=ji,hh=bl,dh=pe,yh=Nl,mh=function(t){var e=rp(t),r=ip(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=tp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=cp(e),h=0;if(!f||this===lp&&op(f))for(a=ap(e),s=r?new this(a):lp(a);a>h;h++)p=i?o(e[h],h):e[h],sp(s,h,p);else for(l=(c=up(e,f)).next,s=r?new this:[];!(u=ep(l,c)).done;h++)p=i?np(c,o,[u.value,h],!0):u.value,sp(s,h,p);return s.length=h,s},gh=mp,vh=Ts.codeAt,bh=function(t){var e,r,n=[],o=Ip(jp(Tp(t),wp,"."),".");for(e=0;e<o.length;e++)r=o[e],kp(n,Ap(bp,r)?"xn--"+_p(r):r);return Op(n,".")},wh=ta,xh=Ku,Sh=Lp,Ah={URLSearchParams:Xf,getState:wf},Eh=Zr,Rh=Eh.set,Ph=Eh.getterFor("URL"),Oh=Ah.URLSearchParams,kh=Ah.getState,jh=uh.URL,Ih=uh.TypeError,Th=uh.parseInt,Nh=Math.floor,Uh=Math.pow,_h=lh("".charAt),Ch=lh(/./.exec),Lh=lh([].join),Fh=lh(1..toString),Bh=lh([].pop),Dh=lh([].push),Mh=lh("".replace),qh=lh([].shift),Wh=lh("".split),Gh=lh("".slice),zh=lh("".toLowerCase),Hh=lh([].unshift),Vh="Invalid scheme",Yh="Invalid host",$h="Invalid port",Jh=/[a-z]/i,Kh=/[\d+-.a-z]/i,Qh=/\d/,Xh=/^0x/i,Zh=/^[0-7]+$/,td=/^\d+$/,ed=/^[\da-f]+$/i,rd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nd=/[\0\t\n\r #/:<>?@[\\\]^|]/,od=/^[\u0000-\u0020]+/,id=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ad=/[\t\n\r]/g,sd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Hh(e,t%256),t=Nh(t/256);return Lh(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+=Fh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},ud={},cd=yh({},ud,{" ":1,'"':1,"<":1,">":1,"`":1}),ld=yh({},cd,{"#":1,"?":1,"{":1,"}":1}),pd=yh({},ld,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fd=function(t,e){var r=vh(t,0);return r>32&&r<127&&!dh(e,t)?t:encodeURIComponent(t)},hd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dd=function(t,e){var r;return 2==t.length&&Ch(Jh,_h(t,0))&&(":"==(r=_h(t,1))||!e&&"|"==r)},yd=function(t){var e;return t.length>1&&dd(Gh(t,0,2))&&(2==t.length||"/"===(e=_h(t,2))||"\\"===e||"?"===e||"#"===e)},md=function(t){return"."===t||"%2e"===zh(t)},gd={},vd={},bd={},wd={},xd={},Sd={},Ad={},Ed={},Rd={},Pd={},Od={},kd={},jd={},Id={},Td={},Nd={},Ud={},_d={},Cd={},Ld={},Fd={},Bd=function(t,e,r){var n,o,i,a=wh(t);if(e){if(o=this.parse(a))throw Ih(o);this.searchParams=null}else{if(void 0!==r&&(n=new Bd(r,!0)),o=this.parse(a,null,n))throw Ih(o);(i=kh(new Oh)).bindURL(this),this.searchParams=i}};Bd.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,s,u=this,c=e||gd,l=0,p="",f=!1,h=!1,d=!1;for(t=wh(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=Mh(t,od,""),t=Mh(t,id,"$1")),t=Mh(t,ad,""),n=mh(t);l<=n.length;){switch(o=n[l],c){case gd:if(!o||!Ch(Jh,o)){if(e)return Vh;c=bd;continue}p+=zh(o),c=vd;break;case vd:if(o&&(Ch(Kh,o)||"+"==o||"-"==o||"."==o))p+=zh(o);else{if(":"!=o){if(e)return Vh;p="",c=bd,l=0;continue}if(e&&(u.isSpecial()!=dh(hd,p)||"file"==p&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=p,e)return void(u.isSpecial()&&hd[u.scheme]==u.port&&(u.port=null));p="","file"==u.scheme?c=Id:u.isSpecial()&&r&&r.scheme==u.scheme?c=wd:u.isSpecial()?c=Ed:"/"==n[l+1]?(c=xd,l++):(u.cannotBeABaseURL=!0,Dh(u.path,""),c=Cd)}break;case bd:if(!r||r.cannotBeABaseURL&&"#"!=o)return Vh;if(r.cannotBeABaseURL&&"#"==o){u.scheme=r.scheme,u.path=gh(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Fd;break}c="file"==r.scheme?Id:Sd;continue;case wd:if("/"!=o||"/"!=n[l+1]){c=Sd;continue}c=Rd,l++;break;case xd:if("/"==o){c=Pd;break}c=_d;continue;case Sd:if(u.scheme=r.scheme,o==oh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=gh(r.path),u.query=r.query;else if("/"==o||"\\"==o&&u.isSpecial())c=Ad;else if("?"==o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=gh(r.path),u.query="",c=Ld;else{if("#"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=gh(r.path),u.path.length--,c=_d;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=gh(r.path),u.query=r.query,u.fragment="",c=Fd}break;case Ad:if(!u.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=_d;continue}c=Pd}else c=Rd;break;case Ed:if(c=Rd,"/"!=o||"/"!=_h(p,l+1))continue;l++;break;case Rd:if("/"!=o&&"\\"!=o){c=Pd;continue}break;case Pd:if("@"==o){f&&(p="%40"+p),f=!0,i=mh(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!=m||d){var g=fd(m,pd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o==oh||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(f&&""==p)return"Invalid authority";l-=mh(p).length+1,p="",c=Od}else p+=o;break;case Od:case kd:if(e&&"file"==u.scheme){c=Nd;continue}if(":"!=o||h){if(o==oh||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==p)return Yh;if(e&&""==p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=Ud,e)return;continue}"["==o?h=!0:"]"==o&&(h=!1),p+=o}else{if(""==p)return Yh;if(a=u.parseHost(p))return a;if(p="",c=jd,e==kd)return}break;case jd:if(!Ch(Qh,o)){if(o==oh||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||e){if(""!=p){var v=Th(p,10);if(v>65535)return $h;u.port=u.isSpecial()&&v===hd[u.scheme]?null:v,p=""}if(e)return;c=Ud;continue}return $h}p+=o;break;case Id:if(u.scheme="file","/"==o||"\\"==o)c=Td;else{if(!r||"file"!=r.scheme){c=_d;continue}if(o==oh)u.host=r.host,u.path=gh(r.path),u.query=r.query;else if("?"==o)u.host=r.host,u.path=gh(r.path),u.query="",c=Ld;else{if("#"!=o){yd(Lh(gh(n,l),""))||(u.host=r.host,u.path=gh(r.path),u.shortenPath()),c=_d;continue}u.host=r.host,u.path=gh(r.path),u.query=r.query,u.fragment="",c=Fd}}break;case Td:if("/"==o||"\\"==o){c=Nd;break}r&&"file"==r.scheme&&!yd(Lh(gh(n,l),""))&&(dd(r.path[0],!0)?Dh(u.path,r.path[0]):u.host=r.host),c=_d;continue;case Nd:if(o==oh||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&dd(p))c=_d;else if(""==p){if(u.host="",e)return;c=Ud}else{if(a=u.parseHost(p))return a;if("localhost"==u.host&&(u.host=""),e)return;p="",c=Ud}continue}p+=o;break;case Ud:if(u.isSpecial()){if(c=_d,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=oh&&(c=_d,"/"!=o))continue}else u.fragment="",c=Fd;else u.query="",c=Ld;break;case _d:if(o==oh||"/"==o||"\\"==o&&u.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(s=zh(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"==o||"\\"==o&&u.isSpecial()||Dh(u.path,"")):md(p)?"/"==o||"\\"==o&&u.isSpecial()||Dh(u.path,""):("file"==u.scheme&&!u.path.length&&dd(p)&&(u.host&&(u.host=""),p=_h(p,0)+":"),Dh(u.path,p)),p="","file"==u.scheme&&(o==oh||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)qh(u.path);"?"==o?(u.query="",c=Ld):"#"==o&&(u.fragment="",c=Fd)}else p+=fd(o,ld);break;case Cd:"?"==o?(u.query="",c=Ld):"#"==o?(u.fragment="",c=Fd):o!=oh&&(u.path[0]+=fd(o,ud));break;case Ld:e||"#"!=o?o!=oh&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":fd(o,ud)):(u.fragment="",c=Fd);break;case Fd:o!=oh&&(u.fragment+=fd(o,cd))}l++}},parseHost:function(t){var e,r,n;if("["==_h(t,0)){if("]"!=_h(t,t.length-1))return Yh;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 _h(t,p)};if(":"==f()){if(":"!=_h(t,1))return;p+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=r=0;r<4&&Ch(ed,f());)e=16*e+Th(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(!Ch(Qh,f()))return;for(;Ch(Qh,f());){if(i=Th(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}(Gh(t,1,-1)),!e)return Yh;this.host=e}else if(this.isSpecial()){if(t=bh(t),Ch(rd,t))return Yh;if(e=function(t){var e,r,n,o,i,a,s,u=Wh(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"==_h(o,0)&&(i=Ch(Xh,o)?16:8,o=Gh(o,8==i?1:2)),""===o)a=0;else{if(!Ch(10==i?td:8==i?Zh:ed,o))return t;a=Th(o,i)}Dh(r,a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Uh(256,5-e))return null}else if(a>255)return null;for(s=Bh(r),n=0;n<r.length;n++)s+=r[n]*Uh(256,3-n);return s}(t),null===e)return Yh;this.host=e}else{if(Ch(nd,t))return Yh;for(e="",r=mh(t),n=0;n<r.length;n++)e+=fd(r[n],ud);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return dh(hd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&dd(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+=sd(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Lh(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw Ih(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Dd(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+sd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(wh(t)+":",gd)},getUsername:function(){return this.username},setUsername:function(t){var e=mh(wh(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=fd(e[r],pd)}},getPassword:function(){return this.password},setPassword:function(t){var e=mh(wh(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=fd(e[r],pd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?sd(t):sd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Od)},getHostname:function(){var t=this.host;return null===t?"":sd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,kd)},getPort:function(){var t=this.port;return null===t?"":wh(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=wh(t))?this.port=null:this.parse(t,jd))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Lh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ud))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=wh(t))?this.query=null:("?"==_h(t,0)&&(t=Gh(t,1)),this.query="",this.parse(t,Ld)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=wh(t))?("#"==_h(t,0)&&(t=Gh(t,1)),this.fragment="",this.parse(t,Fd)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Dd=function(t){var e=hh(this,Md),r=Sh(arguments.length,1)>1?arguments[1]:void 0,n=Rh(e,new Bd(t,!1,r));ah||(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())},Md=Dd.prototype,qd=function(t,e){return{get:function(){return Ph(this)[t]()},set:e&&function(t){return Ph(this)[e](t)},configurable:!0,enumerable:!0}};if(ah&&(fh(Md,"href",qd("serialize","setHref")),fh(Md,"origin",qd("getOrigin")),fh(Md,"protocol",qd("getProtocol","setProtocol")),fh(Md,"username",qd("getUsername","setUsername")),fh(Md,"password",qd("getPassword","setPassword")),fh(Md,"host",qd("getHost","setHost")),fh(Md,"hostname",qd("getHostname","setHostname")),fh(Md,"port",qd("getPort","setPort")),fh(Md,"pathname",qd("getPathname","setPathname")),fh(Md,"search",qd("getSearch","setSearch")),fh(Md,"searchParams",qd("getSearchParams")),fh(Md,"hash",qd("getHash","setHash"))),ph(Md,"toJSON",(function(){return Ph(this).serialize()}),{enumerable:!0}),ph(Md,"toString",(function(){return Ph(this).serialize()}),{enumerable:!0}),jh){var Wd=jh.createObjectURL,Gd=jh.revokeObjectURL;Wd&&ph(Dd,"createObjectURL",ch(Wd,jh)),Gd&&ph(Dd,"revokeObjectURL",ch(Gd,jh))}xh(Dd,"URL"),ih({global:!0,constructor:!0,forced:!sh,sham:!ah},{URL:Dd});var zd=ml,Hd=rt,Vd=ue,Yd=Ln,$d=ui,Jd=Y([].push),Kd=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=Vd(u),y=Hd(d),m=zd(c,l),g=Yd(y),v=0,b=p||$d,w=e?b(u,g):r||a?b(u,0):void 0;g>v;v++)if((s||v in y)&&(h=m(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:Jd(w,f)}else switch(t){case 4:return!1;case 7:Jd(w,f)}return i?-1:n||o?o:w}},Qd={forEach:Kd(0),map:Kd(1),filter:Kd(2),some:Kd(3),every:Kd(4),find:Kd(5),findIndex:Kd(6),filterReject:Kd(7)},Xd=Qd.map;Ro({target:"Array",proto:!0,forced:!fi("map")},{map:function(t){return Xd(this,t,arguments.length>1?arguments[1]:void 0)}});var Zd=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")},ty=["endpointName"],ey=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r,this.REQUESTS_LENGTH_LIMIT=20}return l(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,ty);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 Zd(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),ry=["preview"],ny=["preview"],oy=["preview"],iy=["preview"],ay=["preview"],sy=["preview"],uy=["preview"],cy=["preview"],ly=["preview"],py=["preview"],fy=["preview"],hy=["preview"],dy=["preview"],yy=["preview"],my=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r}var e;return l(t,[{key:"getFormFields",value:function(t){var e=t.preview,r=v(t,ry),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,ny),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,oy),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=s(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,iy),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,ay),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,sy),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,uy),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,cy),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,ly),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,py),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,fy),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,hy),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,dy),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,yy),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 Zd(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),gy=Nl;Ro({target:"Object",stat:!0,arity:2,forced:Object.assign!==gy},{assign:gy});var vy=C,by=nr,wy=nt,xy=_n,Sy=ta,Ay=at,Ey=Vt,Ry=Us,Py=$s;Ss("match",(function(t,e,r){return[function(e){var r=Ay(this),n=wy(e)?void 0:Ey(e,t);return n?vy(n,e,r):new RegExp(e)[t](Sy(r))},function(t){var n=by(this),o=Sy(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return Py(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=Py(n,o));){var l=Sy(s[0]);u[c]=l,""===l&&(n.lastIndex=Ry(o,xy(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Oy=k,ky=ht,jy=mt,Iy=Vi,Ty=Y(1..valueOf),Ny=at,Uy=ta,_y="\t\n\v\f\r                 \u2028\u2029\ufeff",Cy=Y("".replace),Ly=RegExp("^["+_y+"]+"),Fy=RegExp("(^|[^"+_y+"])["+_y+"]+$"),By=function(t){return function(e){var r=Uy(Ny(e));return 1&t&&(r=Cy(r,Ly,"")),2&t&&(r=Cy(r,Fy,"$1")),r}},Dy={start:By(1),end:By(2),trim:By(3)},My=Ro,qy=T,Wy=k,Gy=Oy,zy=Y,Hy=go,Vy=pe,Yy=function(t,e,r){var n,o;return Iy&&ky(n=e.constructor)&&n!==r&&jy(o=n.prototype)&&o!==r.prototype&&Iy(t,o),t},$y=xt,Jy=Ft,Ky=Ue,Qy=I,Xy=An.f,Zy=j.f,tm=Xe.f,em=Ty,rm=Dy.trim,nm="Number",om=Wy.Number;Gy.Number;var im=om.prototype,am=Wy.TypeError,sm=zy("".slice),um=zy("".charCodeAt),cm=function(t){var e=Ky(t,"number");return"bigint"==typeof e?e:lm(e)},lm=function(t){var e,r,n,o,i,a,s,u,c=Ky(t,"number");if(Jy(c))throw am("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=rm(c),43===(e=um(c,0))||45===e){if(88===(r=um(c,2))||120===r)return NaN}else if(48===e){switch(um(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=sm(c,2)).length,s=0;s<a;s++)if((u=um(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},pm=Hy(nm,!om(" 0o1")||!om("0b1")||om("+0x1")),fm=function(t){return $y(im,t)&&Qy((function(){em(t)}))},hm=function(t){var e=arguments.length<1?0:om(cm(t));return fm(this)?Yy(Object(e),this,hm):e};hm.prototype=im,pm&&(im.constructor=hm),My({global:!0,constructor:!0,wrap:!0,forced:pm},{Number:hm});pm&&function(t,e){for(var r,n=qy?Xy(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++)Vy(e,r=n[o])&&!Vy(t,r)&&tm(t,r,Zy(e,r))}(Gy.Number,om);var dm=I,ym=function(t,e){var r=[][t];return!!r&&dm((function(){r.call(null,e||function(){return 1},1)}))},mm=Ro,gm=qn.indexOf,vm=ym,bm=hs([].indexOf),wm=!!bm&&1/bm([1],1,-0)<0;mm({target:"Array",proto:!0,forced:wm||!vm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return wm?bm(this,t,e)||0:gm(this,t,e)}});var xm=Qd.every;Ro({target:"Array",proto:!0,forced:!ym("every")},{every:function(t){return xm(this,t,arguments.length>1?arguments[1]:void 0)}}),Ro({target:"Array",stat:!0},{isArray:Oo});var Sm=Y([].slice),Am=Ro,Em=Oo,Rm=ei,Pm=mt,Om=Tn,km=Ln,jm=ct,Im=No,Tm=Re,Nm=Sm,Um=fi("slice"),_m=Tm("species"),Cm=Array,Lm=Math.max;Am({target:"Array",proto:!0,forced:!Um},{slice:function(t,e){var r,n,o,i=jm(this),a=km(i),s=Om(t,a),u=Om(void 0===e?a:e,a);if(Em(i)&&(r=i.constructor,(Rm(r)&&(r===Cm||Em(r.prototype))||Pm(r)&&null===(r=r[_m]))&&(r=void 0),r===Cm||void 0===r))return Nm(i,s,u);for(n=new(void 0===r?Cm:r)(Lm(u-s,0)),o=0;s<u;s++,o++)s in i&&Im(n,o,i[s]);return n.length=o,n}});var Fm=Gt,Bm=ue,Dm=rt,Mm=Ln,qm=TypeError,Wm=function(t){return function(e,r,n,o){Fm(r);var i=Bm(e),a=Dm(i),s=Mm(i),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 qm("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}},Gm={left:Wm(!1),right:Wm(!0)},zm="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Hm(){throw new Error("setTimeout has not been defined")}function Vm(){throw new Error("clearTimeout has not been defined")}var Ym=Hm,$m=Vm;function Jm(t){if(Ym===setTimeout)return setTimeout(t,0);if((Ym===Hm||!Ym)&&setTimeout)return Ym=setTimeout,setTimeout(t,0);try{return Ym(t,0)}catch(e){try{return Ym.call(null,t,0)}catch(e){return Ym.call(this,t,0)}}}"function"==typeof zm.setTimeout&&(Ym=setTimeout),"function"==typeof zm.clearTimeout&&($m=clearTimeout);var Km,Qm=[],Xm=!1,Zm=-1;function tg(){Xm&&Km&&(Xm=!1,Km.length?Qm=Km.concat(Qm):Zm=-1,Qm.length&&eg())}function eg(){if(!Xm){var t=Jm(tg);Xm=!0;for(var e=Qm.length;e;){for(Km=Qm,Qm=[];++Zm<e;)Km&&Km[Zm].run();Zm=-1,e=Qm.length}Km=null,Xm=!1,function(t){if($m===clearTimeout)return clearTimeout(t);if(($m===Vm||!$m)&&clearTimeout)return $m=clearTimeout,clearTimeout(t);try{$m(t)}catch(e){try{return $m.call(null,t)}catch(e){return $m.call(this,t)}}}(t)}}function rg(t,e){this.fun=t,this.array=e}rg.prototype.run=function(){this.fun.apply(null,this.array)};function ng(){}var og=ng,ig=ng,ag=ng,sg=ng,ug=ng,cg=ng,lg=ng;var pg=zm.performance||{},fg=pg.now||pg.mozNow||pg.msNow||pg.oNow||pg.webkitNow||function(){return(new Date).getTime()};var hg=new Date;var dg={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Qm.push(new rg(t,e)),1!==Qm.length||Xm||Jm(eg)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:og,addListener:ig,once:ag,off:sg,removeListener:ug,removeAllListeners:cg,emit:lg,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*fg.call(pg),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-hg)/1e3}},yg=void 0!==dg&&"process"==Q(dg),mg=Gm.left;Ro({target:"Array",proto:!0,forced:!yg&&kt>79&&kt<83||!ym("reduce")},{reduce:function(t){var e=arguments.length;return mg(this,t,e,e>1?arguments[1]:void 0)}});var gg=Qd.forEach,vg=ym("forEach")?[].forEach:function(t){return gg(this,t,arguments.length>1?arguments[1]:void 0)};Ro({target:"Array",proto:!0,forced:[].forEach!=vg},{forEach:vg});var bg=k,wg=$c,xg=Qc,Sg=vg,Ag=gr,Eg=function(t){if(t&&t.forEach!==Sg)try{Ag(t,"forEach",Sg)}catch(e){t.forEach=Sg}};for(var Rg in wg)wg[Rg]&&Eg(bg[Rg]&&bg[Rg].prototype);Eg(xg);var Pg=ue,Og=pa;Ro({target:"Object",stat:!0,forced:I((function(){Og(1)}))},{keys:function(t){return Og(Pg(t))}});var kg=function(t){f(r,t);var e=x(r);function r(t,n,o,i,a){var s;u(this,r);var c=o-n.length,l=r.extractErrorIndex(c,i,a),p=r.buildErrorMessage(c,o,l);return(s=e.call(this,p)).name="KintoneAllRecordsError",s.processedRecordsResult=t,s.unprocessedRecords=n,s.error=i,s.errorIndex=l,s.message=p,s.numOfProcessedRecords=c,s.numOfAllRecords=o,Object.setPrototypeOf(b(s),r.prototype),s}return l(r,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,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.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")}}]),r}(g(Error)),jg=["condition","orderBy","withCursor"],Ig=["fields"],Tg=["condition"],Ng=["condition","orderBy"],Ug=function(){function t(e,r,n){u(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,x,A,E,R,P;return l(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:(P=s(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,p({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return P.apply(this,arguments)})},{key:"getRecords",value:(R=s(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 R.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:(E=s(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 E.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:(A=s(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,jg),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 A.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=s(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,Ig),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(S(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=s(o().mark((function t(e,r,i){var a,s,u,c,l,p,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,s=e.condition,u=v(e,Tg),c=s?"(".concat(s,") and "):"",l="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},u),{},{query:l}));case 6:if(p=t.sent,f=i.concat(p.records),!(p.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=p.records[p.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14: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 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=s(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=s(o().mark((function t(e,r,i){var a,s,u,c,l,p,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,s=e.condition,u=e.orderBy,c=v(e,Ng),l=s?"".concat(s," "):"",p="".concat(l).concat(u?"order by ".concat(u," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:p}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=s(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=s(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"addAllRecords",value:(d=s(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=s(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 kg({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:(f=s(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 f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=s(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 c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(a=s(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 kg({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=s(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=s(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 kg({},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=s(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(S(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 Zd(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),_g="object"==typeof self?self.FormData:window.FormData,Cg=function(){function t(e,r){u(this,t),this.client=e,this.guestSpaceId=r}var r;return l(t,[{key:"uploadFile",value:(r=s(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 _g,!("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 Yi)){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 Zd(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}();function Lg(t,e){return function(){return t.apply(e,arguments)}}const{toString:Fg}=Object.prototype,{getPrototypeOf:Bg}=Object,Dg=(Mg=Object.create(null),t=>{const e=Fg.call(t);return Mg[e]||(Mg[e]=e.slice(8,-1).toLowerCase())});var Mg;const qg=t=>(t=t.toLowerCase(),e=>Dg(e)===t),Wg=t=>e=>typeof e===t,{isArray:Gg}=Array,zg=Wg("undefined");const Hg=qg("ArrayBuffer");const Vg=Wg("string"),Yg=Wg("function"),$g=Wg("number"),Jg=t=>null!==t&&"object"==typeof t,Kg=t=>{if("object"!==Dg(t))return!1;const e=Bg(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Qg=qg("Date"),Xg=qg("File"),Zg=qg("Blob"),tv=qg("FileList"),ev=qg("URLSearchParams");function rv(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]),Gg(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 ov="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:zm,iv=t=>!zg(t)&&t!==ov;const av=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&Bg(Uint8Array)),sv=qg("HTMLFormElement"),uv=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),cv=qg("RegExp"),lv=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};rv(r,((r,o)=>{!1!==e(r,o,t)&&(n[o]=r)})),Object.defineProperties(t,n)},pv="abcdefghijklmnopqrstuvwxyz",fv="0123456789",hv={DIGIT:fv,ALPHA:pv,ALPHA_DIGIT:pv+pv.toUpperCase()+fv};var dv={isArray:Gg,isArrayBuffer:Hg,isBuffer:function(t){return null!==t&&!zg(t)&&null!==t.constructor&&!zg(t.constructor)&&Yg(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{const e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||Fg.call(t)===e||Yg(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Hg(t.buffer),e},isString:Vg,isNumber:$g,isBoolean:t=>!0===t||!1===t,isObject:Jg,isPlainObject:Kg,isUndefined:zg,isDate:Qg,isFile:Xg,isBlob:Zg,isRegExp:cv,isFunction:Yg,isStream:t=>Jg(t)&&Yg(t.pipe),isURLSearchParams:ev,isTypedArray:av,isFileList:tv,forEach:rv,merge:function t(){const{caseless:e}=iv(this)&&this||{},r={},n=(n,o)=>{const i=e&&nv(r,o)||o;Kg(r[i])&&Kg(n)?r[i]=t(r[i],n):Kg(n)?r[i]=t({},n):Gg(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&rv(arguments[t],n);return r},extend:function(t,e,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return rv(e,((e,n)=>{r&&Yg(e)?t[n]=Lg(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&&Bg(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Dg,kindOfTest:qg,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(Gg(t))return t;let e=t.length;if(!$g(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:sv,hasOwnProperty:uv,hasOwnProp:uv,reduceDescriptors:lv,freezeMethods:t=>{lv(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 Gg(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:ov,isContextDefined:iv,ALPHABET:hv,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hv.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=Gg(t)?[]:{};return rv(t,((t,e)=>{const i=r(t,n+1);!zg(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)}},yv=[],mv=[],gv="undefined"!=typeof Uint8Array?Uint8Array:Array,vv=!1;function bv(){vv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)yv[e]=t[e],mv[t.charCodeAt(e)]=e;mv["-".charCodeAt(0)]=62,mv["_".charCodeAt(0)]=63}function wv(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(yv[(o=n)>>18&63]+yv[o>>12&63]+yv[o>>6&63]+yv[63&o]);return i.join("")}function xv(t){var e;vv||bv();for(var r=t.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(wv(t,s,s+a>u?u:s+a));return 1===n?(e=t[r-1],o+=yv[e>>2],o+=yv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=yv[e>>10],o+=yv[e>>4&63],o+=yv[e<<2&63],o+="="),i.push(o),i.join("")}function Sv(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 Av(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 Ev={}.toString,Rv=Array.isArray||function(t){return"[object Array]"==Ev.call(t)};function Pv(){return kv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ov(t,e){if(Pv()<e)throw new RangeError("Invalid typed array length");return kv.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=kv.prototype:(null===t&&(t=new kv(e)),t.length=e),t}function kv(t,e,r){if(!(kv.TYPED_ARRAY_SUPPORT||this instanceof kv))return new kv(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 Tv(this,t)}return jv(this,t,e,r)}function jv(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);kv.TYPED_ARRAY_SUPPORT?(t=e).__proto__=kv.prototype:t=Nv(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!kv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Cv(e,r),o=(t=Ov(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(_v(e)){var r=0|Uv(e.length);return 0===(t=Ov(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?Ov(t,0):Nv(t,e);if("Buffer"===e.type&&Rv(e.data))return Nv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Iv(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 Tv(t,e){if(Iv(e),t=Ov(t,e<0?0:0|Uv(e)),!kv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Nv(t,e){var r=e.length<0?0:0|Uv(e.length);t=Ov(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Uv(t){if(t>=Pv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pv().toString(16)+" bytes");return 0|t}function _v(t){return!(null==t||!t._isBuffer)}function Cv(t,e){if(_v(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 ub(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return cb(t).length;default:if(n)return ub(t).length;e=(""+e).toLowerCase(),n=!0}}function Lv(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 Qv(this,e,r);case"utf8":case"utf-8":return Yv(this,e,r);case"ascii":return Jv(this,e,r);case"latin1":case"binary":return Kv(this,e,r);case"base64":return Vv(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xv(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Fv(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Bv(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=kv.from(e,n)),_v(e))return 0===e.length?-1:Dv(t,e,r,n,o);if("number"==typeof e)return e&=255,kv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Dv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Dv(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 Mv(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 qv(t,e,r,n){return lb(ub(e,t.length-r),t,r,n)}function Wv(t,e,r,n){return lb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Gv(t,e,r,n){return Wv(t,e,r,n)}function zv(t,e,r,n){return lb(cb(e),t,r,n)}function Hv(t,e,r,n){return lb(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 Vv(t,e,r){return 0===e&&r===t.length?xv(t):xv(t.slice(e,r))}function Yv(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<=$v)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=$v));return r}(n)}kv.TYPED_ARRAY_SUPPORT=void 0===zm.TYPED_ARRAY_SUPPORT||zm.TYPED_ARRAY_SUPPORT,Pv(),kv.poolSize=8192,kv._augment=function(t){return t.__proto__=kv.prototype,t},kv.from=function(t,e,r){return jv(null,t,e,r)},kv.TYPED_ARRAY_SUPPORT&&(kv.prototype.__proto__=Uint8Array.prototype,kv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&kv[Symbol.species]),kv.alloc=function(t,e,r){return function(t,e,r,n){return Iv(e),e<=0?Ov(t,e):void 0!==r?"string"==typeof n?Ov(t,e).fill(r,n):Ov(t,e).fill(r):Ov(t,e)}(null,t,e,r)},kv.allocUnsafe=function(t){return Tv(null,t)},kv.allocUnsafeSlow=function(t){return Tv(null,t)},kv.isBuffer=function(t){return null!=t&&(!!t._isBuffer||pb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&pb(t.slice(0,0))}(t))},kv.compare=function(t,e){if(!_v(t)||!_v(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},kv.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}},kv.concat=function(t,e){if(!Rv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return kv.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=kv.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!_v(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},kv.byteLength=Cv,kv.prototype._isBuffer=!0,kv.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)Fv(this,e,e+1);return this},kv.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)Fv(this,e,e+3),Fv(this,e+1,e+2);return this},kv.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)Fv(this,e,e+7),Fv(this,e+1,e+6),Fv(this,e+2,e+5),Fv(this,e+3,e+4);return this},kv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Yv(this,0,t):Lv.apply(this,arguments)},kv.prototype.equals=function(t){if(!_v(t))throw new TypeError("Argument must be a Buffer");return this===t||0===kv.compare(this,t)},kv.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+">"},kv.prototype.compare=function(t,e,r,n,o){if(!_v(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},kv.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},kv.prototype.indexOf=function(t,e,r){return Bv(this,t,e,r,!0)},kv.prototype.lastIndexOf=function(t,e,r){return Bv(this,t,e,r,!1)},kv.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 Mv(this,t,e,r);case"utf8":case"utf-8":return qv(this,t,e,r);case"ascii":return Wv(this,t,e,r);case"latin1":case"binary":return Gv(this,t,e,r);case"base64":return zv(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hv(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},kv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $v=4096;function Jv(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 Kv(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 Qv(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+=sb(t[i]);return o}function Xv(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 Zv(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 tb(t,e,r,n,o,i){if(!_v(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 eb(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 rb(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 nb(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 ob(t,e,r,n,o){return o||nb(t,0,r,4),Av(t,e,r,n,23,4),r+4}function ib(t,e,r,n,o){return o||nb(t,0,r,8),Av(t,e,r,n,52,8),r+8}kv.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),kv.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=kv.prototype;else{var o=e-t;r=new kv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},kv.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||Zv(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},kv.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||Zv(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},kv.prototype.readUInt8=function(t,e){return e||Zv(t,1,this.length),this[t]},kv.prototype.readUInt16LE=function(t,e){return e||Zv(t,2,this.length),this[t]|this[t+1]<<8},kv.prototype.readUInt16BE=function(t,e){return e||Zv(t,2,this.length),this[t]<<8|this[t+1]},kv.prototype.readUInt32LE=function(t,e){return e||Zv(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},kv.prototype.readUInt32BE=function(t,e){return e||Zv(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},kv.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Zv(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},kv.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Zv(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},kv.prototype.readInt8=function(t,e){return e||Zv(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},kv.prototype.readInt16LE=function(t,e){e||Zv(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},kv.prototype.readInt16BE=function(t,e){e||Zv(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},kv.prototype.readInt32LE=function(t,e){return e||Zv(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},kv.prototype.readInt32BE=function(t,e){return e||Zv(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},kv.prototype.readFloatLE=function(t,e){return e||Zv(t,4,this.length),Sv(this,t,!0,23,4)},kv.prototype.readFloatBE=function(t,e){return e||Zv(t,4,this.length),Sv(this,t,!1,23,4)},kv.prototype.readDoubleLE=function(t,e){return e||Zv(t,8,this.length),Sv(this,t,!0,52,8)},kv.prototype.readDoubleBE=function(t,e){return e||Zv(t,8,this.length),Sv(this,t,!1,52,8)},kv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||tb(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},kv.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||tb(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},kv.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,1,255,0),kv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},kv.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,65535,0),kv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):eb(this,t,e,!0),e+2},kv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,65535,0),kv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):eb(this,t,e,!1),e+2},kv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,4294967295,0),kv.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):rb(this,t,e,!0),e+4},kv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,4294967295,0),kv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):rb(this,t,e,!1),e+4},kv.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);tb(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},kv.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);tb(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},kv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,1,127,-128),kv.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},kv.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,32767,-32768),kv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):eb(this,t,e,!0),e+2},kv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,32767,-32768),kv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):eb(this,t,e,!1),e+2},kv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,2147483647,-2147483648),kv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):rb(this,t,e,!0),e+4},kv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),kv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):rb(this,t,e,!1),e+4},kv.prototype.writeFloatLE=function(t,e,r){return ob(this,t,e,!0,r)},kv.prototype.writeFloatBE=function(t,e,r){return ob(this,t,e,!1,r)},kv.prototype.writeDoubleLE=function(t,e,r){return ib(this,t,e,!0,r)},kv.prototype.writeDoubleBE=function(t,e,r){return ib(this,t,e,!1,r)},kv.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||!kv.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},kv.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&&!kv.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=_v(t)?t:ub(new kv(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var ab=/[^+\/0-9A-Za-z-_]/g;function sb(t){return t<16?"0"+t.toString(16):t.toString(16)}function ub(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 cb(t){return function(t){var e,r,n,o,i,a;vv||bv();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 gv(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=mv[t.charCodeAt(e)]<<18|mv[t.charCodeAt(e+1)]<<12|mv[t.charCodeAt(e+2)]<<6|mv[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=mv[t.charCodeAt(e)]<<2|mv[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=mv[t.charCodeAt(e)]<<10|mv[t.charCodeAt(e+1)]<<4|mv[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(ab,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function lb(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 pb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function fb(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)}dv.inherits(fb,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:dv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const hb=fb.prototype,db={};["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=>{db[t]={value:t}})),Object.defineProperties(fb,db),Object.defineProperty(hb,"isAxiosError",{value:!0}),fb.from=(t,e,r,n,o,i)=>{const a=Object.create(hb);return dv.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),fb.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function yb(t){return dv.isPlainObject(t)||dv.isArray(t)}function mb(t){return dv.endsWith(t,"[]")?t.slice(0,-2):t}function gb(t,e,r){return t?t.concat(e).map((function(t,e){return t=mb(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const vb=dv.toFlatObject(dv,{},null,(function(t){return/^is[A-Z]/.test(t)}));function bb(t,e,r){if(!dv.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=dv.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!dv.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&dv.isSpecCompliantForm(e);if(!dv.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(dv.isDate(t))return t.toISOString();if(!s&&dv.isBlob(t))throw new fb("Blob is not supported. Use a Buffer instead.");return dv.isArrayBuffer(t)||dv.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):kv.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(dv.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(dv.isArray(t)&&function(t){return dv.isArray(t)&&!t.some(yb)}(t)||(dv.isFileList(t)||dv.endsWith(r,"[]"))&&(s=dv.toArray(t)))return r=mb(r),s.forEach((function(t,n){!dv.isUndefined(t)&&null!==t&&e.append(!0===a?gb([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!yb(t)||(e.append(gb(o,r,i),u(t)),!1)}const l=[],p=Object.assign(vb,{defaultVisitor:c,convertValue:u,isVisitable:yb});if(!dv.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!dv.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),dv.forEach(r,(function(r,i){!0===(!(dv.isUndefined(r)||null===r)&&o.call(e,r,dv.isString(i)?i.trim():i,n,p))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e}function wb(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&&bb(t,this,e)}const Sb=xb.prototype;function Ab(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Eb(t,e,r){if(!e)return t;const n=r&&r.encode||Ab,o=r&&r.serialize;let i;if(i=o?o(e,r):dv.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}Sb.append=function(t,e){this._pairs.push([t,e])},Sb.toString=function(t){const e=t?function(e){return t.call(this,e,wb)}:wb;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Rb=class{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){dv.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Pb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Ob={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:xb,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function kb(t){function e(t,r,n,o){let i=t[o++];const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&dv.isArray(n)?n.length:i,s)return dv.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&dv.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&dv.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(dv.isFormData(t)&&dv.isFunction(t.entries)){const r={};return dv.forEachEntry(t,((t,n)=>{e(function(t){return dv.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null}const jb={"Content-Type":void 0};const Ib={transitional:Pb,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=dv.isObject(t);o&&dv.isHTMLForm(t)&&(t=new FormData(t));if(dv.isFormData(t))return n&&n?JSON.stringify(kb(t)):t;if(dv.isArrayBuffer(t)||dv.isBuffer(t)||dv.isStream(t)||dv.isFile(t)||dv.isBlob(t))return t;if(dv.isArrayBufferView(t))return t.buffer;if(dv.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 bb(t,new Ob.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Ob.isNode&&dv.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=dv.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return bb(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(dv.isString(t))try{return(e||JSON.parse)(t),dv.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Ib.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&dv.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 fb.from(t,fb.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:Ob.classes.FormData,Blob:Ob.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};dv.forEach(["delete","get","head"],(function(t){Ib.headers[t]={}})),dv.forEach(["post","put","patch"],(function(t){Ib.headers[t]=dv.merge(jb)}));var Tb=Ib;const Nb=dv.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 Ub=Symbol("internals");function _b(t){return t&&String(t).trim().toLowerCase()}function Cb(t){return!1===t||null==t?t:dv.isArray(t)?t.map(Cb):String(t)}function Lb(t,e,r,n,o){return dv.isFunction(n)?n.call(this,e,r):(o&&(e=r),dv.isString(e)?dv.isString(n)?-1!==e.indexOf(n):dv.isRegExp(n)?n.test(e):void 0:void 0)}class Fb{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=_b(e);if(!o)throw new Error("header name must be a non-empty string");const i=dv.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Cb(t))}const i=(t,e)=>dv.forEach(t,((t,r)=>o(t,r,e)));return dv.isPlainObject(t)||t instanceof this.constructor?i(t,e):dv.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z]+$/.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]&&Nb[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=_b(t)){const r=dv.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(dv.isFunction(e))return e.call(this,t,r);if(dv.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=_b(t)){const r=dv.findKey(this,t);return!(!r||void 0===this[r]||e&&!Lb(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=_b(t)){const o=dv.findKey(r,t);!o||e&&!Lb(0,r[o],o,e)||(delete r[o],n=!0)}}return dv.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&&!Lb(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return dv.forEach(this,((n,o)=>{const i=dv.findKey(r,o);if(i)return e[i]=Cb(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]=Cb(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 dv.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&dv.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[Ub]=this[Ub]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=_b(t);e[n]||(!function(t,e){const r=dv.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 dv.isArray(t)?t.forEach(n):n(t),this}}Fb.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),dv.freezeMethods(Fb.prototype),dv.freezeMethods(Fb);var Bb=Fb;function Db(t,e){const r=this||Tb,n=e||r,o=Bb.from(n.headers);let i=n.data;return dv.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Mb(t){return!(!t||!t.__CANCEL__)}function qb(t,e,r){fb.call(this,null==t?"canceled":t,fb.ERR_CANCELED,e,r),this.name="CanceledError"}dv.inherits(qb,fb,{__CANCEL__:!0});var Wb=Ob.isStandardBrowserEnv?{write:function(t,e,r,n,o,i){const a=[];a.push(t+"="+encodeURIComponent(e)),dv.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),dv.isString(n)&&a.push("path="+n),dv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Gb(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 zb=Ob.isStandardBrowserEnv?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=dv.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};function Hb(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 Vb="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=Bb.from(t.headers).normalize(),i=t.responseType;let a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}dv.isFormData(n)&&(Ob.isStandardBrowserEnv||Ob.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let u=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 c=Gb(t.baseURL,t.url);function l(){if(!u)return;const n=Bb.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new fb("Request failed with status code "+r.status,[fb.ERR_BAD_REQUEST,fb.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),s()}),(function(t){r(t),s()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:n,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),Eb(c,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(r(new fb("Request aborted",fb.ECONNABORTED,t,u)),u=null)},u.onerror=function(){r(new fb("Network Error",fb.ERR_NETWORK,t,u)),u=null},u.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 fb(e,n.clarifyTimeoutError?fb.ETIMEDOUT:fb.ECONNABORTED,t,u)),u=null},Ob.isStandardBrowserEnv){const e=(t.withCredentials||zb(c))&&t.xsrfCookieName&&Wb.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in u&&dv.forEach(o.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),dv.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),i&&"json"!==i&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",Hb(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Hb(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{u&&(r(!e||e.type?new qb(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const p=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(c);p&&-1===Ob.protocols.indexOf(p)?r(new fb("Unsupported protocol "+p+":",fb.ERR_BAD_REQUEST,t)):u.send(n||null)}))};const Yb={http:null,xhr:Vb};dv.forEach(Yb,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));var $b=t=>{t=dv.isArray(t)?t:[t];const{length:e}=t;let r,n;for(let o=0;o<e&&(r=t[o],!(n=dv.isString(r)?Yb[r.toLowerCase()]:r));o++);if(!n){if(!1===n)throw new fb(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(dv.hasOwnProp(Yb,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`)}if(!dv.isFunction(n))throw new TypeError("adapter is not a function");return n};function Jb(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new qb(null,t)}function Kb(t){Jb(t),t.headers=Bb.from(t.headers),t.data=Db.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return $b(t.adapter||Tb.adapter)(t).then((function(e){return Jb(t),e.data=Db.call(t,t.transformResponse,e),e.headers=Bb.from(e.headers),e}),(function(e){return Mb(e)||(Jb(t),e&&e.response&&(e.response.data=Db.call(t,t.transformResponse,e.response),e.response.headers=Bb.from(e.response.headers))),Promise.reject(e)}))}const Qb=t=>t instanceof Bb?t.toJSON():t;function Xb(t,e){e=e||{};const r={};function n(t,e,r){return dv.isPlainObject(t)&&dv.isPlainObject(e)?dv.merge.call({caseless:r},t,e):dv.isPlainObject(e)?dv.merge({},e):dv.isArray(e)?e.slice():e}function o(t,e,r){return dv.isUndefined(e)?dv.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!dv.isUndefined(e))return n(void 0,e)}function a(t,e){return dv.isUndefined(e)?dv.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,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(Qb(t),Qb(e),!0)};return dv.forEach(Object.keys(t).concat(Object.keys(e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);dv.isUndefined(a)&&i!==s||(r[n]=a)})),r}const Zb="1.3.4",tw={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{tw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const ew={};tw.transitional=function(t,e,r){function n(t,e){return"[Axios v1.3.4] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new fb(n(o," has been removed"+(e?" in "+e:"")),fb.ERR_DEPRECATED);return e&&!ew[o]&&(ew[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 rw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new fb("options must be an object",fb.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 fb("option "+i+" must be "+r,fb.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new fb("Unknown option "+i,fb.ERR_BAD_OPTION)}},validators:tw};const nw=rw.validators;let ow=class{constructor(t){this.defaults=t,this.interceptors={request:new Rb,response:new Rb}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Xb(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;let i;void 0!==r&&rw.assertOptions(r,{silentJSONParsing:nw.transitional(nw.boolean),forcedJSONParsing:nw.transitional(nw.boolean),clarifyTimeoutError:nw.transitional(nw.boolean)},!1),void 0!==n&&rw.assertOptions(n,{encode:nw.function,serialize:nw.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase(),i=o&&dv.merge(o.common,o[e.method]),i&&dv.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Bb.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=[Kb.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=Kb.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 Eb(Gb((t=Xb(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}};dv.forEach(["delete","get","head","options"],(function(t){ow.prototype[t]=function(e,r){return this.request(Xb(r||{},{method:t,url:e,data:(r||{}).data}))}})),dv.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Xb(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ow.prototype[t]=e(),ow.prototype[t+"Form"]=e(!0)}));var iw=ow;class aw{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 qb(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 aw((function(e){t=e})),cancel:t}}}var sw=aw;const uw={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(uw).forEach((t=>{let[e,r]=t;uw[r]=e}));var cw=uw;const lw=function t(e){const r=new iw(e),n=Lg(iw.prototype.request,r);return dv.extend(n,iw.prototype,r,{allOwnKeys:!0}),dv.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Xb(e,r))},n}(Tb);lw.Axios=iw,lw.CanceledError=qb,lw.CancelToken=sw,lw.isCancel=Mb,lw.VERSION=Zb,lw.toFormData=bb,lw.AxiosError=fb,lw.Cancel=lw.CanceledError,lw.all=function(t){return Promise.all(t)},lw.spread=function(t){return function(e){return t.apply(null,e)}},lw.isAxiosError=function(t){return dv.isObject(t)&&!0===t.isAxiosError},lw.mergeConfig=Xb,lw.AxiosHeaders=Bb,lw.formToJSON=t=>kb(dv.isHTMLForm(t)?new FormData(t):t),lw.HttpStatusCode=cw,lw.default=lw;var pw=lw,fw=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;u(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,p;return l(t,[{key:"get",value:(p=s(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 p.apply(this,arguments)})},{key:"getData",value:(c=s(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 c.apply(this,arguments)})},{key:"post",value:(a=s(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=s(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=s(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=s(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(pw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),hw=Ro,dw=rt,yw=ct,mw=ym,gw=Y([].join);hw({target:"Array",proto:!0,forced:dw!=Object||!mw("join",",")},{join:function(t){return gw(yw(this),void 0===t?",":t)}});var vw,bw=R.Symbol,ww=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},xw=function(){return"function"==typeof bw&&("function"==typeof Symbol&&("symbol"==typeof bw("foo")&&("symbol"==typeof Symbol("bar")&&ww())))},Sw="Function.prototype.bind called on incompatible ",Aw=Array.prototype.slice,Ew=Object.prototype.toString,Rw="[object Function]",Pw=function(t){var e=this;if("function"!=typeof e||Ew.call(e)!==Rw)throw new TypeError(Sw+e);for(var r,n=Aw.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(Aw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Aw.call(arguments)))},i=Math.max(0,e.length-n.length),a=[],s=0;s<i;s++)a.push("$"+s);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},Ow=Function.prototype.bind||Pw,kw=Ow.call(Function.call,Object.prototype.hasOwnProperty),jw=SyntaxError,Iw=Function,Tw=TypeError,Nw=function(t){try{return Iw('"use strict"; return ('+t+").constructor;")()}catch(t){}},Uw=Object.getOwnPropertyDescriptor;if(Uw)try{Uw({},"")}catch(t){Uw=null}var _w,Cw=function(){throw new Tw},Lw=Uw?function(){try{return Cw}catch(t){try{return Uw(arguments,"callee").get}catch(t){return Cw}}}():Cw,Fw=xw(),Bw=Object.getPrototypeOf||function(t){return t.__proto__},Dw={},Mw="undefined"==typeof Uint8Array?vw:Bw(Uint8Array),qw={"%AggregateError%":"undefined"==typeof AggregateError?vw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?vw:ArrayBuffer,"%ArrayIteratorPrototype%":Fw?Bw([][Symbol.iterator]()):vw,"%AsyncFromSyncIteratorPrototype%":vw,"%AsyncFunction%":Dw,"%AsyncGenerator%":Dw,"%AsyncGeneratorFunction%":Dw,"%AsyncIteratorPrototype%":Dw,"%Atomics%":"undefined"==typeof Atomics?vw:Atomics,"%BigInt%":"undefined"==typeof BigInt?vw:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?vw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?vw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?vw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?vw:FinalizationRegistry,"%Function%":Iw,"%GeneratorFunction%":Dw,"%Int8Array%":"undefined"==typeof Int8Array?vw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?vw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?vw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fw?Bw(Bw([][Symbol.iterator]())):vw,"%JSON%":"object"==typeof JSON?JSON:vw,"%Map%":"undefined"==typeof Map?vw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Fw?Bw((new Map)[Symbol.iterator]()):vw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?vw:Promise,"%Proxy%":"undefined"==typeof Proxy?vw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?vw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?vw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Fw?Bw((new Set)[Symbol.iterator]()):vw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?vw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fw?Bw(""[Symbol.iterator]()):vw,"%Symbol%":Fw?Symbol:vw,"%SyntaxError%":jw,"%ThrowTypeError%":Lw,"%TypedArray%":Mw,"%TypeError%":Tw,"%Uint8Array%":"undefined"==typeof Uint8Array?vw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?vw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?vw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?vw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?vw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?vw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?vw:WeakSet},Ww=function t(e){var r;if("%AsyncFunction%"===e)r=Nw("async function () {}");else if("%GeneratorFunction%"===e)r=Nw("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=Nw("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=Bw(o.prototype))}return qw[e]=r,r},Gw={"%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"]},zw=Ow,Hw=kw,Vw=zw.call(Function.call,Array.prototype.concat),Yw=zw.call(Function.apply,Array.prototype.splice),$w=zw.call(Function.call,String.prototype.replace),Jw=zw.call(Function.call,String.prototype.slice),Kw=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Qw=/\\(\\)?/g,Xw=function(t){var e=Jw(t,0,1),r=Jw(t,-1);if("%"===e&&"%"!==r)throw new jw("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new jw("invalid intrinsic syntax, expected opening `%`");var n=[];return $w(t,Kw,(function(t,e,r,o){n[n.length]=r?$w(o,Qw,"$1"):e||t})),n},Zw=function(t,e){var r,n=t;if(Hw(Gw,n)&&(n="%"+(r=Gw[n])[0]+"%"),Hw(qw,n)){var o=qw[n];if(o===Dw&&(o=Ww(n)),void 0===o&&!e)throw new Tw("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new jw("intrinsic "+t+" does not exist!")},tx=SyntaxError,ex=Function,rx=TypeError,nx=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},ox=Object.getOwnPropertyDescriptor;if(ox)try{ox({},"")}catch(t){ox=null}var ix=function(){throw new rx},ax=ox?function(){try{return ix}catch(t){try{return ox(arguments,"callee").get}catch(t){return ix}}}():ix,sx=xw(),ux=Object.getPrototypeOf||function(t){return t.__proto__},cx=nx("async function* () {}"),lx=cx?cx.prototype:_w,px=lx?lx.prototype:_w,fx="undefined"==typeof Uint8Array?_w:ux(Uint8Array),hx={"%AggregateError%":"undefined"==typeof AggregateError?_w:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?_w:ArrayBuffer,"%ArrayIteratorPrototype%":sx?ux([][Symbol.iterator]()):_w,"%AsyncFromSyncIteratorPrototype%":_w,"%AsyncFunction%":nx("async function () {}"),"%AsyncGenerator%":lx,"%AsyncGeneratorFunction%":cx,"%AsyncIteratorPrototype%":px?ux(px):_w,"%Atomics%":"undefined"==typeof Atomics?_w:Atomics,"%BigInt%":"undefined"==typeof BigInt?_w:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?_w:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?_w:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?_w:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?_w:FinalizationRegistry,"%Function%":ex,"%GeneratorFunction%":nx("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?_w:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?_w:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?_w:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":sx?ux(ux([][Symbol.iterator]())):_w,"%JSON%":"object"==typeof JSON?JSON:_w,"%Map%":"undefined"==typeof Map?_w:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&sx?ux((new Map)[Symbol.iterator]()):_w,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?_w:Promise,"%Proxy%":"undefined"==typeof Proxy?_w:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?_w:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?_w:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&sx?ux((new Set)[Symbol.iterator]()):_w,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?_w:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":sx?ux(""[Symbol.iterator]()):_w,"%Symbol%":sx?Symbol:_w,"%SyntaxError%":tx,"%ThrowTypeError%":ax,"%TypedArray%":fx,"%TypeError%":rx,"%Uint8Array%":"undefined"==typeof Uint8Array?_w:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?_w:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?_w:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?_w:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?_w:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?_w:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?_w:WeakSet},dx={"%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"]},yx=Ow,mx=kw,gx=yx.call(Function.call,Array.prototype.concat),vx=yx.call(Function.apply,Array.prototype.splice),bx=yx.call(Function.call,String.prototype.replace),wx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,xx=/\\(\\)?/g,Sx=function(t){var e=[];return bx(t,wx,(function(t,r,n,o){e[e.length]=n?bx(o,xx,"$1"):r||t})),e},Ax=function(t,e){var r,n=t;if(mx(dx,n)&&(n="%"+(r=dx[n])[0]+"%"),mx(hx,n)){var o=hx[n];if(void 0===o&&!e)throw new rx("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new tx("intrinsic "+t+" does not exist!")},Ex=function(t,e){if("string"!=typeof t||0===t.length)throw new rx("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new rx('"allowMissing" argument must be a boolean');var r=Sx(t),n=r.length>0?r[0]:"",o=Ax("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],vx(r,gx([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c];if("constructor"!==p&&l||(s=!0),mx(hx,i="%"+(n+="."+p)+"%"))a=hx[i];else if(null!=a){if(ox&&c+1>=r.length){var f=ox(a,p);if(l=!!f,!e&&!(p in a))throw new rx("base intrinsic for "+t+" exists, but the property is not available.");a=l&&"get"in f&&!("originalValue"in f.get)?f.get:a[p]}else l=mx(a,p),a=a[p];l&&!s&&(hx[i]=a)}}return a},Rx={};!function(t){var e=Ow,r=Ex,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(){return i(e,o,arguments)};var s=function(){return i(e,n,arguments)};a?a(t.exports,"apply",{value:s}):t.exports.apply=s}({get exports(){return Rx},set exports(t){Rx=t}});var Px=Ex,Ox=Rx,kx=Ox(Px("String.prototype.indexOf")),jx=P(Object.freeze({__proto__:null,default:{}})),Ix="function"==typeof Map&&Map.prototype,Tx=Object.getOwnPropertyDescriptor&&Ix?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Nx=Ix&&Tx&&"function"==typeof Tx.get?Tx.get:null,Ux=Ix&&Map.prototype.forEach,_x="function"==typeof Set&&Set.prototype,Cx=Object.getOwnPropertyDescriptor&&_x?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Lx=_x&&Cx&&"function"==typeof Cx.get?Cx.get:null,Fx=_x&&Set.prototype.forEach,Bx="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Dx="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Mx=Boolean.prototype.valueOf,qx=Object.prototype.toString,Wx=Function.prototype.toString,Gx=String.prototype.match,zx="function"==typeof BigInt?BigInt.prototype.valueOf:null,Hx=Object.getOwnPropertySymbols,Vx="function"==typeof Symbol?Symbol.prototype.toString:null,Yx=Object.prototype.propertyIsEnumerable,$x=jx.custom,Jx=$x&&Zx($x)?$x:null;function Kx(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function Qx(t){return String(t).replace(/"/g,"&quot;")}function Xx(t){return"[object Array]"===rS(t)}function Zx(t){return"[object Symbol]"===rS(t)}var tS=Object.prototype.hasOwnProperty||function(t){return t in this};function eS(t,e){return tS.call(t,e)}function rS(t){return qx.call(t)}function nS(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 oS(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return oS(t.slice(0,e.maxStringLength),e)+n}return Kx(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,iS),"single",e)}function iS(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":"")+e.toString(16).toUpperCase()}function aS(t){return"Object("+t+")"}function sS(t){return t+" { ? }"}function uS(t,e,r,n){return t+" ("+e+") {"+(n?cS(r,n):r.join(", "))+"}"}function cS(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function lS(t,e){var r=Xx(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=eS(t,o)?e(t[o],t):""}for(var i in t)eS(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof Hx)for(var a=Hx(t),s=0;s<a.length;s++)Yx.call(t,a[s])&&n.push("["+e(a[s])+"]: "+e(t[a[s]],t));return n}var pS=function(t,e){if("string"!=typeof t||0===t.length)throw new Tw("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Tw('"allowMissing" argument must be a boolean');var r=Xw(t),n=r.length>0?r[0]:"",o=Zw("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],Yw(r,Vw([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=Jw(p,0,1),h=Jw(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new jw("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Hw(qw,i="%"+(n+="."+p)+"%"))a=qw[i];else if(null!=a){if(!(p in a)){if(!e)throw new Tw("base intrinsic for "+t+" exists, but the property is not available.");return}if(Uw&&c+1>=r.length){var d=Uw(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=Hw(a,p),a=a[p];l&&!s&&(qw[i]=a)}}return a},fS=function(t,e){var r=Px(t,!!e);return"function"==typeof r&&kx(t,".prototype.")>-1?Ox(r):r},hS=function t(e,r,n,o){var i=r||{};if(eS(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(eS(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=!eS(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(eS(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return oS(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var s=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=s&&s>0&&"object"==typeof e)return Xx(e)?"[Array]":"[Object]";var u=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(i,n);if(void 0===o)o=[];else if(nS(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var s={depth:i.depth};return eS(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var l=function(t){if(t.name)return t.name;var e=Gx.call(Wx.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),p=lS(e,c);return"[Function"+(l?": "+l:" (anonymous)")+"]"+(p.length>0?" { "+p.join(", ")+" }":"")}if(Zx(e)){var f=Vx.call(e);return"object"==typeof e?aS(f):f}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 h="<"+String(e.nodeName).toLowerCase(),d=e.attributes||[],y=0;y<d.length;y++)h+=" "+d[y].name+"="+Kx(Qx(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(Xx(e)){if(0===e.length)return"[]";var m=lS(e,c);return u&&!function(t){for(var e=0;e<t.length;e++)if(nS(t[e],"\n")>=0)return!1;return!0}(m)?"["+cS(m,u)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===rS(t)}(e)){var g=lS(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(Jx&&"function"==typeof e[Jx])return e[Jx]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Nx||!t||"object"!=typeof t)return!1;try{Nx.call(t);try{Lx.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return Ux.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),uS("Map",Nx.call(e),v,u)}if(function(t){if(!Lx||!t||"object"!=typeof t)return!1;try{Lx.call(t);try{Nx.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return Fx.call(e,(function(t){b.push(c(t,e))})),uS("Set",Lx.call(e),b,u)}if(function(t){if(!Bx||!t||"object"!=typeof t)return!1;try{Bx.call(t,Bx);try{Dx.call(t,Dx)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return sS("WeakMap");if(function(t){if(!Dx||!t||"object"!=typeof t)return!1;try{Dx.call(t,Dx);try{Bx.call(t,Bx)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return sS("WeakSet");if(function(t){return"[object Number]"===rS(t)}(e))return aS(c(Number(e)));if(function(t){return"[object BigInt]"===rS(t)}(e))return aS(c(zx.call(e)));if(function(t){return"[object Boolean]"===rS(t)}(e))return aS(Mx.call(e));if(function(t){return"[object String]"===rS(t)}(e))return aS(c(String(e)));if(!function(t){return"[object Date]"===rS(t)}(e)&&!function(t){return"[object RegExp]"===rS(t)}(e)){var w=lS(e,c);return 0===w.length?"{}":u?"{"+cS(w,u)+"}":"{ "+w.join(", ")+" }"}return String(e)},dS=pS("%TypeError%"),yS=pS("%WeakMap%",!0),mS=pS("%Map%",!0),gS=fS("WeakMap.prototype.get",!0),vS=fS("WeakMap.prototype.set",!0),bS=fS("WeakMap.prototype.has",!0),wS=fS("Map.prototype.get",!0),xS=fS("Map.prototype.set",!0),SS=fS("Map.prototype.has",!0),AS=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},ES=String.prototype.replace,RS=/%20/g,PS="RFC3986",OS={default:PS,formatters:{RFC1738:function(t){return ES.call(t,RS,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:PS},kS=OS,jS=Object.prototype.hasOwnProperty,IS=Array.isArray,TS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),NS=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},US={arrayToObject:NS,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(IS(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===kS.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=TS[u]:u<2048?a+=TS[192|u>>6]+TS[128|63&u]:u<55296||u>=57344?a+=TS[224|u>>12]+TS[128|u>>6&63]+TS[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=TS[240|u>>18]+TS[128|u>>12&63]+TS[128|u>>6&63]+TS[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(IS(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(IS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!jS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return IS(e)&&!IS(r)&&(o=NS(e,n)),IS(e)&&IS(r)?(r.forEach((function(r,o){if(jS.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 jS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},_S=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new dS("Side channel does not contain "+hS(t))},get:function(n){if(yS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return gS(t,n)}else if(mS){if(e)return wS(e,n)}else if(r)return function(t,e){var r=AS(t,e);return r&&r.value}(r,n)},has:function(n){if(yS&&n&&("object"==typeof n||"function"==typeof n)){if(t)return bS(t,n)}else if(mS){if(e)return SS(e,n)}else if(r)return function(t,e){return!!AS(t,e)}(r,n);return!1},set:function(n,o){yS&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new yS),vS(t,n,o)):mS?(e||(e=new mS),xS(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=AS(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},CS=US,LS=OS,FS=Object.prototype.hasOwnProperty,BS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},DS=Array.isArray,MS=String.prototype.split,qS=Array.prototype.push,WS=function(t,e){qS.apply(t,DS(e)?e:[e])},GS=Date.prototype.toISOString,zS=LS.default,HS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:CS.encode,encodeValuesOnly:!1,format:zS,formatter:LS.formatters[zS],indices:!1,serializeDate:function(t){return GS.call(t)},skipNulls:!1,strictNullHandling:!1},VS={},YS=function t(e,r,n,o,i,a,s,u,c,l,p,f,h,d,y){for(var m,g=e,v=y,b=0,w=!1;void 0!==(v=v.get(VS))&&!w;){var x=v.get(e);if(b+=1,void 0!==x){if(x===b)throw new RangeError("Cyclic object value");w=!0}void 0===v.get(VS)&&(b=0)}if("function"==typeof s?g=s(r,g):g instanceof Date?g=l(g):"comma"===n&&DS(g)&&(g=CS.maybeMap(g,(function(t){return t instanceof Date?l(t):t}))),null===g){if(o)return a&&!h?a(r,HS.encoder,d,"key",p):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||CS.isBuffer(g)){if(a){var S=h?r:a(r,HS.encoder,d,"key",p);if("comma"===n&&h){for(var A=MS.call(String(g),","),E="",R=0;R<A.length;++R)E+=(0===R?"":",")+f(a(A[R],HS.encoder,d,"value",p));return[f(S)+(DS(g)&&1===A.length?"[]":"")+"="+E]}return[f(S)+"="+f(a(g,HS.encoder,d,"value",p))]}return[f(r)+"="+f(String(g))]}var P,O=[];if(void 0===g)return O;if("comma"===n&&DS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(DS(s))P=s;else{var k=Object.keys(g);P=u?k.sort(u):k}for(var j="comma"===n&&DS(g)&&1===g.length?r+"[]":r,I=0;I<P.length;++I){var T=P[I],N="object"==typeof T&&void 0!==T.value?T.value:g[T];if(!i||null!==N){var U=DS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var _=_S();_.set(VS,y),WS(O,t(N,U,n,o,i,a,s,u,c,l,p,f,h,d,_))}}return O},$S=US,JS=Object.prototype.hasOwnProperty,KS=Array.isArray,QS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:$S.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},XS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},ZS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},tA=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&&JS.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&&JS.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:ZS(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)}},eA=function(t,e){var r,n=t,o=function(t){if(!t)return HS;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||HS.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=LS.default;if(void 0!==t.format){if(!FS.call(LS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=LS.formatters[r],o=HS.filter;return("function"==typeof t.filter||DS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:HS.addQueryPrefix,allowDots:void 0===t.allowDots?HS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:HS.charsetSentinel,delimiter:void 0===t.delimiter?HS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:HS.encode,encoder:"function"==typeof t.encoder?t.encoder:HS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:HS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:HS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:HS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:HS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):DS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in BS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=BS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=_S(),c=0;c<r.length;++c){var l=r[c];o.skipNulls&&null===n[l]||WS(a,YS(n[l],l,s,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,u))}var p=a.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},rA=function(t,e){var r=function(t){if(!t)return QS;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?QS.charset:t.charset;return{allowDots:void 0===t.allowDots?QS.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:QS.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:QS.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:QS.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:QS.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:QS.comma,decoder:"function"==typeof t.decoder?t.decoder:QS.decoder,delimiter:"string"==typeof t.delimiter||$S.isRegExp(t.delimiter)?t.delimiter:QS.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:QS.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:QS.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:QS.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:QS.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:QS.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},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,QS.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(p.slice(0,h),QS.decoder,u,"key"),l=$S.maybeMap(ZS(p.slice(h+1),e),(function(t){return e.decoder(t,QS.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=XS(l)),p.indexOf("[]=")>-1&&(l=KS(l)?[l]:l),JS.call(n,c)?n[c]=$S.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=tA(s,n[s],r,"string"==typeof t);o=$S.merge(o,u,r)}return!0===r.allowSparse?o:$S.compact(o)},nA={formats:OS,parse:rA,stringify:eA};const oA="function"==typeof btoa,iA="function"==typeof Buffer,aA=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),sA=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),uA=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(sA),String.fromCharCode.bind(String)),cA=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),lA=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+=sA[e>>18&63]+sA[e>>12&63]+sA[e>>6&63]+sA[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},pA=oA?t=>btoa(t):iA?t=>Buffer.from(t,"binary").toString("base64"):lA,fA=iA?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(uA.apply(null,t.subarray(r,r+4096)));return pA(e.join(""))},hA=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?uA(192|e>>>6)+uA(128|63&e):uA(224|e>>>12&15)+uA(128|e>>>6&63)+uA(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return uA(240|e>>>18&7)+uA(128|e>>>12&63)+uA(128|e>>>6&63)+uA(128|63&e)},dA=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,yA=t=>t.replace(dA,hA),mA=iA?t=>Buffer.from(t,"utf8").toString("base64"):aA?t=>fA(aA.encode(t)):t=>pA(yA(t)),gA=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?cA(mA(t)):mA(t)},vA=gA;var bA=function(){function t(e){if(u(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}var r,i,a;return l(t,[{key:"build",value:(a=s(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})),{},{proxy:this.buildProxy(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 _g)){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:"buildProxy",value:function(t){var e;if(!t)return t;var r=n({},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(nA.stringify(e))}},{key:"buildData",value:(i=s(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 _g)){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(vA("".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":vA("".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=s(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}(),wA=Y,xA=Sn,SA=Date.prototype,AA="Invalid Date",EA="toString",RA=wA(SA.toString),PA=wA(SA.getTime);String(new Date(NaN))!=AA&&xA(SA,EA,(function(){var t=PA(this);return t==t?RA(this):AA}));var OA=C,kA=pe,jA=xt,IA=ra,TA=RegExp.prototype,NA=Rr.PROPER,UA=Sn,_A=nr,CA=ta,LA=I,FA=function(t){var e=t.flags;return void 0!==e||"flags"in TA||kA(t,"flags")||!jA(TA,t)?e:OA(IA,t)},BA="toString",DA=RegExp.prototype.toString,MA=LA((function(){return"/a/b"!=DA.call({source:"a",flags:"b"})})),qA=NA&&DA.name!=BA;(MA||qA)&&UA(RegExp.prototype,BA,(function(){var t=_A(this);return"/"+CA(t.source)+"/"+CA(FA(t))}),{unsafe:!0});var WA,GA=function(t){f(r,t);var e=x(r);function r(t){var n;return u(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return l(r)}(g(Error)),zA=function(t){f(r,t);var e=x(r);function r(t){var n;u(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,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(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return l(r,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?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),HA=["data"],VA=function(){function t(e){var r=e.enableAbortSearchError;u(this,t),this.enableAbortSearchError=r}return l(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 GA(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,HA);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new zA(n({data:r},o))}}]),t}(),YA=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 Yi)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}},$A=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,t),JA(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var s=YA(null!==(r=a.auth)&&void 0!==r?r:{}),c=new bA(n(n({},a),{},{baseUrl:this.baseUrl,auth:s})),l=new VA({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),p=new fw({responseHandler:l,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new ey(p,f),this.record=new Ug(p,this.bulkRequest_,f),this.app=new my(p,f),this.file=new Cg(p,f)}return l(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}(),JA=function(t){KA(t.baseUrl),QA(t.guestSpaceId)},KA=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".')}},QA=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))};(WA=Qi).readFileFromPath&&(e.readFileFromPath=WA.readFileFromPath),WA.getRequestToken&&(e.getRequestToken=WA.getRequestToken),WA.getDefaultAuth&&(e.getDefaultAuth=WA.getDefaultAuth),WA.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=WA.buildPlatformDependentConfig),WA.buildHeaders&&(e.buildHeaders=WA.buildHeaders),WA.buildFormDataValue&&(e.buildFormDataValue=WA.buildFormDataValue),WA.buildBaseUrl&&(e.buildBaseUrl=WA.buildBaseUrl),WA.getVersion&&(e.getVersion=WA.getVersion),t.KintoneAbortSearchError=GA,t.KintoneAllRecordsError=kg,t.KintoneRestAPIClient=$A,t.KintoneRestAPIError=zA}));
1
+ !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){l(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 t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function p(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new P(o||[]);return n(a,"_invoke",{value:A(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var f={};function h(){}function d(){}function y(){}var m={};c(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&r.call(v,a)&&(m=v);var b=y.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(n,i,a,u){var s=l(t[n],t,i);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(p).then((function(t){c.value=t,a(c)}),(function(t){return o("throw",t,a,u)}))}u(s.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),c(b,s,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.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}},t.values=k,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,f):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),f},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),R(r),f}},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;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function i(t){return i="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},i(t)}function a(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).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 u(t){a(i,n,o,u,s,"next",t)}function s(t){a(i,n,o,u,s,"throw",t)}u(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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,E(n.key),n)}}function p(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(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&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(){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}}function m(t,e,r){return m=y()?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&&d(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||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;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,n)}function n(){return m(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,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){var e=y();return function(){var r,n=h(t);if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function A(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}function E(t){var e=function(t,e){if("object"!=typeof t||null===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)}var R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return 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},j=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof R&&R)||function(){return this}()||Function("return this")(),I={},T=function(t){try{return!!t()}catch(t){return!0}},_=!T((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=!T((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),U=N,C=Function.prototype.call,L=U?C.bind(C):function(){return C.apply(C,arguments)},F={},B={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,M=D&&!B.call({1:2},1);F.f=M?function(t){var e=D(this,t);return!!e&&e.enumerable}:B;var q,W,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},z=N,H=Function.prototype,V=H.call,Y=z&&H.bind.bind(V,V),$=z?Y:function(t){return function(){return V.apply(t,arguments)}},J=$,Q=J({}.toString),K=J("".slice),X=function(t){return K(Q(t),8,-1)},Z=T,tt=X,et=Object,rt=$("".split),nt=Z((function(){return!et("z").propertyIsEnumerable(0)}))?function(t){return"String"==tt(t)?rt(t,""):et(t)}:et,ot=function(t){return null==t},it=ot,at=TypeError,ut=function(t){if(it(t))throw at("Can't call method on "+t);return t},st=nt,ct=ut,pt=function(t){return st(ct(t))},lt="object"==typeof document&&document.all,ft={all:lt,IS_HTMLDDA:void 0===lt&&void 0!==lt},ht=ft.all,dt=ft.IS_HTMLDDA?function(t){return"function"==typeof t||t===ht}:function(t){return"function"==typeof t},yt=dt,mt=ft.all,gt=ft.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:yt(t)||t===mt}:function(t){return"object"==typeof t?null!==t:yt(t)},vt=j,bt=dt,wt=function(t){return bt(t)?t:void 0},xt=function(t,e){return arguments.length<2?wt(vt[t]):vt[t]&&vt[t][e]},At=$({}.isPrototypeOf),St=j,Et="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Rt=St.process,Pt=St.Deno,kt=Rt&&Rt.versions||Pt&&Pt.version,Ot=kt&&kt.v8;Ot&&(W=(q=Ot.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&Et&&(!(q=Et.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=Et.match(/Chrome\/(\d+)/))&&(W=+q[1]);var jt=W,It=jt,Tt=T,_t=!!Object.getOwnPropertySymbols&&!Tt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&It&&It<41})),Nt=_t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=xt,Ct=dt,Lt=At,Ft=Object,Bt=Nt?function(t){return"symbol"==typeof t}:function(t){var e=Ut("Symbol");return Ct(e)&&Lt(e.prototype,Ft(t))},Dt=String,Mt=function(t){try{return Dt(t)}catch(t){return"Object"}},qt=dt,Wt=Mt,Gt=TypeError,zt=function(t){if(qt(t))return t;throw Gt(Wt(t)+" is not a function")},Ht=zt,Vt=ot,Yt=function(t,e){var r=t[e];return Vt(r)?void 0:Ht(r)},$t=L,Jt=dt,Qt=gt,Kt=TypeError,Xt={},Zt={get exports(){return Xt},set exports(t){Xt=t}},te=j,ee=Object.defineProperty,re=function(t,e){try{ee(te,t,{value:e,configurable:!0,writable:!0})}catch(r){te[t]=e}return e},ne=re,oe="__core-js_shared__",ie=j[oe]||ne(oe,{}),ae=ie;(Zt.exports=function(t,e){return ae[t]||(ae[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ue=ut,se=Object,ce=function(t){return se(ue(t))},pe=ce,le=$({}.hasOwnProperty),fe=Object.hasOwn||function(t,e){return le(pe(t),e)},he=$,de=0,ye=Math.random(),me=he(1..toString),ge=function(t){return"Symbol("+(void 0===t?"":t)+")_"+me(++de+ye,36)},ve=Xt,be=fe,we=ge,xe=_t,Ae=Nt,Se=j.Symbol,Ee=ve("wks"),Re=Ae?Se.for||Se:Se&&Se.withoutSetter||we,Pe=function(t){return be(Ee,t)||(Ee[t]=xe&&be(Se,t)?Se[t]:Re("Symbol."+t)),Ee[t]},ke=L,Oe=gt,je=Bt,Ie=Yt,Te=function(t,e){var r,n;if("string"===e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;if(Jt(r=t.valueOf)&&!Qt(n=$t(r,t)))return n;if("string"!==e&&Jt(r=t.toString)&&!Qt(n=$t(r,t)))return n;throw Kt("Can't convert object to primitive value")},_e=TypeError,Ne=Pe("toPrimitive"),Ue=function(t,e){if(!Oe(t)||je(t))return t;var r,n=Ie(t,Ne);if(n){if(void 0===e&&(e="default"),r=ke(n,t,e),!Oe(r)||je(r))return r;throw _e("Can't convert object to primitive value")}return void 0===e&&(e="number"),Te(t,e)},Ce=Ue,Le=Bt,Fe=function(t){var e=Ce(t,"string");return Le(e)?e:e+""},Be=gt,De=j.document,Me=Be(De)&&Be(De.createElement),qe=function(t){return Me?De.createElement(t):{}},We=qe,Ge=!_&&!T((function(){return 7!=Object.defineProperty(We("div"),"a",{get:function(){return 7}}).a})),ze=_,He=L,Ve=F,Ye=G,$e=pt,Je=Fe,Qe=fe,Ke=Ge,Xe=Object.getOwnPropertyDescriptor;I.f=ze?Xe:function(t,e){if(t=$e(t),e=Je(e),Ke)try{return Xe(t,e)}catch(t){}if(Qe(t,e))return Ye(!He(Ve.f,t,e),t[e])};var Ze={},tr=_&&T((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),er=gt,rr=String,nr=TypeError,or=function(t){if(er(t))return t;throw nr(rr(t)+" is not an object")},ir=_,ar=Ge,ur=tr,sr=or,cr=Fe,pr=TypeError,lr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,hr="enumerable",dr="configurable",yr="writable";Ze.f=ir?ur?function(t,e,r){if(sr(t),e=cr(e),sr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&yr in r&&!r.writable){var n=fr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:dr in r?r.configurable:n.configurable,enumerable:hr in r?r.enumerable:n.enumerable,writable:!1})}return lr(t,e,r)}:lr:function(t,e,r){if(sr(t),e=cr(e),sr(r),ar)try{return lr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw pr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var mr=Ze,gr=G,vr=_?function(t,e,r){return mr.f(t,e,gr(1,r))}:function(t,e,r){return t[e]=r,t},br={},wr={get exports(){return br},set exports(t){br=t}},xr=_,Ar=fe,Sr=Function.prototype,Er=xr&&Object.getOwnPropertyDescriptor,Rr=Ar(Sr,"name"),Pr={EXISTS:Rr,PROPER:Rr&&"something"===function(){}.name,CONFIGURABLE:Rr&&(!xr||xr&&Er(Sr,"name").configurable)},kr=dt,Or=ie,jr=$(Function.toString);kr(Or.inspectSource)||(Or.inspectSource=function(t){return jr(t)});var Ir,Tr,_r,Nr=Or.inspectSource,Ur=dt,Cr=j.WeakMap,Lr=Ur(Cr)&&/native code/.test(String(Cr)),Fr=ge,Br=Xt("keys"),Dr=function(t){return Br[t]||(Br[t]=Fr(t))},Mr={},qr=Lr,Wr=j,Gr=gt,zr=vr,Hr=fe,Vr=ie,Yr=Dr,$r=Mr,Jr="Object already initialized",Qr=Wr.TypeError,Kr=Wr.WeakMap;if(qr||Vr.state){var Xr=Vr.state||(Vr.state=new Kr);Xr.get=Xr.get,Xr.has=Xr.has,Xr.set=Xr.set,Ir=function(t,e){if(Xr.has(t))throw Qr(Jr);return e.facade=t,Xr.set(t,e),e},Tr=function(t){return Xr.get(t)||{}},_r=function(t){return Xr.has(t)}}else{var Zr=Yr("state");$r[Zr]=!0,Ir=function(t,e){if(Hr(t,Zr))throw Qr(Jr);return e.facade=t,zr(t,Zr,e),e},Tr=function(t){return Hr(t,Zr)?t[Zr]:{}},_r=function(t){return Hr(t,Zr)}}var tn={set:Ir,get:Tr,has:_r,enforce:function(t){return _r(t)?Tr(t):Ir(t,{})},getterFor:function(t){return function(e){var r;if(!Gr(e)||(r=Tr(e)).type!==t)throw Qr("Incompatible receiver, "+t+" required");return r}}},en=$,rn=T,nn=dt,on=fe,an=_,un=Pr.CONFIGURABLE,sn=Nr,cn=tn.enforce,pn=tn.get,ln=String,fn=Object.defineProperty,hn=en("".slice),dn=en("".replace),yn=en([].join),mn=an&&!rn((function(){return 8!==fn((function(){}),"length",{value:8}).length})),gn=String(String).split("String"),vn=wr.exports=function(t,e,r){"Symbol("===hn(ln(e),0,7)&&(e="["+dn(ln(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!on(t,"name")||un&&t.name!==e)&&(an?fn(t,"name",{value:e,configurable:!0}):t.name=e),mn&&r&&on(r,"arity")&&t.length!==r.arity&&fn(t,"length",{value:r.arity});try{r&&on(r,"constructor")&&r.constructor?an&&fn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=cn(t);return on(n,"source")||(n.source=yn(gn,"string"==typeof e?e:"")),t};Function.prototype.toString=vn((function(){return nn(this)&&pn(this).source||sn(this)}),"toString");var bn=dt,wn=Ze,xn=br,An=re,Sn=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(bn(r)&&xn(r,i,n),n.global)o?t[e]=r:An(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:wn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},En={},Rn=Math.ceil,Pn=Math.floor,kn=Math.trunc||function(t){var e=+t;return(e>0?Pn:Rn)(e)},On=function(t){var e=+t;return e!=e||0===e?0:kn(e)},jn=On,In=Math.max,Tn=Math.min,_n=function(t,e){var r=jn(t);return r<0?In(r+e,0):Tn(r,e)},Nn=On,Un=Math.min,Cn=function(t){return t>0?Un(Nn(t),9007199254740991):0},Ln=Cn,Fn=function(t){return Ln(t.length)},Bn=pt,Dn=_n,Mn=Fn,qn=function(t){return function(e,r,n){var o,i=Bn(e),a=Mn(i),u=Dn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Wn={includes:qn(!0),indexOf:qn(!1)},Gn=fe,zn=pt,Hn=Wn.indexOf,Vn=Mr,Yn=$([].push),$n=function(t,e){var r,n=zn(t),o=0,i=[];for(r in n)!Gn(Vn,r)&&Gn(n,r)&&Yn(i,r);for(;e.length>o;)Gn(n,r=e[o++])&&(~Hn(i,r)||Yn(i,r));return i},Jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qn=$n,Kn=Jn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(t){return Qn(t,Kn)};var Xn={};Xn.f=Object.getOwnPropertySymbols;var Zn=xt,to=En,eo=Xn,ro=or,no=$([].concat),oo=Zn("Reflect","ownKeys")||function(t){var e=to.f(ro(t)),r=eo.f;return r?no(e,r(t)):e},io=fe,ao=oo,uo=I,so=Ze,co=T,po=dt,lo=/#|\.prototype\./,fo=function(t,e){var r=yo[ho(t)];return r==go||r!=mo&&(po(e)?co(e):!!e)},ho=fo.normalize=function(t){return String(t).replace(lo,".").toLowerCase()},yo=fo.data={},mo=fo.NATIVE="N",go=fo.POLYFILL="P",vo=fo,bo=j,wo=I.f,xo=vr,Ao=Sn,So=re,Eo=function(t,e,r){for(var n=ao(e),o=so.f,i=uo.f,a=0;a<n.length;a++){var u=n[a];io(t,u)||r&&io(r,u)||o(t,u,i(e,u))}},Ro=vo,Po=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,c=t.stat;if(r=s?bo:c?bo[u]||So(u,{}):(bo[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=wo(r,n))&&a.value:r[n],!Ro(s?n:u+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(t.sham||o&&o.sham)&&xo(i,"sham",!0),Ao(r,n,i,t)}},ko=X,Oo=Array.isArray||function(t){return"Array"==ko(t)},jo=TypeError,Io=Fe,To=Ze,_o=G,No=function(t,e,r){var n=Io(e);n in t?To.f(t,n,_o(0,r)):t[n]=r},Uo={};Uo[Pe("toStringTag")]="z";var Co="[object z]"===String(Uo),Lo=Co,Fo=dt,Bo=X,Do=Pe("toStringTag"),Mo=Object,qo="Arguments"==Bo(function(){return arguments}()),Wo=Lo?Bo: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=Mo(t),Do))?r:qo?Bo(e):"Object"==(n=Bo(e))&&Fo(e.callee)?"Arguments":n},Go=$,zo=T,Ho=dt,Vo=Wo,Yo=Nr,$o=function(){},Jo=[],Qo=xt("Reflect","construct"),Ko=/^\s*(?:class|function)\b/,Xo=Go(Ko.exec),Zo=!Ko.exec($o),ti=function(t){if(!Ho(t))return!1;try{return Qo($o,Jo,t),!0}catch(t){return!1}},ei=function(t){if(!Ho(t))return!1;switch(Vo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Zo||!!Xo(Ko,Yo(t))}catch(t){return!0}};ei.sham=!0;var ri=!Qo||zo((function(){var t;return ti(ti.call)||!ti(Object)||!ti((function(){t=!0}))||t}))?ei:ti,ni=Oo,oi=ri,ii=gt,ai=Pe("species"),ui=Array,si=function(t){var e;return ni(t)&&(e=t.constructor,(oi(e)&&(e===ui||ni(e.prototype))||ii(e)&&null===(e=e[ai]))&&(e=void 0)),void 0===e?ui:e},ci=function(t,e){return new(si(t))(0===e?0:e)},pi=T,li=jt,fi=Pe("species"),hi=function(t){return li>=51||!pi((function(){var e=[];return(e.constructor={})[fi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},di=Po,yi=T,mi=Oo,gi=gt,vi=ce,bi=Fn,wi=function(t){if(t>9007199254740991)throw jo("Maximum allowed index exceeded");return t},xi=No,Ai=ci,Si=hi,Ei=jt,Ri=Pe("isConcatSpreadable"),Pi=Ei>=51||!yi((function(){var t=[];return t[Ri]=!1,t.concat()[0]!==t})),ki=function(t){if(!gi(t))return!1;var e=t[Ri];return void 0!==e?!!e:mi(t)};di({target:"Array",proto:!0,arity:1,forced:!Pi||!Si("concat")},{concat:function(t){var e,r,n,o,i,a=vi(this),u=Ai(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(ki(i=-1===e?a:arguments[e]))for(o=bi(i),wi(s+o),r=0;r<o;r++,s++)r in i&&xi(u,s,i[r]);else wi(s+1),xi(u,s++,i);return u.length=s,u}});var Oi=br,ji=Ze,Ii=function(t,e,r){return r.get&&Oi(r.get,e,{getter:!0}),r.set&&Oi(r.set,e,{setter:!0}),ji.f(t,e,r)},Ti=_,_i=Pr.EXISTS,Ni=$,Ui=Ii,Ci=Function.prototype,Li=Ni(Ci.toString),Fi=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Bi=Ni(Fi.exec);Ti&&!_i&&Ui(Ci,"name",{configurable:!0,get:function(){try{return Bi(Fi,Li(this))[1]}catch(t){return""}}});var Di=$,Mi=zt,qi=dt,Wi=String,Gi=TypeError,zi=function(t,e,r){try{return Di(Mi(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},Hi=or,Vi=function(t){if("object"==typeof t||qi(t))return t;throw Gi("Can't set "+Wi(t)+" as a prototype")},Yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Hi(r),Vi(n),e?t(r,n):r.__proto__=n,r}}():void 0);Po({target:"Object",stat:!0},{setPrototypeOf:Yi});var $i=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o="This function is not supported in ".concat(t," environment");return n=e.call(this,o),Error.captureStackTrace&&Error.captureStackTrace(b(n),r),n.name="UnsupportedPlatformError",n.platform=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error));function Ji(){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)}Ji.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)}}},Ji.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},Ji.prototype.getExtension=function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null};var Qi=new Ji({"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"]}),Ki=function(){var t=u(o().mark((function t(){var e,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":i(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":i(garoon))||null===garoon||"function"!=typeof(null===(e=garoon.connect)||void 0===e||null===(r=e.kintone)||void 0===r?void 0:r.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)}}(),Xi=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=Qi.getType(e)||void 0),new Blob([t],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Ki,getVersion:function(){return"3.3.9"},readFileFromPath:function(t){throw new $i("Browser")}}),Zi=Wo,ta=String,ea=function(t){if("Symbol"===Zi(t))throw TypeError("Cannot convert a Symbol value to a string");return ta(t)},ra=or,na=function(){var t=ra(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},oa=T,ia=j.RegExp,aa=oa((function(){var t=ia("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),ua=aa||oa((function(){return!ia("a","y").sticky})),sa={BROKEN_CARET:aa||oa((function(){var t=ia("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:ua,UNSUPPORTED_Y:aa},ca={},pa=$n,la=Jn,fa=Object.keys||function(t){return pa(t,la)},ha=_,da=tr,ya=Ze,ma=or,ga=pt,va=fa;ca.f=ha&&!da?Object.defineProperties:function(t,e){ma(t);for(var r,n=ga(e),o=va(e),i=o.length,a=0;i>a;)ya.f(t,r=o[a++],n[r]);return t};var ba,wa=xt("document","documentElement"),xa=or,Aa=ca,Sa=Jn,Ea=Mr,Ra=wa,Pa=qe,ka=Dr("IE_PROTO"),Oa=function(){},ja=function(t){return"<script>"+t+"</"+"script>"},Ia=function(t){t.write(ja("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ta=function(){try{ba=new ActiveXObject("htmlfile")}catch(t){}var t,e;Ta="undefined"!=typeof document?document.domain&&ba?Ia(ba):((e=Pa("iframe")).style.display="none",Ra.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ja("document.F=Object")),t.close(),t.F):Ia(ba);for(var r=Sa.length;r--;)delete Ta.prototype[Sa[r]];return Ta()};Ea[ka]=!0;var _a,Na,Ua=Object.create||function(t,e){var r;return null!==t?(Oa.prototype=xa(t),r=new Oa,Oa.prototype=null,r[ka]=t):r=Ta(),void 0===e?r:Aa.f(r,e)},Ca=T,La=j.RegExp,Fa=Ca((function(){var t=La(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Ba=T,Da=j.RegExp,Ma=Ba((function(){var t=Da("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),qa=L,Wa=$,Ga=ea,za=na,Ha=sa,Va=Ua,Ya=tn.get,$a=Fa,Ja=Ma,Qa=Xt("native-string-replace",String.prototype.replace),Ka=RegExp.prototype.exec,Xa=Ka,Za=Wa("".charAt),tu=Wa("".indexOf),eu=Wa("".replace),ru=Wa("".slice),nu=(Na=/b*/g,qa(Ka,_a=/a/,"a"),qa(Ka,Na,"a"),0!==_a.lastIndex||0!==Na.lastIndex),ou=Ha.BROKEN_CARET,iu=void 0!==/()??/.exec("")[1];(nu||iu||ou||$a||Ja)&&(Xa=function(t){var e,r,n,o,i,a,u,s=this,c=Ya(s),p=Ga(t),l=c.raw;if(l)return l.lastIndex=s.lastIndex,e=qa(Xa,l,p),s.lastIndex=l.lastIndex,e;var f=c.groups,h=ou&&s.sticky,d=qa(za,s),y=s.source,m=0,g=p;if(h&&(d=eu(d,"y",""),-1===tu(d,"g")&&(d+="g"),g=ru(p,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Za(p,s.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),iu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),nu&&(n=s.lastIndex),o=qa(Ka,h?r:s,g),h?o?(o.input=ru(o.input,m),o[0]=ru(o[0],m),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:nu&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),iu&&o&&o.length>1&&qa(Qa,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=Va(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var au=Xa;Po({target:"RegExp",proto:!0,forced:/./.exec!==au},{exec:au});var uu=N,su=Function.prototype,cu=su.apply,pu=su.call,lu="object"==typeof Reflect&&Reflect.apply||(uu?pu.bind(cu):function(){return pu.apply(cu,arguments)}),fu=X,hu=$,du=function(t){if("Function"===fu(t))return hu(t)},yu=du,mu=Sn,gu=au,vu=T,bu=Pe,wu=vr,xu=bu("species"),Au=RegExp.prototype,Su=function(t,e,r,n){var o=bu(t),i=!vu((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!vu((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[xu]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=yu(/./[o]),s=e(o,""[t],(function(t,e,r,n,o){var a=yu(t),s=e.exec;return s===gu||s===Au.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));mu(String.prototype,t,s[0]),mu(Au,o,s[1])}n&&wu(Au[o],"sham",!0)},Eu=$,Ru=On,Pu=ea,ku=ut,Ou=Eu("".charAt),ju=Eu("".charCodeAt),Iu=Eu("".slice),Tu=function(t){return function(e,r){var n,o,i=Pu(ku(e)),a=Ru(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=ju(i,a))<55296||n>56319||a+1===u||(o=ju(i,a+1))<56320||o>57343?t?Ou(i,a):n:t?Iu(i,a,a+2):o-56320+(n-55296<<10)+65536}},_u={codeAt:Tu(!1),charAt:Tu(!0)},Nu=_u.charAt,Uu=function(t,e,r){return e+(r?Nu(t,e).length:1)},Cu=$,Lu=ce,Fu=Math.floor,Bu=Cu("".charAt),Du=Cu("".replace),Mu=Cu("".slice),qu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Wu=/\$([$&'`]|\d{1,2})/g,Gu=L,zu=or,Hu=dt,Vu=X,Yu=au,$u=TypeError,Ju=function(t,e){var r=t.exec;if(Hu(r)){var n=Gu(r,t,e);return null!==n&&zu(n),n}if("RegExp"===Vu(t))return Gu(Yu,t,e);throw $u("RegExp#exec called on incompatible receiver")},Qu=lu,Ku=L,Xu=$,Zu=Su,ts=T,es=or,rs=dt,ns=ot,os=On,is=Cn,as=ea,us=ut,ss=Uu,cs=Yt,ps=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Wu;return void 0!==o&&(o=Lu(o),s=qu),Du(i,s,(function(i,s){var c;switch(Bu(s,0)){case"$":return"$";case"&":return t;case"`":return Mu(e,0,r);case"'":return Mu(e,a);case"<":c=o[Mu(s,1,-1)];break;default:var p=+s;if(0===p)return i;if(p>u){var l=Fu(p/10);return 0===l?i:l<=u?void 0===n[l-1]?Bu(s,1):n[l-1]+Bu(s,1):i}c=n[p-1]}return void 0===c?"":c}))},ls=Ju,fs=Pe("replace"),hs=Math.max,ds=Math.min,ys=Xu([].concat),ms=Xu([].push),gs=Xu("".indexOf),vs=Xu("".slice),bs="$0"==="a".replace(/./,"$0"),ws=!!/./[fs]&&""===/./[fs]("a","$0");Zu("replace",(function(t,e,r){var n=ws?"$":"$0";return[function(t,r){var n=us(this),o=ns(t)?void 0:cs(t,fs);return o?Ku(o,t,n,r):Ku(e,as(n),t,r)},function(t,o){var i=es(this),a=as(t);if("string"==typeof o&&-1===gs(o,n)&&-1===gs(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=rs(o);s||(o=as(o));var c=i.global;if(c){var p=i.unicode;i.lastIndex=0}for(var l=[];;){var f=ls(i,a);if(null===f)break;if(ms(l,f),!c)break;""===as(f[0])&&(i.lastIndex=ss(a,is(i.lastIndex),p))}for(var h,d="",y=0,m=0;m<l.length;m++){for(var g=as((f=l[m])[0]),v=hs(ds(os(f.index),a.length),0),b=[],w=1;w<f.length;w++)ms(b,void 0===(h=f[w])?h:String(h));var x=f.groups;if(s){var A=ys([g],b,v,a);void 0!==x&&ms(A,x);var S=as(Qu(o,void 0,A))}else S=ps(g,a,v,b,x,o);v>=y&&(d+=vs(a,y,v)+S,y=v+g.length)}return d+vs(a,y)}]}),!!ts((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!bs||ws);var xs=Pe,As=Ua,Ss=Ze.f,Es=xs("unscopables"),Rs=Array.prototype;null==Rs[Es]&&Ss(Rs,Es,{configurable:!0,value:As(null)});var Ps,ks,Os,js={},Is=!T((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ts=fe,_s=dt,Ns=ce,Us=Is,Cs=Dr("IE_PROTO"),Ls=Object,Fs=Ls.prototype,Bs=Us?Ls.getPrototypeOf:function(t){var e=Ns(t);if(Ts(e,Cs))return e[Cs];var r=e.constructor;return _s(r)&&e instanceof r?r.prototype:e instanceof Ls?Fs:null},Ds=T,Ms=dt,qs=gt,Ws=Bs,Gs=Sn,zs=Pe("iterator"),Hs=!1;[].keys&&("next"in(Os=[].keys())?(ks=Ws(Ws(Os)))!==Object.prototype&&(Ps=ks):Hs=!0);var Vs=!qs(Ps)||Ds((function(){var t={};return Ps[zs].call(t)!==t}));Vs&&(Ps={}),Ms(Ps[zs])||Gs(Ps,zs,(function(){return this}));var Ys={IteratorPrototype:Ps,BUGGY_SAFARI_ITERATORS:Hs},$s=Ze.f,Js=fe,Qs=Pe("toStringTag"),Ks=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Js(t,Qs)&&$s(t,Qs,{configurable:!0,value:e})},Xs=Ys.IteratorPrototype,Zs=Ua,tc=G,ec=Ks,rc=js,nc=function(){return this},oc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Zs(Xs,{next:tc(+!n,r)}),ec(t,o,!1),rc[o]=nc,t},ic=Po,ac=L,uc=dt,sc=oc,cc=Bs,pc=Yi,lc=Ks,fc=vr,hc=Sn,dc=js,yc=Pr.PROPER,mc=Pr.CONFIGURABLE,gc=Ys.IteratorPrototype,vc=Ys.BUGGY_SAFARI_ITERATORS,bc=Pe("iterator"),wc="keys",xc="values",Ac="entries",Sc=function(){return this},Ec=function(t,e,r,n,o,i,a){sc(r,e,n);var u,s,c,p=function(t){if(t===o&&y)return y;if(!vc&&t in h)return h[t];switch(t){case wc:case xc:case Ac:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",f=!1,h=t.prototype,d=h[bc]||h["@@iterator"]||o&&h[o],y=!vc&&d||p(o),m="Array"==e&&h.entries||d;if(m&&(u=cc(m.call(new t)))!==Object.prototype&&u.next&&(cc(u)!==gc&&(pc?pc(u,gc):uc(u[bc])||hc(u,bc,Sc)),lc(u,l,!0)),yc&&o==xc&&d&&d.name!==xc&&(mc?fc(h,"name",xc):(f=!0,y=function(){return ac(d,this)})),o)if(s={values:p(xc),keys:i?y:p(wc),entries:p(Ac)},a)for(c in s)(vc||f||!(c in h))&&hc(h,c,s[c]);else ic({target:e,proto:!0,forced:vc||f},s);return h[bc]!==y&&hc(h,bc,y,{name:o}),dc[e]=y,s},Rc=function(t,e){return{value:t,done:e}},Pc=pt,kc=function(t){Rs[Es][t]=!0},Oc=js,jc=tn,Ic=Ze.f,Tc=Ec,_c=Rc,Nc=_,Uc="Array Iterator",Cc=jc.set,Lc=jc.getterFor(Uc),Fc=Tc(Array,"Array",(function(t,e){Cc(this,{type:Uc,target:Pc(t),index:0,kind:e})}),(function(){var t=Lc(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,_c(void 0,!0)):_c("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Bc=Oc.Arguments=Oc.Array;if(kc("keys"),kc("values"),kc("entries"),Nc&&"values"!==Bc.name)try{Ic(Bc,"name",{value:"values"})}catch(t){}var Dc=Wo,Mc=Co?{}.toString:function(){return"[object "+Dc(this)+"]"};Co||Sn(Object.prototype,"toString",Mc,{unsafe:!0});var qc=_u.charAt,Wc=ea,Gc=tn,zc=Ec,Hc=Rc,Vc="String Iterator",Yc=Gc.set,$c=Gc.getterFor(Vc);zc(String,"String",(function(t){Yc(this,{type:Vc,string:Wc(t),index:0})}),(function(){var t,e=$c(this),r=e.string,n=e.index;return n>=r.length?Hc(void 0,!0):(t=qc(r,n),e.index+=t.length,Hc(t,!1))}));var Jc={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},Qc=qe("span").classList,Kc=Qc&&Qc.constructor&&Qc.constructor.prototype,Xc=Kc===Object.prototype?void 0:Kc,Zc=j,tp=Jc,ep=Xc,rp=Fc,np=vr,op=Pe,ip=op("iterator"),ap=op("toStringTag"),up=rp.values,sp=function(t,e){if(t){if(t[ip]!==up)try{np(t,ip,up)}catch(e){t[ip]=up}if(t[ap]||np(t,ap,e),tp[e])for(var r in rp)if(t[r]!==rp[r])try{np(t,r,rp[r])}catch(e){t[r]=rp[r]}}};for(var cp in tp)sp(Zc[cp]&&Zc[cp].prototype,cp);sp(ep,"DOMTokenList");var pp=T,lp=_,fp=Pe("iterator"),hp=!pp((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),!e.size&&!lp||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[fp]||"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"!==r||"x"!==new URL("http://x",void 0).host})),dp=zt,yp=N,mp=du(du.bind),gp=function(t,e){return dp(t),void 0===e?t:yp?mp(t,e):function(){return t.apply(e,arguments)}},vp=At,bp=TypeError,wp=function(t,e){if(vp(e,t))return t;throw bp("Incorrect invocation")},xp=_,Ap=$,Sp=L,Ep=T,Rp=fa,Pp=Xn,kp=F,Op=ce,jp=nt,Ip=Object.assign,Tp=Object.defineProperty,_p=Ap([].concat),Np=!Ip||Ep((function(){if(xp&&1!==Ip({b:1},Ip(Tp({},"a",{enumerable:!0,get:function(){Tp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Ip({},t)[r]||Rp(Ip({},e)).join("")!=n}))?function(t,e){for(var r=Op(t),n=arguments.length,o=1,i=Pp.f,a=kp.f;n>o;)for(var u,s=jp(arguments[o++]),c=i?_p(Rp(s),i(s)):Rp(s),p=c.length,l=0;p>l;)u=c[l++],xp&&!Sp(a,s,u)||(r[u]=s[u]);return r}:Ip,Up=L,Cp=or,Lp=Yt,Fp=or,Bp=function(t,e,r){var n,o;Cp(t);try{if(!(n=Lp(t,"return"))){if("throw"===e)throw r;return r}n=Up(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Cp(n),r},Dp=js,Mp=Pe("iterator"),qp=Array.prototype,Wp=Wo,Gp=Yt,zp=ot,Hp=js,Vp=Pe("iterator"),Yp=function(t){if(!zp(t))return Gp(t,Vp)||Gp(t,"@@iterator")||Hp[Wp(t)]},$p=L,Jp=zt,Qp=or,Kp=Mt,Xp=Yp,Zp=TypeError,tl=function(t,e){var r=arguments.length<2?Xp(t):e;if(Jp(r))return Qp($p(r,t));throw Zp(Kp(t)+" is not iterable")},el=gp,rl=L,nl=ce,ol=function(t,e,r,n){try{return n?e(Fp(r)[0],r[1]):e(r)}catch(e){Bp(t,"throw",e)}},il=function(t){return void 0!==t&&(Dp.Array===t||qp[Mp]===t)},al=ri,ul=Fn,sl=No,cl=tl,pl=Yp,ll=Array,fl=_n,hl=Fn,dl=No,yl=Array,ml=Math.max,gl=function(t,e,r){for(var n=hl(t),o=fl(e,n),i=fl(void 0===r?n:r,n),a=yl(ml(i-o,0)),u=0;o<i;o++,u++)dl(a,u,t[o]);return a.length=u,a},vl=$,bl=2147483647,wl=/[^\0-\u007E]/,xl=/[.\u3002\uFF0E\uFF61]/g,Al="Overflow: input needs wider integers to process",Sl=RangeError,El=vl(xl.exec),Rl=Math.floor,Pl=String.fromCharCode,kl=vl("".charCodeAt),Ol=vl([].join),jl=vl([].push),Il=vl("".replace),Tl=vl("".split),_l=vl("".toLowerCase),Nl=function(t){return t+22+75*(t<26)},Ul=function(t,e,r){var n=0;for(t=r?Rl(t/700):t>>1,t+=Rl(t/e);t>455;)t=Rl(t/35),n+=36;return Rl(n+36*t/(t+38))},Cl=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=kl(t,r++);if(o>=55296&&o<=56319&&r<n){var i=kl(t,r++);56320==(64512&i)?jl(e,((1023&o)<<10)+(1023&i)+65536):(jl(e,o),r--)}else jl(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&jl(e,Pl(n));var s=e.length,c=s;for(s&&jl(e,"-");c<o;){var p=bl;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<p&&(p=n);var l=c+1;if(p-i>Rl((bl-a)/l))throw Sl(Al);for(a+=(p-i)*l,i=p,r=0;r<t.length;r++){if((n=t[r])<i&&++a>bl)throw Sl(Al);if(n==i){for(var f=a,h=36;;){var d=h<=u?1:h>=u+26?26:h-u;if(f<d)break;var y=f-d,m=36-d;jl(e,Pl(Nl(d+y%m))),f=Rl(y/m),h+=36}jl(e,Pl(Nl(f))),u=Ul(a,l,c==s),a=0,c++}}a++,i++}return Ol(e,"")},Ll=TypeError,Fl=function(t,e){if(t<e)throw Ll("Not enough arguments");return t},Bl=Sn,Dl=gl,Ml=Math.floor,ql=function(t,e){var r=t.length,n=Ml(r/2);return r<8?Wl(t,e):Gl(t,ql(Dl(t,0,n),e),ql(Dl(t,n),e),e)},Wl=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},Gl=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},zl=Po,Hl=j,Vl=L,Yl=$,$l=_,Jl=hp,Ql=Sn,Kl=Ii,Xl=function(t,e,r){for(var n in e)Bl(t,n,e[n],r);return t},Zl=Ks,tf=oc,ef=tn,rf=wp,nf=dt,of=fe,af=gp,uf=Wo,sf=or,cf=gt,pf=ea,lf=Ua,ff=G,hf=tl,df=Yp,yf=Fl,mf=ql,gf=Pe("iterator"),vf="URLSearchParams",bf="URLSearchParamsIterator",wf=ef.set,xf=ef.getterFor(vf),Af=ef.getterFor(bf),Sf=Object.getOwnPropertyDescriptor,Ef=function(t){if(!$l)return Hl[t];var e=Sf(Hl,t);return e&&e.value},Rf=Ef("fetch"),Pf=Ef("Request"),kf=Ef("Headers"),Of=Pf&&Pf.prototype,jf=kf&&kf.prototype,If=Hl.RegExp,Tf=Hl.TypeError,_f=Hl.decodeURIComponent,Nf=Hl.encodeURIComponent,Uf=Yl("".charAt),Cf=Yl([].join),Lf=Yl([].push),Ff=Yl("".replace),Bf=Yl([].shift),Df=Yl([].splice),Mf=Yl("".split),qf=Yl("".slice),Wf=/\+/g,Gf=Array(4),zf=function(t){return Gf[t-1]||(Gf[t-1]=If("((?:%[\\da-f]{2}){"+t+"})","gi"))},Hf=function(t){try{return _f(t)}catch(e){return t}},Vf=function(t){var e=Ff(t,Wf," "),r=4;try{return _f(e)}catch(t){for(;r;)e=Ff(e,zf(r--),Hf);return e}},Yf=/[!'()~]|%20/g,$f={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Jf=function(t){return $f[t]},Qf=function(t){return Ff(Nf(t),Yf,Jf)},Kf=tf((function(t,e){wf(this,{type:bf,iterator:hf(xf(t).entries),kind:e})}),"Iterator",(function(){var t=Af(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),Xf=function(t){this.entries=[],this.url=null,void 0!==t&&(cf(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Uf(t,0)?qf(t,1):t:pf(t)))};Xf.prototype={type:vf,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=df(t);if(s)for(r=(e=hf(t,s)).next;!(n=Vl(r,e)).done;){if(i=(o=hf(sf(n.value))).next,(a=Vl(i,o)).done||(u=Vl(i,o)).done||!Vl(i,o).done)throw Tf("Expected sequence with length 2");Lf(this.entries,{key:pf(a.value),value:pf(u.value)})}else for(var c in t)of(t,c)&&Lf(this.entries,{key:c,value:pf(t[c])})},parseQuery:function(t){if(t)for(var e,r,n=Mf(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=Mf(e,"="),Lf(this.entries,{key:Vf(Bf(r)),value:Vf(Cf(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Lf(r,Qf(t.key)+"="+Qf(t.value));return Cf(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Zf=function(){rf(this,th);var t=arguments.length>0?arguments[0]:void 0,e=wf(this,new Xf(t));$l||(this.length=e.entries.length)},th=Zf.prototype;if(Xl(th,{append:function(t,e){yf(arguments.length,2);var r=xf(this);Lf(r.entries,{key:pf(t),value:pf(e)}),$l||this.length++,r.updateURL()},delete:function(t){yf(arguments.length,1);for(var e=xf(this),r=e.entries,n=pf(t),o=0;o<r.length;)r[o].key===n?Df(r,o,1):o++;$l||(this.length=r.length),e.updateURL()},get:function(t){yf(arguments.length,1);for(var e=xf(this).entries,r=pf(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){yf(arguments.length,1);for(var e=xf(this).entries,r=pf(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Lf(n,e[o].value);return n},has:function(t){yf(arguments.length,1);for(var e=xf(this).entries,r=pf(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){yf(arguments.length,1);for(var r,n=xf(this),o=n.entries,i=!1,a=pf(t),u=pf(e),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?Df(o,s--,1):(i=!0,r.value=u));i||Lf(o,{key:a,value:u}),$l||(this.length=o.length),n.updateURL()},sort:function(){var t=xf(this);mf(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=xf(this).entries,n=af(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 Kf(this,"keys")},values:function(){return new Kf(this,"values")},entries:function(){return new Kf(this,"entries")}},{enumerable:!0}),Ql(th,gf,th.entries,{name:"entries"}),Ql(th,"toString",(function(){return xf(this).serialize()}),{enumerable:!0}),$l&&Kl(th,"size",{get:function(){return xf(this).entries.length},configurable:!0,enumerable:!0}),Zl(Zf,vf),zl({global:!0,constructor:!0,forced:!Jl},{URLSearchParams:Zf}),!Jl&&nf(kf)){var eh=Yl(jf.has),rh=Yl(jf.set),nh=function(t){if(cf(t)){var e,r=t.body;if(uf(r)===vf)return e=t.headers?new kf(t.headers):new kf,eh(e,"content-type")||rh(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),lf(t,{body:ff(0,pf(r)),headers:ff(0,e)})}return t};if(nf(Rf)&&zl({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Rf(t,arguments.length>1?nh(arguments[1]):{})}}),nf(Pf)){var oh=function(t){return rf(this,Of),new Pf(t,arguments.length>1?nh(arguments[1]):{})};Of.constructor=oh,oh.prototype=Of,zl({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:oh})}}var ih,ah=Po,uh=_,sh=hp,ch=j,ph=gp,lh=$,fh=Sn,hh=Ii,dh=wp,yh=fe,mh=Np,gh=function(t){var e=nl(t),r=al(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=el(o,n>2?arguments[2]:void 0));var a,u,s,c,p,l,f=pl(e),h=0;if(!f||this===ll&&il(f))for(a=ul(e),u=r?new this(a):ll(a);a>h;h++)l=i?o(e[h],h):e[h],sl(u,h,l);else for(p=(c=cl(e,f)).next,u=r?new this:[];!(s=rl(p,c)).done;h++)l=i?ol(c,o,[s.value,h],!0):s.value,sl(u,h,l);return u.length=h,u},vh=gl,bh=_u.codeAt,wh=function(t){var e,r,n=[],o=Tl(Il(_l(t),xl,"."),".");for(e=0;e<o.length;e++)r=o[e],jl(n,El(wl,r)?"xn--"+Cl(r):r);return Ol(n,".")},xh=ea,Ah=Ks,Sh=Fl,Eh={URLSearchParams:Zf,getState:xf},Rh=tn,Ph=Rh.set,kh=Rh.getterFor("URL"),Oh=Eh.URLSearchParams,jh=Eh.getState,Ih=ch.URL,Th=ch.TypeError,_h=ch.parseInt,Nh=Math.floor,Uh=Math.pow,Ch=lh("".charAt),Lh=lh(/./.exec),Fh=lh([].join),Bh=lh(1..toString),Dh=lh([].pop),Mh=lh([].push),qh=lh("".replace),Wh=lh([].shift),Gh=lh("".split),zh=lh("".slice),Hh=lh("".toLowerCase),Vh=lh([].unshift),Yh="Invalid scheme",$h="Invalid host",Jh="Invalid port",Qh=/[a-z]/i,Kh=/[\d+-.a-z]/i,Xh=/\d/,Zh=/^0x/i,td=/^[0-7]+$/,ed=/^\d+$/,rd=/^[\da-f]+$/i,nd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,od=/[\0\t\n\r #/:<>?@[\\\]^|]/,id=/^[\u0000-\u0020]+/,ad=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ud=/[\t\n\r]/g,sd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Vh(e,t%256),t=Nh(t/256);return Fh(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+=Bh(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},cd={},pd=mh({},cd,{" ":1,'"':1,"<":1,">":1,"`":1}),ld=mh({},pd,{"#":1,"?":1,"{":1,"}":1}),fd=mh({},ld,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),hd=function(t,e){var r=bh(t,0);return r>32&&r<127&&!yh(e,t)?t:encodeURIComponent(t)},dd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},yd=function(t,e){var r;return 2==t.length&&Lh(Qh,Ch(t,0))&&(":"==(r=Ch(t,1))||!e&&"|"==r)},md=function(t){var e;return t.length>1&&yd(zh(t,0,2))&&(2==t.length||"/"===(e=Ch(t,2))||"\\"===e||"?"===e||"#"===e)},gd=function(t){return"."===t||"%2e"===Hh(t)},vd={},bd={},wd={},xd={},Ad={},Sd={},Ed={},Rd={},Pd={},kd={},Od={},jd={},Id={},Td={},_d={},Nd={},Ud={},Cd={},Ld={},Fd={},Bd={},Dd=function(t,e,r){var n,o,i,a=xh(t);if(e){if(o=this.parse(a))throw Th(o);this.searchParams=null}else{if(void 0!==r&&(n=new Dd(r,!0)),o=this.parse(a,null,n))throw Th(o);(i=jh(new Oh)).bindURL(this),this.searchParams=i}};Dd.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||vd,p=0,l="",f=!1,h=!1,d=!1;for(t=xh(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=qh(t,id,""),t=qh(t,ad,"$1")),t=qh(t,ud,""),n=gh(t);p<=n.length;){switch(o=n[p],c){case vd:if(!o||!Lh(Qh,o)){if(e)return Yh;c=wd;continue}l+=Hh(o),c=bd;break;case bd:if(o&&(Lh(Kh,o)||"+"==o||"-"==o||"."==o))l+=Hh(o);else{if(":"!=o){if(e)return Yh;l="",c=wd,p=0;continue}if(e&&(s.isSpecial()!=yh(dd,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&dd[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?c=Td:s.isSpecial()&&r&&r.scheme==s.scheme?c=xd:s.isSpecial()?c=Rd:"/"==n[p+1]?(c=Ad,p++):(s.cannotBeABaseURL=!0,Mh(s.path,""),c=Ld)}break;case wd:if(!r||r.cannotBeABaseURL&&"#"!=o)return Yh;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=vh(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Bd;break}c="file"==r.scheme?Td:Sd;continue;case xd:if("/"!=o||"/"!=n[p+1]){c=Sd;continue}c=Pd,p++;break;case Ad:if("/"==o){c=kd;break}c=Cd;continue;case Sd:if(s.scheme=r.scheme,o==ih)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vh(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())c=Ed;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vh(r.path),s.query="",c=Fd;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vh(r.path),s.path.length--,c=Cd;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vh(r.path),s.query=r.query,s.fragment="",c=Bd}break;case Ed:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=Cd;continue}c=kd}else c=Pd;break;case Rd:if(c=Pd,"/"!=o||"/"!=Ch(l,p+1))continue;p++;break;case Pd:if("/"!=o&&"\\"!=o){c=kd;continue}break;case kd:if("@"==o){f&&(l="%40"+l),f=!0,i=gh(l);for(var y=0;y<i.length;y++){var m=i[y];if(":"!=m||d){var g=hd(m,fd);d?s.password+=g:s.username+=g}else d=!0}l=""}else if(o==ih||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(f&&""==l)return"Invalid authority";p-=gh(l).length+1,l="",c=Od}else l+=o;break;case Od:case jd:if(e&&"file"==s.scheme){c=Nd;continue}if(":"!=o||h){if(o==ih||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==l)return $h;if(e&&""==l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=Ud,e)return;continue}"["==o?h=!0:"]"==o&&(h=!1),l+=o}else{if(""==l)return $h;if(a=s.parseHost(l))return a;if(l="",c=Id,e==jd)return}break;case Id:if(!Lh(Xh,o)){if(o==ih||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||e){if(""!=l){var v=_h(l,10);if(v>65535)return Jh;s.port=s.isSpecial()&&v===dd[s.scheme]?null:v,l=""}if(e)return;c=Ud;continue}return Jh}l+=o;break;case Td:if(s.scheme="file","/"==o||"\\"==o)c=_d;else{if(!r||"file"!=r.scheme){c=Cd;continue}if(o==ih)s.host=r.host,s.path=vh(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=vh(r.path),s.query="",c=Fd;else{if("#"!=o){md(Fh(vh(n,p),""))||(s.host=r.host,s.path=vh(r.path),s.shortenPath()),c=Cd;continue}s.host=r.host,s.path=vh(r.path),s.query=r.query,s.fragment="",c=Bd}}break;case _d:if("/"==o||"\\"==o){c=Nd;break}r&&"file"==r.scheme&&!md(Fh(vh(n,p),""))&&(yd(r.path[0],!0)?Mh(s.path,r.path[0]):s.host=r.host),c=Cd;continue;case Nd:if(o==ih||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&yd(l))c=Cd;else if(""==l){if(s.host="",e)return;c=Ud}else{if(a=s.parseHost(l))return a;if("localhost"==s.host&&(s.host=""),e)return;l="",c=Ud}continue}l+=o;break;case Ud:if(s.isSpecial()){if(c=Cd,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=ih&&(c=Cd,"/"!=o))continue}else s.fragment="",c=Bd;else s.query="",c=Fd;break;case Cd:if(o==ih||"/"==o||"\\"==o&&s.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(u=Hh(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||Mh(s.path,"")):gd(l)?"/"==o||"\\"==o&&s.isSpecial()||Mh(s.path,""):("file"==s.scheme&&!s.path.length&&yd(l)&&(s.host&&(s.host=""),l=Ch(l,0)+":"),Mh(s.path,l)),l="","file"==s.scheme&&(o==ih||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)Wh(s.path);"?"==o?(s.query="",c=Fd):"#"==o&&(s.fragment="",c=Bd)}else l+=hd(o,ld);break;case Ld:"?"==o?(s.query="",c=Fd):"#"==o?(s.fragment="",c=Bd):o!=ih&&(s.path[0]+=hd(o,cd));break;case Fd:e||"#"!=o?o!=ih&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":hd(o,cd)):(s.fragment="",c=Bd);break;case Bd:o!=ih&&(s.fragment+=hd(o,pd))}p++}},parseHost:function(t){var e,r,n;if("["==Ch(t,0)){if("]"!=Ch(t,t.length-1))return $h;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,p=null,l=0,f=function(){return Ch(t,l)};if(":"==f()){if(":"!=Ch(t,1))return;l+=2,p=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=r=0;r<4&&Lh(rd,f());)e=16*e+_h(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."==f()&&n<4))return;l++}if(!Lh(Xh,f()))return;for(;Lh(Xh,f());){if(i=_h(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;s[c++]=e}else{if(null!==p)return;l++,p=++c}}if(null!==p)for(a=c-p,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[p+a-1],s[p+--a]=u;else if(8!=c)return;return s}(zh(t,1,-1)),!e)return $h;this.host=e}else if(this.isSpecial()){if(t=wh(t),Lh(nd,t))return $h;if(e=function(t){var e,r,n,o,i,a,u,s=Gh(t,".");if(s.length&&""==s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==Ch(o,0)&&(i=Lh(Zh,o)?16:8,o=zh(o,8==i?1:2)),""===o)a=0;else{if(!Lh(10==i?ed:8==i?td:rd,o))return t;a=_h(o,i)}Mh(r,a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Uh(256,5-e))return null}else if(a>255)return null;for(u=Dh(r),n=0;n<r.length;n++)u+=r[n]*Uh(256,3-n);return u}(t),null===e)return $h;this.host=e}else{if(Lh(od,t))return $h;for(e="",r=gh(t),n=0;n<r.length;n++)e+=hd(r[n],cd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return yh(dd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&yd(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,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=sd(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Fh(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw Th(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Md(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+sd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(xh(t)+":",vd)},getUsername:function(){return this.username},setUsername:function(t){var e=gh(xh(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=hd(e[r],fd)}},getPassword:function(){return this.password},setPassword:function(t){var e=gh(xh(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=hd(e[r],fd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?sd(t):sd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Od)},getHostname:function(){var t=this.host;return null===t?"":sd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,jd)},getPort:function(){var t=this.port;return null===t?"":xh(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=xh(t))?this.port=null:this.parse(t,Id))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Fh(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ud))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=xh(t))?this.query=null:("?"==Ch(t,0)&&(t=zh(t,1)),this.query="",this.parse(t,Fd)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=xh(t))?("#"==Ch(t,0)&&(t=zh(t,1)),this.fragment="",this.parse(t,Bd)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Md=function(t){var e=dh(this,qd),r=Sh(arguments.length,1)>1?arguments[1]:void 0,n=Ph(e,new Dd(t,!1,r));uh||(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())},qd=Md.prototype,Wd=function(t,e){return{get:function(){return kh(this)[t]()},set:e&&function(t){return kh(this)[e](t)},configurable:!0,enumerable:!0}};if(uh&&(hh(qd,"href",Wd("serialize","setHref")),hh(qd,"origin",Wd("getOrigin")),hh(qd,"protocol",Wd("getProtocol","setProtocol")),hh(qd,"username",Wd("getUsername","setUsername")),hh(qd,"password",Wd("getPassword","setPassword")),hh(qd,"host",Wd("getHost","setHost")),hh(qd,"hostname",Wd("getHostname","setHostname")),hh(qd,"port",Wd("getPort","setPort")),hh(qd,"pathname",Wd("getPathname","setPathname")),hh(qd,"search",Wd("getSearch","setSearch")),hh(qd,"searchParams",Wd("getSearchParams")),hh(qd,"hash",Wd("getHash","setHash"))),fh(qd,"toJSON",(function(){return kh(this).serialize()}),{enumerable:!0}),fh(qd,"toString",(function(){return kh(this).serialize()}),{enumerable:!0}),Ih){var Gd=Ih.createObjectURL,zd=Ih.revokeObjectURL;Gd&&fh(Md,"createObjectURL",ph(Gd,Ih)),zd&&fh(Md,"revokeObjectURL",ph(zd,Ih))}Ah(Md,"URL"),ah({global:!0,constructor:!0,forced:!sh,sham:!uh},{URL:Md});var Hd=gp,Vd=nt,Yd=ce,$d=Fn,Jd=ci,Qd=$([].push),Kd=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(s,c,p,l){for(var f,h,d=Yd(s),y=Vd(d),m=Hd(c,p),g=$d(y),v=0,b=l||Jd,w=e?b(s,g):r||a?b(s,0):void 0;g>v;v++)if((u||v in y)&&(h=m(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:Qd(w,f)}else switch(t){case 4:return!1;case 7:Qd(w,f)}return i?-1:n||o?o:w}},Xd={forEach:Kd(0),map:Kd(1),filter:Kd(2),some:Kd(3),every:Kd(4),find:Kd(5),findIndex:Kd(6),filterReject:Kd(7)},Zd=Xd.map;Po({target:"Array",proto:!0,forced:!hi("map")},{map:function(t){return Zd(this,t,arguments.length>1?arguments[1]:void 0)}});var ty=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")},ey=["endpointName"],ry=function(){function t(e,r){s(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,ey);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 ty(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),ny=["preview"],oy=["preview"],iy=["preview"],ay=["preview"],uy=["preview"],sy=["preview"],cy=["preview"],py=["preview"],ly=["preview"],fy=["preview"],hy=["preview"],dy=["preview"],yy=["preview"],my=["preview"],gy=function(){function t(e,r){s(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,ny),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,oy),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,iy),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,u,s,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 u=this.buildPathWithGuestSpaceId({endpointName:"space"}),t.next=6,this.client.get(u,{id:i});case 6:return s=t.sent,c=s.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,ay),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,uy),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,sy),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,cy),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,py),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,ly),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,fy),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,hy),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,dy),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,yy),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,my),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 ty(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),vy=Np;Po({target:"Object",stat:!0,arity:2,forced:Object.assign!==vy},{assign:vy});var by=L,wy=or,xy=ot,Ay=Cn,Sy=ea,Ey=ut,Ry=Yt,Py=Uu,ky=Ju;Su("match",(function(t,e,r){return[function(e){var r=Ey(this),n=xy(e)?void 0:Ry(e,t);return n?by(n,e,r):new RegExp(e)[t](Sy(r))},function(t){var n=wy(this),o=Sy(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return ky(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=ky(n,o));){var p=Sy(u[0]);s[c]=p,""===p&&(n.lastIndex=Py(o,Ay(n.lastIndex),a)),c++}return 0===c?null:s}]}));var Oy=j,jy=dt,Iy=gt,Ty=Yi,_y=$(1..valueOf),Ny=ut,Uy=ea,Cy="\t\n\v\f\r                 \u2028\u2029\ufeff",Ly=$("".replace),Fy=RegExp("^["+Cy+"]+"),By=RegExp("(^|[^"+Cy+"])["+Cy+"]+$"),Dy=function(t){return function(e){var r=Uy(Ny(e));return 1&t&&(r=Ly(r,Fy,"")),2&t&&(r=Ly(r,By,"$1")),r}},My={start:Dy(1),end:Dy(2),trim:Dy(3)},qy=Po,Wy=_,Gy=j,zy=Oy,Hy=$,Vy=vo,Yy=fe,$y=function(t,e,r){var n,o;return Ty&&jy(n=e.constructor)&&n!==r&&Iy(o=n.prototype)&&o!==r.prototype&&Ty(t,o),t},Jy=At,Qy=Bt,Ky=Ue,Xy=T,Zy=En.f,tm=I.f,em=Ze.f,rm=_y,nm=My.trim,om="Number",im=Gy.Number;zy.Number;var am=im.prototype,um=Gy.TypeError,sm=Hy("".slice),cm=Hy("".charCodeAt),pm=function(t){var e=Ky(t,"number");return"bigint"==typeof e?e:lm(e)},lm=function(t){var e,r,n,o,i,a,u,s,c=Ky(t,"number");if(Qy(c))throw um("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=nm(c),43===(e=cm(c,0))||45===e){if(88===(r=cm(c,2))||120===r)return NaN}else if(48===e){switch(cm(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=sm(c,2)).length,u=0;u<a;u++)if((s=cm(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c},fm=Vy(om,!im(" 0o1")||!im("0b1")||im("+0x1")),hm=function(t){return Jy(am,t)&&Xy((function(){rm(t)}))},dm=function(t){var e=arguments.length<1?0:im(pm(t));return hm(this)?$y(Object(e),this,dm):e};dm.prototype=am,fm&&(am.constructor=dm),qy({global:!0,constructor:!0,wrap:!0,forced:fm},{Number:dm});fm&&function(t,e){for(var r,n=Wy?Zy(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++)Yy(e,r=n[o])&&!Yy(t,r)&&em(t,r,tm(e,r))}(zy.Number,im);var ym=T,mm=function(t,e){var r=[][t];return!!r&&ym((function(){r.call(null,e||function(){return 1},1)}))},gm=Po,vm=Wn.indexOf,bm=mm,wm=du([].indexOf),xm=!!wm&&1/wm([1],1,-0)<0;gm({target:"Array",proto:!0,forced:xm||!bm("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return xm?wm(this,t,e)||0:vm(this,t,e)}});var Am=Xd.every;Po({target:"Array",proto:!0,forced:!mm("every")},{every:function(t){return Am(this,t,arguments.length>1?arguments[1]:void 0)}}),Po({target:"Array",stat:!0},{isArray:Oo});var Sm=$([].slice),Em=Po,Rm=Oo,Pm=ri,km=gt,Om=_n,jm=Fn,Im=pt,Tm=No,_m=Pe,Nm=Sm,Um=hi("slice"),Cm=_m("species"),Lm=Array,Fm=Math.max;Em({target:"Array",proto:!0,forced:!Um},{slice:function(t,e){var r,n,o,i=Im(this),a=jm(i),u=Om(t,a),s=Om(void 0===e?a:e,a);if(Rm(i)&&(r=i.constructor,(Pm(r)&&(r===Lm||Rm(r.prototype))||km(r)&&null===(r=r[Cm]))&&(r=void 0),r===Lm||void 0===r))return Nm(i,u,s);for(n=new(void 0===r?Lm:r)(Fm(s-u,0)),o=0;u<s;u++,o++)u in i&&Tm(n,o,i[u]);return n.length=o,n}});var Bm=zt,Dm=ce,Mm=nt,qm=Fn,Wm=TypeError,Gm=function(t){return function(e,r,n,o){Bm(r);var i=Dm(e),a=Mm(i),u=qm(i),s=t?u-1:0,c=t?-1:1;if(n<2)for(;;){if(s in a){o=a[s],s+=c;break}if(s+=c,t?s<0:u<=s)throw Wm("Reduce of empty array with no initial value")}for(;t?s>=0:u>s;s+=c)s in a&&(o=r(o,a[s],s,i));return o}},zm={left:Gm(!1),right:Gm(!0)},Hm="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Vm(){throw new Error("setTimeout has not been defined")}function Ym(){throw new Error("clearTimeout has not been defined")}var $m=Vm,Jm=Ym;function Qm(t){if($m===setTimeout)return setTimeout(t,0);if(($m===Vm||!$m)&&setTimeout)return $m=setTimeout,setTimeout(t,0);try{return $m(t,0)}catch(e){try{return $m.call(null,t,0)}catch(e){return $m.call(this,t,0)}}}"function"==typeof Hm.setTimeout&&($m=setTimeout),"function"==typeof Hm.clearTimeout&&(Jm=clearTimeout);var Km,Xm=[],Zm=!1,tg=-1;function eg(){Zm&&Km&&(Zm=!1,Km.length?Xm=Km.concat(Xm):tg=-1,Xm.length&&rg())}function rg(){if(!Zm){var t=Qm(eg);Zm=!0;for(var e=Xm.length;e;){for(Km=Xm,Xm=[];++tg<e;)Km&&Km[tg].run();tg=-1,e=Xm.length}Km=null,Zm=!1,function(t){if(Jm===clearTimeout)return clearTimeout(t);if((Jm===Ym||!Jm)&&clearTimeout)return Jm=clearTimeout,clearTimeout(t);try{Jm(t)}catch(e){try{return Jm.call(null,t)}catch(e){return Jm.call(this,t)}}}(t)}}function ng(t,e){this.fun=t,this.array=e}ng.prototype.run=function(){this.fun.apply(null,this.array)};function og(){}var ig=og,ag=og,ug=og,sg=og,cg=og,pg=og,lg=og;var fg=Hm.performance||{},hg=fg.now||fg.mozNow||fg.msNow||fg.oNow||fg.webkitNow||function(){return(new Date).getTime()};var dg=new Date;var yg={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Xm.push(new ng(t,e)),1!==Xm.length||Zm||Qm(rg)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ig,addListener:ag,once:ug,off:sg,removeListener:cg,removeAllListeners:pg,emit:lg,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*hg.call(fg),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-dg)/1e3}},mg=void 0!==yg&&"process"==X(yg),gg=zm.left;Po({target:"Array",proto:!0,forced:!mg&&jt>79&&jt<83||!mm("reduce")},{reduce:function(t){var e=arguments.length;return gg(this,t,e,e>1?arguments[1]:void 0)}});var vg=Xd.forEach,bg=mm("forEach")?[].forEach:function(t){return vg(this,t,arguments.length>1?arguments[1]:void 0)};Po({target:"Array",proto:!0,forced:[].forEach!=bg},{forEach:bg});var wg=j,xg=Jc,Ag=Xc,Sg=bg,Eg=vr,Rg=function(t){if(t&&t.forEach!==Sg)try{Eg(t,"forEach",Sg)}catch(e){t.forEach=Sg}};for(var Pg in xg)xg[Pg]&&Rg(wg[Pg]&&wg[Pg].prototype);Rg(Ag);var kg=ce,Og=fa;Po({target:"Object",stat:!0,forced:T((function(){Og(1)}))},{keys:function(t){return Og(kg(t))}});var jg,Ig=function(t){f(r,t);var e=x(r);function r(t,n,o,i,a){var u;s(this,r);var c=o-n.length,p=r.extractErrorIndex(c,i,a),l=r.buildErrorMessage(c,o,p);return(u=e.call(this,l)).name="KintoneAllRecordsError",u.processedRecordsResult=t,u.unprocessedRecords=n,u.error=i,u.errorIndex=p,u.message=l,u.numOfProcessedRecords=c,u.numOfAllRecords=o,Object.setPrototypeOf(b(u),r.prototype),u}return p(r,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,e,n){if(void 0!==e.bulkRequestIndex&&e.errors){var o=r.parseErrorIndex(e.errors);if(null!==o)return t+e.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")}}]),r}(g(Error)),Tg=["condition","orderBy","withCursor"],_g=["fields"],Ng=["condition"],Ug=["condition","orderBy"],Cg=function(){function t(e,r,n){s(this,t),this.client=e,this.bulkRequestClient=r,this.guestSpaceId=n,this.didWarnMaximumOffsetValue=!1}var e,r,i,a,c,f,h,d,y,m,g,b,w,x,S,E,R,P;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:(P=u(o().mark((function t(e){var r,n,i,a,u,s,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,!((u=a.records).length>0)){t.next=13;break}if("__ID__"!==u[0].$id.type){t.next=12;break}return t.next=9,this.updateRecord(e);case 9:return s=t.sent,c=s.revision,t.abrupt("return",{id:u[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,l({},n.field,{value:n.value}))}));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return P.apply(this,arguments)})},{key:"getRecords",value:(R=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 R.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:(E=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 E.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:(S=u(o().mark((function t(e){var r,i,a,u,s,c,p;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.condition,i=e.orderBy,a=e.withCursor,u=void 0===a||a,s=v(e,Tg),i){t.next=3;break}return t.abrupt("return",this.getAllRecordsWithId(n(n({},s),{},{condition:r})));case 3:if(!u){t.next=7;break}return c=r?"".concat(r," "):"",p="".concat(c).concat(i?"order by ".concat(i):""),t.abrupt("return",this.getAllRecordsWithCursor(n(n({},s),{},{query:p})));case 7:return t.abrupt("return",this.getAllRecordsWithOffset(n(n({},s),{},{orderBy:i,condition:r})));case 8:case"end":return t.stop()}}),t,this)}))),function(t){return S.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(x=u(o().mark((function t(e){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.fields,i=v(e,_g),(a=r)&&a.length>0&&-1===a.indexOf("$id")&&(a=[].concat(A(a),["$id"])),t.abrupt("return",this.getAllRecordsRecursiveWithId(n(n({},i),{},{fields:a}),"0",[]));case 4:case"end":return t.stop()}}),t,this)}))),function(t){return x.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithId",value:(w=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=v(e,Ng),c=u?"(".concat(u,") and "):"",p="".concat(c,"$id > ").concat(r," order by $id asc limit ").concat(a),t.next=6,this.getRecords(n(n({},s),{},{query:p}));case 6:if(l=t.sent,f=i.concat(l.records),!(l.records.length<a)){t.next=10;break}return t.abrupt("return",f);case 10:if("__ID__"!==(h=l.records[l.records.length-1]).$id.type){t.next=14;break}return d=h.$id.value,t.abrupt("return",this.getAllRecordsRecursiveWithId(e,d,f));case 14: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 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return w.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(b=u(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,0,[]));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getAllRecordsRecursiveWithOffset",value:(g=u(o().mark((function t(e,r,i){var a,u,s,c,p,l,f,h;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=500,u=e.condition,s=e.orderBy,c=v(e,Ug),p=u?"".concat(u," "):"",l="".concat(p).concat(s?"order by ".concat(s," "):"","limit ").concat(a," offset ").concat(r),t.next=6,this.getRecords(n(n({},c),{},{query:l}));case 6:if(f=t.sent,h=i.concat(f.records),!(f.records.length<a)){t.next=10;break}return t.abrupt("return",h);case 10:return t.abrupt("return",this.getAllRecordsRecursiveWithOffset(e,r+a,h));case 11:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return g.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(m=u(o().mark((function t(e){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.createCursor(e);case 2:return r=t.sent,n=r.id,t.prev=4,t.next=7,this.getAllRecordsRecursiveByCursor(n,[]);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),t.next=14,this.deleteCursor({id:n});case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[4,10]])}))),function(t){return m.apply(this,arguments)})},{key:"getAllRecordsRecursiveByCursor",value:(y=u(o().mark((function t(e,r){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRecordsByCursor({id:e});case 2:if(n=t.sent,i=r.concat(n.records),!n.next){t.next=6;break}return t.abrupt("return",this.getAllRecordsRecursiveByCursor(e,i));case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){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,u,s,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,u=e.records,0!==(s=u.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:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ig({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.addAllRecordsRecursive({app:a,records:u.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:(f=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 f.apply(this,arguments)})},{key:"updateAllRecords",value:(c=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 c.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(a=u(o().mark((function t(e,r,n){var i,a,u,s,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,u=e.records,0!==(s=u.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:s});case 8:c=t.sent,t.next=14;break;case 11:throw t.prev=11,t.t0=t.catch(5),new Ig({records:n},u,r,t.t0,100);case 14:return t.abrupt("return",this.updateAllRecordsRecursive({app:a,records:u.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,u;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!==(u=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:u});case 8:t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(5),new Ig({},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(A(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 ty(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Lg="object"==typeof self?self.FormData:window.FormData,Fg=function(){function t(e,r){s(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,u,s,c,p,l,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),i=new Lg,!("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,u=a.name,s=a.data,i.append("file",s,u),t.next=17;break;case 12:if(t.prev=12,t.t0=t.catch(3),!(t.t0 instanceof $i)){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,p=c.name,l=c.data,f=e.buildFormDataValue(l,p),i.append("file",f,p);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 ty(n(n({},t),{},{guestSpaceId:this.guestSpaceId}))}}]),t}(),Bg={},Dg={get exports(){return Bg},set exports(t){Bg=t}},Mg={},qg={get exports(){return Mg},set exports(t){Mg=t}},Wg=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},Gg=Wg,zg=Object.prototype.toString,Hg=(jg=Object.create(null),function(t){var e=zg.call(t);return jg[e]||(jg[e]=e.slice(8,-1).toLowerCase())});function Vg(t){return t=t.toLowerCase(),function(e){return Hg(e)===t}}function Yg(t){return Array.isArray(t)}function $g(t){return void 0===t}var Jg=Vg("ArrayBuffer");function Qg(t){return null!==t&&"object"==typeof t}function Kg(t){if("object"!==Hg(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Xg=Vg("Date"),Zg=Vg("File"),tv=Vg("Blob"),ev=Vg("FileList");function rv(t){return"[object Function]"===zg.call(t)}var nv=Vg("URLSearchParams");function ov(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),Yg(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var iv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),av={isArray:Yg,isArrayBuffer:Jg,isBuffer:function(t){return null!==t&&!$g(t)&&null!==t.constructor&&!$g(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||zg.call(t)===e||rv(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Jg(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:Qg,isPlainObject:Kg,isUndefined:$g,isDate:Xg,isFile:Zg,isBlob:tv,isFunction:rv,isStream:function(t){return Qg(t)&&rv(t.pipe)},isURLSearchParams:nv,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:ov,merge:function t(){var e={};function r(r,n){Kg(e[n])&&Kg(r)?e[n]=t(e[n],r):Kg(r)?e[n]=t({},r):Yg(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)ov(arguments[n],r);return e},extend:function(t,e,r){return ov(e,(function(e,n){t[n]=r&&"function"==typeof e?Gg(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,a={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)a[i=n[o]]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Hg,kindOfTest:Vg,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if($g(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:iv,isFileList:ev},uv=av;function sv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var cv=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(uv.isURLSearchParams(e))n=e.toString();else{var o=[];uv.forEach(e,(function(t,e){null!=t&&(uv.isArray(t)?e+="[]":t=[t],uv.forEach(t,(function(t){uv.isDate(t)?t=t.toISOString():uv.isObject(t)&&(t=JSON.stringify(t)),o.push(sv(e)+"="+sv(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t},pv=av;function lv(){this.handlers=[]}lv.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},lv.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},lv.prototype.forEach=function(t){pv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var fv,hv,dv=lv,yv=av;function mv(){if(hv)return fv;hv=1;var t=av;function e(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}t.inherits(e,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=e.prototype,n={};return["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"].forEach((function(t){n[t]={value:t}})),Object.defineProperties(e,n),Object.defineProperty(r,"isAxiosError",{value:!0}),e.from=function(n,o,i,a,u,s){var c=Object.create(r);return t.toFlatObject(n,c,(function(t){return t!==Error.prototype})),e.call(c,n.message,o,i,a,u),c.name=n.name,s&&Object.assign(c,s),c},fv=e}var gv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vv=[],bv=[],wv="undefined"!=typeof Uint8Array?Uint8Array:Array,xv=!1;function Av(){xv=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)vv[e]=t[e],bv[t.charCodeAt(e)]=e;bv["-".charCodeAt(0)]=62,bv["_".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(vv[(o=n)>>18&63]+vv[o>>12&63]+vv[o>>6&63]+vv[63&o]);return i.join("")}function Ev(t){var e;xv||Av();for(var r=t.length,n=r%3,o="",i=[],a=16383,u=0,s=r-n;u<s;u+=a)i.push(Sv(t,u,u+a>s?s:u+a));return 1===n?(e=t[r-1],o+=vv[e>>2],o+=vv[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=vv[e>>10],o+=vv[e>>4&63],o+=vv[e<<2&63],o+="="),i.push(o),i.join("")}function Rv(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,p=-7,l=r?o-1:0,f=r?-1:1,h=t[e+l];for(l+=f,i=h&(1<<-p)-1,h>>=-p,p+=u;p>0;i=256*i+t[e+l],l+=f,p-=8);for(a=i&(1<<-p)-1,i>>=-p,p+=n;p>0;a=256*a+t[e+l],l+=f,p-=8);if(0===i)i=1-c;else{if(i===s)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 Pv(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,p=(1<<c)-1,l=p>>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?(u=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?f/s:f*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=p?(u=0,a=p):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}var kv={}.toString,Ov=Array.isArray||function(t){return"[object Array]"==kv.call(t)};function jv(){return Tv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Iv(t,e){if(jv()<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 Uv(this,t)}return _v(this,t,e,r)}function _v(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=Cv(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|Bv(e,r),o=(t=Iv(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Fv(e)){var r=0|Lv(e.length);return 0===(t=Iv(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?Iv(t,0):Cv(t,e);if("Buffer"===e.type&&Ov(e.data))return Cv(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Nv(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 Uv(t,e){if(Nv(e),t=Iv(t,e<0?0:0|Lv(e)),!Tv.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function Cv(t,e){var r=e.length<0?0:0|Lv(e.length);t=Iv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Lv(t){if(t>=jv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+jv().toString(16)+" bytes");return 0|t}function Fv(t){return!(null==t||!t._isBuffer)}function Bv(t,e){if(Fv(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 gb(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return vb(t).length;default:if(n)return gb(t).length;e=(""+e).toLowerCase(),n=!0}}function Dv(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 tb(this,e,r);case"utf8":case"utf-8":return Qv(this,e,r);case"ascii":return Xv(this,e,r);case"latin1":case"binary":return Zv(this,e,r);case"base64":return Jv(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eb(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Mv(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)),Fv(e))return 0===e.length?-1:Wv(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):Wv(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Wv(t,e,r,n,o){var i,a=1,u=t.length,s=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,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var p=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===p?0:i-p)){if(-1===p&&(p=i),i-p+1===s)return p*a}else-1!==p&&(i-=i-p),p=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,f=0;f<s;f++)if(c(t,i+f)!==c(e,f)){l=!1;break}if(l)return i}return-1}function Gv(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 u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function zv(t,e,r,n){return bb(gb(e,t.length-r),t,r,n)}function Hv(t,e,r,n){return bb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Vv(t,e,r,n){return Hv(t,e,r,n)}function Yv(t,e,r,n){return bb(vb(e),t,r,n)}function $v(t,e,r,n){return bb(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 Jv(t,e,r){return 0===e&&r===t.length?Ev(t):Ev(t.slice(e,r))}function Qv(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],p=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(p=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(p=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(p=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(p=s)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),o+=l}return function(t){var e=t.length;if(e<=Kv)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Kv));return r}(n)}Tv.TYPED_ARRAY_SUPPORT=void 0===Hm.TYPED_ARRAY_SUPPORT||Hm.TYPED_ARRAY_SUPPORT,jv(),Tv.poolSize=8192,Tv._augment=function(t){return t.__proto__=Tv.prototype,t},Tv.from=function(t,e,r){return _v(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 Nv(e),e<=0?Iv(t,e):void 0!==r?"string"==typeof n?Iv(t,e).fill(r,n):Iv(t,e).fill(r):Iv(t,e)}(null,t,e,r)},Tv.allocUnsafe=function(t){return Uv(null,t)},Tv.allocUnsafeSlow=function(t){return Uv(null,t)},Tv.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))},Tv.compare=function(t,e){if(!Fv(t)||!Fv(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(!Ov(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(!Fv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Tv.byteLength=Bv,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)Mv(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)Mv(this,e,e+3),Mv(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)Mv(this,e,e+7),Mv(this,e+1,e+6),Mv(this,e+2,e+5),Mv(this,e+3,e+4);return this},Tv.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Qv(this,0,t):Dv.apply(this,arguments)},Tv.prototype.equals=function(t){if(!Fv(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(!Fv(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),u=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),p=0;p<u;++p)if(s[p]!==c[p]){i=s[p],a=c[p];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 Gv(this,t,e,r);case"utf8":case"utf-8":return zv(this,t,e,r);case"ascii":return Hv(this,t,e,r);case"latin1":case"binary":return Vv(this,t,e,r);case"base64":return Yv(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $v(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 Kv=4096;function Xv(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 Zv(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 tb(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+=mb(t[i]);return o}function eb(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 rb(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 nb(t,e,r,n,o,i){if(!Fv(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 ob(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 ib(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 ab(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||ab(t,0,r,4),Pv(t,e,r,n,23,4),r+4}function sb(t,e,r,n,o){return o||ab(t,0,r,8),Pv(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||rb(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||rb(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||rb(t,1,this.length),this[t]},Tv.prototype.readUInt16LE=function(t,e){return e||rb(t,2,this.length),this[t]|this[t+1]<<8},Tv.prototype.readUInt16BE=function(t,e){return e||rb(t,2,this.length),this[t]<<8|this[t+1]},Tv.prototype.readUInt32LE=function(t,e){return e||rb(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||rb(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||rb(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||rb(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||rb(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Tv.prototype.readInt16LE=function(t,e){e||rb(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||rb(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||rb(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||rb(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||rb(t,4,this.length),Rv(this,t,!0,23,4)},Tv.prototype.readFloatBE=function(t,e){return e||rb(t,4,this.length),Rv(this,t,!1,23,4)},Tv.prototype.readDoubleLE=function(t,e){return e||rb(t,8,this.length),Rv(this,t,!0,52,8)},Tv.prototype.readDoubleBE=function(t,e){return e||rb(t,8,this.length),Rv(this,t,!1,52,8)},Tv.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||nb(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)||nb(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||nb(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||nb(this,t,e,2,65535,0),Tv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ob(this,t,e,!0),e+2},Tv.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||nb(this,t,e,2,65535,0),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ob(this,t,e,!1),e+2},Tv.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||nb(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):ib(this,t,e,!0),e+4},Tv.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||nb(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):ib(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);nb(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&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);nb(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},Tv.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||nb(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||nb(this,t,e,2,32767,-32768),Tv.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ob(this,t,e,!0),e+2},Tv.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||nb(this,t,e,2,32767,-32768),Tv.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ob(this,t,e,!1),e+2},Tv.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||nb(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):ib(this,t,e,!0),e+4},Tv.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||nb(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):ib(this,t,e,!1),e+4},Tv.prototype.writeFloatLE=function(t,e,r){return ub(this,t,e,!0,r)},Tv.prototype.writeFloatBE=function(t,e,r){return ub(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=Fv(t)?t:gb(new Tv(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var cb,pb,lb,fb,hb,db,yb=/[^+\/0-9A-Za-z-_]/g;function mb(t){return t<16?"0"+t.toString(16):t.toString(16)}function gb(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 vb(t){return function(t){var e,r,n,o,i,a;xv||Av();var u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,a=new wv(3*u/4-i),n=i>0?u-4:u;var s=0;for(e=0,r=0;e<n;e+=4,r+=3)o=bv[t.charCodeAt(e)]<<18|bv[t.charCodeAt(e+1)]<<12|bv[t.charCodeAt(e+2)]<<6|bv[t.charCodeAt(e+3)],a[s++]=o>>16&255,a[s++]=o>>8&255,a[s++]=255&o;return 2===i?(o=bv[t.charCodeAt(e)]<<2|bv[t.charCodeAt(e+1)]>>4,a[s++]=255&o):1===i&&(o=bv[t.charCodeAt(e)]<<10|bv[t.charCodeAt(e+1)]<<4|bv[t.charCodeAt(e+2)]>>2,a[s++]=o>>8&255,a[s++]=255&o),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(yb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function bb(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 xb(){if(pb)return cb;pb=1;var t=av;return cb=function(e,r){r=r||new FormData;var n=[];function o(e){return null===e?"":t.isDate(e)?e.toISOString():t.isArrayBuffer(e)||t.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Tv.from(e):e}return function e(i,a){if(t.isPlainObject(i)||t.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),t.forEach(i,(function(n,i){if(!t.isUndefined(n)){var u,s=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(t.endsWith(i,"{}"))n=JSON.stringify(n);else if(t.endsWith(i,"[]")&&(u=t.toArray(n)))return void u.forEach((function(e){!t.isUndefined(e)&&r.append(s,o(e))}));e(n,s)}})),n.pop()}else r.append(a,o(i))}(e),r},cb}function Ab(){if(fb)return lb;fb=1;var t=mv();return lb=function(e,r,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?r(new t("Request failed with status code "+n.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}}function Sb(){if(db)return hb;db=1;var t=av;return hb=t.isStandardBrowserEnv()?{write:function(e,r,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(r)),t.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},hb}var Eb,Rb,Pb,kb,Ob,jb,Ib,Tb,_b,Nb,Ub,Cb,Lb=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Fb=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},Bb=function(t,e){return t&&!Lb(e)?Fb(t,e):e};function Db(){if(Rb)return Eb;Rb=1;var t=av,e=["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"];return Eb=function(r){var n,o,i,a={};return r?(t.forEach(r.split("\n"),(function(r){if(i=r.indexOf(":"),n=t.trim(r.substr(0,i)).toLowerCase(),o=t.trim(r.substr(i+1)),n){if(a[n]&&e.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([o]):a[n]?a[n]+", "+o:o}})),a):a}}function Mb(){if(kb)return Pb;kb=1;var t=av;return Pb=t.isStandardBrowserEnv()?function(){var e,r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var e=t;return r&&(n.setAttribute("href",e),e=n.href),n.setAttribute("href",e),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(r){var n=t.isString(r)?o(r):r;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}}function qb(){if(jb)return Ob;jb=1;var t=mv();function e(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return av.inherits(e,t,{__CANCEL__:!0}),Ob=e}function Wb(){return Tb||(Tb=1,Ib=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),Ib}function Gb(){if(Nb)return _b;Nb=1;var t=av,e=Ab(),r=Sb(),n=cv,o=Bb,i=Db(),a=Mb(),u=gv,s=mv(),c=qb(),p=Wb();return _b=function(l){return new Promise((function(f,h){var d,y=l.data,m=l.headers,g=l.responseType;function v(){l.cancelToken&&l.cancelToken.unsubscribe(d),l.signal&&l.signal.removeEventListener("abort",d)}t.isFormData(y)&&t.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(l.auth){var w=l.auth.username||"",x=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+x)}var A=o(l.baseURL,l.url);function S(){if(b){var t="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,r={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:t,config:l,request:b};e((function(t){f(t),v()}),(function(t){h(t),v()}),r),b=null}}if(b.open(l.method.toUpperCase(),n(A,l.params,l.paramsSerializer),!0),b.timeout=l.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(h(new s("Request aborted",s.ECONNABORTED,l,b)),b=null)},b.onerror=function(){h(new s("Network Error",s.ERR_NETWORK,l,b,b)),b=null},b.ontimeout=function(){var t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",e=l.transitional||u;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),h(new s(t,e.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,l,b)),b=null},t.isStandardBrowserEnv()){var E=(l.withCredentials||a(A))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;E&&(m[l.xsrfHeaderName]=E)}"setRequestHeader"in b&&t.forEach(m,(function(t,e){void 0===y&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)})),t.isUndefined(l.withCredentials)||(b.withCredentials=!!l.withCredentials),g&&"json"!==g&&(b.responseType=l.responseType),"function"==typeof l.onDownloadProgress&&b.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",l.onUploadProgress),(l.cancelToken||l.signal)&&(d=function(t){b&&(h(!t||t&&t.type?new c:t),b.abort(),b=null)},l.cancelToken&&l.cancelToken.subscribe(d),l.signal&&(l.signal.aborted?d():l.signal.addEventListener("abort",d))),y||(y=null);var R=p(A);R&&-1===["http","https","file"].indexOf(R)?h(new s("Unsupported protocol "+R+":",s.ERR_BAD_REQUEST,l)):b.send(y)}))},_b}var zb=av,Hb=function(t,e){yv.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},Vb=mv(),Yb=gv,$b=xb(),Jb={"Content-Type":"application/x-www-form-urlencoded"};function Qb(t,e){!zb.isUndefined(t)&&zb.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Kb,Xb={transitional:Yb,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==yg&&"[object process]"===Object.prototype.toString.call(yg))&&(Kb=Gb()),Kb),transformRequest:[function(t,e){if(Hb(e,"Accept"),Hb(e,"Content-Type"),zb.isFormData(t)||zb.isArrayBuffer(t)||zb.isBuffer(t)||zb.isStream(t)||zb.isFile(t)||zb.isBlob(t))return t;if(zb.isArrayBufferView(t))return t.buffer;if(zb.isURLSearchParams(t))return Qb(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=zb.isObject(t),o=e&&e["Content-Type"];if((r=zb.isFileList(t))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return $b(r?{"files[]":t}:t,i&&new i)}return n||"application/json"===o?(Qb(e,"application/json"),function(t,e,r){if(zb.isString(t))try{return(e||JSON.parse)(t),zb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||Xb.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&zb.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw Vb.from(t,Vb.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:Cb?Ub:(Cb=1,Ub=null)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};zb.forEach(["delete","get","head"],(function(t){Xb.headers[t]={}})),zb.forEach(["post","put","patch"],(function(t){Xb.headers[t]=zb.merge(Jb)}));var Zb,tw,ew=Xb,rw=av,nw=ew;function ow(){return tw?Zb:(tw=1,Zb=function(t){return!(!t||!t.__CANCEL__)})}var iw=av,aw=function(t,e,r){var n=this||nw;return rw.forEach(r,(function(r){t=r.call(n,t,e)})),t},uw=ow(),sw=ew,cw=qb();function pw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new cw}var lw,fw,hw=av,dw=function(t,e){e=e||{};var r={};function n(t,e){return hw.isPlainObject(t)&&hw.isPlainObject(e)?hw.merge(t,e):hw.isPlainObject(e)?hw.merge({},e):hw.isArray(e)?e.slice():e}function o(r){return hw.isUndefined(e[r])?hw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!hw.isUndefined(e[t]))return n(void 0,e[t])}function a(r){return hw.isUndefined(e[r])?hw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function u(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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:u};return hw.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||o,n=e(t);hw.isUndefined(n)&&e!==u||(r[t]=n)})),r};function yw(){return fw?lw:(fw=1,lw={version:"0.27.2"})}var mw=yw().version,gw=mv(),vw={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){vw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var bw={};vw.transitional=function(t,e,r){function n(t,e){return"[Axios v"+mw+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new gw(n(o," has been removed"+(e?" in "+e:"")),gw.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 ww,xw,Aw,Sw,Ew,Rw,Pw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new gw("options must be an object",gw.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var u=t[i],s=void 0===u||a(u,i,t);if(!0!==s)throw new gw("option "+i+" must be "+s,gw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new gw("Unknown option "+i,gw.ERR_BAD_OPTION)}},validators:vw},kw=av,Ow=cv,jw=dv,Iw=function(t){return pw(t),t.headers=t.headers||{},t.data=aw.call(t,t.data,t.headers,t.transformRequest),t.headers=iw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),iw.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||sw.adapter)(t).then((function(e){return pw(t),e.data=aw.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return uw(e)||(pw(t),e&&e.response&&(e.response.data=aw.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Tw=dw,_w=Bb,Nw=Pw,Uw=Nw.validators;function Cw(t){this.defaults=t,this.interceptors={request:new jw,response:new jw}}Cw.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=Tw(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&Nw.assertOptions(r,{silentJSONParsing:Uw.transitional(Uw.boolean),forcedJSONParsing:Uw.transitional(Uw.boolean),clarifyTimeoutError:Uw.transitional(Uw.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!o){var u=[Iw,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=e;n.length;){var c=n.shift(),p=n.shift();try{s=c(s)}catch(t){p(t);break}}try{i=Iw(s)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},Cw.prototype.getUri=function(t){t=Tw(this.defaults,t);var e=_w(t.baseURL,t.url);return Ow(e,t.params,t.paramsSerializer)},kw.forEach(["delete","get","head","options"],(function(t){Cw.prototype[t]=function(e,r){return this.request(Tw(r||{},{method:t,url:e,data:(r||{}).data}))}})),kw.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Tw(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Cw.prototype[t]=e(),Cw.prototype[t+"Form"]=e(!0)}));var Lw=av,Fw=Wg,Bw=Cw,Dw=dw;var Mw=function t(e){var r=new Bw(e),n=Fw(Bw.prototype.request,r);return Lw.extend(n,Bw.prototype,r),Lw.extend(n,r),n.create=function(r){return t(Dw(e,r))},n}(ew);Mw.Axios=Bw,Mw.CanceledError=qb(),Mw.CancelToken=function(){if(xw)return ww;xw=1;var t=qb();function e(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},e((function(e){n.reason||(n.reason=new t(e),r(n.reason))}))}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},e.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},e.source=function(){var t;return{token:new e((function(e){t=e})),cancel:t}},ww=e}(),Mw.isCancel=ow(),Mw.VERSION=yw().version,Mw.toFormData=xb(),Mw.AxiosError=mv(),Mw.Cancel=Mw.CanceledError,Mw.all=function(t){return Promise.all(t)},Mw.spread=Sw?Aw:(Sw=1,Aw=function(t){return function(e){return t.apply(null,e)}}),Mw.isAxiosError=function(){if(Rw)return Ew;Rw=1;var t=av;return Ew=function(e){return t.isObject(e)&&!0===e.isAxiosError}}(),qg.exports=Mw,Mg.default=Mw,function(t){t.exports=Mg}(Dg);var qw=P(Bg),Ww=function(){function t(e){var r=e.responseHandler,n=e.requestConfigBuilder;s(this,t),this.responseHandler=r,this.requestConfigBuilder=n}var e,r,i,a,c,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:(c=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 c.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(qw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),Gw=Po,zw=nt,Hw=pt,Vw=mm,Yw=$([].join);Gw({target:"Array",proto:!0,forced:zw!=Object||!Vw("join",",")},{join:function(t){return Yw(Hw(this),void 0===t?",":t)}});var $w,Jw=R.Symbol,Qw=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},Kw=function(){return"function"==typeof Jw&&("function"==typeof Symbol&&("symbol"==typeof Jw("foo")&&("symbol"==typeof Symbol("bar")&&Qw())))},Xw="Function.prototype.bind called on incompatible ",Zw=Array.prototype.slice,tx=Object.prototype.toString,ex="[object Function]",rx=function(t){var e=this;if("function"!=typeof e||tx.call(e)!==ex)throw new TypeError(Xw+e);for(var r,n=Zw.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(Zw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Zw.call(arguments)))},i=Math.max(0,e.length-n.length),a=[],u=0;u<i;u++)a.push("$"+u);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var s=function(){};s.prototype=e.prototype,r.prototype=new s,s.prototype=null}return r},nx=Function.prototype.bind||rx,ox=nx.call(Function.call,Object.prototype.hasOwnProperty),ix=SyntaxError,ax=Function,ux=TypeError,sx=function(t){try{return ax('"use strict"; return ('+t+").constructor;")()}catch(t){}},cx=Object.getOwnPropertyDescriptor;if(cx)try{cx({},"")}catch(t){cx=null}var px,lx=function(){throw new ux},fx=cx?function(){try{return lx}catch(t){try{return cx(arguments,"callee").get}catch(t){return lx}}}():lx,hx=Kw(),dx=Object.getPrototypeOf||function(t){return t.__proto__},yx={},mx="undefined"==typeof Uint8Array?$w:dx(Uint8Array),gx={"%AggregateError%":"undefined"==typeof AggregateError?$w:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?$w:ArrayBuffer,"%ArrayIteratorPrototype%":hx?dx([][Symbol.iterator]()):$w,"%AsyncFromSyncIteratorPrototype%":$w,"%AsyncFunction%":yx,"%AsyncGenerator%":yx,"%AsyncGeneratorFunction%":yx,"%AsyncIteratorPrototype%":yx,"%Atomics%":"undefined"==typeof Atomics?$w:Atomics,"%BigInt%":"undefined"==typeof BigInt?$w:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?$w:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?$w:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?$w:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?$w:FinalizationRegistry,"%Function%":ax,"%GeneratorFunction%":yx,"%Int8Array%":"undefined"==typeof Int8Array?$w:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?$w:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?$w:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hx?dx(dx([][Symbol.iterator]())):$w,"%JSON%":"object"==typeof JSON?JSON:$w,"%Map%":"undefined"==typeof Map?$w:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hx?dx((new Map)[Symbol.iterator]()):$w,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?$w:Promise,"%Proxy%":"undefined"==typeof Proxy?$w:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?$w:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?$w:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hx?dx((new Set)[Symbol.iterator]()):$w,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?$w:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hx?dx(""[Symbol.iterator]()):$w,"%Symbol%":hx?Symbol:$w,"%SyntaxError%":ix,"%ThrowTypeError%":fx,"%TypedArray%":mx,"%TypeError%":ux,"%Uint8Array%":"undefined"==typeof Uint8Array?$w:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?$w:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?$w:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?$w:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?$w:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?$w:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?$w:WeakSet},vx=function t(e){var r;if("%AsyncFunction%"===e)r=sx("async function () {}");else if("%GeneratorFunction%"===e)r=sx("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=sx("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=dx(o.prototype))}return gx[e]=r,r},bx={"%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"]},wx=nx,xx=ox,Ax=wx.call(Function.call,Array.prototype.concat),Sx=wx.call(Function.apply,Array.prototype.splice),Ex=wx.call(Function.call,String.prototype.replace),Rx=wx.call(Function.call,String.prototype.slice),Px=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kx=/\\(\\)?/g,Ox=function(t){var e=Rx(t,0,1),r=Rx(t,-1);if("%"===e&&"%"!==r)throw new ix("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new ix("invalid intrinsic syntax, expected opening `%`");var n=[];return Ex(t,Px,(function(t,e,r,o){n[n.length]=r?Ex(o,kx,"$1"):e||t})),n},jx=function(t,e){var r,n=t;if(xx(bx,n)&&(n="%"+(r=bx[n])[0]+"%"),xx(gx,n)){var o=gx[n];if(o===yx&&(o=vx(n)),void 0===o&&!e)throw new ux("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new ix("intrinsic "+t+" does not exist!")},Ix=SyntaxError,Tx=Function,_x=TypeError,Nx=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},Ux=Object.getOwnPropertyDescriptor;if(Ux)try{Ux({},"")}catch(t){Ux=null}var Cx=function(){throw new _x},Lx=Ux?function(){try{return Cx}catch(t){try{return Ux(arguments,"callee").get}catch(t){return Cx}}}():Cx,Fx=Kw(),Bx=Object.getPrototypeOf||function(t){return t.__proto__},Dx=Nx("async function* () {}"),Mx=Dx?Dx.prototype:px,qx=Mx?Mx.prototype:px,Wx="undefined"==typeof Uint8Array?px:Bx(Uint8Array),Gx={"%AggregateError%":"undefined"==typeof AggregateError?px:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?px:ArrayBuffer,"%ArrayIteratorPrototype%":Fx?Bx([][Symbol.iterator]()):px,"%AsyncFromSyncIteratorPrototype%":px,"%AsyncFunction%":Nx("async function () {}"),"%AsyncGenerator%":Mx,"%AsyncGeneratorFunction%":Dx,"%AsyncIteratorPrototype%":qx?Bx(qx):px,"%Atomics%":"undefined"==typeof Atomics?px:Atomics,"%BigInt%":"undefined"==typeof BigInt?px:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?px:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?px:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?px:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?px:FinalizationRegistry,"%Function%":Tx,"%GeneratorFunction%":Nx("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?px:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?px:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?px:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fx?Bx(Bx([][Symbol.iterator]())):px,"%JSON%":"object"==typeof JSON?JSON:px,"%Map%":"undefined"==typeof Map?px:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Fx?Bx((new Map)[Symbol.iterator]()):px,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?px:Promise,"%Proxy%":"undefined"==typeof Proxy?px:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?px:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?px:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Fx?Bx((new Set)[Symbol.iterator]()):px,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?px:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fx?Bx(""[Symbol.iterator]()):px,"%Symbol%":Fx?Symbol:px,"%SyntaxError%":Ix,"%ThrowTypeError%":Lx,"%TypedArray%":Wx,"%TypeError%":_x,"%Uint8Array%":"undefined"==typeof Uint8Array?px:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?px:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?px:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?px:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?px:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?px:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?px:WeakSet},zx={"%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"]},Hx=nx,Vx=ox,Yx=Hx.call(Function.call,Array.prototype.concat),$x=Hx.call(Function.apply,Array.prototype.splice),Jx=Hx.call(Function.call,String.prototype.replace),Qx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Kx=/\\(\\)?/g,Xx=function(t){var e=[];return Jx(t,Qx,(function(t,r,n,o){e[e.length]=n?Jx(o,Kx,"$1"):r||t})),e},Zx=function(t,e){var r,n=t;if(Vx(zx,n)&&(n="%"+(r=zx[n])[0]+"%"),Vx(Gx,n)){var o=Gx[n];if(void 0===o&&!e)throw new _x("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Ix("intrinsic "+t+" does not exist!")},tA=function(t,e){if("string"!=typeof t||0===t.length)throw new _x("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new _x('"allowMissing" argument must be a boolean');var r=Xx(t),n=r.length>0?r[0]:"",o=Zx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],$x(r,Yx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c];if("constructor"!==l&&p||(u=!0),Vx(Gx,i="%"+(n+="."+l)+"%"))a=Gx[i];else if(null!=a){if(Ux&&c+1>=r.length){var f=Ux(a,l);if(p=!!f,!e&&!(l in a))throw new _x("base intrinsic for "+t+" exists, but the property is not available.");a=p&&"get"in f&&!("originalValue"in f.get)?f.get:a[l]}else p=Vx(a,l),a=a[l];p&&!u&&(Gx[i]=a)}}return a},eA={};!function(t){var e=nx,r=tA,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(o,n),a=r("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(){return i(e,o,arguments)};var u=function(){return i(e,n,arguments)};a?a(t.exports,"apply",{value:u}):t.exports.apply=u}({get exports(){return eA},set exports(t){eA=t}});var rA=tA,nA=eA,oA=nA(rA("String.prototype.indexOf")),iA=k(Object.freeze({__proto__:null,default:{}})),aA="function"==typeof Map&&Map.prototype,uA=Object.getOwnPropertyDescriptor&&aA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,sA=aA&&uA&&"function"==typeof uA.get?uA.get:null,cA=aA&&Map.prototype.forEach,pA="function"==typeof Set&&Set.prototype,lA=Object.getOwnPropertyDescriptor&&pA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,fA=pA&&lA&&"function"==typeof lA.get?lA.get:null,hA=pA&&Set.prototype.forEach,dA="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,yA="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,mA=Boolean.prototype.valueOf,gA=Object.prototype.toString,vA=Function.prototype.toString,bA=String.prototype.match,wA="function"==typeof BigInt?BigInt.prototype.valueOf:null,xA=Object.getOwnPropertySymbols,AA="function"==typeof Symbol?Symbol.prototype.toString:null,SA=Object.prototype.propertyIsEnumerable,EA=iA.custom,RA=EA&&jA(EA)?EA:null;function PA(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function kA(t){return String(t).replace(/"/g,"&quot;")}function OA(t){return"[object Array]"===_A(t)}function jA(t){return"[object Symbol]"===_A(t)}var IA=Object.prototype.hasOwnProperty||function(t){return t in this};function TA(t,e){return IA.call(t,e)}function _A(t){return gA.call(t)}function NA(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 UA(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return UA(t.slice(0,e.maxStringLength),e)+n}return PA(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,CA),"single",e)}function CA(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":"")+e.toString(16).toUpperCase()}function LA(t){return"Object("+t+")"}function FA(t){return t+" { ? }"}function BA(t,e,r,n){return t+" ("+e+") {"+(n?DA(r,n):r.join(", "))+"}"}function DA(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function MA(t,e){var r=OA(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=TA(t,o)?e(t[o],t):""}for(var i in t)TA(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof xA)for(var a=xA(t),u=0;u<a.length;u++)SA.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}var qA=function(t,e){if("string"!=typeof t||0===t.length)throw new ux("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ux('"allowMissing" argument must be a boolean');var r=Ox(t),n=r.length>0?r[0]:"",o=jx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],Sx(r,Ax([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c],f=Rx(l,0,1),h=Rx(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new ix("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),xx(gx,i="%"+(n+="."+l)+"%"))a=gx[i];else if(null!=a){if(!(l in a)){if(!e)throw new ux("base intrinsic for "+t+" exists, but the property is not available.");return}if(cx&&c+1>=r.length){var d=cx(a,l);a=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[l]}else p=xx(a,l),a=a[l];p&&!u&&(gx[i]=a)}}return a},WA=function(t,e){var r=rA(t,!!e);return"function"==typeof r&&oA(t,".prototype.")>-1?nA(r):r},GA=function t(e,r,n,o){var i=r||{};if(TA(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(TA(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=!TA(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(TA(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return UA(e,i);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var u=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"==typeof e)return OA(e)?"[Array]":"[Object]";var s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(i,n);if(void 0===o)o=[];else if(NA(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var u={depth:i.depth};return TA(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var p=function(t){if(t.name)return t.name;var e=bA.call(vA.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),l=MA(e,c);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(l.length>0?" { "+l.join(", ")+" }":"")}if(jA(e)){var f=AA.call(e);return"object"==typeof e?LA(f):f}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 h="<"+String(e.nodeName).toLowerCase(),d=e.attributes||[],y=0;y<d.length;y++)h+=" "+d[y].name+"="+PA(kA(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(OA(e)){if(0===e.length)return"[]";var m=MA(e,c);return s&&!function(t){for(var e=0;e<t.length;e++)if(NA(t[e],"\n")>=0)return!1;return!0}(m)?"["+DA(m,s)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===_A(t)}(e)){var g=MA(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(RA&&"function"==typeof e[RA])return e[RA]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!sA||!t||"object"!=typeof t)return!1;try{sA.call(t);try{fA.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return cA.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),BA("Map",sA.call(e),v,s)}if(function(t){if(!fA||!t||"object"!=typeof t)return!1;try{fA.call(t);try{sA.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return hA.call(e,(function(t){b.push(c(t,e))})),BA("Set",fA.call(e),b,s)}if(function(t){if(!dA||!t||"object"!=typeof t)return!1;try{dA.call(t,dA);try{yA.call(t,yA)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return FA("WeakMap");if(function(t){if(!yA||!t||"object"!=typeof t)return!1;try{yA.call(t,yA);try{dA.call(t,dA)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return FA("WeakSet");if(function(t){return"[object Number]"===_A(t)}(e))return LA(c(Number(e)));if(function(t){return"[object BigInt]"===_A(t)}(e))return LA(c(wA.call(e)));if(function(t){return"[object Boolean]"===_A(t)}(e))return LA(mA.call(e));if(function(t){return"[object String]"===_A(t)}(e))return LA(c(String(e)));if(!function(t){return"[object Date]"===_A(t)}(e)&&!function(t){return"[object RegExp]"===_A(t)}(e)){var w=MA(e,c);return 0===w.length?"{}":s?"{"+DA(w,s)+"}":"{ "+w.join(", ")+" }"}return String(e)},zA=qA("%TypeError%"),HA=qA("%WeakMap%",!0),VA=qA("%Map%",!0),YA=WA("WeakMap.prototype.get",!0),$A=WA("WeakMap.prototype.set",!0),JA=WA("WeakMap.prototype.has",!0),QA=WA("Map.prototype.get",!0),KA=WA("Map.prototype.set",!0),XA=WA("Map.prototype.has",!0),ZA=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},tS=String.prototype.replace,eS=/%20/g,rS="RFC3986",nS={default:rS,formatters:{RFC1738:function(t){return tS.call(t,eS,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:rS},oS=nS,iS=Object.prototype.hasOwnProperty,aS=Array.isArray,uS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),sS=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},cS={arrayToObject:sS,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),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(aS(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="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===oS.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=uS[s]:s<2048?a+=uS[192|s>>6]+uS[128|63&s]:s<55296||s>=57344?a+=uS[224|s>>12]+uS[128|s>>6&63]+uS[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=uS[240|s>>18]+uS[128|s>>12&63]+uS[128|s>>6&63]+uS[128|63&s])}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(aS(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(aS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!iS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return aS(e)&&!aS(r)&&(o=sS(e,n)),aS(e)&&aS(r)?(r.forEach((function(r,o){if(iS.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 iS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},pS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new zA("Side channel does not contain "+GA(t))},get:function(n){if(HA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return YA(t,n)}else if(VA){if(e)return QA(e,n)}else if(r)return function(t,e){var r=ZA(t,e);return r&&r.value}(r,n)},has:function(n){if(HA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return JA(t,n)}else if(VA){if(e)return XA(e,n)}else if(r)return function(t,e){return!!ZA(t,e)}(r,n);return!1},set:function(n,o){HA&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new HA),$A(t,n,o)):VA?(e||(e=new VA),KA(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=ZA(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},lS=cS,fS=nS,hS=Object.prototype.hasOwnProperty,dS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},yS=Array.isArray,mS=String.prototype.split,gS=Array.prototype.push,vS=function(t,e){gS.apply(t,yS(e)?e:[e])},bS=Date.prototype.toISOString,wS=fS.default,xS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:lS.encode,encodeValuesOnly:!1,format:wS,formatter:fS.formatters[wS],indices:!1,serializeDate:function(t){return bS.call(t)},skipNulls:!1,strictNullHandling:!1},AS={},SS=function t(e,r,n,o,i,a,u,s,c,p,l,f,h,d,y){for(var m,g=e,v=y,b=0,w=!1;void 0!==(v=v.get(AS))&&!w;){var x=v.get(e);if(b+=1,void 0!==x){if(x===b)throw new RangeError("Cyclic object value");w=!0}void 0===v.get(AS)&&(b=0)}if("function"==typeof u?g=u(r,g):g instanceof Date?g=p(g):"comma"===n&&yS(g)&&(g=lS.maybeMap(g,(function(t){return t instanceof Date?p(t):t}))),null===g){if(o)return a&&!h?a(r,xS.encoder,d,"key",l):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||lS.isBuffer(g)){if(a){var A=h?r:a(r,xS.encoder,d,"key",l);if("comma"===n&&h){for(var S=mS.call(String(g),","),E="",R=0;R<S.length;++R)E+=(0===R?"":",")+f(a(S[R],xS.encoder,d,"value",l));return[f(A)+(yS(g)&&1===S.length?"[]":"")+"="+E]}return[f(A)+"="+f(a(g,xS.encoder,d,"value",l))]}return[f(r)+"="+f(String(g))]}var P,k=[];if(void 0===g)return k;if("comma"===n&&yS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(yS(u))P=u;else{var O=Object.keys(g);P=s?O.sort(s):O}for(var j="comma"===n&&yS(g)&&1===g.length?r+"[]":r,I=0;I<P.length;++I){var T=P[I],_="object"==typeof T&&void 0!==T.value?T.value:g[T];if(!i||null!==_){var N=yS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var U=pS();U.set(AS,y),vS(k,t(_,N,n,o,i,a,u,s,c,p,l,f,h,d,U))}}return k},ES=cS,RS=Object.prototype.hasOwnProperty,PS=Array.isArray,kS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ES.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},OS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},jS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},IS=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,s=[];if(u){if(!r.plainObjects&&RS.call(Object.prototype,u)&&!r.allowPrototypes)return;s.push(u)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&RS.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+o.slice(a.index)+"]"),function(t,e,r,n){for(var o=n?e:jS(e,r),i=t.length-1;i>=0;--i){var a,u=t[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var s="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(s,10);r.parseArrays||""!==s?!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(s,e,r,n)}},TS=function(t,e){var r,n=t,o=function(t){if(!t)return xS;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||xS.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=fS.default;if(void 0!==t.format){if(!hS.call(fS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=fS.formatters[r],o=xS.filter;return("function"==typeof t.filter||yS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:xS.addQueryPrefix,allowDots:void 0===t.allowDots?xS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:xS.charsetSentinel,delimiter:void 0===t.delimiter?xS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:xS.encode,encoder:"function"==typeof t.encoder?t.encoder:xS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:xS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:xS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:xS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:xS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):yS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in dS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=dS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=pS(),c=0;c<r.length;++c){var p=r[c];o.skipNulls&&null===n[p]||vS(a,SS(n[p],p,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,s))}var l=a.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),l.length>0?f+l:""},_S=function(t,e){var r=function(t){if(!t)return kS;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?kS.charset:t.charset;return{allowDots:void 0===t.allowDots?kS.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:kS.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:kS.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:kS.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:kS.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:kS.comma,decoder:"function"==typeof t.decoder?t.decoder:kS.decoder,delimiter:"string"==typeof t.delimiter||ES.isRegExp(t.delimiter)?t.delimiter:kS.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:kS.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:kS.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:kS.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:kS.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:kS.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=o.split(e.delimiter,i),u=-1,s=e.charset;if(e.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?s="utf-8":"utf8=%26%2310003%3B"===a[r]&&(s="iso-8859-1"),u=r,r=a.length);for(r=0;r<a.length;++r)if(r!==u){var c,p,l=a[r],f=l.indexOf("]="),h=-1===f?l.indexOf("="):f+1;-1===h?(c=e.decoder(l,kS.decoder,s,"key"),p=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),kS.decoder,s,"key"),p=ES.maybeMap(jS(l.slice(h+1),e),(function(t){return e.decoder(t,kS.decoder,s,"value")}))),p&&e.interpretNumericEntities&&"iso-8859-1"===s&&(p=OS(p)),l.indexOf("[]=")>-1&&(p=PS(p)?[p]:p),RS.call(n,c)?n[c]=ES.combine(n[c],p):n[c]=p}return n}(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],s=IS(u,n[u],r,"string"==typeof t);o=ES.merge(o,s,r)}return!0===r.allowSparse?o:ES.compact(o)},NS={formats:nS,parse:_S,stringify:TS};const US="function"==typeof btoa,CS="function"==typeof Buffer,LS=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),FS=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),BS=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(FS),String.fromCharCode.bind(String)),DS=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),MS=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+=FS[e>>18&63]+FS[e>>12&63]+FS[e>>6&63]+FS[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},qS=US?t=>btoa(t):CS?t=>Buffer.from(t,"binary").toString("base64"):MS,WS=CS?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(BS.apply(null,t.subarray(r,r+4096)));return qS(e.join(""))},GS=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?BS(192|e>>>6)+BS(128|63&e):BS(224|e>>>12&15)+BS(128|e>>>6&63)+BS(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return BS(240|e>>>18&7)+BS(128|e>>>12&63)+BS(128|e>>>6&63)+BS(128|63&e)},zS=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,HS=t=>t.replace(zS,GS),VS=CS?t=>Buffer.from(t,"utf8").toString("base64"):LS?t=>WS(LS.encode(t)):t=>qS(HS(t)),YS=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?DS(VS(t)):VS(t)},$S=YS;var JS=function(){function t(e){if(s(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}var r,i,a;return p(t,[{key:"build",value:(a=u(o().mark((function t(r,i,a,u){var s,c,p,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=n(n(n({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(i)},u||{}),e.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth})),{},{proxy: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({},s),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({},s),{},{url:c}));case 16:if(!(a instanceof Lg)){t.next=21;break}return t.next=19,this.buildData(a);case 19:return p=t.sent,t.abrupt("return",n(n({},s),{},{headers:"function"==typeof p.getHeaders?n(n({},this.headers),p.getHeaders()):this.headers,data:p}));case 21:return t.t7=n,t.t8=n({},s),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({},s),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,l=t.t17.buildRequestUrl.call(t.t17,t.t18,t.t19),t.abrupt("return",n(n({},s),{},{url:l}));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:"buildRequestUrl",value:function(t,e){return"".concat(this.baseUrl).concat(t,"?").concat(NS.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 Lg)){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($S("".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":$S("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var u=this.auth.apiToken;return Array.isArray(u)?n(n({},a),{},{"X-Cybozu-API-Token":u.join(",")}):n(n({},a),{},{"X-Cybozu-API-Token":u});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}(),QS=$,KS=Sn,XS=Date.prototype,ZS="Invalid Date",tE="toString",eE=QS(XS.toString),rE=QS(XS.getTime);String(new Date(NaN))!=ZS&&KS(XS,tE,(function(){var t=rE(this);return t==t?eE(this):ZS}));var nE=L,oE=fe,iE=At,aE=na,uE=RegExp.prototype,sE=Pr.PROPER,cE=Sn,pE=or,lE=ea,fE=T,hE=function(t){var e=t.flags;return void 0!==e||"flags"in uE||oE(t,"flags")||!iE(uE,t)?e:nE(aE,t)},dE="toString",yE=RegExp.prototype.toString,mE=fE((function(){return"/a/b"!=yE.call({source:"a",flags:"b"})})),gE=sE&&yE.name!=dE;(mE||gE)&&cE(RegExp.prototype,dE,(function(){var t=pE(this);return"/"+lE(t.source)+"/"+lE(hE(t))}),{unsafe:!0});var vE,bE=function(t){f(r,t);var e=x(r);function r(t){var n;return s(this,r),(n=e.call(this,t)).name="KintoneAbortSearchError",n.message=t,Object.setPrototypeOf(b(n),r.prototype),n}return p(r)}(g(Error)),wE=function(t){f(r,t);var e=x(r);function r(t){var n;s(this,r);var o=r.buildErrorResponseDateWithIndex(t),i=o.data,a=o.bulkRequestIndex;return(n=e.call(this,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(b(n),r),Object.setPrototypeOf(b(n),r.prototype),n}return p(r,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?r.findErrorResponseDataWithIndex(t.data.results):{data:t.data}}}]),r}(g(Error)),xE=["data"],AE=function(){function t(e){var r=e.enableAbortSearchError;s(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 bE(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,xE);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new wE(n({data:r},o))}}]),t}(),SE=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 $i)throw new Error("session authentication is not supported in ".concat(t.platform," environment."));throw t}},EE=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),RE(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var u=SE(null!==(r=a.auth)&&void 0!==r?r:{}),c=new JS(n(n({},a),{},{baseUrl:this.baseUrl,auth:u})),p=new AE({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Ww({responseHandler:p,requestConfigBuilder:c}),f=a.guestSpaceId;this.bulkRequest_=new ry(l,f),this.record=new Cg(l,this.bulkRequest_,f),this.app=new gy(l,f),this.file=new Fg(l,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}(),RE=function(t){PE(t.baseUrl),kE(t.guestSpaceId)},PE=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".')}},kE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))};(vE=Xi).readFileFromPath&&(e.readFileFromPath=vE.readFileFromPath),vE.getRequestToken&&(e.getRequestToken=vE.getRequestToken),vE.getDefaultAuth&&(e.getDefaultAuth=vE.getDefaultAuth),vE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=vE.buildPlatformDependentConfig),vE.buildHeaders&&(e.buildHeaders=vE.buildHeaders),vE.buildFormDataValue&&(e.buildFormDataValue=vE.buildFormDataValue),vE.buildBaseUrl&&(e.buildBaseUrl=vE.buildBaseUrl),vE.getVersion&&(e.getVersion=vE.getVersion),t.KintoneAbortSearchError=bE,t.KintoneAllRecordsError=Ig,t.KintoneRestAPIClient=EE,t.KintoneRestAPIError=wE}));