@kintone/rest-api-client 3.3.8 → 3.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -5
- package/umd/KintoneRestAPIClient.js +515 -51
- package/umd/KintoneRestAPIClient.min.js +482 -1
|
@@ -1 +1,482 @@
|
|
|
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.8"},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,""")}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}));
|
|
1
|
+
/**
|
|
2
|
+
* MIT License
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Cybozu, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* This bundle includes the following third-party libraries:
|
|
26
|
+
*
|
|
27
|
+
* =====
|
|
28
|
+
* core-js@3.29.1 -- MIT
|
|
29
|
+
* -----
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) 2014-2023 Denis Pushkarev
|
|
32
|
+
*
|
|
33
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
34
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
35
|
+
* in the Software without restriction, including without limitation the rights
|
|
36
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
37
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
38
|
+
* furnished to do so, subject to the following conditions:
|
|
39
|
+
*
|
|
40
|
+
* The above copyright notice and this permission notice shall be included in
|
|
41
|
+
* all copies or substantial portions of the Software.
|
|
42
|
+
*
|
|
43
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
44
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
45
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
46
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
47
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
48
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
49
|
+
* THE SOFTWARE.
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* =====
|
|
53
|
+
* mime@3.0.0 -- MIT
|
|
54
|
+
* -----
|
|
55
|
+
*
|
|
56
|
+
* The MIT License (MIT)
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
|
|
59
|
+
*
|
|
60
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
61
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
62
|
+
* in the Software without restriction, including without limitation the rights
|
|
63
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
64
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
65
|
+
* furnished to do so, subject to the following conditions:
|
|
66
|
+
*
|
|
67
|
+
* The above copyright notice and this permission notice shall be included in
|
|
68
|
+
* all copies or substantial portions of the Software.
|
|
69
|
+
*
|
|
70
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
71
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
72
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
73
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
74
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
75
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
76
|
+
* THE SOFTWARE.
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* =====
|
|
80
|
+
* rollup-plugin-node-globals@1.4.0 -- MIT
|
|
81
|
+
* -----
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* =====
|
|
86
|
+
* process-es6@0.11.6 -- MIT
|
|
87
|
+
* -----
|
|
88
|
+
*
|
|
89
|
+
* (The MIT License)
|
|
90
|
+
*
|
|
91
|
+
* Copyright (c) 2013 Roman Shtylman <shtylman@gmail.com>
|
|
92
|
+
*
|
|
93
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
94
|
+
* a copy of this software and associated documentation files (the
|
|
95
|
+
* 'Software'), to deal in the Software without restriction, including
|
|
96
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
97
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
98
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
|
99
|
+
* the following conditions:
|
|
100
|
+
*
|
|
101
|
+
* The above copyright notice and this permission notice shall be
|
|
102
|
+
* included in all copies or substantial portions of the Software.
|
|
103
|
+
*
|
|
104
|
+
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
105
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
106
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
107
|
+
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
108
|
+
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
109
|
+
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
110
|
+
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* =====
|
|
114
|
+
* form-data@4.0.0 -- MIT
|
|
115
|
+
* -----
|
|
116
|
+
*
|
|
117
|
+
* Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
|
|
118
|
+
*
|
|
119
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
120
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
121
|
+
* in the Software without restriction, including without limitation the rights
|
|
122
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
123
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
124
|
+
* furnished to do so, subject to the following conditions:
|
|
125
|
+
*
|
|
126
|
+
* The above copyright notice and this permission notice shall be included in
|
|
127
|
+
* all copies or substantial portions of the Software.
|
|
128
|
+
*
|
|
129
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
130
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
131
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
132
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
133
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
134
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
135
|
+
* THE SOFTWARE.
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* =====
|
|
139
|
+
* axios@0.27.2 -- MIT
|
|
140
|
+
* -----
|
|
141
|
+
*
|
|
142
|
+
* Copyright (c) 2014-present Matt Zabriskie
|
|
143
|
+
*
|
|
144
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
145
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
146
|
+
* in the Software without restriction, including without limitation the rights
|
|
147
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
148
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
149
|
+
* furnished to do so, subject to the following conditions:
|
|
150
|
+
*
|
|
151
|
+
* The above copyright notice and this permission notice shall be included in
|
|
152
|
+
* all copies or substantial portions of the Software.
|
|
153
|
+
*
|
|
154
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
155
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
156
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
157
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
158
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
159
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
160
|
+
* THE SOFTWARE.
|
|
161
|
+
*
|
|
162
|
+
*
|
|
163
|
+
* =====
|
|
164
|
+
* buffer-es6@4.9.3 -- MIT
|
|
165
|
+
* -----
|
|
166
|
+
*
|
|
167
|
+
* The MIT License (MIT)
|
|
168
|
+
*
|
|
169
|
+
* Copyright (c) Feross Aboukhadijeh, and other contributors.
|
|
170
|
+
*
|
|
171
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
172
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
173
|
+
* in the Software without restriction, including without limitation the rights
|
|
174
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
175
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
176
|
+
* furnished to do so, subject to the following conditions:
|
|
177
|
+
*
|
|
178
|
+
* The above copyright notice and this permission notice shall be included in
|
|
179
|
+
* all copies or substantial portions of the Software.
|
|
180
|
+
*
|
|
181
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
182
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
183
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
184
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
185
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
186
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
187
|
+
* THE SOFTWARE.
|
|
188
|
+
*
|
|
189
|
+
* ===========================================
|
|
190
|
+
* ieee754 originally contained this license:
|
|
191
|
+
* ===========================================
|
|
192
|
+
*
|
|
193
|
+
* Copyright (c) 2008, Fair Oaks Labs, Inc.
|
|
194
|
+
* All rights reserved.
|
|
195
|
+
*
|
|
196
|
+
* Redistribution and use in source and binary forms, with or without
|
|
197
|
+
* modification, are permitted provided that the following conditions are met:
|
|
198
|
+
*
|
|
199
|
+
* * Redistributions of source code must retain the above copyright notice,
|
|
200
|
+
* this list of conditions and the following disclaimer.
|
|
201
|
+
*
|
|
202
|
+
* * Redistributions in binary form must reproduce the above copyright notice,
|
|
203
|
+
* this list of conditions and the following disclaimer in the documentation
|
|
204
|
+
* and/or other materials provided with the distribution.
|
|
205
|
+
*
|
|
206
|
+
* * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors
|
|
207
|
+
* may be used to endorse or promote products derived from this software
|
|
208
|
+
* without specific prior written permission.
|
|
209
|
+
*
|
|
210
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
211
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
212
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
213
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
214
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
215
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
216
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
217
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
218
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
219
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
220
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
221
|
+
*
|
|
222
|
+
* Modifications to writeIEEE754 to support negative zeroes made by Brian White.
|
|
223
|
+
*
|
|
224
|
+
*
|
|
225
|
+
* =====
|
|
226
|
+
* has-symbols@1.0.1 -- MIT
|
|
227
|
+
* -----
|
|
228
|
+
*
|
|
229
|
+
* MIT License
|
|
230
|
+
*
|
|
231
|
+
* Copyright (c) 2016 Jordan Harband
|
|
232
|
+
*
|
|
233
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
234
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
235
|
+
* in the Software without restriction, including without limitation the rights
|
|
236
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
237
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
238
|
+
* furnished to do so, subject to the following conditions:
|
|
239
|
+
*
|
|
240
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
241
|
+
* copies or substantial portions of the Software.
|
|
242
|
+
*
|
|
243
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
244
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
245
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
246
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
247
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
248
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
249
|
+
* SOFTWARE.
|
|
250
|
+
*
|
|
251
|
+
*
|
|
252
|
+
* =====
|
|
253
|
+
* function-bind@1.1.1 -- MIT
|
|
254
|
+
* -----
|
|
255
|
+
*
|
|
256
|
+
* Copyright (c) 2013 Raynos.
|
|
257
|
+
*
|
|
258
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
259
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
260
|
+
* in the Software without restriction, including without limitation the rights
|
|
261
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
262
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
263
|
+
* furnished to do so, subject to the following conditions:
|
|
264
|
+
*
|
|
265
|
+
* The above copyright notice and this permission notice shall be included in
|
|
266
|
+
* all copies or substantial portions of the Software.
|
|
267
|
+
*
|
|
268
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
269
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
270
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
271
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
272
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
273
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
274
|
+
* THE SOFTWARE.
|
|
275
|
+
*
|
|
276
|
+
*
|
|
277
|
+
*
|
|
278
|
+
* =====
|
|
279
|
+
* has@1.0.3 -- MIT
|
|
280
|
+
* -----
|
|
281
|
+
*
|
|
282
|
+
* Copyright (c) 2013 Thiago de Arruda
|
|
283
|
+
*
|
|
284
|
+
* Permission is hereby granted, free of charge, to any person
|
|
285
|
+
* obtaining a copy of this software and associated documentation
|
|
286
|
+
* files (the "Software"), to deal in the Software without
|
|
287
|
+
* restriction, including without limitation the rights to use,
|
|
288
|
+
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
289
|
+
* copies of the Software, and to permit persons to whom the
|
|
290
|
+
* Software is furnished to do so, subject to the following
|
|
291
|
+
* conditions:
|
|
292
|
+
*
|
|
293
|
+
* The above copyright notice and this permission notice shall be
|
|
294
|
+
* included in all copies or substantial portions of the Software.
|
|
295
|
+
*
|
|
296
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
297
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
298
|
+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
299
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
300
|
+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
301
|
+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
302
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
303
|
+
* OTHER DEALINGS IN THE SOFTWARE.
|
|
304
|
+
*
|
|
305
|
+
*
|
|
306
|
+
* =====
|
|
307
|
+
* get-intrinsic@1.1.1 -- MIT
|
|
308
|
+
* -----
|
|
309
|
+
*
|
|
310
|
+
* MIT License
|
|
311
|
+
*
|
|
312
|
+
* Copyright (c) 2020 Jordan Harband
|
|
313
|
+
*
|
|
314
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
315
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
316
|
+
* in the Software without restriction, including without limitation the rights
|
|
317
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
318
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
319
|
+
* furnished to do so, subject to the following conditions:
|
|
320
|
+
*
|
|
321
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
322
|
+
* copies or substantial portions of the Software.
|
|
323
|
+
*
|
|
324
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
325
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
326
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
327
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
328
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
329
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
330
|
+
* SOFTWARE.
|
|
331
|
+
*
|
|
332
|
+
*
|
|
333
|
+
* =====
|
|
334
|
+
* call-bind@1.0.0 -- MIT
|
|
335
|
+
* -----
|
|
336
|
+
*
|
|
337
|
+
* MIT License
|
|
338
|
+
*
|
|
339
|
+
* Copyright (c) 2020 Jordan Harband
|
|
340
|
+
*
|
|
341
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
342
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
343
|
+
* in the Software without restriction, including without limitation the rights
|
|
344
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
345
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
346
|
+
* furnished to do so, subject to the following conditions:
|
|
347
|
+
*
|
|
348
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
349
|
+
* copies or substantial portions of the Software.
|
|
350
|
+
*
|
|
351
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
352
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
353
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
354
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
355
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
356
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
357
|
+
* SOFTWARE.
|
|
358
|
+
*
|
|
359
|
+
*
|
|
360
|
+
* =====
|
|
361
|
+
* object-inspect@1.9.0 -- MIT
|
|
362
|
+
* -----
|
|
363
|
+
*
|
|
364
|
+
* MIT License
|
|
365
|
+
*
|
|
366
|
+
* Copyright (c) 2013 James Halliday
|
|
367
|
+
*
|
|
368
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
369
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
370
|
+
* in the Software without restriction, including without limitation the rights
|
|
371
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
372
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
373
|
+
* furnished to do so, subject to the following conditions:
|
|
374
|
+
*
|
|
375
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
376
|
+
* copies or substantial portions of the Software.
|
|
377
|
+
*
|
|
378
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
379
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
380
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
381
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
382
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
383
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
384
|
+
* SOFTWARE.
|
|
385
|
+
*
|
|
386
|
+
*
|
|
387
|
+
* =====
|
|
388
|
+
* side-channel@1.0.4 -- MIT
|
|
389
|
+
* -----
|
|
390
|
+
*
|
|
391
|
+
* MIT License
|
|
392
|
+
*
|
|
393
|
+
* Copyright (c) 2019 Jordan Harband
|
|
394
|
+
*
|
|
395
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
396
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
397
|
+
* in the Software without restriction, including without limitation the rights
|
|
398
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
399
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
400
|
+
* furnished to do so, subject to the following conditions:
|
|
401
|
+
*
|
|
402
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
403
|
+
* copies or substantial portions of the Software.
|
|
404
|
+
*
|
|
405
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
406
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
407
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
408
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
409
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
410
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
411
|
+
* SOFTWARE.
|
|
412
|
+
*
|
|
413
|
+
*
|
|
414
|
+
* =====
|
|
415
|
+
* qs@6.10.5 -- BSD-3-Clause
|
|
416
|
+
* -----
|
|
417
|
+
*
|
|
418
|
+
* BSD 3-Clause License
|
|
419
|
+
*
|
|
420
|
+
* Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors)
|
|
421
|
+
* All rights reserved.
|
|
422
|
+
*
|
|
423
|
+
* Redistribution and use in source and binary forms, with or without
|
|
424
|
+
* modification, are permitted provided that the following conditions are met:
|
|
425
|
+
*
|
|
426
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
427
|
+
* list of conditions and the following disclaimer.
|
|
428
|
+
*
|
|
429
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
430
|
+
* this list of conditions and the following disclaimer in the documentation
|
|
431
|
+
* and/or other materials provided with the distribution.
|
|
432
|
+
*
|
|
433
|
+
* 3. Neither the name of the copyright holder nor the names of its
|
|
434
|
+
* contributors may be used to endorse or promote products derived from
|
|
435
|
+
* this software without specific prior written permission.
|
|
436
|
+
*
|
|
437
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
438
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
439
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
440
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
441
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
442
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
443
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
444
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
445
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
446
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
447
|
+
*
|
|
448
|
+
*
|
|
449
|
+
* =====
|
|
450
|
+
* js-base64@3.7.5 -- BSD-3-Clause
|
|
451
|
+
* -----
|
|
452
|
+
*
|
|
453
|
+
* Copyright (c) 2014, Dan Kogai
|
|
454
|
+
* All rights reserved.
|
|
455
|
+
*
|
|
456
|
+
* Redistribution and use in source and binary forms, with or without
|
|
457
|
+
* modification, are permitted provided that the following conditions are met:
|
|
458
|
+
*
|
|
459
|
+
* * Redistributions of source code must retain the above copyright notice, this
|
|
460
|
+
* list of conditions and the following disclaimer.
|
|
461
|
+
*
|
|
462
|
+
* * Redistributions in binary form must reproduce the above copyright notice,
|
|
463
|
+
* this list of conditions and the following disclaimer in the documentation
|
|
464
|
+
* and/or other materials provided with the distribution.
|
|
465
|
+
*
|
|
466
|
+
* * Neither the name of {{{project}}} nor the names of its
|
|
467
|
+
* contributors may be used to endorse or promote products derived from
|
|
468
|
+
* this software without specific prior written permission.
|
|
469
|
+
*
|
|
470
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
471
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
472
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
473
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
474
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
475
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
476
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
477
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
478
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
479
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
480
|
+
*/
|
|
481
|
+
|
|
482
|
+
!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={exports:{}},Zt=j,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=j[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=Xt.exports,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=ae,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={exports:{}},wr=_,xr=fe,Ar=Function.prototype,Sr=wr&&Object.getOwnPropertyDescriptor,Er=xr(Ar,"name"),Rr={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!wr||wr&&Sr(Ar,"name").configurable)},Pr=dt,kr=oe,Or=$(Function.toString);Pr(kr.inspectSource)||(kr.inspectSource=function(t){return Or(t)});var jr,Ir,Tr,_r=kr.inspectSource,Nr=dt,Ur=j.WeakMap,Cr=Nr(Ur)&&/native code/.test(String(Ur)),Lr=ge,Fr=ae("keys"),Br=function(t){return Fr[t]||(Fr[t]=Lr(t))},Dr={},Mr=Cr,qr=j,Wr=gt,Gr=vr,zr=fe,Hr=oe,Vr=Br,Yr=Dr,$r="Object already initialized",Jr=qr.TypeError,Qr=qr.WeakMap;if(Mr||Hr.state){var Kr=Hr.state||(Hr.state=new Qr);Kr.get=Kr.get,Kr.has=Kr.has,Kr.set=Kr.set,jr=function(t,e){if(Kr.has(t))throw Jr($r);return e.facade=t,Kr.set(t,e),e},Ir=function(t){return Kr.get(t)||{}},Tr=function(t){return Kr.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=$,en=T,rn=dt,nn=fe,on=_,an=Rr.CONFIGURABLE,un=_r,sn=Zr.enforce,cn=Zr.get,pn=String,ln=Object.defineProperty,fn=tn("".slice),hn=tn("".replace),dn=tn([].join),yn=on&&!en((function(){return 8!==ln((function(){}),"length",{value:8}).length})),mn=String(String).split("String"),gn=br.exports=function(t,e,r){"Symbol("===fn(pn(e),0,7)&&(e="["+hn(pn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!nn(t,"name")||an&&t.name!==e)&&(on?ln(t,"name",{value:e,configurable:!0}):t.name=e),yn&&r&&nn(r,"arity")&&t.length!==r.arity&&ln(t,"length",{value:r.arity});try{r&&nn(r,"constructor")&&r.constructor?on&&ln(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sn(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||un(this)}),"toString");var vn=br.exports,bn=dt,wn=Ze,xn=vn,An=ee,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=Dr,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=ee,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=_r,$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=vn,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=Rr.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=P(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.10"},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=Dr,Ra=wa,Pa=qe,ka=Br("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=Zr.get,$a=Fa,Ja=Ma,Qa=ae("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=Br("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=Rr.PROPER,mc=Rr.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=Zr,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=Zr,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=Zr,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=Zr,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=P("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={exports:{}},Dg=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)}},Mg=Dg,qg=Object.prototype.toString,Wg=(jg=Object.create(null),function(t){var e=qg.call(t);return jg[e]||(jg[e]=e.slice(8,-1).toLowerCase())});function Gg(t){return t=t.toLowerCase(),function(e){return Wg(e)===t}}function zg(t){return Array.isArray(t)}function Hg(t){return void 0===t}var Vg=Gg("ArrayBuffer");function Yg(t){return null!==t&&"object"==typeof t}function $g(t){if("object"!==Wg(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Jg=Gg("Date"),Qg=Gg("File"),Kg=Gg("Blob"),Xg=Gg("FileList");function Zg(t){return"[object Function]"===qg.call(t)}var tv=Gg("URLSearchParams");function ev(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),zg(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 rv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),nv={isArray:zg,isArrayBuffer:Vg,isBuffer:function(t){return null!==t&&!Hg(t)&&null!==t.constructor&&!Hg(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||qg.call(t)===e||Zg(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Vg(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:Yg,isPlainObject:$g,isUndefined:Hg,isDate:Jg,isFile:Qg,isBlob:Kg,isFunction:Zg,isStream:function(t){return Yg(t)&&Zg(t.pipe)},isURLSearchParams:tv,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:ev,merge:function t(){var e={};function r(r,n){$g(e[n])&&$g(r)?e[n]=t(e[n],r):$g(r)?e[n]=t({},r):zg(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)ev(arguments[n],r);return e},extend:function(t,e,r){return ev(e,(function(e,n){t[n]=r&&"function"==typeof e?Mg(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:Wg,kindOfTest:Gg,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(Hg(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:rv,isFileList:Xg},ov=nv;function iv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var av=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(ov.isURLSearchParams(e))n=e.toString();else{var o=[];ov.forEach(e,(function(t,e){null!=t&&(ov.isArray(t)?e+="[]":t=[t],ov.forEach(t,(function(t){ov.isDate(t)?t=t.toISOString():ov.isObject(t)&&(t=JSON.stringify(t)),o.push(iv(e)+"="+iv(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t},uv=nv;function sv(){this.handlers=[]}sv.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},sv.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},sv.prototype.forEach=function(t){uv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var cv,pv,lv=sv,fv=nv;function hv(){if(pv)return cv;pv=1;var t=nv;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},cv=e}var dv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},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,u=0,s=r-n;u<s;u+=a)i.push(wv(t,u,u+a>s?s:u+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 Av(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 Sv(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 Ev={}.toString,Rv=Array.isArray||function(t){return"[object Array]"==Ev.call(t)};function Pv(){return Ov.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function kv(t,e){if(Pv()<e)throw new RangeError("Invalid typed array length");return Ov.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Ov.prototype:(null===t&&(t=new Ov(e)),t.length=e),t}function Ov(t,e,r){if(!(Ov.TYPED_ARRAY_SUPPORT||this instanceof Ov))return new Ov(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);Ov.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Ov.prototype:t=_v(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!Ov.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Cv(e,r),o=(t=kv(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(Uv(e)){var r=0|Nv(e.length);return 0===(t=kv(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?kv(t,0):_v(t,e);if("Buffer"===e.type&&Rv(e.data))return _v(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=kv(t,e<0?0:0|Nv(e)),!Ov.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function _v(t,e){var r=e.length<0?0:0|Nv(e.length);t=kv(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function Nv(t){if(t>=Pv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pv().toString(16)+" bytes");return 0|t}function Uv(t){return!(null==t||!t._isBuffer)}function Cv(t,e){if(Uv(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return db(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return yb(t).length;default:if(n)return db(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 Kv(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 Qv(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=Ov.from(e,n)),Uv(e))return 0===e.length?-1:Dv(t,e,r,n,o);if("number"==typeof e)return e&=255,Ov.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,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 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 u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function qv(t,e,r,n){return mb(db(e,t.length-r),t,r,n)}function Wv(t,e,r,n){return mb(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function Gv(t,e,r,n){return Wv(t,e,r,n)}function zv(t,e,r,n){return mb(yb(e),t,r,n)}function Hv(t,e,r,n){return mb(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function 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,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<=$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)}Ov.TYPED_ARRAY_SUPPORT=void 0===Hm.TYPED_ARRAY_SUPPORT||Hm.TYPED_ARRAY_SUPPORT,Pv(),Ov.poolSize=8192,Ov._augment=function(t){return t.__proto__=Ov.prototype,t},Ov.from=function(t,e,r){return jv(null,t,e,r)},Ov.TYPED_ARRAY_SUPPORT&&(Ov.prototype.__proto__=Uint8Array.prototype,Ov.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Ov[Symbol.species]),Ov.alloc=function(t,e,r){return function(t,e,r,n){return Iv(e),e<=0?kv(t,e):void 0!==r?"string"==typeof n?kv(t,e).fill(r,n):kv(t,e).fill(r):kv(t,e)}(null,t,e,r)},Ov.allocUnsafe=function(t){return Tv(null,t)},Ov.allocUnsafeSlow=function(t){return Tv(null,t)},Ov.isBuffer=function(t){return null!=t&&(!!t._isBuffer||gb(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&gb(t.slice(0,0))}(t))},Ov.compare=function(t,e){if(!Uv(t)||!Uv(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},Ov.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}},Ov.concat=function(t,e){if(!Rv(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Ov.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Ov.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!Uv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Ov.byteLength=Cv,Ov.prototype._isBuffer=!0,Ov.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},Ov.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},Ov.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},Ov.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Yv(this,0,t):Lv.apply(this,arguments)},Ov.prototype.equals=function(t){if(!Uv(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Ov.compare(this,t)},Ov.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+">"},Ov.prototype.compare=function(t,e,r,n,o){if(!Uv(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},Ov.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},Ov.prototype.indexOf=function(t,e,r){return Bv(this,t,e,r,!0)},Ov.prototype.lastIndexOf=function(t,e,r){return Bv(this,t,e,r,!1)},Ov.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}},Ov.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 Qv(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 Kv(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+=hb(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(!Uv(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),Sv(t,e,r,n,23,4),r+4}function ib(t,e,r,n,o){return o||nb(t,0,r,8),Sv(t,e,r,n,52,8),r+8}Ov.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),Ov.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=Ov.prototype;else{var o=e-t;r=new Ov(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},Ov.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},Ov.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},Ov.prototype.readUInt8=function(t,e){return e||Zv(t,1,this.length),this[t]},Ov.prototype.readUInt16LE=function(t,e){return e||Zv(t,2,this.length),this[t]|this[t+1]<<8},Ov.prototype.readUInt16BE=function(t,e){return e||Zv(t,2,this.length),this[t]<<8|this[t+1]},Ov.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]},Ov.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])},Ov.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},Ov.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},Ov.prototype.readInt8=function(t,e){return e||Zv(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Ov.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},Ov.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},Ov.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},Ov.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]},Ov.prototype.readFloatLE=function(t,e){return e||Zv(t,4,this.length),Av(this,t,!0,23,4)},Ov.prototype.readFloatBE=function(t,e){return e||Zv(t,4,this.length),Av(this,t,!1,23,4)},Ov.prototype.readDoubleLE=function(t,e){return e||Zv(t,8,this.length),Av(this,t,!0,52,8)},Ov.prototype.readDoubleBE=function(t,e){return e||Zv(t,8,this.length),Av(this,t,!1,52,8)},Ov.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},Ov.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},Ov.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,1,255,0),Ov.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Ov.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,65535,0),Ov.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):eb(this,t,e,!0),e+2},Ov.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,65535,0),Ov.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):eb(this,t,e,!1),e+2},Ov.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,4294967295,0),Ov.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},Ov.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,4294967295,0),Ov.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},Ov.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,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},Ov.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,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},Ov.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,1,127,-128),Ov.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Ov.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,32767,-32768),Ov.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):eb(this,t,e,!0),e+2},Ov.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,2,32767,-32768),Ov.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):eb(this,t,e,!1),e+2},Ov.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||tb(this,t,e,4,2147483647,-2147483648),Ov.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},Ov.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),Ov.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},Ov.prototype.writeFloatLE=function(t,e,r){return ob(this,t,e,!0,r)},Ov.prototype.writeFloatBE=function(t,e,r){return ob(this,t,e,!1,r)},Ov.prototype.writeDoubleLE=function(t,e,r){return ib(this,t,e,!0,r)},Ov.prototype.writeDoubleBE=function(t,e,r){return ib(this,t,e,!1,r)},Ov.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||!Ov.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},Ov.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&&!Ov.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=Uv(t)?t:db(new Ov(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var ab,ub,sb,cb,pb,lb,fb=/[^+\/0-9A-Za-z-_]/g;function hb(t){return t<16?"0"+t.toString(16):t.toString(16)}function db(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function yb(t){return function(t){var e,r,n,o,i,a;vv||bv();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 gv(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=mv[t.charCodeAt(e)]<<18|mv[t.charCodeAt(e+1)]<<12|mv[t.charCodeAt(e+2)]<<6|mv[t.charCodeAt(e+3)],a[s++]=o>>16&255,a[s++]=o>>8&255,a[s++]=255&o;return 2===i?(o=mv[t.charCodeAt(e)]<<2|mv[t.charCodeAt(e+1)]>>4,a[s++]=255&o):1===i&&(o=mv[t.charCodeAt(e)]<<10|mv[t.charCodeAt(e+1)]<<4|mv[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(fb,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function mb(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function gb(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function vb(){if(ub)return ab;ub=1;var t=nv;return ab=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]):Ov.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},ab}function bb(){if(cb)return sb;cb=1;var t=hv();return sb=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 wb(){if(lb)return pb;lb=1;var t=nv;return pb=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(){}},pb}var xb,Ab,Sb,Eb,Rb,Pb,kb,Ob,jb,Ib,Tb,_b,Nb=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Ub=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},Cb=function(t,e){return t&&!Nb(e)?Ub(t,e):e};function Lb(){if(Ab)return xb;Ab=1;var t=nv,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 xb=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 Fb(){if(Eb)return Sb;Eb=1;var t=nv;return Sb=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 Bb(){if(Pb)return Rb;Pb=1;var t=hv();function e(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return nv.inherits(e,t,{__CANCEL__:!0}),Rb=e}function Db(){return Ob||(Ob=1,kb=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),kb}function Mb(){if(Ib)return jb;Ib=1;var t=nv,e=bb(),r=wb(),n=av,o=Cb,i=Lb(),a=Fb(),u=dv,s=hv(),c=Bb(),p=Db();return jb=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)}))},jb}var qb=nv,Wb=function(t,e){fv.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},Gb=hv(),zb=dv,Hb=vb(),Vb={"Content-Type":"application/x-www-form-urlencoded"};function Yb(t,e){!qb.isUndefined(t)&&qb.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var $b,Jb={transitional:zb,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==yg&&"[object process]"===Object.prototype.toString.call(yg))&&($b=Mb()),$b),transformRequest:[function(t,e){if(Wb(e,"Accept"),Wb(e,"Content-Type"),qb.isFormData(t)||qb.isArrayBuffer(t)||qb.isBuffer(t)||qb.isStream(t)||qb.isFile(t)||qb.isBlob(t))return t;if(qb.isArrayBufferView(t))return t.buffer;if(qb.isURLSearchParams(t))return Yb(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=qb.isObject(t),o=e&&e["Content-Type"];if((r=qb.isFileList(t))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return Hb(r?{"files[]":t}:t,i&&new i)}return n||"application/json"===o?(Yb(e,"application/json"),function(t,e,r){if(qb.isString(t))try{return(e||JSON.parse)(t),qb.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||Jb.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&qb.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw Gb.from(t,Gb.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_b?Tb:(_b=1,Tb=null)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};qb.forEach(["delete","get","head"],(function(t){Jb.headers[t]={}})),qb.forEach(["post","put","patch"],(function(t){Jb.headers[t]=qb.merge(Vb)}));var Qb,Kb,Xb=Jb,Zb=nv,tw=Xb;function ew(){return Kb?Qb:(Kb=1,Qb=function(t){return!(!t||!t.__CANCEL__)})}var rw=nv,nw=function(t,e,r){var n=this||tw;return Zb.forEach(r,(function(r){t=r.call(n,t,e)})),t},ow=ew(),iw=Xb,aw=Bb();function uw(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new aw}var sw,cw,pw=nv,lw=function(t,e){e=e||{};var r={};function n(t,e){return pw.isPlainObject(t)&&pw.isPlainObject(e)?pw.merge(t,e):pw.isPlainObject(e)?pw.merge({},e):pw.isArray(e)?e.slice():e}function o(r){return pw.isUndefined(e[r])?pw.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!pw.isUndefined(e[t]))return n(void 0,e[t])}function a(r){return pw.isUndefined(e[r])?pw.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 pw.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||o,n=e(t);pw.isUndefined(n)&&e!==u||(r[t]=n)})),r};function fw(){return cw?sw:(cw=1,sw={version:"0.27.2"})}var hw=fw().version,dw=hv(),yw={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){yw[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var mw={};yw.transitional=function(t,e,r){function n(t,e){return"[Axios v"+hw+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new dw(n(o," has been removed"+(e?" in "+e:"")),dw.ERR_DEPRECATED);return e&&!mw[o]&&(mw[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 gw,vw,bw,ww,xw,Aw,Sw={assertOptions:function(t,e,r){if("object"!=typeof t)throw new dw("options must be an object",dw.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 dw("option "+i+" must be "+s,dw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new dw("Unknown option "+i,dw.ERR_BAD_OPTION)}},validators:yw},Ew=nv,Rw=av,Pw=lv,kw=function(t){return uw(t),t.headers=t.headers||{},t.data=nw.call(t,t.data,t.headers,t.transformRequest),t.headers=rw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),rw.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||iw.adapter)(t).then((function(e){return uw(t),e.data=nw.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return ow(e)||(uw(t),e&&e.response&&(e.response.data=nw.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Ow=lw,jw=Cb,Iw=Sw,Tw=Iw.validators;function _w(t){this.defaults=t,this.interceptors={request:new Pw,response:new Pw}}_w.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=Ow(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&&Iw.assertOptions(r,{silentJSONParsing:Tw.transitional(Tw.boolean),forcedJSONParsing:Tw.transitional(Tw.boolean),clarifyTimeoutError:Tw.transitional(Tw.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=[kw,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=kw(s)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},_w.prototype.getUri=function(t){t=Ow(this.defaults,t);var e=jw(t.baseURL,t.url);return Rw(e,t.params,t.paramsSerializer)},Ew.forEach(["delete","get","head","options"],(function(t){_w.prototype[t]=function(e,r){return this.request(Ow(r||{},{method:t,url:e,data:(r||{}).data}))}})),Ew.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Ow(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}_w.prototype[t]=e(),_w.prototype[t+"Form"]=e(!0)}));var Nw=nv,Uw=Dg,Cw=_w,Lw=lw;var Fw=function t(e){var r=new Cw(e),n=Uw(Cw.prototype.request,r);return Nw.extend(n,Cw.prototype,r),Nw.extend(n,r),n.create=function(r){return t(Lw(e,r))},n}(Xb);Fw.Axios=Cw,Fw.CanceledError=Bb(),Fw.CancelToken=function(){if(vw)return gw;vw=1;var t=Bb();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}},gw=e}(),Fw.isCancel=ew(),Fw.VERSION=fw().version,Fw.toFormData=vb(),Fw.AxiosError=hv(),Fw.Cancel=Fw.CanceledError,Fw.all=function(t){return Promise.all(t)},Fw.spread=ww?bw:(ww=1,bw=function(t){return function(e){return t.apply(null,e)}}),Fw.isAxiosError=function(){if(Aw)return xw;Aw=1;var t=nv;return xw=function(e){return t.isObject(e)&&!0===e.isAxiosError}}(),Bg.exports=Fw,Bg.exports.default=Fw;var Bw=P(Bg.exports),Dw=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(Bw(n(n({},t),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]),t}(),Mw=Po,qw=nt,Ww=pt,Gw=mm,zw=$([].join);Mw({target:"Array",proto:!0,forced:qw!=Object||!Gw("join",",")},{join:function(t){return zw(Ww(this),void 0===t?",":t)}});var Hw,Vw=R.Symbol,Yw=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},$w=function(){return"function"==typeof Vw&&("function"==typeof Symbol&&("symbol"==typeof Vw("foo")&&("symbol"==typeof Symbol("bar")&&Yw())))},Jw="Function.prototype.bind called on incompatible ",Qw=Array.prototype.slice,Kw=Object.prototype.toString,Xw="[object Function]",Zw=function(t){var e=this;if("function"!=typeof e||Kw.call(e)!==Xw)throw new TypeError(Jw+e);for(var r,n=Qw.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(Qw.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(Qw.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},tx=Function.prototype.bind||Zw,ex=tx.call(Function.call,Object.prototype.hasOwnProperty),rx=SyntaxError,nx=Function,ox=TypeError,ix=function(t){try{return nx('"use strict"; return ('+t+").constructor;")()}catch(t){}},ax=Object.getOwnPropertyDescriptor;if(ax)try{ax({},"")}catch(t){ax=null}var ux,sx=function(){throw new ox},cx=ax?function(){try{return sx}catch(t){try{return ax(arguments,"callee").get}catch(t){return sx}}}():sx,px=$w(),lx=Object.getPrototypeOf||function(t){return t.__proto__},fx={},hx="undefined"==typeof Uint8Array?Hw:lx(Uint8Array),dx={"%AggregateError%":"undefined"==typeof AggregateError?Hw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Hw:ArrayBuffer,"%ArrayIteratorPrototype%":px?lx([][Symbol.iterator]()):Hw,"%AsyncFromSyncIteratorPrototype%":Hw,"%AsyncFunction%":fx,"%AsyncGenerator%":fx,"%AsyncGeneratorFunction%":fx,"%AsyncIteratorPrototype%":fx,"%Atomics%":"undefined"==typeof Atomics?Hw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Hw:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Hw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Hw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Hw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Hw:FinalizationRegistry,"%Function%":nx,"%GeneratorFunction%":fx,"%Int8Array%":"undefined"==typeof Int8Array?Hw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Hw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Hw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":px?lx(lx([][Symbol.iterator]())):Hw,"%JSON%":"object"==typeof JSON?JSON:Hw,"%Map%":"undefined"==typeof Map?Hw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&px?lx((new Map)[Symbol.iterator]()):Hw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Hw:Promise,"%Proxy%":"undefined"==typeof Proxy?Hw:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Hw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Hw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&px?lx((new Set)[Symbol.iterator]()):Hw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Hw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":px?lx(""[Symbol.iterator]()):Hw,"%Symbol%":px?Symbol:Hw,"%SyntaxError%":rx,"%ThrowTypeError%":cx,"%TypedArray%":hx,"%TypeError%":ox,"%Uint8Array%":"undefined"==typeof Uint8Array?Hw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Hw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Hw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Hw:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Hw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Hw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Hw:WeakSet},yx=function t(e){var r;if("%AsyncFunction%"===e)r=ix("async function () {}");else if("%GeneratorFunction%"===e)r=ix("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=ix("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=lx(o.prototype))}return dx[e]=r,r},mx={"%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"]},gx=tx,vx=ex,bx=gx.call(Function.call,Array.prototype.concat),wx=gx.call(Function.apply,Array.prototype.splice),xx=gx.call(Function.call,String.prototype.replace),Ax=gx.call(Function.call,String.prototype.slice),Sx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ex=/\\(\\)?/g,Rx=function(t){var e=Ax(t,0,1),r=Ax(t,-1);if("%"===e&&"%"!==r)throw new rx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new rx("invalid intrinsic syntax, expected opening `%`");var n=[];return xx(t,Sx,(function(t,e,r,o){n[n.length]=r?xx(o,Ex,"$1"):e||t})),n},Px=function(t,e){var r,n=t;if(vx(mx,n)&&(n="%"+(r=mx[n])[0]+"%"),vx(dx,n)){var o=dx[n];if(o===fx&&(o=yx(n)),void 0===o&&!e)throw new ox("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new rx("intrinsic "+t+" does not exist!")},kx=SyntaxError,Ox=Function,jx=TypeError,Ix=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(t){}},Tx=Object.getOwnPropertyDescriptor;if(Tx)try{Tx({},"")}catch(t){Tx=null}var _x=function(){throw new jx},Nx=Tx?function(){try{return _x}catch(t){try{return Tx(arguments,"callee").get}catch(t){return _x}}}():_x,Ux=$w(),Cx=Object.getPrototypeOf||function(t){return t.__proto__},Lx=Ix("async function* () {}"),Fx=Lx?Lx.prototype:ux,Bx=Fx?Fx.prototype:ux,Dx="undefined"==typeof Uint8Array?ux:Cx(Uint8Array),Mx={"%AggregateError%":"undefined"==typeof AggregateError?ux:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?ux:ArrayBuffer,"%ArrayIteratorPrototype%":Ux?Cx([][Symbol.iterator]()):ux,"%AsyncFromSyncIteratorPrototype%":ux,"%AsyncFunction%":Ix("async function () {}"),"%AsyncGenerator%":Fx,"%AsyncGeneratorFunction%":Lx,"%AsyncIteratorPrototype%":Bx?Cx(Bx):ux,"%Atomics%":"undefined"==typeof Atomics?ux:Atomics,"%BigInt%":"undefined"==typeof BigInt?ux:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?ux:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?ux:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?ux:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?ux:FinalizationRegistry,"%Function%":Ox,"%GeneratorFunction%":Ix("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?ux:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?ux:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?ux:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ux?Cx(Cx([][Symbol.iterator]())):ux,"%JSON%":"object"==typeof JSON?JSON:ux,"%Map%":"undefined"==typeof Map?ux:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ux?Cx((new Map)[Symbol.iterator]()):ux,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?ux:Promise,"%Proxy%":"undefined"==typeof Proxy?ux:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?ux:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?ux:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ux?Cx((new Set)[Symbol.iterator]()):ux,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?ux:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ux?Cx(""[Symbol.iterator]()):ux,"%Symbol%":Ux?Symbol:ux,"%SyntaxError%":kx,"%ThrowTypeError%":Nx,"%TypedArray%":Dx,"%TypeError%":jx,"%Uint8Array%":"undefined"==typeof Uint8Array?ux:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?ux:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?ux:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?ux:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?ux:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?ux:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?ux:WeakSet},qx={"%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=tx,Gx=ex,zx=Wx.call(Function.call,Array.prototype.concat),Hx=Wx.call(Function.apply,Array.prototype.splice),Vx=Wx.call(Function.call,String.prototype.replace),Yx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$x=/\\(\\)?/g,Jx=function(t){var e=[];return Vx(t,Yx,(function(t,r,n,o){e[e.length]=n?Vx(o,$x,"$1"):r||t})),e},Qx=function(t,e){var r,n=t;if(Gx(qx,n)&&(n="%"+(r=qx[n])[0]+"%"),Gx(Mx,n)){var o=Mx[n];if(void 0===o&&!e)throw new jx("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new kx("intrinsic "+t+" does not exist!")},Kx=function(t,e){if("string"!=typeof t||0===t.length)throw new jx("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new jx('"allowMissing" argument must be a boolean');var r=Jx(t),n=r.length>0?r[0]:"",o=Qx("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],Hx(r,zx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c];if("constructor"!==l&&p||(u=!0),Gx(Mx,i="%"+(n+="."+l)+"%"))a=Mx[i];else if(null!=a){if(Tx&&c+1>=r.length){var f=Tx(a,l);if(p=!!f,!e&&!(l in a))throw new jx("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=Gx(a,l),a=a[l];p&&!u&&(Mx[i]=a)}}return a},Xx={exports:{}};!function(t){var e=tx,r=Kx,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}(Xx);var Zx=Kx,tA=Xx.exports,eA=tA(Zx("String.prototype.indexOf")),rA=k(Object.freeze({__proto__:null,default:{}})),nA="function"==typeof Map&&Map.prototype,oA=Object.getOwnPropertyDescriptor&&nA?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,iA=nA&&oA&&"function"==typeof oA.get?oA.get:null,aA=nA&&Map.prototype.forEach,uA="function"==typeof Set&&Set.prototype,sA=Object.getOwnPropertyDescriptor&&uA?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,cA=uA&&sA&&"function"==typeof sA.get?sA.get:null,pA=uA&&Set.prototype.forEach,lA="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,fA="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,hA=Boolean.prototype.valueOf,dA=Object.prototype.toString,yA=Function.prototype.toString,mA=String.prototype.match,gA="function"==typeof BigInt?BigInt.prototype.valueOf:null,vA=Object.getOwnPropertySymbols,bA="function"==typeof Symbol?Symbol.prototype.toString:null,wA=Object.prototype.propertyIsEnumerable,xA=rA.custom,AA=xA&&PA(xA)?xA:null;function SA(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function EA(t){return String(t).replace(/"/g,""")}function RA(t){return"[object Array]"===jA(t)}function PA(t){return"[object Symbol]"===jA(t)}var kA=Object.prototype.hasOwnProperty||function(t){return t in this};function OA(t,e){return kA.call(t,e)}function jA(t){return dA.call(t)}function IA(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 TA(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return TA(t.slice(0,e.maxStringLength),e)+n}return SA(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,_A),"single",e)}function _A(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 NA(t){return"Object("+t+")"}function UA(t){return t+" { ? }"}function CA(t,e,r,n){return t+" ("+e+") {"+(n?LA(r,n):r.join(", "))+"}"}function LA(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function FA(t,e){var r=RA(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=OA(t,o)?e(t[o],t):""}for(var i in t)OA(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 vA)for(var a=vA(t),u=0;u<a.length;u++)wA.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}var BA=function(t,e){if("string"!=typeof t||0===t.length)throw new ox("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new ox('"allowMissing" argument must be a boolean');var r=Rx(t),n=r.length>0?r[0]:"",o=Px("%"+n+"%",e),i=o.name,a=o.value,u=!1,s=o.alias;s&&(n=s[0],wx(r,bx([0,1],s)));for(var c=1,p=!0;c<r.length;c+=1){var l=r[c],f=Ax(l,0,1),h=Ax(l,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new rx("property names with quotes must have matching quotes");if("constructor"!==l&&p||(u=!0),vx(dx,i="%"+(n+="."+l)+"%"))a=dx[i];else if(null!=a){if(!(l in a)){if(!e)throw new ox("base intrinsic for "+t+" exists, but the property is not available.");return}if(ax&&c+1>=r.length){var d=ax(a,l);a=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[l]}else p=vx(a,l),a=a[l];p&&!u&&(dx[i]=a)}}return a},DA=function(t,e){var r=Zx(t,!!e);return"function"==typeof r&&eA(t,".prototype.")>-1?tA(r):r},MA=function t(e,r,n,o){var i=r||{};if(OA(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(OA(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=!OA(i,"customInspect")||i.customInspect;if("boolean"!=typeof a)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(OA(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 TA(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 RA(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(IA(o,e)>=0)return"[Circular]";function c(e,r,a){if(r&&(o=o.slice()).push(r),a){var u={depth:i.depth};return OA(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=mA.call(yA.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),l=FA(e,c);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(l.length>0?" { "+l.join(", ")+" }":"")}if(PA(e)){var f=bA.call(e);return"object"==typeof e?NA(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+"="+SA(EA(d[y].value),"double",i);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+String(e.nodeName).toLowerCase()+">"}if(RA(e)){if(0===e.length)return"[]";var m=FA(e,c);return s&&!function(t){for(var e=0;e<t.length;e++)if(IA(t[e],"\n")>=0)return!1;return!0}(m)?"["+LA(m,s)+"]":"[ "+m.join(", ")+" ]"}if(function(t){return"[object Error]"===jA(t)}(e)){var g=FA(e,c);return 0===g.length?"["+String(e)+"]":"{ ["+String(e)+"] "+g.join(", ")+" }"}if("object"==typeof e&&a){if(AA&&"function"==typeof e[AA])return e[AA]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!iA||!t||"object"!=typeof t)return!1;try{iA.call(t);try{cA.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var v=[];return aA.call(e,(function(t,r){v.push(c(r,e,!0)+" => "+c(t,e))})),CA("Map",iA.call(e),v,s)}if(function(t){if(!cA||!t||"object"!=typeof t)return!1;try{cA.call(t);try{iA.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return pA.call(e,(function(t){b.push(c(t,e))})),CA("Set",cA.call(e),b,s)}if(function(t){if(!lA||!t||"object"!=typeof t)return!1;try{lA.call(t,lA);try{fA.call(t,fA)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return UA("WeakMap");if(function(t){if(!fA||!t||"object"!=typeof t)return!1;try{fA.call(t,fA);try{lA.call(t,lA)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return UA("WeakSet");if(function(t){return"[object Number]"===jA(t)}(e))return NA(c(Number(e)));if(function(t){return"[object BigInt]"===jA(t)}(e))return NA(c(gA.call(e)));if(function(t){return"[object Boolean]"===jA(t)}(e))return NA(hA.call(e));if(function(t){return"[object String]"===jA(t)}(e))return NA(c(String(e)));if(!function(t){return"[object Date]"===jA(t)}(e)&&!function(t){return"[object RegExp]"===jA(t)}(e)){var w=FA(e,c);return 0===w.length?"{}":s?"{"+LA(w,s)+"}":"{ "+w.join(", ")+" }"}return String(e)},qA=BA("%TypeError%"),WA=BA("%WeakMap%",!0),GA=BA("%Map%",!0),zA=DA("WeakMap.prototype.get",!0),HA=DA("WeakMap.prototype.set",!0),VA=DA("WeakMap.prototype.has",!0),YA=DA("Map.prototype.get",!0),$A=DA("Map.prototype.set",!0),JA=DA("Map.prototype.has",!0),QA=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},KA=String.prototype.replace,XA=/%20/g,ZA="RFC3986",tS={default:ZA,formatters:{RFC1738:function(t){return KA.call(t,XA,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:ZA},eS=tS,rS=Object.prototype.hasOwnProperty,nS=Array.isArray,oS=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),iS=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},aS={arrayToObject:iS,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(nS(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===eS.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=oS[s]:s<2048?a+=oS[192|s>>6]+oS[128|63&s]:s<55296||s>=57344?a+=oS[224|s>>12]+oS[128|s>>6&63]+oS[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=oS[240|s>>18]+oS[128|s>>12&63]+oS[128|s>>6&63]+oS[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(nS(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(nS(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!rS.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return nS(e)&&!nS(r)&&(o=iS(e,n)),nS(e)&&nS(r)?(r.forEach((function(r,o){if(rS.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 rS.call(e,o)?e[o]=t(e[o],i,n):e[o]=i,e}),o)}},uS=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new qA("Side channel does not contain "+MA(t))},get:function(n){if(WA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return zA(t,n)}else if(GA){if(e)return YA(e,n)}else if(r)return function(t,e){var r=QA(t,e);return r&&r.value}(r,n)},has:function(n){if(WA&&n&&("object"==typeof n||"function"==typeof n)){if(t)return VA(t,n)}else if(GA){if(e)return JA(e,n)}else if(r)return function(t,e){return!!QA(t,e)}(r,n);return!1},set:function(n,o){WA&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new WA),HA(t,n,o)):GA?(e||(e=new GA),$A(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=QA(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},sS=aS,cS=tS,pS=Object.prototype.hasOwnProperty,lS={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},fS=Array.isArray,hS=String.prototype.split,dS=Array.prototype.push,yS=function(t,e){dS.apply(t,fS(e)?e:[e])},mS=Date.prototype.toISOString,gS=cS.default,vS={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:sS.encode,encodeValuesOnly:!1,format:gS,formatter:cS.formatters[gS],indices:!1,serializeDate:function(t){return mS.call(t)},skipNulls:!1,strictNullHandling:!1},bS={},wS=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(bS))&&!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(bS)&&(b=0)}if("function"==typeof u?g=u(r,g):g instanceof Date?g=p(g):"comma"===n&&fS(g)&&(g=sS.maybeMap(g,(function(t){return t instanceof Date?p(t):t}))),null===g){if(o)return a&&!h?a(r,vS.encoder,d,"key",l):r;g=""}if("string"==typeof(m=g)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||sS.isBuffer(g)){if(a){var A=h?r:a(r,vS.encoder,d,"key",l);if("comma"===n&&h){for(var S=hS.call(String(g),","),E="",R=0;R<S.length;++R)E+=(0===R?"":",")+f(a(S[R],vS.encoder,d,"value",l));return[f(A)+(fS(g)&&1===S.length?"[]":"")+"="+E]}return[f(A)+"="+f(a(g,vS.encoder,d,"value",l))]}return[f(r)+"="+f(String(g))]}var P,k=[];if(void 0===g)return k;if("comma"===n&&fS(g))P=[{value:g.length>0?g.join(",")||null:void 0}];else if(fS(u))P=u;else{var O=Object.keys(g);P=s?O.sort(s):O}for(var j="comma"===n&&fS(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=fS(g)?"function"==typeof n?n(j,T):j:j+(c?"."+T:"["+T+"]");y.set(e,b);var U=uS();U.set(bS,y),yS(k,t(_,N,n,o,i,a,u,s,c,p,l,f,h,d,U))}}return k},xS=aS,AS=Object.prototype.hasOwnProperty,SS=Array.isArray,ES={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:xS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},RS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},PS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},kS=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&&AS.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&&AS.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:PS(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)}},OS=function(t,e){var r,n=t,o=function(t){if(!t)return vS;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||vS.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=cS.default;if(void 0!==t.format){if(!pS.call(cS.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=cS.formatters[r],o=vS.filter;return("function"==typeof t.filter||fS(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:vS.addQueryPrefix,allowDots:void 0===t.allowDots?vS.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:vS.charsetSentinel,delimiter:void 0===t.delimiter?vS.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:vS.encode,encoder:"function"==typeof t.encoder?t.encoder:vS.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:vS.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:vS.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:vS.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:vS.strictNullHandling}}(e);"function"==typeof o.filter?n=(0,o.filter)("",n):fS(o.filter)&&(r=o.filter);var i,a=[];if("object"!=typeof n||null===n)return"";i=e&&e.arrayFormat in lS?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=lS[i];r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=uS(),c=0;c<r.length;++c){var p=r[c];o.skipNulls&&null===n[p]||yS(a,wS(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:""},jS=function(t,e){var r=function(t){if(!t)return ES;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?ES.charset:t.charset;return{allowDots:void 0===t.allowDots?ES.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:ES.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:ES.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:ES.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:ES.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:ES.comma,decoder:"function"==typeof t.decoder?t.decoder:ES.decoder,delimiter:"string"==typeof t.delimiter||xS.isRegExp(t.delimiter)?t.delimiter:ES.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:ES.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:ES.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:ES.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:ES.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:ES.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,ES.decoder,s,"key"),p=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),ES.decoder,s,"key"),p=xS.maybeMap(PS(l.slice(h+1),e),(function(t){return e.decoder(t,ES.decoder,s,"value")}))),p&&e.interpretNumericEntities&&"iso-8859-1"===s&&(p=RS(p)),l.indexOf("[]=")>-1&&(p=SS(p)?[p]:p),AS.call(n,c)?n[c]=xS.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=kS(u,n[u],r,"string"==typeof t);o=xS.merge(o,s,r)}return!0===r.allowSparse?o:xS.compact(o)},IS=P({formats:tS,parse:jS,stringify:OS});const TS="function"==typeof btoa,_S="function"==typeof Buffer,NS=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),US=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),CS=((t=>{let e={};t.forEach(((t,r)=>e[t]=r))})(US),String.fromCharCode.bind(String)),LS=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_"))),FS=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+=US[e>>18&63]+US[e>>12&63]+US[e>>6&63]+US[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},BS=TS?t=>btoa(t):_S?t=>Buffer.from(t,"binary").toString("base64"):FS,DS=_S?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(CS.apply(null,t.subarray(r,r+4096)));return BS(e.join(""))},MS=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?CS(192|e>>>6)+CS(128|63&e):CS(224|e>>>12&15)+CS(128|e>>>6&63)+CS(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return CS(240|e>>>18&7)+CS(128|e>>>12&63)+CS(128|e>>>6&63)+CS(128|63&e)},qS=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,WS=t=>t.replace(qS,MS),GS=_S?t=>Buffer.from(t,"utf8").toString("base64"):NS?t=>DS(NS.encode(t)):t=>BS(WS(t)),zS=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?LS(GS(t)):GS(t)},HS=zS;var VS=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(IS.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(HS("".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":HS("".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}(),YS=$,$S=Sn,JS=Date.prototype,QS="Invalid Date",KS="toString",XS=YS(JS.toString),ZS=YS(JS.getTime);String(new Date(NaN))!=QS&&$S(JS,KS,(function(){var t=ZS(this);return t==t?XS(this):QS}));var tE=L,eE=fe,rE=At,nE=na,oE=RegExp.prototype,iE=Rr.PROPER,aE=Sn,uE=or,sE=ea,cE=T,pE=function(t){var e=t.flags;return void 0!==e||"flags"in oE||eE(t,"flags")||!rE(oE,t)?e:tE(nE,t)},lE="toString",fE=RegExp.prototype.toString,hE=cE((function(){return"/a/b"!=fE.call({source:"a",flags:"b"})})),dE=iE&&fE.name!=lE;(hE||dE)&&aE(RegExp.prototype,lE,(function(){var t=uE(this);return"/"+sE(t.source)+"/"+sE(pE(t))}),{unsafe:!0});var yE,mE=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)),gE=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)),vE=["data"],bE=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 mE(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,vE);if("string"==typeof r)throw new Error("".concat(o.status,": ").concat(o.statusText));throw new gE(n({data:r},o))}}]),t}(),wE=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}},xE=function(){function t(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),AE(a),this.baseUrl=e.buildBaseUrl(a.baseUrl).replace(/\/+$/,"");var u=wE(null!==(r=a.auth)&&void 0!==r?r:{}),c=new VS(n(n({},a),{},{baseUrl:this.baseUrl,auth:u})),p=new bE({enableAbortSearchError:null!==(o=null===(i=a.featureFlags)||void 0===i?void 0:i.enableAbortSearchError)&&void 0!==o&&o}),l=new Dw({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}(),AE=function(t){SE(t.baseUrl),EE(t.guestSpaceId)},SE=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".')}},EE=function(t){if(""===t||null===t)throw new Error("invalid guestSpaceId: got [".concat(t,"]"))};(yE=Xi).readFileFromPath&&(e.readFileFromPath=yE.readFileFromPath),yE.getRequestToken&&(e.getRequestToken=yE.getRequestToken),yE.getDefaultAuth&&(e.getDefaultAuth=yE.getDefaultAuth),yE.buildPlatformDependentConfig&&(e.buildPlatformDependentConfig=yE.buildPlatformDependentConfig),yE.buildHeaders&&(e.buildHeaders=yE.buildHeaders),yE.buildFormDataValue&&(e.buildFormDataValue=yE.buildFormDataValue),yE.buildBaseUrl&&(e.buildBaseUrl=yE.buildBaseUrl),yE.getVersion&&(e.getVersion=yE.getVersion),t.KintoneAbortSearchError=mE,t.KintoneAllRecordsError=Ig,t.KintoneRestAPIClient=xE,t.KintoneRestAPIError=gE}));
|