@kintone/rest-api-client 5.5.2 → 5.7.0

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.
Files changed (107) hide show
  1. package/esm/package.json +14 -14
  2. package/esm/src/KintoneFields/exportTypes/__checks__/usecases/field.js +2 -2
  3. package/esm/src/KintoneFields/exportTypes/__checks__/usecases/layout.js +2 -2
  4. package/esm/src/KintoneFields/exportTypes/__checks__/usecases/property.js +2 -2
  5. package/esm/src/KintoneRequestConfigBuilder.d.ts +1 -3
  6. package/esm/src/KintoneRequestConfigBuilder.js +2 -2
  7. package/esm/src/KintoneRestAPIClient.d.ts +2 -2
  8. package/esm/src/KintoneRestAPIClient.js +2 -0
  9. package/esm/src/KintoneRestAPIClient.js.map +1 -1
  10. package/esm/src/client/AppClient.d.ts +41 -49
  11. package/esm/src/client/AppClient.js +38 -2
  12. package/esm/src/client/AppClient.js.map +1 -1
  13. package/esm/src/client/FileClient.js +2 -2
  14. package/esm/src/client/PluginClient.d.ts +10 -0
  15. package/esm/src/client/PluginClient.js +49 -0
  16. package/esm/src/client/PluginClient.js.map +1 -0
  17. package/esm/src/client/RecordClient.d.ts +5 -9
  18. package/esm/src/client/RecordClient.js +7 -4
  19. package/esm/src/client/RecordClient.js.map +1 -1
  20. package/esm/src/client/SpaceClient.d.ts +8 -1
  21. package/esm/src/client/SpaceClient.js +12 -0
  22. package/esm/src/client/SpaceClient.js.map +1 -1
  23. package/esm/src/client/types/app/adminNotes.d.ts +9 -0
  24. package/esm/src/client/types/app/adminNotes.js +2 -0
  25. package/esm/src/client/types/app/adminNotes.js.map +1 -0
  26. package/esm/src/client/types/app/index.d.ts +4 -1
  27. package/esm/src/client/types/app/index.js +1 -0
  28. package/esm/src/client/types/app/index.js.map +1 -1
  29. package/esm/src/client/types/app/plugin.d.ts +5 -0
  30. package/esm/src/client/types/app/plugin.js +2 -0
  31. package/esm/src/client/types/app/plugin.js.map +1 -0
  32. package/esm/src/client/types/app/setting.d.ts +73 -0
  33. package/esm/src/client/types/app/setting.js +2 -0
  34. package/esm/src/client/types/app/setting.js.map +1 -0
  35. package/esm/src/client/types/index.d.ts +2 -0
  36. package/esm/src/client/types/index.js +1 -0
  37. package/esm/src/client/types/index.js.map +1 -1
  38. package/esm/src/client/types/plugin/index.d.ts +52 -0
  39. package/esm/src/client/types/plugin/index.js +2 -0
  40. package/esm/src/client/types/plugin/index.js.map +1 -0
  41. package/esm/src/client/types/record/index.d.ts +8 -0
  42. package/esm/src/client/types/space/index.d.ts +22 -0
  43. package/esm/src/http/AxiosClient.js +2 -2
  44. package/esm/src/http/MockClient.js +2 -2
  45. package/esm/src/platform/browser.js +2 -2
  46. package/esm/src/platform/node.d.ts +1 -3
  47. package/esm/src/platform/node.js +2 -2
  48. package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
  49. package/lib/package.json +14 -14
  50. package/lib/src/KintoneFields/exportTypes/__checks__/usecases/field.js +2 -2
  51. package/lib/src/KintoneFields/exportTypes/__checks__/usecases/layout.js +2 -2
  52. package/lib/src/KintoneFields/exportTypes/__checks__/usecases/property.js +2 -2
  53. package/lib/src/KintoneFields/types/layout.js +17 -7
  54. package/lib/src/KintoneFields/types/layout.js.map +1 -1
  55. package/lib/src/KintoneRequestConfigBuilder.d.ts +1 -3
  56. package/lib/src/KintoneRequestConfigBuilder.js +2 -2
  57. package/lib/src/KintoneRestAPIClient.d.ts +2 -2
  58. package/lib/src/KintoneRestAPIClient.js +2 -0
  59. package/lib/src/KintoneRestAPIClient.js.map +1 -1
  60. package/lib/src/client/AppClient.d.ts +41 -49
  61. package/lib/src/client/AppClient.js +38 -2
  62. package/lib/src/client/AppClient.js.map +1 -1
  63. package/lib/src/client/FileClient.js +2 -2
  64. package/lib/src/client/PluginClient.d.ts +10 -0
  65. package/lib/src/client/PluginClient.js +52 -0
  66. package/lib/src/client/PluginClient.js.map +1 -0
  67. package/lib/src/client/RecordClient.d.ts +5 -9
  68. package/lib/src/client/RecordClient.js +7 -4
  69. package/lib/src/client/RecordClient.js.map +1 -1
  70. package/lib/src/client/SpaceClient.d.ts +8 -1
  71. package/lib/src/client/SpaceClient.js +12 -0
  72. package/lib/src/client/SpaceClient.js.map +1 -1
  73. package/lib/src/client/types/app/adminNotes.d.ts +9 -0
  74. package/lib/src/client/types/app/adminNotes.js +3 -0
  75. package/lib/src/client/types/app/adminNotes.js.map +1 -0
  76. package/lib/src/client/types/app/index.d.ts +4 -1
  77. package/lib/src/client/types/app/index.js +1 -0
  78. package/lib/src/client/types/app/index.js.map +1 -1
  79. package/lib/src/client/types/app/plugin.d.ts +5 -0
  80. package/lib/src/client/types/app/plugin.js +3 -0
  81. package/lib/src/client/types/app/plugin.js.map +1 -0
  82. package/lib/src/client/types/app/setting.d.ts +73 -0
  83. package/lib/src/client/types/app/setting.js +3 -0
  84. package/lib/src/client/types/app/setting.js.map +1 -0
  85. package/lib/src/client/types/index.d.ts +2 -0
  86. package/lib/src/client/types/index.js +1 -0
  87. package/lib/src/client/types/index.js.map +1 -1
  88. package/lib/src/client/types/plugin/index.d.ts +52 -0
  89. package/lib/src/client/types/plugin/index.js +3 -0
  90. package/lib/src/client/types/plugin/index.js.map +1 -0
  91. package/lib/src/client/types/record/index.d.ts +8 -0
  92. package/lib/src/client/types/space/index.d.ts +22 -0
  93. package/lib/src/http/AxiosClient.js +2 -2
  94. package/lib/src/http/MockClient.js +2 -2
  95. package/lib/src/index.browser.js +17 -7
  96. package/lib/src/index.browser.js.map +1 -1
  97. package/lib/src/index.js +17 -7
  98. package/lib/src/index.js.map +1 -1
  99. package/lib/src/platform/browser.js +2 -2
  100. package/lib/src/platform/node.d.ts +1 -3
  101. package/lib/src/platform/node.js +2 -2
  102. package/lib/tsconfig.build.tsbuildinfo +1 -1
  103. package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
  104. package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
  105. package/package.json +14 -14
  106. package/umd/KintoneRestAPIClient.js +1123 -543
  107. package/umd/KintoneRestAPIClient.min.js +34 -6
@@ -25,7 +25,7 @@
25
25
  * This bundle includes the following third-party libraries:
26
26
  *
27
27
  * =====
28
- * core-js@3.37.1 -- MIT
28
+ * core-js@3.39.0 -- MIT
29
29
  * -----
30
30
  *
31
31
  * Copyright (c) 2014-2024 Denis Pushkarev
@@ -77,7 +77,7 @@
77
77
  *
78
78
  *
79
79
  * =====
80
- * form-data@4.0.0 -- MIT
80
+ * form-data@4.0.1 -- MIT
81
81
  * -----
82
82
  *
83
83
  * Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
@@ -108,7 +108,35 @@
108
108
  *
109
109
  *
110
110
  * =====
111
- * axios@1.7.2 -- MIT
111
+ * process-es6@0.11.6 -- MIT
112
+ * -----
113
+ *
114
+ * (The MIT License)
115
+ *
116
+ * Copyright (c) 2013 Roman Shtylman <shtylman@gmail.com>
117
+ *
118
+ * Permission is hereby granted, free of charge, to any person obtaining
119
+ * a copy of this software and associated documentation files (the
120
+ * 'Software'), to deal in the Software without restriction, including
121
+ * without limitation the rights to use, copy, modify, merge, publish,
122
+ * distribute, sublicense, and/or sell copies of the Software, and to
123
+ * permit persons to whom the Software is furnished to do so, subject to
124
+ * the following conditions:
125
+ *
126
+ * The above copyright notice and this permission notice shall be
127
+ * included in all copies or substantial portions of the Software.
128
+ *
129
+ * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
130
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
131
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
132
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
133
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
134
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
135
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
136
+ *
137
+ *
138
+ * =====
139
+ * axios@1.7.9 -- MIT
112
140
  * -----
113
141
  *
114
142
  * # Copyright (c) 2014-present Matt Zabriskie & Collaborators
@@ -290,7 +318,7 @@
290
318
  *
291
319
  *
292
320
  * =====
293
- * hasown@2.0.0 -- MIT
321
+ * hasown@2.0.2 -- MIT
294
322
  * -----
295
323
  *
296
324
  * MIT License
@@ -560,7 +588,7 @@
560
588
  *
561
589
  *
562
590
  * =====
563
- * qs@6.12.1 -- BSD-3-Clause
591
+ * qs@6.12.3 -- BSD-3-Clause
564
592
  * -----
565
593
  *
566
594
  * BSD 3-Clause License
@@ -627,4 +655,4 @@
627
655
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
628
656
  */
629
657
 
630
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,(function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)}))}}function i(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:P(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",g={};function v(){}function b(){}function w(){}var x={};c(x,a,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(_([])));E&&E!==r&&n.call(E,a)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,i,a,s){var u=p(e[o],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function P(t,r,n){var o=f;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function _(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,o(A,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,u,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},R(O.prototype),c(O.prototype,s,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},R(A),c(A,u,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e){var t="function"==typeof Map?new Map:void 0;return x=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(f())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&g(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)},x(e)}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function A(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var R=function(e){return e&&e.Math===Math&&e},O=R("object"==typeof globalThis&&globalThis)||R("object"==typeof window&&window)||R("object"==typeof self&&self)||R("object"==typeof S&&S)||R("object"==typeof S&&S)||function(){return this}()||Function("return this")(),P={},k=function(e){try{return!!e()}catch(e){return!0}},j=!k((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!k((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),I=T,_=Function.prototype.call,N=I?_.bind(_):function(){return _.apply(_,arguments)},C={},U={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,F=L&&!U.call({1:2},1);C.f=F?function(e){var t=L(this,e);return!!t&&t.enumerable}:U;var B,D,q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},M=T,W=Function.prototype,G=W.call,z=M&&W.bind.bind(G,G),H=M?z:function(e){return function(){return G.apply(e,arguments)}},$=H,V=$({}.toString),K=$("".slice),Y=function(e){return K(V(e),8,-1)},J=k,Q=Y,X=Object,Z=H("".split),ee=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(e){return"String"===Q(e)?Z(e,""):X(e)}:X,te=function(e){return null==e},re=te,ne=TypeError,oe=function(e){if(re(e))throw new ne("Can't call method on "+e);return e},ie=ee,ae=oe,se=function(e){return ie(ae(e))},ue="object"==typeof document&&document.all,ce=void 0===ue&&void 0!==ue?function(e){return"function"==typeof e||e===ue}:function(e){return"function"==typeof e},le=ce,pe=function(e){return"object"==typeof e?null!==e:le(e)},fe=O,he=ce,de=function(e,t){return arguments.length<2?(r=fe[e],he(r)?r:void 0):fe[e]&&fe[e][t];var r},ye=H({}.isPrototypeOf),me=O,ge="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ve=me.process,be=me.Deno,we=ve&&ve.versions||be&&be.version,xe=we&&we.v8;xe&&(D=(B=xe.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!D&&ge&&(!(B=ge.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=ge.match(/Chrome\/(\d+)/))&&(D=+B[1]);var Se=D,Ee=Se,Ae=k,Re=O.String,Oe=!!Object.getOwnPropertySymbols&&!Ae((function(){var e=Symbol("symbol detection");return!Re(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ee&&Ee<41})),Pe=Oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ke=de,je=ce,Te=ye,Ie=Object,_e=Pe?function(e){return"symbol"==typeof e}:function(e){var t=ke("Symbol");return je(t)&&Te(t.prototype,Ie(e))},Ne=String,Ce=function(e){try{return Ne(e)}catch(e){return"Object"}},Ue=ce,Le=Ce,Fe=TypeError,Be=function(e){if(Ue(e))return e;throw new Fe(Le(e)+" is not a function")},De=Be,qe=te,Me=function(e,t){var r=e[t];return qe(r)?void 0:De(r)},We=N,Ge=ce,ze=pe,He=TypeError,$e={exports:{}},Ve=O,Ke=Object.defineProperty,Ye=function(e,t){try{Ke(Ve,e,{value:t,configurable:!0,writable:!0})}catch(r){Ve[e]=t}return t},Je=O,Qe=Ye,Xe="__core-js_shared__",Ze=$e.exports=Je[Xe]||Qe(Xe,{});(Ze.versions||(Ze.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var et=$e.exports,tt=et,rt=function(e,t){return tt[e]||(tt[e]=t||{})},nt=oe,ot=Object,it=function(e){return ot(nt(e))},at=it,st=H({}.hasOwnProperty),ut=Object.hasOwn||function(e,t){return st(at(e),t)},ct=H,lt=0,pt=Math.random(),ft=ct(1..toString),ht=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ft(++lt+pt,36)},dt=rt,yt=ut,mt=ht,gt=Oe,vt=Pe,bt=O.Symbol,wt=dt("wks"),xt=vt?bt.for||bt:bt&&bt.withoutSetter||mt,St=function(e){return yt(wt,e)||(wt[e]=gt&&yt(bt,e)?bt[e]:xt("Symbol."+e)),wt[e]},Et=N,At=pe,Rt=_e,Ot=Me,Pt=function(e,t){var r,n;if("string"===t&&Ge(r=e.toString)&&!ze(n=We(r,e)))return n;if(Ge(r=e.valueOf)&&!ze(n=We(r,e)))return n;if("string"!==t&&Ge(r=e.toString)&&!ze(n=We(r,e)))return n;throw new He("Can't convert object to primitive value")},kt=TypeError,jt=St("toPrimitive"),Tt=function(e,t){if(!At(e)||Rt(e))return e;var r,n=Ot(e,jt);if(n){if(void 0===t&&(t="default"),r=Et(n,e,t),!At(r)||Rt(r))return r;throw new kt("Can't convert object to primitive value")}return void 0===t&&(t="number"),Pt(e,t)},It=Tt,_t=_e,Nt=function(e){var t=It(e,"string");return _t(t)?t:t+""},Ct=pe,Ut=O.document,Lt=Ct(Ut)&&Ct(Ut.createElement),Ft=function(e){return Lt?Ut.createElement(e):{}},Bt=Ft,Dt=!j&&!k((function(){return 7!==Object.defineProperty(Bt("div"),"a",{get:function(){return 7}}).a})),qt=j,Mt=N,Wt=C,Gt=q,zt=se,Ht=Nt,$t=ut,Vt=Dt,Kt=Object.getOwnPropertyDescriptor;P.f=qt?Kt:function(e,t){if(e=zt(e),t=Ht(t),Vt)try{return Kt(e,t)}catch(e){}if($t(e,t))return Gt(!Mt(Wt.f,e,t),e[t])};var Yt={},Jt=j&&k((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Qt=pe,Xt=String,Zt=TypeError,er=function(e){if(Qt(e))return e;throw new Zt(Xt(e)+" is not an object")},tr=j,rr=Dt,nr=Jt,or=er,ir=Nt,ar=TypeError,sr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,cr="enumerable",lr="configurable",pr="writable";Yt.f=tr?nr?function(e,t,r){if(or(e),t=ir(t),or(r),"function"==typeof e&&"prototype"===t&&"value"in r&&pr in r&&!r[pr]){var n=ur(e,t);n&&n[pr]&&(e[t]=r.value,r={configurable:lr in r?r[lr]:n[lr],enumerable:cr in r?r[cr]:n[cr],writable:!1})}return sr(e,t,r)}:sr:function(e,t,r){if(or(e),t=ir(t),or(r),rr)try{return sr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new ar("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var fr=Yt,hr=q,dr=j?function(e,t,r){return fr.f(e,t,hr(1,r))}:function(e,t,r){return e[t]=r,e},yr={exports:{}},mr=j,gr=ut,vr=Function.prototype,br=mr&&Object.getOwnPropertyDescriptor,wr=gr(vr,"name"),xr={EXISTS:wr,PROPER:wr&&"something"===function(){}.name,CONFIGURABLE:wr&&(!mr||mr&&br(vr,"name").configurable)},Sr=ce,Er=et,Ar=H(Function.toString);Sr(Er.inspectSource)||(Er.inspectSource=function(e){return Ar(e)});var Rr,Or,Pr,kr=Er.inspectSource,jr=ce,Tr=O.WeakMap,Ir=jr(Tr)&&/native code/.test(String(Tr)),_r=ht,Nr=rt("keys"),Cr=function(e){return Nr[e]||(Nr[e]=_r(e))},Ur={},Lr=Ir,Fr=O,Br=pe,Dr=dr,qr=ut,Mr=et,Wr=Cr,Gr=Ur,zr="Object already initialized",Hr=Fr.TypeError,$r=Fr.WeakMap;if(Lr||Mr.state){var Vr=Mr.state||(Mr.state=new $r);Vr.get=Vr.get,Vr.has=Vr.has,Vr.set=Vr.set,Rr=function(e,t){if(Vr.has(e))throw new Hr(zr);return t.facade=e,Vr.set(e,t),t},Or=function(e){return Vr.get(e)||{}},Pr=function(e){return Vr.has(e)}}else{var Kr=Wr("state");Gr[Kr]=!0,Rr=function(e,t){if(qr(e,Kr))throw new Hr(zr);return t.facade=e,Dr(e,Kr,t),t},Or=function(e){return qr(e,Kr)?e[Kr]:{}},Pr=function(e){return qr(e,Kr)}}var Yr={set:Rr,get:Or,has:Pr,enforce:function(e){return Pr(e)?Or(e):Rr(e,{})},getterFor:function(e){return function(t){var r;if(!Br(t)||(r=Or(t)).type!==e)throw new Hr("Incompatible receiver, "+e+" required");return r}}},Jr=H,Qr=k,Xr=ce,Zr=ut,en=j,tn=xr.CONFIGURABLE,rn=kr,nn=Yr.enforce,on=Yr.get,an=String,sn=Object.defineProperty,un=Jr("".slice),cn=Jr("".replace),ln=Jr([].join),pn=en&&!Qr((function(){return 8!==sn((function(){}),"length",{value:8}).length})),fn=String(String).split("String"),hn=yr.exports=function(e,t,r){"Symbol("===un(an(t),0,7)&&(t="["+cn(an(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Zr(e,"name")||tn&&e.name!==t)&&(en?sn(e,"name",{value:t,configurable:!0}):e.name=t),pn&&r&&Zr(r,"arity")&&e.length!==r.arity&&sn(e,"length",{value:r.arity});try{r&&Zr(r,"constructor")&&r.constructor?en&&sn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=nn(e);return Zr(n,"source")||(n.source=ln(fn,"string"==typeof t?t:"")),e};Function.prototype.toString=hn((function(){return Xr(this)&&on(this).source||rn(this)}),"toString");var dn=yr.exports,yn=ce,mn=Yt,gn=dn,vn=Ye,bn=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(yn(r)&&gn(r,i,n),n.global)o?e[t]=r:vn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:mn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},wn={},xn=Math.ceil,Sn=Math.floor,En=Math.trunc||function(e){var t=+e;return(t>0?Sn:xn)(t)},An=function(e){var t=+e;return t!=t||0===t?0:En(t)},Rn=An,On=Math.max,Pn=Math.min,kn=function(e,t){var r=Rn(e);return r<0?On(r+t,0):Pn(r,t)},jn=An,Tn=Math.min,In=function(e){var t=jn(e);return t>0?Tn(t,9007199254740991):0},_n=In,Nn=function(e){return _n(e.length)},Cn=se,Un=kn,Ln=Nn,Fn=function(e){return function(t,r,n){var o=Cn(t),i=Ln(o);if(0===i)return!e&&-1;var a,s=Un(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Bn={includes:Fn(!0),indexOf:Fn(!1)},Dn=ut,qn=se,Mn=Bn.indexOf,Wn=Ur,Gn=H([].push),zn=function(e,t){var r,n=qn(e),o=0,i=[];for(r in n)!Dn(Wn,r)&&Dn(n,r)&&Gn(i,r);for(;t.length>o;)Dn(n,r=t[o++])&&(~Mn(i,r)||Gn(i,r));return i},Hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$n=zn,Vn=Hn.concat("length","prototype");wn.f=Object.getOwnPropertyNames||function(e){return $n(e,Vn)};var Kn={};Kn.f=Object.getOwnPropertySymbols;var Yn=de,Jn=wn,Qn=Kn,Xn=er,Zn=H([].concat),eo=Yn("Reflect","ownKeys")||function(e){var t=Jn.f(Xn(e)),r=Qn.f;return r?Zn(t,r(e)):t},to=ut,ro=eo,no=P,oo=Yt,io=k,ao=ce,so=/#|\.prototype\./,uo=function(e,t){var r=lo[co(e)];return r===fo||r!==po&&(ao(t)?io(t):!!t)},co=uo.normalize=function(e){return String(e).replace(so,".").toLowerCase()},lo=uo.data={},po=uo.NATIVE="N",fo=uo.POLYFILL="P",ho=uo,yo=O,mo=P.f,go=dr,vo=bn,bo=Ye,wo=function(e,t,r){for(var n=ro(t),o=oo.f,i=no.f,a=0;a<n.length;a++){var s=n[a];to(e,s)||r&&to(r,s)||o(e,s,i(t,s))}},xo=ho,So=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?yo:c?yo[s]||bo(s,{}):yo[s]&&yo[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=mo(r,n))&&a.value:r[n],!xo(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;wo(i,o)}(e.sham||o&&o.sham)&&go(i,"sham",!0),vo(r,n,i,e)}},Eo=Y,Ao=Array.isArray||function(e){return"Array"===Eo(e)},Ro=TypeError,Oo=j,Po=Yt,ko=q,jo=function(e,t,r){Oo?Po.f(e,t,ko(0,r)):e[t]=r},To={};To[St("toStringTag")]="z";var Io="[object z]"===String(To),_o=Io,No=ce,Co=Y,Uo=St("toStringTag"),Lo=Object,Fo="Arguments"===Co(function(){return arguments}()),Bo=_o?Co:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Lo(e),Uo))?r:Fo?Co(t):"Object"===(n=Co(t))&&No(t.callee)?"Arguments":n},Do=H,qo=k,Mo=ce,Wo=Bo,Go=kr,zo=function(){},Ho=de("Reflect","construct"),$o=/^\s*(?:class|function)\b/,Vo=Do($o.exec),Ko=!$o.test(zo),Yo=function(e){if(!Mo(e))return!1;try{return Ho(zo,[],e),!0}catch(e){return!1}},Jo=function(e){if(!Mo(e))return!1;switch(Wo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ko||!!Vo($o,Go(e))}catch(e){return!0}};Jo.sham=!0;var Qo=!Ho||qo((function(){var e;return Yo(Yo.call)||!Yo(Object)||!Yo((function(){e=!0}))||e}))?Jo:Yo,Xo=Ao,Zo=Qo,ei=pe,ti=St("species"),ri=Array,ni=function(e){var t;return Xo(e)&&(t=e.constructor,(Zo(t)&&(t===ri||Xo(t.prototype))||ei(t)&&null===(t=t[ti]))&&(t=void 0)),void 0===t?ri:t},oi=function(e,t){return new(ni(e))(0===t?0:t)},ii=k,ai=Se,si=St("species"),ui=function(e){return ai>=51||!ii((function(){var t=[];return(t.constructor={})[si]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ci=So,li=k,pi=Ao,fi=pe,hi=it,di=Nn,yi=function(e){if(e>9007199254740991)throw Ro("Maximum allowed index exceeded");return e},mi=jo,gi=oi,vi=ui,bi=Se,wi=St("isConcatSpreadable"),xi=bi>=51||!li((function(){var e=[];return e[wi]=!1,e.concat()[0]!==e})),Si=function(e){if(!fi(e))return!1;var t=e[wi];return void 0!==t?!!t:pi(e)};ci({target:"Array",proto:!0,arity:1,forced:!xi||!vi("concat")},{concat:function(e){var t,r,n,o,i,a=hi(this),s=gi(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(Si(i=-1===t?a:arguments[t]))for(o=di(i),yi(u+o),r=0;r<o;r++,u++)r in i&&mi(s,u,i[r]);else yi(u+1),mi(s,u++,i);return s.length=u,s}});var Ei=dn,Ai=Yt,Ri=function(e,t,r){return r.get&&Ei(r.get,t,{getter:!0}),r.set&&Ei(r.set,t,{setter:!0}),Ai.f(e,t,r)},Oi=j,Pi=xr.EXISTS,ki=H,ji=Ri,Ti=Function.prototype,Ii=ki(Ti.toString),_i=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ni=ki(_i.exec);Oi&&!Pi&&ji(Ti,"name",{configurable:!0,get:function(){try{return Ni(_i,Ii(this))[1]}catch(e){return""}}});var Ci=H,Ui=Be,Li=pe,Fi=function(e){return Li(e)||null===e},Bi=String,Di=TypeError,qi=function(e,t,r){try{return Ci(Ui(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Mi=pe,Wi=oe,Gi=function(e){if(Fi(e))return e;throw new Di("Can't set "+Bi(e)+" as a prototype")},zi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=qi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Wi(r),Gi(n),Mi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);So({target:"Object",stat:!0},{setPrototypeOf:zi});var Hi=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t)}(x(Error));function $i(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}$i.prototype.define=function(e,t){for(let r in e){let n=e[r].map((function(e){return e.toLowerCase()}));r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},$i.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},$i.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var Vi=E(new $i({"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]})),Ki="5.5.2",Yi=function(){var e=o(m().mark((function e(){var t;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":w(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.next=2;break}return e.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":w(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.next=4;break}return e.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ji=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=Vi.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Yi,getVersion:function(){return Ki},readFileFromPath:function(e){throw new Hi("Browser")}}),Qi={},Xi=zn,Zi=Hn,ea=Object.keys||function(e){return Xi(e,Zi)},ta=j,ra=Jt,na=Yt,oa=er,ia=se,aa=ea;Qi.f=ta&&!ra?Object.defineProperties:function(e,t){oa(e);for(var r,n=ia(t),o=aa(t),i=o.length,a=0;i>a;)na.f(e,r=o[a++],n[r]);return e};var sa,ua=de("document","documentElement"),ca=er,la=Qi,pa=Hn,fa=Ur,ha=ua,da=Ft,ya="prototype",ma="script",ga=Cr("IE_PROTO"),va=function(){},ba=function(e){return"<"+ma+">"+e+"</"+ma+">"},wa=function(e){e.write(ba("")),e.close();var t=e.parentWindow.Object;return e=null,t},xa=function(){try{sa=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;xa="undefined"!=typeof document?document.domain&&sa?wa(sa):(t=da("iframe"),r="java"+ma+":",t.style.display="none",ha.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(ba("document.F=Object")),e.close(),e.F):wa(sa);for(var n=pa.length;n--;)delete xa[ya][pa[n]];return xa()};fa[ga]=!0;var Sa=Object.create||function(e,t){var r;return null!==e?(va[ya]=ca(e),r=new va,va[ya]=null,r[ga]=e):r=xa(),void 0===t?r:la.f(r,t)},Ea=St,Aa=Sa,Ra=Yt.f,Oa=Ea("unscopables"),Pa=Array.prototype;void 0===Pa[Oa]&&Ra(Pa,Oa,{configurable:!0,value:Aa(null)});var ka,ja,Ta,Ia={},_a=!k((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Na=ut,Ca=ce,Ua=it,La=_a,Fa=Cr("IE_PROTO"),Ba=Object,Da=Ba.prototype,qa=La?Ba.getPrototypeOf:function(e){var t=Ua(e);if(Na(t,Fa))return t[Fa];var r=t.constructor;return Ca(r)&&t instanceof r?r.prototype:t instanceof Ba?Da:null},Ma=k,Wa=ce,Ga=pe,za=qa,Ha=bn,$a=St("iterator"),Va=!1;[].keys&&("next"in(Ta=[].keys())?(ja=za(za(Ta)))!==Object.prototype&&(ka=ja):Va=!0);var Ka=!Ga(ka)||Ma((function(){var e={};return ka[$a].call(e)!==e}));Ka&&(ka={}),Wa(ka[$a])||Ha(ka,$a,(function(){return this}));var Ya={IteratorPrototype:ka,BUGGY_SAFARI_ITERATORS:Va},Ja=Yt.f,Qa=ut,Xa=St("toStringTag"),Za=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Qa(e,Xa)&&Ja(e,Xa,{configurable:!0,value:t})},es=Ya.IteratorPrototype,ts=Sa,rs=q,ns=Za,os=Ia,is=function(){return this},as=function(e,t,r,n){var o=t+" Iterator";return e.prototype=ts(es,{next:rs(+!n,r)}),ns(e,o,!1),os[o]=is,e},ss=So,us=N,cs=ce,ls=as,ps=qa,fs=zi,hs=Za,ds=dr,ys=bn,ms=Ia,gs=xr.PROPER,vs=xr.CONFIGURABLE,bs=Ya.IteratorPrototype,ws=Ya.BUGGY_SAFARI_ITERATORS,xs=St("iterator"),Ss="keys",Es="values",As="entries",Rs=function(){return this},Os=function(e,t,r,n,o,i,a){ls(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!ws&&e&&e in h)return h[e];switch(e){case Ss:case Es:case As:return function(){return new r(this,e)}}return function(){return new r(this)}},p=t+" Iterator",f=!1,h=e.prototype,d=h[xs]||h["@@iterator"]||o&&h[o],y=!ws&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=ps(m.call(new e)))!==Object.prototype&&s.next&&(ps(s)!==bs&&(fs?fs(s,bs):cs(s[xs])||ys(s,xs,Rs)),hs(s,p,!0)),gs&&o===Es&&d&&d.name!==Es&&(vs?ds(h,"name",Es):(f=!0,y=function(){return us(d,this)})),o)if(u={values:l(Es),keys:i?y:l(Ss),entries:l(As)},a)for(c in u)(ws||f||!(c in h))&&ys(h,c,u[c]);else ss({target:t,proto:!0,forced:ws||f},u);return h[xs]!==y&&ys(h,xs,y,{name:o}),ms[t]=y,u},Ps=function(e,t){return{value:e,done:t}},ks=se,js=function(e){Pa[Oa][e]=!0},Ts=Ia,Is=Yr,_s=Yt.f,Ns=Os,Cs=Ps,Us=j,Ls="Array Iterator",Fs=Is.set,Bs=Is.getterFor(Ls),Ds=Ns(Array,"Array",(function(e,t){Fs(this,{type:Ls,target:ks(e),index:0,kind:t})}),(function(){var e=Bs(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,Cs(void 0,!0);switch(e.kind){case"keys":return Cs(r,!1);case"values":return Cs(t[r],!1)}return Cs([r,t[r]],!1)}),"values"),qs=Ts.Arguments=Ts.Array;if(js("keys"),js("values"),js("entries"),Us&&"values"!==qs.name)try{_s(qs,"name",{value:"values"})}catch(e){}var Ms=H,Ws=bn,Gs=Date.prototype,zs="Invalid Date",Hs="toString",$s=Ms(Gs[Hs]),Vs=Ms(Gs.getTime);String(new Date(NaN))!==zs&&Ws(Gs,Hs,(function(){var e=Vs(this);return e==e?$s(this):zs}));var Ks=Bo,Ys=Io?{}.toString:function(){return"[object "+Ks(this)+"]"};Io||bn(Object.prototype,"toString",Ys,{unsafe:!0});var Js=Bo,Qs=String,Xs=function(e){if("Symbol"===Js(e))throw new TypeError("Cannot convert a Symbol value to a string");return Qs(e)},Zs="\t\n\v\f\r                 \u2028\u2029\ufeff",eu=oe,tu=Xs,ru=Zs,nu=H("".replace),ou=RegExp("^["+ru+"]+"),iu=RegExp("(^|[^"+ru+"])["+ru+"]+$"),au=function(e){return function(t){var r=tu(eu(t));return 1&e&&(r=nu(r,ou,"")),2&e&&(r=nu(r,iu,"$1")),r}},su={start:au(1),end:au(2),trim:au(3)},uu=O,cu=k,lu=Xs,pu=su.trim,fu=Zs,hu=H("".charAt),du=uu.parseFloat,yu=uu.Symbol,mu=yu&&yu.iterator,gu=1/du(fu+"-0")!=-1/0||mu&&!cu((function(){du(Object(mu))}))?function(e){var t=pu(lu(e)),r=du(t);return 0===r&&"-"===hu(t,0)?-0:r}:du;So({global:!0,forced:parseFloat!==gu},{parseFloat:gu});var vu,bu,wu=er,xu=function(){var e=wu(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Su=k,Eu=O.RegExp,Au=Su((function(){var e=Eu("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Ru=Au||Su((function(){return!Eu("a","y").sticky})),Ou={BROKEN_CARET:Au||Su((function(){var e=Eu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Ru,UNSUPPORTED_Y:Au},Pu=k,ku=O.RegExp,ju=Pu((function(){var e=ku(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Tu=k,Iu=O.RegExp,_u=Tu((function(){var e=Iu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Nu=N,Cu=H,Uu=Xs,Lu=xu,Fu=Ou,Bu=Sa,Du=Yr.get,qu=ju,Mu=_u,Wu=rt("native-string-replace",String.prototype.replace),Gu=RegExp.prototype.exec,zu=Gu,Hu=Cu("".charAt),$u=Cu("".indexOf),Vu=Cu("".replace),Ku=Cu("".slice),Yu=(bu=/b*/g,Nu(Gu,vu=/a/,"a"),Nu(Gu,bu,"a"),0!==vu.lastIndex||0!==bu.lastIndex),Ju=Fu.BROKEN_CARET,Qu=void 0!==/()??/.exec("")[1];(Yu||Qu||Ju||qu||Mu)&&(zu=function(e){var t,r,n,o,i,a,s,u=this,c=Du(u),l=Uu(e),p=c.raw;if(p)return p.lastIndex=u.lastIndex,t=Nu(zu,p,l),u.lastIndex=p.lastIndex,t;var f=c.groups,h=Ju&&u.sticky,d=Nu(Lu,u),y=u.source,m=0,g=l;if(h&&(d=Vu(d,"y",""),-1===$u(d,"g")&&(d+="g"),g=Ku(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Hu(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),Qu&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Yu&&(n=u.lastIndex),o=Nu(Gu,h?r:u,g),h?o?(o.input=Ku(o.input,m),o[0]=Ku(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Yu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),Qu&&o&&o.length>1&&Nu(Wu,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=Bu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var Xu=zu;So({target:"RegExp",proto:!0,forced:/./.exec!==Xu},{exec:Xu});var Zu=N,ec=ut,tc=ye,rc=xu,nc=RegExp.prototype,oc=xr.PROPER,ic=bn,ac=er,sc=Xs,uc=k,cc=function(e){var t=e.flags;return void 0!==t||"flags"in nc||ec(e,"flags")||!tc(nc,e)?t:Zu(rc,e)},lc="toString",pc=RegExp.prototype,fc=pc[lc],hc=uc((function(){return"/a/b"!==fc.call({source:"a",flags:"b"})})),dc=oc&&fc.name!==lc;(hc||dc)&&ic(pc,lc,(function(){var e=ac(this);return"/"+sc(e.source)+"/"+sc(cc(e))}),{unsafe:!0});var yc=H,mc=An,gc=Xs,vc=oe,bc=yc("".charAt),wc=yc("".charCodeAt),xc=yc("".slice),Sc=function(e){return function(t,r){var n,o,i=gc(vc(t)),a=mc(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=wc(i,a))<55296||n>56319||a+1===s||(o=wc(i,a+1))<56320||o>57343?e?bc(i,a):n:e?xc(i,a,a+2):o-56320+(n-55296<<10)+65536}},Ec={codeAt:Sc(!1),charAt:Sc(!0)},Ac=Ec.charAt,Rc=Xs,Oc=Yr,Pc=Os,kc=Ps,jc="String Iterator",Tc=Oc.set,Ic=Oc.getterFor(jc);Pc(String,"String",(function(e){Tc(this,{type:jc,string:Rc(e),index:0})}),(function(){var e,t=Ic(this),r=t.string,n=t.index;return n>=r.length?kc(void 0,!0):(e=Ac(r,n),t.index+=e.length,kc(e,!1))}));var _c=T,Nc=Function.prototype,Cc=Nc.apply,Uc=Nc.call,Lc="object"==typeof Reflect&&Reflect.apply||(_c?Uc.bind(Cc):function(){return Uc.apply(Cc,arguments)}),Fc=N,Bc=bn,Dc=Xu,qc=k,Mc=St,Wc=dr,Gc=Mc("species"),zc=RegExp.prototype,Hc=function(e,t,r,n){var o=Mc(e),i=!qc((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!qc((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Gc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||r){var s=/./[o],u=t(o,""[e],(function(e,t,r,n,o){var a=t.exec;return a===Dc||a===zc.exec?i&&!o?{done:!0,value:Fc(s,t,r,n)}:{done:!0,value:Fc(e,r,t,n)}:{done:!1}}));Bc(String.prototype,e,u[0]),Bc(zc,o,u[1])}n&&Wc(zc[o],"sham",!0)},$c=Ec.charAt,Vc=function(e,t,r){return t+(r?$c(e,t).length:1)},Kc=H,Yc=it,Jc=Math.floor,Qc=Kc("".charAt),Xc=Kc("".replace),Zc=Kc("".slice),el=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tl=/\$([$&'`]|\d{1,2})/g,rl=N,nl=er,ol=ce,il=Y,al=Xu,sl=TypeError,ul=function(e,t){var r=e.exec;if(ol(r)){var n=rl(r,e,t);return null!==n&&nl(n),n}if("RegExp"===il(e))return rl(al,e,t);throw new sl("RegExp#exec called on incompatible receiver")},cl=Lc,ll=N,pl=H,fl=Hc,hl=k,dl=er,yl=ce,ml=te,gl=An,vl=In,bl=Xs,wl=oe,xl=Vc,Sl=Me,El=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=tl;return void 0!==o&&(o=Yc(o),u=el),Xc(i,u,(function(i,u){var c;switch(Qc(u,0)){case"$":return"$";case"&":return e;case"`":return Zc(t,0,r);case"'":return Zc(t,a);case"<":c=o[Zc(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Jc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?Qc(u,1):n[p-1]+Qc(u,1):i}c=n[l-1]}return void 0===c?"":c}))},Al=ul,Rl=St("replace"),Ol=Math.max,Pl=Math.min,kl=pl([].concat),jl=pl([].push),Tl=pl("".indexOf),Il=pl("".slice),_l="$0"==="a".replace(/./,"$0"),Nl=!!/./[Rl]&&""===/./[Rl]("a","$0");fl("replace",(function(e,t,r){var n=Nl?"$":"$0";return[function(e,r){var n=wl(this),o=ml(e)?void 0:Sl(e,Rl);return o?ll(o,e,n,r):ll(t,bl(n),e,r)},function(e,o){var i=dl(this),a=bl(e);if("string"==typeof o&&-1===Tl(o,n)&&-1===Tl(o,"$<")){var s=r(t,i,a,o);if(s.done)return s.value}var u=yl(o);u||(o=bl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=Al(i,a))&&(jl(f,p),l);){""===bl(p[0])&&(i.lastIndex=xl(a,vl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=bl((p=f[m])[0]),b=Ol(Pl(gl(p.index),a.length),0),w=[],x=1;x<p.length;x++)jl(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=kl([v],w,b,a);void 0!==S&&jl(E,S),g=bl(cl(o,void 0,E))}else g=El(v,a,b,w,S,o);b>=y&&(d+=Il(a,y,b)+g,y=b+v.length)}return d+Il(a,y)}]}),!!hl((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!_l||Nl);var Cl={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},Ul=Ft("span").classList,Ll=Ul&&Ul.constructor&&Ul.constructor.prototype,Fl=Ll===Object.prototype?void 0:Ll,Bl=O,Dl=Cl,ql=Fl,Ml=Ds,Wl=dr,Gl=Za,zl=St("iterator"),Hl=Ml.values,$l=function(e,t){if(e){if(e[zl]!==Hl)try{Wl(e,zl,Hl)}catch(t){e[zl]=Hl}if(Gl(e,t,!0),Dl[t])for(var r in Ml)if(e[r]!==Ml[r])try{Wl(e,r,Ml[r])}catch(t){e[r]=Ml[r]}}};for(var Vl in Dl)$l(Bl[Vl]&&Bl[Vl].prototype,Vl);$l(ql,"DOMTokenList");var Kl=k,Yl=j,Jl=St("iterator"),Ql=!Kl((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Yl||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Jl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Xl=Y,Zl=H,ep=function(e){if("Function"===Xl(e))return Zl(e)},tp=Be,rp=T,np=ep(ep.bind),op=function(e,t){return tp(e),void 0===t?e:rp?np(e,t):function(){return e.apply(t,arguments)}},ip=ye,ap=TypeError,sp=function(e,t){if(ip(t,e))return e;throw new ap("Incorrect invocation")},up=j,cp=H,lp=N,pp=k,fp=ea,hp=Kn,dp=C,yp=it,mp=ee,gp=Object.assign,vp=Object.defineProperty,bp=cp([].concat),wp=!gp||pp((function(){if(up&&1!==gp({b:1},gp(vp({},"a",{enumerable:!0,get:function(){vp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==gp({},e)[r]||fp(gp({},t)).join("")!==n}))?function(e,t){for(var r=yp(e),n=arguments.length,o=1,i=hp.f,a=dp.f;n>o;)for(var s,u=mp(arguments[o++]),c=i?bp(fp(u),i(u)):fp(u),l=c.length,p=0;l>p;)s=c[p++],up&&!lp(a,u,s)||(r[s]=u[s]);return r}:gp,xp=N,Sp=er,Ep=Me,Ap=er,Rp=function(e,t,r){var n,o;Sp(e);try{if(!(n=Ep(e,"return"))){if("throw"===t)throw r;return r}n=xp(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Sp(n),r},Op=Ia,Pp=St("iterator"),kp=Array.prototype,jp=Bo,Tp=Me,Ip=te,_p=Ia,Np=St("iterator"),Cp=function(e){if(!Ip(e))return Tp(e,Np)||Tp(e,"@@iterator")||_p[jp(e)]},Up=N,Lp=Be,Fp=er,Bp=Ce,Dp=Cp,qp=TypeError,Mp=function(e,t){var r=arguments.length<2?Dp(e):t;if(Lp(r))return Fp(Up(r,e));throw new qp(Bp(e)+" is not iterable")},Wp=op,Gp=N,zp=it,Hp=function(e,t,r,n){try{return n?t(Ap(r)[0],r[1]):t(r)}catch(t){Rp(e,"throw",t)}},$p=function(e){return void 0!==e&&(Op.Array===e||kp[Pp]===e)},Vp=Qo,Kp=Nn,Yp=jo,Jp=Mp,Qp=Cp,Xp=Array,Zp=H([].slice),ef=H,tf=2147483647,rf=/[^\0-\u007E]/,nf=/[.\u3002\uFF0E\uFF61]/g,of="Overflow: input needs wider integers to process",af=RangeError,sf=ef(nf.exec),uf=Math.floor,cf=String.fromCharCode,lf=ef("".charCodeAt),pf=ef([].join),ff=ef([].push),hf=ef("".replace),df=ef("".split),yf=ef("".toLowerCase),mf=function(e){return e+22+75*(e<26)},gf=function(e,t,r){var n=0;for(e=r?uf(e/700):e>>1,e+=uf(e/t);e>455;)e=uf(e/35),n+=36;return uf(n+36*e/(e+38))},vf=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=lf(e,r++);if(o>=55296&&o<=56319&&r<n){var i=lf(e,r++);56320==(64512&i)?ff(t,((1023&o)<<10)+(1023&i)+65536):(ff(t,o),r--)}else ff(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&ff(t,cf(n));var u=t.length,c=u;for(u&&ff(t,"-");c<o;){var l=tf;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>uf((tf-a)/p))throw new af(of);for(a+=(l-i)*p,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>tf)throw new af(of);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;ff(t,cf(mf(d+y%m))),f=uf(y/m),h+=36}ff(t,cf(mf(f))),s=gf(a,p,c===u),a=0,c++}}a++,i++}return pf(t,"")},bf=TypeError,wf=function(e,t){if(e<t)throw new bf("Not enough arguments");return e},xf=O,Sf=j,Ef=Object.getOwnPropertyDescriptor,Af=bn,Rf=Zp,Of=Math.floor,Pf=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=Of(r/2),s=Pf(Rf(e,0,a),t),u=Pf(Rf(e,a),t),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)e[p+f]=p<c&&f<l?t(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return e},kf=So,jf=O,Tf=function(e){if(!Sf)return xf[e];var t=Ef(xf,e);return t&&t.value},If=N,_f=H,Nf=j,Cf=Ql,Uf=bn,Lf=Ri,Ff=function(e,t,r){for(var n in t)Af(e,n,t[n],r);return e},Bf=Za,Df=as,qf=Yr,Mf=sp,Wf=ce,Gf=ut,zf=op,Hf=Bo,$f=er,Vf=pe,Kf=Xs,Yf=Sa,Jf=q,Qf=Mp,Xf=Cp,Zf=Ps,eh=wf,th=Pf,rh=St("iterator"),nh="URLSearchParams",oh=nh+"Iterator",ih=qf.set,ah=qf.getterFor(nh),sh=qf.getterFor(oh),uh=Tf("fetch"),ch=Tf("Request"),lh=Tf("Headers"),ph=ch&&ch.prototype,fh=lh&&lh.prototype,hh=jf.RegExp,dh=jf.TypeError,yh=jf.decodeURIComponent,mh=jf.encodeURIComponent,gh=_f("".charAt),vh=_f([].join),bh=_f([].push),wh=_f("".replace),xh=_f([].shift),Sh=_f([].splice),Eh=_f("".split),Ah=_f("".slice),Rh=/\+/g,Oh=Array(4),Ph=function(e){return Oh[e-1]||(Oh[e-1]=hh("((?:%[\\da-f]{2}){"+e+"})","gi"))},kh=function(e){try{return yh(e)}catch(t){return e}},jh=function(e){var t=wh(e,Rh," "),r=4;try{return yh(t)}catch(e){for(;r;)t=wh(t,Ph(r--),kh);return t}},Th=/[!'()~]|%20/g,Ih={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},_h=function(e){return Ih[e]},Nh=function(e){return wh(mh(e),Th,_h)},Ch=Df((function(e,t){ih(this,{type:oh,target:ah(e).entries,index:0,kind:t})}),nh,(function(){var e=sh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,Zf(void 0,!0);var n=t[r];switch(e.kind){case"keys":return Zf(n.key,!1);case"values":return Zf(n.value,!1)}return Zf([n.key,n.value],!1)}),!0),Uh=function(e){this.entries=[],this.url=null,void 0!==e&&(Vf(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===gh(e,0)?Ah(e,1):e:Kf(e)))};Uh.prototype={type:nh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=Xf(e);if(c)for(r=(t=Qf(e,c)).next;!(n=If(r,t)).done;){if(i=(o=Qf($f(n.value))).next,(a=If(i,o)).done||(s=If(i,o)).done||!If(i,o).done)throw new dh("Expected sequence with length 2");bh(u,{key:Kf(a.value),value:Kf(s.value)})}else for(var l in e)Gf(e,l)&&bh(u,{key:l,value:Kf(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Eh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Eh(t,"="),bh(n,{key:jh(xh(r)),value:jh(vh(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],bh(r,Nh(e.key)+"="+Nh(e.value));return vh(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Lh=function(){Mf(this,Fh);var e=ih(this,new Uh(arguments.length>0?arguments[0]:void 0));Nf||(this.size=e.entries.length)},Fh=Lh.prototype;if(Ff(Fh,{append:function(e,t){var r=ah(this);eh(arguments.length,2),bh(r.entries,{key:Kf(e),value:Kf(t)}),Nf||this.length++,r.updateURL()},delete:function(e){for(var t=ah(this),r=eh(arguments.length,1),n=t.entries,o=Kf(e),i=r<2?void 0:arguments[1],a=void 0===i?i:Kf(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Sh(n,s,1),void 0!==a)break}Nf||(this.size=n.length),t.updateURL()},get:function(e){var t=ah(this).entries;eh(arguments.length,1);for(var r=Kf(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=ah(this).entries;eh(arguments.length,1);for(var r=Kf(e),n=[],o=0;o<t.length;o++)t[o].key===r&&bh(n,t[o].value);return n},has:function(e){for(var t=ah(this).entries,r=eh(arguments.length,1),n=Kf(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Kf(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=ah(this);eh(arguments.length,1);for(var n,o=r.entries,i=!1,a=Kf(e),s=Kf(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Sh(o,u--,1):(i=!0,n.value=s));i||bh(o,{key:a,value:s}),Nf||(this.size=o.length),r.updateURL()},sort:function(){var e=ah(this);th(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=ah(this).entries,n=zf(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new Ch(this,"keys")},values:function(){return new Ch(this,"values")},entries:function(){return new Ch(this,"entries")}},{enumerable:!0}),Uf(Fh,rh,Fh.entries,{name:"entries"}),Uf(Fh,"toString",(function(){return ah(this).serialize()}),{enumerable:!0}),Nf&&Lf(Fh,"size",{get:function(){return ah(this).entries.length},configurable:!0,enumerable:!0}),Bf(Lh,nh),kf({global:!0,constructor:!0,forced:!Cf},{URLSearchParams:Lh}),!Cf&&Wf(lh)){var Bh=_f(fh.has),Dh=_f(fh.set),qh=function(e){if(Vf(e)){var t,r=e.body;if(Hf(r)===nh)return t=e.headers?new lh(e.headers):new lh,Bh(t,"content-type")||Dh(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Yf(e,{body:Jf(0,Kf(r)),headers:Jf(0,t)})}return e};if(Wf(uh)&&kf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return uh(e,arguments.length>1?qh(arguments[1]):{})}}),Wf(ch)){var Mh=function(e){return Mf(this,ph),new ch(e,arguments.length>1?qh(arguments[1]):{})};ph.constructor=Mh,Mh.prototype=ph,kf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Mh})}}var Wh,Gh=So,zh=j,Hh=Ql,$h=O,Vh=op,Kh=H,Yh=bn,Jh=Ri,Qh=sp,Xh=ut,Zh=wp,ed=function(e){var t=zp(e),r=Vp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Wp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=Qp(t),h=0;if(!f||this===Xp&&$p(f))for(a=Kp(t),s=r?new this(a):Xp(a);a>h;h++)p=i?o(t[h],h):t[h],Yp(s,h,p);else for(s=r?new this:[],l=(c=Jp(t,f)).next;!(u=Gp(l,c)).done;h++)p=i?Hp(c,o,[u.value,h],!0):u.value,Yp(s,h,p);return s.length=h,s},td=Zp,rd=Ec.codeAt,nd=function(e){var t,r,n=[],o=df(hf(yf(e),nf,"."),".");for(t=0;t<o.length;t++)r=o[t],ff(n,sf(rf,r)?"xn--"+vf(r):r);return pf(n,".")},od=Xs,id=Za,ad=wf,sd={URLSearchParams:Lh,getState:ah},ud=Yr,cd=ud.set,ld=ud.getterFor("URL"),pd=sd.URLSearchParams,fd=sd.getState,hd=$h.URL,dd=$h.TypeError,yd=$h.parseInt,md=Math.floor,gd=Math.pow,vd=Kh("".charAt),bd=Kh(/./.exec),wd=Kh([].join),xd=Kh(1..toString),Sd=Kh([].pop),Ed=Kh([].push),Ad=Kh("".replace),Rd=Kh([].shift),Od=Kh("".split),Pd=Kh("".slice),kd=Kh("".toLowerCase),jd=Kh([].unshift),Td="Invalid scheme",Id="Invalid host",_d="Invalid port",Nd=/[a-z]/i,Cd=/[\d+-.a-z]/i,Ud=/\d/,Ld=/^0x/i,Fd=/^[0-7]+$/,Bd=/^\d+$/,Dd=/^[\da-f]+$/i,qd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Md=/[\0\t\n\r #/:<>?@[\\\]^|]/,Wd=/^[\u0000-\u0020]+/,Gd=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,zd=/[\t\n\r]/g,Hd=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)jd(t,e%256),e=md(e/256);return wd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=xd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},$d={},Vd=Zh({},$d,{" ":1,'"':1,"<":1,">":1,"`":1}),Kd=Zh({},Vd,{"#":1,"?":1,"{":1,"}":1}),Yd=Zh({},Kd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Jd=function(e,t){var r=rd(e,0);return r>32&&r<127&&!Xh(t,e)?e:encodeURIComponent(e)},Qd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Xd=function(e,t){var r;return 2===e.length&&bd(Nd,vd(e,0))&&(":"===(r=vd(e,1))||!t&&"|"===r)},Zd=function(e){var t;return e.length>1&&Xd(Pd(e,0,2))&&(2===e.length||"/"===(t=vd(e,2))||"\\"===t||"?"===t||"#"===t)},ey=function(e){return"."===e||"%2e"===kd(e)},ty={},ry={},ny={},oy={},iy={},ay={},sy={},uy={},cy={},ly={},py={},fy={},hy={},dy={},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy=function(e,t,r){var n,o,i,a=od(e);if(t){if(o=this.parse(a))throw new dd(o);this.searchParams=null}else{if(void 0!==r&&(n=new Sy(r,!0)),o=this.parse(a,null,n))throw new dd(o);(i=fd(new pd)).bindURL(this),this.searchParams=i}};Sy.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s,u=this,c=t||ty,l=0,p="",f=!1,h=!1,d=!1;for(e=od(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=Ad(e,Wd,""),e=Ad(e,Gd,"$1")),e=Ad(e,zd,""),n=ed(e);l<=n.length;){switch(o=n[l],c){case ty:if(!o||!bd(Nd,o)){if(t)return Td;c=ny;continue}p+=kd(o),c=ry;break;case ry:if(o&&(bd(Cd,o)||"+"===o||"-"===o||"."===o))p+=kd(o);else{if(":"!==o){if(t)return Td;p="",c=ny,l=0;continue}if(t&&(u.isSpecial()!==Xh(Qd,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,t)return void(u.isSpecial()&&Qd[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=dy:u.isSpecial()&&r&&r.scheme===u.scheme?c=oy:u.isSpecial()?c=uy:"/"===n[l+1]?(c=iy,l++):(u.cannotBeABaseURL=!0,Ed(u.path,""),c=by)}break;case ny:if(!r||r.cannotBeABaseURL&&"#"!==o)return Td;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=td(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=xy;break}c="file"===r.scheme?dy:ay;continue;case oy:if("/"!==o||"/"!==n[l+1]){c=ay;continue}c=cy,l++;break;case iy:if("/"===o){c=ly;break}c=vy;continue;case ay:if(u.scheme=r.scheme,o===Wh)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=td(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=sy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=td(r.path),u.query="",c=wy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=td(r.path),u.path.length--,c=vy;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=td(r.path),u.query=r.query,u.fragment="",c=xy}break;case sy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=vy;continue}c=ly}else c=cy;break;case uy:if(c=cy,"/"!==o||"/"!==vd(p,l+1))continue;l++;break;case cy:if("/"!==o&&"\\"!==o){c=ly;continue}break;case ly:if("@"===o){f&&(p="%40"+p),f=!0,i=ed(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=Jd(m,Yd);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=ed(p).length+1,p="",c=py}else p+=o;break;case py:case fy:if(t&&"file"===u.scheme){c=my;continue}if(":"!==o||h){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return Id;if(t&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=gy,t)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return Id;if(a=u.parseHost(p))return a;if(p="",c=hy,t===fy)return}break;case hy:if(!bd(Ud,o)){if(o===Wh||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||t){if(""!==p){var v=yd(p,10);if(v>65535)return _d;u.port=u.isSpecial()&&v===Qd[u.scheme]?null:v,p=""}if(t)return;c=gy;continue}return _d}p+=o;break;case dy:if(u.scheme="file","/"===o||"\\"===o)c=yy;else{if(!r||"file"!==r.scheme){c=vy;continue}switch(o){case Wh:u.host=r.host,u.path=td(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=td(r.path),u.query="",c=wy;break;case"#":u.host=r.host,u.path=td(r.path),u.query=r.query,u.fragment="",c=xy;break;default:Zd(wd(td(n,l),""))||(u.host=r.host,u.path=td(r.path),u.shortenPath()),c=vy;continue}}break;case yy:if("/"===o||"\\"===o){c=my;break}r&&"file"===r.scheme&&!Zd(wd(td(n,l),""))&&(Xd(r.path[0],!0)?Ed(u.path,r.path[0]):u.host=r.host),c=vy;continue;case my:if(o===Wh||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&Xd(p))c=vy;else if(""===p){if(u.host="",t)return;c=gy}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),t)return;p="",c=gy}continue}p+=o;break;case gy:if(u.isSpecial()){if(c=vy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==Wh&&(c=vy,"/"!==o))continue}else u.fragment="",c=xy;else u.query="",c=wy;break;case vy:if(o===Wh||"/"===o||"\\"===o&&u.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(s=kd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,"")):ey(p)?"/"===o||"\\"===o&&u.isSpecial()||Ed(u.path,""):("file"===u.scheme&&!u.path.length&&Xd(p)&&(u.host&&(u.host=""),p=vd(p,0)+":"),Ed(u.path,p)),p="","file"===u.scheme&&(o===Wh||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Rd(u.path);"?"===o?(u.query="",c=wy):"#"===o&&(u.fragment="",c=xy)}else p+=Jd(o,Kd);break;case by:"?"===o?(u.query="",c=wy):"#"===o?(u.fragment="",c=xy):o!==Wh&&(u.path[0]+=Jd(o,$d));break;case wy:t||"#"!==o?o!==Wh&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":Jd(o,$d)):(u.fragment="",c=xy);break;case xy:o!==Wh&&(u.fragment+=Jd(o,Vd))}l++}},parseHost:function(e){var t,r,n;if("["===vd(e,0)){if("]"!==vd(e,e.length-1))return Id;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return vd(e,p)};if(":"===f()){if(":"!==vd(e,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&bd(Dd,f());)t=16*t+yd(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!bd(Ud,f()))return;for(;bd(Ud,f());){if(i=yd(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=t}else{if(null!==l)return;p++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(Pd(e,1,-1)),!t)return Id;this.host=t}else if(this.isSpecial()){if(e=nd(e),bd(qd,e))return Id;if(t=function(e){var t,r,n,o,i,a,s,u=Od(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return e;if(i=10,o.length>1&&"0"===vd(o,0)&&(i=bd(Ld,o)?16:8,o=Pd(o,8===i?1:2)),""===o)a=0;else{if(!bd(10===i?Bd:8===i?Fd:Dd,o))return e;a=yd(o,i)}Ed(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=gd(256,5-t))return null}else if(a>255)return null;for(s=Sd(r),n=0;n<r.length;n++)s+=r[n]*gd(256,3-n);return s}(e),null===t)return Id;this.host=t}else{if(bd(Md,e))return Id;for(t="",r=ed(e),n=0;n<r.length;n++)t+=Jd(r[n],$d);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return Xh(Qd,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&Xd(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Hd(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+wd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new dd(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ey(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+Hd(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(od(e)+":",ty)},getUsername:function(){return this.username},setUsername:function(e){var t=ed(od(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Jd(t[r],Yd)}},getPassword:function(){return this.password},setPassword:function(e){var t=ed(od(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Jd(t[r],Yd)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Hd(e):Hd(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,py)},getHostname:function(){var e=this.host;return null===e?"":Hd(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,fy)},getPort:function(){var e=this.port;return null===e?"":od(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=od(e))?this.port=null:this.parse(e,hy))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+wd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,gy))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=od(e))?this.query=null:("?"===vd(e,0)&&(e=Pd(e,1)),this.query="",this.parse(e,wy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=od(e))?("#"===vd(e,0)&&(e=Pd(e,1)),this.fragment="",this.parse(e,xy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ey=function(e){var t=Qh(this,Ay),r=ad(arguments.length,1)>1?arguments[1]:void 0,n=cd(t,new Sy(e,!1,r));zh||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ay=Ey.prototype,Ry=function(e,t){return{get:function(){return ld(this)[e]()},set:t&&function(e){return ld(this)[t](e)},configurable:!0,enumerable:!0}};if(zh&&(Jh(Ay,"href",Ry("serialize","setHref")),Jh(Ay,"origin",Ry("getOrigin")),Jh(Ay,"protocol",Ry("getProtocol","setProtocol")),Jh(Ay,"username",Ry("getUsername","setUsername")),Jh(Ay,"password",Ry("getPassword","setPassword")),Jh(Ay,"host",Ry("getHost","setHost")),Jh(Ay,"hostname",Ry("getHostname","setHostname")),Jh(Ay,"port",Ry("getPort","setPort")),Jh(Ay,"pathname",Ry("getPathname","setPathname")),Jh(Ay,"search",Ry("getSearch","setSearch")),Jh(Ay,"searchParams",Ry("getSearchParams")),Jh(Ay,"hash",Ry("getHash","setHash"))),Yh(Ay,"toJSON",(function(){return ld(this).serialize()}),{enumerable:!0}),Yh(Ay,"toString",(function(){return ld(this).serialize()}),{enumerable:!0}),hd){var Oy=hd.createObjectURL,Py=hd.revokeObjectURL;Oy&&Yh(Ey,"createObjectURL",Vh(Oy,hd)),Py&&Yh(Ey,"revokeObjectURL",Vh(Py,hd))}id(Ey,"URL"),Gh({global:!0,constructor:!0,forced:!Hh,sham:!zh},{URL:Ey});var ky=N;So({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return ky(URL.prototype.toString,this)}});var jy=op,Ty=ee,Iy=it,_y=Nn,Ny=oi,Cy=H([].push),Uy=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l,p){for(var f,h,d=Iy(u),y=Ty(d),m=_y(y),g=jy(c,l),v=0,b=p||Ny,w=t?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Cy(w,f)}else switch(e){case 4:return!1;case 7:Cy(w,f)}return i?-1:n||o?o:w}},Ly={forEach:Uy(0),map:Uy(1),filter:Uy(2),some:Uy(3),every:Uy(4),find:Uy(5),findIndex:Uy(6),filterReject:Uy(7)},Fy=Ly.map;So({target:"Array",proto:!0,forced:!ui("map")},{map:function(e){return Fy(this,e,arguments.length>1?arguments[1]:void 0)}});var By=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},Dy=function(){return u((function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(e){return By(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return By(e)}}])}(),qy=["endpointName"],My=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return p(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map((function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,qy);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Dy),Wy=["preview"],Gy=["preview"],zy=["preview"],Hy=["preview"],$y=["preview"],Vy=["preview"],Ky=["preview"],Yy=["preview"],Jy=["preview"],Qy=["preview"],Xy=["preview"],Zy=["preview"],em=["preview"],tm=["preview"],rm=function(e){function t(){return a(this,t),i(this,t,arguments)}return p(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,Wy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,Gy),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().mark((function e(t){var r,n,o,i,a,s;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.next=9;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.next=6,this.client.get(i,{id:n});case 6:return a=e.sent,s=a.defaultThread,e.abrupt("return",this.client.post(o,d(d({},t),{},{thread:s})));case 9:return e.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,Hy),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,$y),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,Vy),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,Ky),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,Yy),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,Jy),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,Qy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,Xy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,Zy),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,em),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,tm),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}}]);var r}(Dy),nm=k,om=function(e,t){var r=[][e];return!!r&&nm((function(){r.call(null,t||function(){return 1},1)}))},im=Ly.every;So({target:"Array",proto:!0,forced:!om("every")},{every:function(e){return im(this,e,arguments.length>1?arguments[1]:void 0)}});var am=So,sm=Bn.indexOf,um=om,cm=ep([].indexOf),lm=!!cm&&1/cm([1],1,-0)<0;am({target:"Array",proto:!0,forced:lm||!um("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return lm?cm(this,e,t)||0:sm(this,e,t)}}),So({target:"Array",stat:!0},{isArray:Ao});var pm=Be,fm=it,hm=ee,dm=Nn,ym=TypeError,mm="Reduce of empty array with no initial value",gm=function(e){return function(t,r,n,o){var i=fm(t),a=hm(i),s=dm(i);if(pm(r),0===s&&n<2)throw new ym(mm);var u=e?s-1:0,c=e?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw new ym(mm)}for(;e?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},vm={left:gm(!1),right:gm(!0)},bm="process"===Y(O.process),wm=vm.left;So({target:"Array",proto:!0,forced:!bm&&Se>79&&Se<83||!om("reduce")},{reduce:function(e){var t=arguments.length;return wm(this,e,t,t>1?arguments[1]:void 0)}});var xm=So,Sm=Ao,Em=Qo,Am=pe,Rm=kn,Om=Nn,Pm=se,km=jo,jm=St,Tm=Zp,Im=ui("slice"),_m=jm("species"),Nm=Array,Cm=Math.max;xm({target:"Array",proto:!0,forced:!Im},{slice:function(e,t){var r,n,o,i=Pm(this),a=Om(i),s=Rm(e,a),u=Rm(void 0===t?a:t,a);if(Sm(i)&&(r=i.constructor,(Em(r)&&(r===Nm||Sm(r.prototype))||Am(r)&&null===(r=r[_m]))&&(r=void 0),r===Nm||void 0===r))return Tm(i,s,u);for(n=new(void 0===r?Nm:r)(Cm(u-s,0)),o=0;s<u;s++,o++)s in i&&km(n,o,i[s]);return n.length=o,n}});var Um=O,Lm=ce,Fm=pe,Bm=zi,Dm=H(1..valueOf),qm=So,Mm=j,Wm=O,Gm=Um,zm=H,Hm=ho,$m=ut,Vm=function(e,t,r){var n,o;return Bm&&Lm(n=t.constructor)&&n!==r&&Fm(o=n.prototype)&&o!==r.prototype&&Bm(e,o),e},Km=ye,Ym=_e,Jm=Tt,Qm=k,Xm=wn.f,Zm=P.f,eg=Yt.f,tg=Dm,rg=su.trim,ng="Number",og=Wm[ng];Gm[ng];var ig=og.prototype,ag=Wm.TypeError,sg=zm("".slice),ug=zm("".charCodeAt),cg=function(e){var t,r,n,o,i,a,s,u,c=Jm(e,"number");if(Ym(c))throw new ag("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=rg(c),43===(t=ug(c,0))||45===t){if(88===(r=ug(c,2))||120===r)return NaN}else if(48===t){switch(ug(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=sg(c,2)).length,s=0;s<a;s++)if((u=ug(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},lg=Hm(ng,!og(" 0o1")||!og("0b1")||og("+0x1")),pg=function(e){var t,r=arguments.length<1?0:og(function(e){var t=Jm(e,"number");return"bigint"==typeof t?t:cg(t)}(e));return Km(ig,t=this)&&Qm((function(){tg(t)}))?Vm(Object(r),this,pg):r};pg.prototype=ig,lg&&(ig.constructor=pg),qm({global:!0,constructor:!0,wrap:!0,forced:lg},{Number:pg});lg&&function(e,t){for(var r,n=Mm?Xm(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)$m(t,r=n[o])&&!$m(e,r)&&eg(e,r,Zm(t,r))}(Gm[ng],og);var fg=wp;So({target:"Object",stat:!0,arity:2,forced:Object.assign!==fg},{assign:fg});var hg=N,dg=er,yg=te,mg=In,gg=Xs,vg=oe,bg=Me,wg=Vc,xg=ul;Hc("match",(function(e,t,r){return[function(t){var r=vg(this),n=yg(t)?void 0:bg(t,e);return n?hg(n,t,r):new RegExp(t)[e](gg(r))},function(e){var n=dg(this),o=gg(e),i=r(t,n,o);if(i.done)return i.value;if(!n.global)return xg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=xg(n,o));){var l=gg(s[0]);u[c]=l,""===l&&(n.lastIndex=wg(o,mg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Sg=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t)}(x(Error)),Eg=Ly.forEach,Ag=om("forEach")?[].forEach:function(e){return Eg(this,e,arguments.length>1?arguments[1]:void 0)};So({target:"Array",proto:!0,forced:[].forEach!==Ag},{forEach:Ag});var Rg=it,Og=ea;So({target:"Object",stat:!0,forced:k((function(){Og(1)}))},{keys:function(e){return Og(Rg(e))}});var Pg=O,kg=Cl,jg=Fl,Tg=Ag,Ig=dr,_g=function(e){if(e&&e.forEach!==Tg)try{Ig(e,"forEach",Tg)}catch(t){e.forEach=Tg}};for(var Ng in kg)kg[Ng]&&_g(Pg[Ng]&&Pg[Ng].prototype);_g(jg);var Cg=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),p=t.buildErrorMessage(c,n,l);return(u=i(this,t,[p])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=p,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return p(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach((function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))})),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(x(Error)),Ug=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(x(Error)),Lg=["condition","orderBy","withCursor"],Fg=["fields","condition"],Bg=["condition","orderBy"],Dg=500,qg=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return p(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(O=o(m().mark((function e(t){var r,n,o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.app,n=t.updateKey,o=t.record,e.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=e.sent,!((a=i.records).length>0)){e.next=13;break}if("__ID__"!==a[0].$id.type){e.next=12;break}return e.next=9,this.updateRecord(t);case 9:return s=e.sent,u=s.revision,e.abrupt("return",{id:a[0].$id.value,revision:u});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 e.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return O.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().mark((function e(t){var r,n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.get(r,t);case 3:return n=e.sent,this.warnMaximumOffsetValueIfNeeded(t.query),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().mark((function e(t){var r,n,o,i;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.post(r,t);case 3:return n=e.sent,o=n.ids,i=n.revisions,e.abrupt("return",{ids:o,revisions:i,records:o.map((function(e,t){return{id:e,revision:i[t]}}))});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(E=o(m().mark((function e(t){var r,n,o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,Lg),n){e.next=3;break}return e.abrupt("return",this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 3:if(!i){e.next=7;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.abrupt("return",this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 7:return e.abrupt("return",this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=o(m().mark((function e(t){var r,n,o,i,a,s,u,c,l,p;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.fields,n=t.condition,o=y(t,Fg),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(v(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 6:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(Dg),e.next=10,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 10:if(l=e.sent,s=s.concat(l.records),!(l.records.length<Dg)){e.next=14;break}return e.abrupt("break",22);case 14:if("__ID__"!==(p=l.records[l.records.length-1]).$id.type){e.next=19;break}u=p.$id.value,e.next=20;break;case 19:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 20:e.next=6;break;case 22:return e.abrupt("return",s);case 23:case"end":return e.stop()}}),e,this)}))),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=o(m().mark((function e(t){var r,n,o,i,a,s,u,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.condition,n=t.orderBy,o=y(t,Bg),i=r?"".concat(r," "):"",a=[],s=0;case 4:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(Dg," offset ").concat(s),e.next=8,this.getRecords(d(d({},o),{},{query:u}));case 8:if(c=e.sent,a=a.concat(c.records),!(c.records.length<Dg)){e.next=12;break}return e.abrupt("break",15);case 12:s+=Dg,e.next=4;break;case 15:return e.abrupt("return",a);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().mark((function e(t){var r,n,o,i;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCursor(t);case 2:r=e.sent,n=r.id,e.prev=4,o=[];case 6:return e.next=9,this.getRecordsByCursor({id:n});case 9:if(i=e.sent,o=o.concat(i.records),i.next){e.next=13;break}return e.abrupt("break",15);case 13:e.next=6;break;case 15:return e.abrupt("return",o);case 18:return e.prev=18,e.t0=e.catch(4),e.next=22,this.deleteCursor({id:n});case 22:throw e.t0;case 23:case"end":return e.stop()}}),e,this,[[4,18]])}))),function(e){return w.apply(this,arguments)})},{key:"addAllRecords",value:(b=o(m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.records.every((function(e){return!Array.isArray(e)&&e instanceof Object}))){e.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return e.abrupt("return",this.addAllRecordsRecursive(t,t.records.length,[]));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return b.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().mark((function e(t,r,n){var o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.addAllRecordsWithBulkRequest({app:i,records:s});case 8:u=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new Cg({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().mark((function e(t){var r,n,o;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){var t=e.ids,r=e.revisions;return t.map((function(e,t){return{id:e,revision:r[t]}}))})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(f=o(m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.updateAllRecordsRecursive(t,t.records.length,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().mark((function e(t,r,n){var o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.updateAllRecordsWithBulkRequest({app:i,records:s});case 8:u=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new Cg({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.updateAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().mark((function e(t){var r,n,o;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){return e.records})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().mark((function e(t,r){var n,o,i,a;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.next=5;break}return e.abrupt("return",{});case 5:return e.prev=5,e.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(5),new Cg({},i,r,e.t0,100);case 13:return e.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().mark((function e(t){var r,n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map((function(e){return e.id})),revisions:e.map((function(e){return e.revision}))}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(v(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,f,h,g,b,w,x,S,E,A,R,O}(Dy),Mg=function(e){function t(){return a(this,t),i(this,t,arguments)}return p(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}}])}(Dy),Wg=E("object"==typeof self?self.FormData:window.FormData),Gg=function(e){function r(){return a(this,r),i(this,r,arguments)}return p(r,e),u(r,[{key:"uploadFile",value:(n=o(m().mark((function e(r){var n,o,i,a,s,u,c,l,p;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new Wg,!("path"in r.file)){e.next=19;break}return e.prev=3,e.next=6,t.readFileFromPath(r.file.path);case 6:i=e.sent,a=i.name,s=i.data,o.append("file",s,a),e.next=17;break;case 12:if(e.prev=12,e.t0=e.catch(3),!(e.t0 instanceof Hi)){e.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(e.t0.platform," environment."));case 16:throw e.t0;case 17:e.next=22;break;case 19:u=r.file,c=u.name,l=u.data,p=t.buildFormDataValue(l,c),o.append("file",p,c);case 22:return e.abrupt("return",this.client.postData(n,o));case 23:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(Dy),zg="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Hg(e,t){return function(){return e.apply(t,arguments)}}const{toString:$g}=Object.prototype,{getPrototypeOf:Vg}=Object,Kg=(Yg=Object.create(null),e=>{const t=$g.call(e);return Yg[t]||(Yg[t]=t.slice(8,-1).toLowerCase())});var Yg;const Jg=e=>(e=e.toLowerCase(),t=>Kg(t)===e),Qg=e=>t=>typeof t===e,{isArray:Xg}=Array,Zg=Qg("undefined");const ev=Jg("ArrayBuffer");const tv=Qg("string"),rv=Qg("function"),nv=Qg("number"),ov=e=>null!==e&&"object"==typeof e,iv=e=>{if("object"!==Kg(e))return!1;const t=Vg(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},av=Jg("Date"),sv=Jg("File"),uv=Jg("Blob"),cv=Jg("FileList"),lv=Jg("URLSearchParams"),[pv,fv,hv,dv]=["ReadableStream","Request","Response","Headers"].map(Jg);function yv(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),Xg(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let a;for(r=0;r<i;r++)a=n[r],t.call(null,e[a],a,e)}}function mv(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const gv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:zg,vv=e=>!Zg(e)&&e!==gv;const bv=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Vg(Uint8Array)),wv=Jg("HTMLFormElement"),xv=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),Sv=Jg("RegExp"),Ev=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};yv(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Av="abcdefghijklmnopqrstuvwxyz",Rv="0123456789",Ov={DIGIT:Rv,ALPHA:Av,ALPHA_DIGIT:Av+Av.toUpperCase()+Rv};const Pv=Jg("AsyncFunction");var kv={isArray:Xg,isArrayBuffer:ev,isBuffer:function(e){return null!==e&&!Zg(e)&&null!==e.constructor&&!Zg(e.constructor)&&rv(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||rv(e.append)&&("formdata"===(t=Kg(e))||"object"===t&&rv(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ev(e.buffer),t},isString:tv,isNumber:nv,isBoolean:e=>!0===e||!1===e,isObject:ov,isPlainObject:iv,isReadableStream:pv,isRequest:fv,isResponse:hv,isHeaders:dv,isUndefined:Zg,isDate:av,isFile:sv,isBlob:uv,isRegExp:Sv,isFunction:rv,isStream:e=>ov(e)&&rv(e.pipe),isURLSearchParams:lv,isTypedArray:bv,isFileList:cv,forEach:yv,merge:function e(){const{caseless:t}=vv(this)&&this||{},r={},n=(n,o)=>{const i=t&&mv(r,o)||o;iv(r[i])&&iv(n)?r[i]=e(r[i],n):iv(n)?r[i]=e({},n):Xg(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&yv(arguments[e],n);return r},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return yv(t,((t,n)=>{r&&rv(t)?e[n]=Hg(t,r):e[n]=t}),{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Vg(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Kg,kindOfTest:Jg,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Xg(e))return e;let t=e.length;if(!nv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:wv,hasOwnProperty:xv,hasOwnProp:xv,reduceDescriptors:Ev,freezeMethods:e=>{Ev(e,((t,r)=>{if(rv(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];rv(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return Xg(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:mv,global:gv,isContextDefined:vv,ALPHABET:Ov,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ov.ALPHA_DIGIT,r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&rv(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(ov(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=Xg(e)?[]:{};return yv(e,((e,t)=>{const i=r(e,n+1);!Zg(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Pv,isThenable:e=>e&&(ov(e)||rv(e))&&rv(e.then)&&rv(e.catch)},jv=[],Tv=[],Iv="undefined"!=typeof Uint8Array?Uint8Array:Array,_v=!1;function Nv(){_v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)jv[t]=e[t],Tv[e.charCodeAt(t)]=t;Tv["-".charCodeAt(0)]=62,Tv["_".charCodeAt(0)]=63}function Cv(e,t,r){for(var n,o,i=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(jv[(o=n)>>18&63]+jv[o>>12&63]+jv[o>>6&63]+jv[63&o]);return i.join("")}function Uv(e){var t;_v||Nv();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Cv(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=jv[t>>2],o+=jv[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=jv[t>>10],o+=jv[t>>4&63],o+=jv[t<<2&63],o+="="),i.push(o),i.join("")}function Lv(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=e[t+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Fv(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var Bv={}.toString,Dv=Array.isArray||function(e){return"[object Array]"==Bv.call(e)};function qv(){return Wv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Mv(e,t){if(qv()<t)throw new RangeError("Invalid typed array length");return Wv.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Wv.prototype:(null===e&&(e=new Wv(t)),e.length=t),e}function Wv(e,t,r){if(!(Wv.TYPED_ARRAY_SUPPORT||this instanceof Wv))return new Wv(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Hv(this,e)}return Gv(this,e,t,r)}function Gv(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);Wv.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Wv.prototype:e=$v(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!Wv.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Yv(t,r);e=Mv(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(Kv(t)){var r=0|Vv(t.length);return 0===(e=Mv(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?Mv(e,0):$v(e,t);if("Buffer"===t.type&&Dv(t.data))return $v(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function zv(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Hv(e,t){if(zv(t),e=Mv(e,t<0?0:0|Vv(t)),!Wv.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function $v(e,t){var r=t.length<0?0:0|Vv(t.length);e=Mv(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Vv(e){if(e>=qv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qv().toString(16)+" bytes");return 0|e}function Kv(e){return!(null==e||!e._isBuffer)}function Yv(e,t){if(Kv(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Sb(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Eb(e).length;default:if(n)return Sb(e).length;t=(""+t).toLowerCase(),n=!0}}function Jv(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return pb(this,t,r);case"utf8":case"utf-8":return sb(this,t,r);case"ascii":return cb(this,t,r);case"latin1":case"binary":return lb(this,t,r);case"base64":return ab(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fb(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Qv(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Xv(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=Wv.from(t,n)),Kv(t))return 0===t.length?-1:Zv(e,t,r,n,o);if("number"==typeof t)return t&=255,Wv.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Zv(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Zv(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var p=!0,f=0;f<u;f++)if(c(e,i+f)!==c(t,f)){p=!1;break}if(p)return i}return-1}function eb(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function tb(e,t,r,n){return Ab(Sb(t,e.length-r),e,r,n)}function rb(e,t,r,n){return Ab(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function nb(e,t,r,n){return rb(e,t,r,n)}function ob(e,t,r,n){return Ab(Eb(t),e,r,n)}function ib(e,t,r,n){return Ab(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function ab(e,t,r){return 0===t&&r===e.length?Uv(e):Uv(e.slice(t,r))}function sb(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(e){var t=e.length;if(t<=ub)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=ub));return r}(n)}Wv.TYPED_ARRAY_SUPPORT=void 0===zg.TYPED_ARRAY_SUPPORT||zg.TYPED_ARRAY_SUPPORT,qv(),Wv.poolSize=8192,Wv._augment=function(e){return e.__proto__=Wv.prototype,e},Wv.from=function(e,t,r){return Gv(null,e,t,r)},Wv.TYPED_ARRAY_SUPPORT&&(Wv.prototype.__proto__=Uint8Array.prototype,Wv.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Wv[Symbol.species]),Wv.alloc=function(e,t,r){return function(e,t,r,n){return zv(t),t<=0?Mv(e,t):void 0!==r?"string"==typeof n?Mv(e,t).fill(r,n):Mv(e,t).fill(r):Mv(e,t)}(null,e,t,r)},Wv.allocUnsafe=function(e){return Hv(null,e)},Wv.allocUnsafeSlow=function(e){return Hv(null,e)},Wv.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Rb(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Rb(e.slice(0,0))}(e))},Wv.compare=function(e,t){if(!Kv(e)||!Kv(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},Wv.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Wv.concat=function(e,t){if(!Dv(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Wv.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Wv.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!Kv(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},Wv.byteLength=Yv,Wv.prototype._isBuffer=!0,Wv.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Qv(this,t,t+1);return this},Wv.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Qv(this,t,t+3),Qv(this,t+1,t+2);return this},Wv.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Qv(this,t,t+7),Qv(this,t+1,t+6),Qv(this,t+2,t+5),Qv(this,t+3,t+4);return this},Wv.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?sb(this,0,e):Jv.apply(this,arguments)},Wv.prototype.equals=function(e){if(!Kv(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Wv.compare(this,e)},Wv.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Wv.prototype.compare=function(e,t,r,n,o){if(!Kv(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},Wv.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Wv.prototype.indexOf=function(e,t,r){return Xv(this,e,t,r,!0)},Wv.prototype.lastIndexOf=function(e,t,r){return Xv(this,e,t,r,!1)},Wv.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return eb(this,e,t,r);case"utf8":case"utf-8":return tb(this,e,t,r);case"ascii":return rb(this,e,t,r);case"latin1":case"binary":return nb(this,e,t,r);case"base64":return ob(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ib(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Wv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ub=4096;function cb(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function lb(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function pb(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=xb(e[i]);return o}function fb(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function hb(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function db(e,t,r,n,o,i){if(!Kv(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function yb(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function mb(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function gb(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function vb(e,t,r,n,o){return o||gb(e,0,r,4),Fv(e,t,r,n,23,4),r+4}function bb(e,t,r,n,o){return o||gb(e,0,r,8),Fv(e,t,r,n,52,8),r+8}Wv.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),Wv.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Wv.prototype;else{var o=t-e;r=new Wv(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},Wv.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||hb(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},Wv.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||hb(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Wv.prototype.readUInt8=function(e,t){return t||hb(e,1,this.length),this[e]},Wv.prototype.readUInt16LE=function(e,t){return t||hb(e,2,this.length),this[e]|this[e+1]<<8},Wv.prototype.readUInt16BE=function(e,t){return t||hb(e,2,this.length),this[e]<<8|this[e+1]},Wv.prototype.readUInt32LE=function(e,t){return t||hb(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Wv.prototype.readUInt32BE=function(e,t){return t||hb(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Wv.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||hb(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},Wv.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||hb(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},Wv.prototype.readInt8=function(e,t){return t||hb(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Wv.prototype.readInt16LE=function(e,t){t||hb(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Wv.prototype.readInt16BE=function(e,t){t||hb(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Wv.prototype.readInt32LE=function(e,t){return t||hb(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Wv.prototype.readInt32BE=function(e,t){return t||hb(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Wv.prototype.readFloatLE=function(e,t){return t||hb(e,4,this.length),Lv(this,e,!0,23,4)},Wv.prototype.readFloatBE=function(e,t){return t||hb(e,4,this.length),Lv(this,e,!1,23,4)},Wv.prototype.readDoubleLE=function(e,t){return t||hb(e,8,this.length),Lv(this,e,!0,52,8)},Wv.prototype.readDoubleBE=function(e,t){return t||hb(e,8,this.length),Lv(this,e,!1,52,8)},Wv.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||db(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},Wv.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||db(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},Wv.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,1,255,0),Wv.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Wv.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,2,65535,0),Wv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yb(this,e,t,!0),t+2},Wv.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,2,65535,0),Wv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yb(this,e,t,!1),t+2},Wv.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,4,4294967295,0),Wv.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):mb(this,e,t,!0),t+4},Wv.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,4,4294967295,0),Wv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):mb(this,e,t,!1),t+4},Wv.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);db(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},Wv.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);db(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},Wv.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,1,127,-128),Wv.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Wv.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,2,32767,-32768),Wv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yb(this,e,t,!0),t+2},Wv.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,2,32767,-32768),Wv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yb(this,e,t,!1),t+2},Wv.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,4,2147483647,-2147483648),Wv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):mb(this,e,t,!0),t+4},Wv.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||db(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Wv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):mb(this,e,t,!1),t+4},Wv.prototype.writeFloatLE=function(e,t,r){return vb(this,e,t,!0,r)},Wv.prototype.writeFloatBE=function(e,t,r){return vb(this,e,t,!1,r)},Wv.prototype.writeDoubleLE=function(e,t,r){return bb(this,e,t,!0,r)},Wv.prototype.writeDoubleBE=function(e,t,r){return bb(this,e,t,!1,r)},Wv.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!Wv.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},Wv.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Wv.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=Kv(e)?e:Sb(new Wv(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var wb=/[^+\/0-9A-Za-z-_]/g;function xb(e){return e<16?"0"+e.toString(16):e.toString(16)}function Sb(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Eb(e){return function(e){var t,r,n,o,i,a;_v||Nv();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new Iv(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Tv[e.charCodeAt(t)]<<18|Tv[e.charCodeAt(t+1)]<<12|Tv[e.charCodeAt(t+2)]<<6|Tv[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Tv[e.charCodeAt(t)]<<2|Tv[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Tv[e.charCodeAt(t)]<<10|Tv[e.charCodeAt(t+1)]<<4|Tv[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(wb,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Ab(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Rb(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Ob(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}kv.inherits(Ob,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:kv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Pb=Ob.prototype,kb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{kb[e]={value:e}})),Object.defineProperties(Ob,kb),Object.defineProperty(Pb,"isAxiosError",{value:!0}),Ob.from=(e,t,r,n,o,i)=>{const a=Object.create(Pb);return kv.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ob.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function jb(e){return kv.isPlainObject(e)||kv.isArray(e)}function Tb(e){return kv.endsWith(e,"[]")?e.slice(0,-2):e}function Ib(e,t,r){return e?e.concat(t).map((function(e,t){return e=Tb(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const _b=kv.toFlatObject(kv,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Nb(e,t,r){if(!kv.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=kv.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!kv.isUndefined(t[e])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&kv.isSpecCompliantForm(t);if(!kv.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(kv.isDate(e))return e.toISOString();if(!s&&kv.isBlob(e))throw new Ob("Blob is not supported. Use a Buffer instead.");return kv.isArrayBuffer(e)||kv.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Wv.from(e):e}function c(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(kv.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(kv.isArray(e)&&function(e){return kv.isArray(e)&&!e.some(jb)}(e)||(kv.isFileList(e)||kv.endsWith(r,"[]"))&&(s=kv.toArray(e)))return r=Tb(r),s.forEach((function(e,n){!kv.isUndefined(e)&&null!==e&&t.append(!0===a?Ib([r],n,i):null===a?r:r+"[]",u(e))})),!1;return!!jb(e)||(t.append(Ib(o,r,i),u(e)),!1)}const l=[],p=Object.assign(_b,{defaultVisitor:c,convertValue:u,isVisitable:jb});if(!kv.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!kv.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),kv.forEach(r,(function(r,i){!0===(!(kv.isUndefined(r)||null===r)&&o.call(t,r,kv.isString(i)?i.trim():i,n,p))&&e(r,n?n.concat(i):[i])})),l.pop()}}(e),t}function Cb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ub(e,t){this._pairs=[],e&&Nb(e,this,t)}const Lb=Ub.prototype;function Fb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bb(e,t,r){if(!t)return e;const n=r&&r.encode||Fb,o=r&&r.serialize;let i;if(i=o?o(t,r):kv.isURLSearchParams(t)?t.toString():new Ub(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Lb.append=function(e,t){this._pairs.push([e,t])},Lb.toString=function(e){const t=e?function(t){return e.call(this,t,Cb)}:Cb;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class Db{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){kv.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var qb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mb={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ub,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Wb="undefined"!=typeof window&&"undefined"!=typeof document,Gb=(zb="undefined"!=typeof navigator&&navigator.product,Wb&&["ReactNative","NativeScript","NS"].indexOf(zb)<0);var zb;const Hb="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,$b=Wb&&window.location.href||"http://localhost";var Vb={...Object.freeze({__proto__:null,hasBrowserEnv:Wb,hasStandardBrowserEnv:Gb,hasStandardBrowserWebWorkerEnv:Hb,origin:$b}),...Mb};function Kb(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&kv.isArray(n)?n.length:i,s)return kv.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&kv.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&kv.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(kv.isFormData(e)&&kv.isFunction(e.entries)){const r={};return kv.forEachEntry(e,((e,n)=>{t(function(e){return kv.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Yb={transitional:qb,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=kv.isObject(e);o&&kv.isHTMLForm(e)&&(e=new FormData(e));if(kv.isFormData(e))return n?JSON.stringify(Kb(e)):e;if(kv.isArrayBuffer(e)||kv.isBuffer(e)||kv.isStream(e)||kv.isFile(e)||kv.isBlob(e)||kv.isReadableStream(e))return e;if(kv.isArrayBufferView(e))return e.buffer;if(kv.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Nb(e,new Vb.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Vb.isNode&&kv.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=kv.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Nb(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(kv.isString(e))try{return(t||JSON.parse)(e),kv.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Yb.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(kv.isResponse(e)||kv.isReadableStream(e))return e;if(e&&kv.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw Ob.from(e,Ob.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vb.classes.FormData,Blob:Vb.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};kv.forEach(["delete","get","head","post","put","patch"],(e=>{Yb.headers[e]={}}));const Jb=kv.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Qb=Symbol("internals");function Xb(e){return e&&String(e).trim().toLowerCase()}function Zb(e){return!1===e||null==e?e:kv.isArray(e)?e.map(Zb):String(e)}function ew(e,t,r,n,o){return kv.isFunction(n)?n.call(this,t,r):(o&&(t=r),kv.isString(t)?kv.isString(n)?-1!==t.indexOf(n):kv.isRegExp(n)?n.test(t):void 0:void 0)}class tw{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Xb(t);if(!o)throw new Error("header name must be a non-empty string");const i=kv.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Zb(e))}const i=(e,t)=>kv.forEach(e,((e,r)=>o(e,r,t)));if(kv.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(kv.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Jb[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(kv.isHeaders(e))for(const[t,n]of e.entries())o(n,t,r);else null!=e&&o(t,e,r);return this}get(e,t){if(e=Xb(e)){const r=kv.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(kv.isFunction(t))return t.call(this,e,r);if(kv.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Xb(e)){const r=kv.findKey(this,e);return!(!r||void 0===this[r]||t&&!ew(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Xb(e)){const o=kv.findKey(r,e);!o||t&&!ew(0,r[o],o,t)||(delete r[o],n=!0)}}return kv.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!ew(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return kv.forEach(this,((n,o)=>{const i=kv.findKey(r,o);if(i)return t[i]=Zb(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Zb(n),r[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return kv.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&kv.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,r]=e;return t+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Qb]=this[Qb]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Xb(e);t[n]||(!function(e,t){const r=kv.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return kv.isArray(e)?e.forEach(n):n(e),this}}function rw(e,t){const r=this||Yb,n=t||r,o=tw.from(n.headers);let i=n.data;return kv.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function nw(e){return!(!e||!e.__CANCEL__)}function ow(e,t,r){Ob.call(this,null==e?"canceled":e,Ob.ERR_CANCELED,t,r),this.name="CanceledError"}function iw(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Ob("Request failed with status code "+r.status,[Ob.ERR_BAD_REQUEST,Ob.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}tw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),kv.reduceDescriptors(tw.prototype,((e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}})),kv.freezeMethods(tw),kv.inherits(ow,Ob,{__CANCEL__:!0});var aw=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let r=0;const n=1e3/t;let o=null;return function(){const t=!0===this,i=Date.now();if(t||i-r>n)return o&&(clearTimeout(o),o=null),r=i,e.apply(null,arguments);o||(o=setTimeout((()=>(o=null,r=Date.now(),e.apply(null,arguments))),n-(i-r)))}}((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a};c[t?"download":"upload"]=!0,e(c)}),r)},sw=Vb.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(e){const t=kv.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},uw=Vb.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];kv.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),kv.isString(n)&&a.push("path="+n),kv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cw(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const lw=e=>e instanceof tw?{...e}:e;function pw(e,t){t=t||{};const r={};function n(e,t,r){return kv.isPlainObject(e)&&kv.isPlainObject(t)?kv.merge.call({caseless:r},e,t):kv.isPlainObject(t)?kv.merge({},t):kv.isArray(t)?t.slice():t}function o(e,t,r){return kv.isUndefined(t)?kv.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!kv.isUndefined(t))return n(void 0,t)}function a(e,t){return kv.isUndefined(t)?kv.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(lw(e),lw(t),!0)};return kv.forEach(Object.keys(Object.assign({},e,t)),(function(n){const i=u[n]||o,a=i(e[n],t[n],n);kv.isUndefined(a)&&i!==s||(r[n]=a)})),r}var fw=e=>{const t=pw({},e);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=t;if(t.headers=s=tw.from(s),t.url=Bb(cw(t.baseURL,t.url),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),kv.isFormData(n))if(Vb.hasStandardBrowserEnv||Vb.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Vb.hasStandardBrowserEnv&&(o&&kv.isFunction(o)&&(o=o(t)),o||!1!==o&&sw(t.url))){const e=i&&a&&uw.read(a);e&&s.set(i,e)}return t};var hw="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=fw(e);let o=n.data;const i=tw.from(n.headers).normalize();let a,{responseType:s}=n;function u(){n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;function l(){if(!c)return;const n=tw.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());iw((function(e){t(e),u()}),(function(e){r(e),u()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c}),c=null}c.open(n.method.toUpperCase(),n.url,!0),c.timeout=n.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(r(new Ob("Request aborted",Ob.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new Ob("Network Error",Ob.ERR_NETWORK,n,c)),c=null},c.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const t=n.transitional||qb;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new Ob(e,t.clarifyTimeoutError?Ob.ETIMEDOUT:Ob.ECONNABORTED,n,c)),c=null},void 0===o&&i.setContentType(null),"setRequestHeader"in c&&kv.forEach(i.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),kv.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),s&&"json"!==s&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",aw(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",aw(n.onUploadProgress)),(n.cancelToken||n.signal)&&(a=t=>{c&&(r(!t||t.type?new ow(null,e,c):t),c.abort(),c=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);p&&-1===Vb.protocols.indexOf(p)?r(new Ob("Unsupported protocol "+p+":",Ob.ERR_BAD_REQUEST,e)):c.send(o||null)}))};const dw=(e,t)=>{let r,n=new AbortController;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Ob?t:new ow(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new Ob(`timeout ${t} of ms exceeded`,Ob.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},yw=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},mw=(e,t,r,n,o)=>{const i=async function*(e,t,r){for await(const n of e)yield*yw(ArrayBuffer.isView(n)?n:await r(String(n)),t)}(e,t,o);let a=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:o}=await i.next();if(t)return e.close(),void n();let s=o.byteLength;r&&r(a+=s),e.enqueue(new Uint8Array(o))},cancel:e=>(n(e),i.return())},{highWaterMark:2})},gw=(e,t)=>{const r=null!=e;return n=>setTimeout((()=>t({lengthComputable:r,total:e,loaded:n})))},vw="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,bw=vw&&"function"==typeof ReadableStream,ww=vw&&("function"==typeof TextEncoder?(xw=new TextEncoder,e=>xw.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var xw;const Sw=bw&&(()=>{let e=!1;const t=new Request(Vb.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Ew=bw&&!!(()=>{try{return kv.isReadableStream(new Response("").body)}catch(e){}})(),Aw={stream:Ew&&(e=>e.body)};var Rw;vw&&(Rw=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Aw[e]&&(Aw[e]=kv.isFunction(Rw[e])?t=>t[e]():(t,r)=>{throw new Ob(`Response type '${e}' is not supported`,Ob.ERR_NOT_SUPPORT,r)})})));const Ow=async(e,t)=>{const r=kv.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:kv.isBlob(e)?e.size:kv.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:kv.isArrayBufferView(e)?e.byteLength:(kv.isURLSearchParams(e)&&(e+=""),kv.isString(e)?(await ww(e)).byteLength:void 0))(t):r};var Pw=vw&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:p="same-origin",fetchOptions:f}=fw(e);c=c?(c+"").toLowerCase():"text";let h,d,[y,m]=o||i||a?dw([o,i],a):[];const g=()=>{!h&&setTimeout((()=>{y&&y.unsubscribe()})),h=!0};let v;try{if(u&&Sw&&"get"!==r&&"head"!==r&&0!==(v=await Ow(l,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});kv.isFormData(n)&&(e=r.headers.get("content-type"))&&l.setContentType(e),r.body&&(n=mw(r.body,65536,gw(v,aw(u)),null,ww))}kv.isString(p)||(p=p?"cors":"omit"),d=new Request(t,{...f,signal:y,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",withCredentials:p});let o=await fetch(d);const i=Ew&&("stream"===c||"response"===c);if(Ew&&(s||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=kv.toFiniteNumber(o.headers.get("content-length"));o=new Response(mw(o.body,65536,s&&gw(t,aw(s,!0)),i&&g,ww),e)}c=c||"text";let a=await Aw[kv.findKey(Aw,c)||"text"](o,e);return!i&&g(),m&&m(),await new Promise(((t,r)=>{iw(t,r,{data:a,headers:tw.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:d})}))}catch(t){if(g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Ob("Network Error",Ob.ERR_NETWORK,e,d),{cause:t.cause||t});throw Ob.from(t,t&&t.code,e,d)}});const kw={http:null,xhr:hw,fetch:Pw};kv.forEach(kw,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const jw=e=>`- ${e}`,Tw=e=>kv.isFunction(e)||null===e||!1===e;var Iw=e=>{e=kv.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){let t;if(r=e[i],n=r,!Tw(r)&&(n=kw[(t=String(r)).toLowerCase()],void 0===n))throw new Ob(`Unknown adapter '${t}'`);if(n)break;o[t||"#"+i]=n}if(!n){const e=Object.entries(o).map((e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Ob("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(jw).join("\n"):" "+jw(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function _w(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ow(null,e)}function Nw(e){_w(e),e.headers=tw.from(e.headers),e.data=rw.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Iw(e.adapter||Yb.adapter)(e).then((function(t){return _w(e),t.data=rw.call(e,e.transformResponse,t),t.headers=tw.from(t.headers),t}),(function(t){return nw(t)||(_w(e),t&&t.response&&(t.response.data=rw.call(e,e.transformResponse,t.response),t.response.headers=tw.from(t.response.headers))),Promise.reject(t)}))}const Cw="1.7.2",Uw={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Uw[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const Lw={};Uw.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Ob(n(o," has been removed"+(t?" in "+t:"")),Ob.ERR_DEPRECATED);return t&&!Lw[o]&&(Lw[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var Fw={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Ob("options must be an object",Ob.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Ob("option "+i+" must be "+r,Ob.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Ob("Unknown option "+i,Ob.ERR_BAD_OPTION)}},validators:Uw};const Bw=Fw.validators;class Dw{constructor(e){this.defaults=e,this.interceptors={request:new Db,response:new Db}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=pw(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Fw.assertOptions(r,{silentJSONParsing:Bw.transitional(Bw.boolean),forcedJSONParsing:Bw.transitional(Bw.boolean),clarifyTimeoutError:Bw.transitional(Bw.boolean)},!1),null!=n&&(kv.isFunction(n)?t.paramsSerializer={serialize:n}:Fw.assertOptions(n,{encode:Bw.function,serialize:Bw.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&kv.merge(o.common,o[t.method]);o&&kv.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=tw.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[Nw.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);p<l;)c=c.then(e[p++],e[p++]);return c}l=a.length;let f=t;for(p=0;p<l;){const e=a[p++],t=a[p++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Nw.call(this,f)}catch(e){return Promise.reject(e)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(e){return Bb(cw((e=pw(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}kv.forEach(["delete","get","head","options"],(function(e){Dw.prototype[e]=function(t,r){return this.request(pw(r||{},{method:e,url:t,data:(r||{}).data}))}})),kv.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(pw(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Dw.prototype[e]=t(),Dw.prototype[e+"Form"]=t(!0)}));class qw{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new ow(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new qw((function(t){e=t})),cancel:e}}}const Mw={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mw).forEach((e=>{let[t,r]=e;Mw[r]=t}));const Ww=function e(t){const r=new Dw(t),n=Hg(Dw.prototype.request,r);return kv.extend(n,Dw.prototype,r,{allOwnKeys:!0}),kv.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(pw(t,r))},n}(Yb);Ww.Axios=Dw,Ww.CanceledError=ow,Ww.CancelToken=qw,Ww.isCancel=nw,Ww.VERSION=Cw,Ww.toFormData=Nb,Ww.AxiosError=Ob,Ww.Cancel=Ww.CanceledError,Ww.all=function(e){return Promise.all(e)},Ww.spread=function(e){return function(t){return e.apply(null,t)}},Ww.isAxiosError=function(e){return kv.isObject(e)&&!0===e.isAxiosError},Ww.mergeConfig=pw,Ww.AxiosHeaders=tw,Ww.formToJSON=e=>Kb(kv.isHTMLForm(e)?new FormData(e):e),Ww.getAdapter=Iw,Ww.HttpStatusCode=Mw,Ww.default=Ww;var Gw=function(){return u((function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("put",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("delete",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(Ww(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),zw=So,Hw=ee,$w=se,Vw=om,Kw=H([].join);zw({target:"Array",proto:!0,forced:Hw!==Object||!Vw("join",",")},{join:function(e){return Kw($w(this),void 0===e?",":e)}});var Yw,Jw=Error,Qw=EvalError,Xw=RangeError,Zw=ReferenceError,ex=SyntaxError,tx=TypeError,rx=URIError,nx="undefined"!=typeof Symbol&&Symbol,ox=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0},ix={foo:{}},ax=Object,sx=Object.prototype.toString,ux=Math.max,cx=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},lx=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==sx.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r,n=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),o=ux(0,t.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=t.apply(this,cx(n,arguments));return Object(o)===o?o:this}return t.apply(e,cx(n,arguments))})),t.prototype){var s=function(){};s.prototype=t.prototype,r.prototype=new s,s.prototype=null}return r},px=Function.prototype.bind||lx,fx=Function.prototype.call,hx=Object.prototype.hasOwnProperty,dx=px.call(fx,hx),yx=Jw,mx=Qw,gx=Xw,vx=Zw,bx=ex,wx=tx,xx=rx,Sx=Function,Ex=function(e){try{return Sx('"use strict"; return ('+e+").constructor;")()}catch(e){}},Ax=Object.getOwnPropertyDescriptor;if(Ax)try{Ax({},"")}catch(e){Ax=null}var Rx=function(){throw new wx},Ox=Ax?function(){try{return Rx}catch(e){try{return Ax(arguments,"callee").get}catch(e){return Rx}}}():Rx,Px="function"==typeof nx&&"function"==typeof Symbol&&"symbol"==typeof nx("foo")&&"symbol"==typeof Symbol("bar")&&ox(),kx={__proto__:ix}.foo===ix.foo&&!({__proto__:null}instanceof ax),jx=Object.getPrototypeOf||(kx?function(e){return e.__proto__}:null),Tx={},Ix="undefined"!=typeof Uint8Array&&jx?jx(Uint8Array):Yw,_x={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Yw:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Yw:ArrayBuffer,"%ArrayIteratorPrototype%":Px&&jx?jx([][Symbol.iterator]()):Yw,"%AsyncFromSyncIteratorPrototype%":Yw,"%AsyncFunction%":Tx,"%AsyncGenerator%":Tx,"%AsyncGeneratorFunction%":Tx,"%AsyncIteratorPrototype%":Tx,"%Atomics%":"undefined"==typeof Atomics?Yw:Atomics,"%BigInt%":"undefined"==typeof BigInt?Yw:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Yw:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Yw:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Yw:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":yx,"%eval%":eval,"%EvalError%":mx,"%Float32Array%":"undefined"==typeof Float32Array?Yw:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Yw:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Yw:FinalizationRegistry,"%Function%":Sx,"%GeneratorFunction%":Tx,"%Int8Array%":"undefined"==typeof Int8Array?Yw:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Yw:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Yw:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Px&&jx?jx(jx([][Symbol.iterator]())):Yw,"%JSON%":"object"==typeof JSON?JSON:Yw,"%Map%":"undefined"==typeof Map?Yw:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Px&&jx?jx((new Map)[Symbol.iterator]()):Yw,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Yw:Promise,"%Proxy%":"undefined"==typeof Proxy?Yw:Proxy,"%RangeError%":gx,"%ReferenceError%":vx,"%Reflect%":"undefined"==typeof Reflect?Yw:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Yw:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Px&&jx?jx((new Set)[Symbol.iterator]()):Yw,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Yw:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Px&&jx?jx(""[Symbol.iterator]()):Yw,"%Symbol%":Px?Symbol:Yw,"%SyntaxError%":bx,"%ThrowTypeError%":Ox,"%TypedArray%":Ix,"%TypeError%":wx,"%Uint8Array%":"undefined"==typeof Uint8Array?Yw:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Yw:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Yw:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Yw:Uint32Array,"%URIError%":xx,"%WeakMap%":"undefined"==typeof WeakMap?Yw:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Yw:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Yw:WeakSet};if(jx)try{null.error}catch(e){var Nx=jx(jx(e));_x["%Error.prototype%"]=Nx}var Cx,Ux,Lx=function e(t){var r;if("%AsyncFunction%"===t)r=Ex("async function () {}");else if("%GeneratorFunction%"===t)r=Ex("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=Ex("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&jx&&(r=jx(o.prototype))}return _x[t]=r,r},Fx={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Bx=px,Dx=dx,qx=Bx.call(Function.call,Array.prototype.concat),Mx=Bx.call(Function.apply,Array.prototype.splice),Wx=Bx.call(Function.call,String.prototype.replace),Gx=Bx.call(Function.call,String.prototype.slice),zx=Bx.call(Function.call,RegExp.prototype.exec),Hx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$x=/\\(\\)?/g,Vx=function(e,t){var r,n=e;if(Dx(Fx,n)&&(n="%"+(r=Fx[n])[0]+"%"),Dx(_x,n)){var o=_x[n];if(o===Tx&&(o=Lx(n)),void 0===o&&!t)throw new wx("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new bx("intrinsic "+e+" does not exist!")},Kx=function(e,t){if("string"!=typeof e||0===e.length)throw new wx("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new wx('"allowMissing" argument must be a boolean');if(null===zx(/^%?[^%]*%?$/,e))throw new bx("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=Gx(e,0,1),r=Gx(e,-1);if("%"===t&&"%"!==r)throw new bx("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new bx("invalid intrinsic syntax, expected opening `%`");var n=[];return Wx(e,Hx,(function(e,t,r,o){n[n.length]=r?Wx(o,$x,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=Vx("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],Mx(r,qx([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=Gx(p,0,1),h=Gx(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new bx("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Dx(_x,i="%"+(n+="."+p)+"%"))a=_x[i];else if(null!=a){if(!(p in a)){if(!t)throw new wx("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ax&&c+1>=r.length){var d=Ax(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=Dx(a,p),a=a[p];l&&!s&&(_x[i]=a)}}return a},Yx={exports:{}};function Jx(){if(Ux)return Cx;Ux=1;var e=Kx("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return Cx=e}var Qx=Kx("%Object.getOwnPropertyDescriptor%",!0);if(Qx)try{Qx([],"length")}catch(e){Qx=null}var Xx=Qx,Zx=Jx(),eS=ex,tS=tx,rS=Xx,nS=Jx(),oS=function(){return!!nS};oS.hasArrayLengthDefineBug=function(){if(!nS)return null;try{return 1!==nS([],"length",{value:1}).length}catch(e){return!0}};var iS=Kx,aS=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new tS("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new tS("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new tS("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new tS("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new tS("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new tS("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],s=!!rS&&rS(e,t);if(Zx)Zx(e,t,{configurable:null===i&&s?s.configurable:!i,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!a&&(n||o||i))throw new eS("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}},sS=oS(),uS=Xx,cS=tx,lS=iS("%Math.floor%"),pS=function(e,t){if("function"!=typeof e)throw new cS("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||lS(t)!==t)throw new cS("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in e&&uS){var i=uS(e,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(sS?aS(e,"length",t,!0,!0):aS(e,"length",t)),e};!function(e){var t=px,r=Kx,n=pS,o=tx,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(a,i),u=Jx(),c=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var r=s(t,a,arguments);return n(r,1+c(0,e.length-(arguments.length-1)),!0)};var l=function(){return s(t,i,arguments)};u?u(e.exports,"apply",{value:l}):e.exports.apply=l}(Yx);var fS=Kx,hS=Yx.exports,dS=hS(fS("String.prototype.indexOf")),yS=A(Object.freeze({__proto__:null,default:{}})),mS="function"==typeof Map&&Map.prototype,gS=Object.getOwnPropertyDescriptor&&mS?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,vS=mS&&gS&&"function"==typeof gS.get?gS.get:null,bS=mS&&Map.prototype.forEach,wS="function"==typeof Set&&Set.prototype,xS=Object.getOwnPropertyDescriptor&&wS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,SS=wS&&xS&&"function"==typeof xS.get?xS.get:null,ES=wS&&Set.prototype.forEach,AS="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,RS="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,OS="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,PS=Boolean.prototype.valueOf,kS=Object.prototype.toString,jS=Function.prototype.toString,TS=String.prototype.match,IS=String.prototype.slice,_S=String.prototype.replace,NS=String.prototype.toUpperCase,CS=String.prototype.toLowerCase,US=RegExp.prototype.test,LS=Array.prototype.concat,FS=Array.prototype.join,BS=Array.prototype.slice,DS=Math.floor,qS="function"==typeof BigInt?BigInt.prototype.valueOf:null,MS=Object.getOwnPropertySymbols,WS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,GS="function"==typeof Symbol&&"object"==typeof Symbol.iterator,zS="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===GS||"symbol")?Symbol.toStringTag:null,HS=Object.prototype.propertyIsEnumerable,$S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function VS(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||US.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-DS(-e):DS(e);if(n!==e){var o=String(n),i=IS.call(t,o.length+1);return _S.call(o,r,"$&_")+"."+_S.call(_S.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _S.call(t,r,"$&_")}var KS=yS,YS=KS.custom,JS=tE(YS)?YS:null;function QS(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function XS(e){return _S.call(String(e),/"/g,"&quot;")}function ZS(e){return!("[object Array]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}function eE(e){return!("[object RegExp]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}function tE(e){if(GS)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!WS)return!1;try{return WS.call(e),!0}catch(e){}return!1}var rE=Object.prototype.hasOwnProperty||function(e){return e in this};function nE(e,t){return rE.call(e,t)}function oE(e){return kS.call(e)}function iE(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function aE(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return aE(IS.call(e,0,t.maxStringLength),t)+n}return QS(_S.call(_S.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,sE),"single",t)}function sE(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+NS.call(t.toString(16))}function uE(e){return"Object("+e+")"}function cE(e){return e+" { ? }"}function lE(e,t,r,n){return e+" ("+t+") {"+(n?pE(r,n):FS.call(r,", "))+"}"}function pE(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+FS.call(e,","+r)+"\n"+t.prev}function fE(e,t){var r=ZS(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=nE(e,o)?t(e[o],e):""}var i,a="function"==typeof MS?MS(e):[];if(GS){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)nE(e,u)&&(r&&String(Number(u))===u&&u<e.length||GS&&i["$"+u]instanceof Symbol||(US.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof MS)for(var c=0;c<a.length;c++)HS.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var hE=Kx,dE=function(e,t){var r=fS(e,!!t);return"function"==typeof r&&dS(e,".prototype.")>-1?hS(r):r},yE=function e(t,r,n,o){var i=r||{};if(nE(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(nE(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=!nE(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(nE(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(nE(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return aE(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?VS(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?VS(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return ZS(t)?"[Array]":"[Object]";var p=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=FS.call(Array(e.indent+1)," ")}return{base:r,prev:FS.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(iE(o,t)>=0)return"[Circular]";function f(t,r,a){if(r&&(o=BS.call(o)).push(r),a){var s={depth:i.depth};return nE(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!eE(t)){var h=function(e){if(e.name)return e.name;var t=TS.call(jS.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=fE(t,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+FS.call(d,", ")+" }":"")}if(tE(t)){var y=GS?_S.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):WS.call(t);return"object"!=typeof t||GS?y:uE(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+CS.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+QS(XS(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+CS.call(String(t.nodeName))+">"}if(ZS(t)){if(0===t.length)return"[]";var b=fE(t,f);return p&&!function(e){for(var t=0;t<e.length;t++)if(iE(e[t],"\n")>=0)return!1;return!0}(b)?"["+pE(b,p)+"]":"[ "+FS.call(b,", ")+" ]"}if(function(e){return!("[object Error]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}(t)){var w=fE(t,f);return"cause"in Error.prototype||!("cause"in t)||HS.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+FS.call(w,", ")+" }":"{ ["+String(t)+"] "+FS.call(LS.call("[cause]: "+f(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(JS&&"function"==typeof t[JS]&&KS)return KS(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!vS||!e||"object"!=typeof e)return!1;try{vS.call(e);try{SS.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return bS&&bS.call(t,(function(e,r){x.push(f(r,t,!0)+" => "+f(e,t))})),lE("Map",vS.call(t),x,p)}if(function(e){if(!SS||!e||"object"!=typeof e)return!1;try{SS.call(e);try{vS.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return ES&&ES.call(t,(function(e){E.push(f(e,t))})),lE("Set",SS.call(t),E,p)}if(function(e){if(!AS||!e||"object"!=typeof e)return!1;try{AS.call(e,AS);try{RS.call(e,RS)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return cE("WeakMap");if(function(e){if(!RS||!e||"object"!=typeof e)return!1;try{RS.call(e,RS);try{AS.call(e,AS)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return cE("WeakSet");if(function(e){if(!OS||!e||"object"!=typeof e)return!1;try{return OS.call(e),!0}catch(e){}return!1}(t))return cE("WeakRef");if(function(e){return!("[object Number]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}(t))return uE(f(Number(t)));if(function(e){if(!e||"object"!=typeof e||!qS)return!1;try{return qS.call(e),!0}catch(e){}return!1}(t))return uE(f(qS.call(t)));if(function(e){return!("[object Boolean]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}(t))return uE(PS.call(t));if(function(e){return!("[object String]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}(t))return uE(f(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===S)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==oE(e)||zS&&"object"==typeof e&&zS in e)}(t)&&!eE(t)){var A=fE(t,f),R=$S?$S(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",P=!R&&zS&&Object(t)===t&&zS in t?IS.call(oE(t),8,-1):O?"Object":"",k=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||O?"["+FS.call(LS.call([],P||[],O||[]),": ")+"] ":"");return 0===A.length?k+"{}":p?k+"{"+pE(A,p)+"}":k+"{ "+FS.call(A,", ")+" }"}return String(t)},mE=tx,gE=hE("%WeakMap%",!0),vE=hE("%Map%",!0),bE=dE("WeakMap.prototype.get",!0),wE=dE("WeakMap.prototype.set",!0),xE=dE("WeakMap.prototype.has",!0),SE=dE("Map.prototype.get",!0),EE=dE("Map.prototype.set",!0),AE=dE("Map.prototype.has",!0),RE=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},OE=String.prototype.replace,PE=/%20/g,kE="RFC3986",jE={default:kE,formatters:{RFC1738:function(e){return OE.call(e,PE,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:kE},TE=jE,IE=Object.prototype.hasOwnProperty,_E=Array.isArray,NE=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),CE=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},UE=1024,LE={arrayToObject:CE,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(_E(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;s+=UE){for(var u=i.length>=UE?i.slice(s,s+UE):i,c=[],l=0;l<u.length;++l){var p=u.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===TE.RFC1738&&(40===p||41===p)?c[c.length]=u.charAt(l):p<128?c[c.length]=NE[p]:p<2048?c[c.length]=NE[192|p>>6]+NE[128|63&p]:p<55296||p>=57344?c[c.length]=NE[224|p>>12]+NE[128|p>>6&63]+NE[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(l)),c[c.length]=NE[240|p>>18]+NE[128|p>>12&63]+NE[128|p>>6&63]+NE[128|63&p])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(_E(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(_E(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!IE.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var o=t;return _E(t)&&!_E(r)&&(o=CE(t,n)),_E(t)&&_E(r)?(r.forEach((function(r,o){if(IE.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return IE.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t}),o)}},FE=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new mE("Side channel does not contain "+yE(e))},get:function(n){if(gE&&n&&("object"==typeof n||"function"==typeof n)){if(e)return bE(e,n)}else if(vE){if(t)return SE(t,n)}else if(r)return function(e,t){var r=RE(e,t);return r&&r.value}(r,n)},has:function(n){if(gE&&n&&("object"==typeof n||"function"==typeof n)){if(e)return xE(e,n)}else if(vE){if(t)return AE(t,n)}else if(r)return function(e,t){return!!RE(e,t)}(r,n);return!1},set:function(n,o){gE&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new gE),wE(e,n,o)):vE?(t||(t=new vE),EE(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=RE(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n},BE=LE,DE=jE,qE=Object.prototype.hasOwnProperty,ME={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},WE=Array.isArray,GE=Array.prototype.push,zE=function(e,t){GE.apply(e,WE(t)?t:[t])},HE=Date.prototype.toISOString,$E=DE.default,VE={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:BE.encode,encodeValuesOnly:!1,format:$E,formatter:DE.formatters[$E],indices:!1,serializeDate:function(e){return HE.call(e)},skipNulls:!1,strictNullHandling:!1},KE={},YE=function e(t,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=t,x=v,S=0,E=!1;void 0!==(x=x.get(KE))&&!E;){var A=x.get(t);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");E=!0}void 0===x.get(KE)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&WE(w)&&(w=BE.maybeMap(w,(function(e){return e instanceof Date?h(e):e}))),null===w){if(a)return c&&!m?c(r,VE.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||BE.isBuffer(w))return c?[y(m?r:c(r,VE.encoder,g,"key",d))+"="+y(c(w,VE.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,O=[];if(void 0===w)return O;if("comma"===n&&WE(w))m&&c&&(w=BE.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(WE(l))R=l;else{var P=Object.keys(w);R=p?P.sort(p):P}var k=u?r.replace(/\./g,"%2E"):r,j=o&&WE(w)&&1===w.length?k+"[]":k;if(i&&WE(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],_="object"==typeof I&&void 0!==I.value?I.value:w[I];if(!s||null!==_){var N=f&&u?I.replace(/\./g,"%2E"):I,C=WE(w)?"function"==typeof n?n(j,N):j:j+(f?"."+N:"["+N+"]");v.set(t,S);var U=FE();U.set(KE,v),zE(O,e(_,C,n,o,i,a,s,u,"comma"===n&&m&&WE(w)?null:c,l,p,f,h,d,y,m,g,U))}}return O},JE=LE,QE=Object.prototype.hasOwnProperty,XE=Array.isArray,ZE={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:JE.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},eA=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},tA=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},rA=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&QE.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&QE.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(e,t,r,n){for(var o=n?t:tA(t,r),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,t,r,n)}},nA=function(e,t){var r,n=e,o=function(e){if(!e)return VE;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||VE.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=DE.default;if(void 0!==e.format){if(!qE.call(DE.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=DE.formatters[r],i=VE.filter;if(("function"==typeof e.filter||WE(e.filter))&&(i=e.filter),n=e.arrayFormat in ME?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":VE.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||VE.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:VE.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:VE.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:VE.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?VE.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:VE.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:VE.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:VE.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:VE.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:VE.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:VE.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:VE.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):WE(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=ME[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=FE(),c=0;c<r.length;++c){var l=r[c];o.skipNulls&&null===n[l]||zE(i,YE(n[l],l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},oA=function(e,t){var r=function(e){if(!e)return ZE;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?ZE.charset:e.charset,r=void 0===e.duplicates?ZE.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||ZE.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:ZE.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:ZE.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:ZE.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:ZE.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:ZE.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:ZE.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:ZE.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:ZE.decoder,delimiter:"string"==typeof e.delimiter||JE.isRegExp(e.delimiter)?e.delimiter:ZE.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:ZE.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:ZE.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:ZE.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:ZE.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:ZE.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=o.split(t.delimiter,i),s=-1,u=t.charset;if(t.charsetSentinel)for(r=0;r<a.length;++r)0===a[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[r]?u="utf-8":"utf8=%26%2310003%3B"===a[r]&&(u="iso-8859-1"),s=r,r=a.length);for(r=0;r<a.length;++r)if(r!==s){var c,l,p=a[r],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=t.decoder(p,ZE.decoder,u,"key"),l=t.strictNullHandling?null:""):(c=t.decoder(p.slice(0,h),ZE.decoder,u,"key"),l=JE.maybeMap(tA(p.slice(h+1),t),(function(e){return t.decoder(e,ZE.decoder,u,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=eA(l)),p.indexOf("[]=")>-1&&(l=XE(l)?[l]:l);var d=QE.call(n,c);d&&"combine"===t.duplicates?n[c]=JE.combine(n[c],l):d&&"last"!==t.duplicates||(n[c]=l)}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=rA(s,n[s],r,"string"==typeof e);o=JE.merge(o,u,r)}return!0===r.allowSparse?o:JE.compact(o)},iA=E({formats:jE,parse:oA,stringify:nA});const aA="function"==typeof Buffer,sA=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),uA=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),cA=(e=>{let t={};return e.forEach(((e,r)=>t[e]=r)),t})(uA),lA=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,pA=String.fromCharCode.bind(String),fA=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_"))),hA=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),dA=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=uA[t>>18&63]+uA[t>>12&63]+uA[t>>6&63]+uA[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},yA="function"==typeof btoa?e=>btoa(e):aA?e=>Buffer.from(e,"binary").toString("base64"):dA,mA=aA?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(pA.apply(null,e.subarray(r,r+4096)));return yA(t.join(""))},gA=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?pA(192|t>>>6)+pA(128|63&t):pA(224|t>>>12&15)+pA(128|t>>>6&63)+pA(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return pA(240|t>>>18&7)+pA(128|t>>>12&63)+pA(128|t>>>6&63)+pA(128|63&t)},vA=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,bA=e=>e.replace(vA,gA),wA=aA?e=>Buffer.from(e,"utf8").toString("base64"):sA?e=>mA(sA.encode(e)):e=>yA(bA(e)),xA=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?fA(wA(e)):wA(e)},SA=e=>{if(e=e.replace(/\s+/g,""),!lA.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,n,o="";for(let i=0;i<e.length;)t=cA[e.charAt(i++)]<<18|cA[e.charAt(i++)]<<12|(r=cA[e.charAt(i++)])<<6|(n=cA[e.charAt(i++)]),o+=64===r?pA(t>>16&255):64===n?pA(t>>16&255,t>>8&255):pA(t>>16&255,t>>8&255,255&t);return o},EA=xA;var AA,RA=function(){return u((function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout}),[{key:"build",value:(n=o(m().mark((function e(r,n,o,i){var a,s,u,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),e.t0=r,e.next="get"===e.t0?4:"post"===e.t0?16:"put"===e.t0?29:"delete"===e.t0?37:44;break;case 4:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.next=15;break}return e.t1=d,e.t2=d({},a),e.t3={},e.t4=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.next=12,this.buildData(o);case 12:return e.t5=e.sent,e.t6={method:"post",headers:e.t4,data:e.t5},e.abrupt("return",(0,e.t1)(e.t2,e.t3,e.t6));case 15:return e.abrupt("return",d(d({},a),{},{url:s}));case 16:if(!(o instanceof Wg)){e.next=21;break}return e.next=19,this.buildData(o);case 19:return u=e.sent,e.abrupt("return",d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 21:return e.t7=d,e.t8=d({},a),e.t9={},e.next=26,this.buildData(o);case 26:return e.t10=e.sent,e.t11={data:e.t10},e.abrupt("return",(0,e.t7)(e.t8,e.t9,e.t11));case 29:return e.t12=d,e.t13=d({},a),e.t14={},e.next=34,this.buildData(o);case 34:return e.t15=e.sent,e.t16={data:e.t15},e.abrupt("return",(0,e.t12)(e.t13,e.t14,e.t16));case 37:return e.t17=this,e.t18=n,e.next=41,this.buildData(o);case 41:return e.t19=e.sent,c=e.t17.buildRequestUrl.call(e.t17,e.t18,e.t19),e.abrupt("return",d(d({},a),{},{url:c}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return e.stop()}}),e,this)}))),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(iA.stringify(t))}},{key:"buildData",value:(r=o(m().mark((function e(t){var r;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("session"!==this.auth.type){e.next=8;break}return e.next=3,this.getRequestToken();case 3:if(r=e.sent,!(t instanceof Wg)){e.next=7;break}return t.append("__REQUEST_TOKEN__",r),e.abrupt("return",t);case 7:return e.abrupt("return",d({__REQUEST_TOKEN__:r},t));case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(EA("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":EA("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==this.requestToken){e.next=4;break}return e.next=3,t.getRequestToken();case 3:this.requestToken=e.sent;case 4:return e.abrupt("return",this.requestToken);case 5:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})}]);var e,r,n}(),OA=["data"],PA=function(){return u((function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r}),[{key:"handle",value:function(e){var t=this;return e.then((function(e){return t.handleSuccessResponse(e)}),(function(e){return t.handleErrorResponse(e)}))}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new Sg(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,OA);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new Ug(d({data:r},n))}}])}(),kA=function(){return u((function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),jA(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof Hi)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new RA(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new PA({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new Gw({responseHandler:c,requestConfigBuilder:u}),p=i.guestSpaceId;this.bulkRequest_=new My(l,p),this.record=new qg(l,this.bulkRequest_,p),this.app=new rm(l,p),this.space=new Mg(l,p),this.file=new Gg(l,p)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),jA=function(e){TA(e.baseUrl),IA(e.guestSpaceId),_A(e.socketTimeout)},TA=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},IA=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},_A=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(AA=Ji).readFileFromPath&&(t.readFileFromPath=AA.readFileFromPath),AA.getRequestToken&&(t.getRequestToken=AA.getRequestToken),AA.getDefaultAuth&&(t.getDefaultAuth=AA.getDefaultAuth),AA.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=AA.buildPlatformDependentConfig),AA.buildHeaders&&(t.buildHeaders=AA.buildHeaders),AA.buildFormDataValue&&(t.buildFormDataValue=AA.buildFormDataValue),AA.buildBaseUrl&&(t.buildBaseUrl=AA.buildBaseUrl),AA.getVersion&&(t.getVersion=AA.getVersion),e.KintoneAbortSearchError=Sg,e.KintoneAllRecordsError=Cg,e.KintoneRestAPIClient=kA,e.KintoneRestAPIError=Ug}));
658
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).window=e.window||{})}(this,(function(e){"use strict";var t={readFileFromPath:function(){throw new Error("not implemented")},getRequestToken:function(){throw new Error("not implemented")},getDefaultAuth:function(){throw new Error("not implemented")},buildPlatformDependentConfig:function(){throw new Error("not implemented")},buildHeaders:function(){throw new Error("not implemented")},buildFormDataValue:function(){throw new Error("not implemented")},buildBaseUrl:function(){throw new Error("not implemented")},getVersion:function(){throw new Error("not implemented")}};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)}))}}function i(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),s=new I(n||[]);return o(a,"_invoke",{value:k(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",g={};function v(){}function b(){}function w(){}var x={};c(x,a,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(N([])));E&&E!==r&&n.call(E,a)&&(x=E);var A=w.prototype=v.prototype=Object.create(x);function R(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,i,a,s){var u=p(e[o],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function k(t,r,n){var o=f;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function O(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,o(A,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,u,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},R(P.prototype),c(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},R(A),c(A,u,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e){var t="function"==typeof Map?new Map:void 0;return x=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(f())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&g(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)},x(e)}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function A(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var R=function(e){return e&&e.Math===Math&&e},P=R("object"==typeof globalThis&&globalThis)||R("object"==typeof window&&window)||R("object"==typeof self&&self)||R("object"==typeof S&&S)||R("object"==typeof S&&S)||function(){return this}()||Function("return this")(),k={},O=function(e){try{return!!e()}catch(e){return!0}},j=!O((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=!O((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),I=T,N=Function.prototype.call,_=I?N.bind(N):function(){return N.apply(N,arguments)},C={},U={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,F=L&&!U.call({1:2},1);C.f=F?function(e){var t=L(this,e);return!!t&&t.enumerable}:U;var D,B,q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},M=T,W=Function.prototype,G=W.call,z=M&&W.bind.bind(G,G),H=M?z:function(e){return function(){return G.apply(e,arguments)}},$=H,V=$({}.toString),K=$("".slice),Y=function(e){return K(V(e),8,-1)},J=O,Q=Y,X=Object,Z=H("".split),ee=J((function(){return!X("z").propertyIsEnumerable(0)}))?function(e){return"String"===Q(e)?Z(e,""):X(e)}:X,te=function(e){return null==e},re=te,ne=TypeError,oe=function(e){if(re(e))throw new ne("Can't call method on "+e);return e},ie=ee,ae=oe,se=function(e){return ie(ae(e))},ue="object"==typeof document&&document.all,ce=void 0===ue&&void 0!==ue?function(e){return"function"==typeof e||e===ue}:function(e){return"function"==typeof e},le=ce,pe=function(e){return"object"==typeof e?null!==e:le(e)},fe=P,he=ce,de=function(e,t){return arguments.length<2?(r=fe[e],he(r)?r:void 0):fe[e]&&fe[e][t];var r},ye=H({}.isPrototypeOf),me=P.navigator,ge=me&&me.userAgent,ve=ge?String(ge):"",be=P,we=ve,xe=be.process,Se=be.Deno,Ee=xe&&xe.versions||Se&&Se.version,Ae=Ee&&Ee.v8;Ae&&(B=(D=Ae.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!B&&we&&(!(D=we.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=we.match(/Chrome\/(\d+)/))&&(B=+D[1]);var Re=B,Pe=Re,ke=O,Oe=P.String,je=!!Object.getOwnPropertySymbols&&!ke((function(){var e=Symbol("symbol detection");return!Oe(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41})),Te=je&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ie=de,Ne=ce,_e=ye,Ce=Object,Ue=Te?function(e){return"symbol"==typeof e}:function(e){var t=Ie("Symbol");return Ne(t)&&_e(t.prototype,Ce(e))},Le=String,Fe=function(e){try{return Le(e)}catch(e){return"Object"}},De=ce,Be=Fe,qe=TypeError,Me=function(e){if(De(e))return e;throw new qe(Be(e)+" is not a function")},We=Me,Ge=te,ze=function(e,t){var r=e[t];return Ge(r)?void 0:We(r)},He=_,$e=ce,Ve=pe,Ke=TypeError,Ye={exports:{}},Je=P,Qe=Object.defineProperty,Xe=function(e,t){try{Qe(Je,e,{value:t,configurable:!0,writable:!0})}catch(r){Je[e]=t}return t},Ze=P,et=Xe,tt="__core-js_shared__",rt=Ye.exports=Ze[tt]||et(tt,{});(rt.versions||(rt.versions=[])).push({version:"3.39.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"});var nt=Ye.exports,ot=nt,it=function(e,t){return ot[e]||(ot[e]=t||{})},at=oe,st=Object,ut=function(e){return st(at(e))},ct=ut,lt=H({}.hasOwnProperty),pt=Object.hasOwn||function(e,t){return lt(ct(e),t)},ft=H,ht=0,dt=Math.random(),yt=ft(1..toString),mt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+yt(++ht+dt,36)},gt=it,vt=pt,bt=mt,wt=je,xt=Te,St=P.Symbol,Et=gt("wks"),At=xt?St.for||St:St&&St.withoutSetter||bt,Rt=function(e){return vt(Et,e)||(Et[e]=wt&&vt(St,e)?St[e]:At("Symbol."+e)),Et[e]},Pt=_,kt=pe,Ot=Ue,jt=ze,Tt=function(e,t){var r,n;if("string"===t&&$e(r=e.toString)&&!Ve(n=He(r,e)))return n;if($e(r=e.valueOf)&&!Ve(n=He(r,e)))return n;if("string"!==t&&$e(r=e.toString)&&!Ve(n=He(r,e)))return n;throw new Ke("Can't convert object to primitive value")},It=TypeError,Nt=Rt("toPrimitive"),_t=function(e,t){if(!kt(e)||Ot(e))return e;var r,n=jt(e,Nt);if(n){if(void 0===t&&(t="default"),r=Pt(n,e,t),!kt(r)||Ot(r))return r;throw new It("Can't convert object to primitive value")}return void 0===t&&(t="number"),Tt(e,t)},Ct=_t,Ut=Ue,Lt=function(e){var t=Ct(e,"string");return Ut(t)?t:t+""},Ft=pe,Dt=P.document,Bt=Ft(Dt)&&Ft(Dt.createElement),qt=function(e){return Bt?Dt.createElement(e):{}},Mt=qt,Wt=!j&&!O((function(){return 7!==Object.defineProperty(Mt("div"),"a",{get:function(){return 7}}).a})),Gt=j,zt=_,Ht=C,$t=q,Vt=se,Kt=Lt,Yt=pt,Jt=Wt,Qt=Object.getOwnPropertyDescriptor;k.f=Gt?Qt:function(e,t){if(e=Vt(e),t=Kt(t),Jt)try{return Qt(e,t)}catch(e){}if(Yt(e,t))return $t(!zt(Ht.f,e,t),e[t])};var Xt={},Zt=j&&O((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),er=pe,tr=String,rr=TypeError,nr=function(e){if(er(e))return e;throw new rr(tr(e)+" is not an object")},or=j,ir=Wt,ar=Zt,sr=nr,ur=Lt,cr=TypeError,lr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,fr="enumerable",hr="configurable",dr="writable";Xt.f=or?ar?function(e,t,r){if(sr(e),t=ur(t),sr(r),"function"==typeof e&&"prototype"===t&&"value"in r&&dr in r&&!r[dr]){var n=pr(e,t);n&&n[dr]&&(e[t]=r.value,r={configurable:hr in r?r[hr]:n[hr],enumerable:fr in r?r[fr]:n[fr],writable:!1})}return lr(e,t,r)}:lr:function(e,t,r){if(sr(e),t=ur(t),sr(r),ir)try{return lr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new cr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var yr=Xt,mr=q,gr=j?function(e,t,r){return yr.f(e,t,mr(1,r))}:function(e,t,r){return e[t]=r,e},vr={exports:{}},br=j,wr=pt,xr=Function.prototype,Sr=br&&Object.getOwnPropertyDescriptor,Er=wr(xr,"name"),Ar={EXISTS:Er,PROPER:Er&&"something"===function(){}.name,CONFIGURABLE:Er&&(!br||br&&Sr(xr,"name").configurable)},Rr=ce,Pr=nt,kr=H(Function.toString);Rr(Pr.inspectSource)||(Pr.inspectSource=function(e){return kr(e)});var Or,jr,Tr,Ir=Pr.inspectSource,Nr=ce,_r=P.WeakMap,Cr=Nr(_r)&&/native code/.test(String(_r)),Ur=mt,Lr=it("keys"),Fr=function(e){return Lr[e]||(Lr[e]=Ur(e))},Dr={},Br=Cr,qr=P,Mr=pe,Wr=gr,Gr=pt,zr=nt,Hr=Fr,$r=Dr,Vr="Object already initialized",Kr=qr.TypeError,Yr=qr.WeakMap;if(Br||zr.state){var Jr=zr.state||(zr.state=new Yr);Jr.get=Jr.get,Jr.has=Jr.has,Jr.set=Jr.set,Or=function(e,t){if(Jr.has(e))throw new Kr(Vr);return t.facade=e,Jr.set(e,t),t},jr=function(e){return Jr.get(e)||{}},Tr=function(e){return Jr.has(e)}}else{var Qr=Hr("state");$r[Qr]=!0,Or=function(e,t){if(Gr(e,Qr))throw new Kr(Vr);return t.facade=e,Wr(e,Qr,t),t},jr=function(e){return Gr(e,Qr)?e[Qr]:{}},Tr=function(e){return Gr(e,Qr)}}var Xr={set:Or,get:jr,has:Tr,enforce:function(e){return Tr(e)?jr(e):Or(e,{})},getterFor:function(e){return function(t){var r;if(!Mr(t)||(r=jr(t)).type!==e)throw new Kr("Incompatible receiver, "+e+" required");return r}}},Zr=H,en=O,tn=ce,rn=pt,nn=j,on=Ar.CONFIGURABLE,an=Ir,sn=Xr.enforce,un=Xr.get,cn=String,ln=Object.defineProperty,pn=Zr("".slice),fn=Zr("".replace),hn=Zr([].join),dn=nn&&!en((function(){return 8!==ln((function(){}),"length",{value:8}).length})),yn=String(String).split("String"),mn=vr.exports=function(e,t,r){"Symbol("===pn(cn(t),0,7)&&(t="["+fn(cn(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!rn(e,"name")||on&&e.name!==t)&&(nn?ln(e,"name",{value:t,configurable:!0}):e.name=t),dn&&r&&rn(r,"arity")&&e.length!==r.arity&&ln(e,"length",{value:r.arity});try{r&&rn(r,"constructor")&&r.constructor?nn&&ln(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=sn(e);return rn(n,"source")||(n.source=hn(yn,"string"==typeof t?t:"")),e};Function.prototype.toString=mn((function(){return tn(this)&&un(this).source||an(this)}),"toString");var gn=vr.exports,vn=ce,bn=Xt,wn=gn,xn=Xe,Sn=function(e,t,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(vn(r)&&wn(r,i,n),n.global)o?e[t]=r:xn(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:bn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},En={},An=Math.ceil,Rn=Math.floor,Pn=Math.trunc||function(e){var t=+e;return(t>0?Rn:An)(t)},kn=function(e){var t=+e;return t!=t||0===t?0:Pn(t)},On=kn,jn=Math.max,Tn=Math.min,In=function(e,t){var r=On(e);return r<0?jn(r+t,0):Tn(r,t)},Nn=kn,_n=Math.min,Cn=function(e){var t=Nn(e);return t>0?_n(t,9007199254740991):0},Un=Cn,Ln=function(e){return Un(e.length)},Fn=se,Dn=In,Bn=Ln,qn=function(e){return function(t,r,n){var o=Fn(t),i=Bn(o);if(0===i)return!e&&-1;var a,s=Dn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Mn={includes:qn(!0),indexOf:qn(!1)},Wn=pt,Gn=se,zn=Mn.indexOf,Hn=Dr,$n=H([].push),Vn=function(e,t){var r,n=Gn(e),o=0,i=[];for(r in n)!Wn(Hn,r)&&Wn(n,r)&&$n(i,r);for(;t.length>o;)Wn(n,r=t[o++])&&(~zn(i,r)||$n(i,r));return i},Kn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yn=Vn,Jn=Kn.concat("length","prototype");En.f=Object.getOwnPropertyNames||function(e){return Yn(e,Jn)};var Qn={};Qn.f=Object.getOwnPropertySymbols;var Xn=de,Zn=En,eo=Qn,to=nr,ro=H([].concat),no=Xn("Reflect","ownKeys")||function(e){var t=Zn.f(to(e)),r=eo.f;return r?ro(t,r(e)):t},oo=pt,io=no,ao=k,so=Xt,uo=O,co=ce,lo=/#|\.prototype\./,po=function(e,t){var r=ho[fo(e)];return r===mo||r!==yo&&(co(t)?uo(t):!!t)},fo=po.normalize=function(e){return String(e).replace(lo,".").toLowerCase()},ho=po.data={},yo=po.NATIVE="N",mo=po.POLYFILL="P",go=po,vo=P,bo=k.f,wo=gr,xo=Sn,So=Xe,Eo=function(e,t,r){for(var n=io(t),o=so.f,i=ao.f,a=0;a<n.length;a++){var s=n[a];oo(e,s)||r&&oo(r,s)||o(e,s,i(t,s))}},Ao=go,Ro=function(e,t){var r,n,o,i,a,s=e.target,u=e.global,c=e.stat;if(r=u?vo:c?vo[s]||So(s,{}):vo[s]&&vo[s].prototype)for(n in t){if(i=t[n],o=e.dontCallGetSet?(a=bo(r,n))&&a.value:r[n],!Ao(u?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Eo(i,o)}(e.sham||o&&o.sham)&&wo(i,"sham",!0),xo(r,n,i,e)}},Po=Y,ko=Array.isArray||function(e){return"Array"===Po(e)},Oo=TypeError,jo=j,To=Xt,Io=q,No=function(e,t,r){jo?To.f(e,t,Io(0,r)):e[t]=r},_o={};_o[Rt("toStringTag")]="z";var Co="[object z]"===String(_o),Uo=Co,Lo=ce,Fo=Y,Do=Rt("toStringTag"),Bo=Object,qo="Arguments"===Fo(function(){return arguments}()),Mo=Uo?Fo:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Bo(e),Do))?r:qo?Fo(t):"Object"===(n=Fo(t))&&Lo(t.callee)?"Arguments":n},Wo=H,Go=O,zo=ce,Ho=Mo,$o=Ir,Vo=function(){},Ko=de("Reflect","construct"),Yo=/^\s*(?:class|function)\b/,Jo=Wo(Yo.exec),Qo=!Yo.test(Vo),Xo=function(e){if(!zo(e))return!1;try{return Ko(Vo,[],e),!0}catch(e){return!1}},Zo=function(e){if(!zo(e))return!1;switch(Ho(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qo||!!Jo(Yo,$o(e))}catch(e){return!0}};Zo.sham=!0;var ei=!Ko||Go((function(){var e;return Xo(Xo.call)||!Xo(Object)||!Xo((function(){e=!0}))||e}))?Zo:Xo,ti=ko,ri=ei,ni=pe,oi=Rt("species"),ii=Array,ai=function(e){var t;return ti(e)&&(t=e.constructor,(ri(t)&&(t===ii||ti(t.prototype))||ni(t)&&null===(t=t[oi]))&&(t=void 0)),void 0===t?ii:t},si=function(e,t){return new(ai(e))(0===t?0:t)},ui=O,ci=Re,li=Rt("species"),pi=function(e){return ci>=51||!ui((function(){var t=[];return(t.constructor={})[li]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fi=Ro,hi=O,di=ko,yi=pe,mi=ut,gi=Ln,vi=function(e){if(e>9007199254740991)throw Oo("Maximum allowed index exceeded");return e},bi=No,wi=si,xi=pi,Si=Re,Ei=Rt("isConcatSpreadable"),Ai=Si>=51||!hi((function(){var e=[];return e[Ei]=!1,e.concat()[0]!==e})),Ri=function(e){if(!yi(e))return!1;var t=e[Ei];return void 0!==t?!!t:di(e)};fi({target:"Array",proto:!0,arity:1,forced:!Ai||!xi("concat")},{concat:function(e){var t,r,n,o,i,a=mi(this),s=wi(a,0),u=0;for(t=-1,n=arguments.length;t<n;t++)if(Ri(i=-1===t?a:arguments[t]))for(o=gi(i),vi(u+o),r=0;r<o;r++,u++)r in i&&bi(s,u,i[r]);else vi(u+1),bi(s,u++,i);return s.length=u,s}});var Pi=gn,ki=Xt,Oi=function(e,t,r){return r.get&&Pi(r.get,t,{getter:!0}),r.set&&Pi(r.set,t,{setter:!0}),ki.f(e,t,r)},ji=j,Ti=Ar.EXISTS,Ii=H,Ni=Oi,_i=Function.prototype,Ci=Ii(_i.toString),Ui=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Li=Ii(Ui.exec);ji&&!Ti&&Ni(_i,"name",{configurable:!0,get:function(){try{return Li(Ui,Ci(this))[1]}catch(e){return""}}});var Fi=H,Di=Me,Bi=pe,qi=function(e){return Bi(e)||null===e},Mi=String,Wi=TypeError,Gi=function(e,t,r){try{return Fi(Di(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},zi=pe,Hi=oe,$i=function(e){if(qi(e))return e;throw new Wi("Can't set "+Mi(e)+" as a prototype")},Vi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Gi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Hi(r),$i(n),zi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0);Ro({target:"Object",stat:!0},{setPrototypeOf:Vi});var Ki=function(e){function t(e){var r;return a(this,t),r=i(this,t,["This function is not supported in ".concat(e," environment")]),Error.captureStackTrace&&Error.captureStackTrace(r,t),r.name="UnsupportedPlatformError",r.platform=e,Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t)}(x(Error));function Yi(){this._types=Object.create(null),this._extensions=Object.create(null);for(let e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Yi.prototype.define=function(e,t){for(let r in e){let n=e[r].map((function(e){return e.toLowerCase()}));r=r.toLowerCase();for(let e=0;e<n.length;e++){const o=n[e];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){const e=n[0];this._extensions[r]="*"!==e[0]?e:e.substr(1)}}},Yi.prototype.getType=function(e){let t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},Yi.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null};var Ji=E(new Yi({"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"]})),Qi="5.7.0",Xi=function(){var e=o(m().mark((function e(){var t;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("object"!==("undefined"==typeof kintone?"undefined":w(kintone))||null===kintone||"function"!=typeof kintone.getRequestToken){e.next=2;break}return e.abrupt("return",kintone.getRequestToken());case 2:if("object"!==("undefined"==typeof garoon?"undefined":w(garoon))||null===garoon||"function"!=typeof(null===(t=garoon.connect)||void 0===t||null===(t=t.kintone)||void 0===t?void 0:t.getRequestToken)){e.next=4;break}return e.abrupt("return",garoon.connect.kintone.getRequestToken());case 4:throw new Error("session authentication must specify a request token");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Zi=Object.freeze({__proto__:null,buildBaseUrl:function(e){if(e)return e;if(void 0===location)throw new Error("The baseUrl parameter is required for this environment");var t=location,r=t.host,n=t.protocol;return"".concat(n,"//").concat(r)},buildFormDataValue:function(e,t){var r={};return t&&(r.type=Ji.getType(t)||void 0),new Blob([e],r)},buildHeaders:function(){return{}},buildPlatformDependentConfig:function(){return{}},getDefaultAuth:function(){return{type:"session"}},getRequestToken:Xi,getVersion:function(){return Qi},readFileFromPath:function(e){throw new Ki("Browser")}}),ea={},ta=Vn,ra=Kn,na=Object.keys||function(e){return ta(e,ra)},oa=j,ia=Zt,aa=Xt,sa=nr,ua=se,ca=na;ea.f=oa&&!ia?Object.defineProperties:function(e,t){sa(e);for(var r,n=ua(t),o=ca(t),i=o.length,a=0;i>a;)aa.f(e,r=o[a++],n[r]);return e};var la,pa=de("document","documentElement"),fa=nr,ha=ea,da=Kn,ya=Dr,ma=pa,ga=qt,va="prototype",ba="script",wa=Fr("IE_PROTO"),xa=function(){},Sa=function(e){return"<"+ba+">"+e+"</"+ba+">"},Ea=function(e){e.write(Sa("")),e.close();var t=e.parentWindow.Object;return e=null,t},Aa=function(){try{la=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Aa="undefined"!=typeof document?document.domain&&la?Ea(la):(t=ga("iframe"),r="java"+ba+":",t.style.display="none",ma.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Sa("document.F=Object")),e.close(),e.F):Ea(la);for(var n=da.length;n--;)delete Aa[va][da[n]];return Aa()};ya[wa]=!0;var Ra=Object.create||function(e,t){var r;return null!==e?(xa[va]=fa(e),r=new xa,xa[va]=null,r[wa]=e):r=Aa(),void 0===t?r:ha.f(r,t)},Pa=Rt,ka=Ra,Oa=Xt.f,ja=Pa("unscopables"),Ta=Array.prototype;void 0===Ta[ja]&&Oa(Ta,ja,{configurable:!0,value:ka(null)});var Ia,Na,_a,Ca={},Ua=!O((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),La=pt,Fa=ce,Da=ut,Ba=Ua,qa=Fr("IE_PROTO"),Ma=Object,Wa=Ma.prototype,Ga=Ba?Ma.getPrototypeOf:function(e){var t=Da(e);if(La(t,qa))return t[qa];var r=t.constructor;return Fa(r)&&t instanceof r?r.prototype:t instanceof Ma?Wa:null},za=O,Ha=ce,$a=pe,Va=Ga,Ka=Sn,Ya=Rt("iterator"),Ja=!1;[].keys&&("next"in(_a=[].keys())?(Na=Va(Va(_a)))!==Object.prototype&&(Ia=Na):Ja=!0);var Qa=!$a(Ia)||za((function(){var e={};return Ia[Ya].call(e)!==e}));Qa&&(Ia={}),Ha(Ia[Ya])||Ka(Ia,Ya,(function(){return this}));var Xa={IteratorPrototype:Ia,BUGGY_SAFARI_ITERATORS:Ja},Za=Xt.f,es=pt,ts=Rt("toStringTag"),rs=function(e,t,r){e&&!r&&(e=e.prototype),e&&!es(e,ts)&&Za(e,ts,{configurable:!0,value:t})},ns=Xa.IteratorPrototype,os=Ra,is=q,as=rs,ss=Ca,us=function(){return this},cs=function(e,t,r,n){var o=t+" Iterator";return e.prototype=os(ns,{next:is(+!n,r)}),as(e,o,!1),ss[o]=us,e},ls=Ro,ps=_,fs=ce,hs=cs,ds=Ga,ys=Vi,ms=rs,gs=gr,vs=Sn,bs=Ca,ws=Ar.PROPER,xs=Ar.CONFIGURABLE,Ss=Xa.IteratorPrototype,Es=Xa.BUGGY_SAFARI_ITERATORS,As=Rt("iterator"),Rs="keys",Ps="values",ks="entries",Os=function(){return this},js=function(e,t,r,n,o,i,a){hs(r,t,n);var s,u,c,l=function(e){if(e===o&&y)return y;if(!Es&&e&&e in h)return h[e];switch(e){case Rs:case Ps:case ks:return function(){return new r(this,e)}}return function(){return new r(this)}},p=t+" Iterator",f=!1,h=e.prototype,d=h[As]||h["@@iterator"]||o&&h[o],y=!Es&&d||l(o),m="Array"===t&&h.entries||d;if(m&&(s=ds(m.call(new e)))!==Object.prototype&&s.next&&(ds(s)!==Ss&&(ys?ys(s,Ss):fs(s[As])||vs(s,As,Os)),ms(s,p,!0)),ws&&o===Ps&&d&&d.name!==Ps&&(xs?gs(h,"name",Ps):(f=!0,y=function(){return ps(d,this)})),o)if(u={values:l(Ps),keys:i?y:l(Rs),entries:l(ks)},a)for(c in u)(Es||f||!(c in h))&&vs(h,c,u[c]);else ls({target:t,proto:!0,forced:Es||f},u);return h[As]!==y&&vs(h,As,y,{name:o}),bs[t]=y,u},Ts=function(e,t){return{value:e,done:t}},Is=se,Ns=function(e){Ta[ja][e]=!0},_s=Ca,Cs=Xr,Us=Xt.f,Ls=js,Fs=Ts,Ds=j,Bs="Array Iterator",qs=Cs.set,Ms=Cs.getterFor(Bs),Ws=Ls(Array,"Array",(function(e,t){qs(this,{type:Bs,target:Is(e),index:0,kind:t})}),(function(){var e=Ms(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Fs(void 0,!0);switch(e.kind){case"keys":return Fs(r,!1);case"values":return Fs(t[r],!1)}return Fs([r,t[r]],!1)}),"values"),Gs=_s.Arguments=_s.Array;if(Ns("keys"),Ns("values"),Ns("entries"),Ds&&"values"!==Gs.name)try{Us(Gs,"name",{value:"values"})}catch(e){}var zs=H,Hs=Sn,$s=Date.prototype,Vs="Invalid Date",Ks="toString",Ys=zs($s[Ks]),Js=zs($s.getTime);String(new Date(NaN))!==Vs&&Hs($s,Ks,(function(){var e=Js(this);return e==e?Ys(this):Vs}));var Qs=Mo,Xs=Co?{}.toString:function(){return"[object "+Qs(this)+"]"};Co||Sn(Object.prototype,"toString",Xs,{unsafe:!0});var Zs=Mo,eu=String,tu=function(e){if("Symbol"===Zs(e))throw new TypeError("Cannot convert a Symbol value to a string");return eu(e)},ru="\t\n\v\f\r                 \u2028\u2029\ufeff",nu=oe,ou=tu,iu=ru,au=H("".replace),su=RegExp("^["+iu+"]+"),uu=RegExp("(^|[^"+iu+"])["+iu+"]+$"),cu=function(e){return function(t){var r=ou(nu(t));return 1&e&&(r=au(r,su,"")),2&e&&(r=au(r,uu,"$1")),r}},lu={start:cu(1),end:cu(2),trim:cu(3)},pu=P,fu=O,hu=tu,du=lu.trim,yu=ru,mu=H("".charAt),gu=pu.parseFloat,vu=pu.Symbol,bu=vu&&vu.iterator,wu=1/gu(yu+"-0")!=-1/0||bu&&!fu((function(){gu(Object(bu))}))?function(e){var t=du(hu(e)),r=gu(t);return 0===r&&"-"===mu(t,0)?-0:r}:gu;Ro({global:!0,forced:parseFloat!==wu},{parseFloat:wu});var xu,Su,Eu=nr,Au=function(){var e=Eu(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Ru=O,Pu=P.RegExp,ku=Ru((function(){var e=Pu("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Ou=ku||Ru((function(){return!Pu("a","y").sticky})),ju={BROKEN_CARET:ku||Ru((function(){var e=Pu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Ou,UNSUPPORTED_Y:ku},Tu=O,Iu=P.RegExp,Nu=Tu((function(){var e=Iu(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),_u=O,Cu=P.RegExp,Uu=_u((function(){var e=Cu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Lu=_,Fu=H,Du=tu,Bu=Au,qu=ju,Mu=Ra,Wu=Xr.get,Gu=Nu,zu=Uu,Hu=it("native-string-replace",String.prototype.replace),$u=RegExp.prototype.exec,Vu=$u,Ku=Fu("".charAt),Yu=Fu("".indexOf),Ju=Fu("".replace),Qu=Fu("".slice),Xu=(Su=/b*/g,Lu($u,xu=/a/,"a"),Lu($u,Su,"a"),0!==xu.lastIndex||0!==Su.lastIndex),Zu=qu.BROKEN_CARET,ec=void 0!==/()??/.exec("")[1];(Xu||ec||Zu||Gu||zu)&&(Vu=function(e){var t,r,n,o,i,a,s,u=this,c=Wu(u),l=Du(e),p=c.raw;if(p)return p.lastIndex=u.lastIndex,t=Lu(Vu,p,l),u.lastIndex=p.lastIndex,t;var f=c.groups,h=Zu&&u.sticky,d=Lu(Bu,u),y=u.source,m=0,g=l;if(h&&(d=Ju(d,"y",""),-1===Yu(d,"g")&&(d+="g"),g=Qu(l,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Ku(l,u.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,m++),r=new RegExp("^(?:"+y+")",d)),ec&&(r=new RegExp("^"+y+"$(?!\\s)",d)),Xu&&(n=u.lastIndex),o=Lu($u,h?r:u,g),h?o?(o.input=Qu(o.input,m),o[0]=Qu(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Xu&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),ec&&o&&o.length>1&&Lu(Hu,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=Mu(null),i=0;i<f.length;i++)a[(s=f[i])[0]]=o[s[1]];return o});var tc=Vu;Ro({target:"RegExp",proto:!0,forced:/./.exec!==tc},{exec:tc});var rc=_,nc=pt,oc=ye,ic=Au,ac=RegExp.prototype,sc=Ar.PROPER,uc=Sn,cc=nr,lc=tu,pc=O,fc=function(e){var t=e.flags;return void 0!==t||"flags"in ac||nc(e,"flags")||!oc(ac,e)?t:rc(ic,e)},hc="toString",dc=RegExp.prototype,yc=dc[hc],mc=pc((function(){return"/a/b"!==yc.call({source:"a",flags:"b"})})),gc=sc&&yc.name!==hc;(mc||gc)&&uc(dc,hc,(function(){var e=cc(this);return"/"+lc(e.source)+"/"+lc(fc(e))}),{unsafe:!0});var vc=H,bc=kn,wc=tu,xc=oe,Sc=vc("".charAt),Ec=vc("".charCodeAt),Ac=vc("".slice),Rc=function(e){return function(t,r){var n,o,i=wc(xc(t)),a=bc(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=Ec(i,a))<55296||n>56319||a+1===s||(o=Ec(i,a+1))<56320||o>57343?e?Sc(i,a):n:e?Ac(i,a,a+2):o-56320+(n-55296<<10)+65536}},Pc={codeAt:Rc(!1),charAt:Rc(!0)},kc=Pc.charAt,Oc=tu,jc=Xr,Tc=js,Ic=Ts,Nc="String Iterator",_c=jc.set,Cc=jc.getterFor(Nc);Tc(String,"String",(function(e){_c(this,{type:Nc,string:Oc(e),index:0})}),(function(){var e,t=Cc(this),r=t.string,n=t.index;return n>=r.length?Ic(void 0,!0):(e=kc(r,n),t.index+=e.length,Ic(e,!1))}));var Uc=T,Lc=Function.prototype,Fc=Lc.apply,Dc=Lc.call,Bc="object"==typeof Reflect&&Reflect.apply||(Uc?Dc.bind(Fc):function(){return Dc.apply(Fc,arguments)}),qc=_,Mc=Sn,Wc=tc,Gc=O,zc=Rt,Hc=gr,$c=zc("species"),Vc=RegExp.prototype,Kc=function(e,t,r,n){var o=zc(e),i=!Gc((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!Gc((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[$c]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return t=!0,null},r[o](""),!t}));if(!i||!a||r){var s=/./[o],u=t(o,""[e],(function(e,t,r,n,o){var a=t.exec;return a===Wc||a===Vc.exec?i&&!o?{done:!0,value:qc(s,t,r,n)}:{done:!0,value:qc(e,r,t,n)}:{done:!1}}));Mc(String.prototype,e,u[0]),Mc(Vc,o,u[1])}n&&Hc(Vc[o],"sham",!0)},Yc=Pc.charAt,Jc=function(e,t,r){return t+(r?Yc(e,t).length:1)},Qc=H,Xc=ut,Zc=Math.floor,el=Qc("".charAt),tl=Qc("".replace),rl=Qc("".slice),nl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ol=/\$([$&'`]|\d{1,2})/g,il=_,al=nr,sl=ce,ul=Y,cl=tc,ll=TypeError,pl=function(e,t){var r=e.exec;if(sl(r)){var n=il(r,e,t);return null!==n&&al(n),n}if("RegExp"===ul(e))return il(cl,e,t);throw new ll("RegExp#exec called on incompatible receiver")},fl=Bc,hl=_,dl=H,yl=Kc,ml=O,gl=nr,vl=ce,bl=te,wl=kn,xl=Cn,Sl=tu,El=oe,Al=Jc,Rl=ze,Pl=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,u=ol;return void 0!==o&&(o=Xc(o),u=nl),tl(i,u,(function(i,u){var c;switch(el(u,0)){case"$":return"$";case"&":return e;case"`":return rl(t,0,r);case"'":return rl(t,a);case"<":c=o[rl(u,1,-1)];break;default:var l=+u;if(0===l)return i;if(l>s){var p=Zc(l/10);return 0===p?i:p<=s?void 0===n[p-1]?el(u,1):n[p-1]+el(u,1):i}c=n[l-1]}return void 0===c?"":c}))},kl=pl,Ol=Rt("replace"),jl=Math.max,Tl=Math.min,Il=dl([].concat),Nl=dl([].push),_l=dl("".indexOf),Cl=dl("".slice),Ul="$0"==="a".replace(/./,"$0"),Ll=!!/./[Ol]&&""===/./[Ol]("a","$0");yl("replace",(function(e,t,r){var n=Ll?"$":"$0";return[function(e,r){var n=El(this),o=bl(e)?void 0:Rl(e,Ol);return o?hl(o,e,n,r):hl(t,Sl(n),e,r)},function(e,o){var i=gl(this),a=Sl(e);if("string"==typeof o&&-1===_l(o,n)&&-1===_l(o,"$<")){var s=r(t,i,a,o);if(s.done)return s.value}var u=vl(o);u||(o=Sl(o));var c,l=i.global;l&&(c=i.unicode,i.lastIndex=0);for(var p,f=[];null!==(p=kl(i,a))&&(Nl(f,p),l);){""===Sl(p[0])&&(i.lastIndex=Al(a,xl(i.lastIndex),c))}for(var h,d="",y=0,m=0;m<f.length;m++){for(var g,v=Sl((p=f[m])[0]),b=jl(Tl(wl(p.index),a.length),0),w=[],x=1;x<p.length;x++)Nl(w,void 0===(h=p[x])?h:String(h));var S=p.groups;if(u){var E=Il([v],w,b,a);void 0!==S&&Nl(E,S),g=Sl(fl(o,void 0,E))}else g=Pl(v,a,b,w,S,o);b>=y&&(d+=Cl(a,y,b)+g,y=b+v.length)}return d+Cl(a,y)}]}),!!ml((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Ul||Ll);var Fl={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},Dl=qt("span").classList,Bl=Dl&&Dl.constructor&&Dl.constructor.prototype,ql=Bl===Object.prototype?void 0:Bl,Ml=P,Wl=Fl,Gl=ql,zl=Ws,Hl=gr,$l=rs,Vl=Rt("iterator"),Kl=zl.values,Yl=function(e,t){if(e){if(e[Vl]!==Kl)try{Hl(e,Vl,Kl)}catch(t){e[Vl]=Kl}if($l(e,t,!0),Wl[t])for(var r in zl)if(e[r]!==zl[r])try{Hl(e,r,zl[r])}catch(t){e[r]=zl[r]}}};for(var Jl in Wl)Yl(Ml[Jl]&&Ml[Jl].prototype,Jl);Yl(Gl,"DOMTokenList");var Ql=O,Xl=j,Zl=Rt("iterator"),ep=!Ql((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Xl||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Zl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})),tp=Y,rp=H,np=function(e){if("Function"===tp(e))return rp(e)},op=Me,ip=T,ap=np(np.bind),sp=function(e,t){return op(e),void 0===t?e:ip?ap(e,t):function(){return e.apply(t,arguments)}},up=ye,cp=TypeError,lp=function(e,t){if(up(t,e))return e;throw new cp("Incorrect invocation")},pp=j,fp=H,hp=_,dp=O,yp=na,mp=Qn,gp=C,vp=ut,bp=ee,wp=Object.assign,xp=Object.defineProperty,Sp=fp([].concat),Ep=!wp||dp((function(){if(pp&&1!==wp({b:1},wp(xp({},"a",{enumerable:!0,get:function(){xp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==wp({},e)[r]||yp(wp({},t)).join("")!==n}))?function(e,t){for(var r=vp(e),n=arguments.length,o=1,i=mp.f,a=gp.f;n>o;)for(var s,u=bp(arguments[o++]),c=i?Sp(yp(u),i(u)):yp(u),l=c.length,p=0;l>p;)s=c[p++],pp&&!hp(a,u,s)||(r[s]=u[s]);return r}:wp,Ap=_,Rp=nr,Pp=ze,kp=nr,Op=function(e,t,r){var n,o;Rp(e);try{if(!(n=Pp(e,"return"))){if("throw"===t)throw r;return r}n=Ap(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Rp(n),r},jp=Ca,Tp=Rt("iterator"),Ip=Array.prototype,Np=Mo,_p=ze,Cp=te,Up=Ca,Lp=Rt("iterator"),Fp=function(e){if(!Cp(e))return _p(e,Lp)||_p(e,"@@iterator")||Up[Np(e)]},Dp=_,Bp=Me,qp=nr,Mp=Fe,Wp=Fp,Gp=TypeError,zp=function(e,t){var r=arguments.length<2?Wp(e):t;if(Bp(r))return qp(Dp(r,e));throw new Gp(Mp(e)+" is not iterable")},Hp=sp,$p=_,Vp=ut,Kp=function(e,t,r,n){try{return n?t(kp(r)[0],r[1]):t(r)}catch(t){Op(e,"throw",t)}},Yp=function(e){return void 0!==e&&(jp.Array===e||Ip[Tp]===e)},Jp=ei,Qp=Ln,Xp=No,Zp=zp,ef=Fp,tf=Array,rf=H([].slice),nf=H,of=2147483647,af=/[^\0-\u007E]/,sf=/[.\u3002\uFF0E\uFF61]/g,uf="Overflow: input needs wider integers to process",cf=RangeError,lf=nf(sf.exec),pf=Math.floor,ff=String.fromCharCode,hf=nf("".charCodeAt),df=nf([].join),yf=nf([].push),mf=nf("".replace),gf=nf("".split),vf=nf("".toLowerCase),bf=function(e){return e+22+75*(e<26)},wf=function(e,t,r){var n=0;for(e=r?pf(e/700):e>>1,e+=pf(e/t);e>455;)e=pf(e/35),n+=36;return pf(n+36*e/(e+38))},xf=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=hf(e,r++);if(o>=55296&&o<=56319&&r<n){var i=hf(e,r++);56320==(64512&i)?yf(t,((1023&o)<<10)+(1023&i)+65536):(yf(t,o),r--)}else yf(t,o)}return t}(e);var r,n,o=e.length,i=128,a=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&yf(t,ff(n));var u=t.length,c=u;for(u&&yf(t,"-");c<o;){var l=of;for(r=0;r<e.length;r++)(n=e[r])>=i&&n<l&&(l=n);var p=c+1;if(l-i>pf((of-a)/p))throw new cf(uf);for(a+=(l-i)*p,i=l,r=0;r<e.length;r++){if((n=e[r])<i&&++a>of)throw new cf(uf);if(n===i){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f<d)break;var y=f-d,m=36-d;yf(t,ff(bf(d+y%m))),f=pf(y/m),h+=36}yf(t,ff(bf(f))),s=wf(a,p,c===u),a=0,c++}}a++,i++}return df(t,"")},Sf=TypeError,Ef=function(e,t){if(e<t)throw new Sf("Not enough arguments");return e},Af=Ro,Rf=H,Pf=In,kf=RangeError,Of=String.fromCharCode,jf=String.fromCodePoint,Tf=Rf([].join);Af({target:"String",stat:!0,arity:1,forced:!!jf&&1!==jf.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],Pf(t,1114111)!==t)throw new kf(t+" is not a valid code point");r[o]=t<65536?Of(t):Of(55296+((t-=65536)>>10),t%1024+56320)}return Tf(r,"")}});var If=P,Nf=j,_f=Object.getOwnPropertyDescriptor,Cf=Sn,Uf=rf,Lf=Math.floor,Ff=function(e,t){var r=e.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}else for(var a=Lf(r/2),s=Ff(Uf(e,0,a),t),u=Ff(Uf(e,a),t),c=s.length,l=u.length,p=0,f=0;p<c||f<l;)e[p+f]=p<c&&f<l?t(s[p],u[f])<=0?s[p++]:u[f++]:p<c?s[p++]:u[f++];return e},Df=Ro,Bf=P,qf=function(e){if(!Nf)return If[e];var t=_f(If,e);return t&&t.value},Mf=de,Wf=_,Gf=H,zf=j,Hf=ep,$f=Sn,Vf=Oi,Kf=function(e,t,r){for(var n in t)Cf(e,n,t[n],r);return e},Yf=rs,Jf=cs,Qf=Xr,Xf=lp,Zf=ce,eh=pt,th=sp,rh=Mo,nh=nr,oh=pe,ih=tu,ah=Ra,sh=q,uh=zp,ch=Fp,lh=Ts,ph=Ef,fh=Ff,hh=Rt("iterator"),dh="URLSearchParams",yh=dh+"Iterator",mh=Qf.set,gh=Qf.getterFor(dh),vh=Qf.getterFor(yh),bh=qf("fetch"),wh=qf("Request"),xh=qf("Headers"),Sh=wh&&wh.prototype,Eh=xh&&xh.prototype,Ah=Bf.TypeError,Rh=Bf.encodeURIComponent,Ph=String.fromCharCode,kh=Mf("String","fromCodePoint"),Oh=parseInt,jh=Gf("".charAt),Th=Gf([].join),Ih=Gf([].push),Nh=Gf("".replace),_h=Gf([].shift),Ch=Gf([].splice),Uh=Gf("".split),Lh=Gf("".slice),Fh=Gf(/./.exec),Dh=/\+/g,Bh=/^[0-9a-f]+$/i,qh=function(e,t){var r=Lh(e,t,t+2);return Fh(Bh,r)?Oh(r,16):NaN},Mh=function(e){for(var t=0,r=128;r>0&&0!=(e&r);r>>=1)t++;return t},Wh=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},Gh=function(e){for(var t=(e=Nh(e,Dh," ")).length,r="",n=0;n<t;){var o=jh(e,n);if("%"===o){if("%"===jh(e,n+1)||n+3>t){r+="%",n++;continue}var i=qh(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=Mh(i);if(0===a)o=Ph(i);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[i],u=1;u<a&&!(++n+3>t||"%"!==jh(e,n));){var c=qh(e,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Ih(s,c),n+=2,u++}if(s.length!==a){r+="�";continue}var l=Wh(s);null===l?r+="�":o=kh(l)}}r+=o,n++}return r},zh=/[!'()~]|%20/g,Hh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$h=function(e){return Hh[e]},Vh=function(e){return Nh(Rh(e),zh,$h)},Kh=Jf((function(e,t){mh(this,{type:yh,target:gh(e).entries,index:0,kind:t})}),dh,(function(){var e=vh(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,lh(void 0,!0);var n=t[r];switch(e.kind){case"keys":return lh(n.key,!1);case"values":return lh(n.value,!1)}return lh([n.key,n.value],!1)}),!0),Yh=function(e){this.entries=[],this.url=null,void 0!==e&&(oh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===jh(e,0)?Lh(e,1):e:ih(e)))};Yh.prototype={type:dh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s,u=this.entries,c=ch(e);if(c)for(r=(t=uh(e,c)).next;!(n=Wf(r,t)).done;){if(i=(o=uh(nh(n.value))).next,(a=Wf(i,o)).done||(s=Wf(i,o)).done||!Wf(i,o).done)throw new Ah("Expected sequence with length 2");Ih(u,{key:ih(a.value),value:ih(s.value)})}else for(var l in e)eh(e,l)&&Ih(u,{key:l,value:ih(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Uh(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=Uh(t,"="),Ih(n,{key:Gh(_h(r)),value:Gh(Th(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Ih(r,Vh(e.key)+"="+Vh(e.value));return Th(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Jh=function(){Xf(this,Qh);var e=mh(this,new Yh(arguments.length>0?arguments[0]:void 0));zf||(this.size=e.entries.length)},Qh=Jh.prototype;if(Kf(Qh,{append:function(e,t){var r=gh(this);ph(arguments.length,2),Ih(r.entries,{key:ih(e),value:ih(t)}),zf||this.length++,r.updateURL()},delete:function(e){for(var t=gh(this),r=ph(arguments.length,1),n=t.entries,o=ih(e),i=r<2?void 0:arguments[1],a=void 0===i?i:ih(i),s=0;s<n.length;){var u=n[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Ch(n,s,1),void 0!==a)break}zf||(this.size=n.length),t.updateURL()},get:function(e){var t=gh(this).entries;ph(arguments.length,1);for(var r=ih(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=gh(this).entries;ph(arguments.length,1);for(var r=ih(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Ih(n,t[o].value);return n},has:function(e){for(var t=gh(this).entries,r=ph(arguments.length,1),n=ih(e),o=r<2?void 0:arguments[1],i=void 0===o?o:ih(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=gh(this);ph(arguments.length,1);for(var n,o=r.entries,i=!1,a=ih(e),s=ih(t),u=0;u<o.length;u++)(n=o[u]).key===a&&(i?Ch(o,u--,1):(i=!0,n.value=s));i||Ih(o,{key:a,value:s}),zf||(this.size=o.length),r.updateURL()},sort:function(){var e=gh(this);fh(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=gh(this).entries,n=th(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new Kh(this,"keys")},values:function(){return new Kh(this,"values")},entries:function(){return new Kh(this,"entries")}},{enumerable:!0}),$f(Qh,hh,Qh.entries,{name:"entries"}),$f(Qh,"toString",(function(){return gh(this).serialize()}),{enumerable:!0}),zf&&Vf(Qh,"size",{get:function(){return gh(this).entries.length},configurable:!0,enumerable:!0}),Yf(Jh,dh),Df({global:!0,constructor:!0,forced:!Hf},{URLSearchParams:Jh}),!Hf&&Zf(xh)){var Xh=Gf(Eh.has),Zh=Gf(Eh.set),ed=function(e){if(oh(e)){var t,r=e.body;if(rh(r)===dh)return t=e.headers?new xh(e.headers):new xh,Xh(t,"content-type")||Zh(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ah(e,{body:sh(0,ih(r)),headers:sh(0,t)})}return e};if(Zf(bh)&&Df({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return bh(e,arguments.length>1?ed(arguments[1]):{})}}),Zf(wh)){var td=function(e){return Xf(this,Sh),new wh(e,arguments.length>1?ed(arguments[1]):{})};Sh.constructor=td,td.prototype=Sh,Df({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:td})}}var rd,nd=Ro,od=j,id=ep,ad=P,sd=sp,ud=H,cd=Sn,ld=Oi,pd=lp,fd=pt,hd=Ep,dd=function(e){var t=Vp(e),r=Jp(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Hp(o,n>2?arguments[2]:void 0));var a,s,u,c,l,p,f=ef(t),h=0;if(!f||this===tf&&Yp(f))for(a=Qp(t),s=r?new this(a):tf(a);a>h;h++)p=i?o(t[h],h):t[h],Xp(s,h,p);else for(s=r?new this:[],l=(c=Zp(t,f)).next;!(u=$p(l,c)).done;h++)p=i?Kp(c,o,[u.value,h],!0):u.value,Xp(s,h,p);return s.length=h,s},yd=rf,md=Pc.codeAt,gd=function(e){var t,r,n=[],o=gf(mf(vf(e),sf,"."),".");for(t=0;t<o.length;t++)r=o[t],yf(n,lf(af,r)?"xn--"+xf(r):r);return df(n,".")},vd=tu,bd=rs,wd=Ef,xd={URLSearchParams:Jh,getState:gh},Sd=Xr,Ed=Sd.set,Ad=Sd.getterFor("URL"),Rd=xd.URLSearchParams,Pd=xd.getState,kd=ad.URL,Od=ad.TypeError,jd=ad.parseInt,Td=Math.floor,Id=Math.pow,Nd=ud("".charAt),_d=ud(/./.exec),Cd=ud([].join),Ud=ud(1..toString),Ld=ud([].pop),Fd=ud([].push),Dd=ud("".replace),Bd=ud([].shift),qd=ud("".split),Md=ud("".slice),Wd=ud("".toLowerCase),Gd=ud([].unshift),zd="Invalid scheme",Hd="Invalid host",$d="Invalid port",Vd=/[a-z]/i,Kd=/[\d+-.a-z]/i,Yd=/\d/,Jd=/^0x/i,Qd=/^[0-7]+$/,Xd=/^\d+$/,Zd=/^[\da-f]+$/i,ey=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ty=/[\0\t\n\r #/:<>?@[\\\]^|]/,ry=/^[\u0000-\u0020]+/,ny=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,oy=/[\t\n\r]/g,iy=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)Gd(t,e%256),e=Td(e/256);return Cd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=Ud(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ay={},sy=hd({},ay,{" ":1,'"':1,"<":1,">":1,"`":1}),uy=hd({},sy,{"#":1,"?":1,"{":1,"}":1}),cy=hd({},uy,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ly=function(e,t){var r=md(e,0);return r>32&&r<127&&!fd(t,e)?e:encodeURIComponent(e)},py={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fy=function(e,t){var r;return 2===e.length&&_d(Vd,Nd(e,0))&&(":"===(r=Nd(e,1))||!t&&"|"===r)},hy=function(e){var t;return e.length>1&&fy(Md(e,0,2))&&(2===e.length||"/"===(t=Nd(e,2))||"\\"===t||"?"===t||"#"===t)},dy=function(e){return"."===e||"%2e"===Wd(e)},yy={},my={},gy={},vy={},by={},wy={},xy={},Sy={},Ey={},Ay={},Ry={},Py={},ky={},Oy={},jy={},Ty={},Iy={},Ny={},_y={},Cy={},Uy={},Ly=function(e,t,r){var n,o,i,a=vd(e);if(t){if(o=this.parse(a))throw new Od(o);this.searchParams=null}else{if(void 0!==r&&(n=new Ly(r,!0)),o=this.parse(a,null,n))throw new Od(o);(i=Pd(new Rd)).bindURL(this),this.searchParams=i}};Ly.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s,u=this,c=t||yy,l=0,p="",f=!1,h=!1,d=!1;for(e=vd(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=Dd(e,ry,""),e=Dd(e,ny,"$1")),e=Dd(e,oy,""),n=dd(e);l<=n.length;){switch(o=n[l],c){case yy:if(!o||!_d(Vd,o)){if(t)return zd;c=gy;continue}p+=Wd(o),c=my;break;case my:if(o&&(_d(Kd,o)||"+"===o||"-"===o||"."===o))p+=Wd(o);else{if(":"!==o){if(t)return zd;p="",c=gy,l=0;continue}if(t&&(u.isSpecial()!==fd(py,p)||"file"===p&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=p,t)return void(u.isSpecial()&&py[u.scheme]===u.port&&(u.port=null));p="","file"===u.scheme?c=Oy:u.isSpecial()&&r&&r.scheme===u.scheme?c=vy:u.isSpecial()?c=Sy:"/"===n[l+1]?(c=by,l++):(u.cannotBeABaseURL=!0,Fd(u.path,""),c=_y)}break;case gy:if(!r||r.cannotBeABaseURL&&"#"!==o)return zd;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=yd(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Uy;break}c="file"===r.scheme?Oy:wy;continue;case vy:if("/"!==o||"/"!==n[l+1]){c=wy;continue}c=Ey,l++;break;case by:if("/"===o){c=Ay;break}c=Ny;continue;case wy:if(u.scheme=r.scheme,o===rd)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=yd(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=xy;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=yd(r.path),u.query="",c=Cy;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=yd(r.path),u.path.length--,c=Ny;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=yd(r.path),u.query=r.query,u.fragment="",c=Uy}break;case xy:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=Ny;continue}c=Ay}else c=Ey;break;case Sy:if(c=Ey,"/"!==o||"/"!==Nd(p,l+1))continue;l++;break;case Ey:if("/"!==o&&"\\"!==o){c=Ay;continue}break;case Ay:if("@"===o){f&&(p="%40"+p),f=!0,i=dd(p);for(var y=0;y<i.length;y++){var m=i[y];if(":"!==m||d){var g=ly(m,cy);d?u.password+=g:u.username+=g}else d=!0}p=""}else if(o===rd||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(f&&""===p)return"Invalid authority";l-=dd(p).length+1,p="",c=Ry}else p+=o;break;case Ry:case Py:if(t&&"file"===u.scheme){c=Ty;continue}if(":"!==o||h){if(o===rd||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===p)return Hd;if(t&&""===p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",c=Iy,t)return;continue}"["===o?h=!0:"]"===o&&(h=!1),p+=o}else{if(""===p)return Hd;if(a=u.parseHost(p))return a;if(p="",c=ky,t===Py)return}break;case ky:if(!_d(Yd,o)){if(o===rd||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||t){if(""!==p){var v=jd(p,10);if(v>65535)return $d;u.port=u.isSpecial()&&v===py[u.scheme]?null:v,p=""}if(t)return;c=Iy;continue}return $d}p+=o;break;case Oy:if(u.scheme="file","/"===o||"\\"===o)c=jy;else{if(!r||"file"!==r.scheme){c=Ny;continue}switch(o){case rd:u.host=r.host,u.path=yd(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=yd(r.path),u.query="",c=Cy;break;case"#":u.host=r.host,u.path=yd(r.path),u.query=r.query,u.fragment="",c=Uy;break;default:hy(Cd(yd(n,l),""))||(u.host=r.host,u.path=yd(r.path),u.shortenPath()),c=Ny;continue}}break;case jy:if("/"===o||"\\"===o){c=Ty;break}r&&"file"===r.scheme&&!hy(Cd(yd(n,l),""))&&(fy(r.path[0],!0)?Fd(u.path,r.path[0]):u.host=r.host),c=Ny;continue;case Ty:if(o===rd||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&fy(p))c=Ny;else if(""===p){if(u.host="",t)return;c=Iy}else{if(a=u.parseHost(p))return a;if("localhost"===u.host&&(u.host=""),t)return;p="",c=Iy}continue}p+=o;break;case Iy:if(u.isSpecial()){if(c=Ny,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==rd&&(c=Ny,"/"!==o))continue}else u.fragment="",c=Uy;else u.query="",c=Cy;break;case Ny:if(o===rd||"/"===o||"\\"===o&&u.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(s=Wd(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||Fd(u.path,"")):dy(p)?"/"===o||"\\"===o&&u.isSpecial()||Fd(u.path,""):("file"===u.scheme&&!u.path.length&&fy(p)&&(u.host&&(u.host=""),p=Nd(p,0)+":"),Fd(u.path,p)),p="","file"===u.scheme&&(o===rd||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)Bd(u.path);"?"===o?(u.query="",c=Cy):"#"===o&&(u.fragment="",c=Uy)}else p+=ly(o,uy);break;case _y:"?"===o?(u.query="",c=Cy):"#"===o?(u.fragment="",c=Uy):o!==rd&&(u.path[0]+=ly(o,ay));break;case Cy:t||"#"!==o?o!==rd&&("'"===o&&u.isSpecial()?u.query+="%27":u.query+="#"===o?"%23":ly(o,ay)):(u.fragment="",c=Uy);break;case Uy:o!==rd&&(u.fragment+=ly(o,sy))}l++}},parseHost:function(e){var t,r,n;if("["===Nd(e,0)){if("]"!==Nd(e,e.length-1))return Hd;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,p=0,f=function(){return Nd(e,p)};if(":"===f()){if(":"!==Nd(e,1))return;p+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&_d(Zd,f());)t=16*t+jd(f(),16),p++,r++;if("."===f()){if(0===r)return;if(p-=r,c>6)return;for(n=0;f();){if(o=null,n>0){if(!("."===f()&&n<4))return;p++}if(!_d(Yd,f()))return;for(;_d(Yd,f());){if(i=jd(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;p++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;u[c++]=t}else{if(null!==l)return;p++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(Md(e,1,-1)),!t)return Hd;this.host=t}else if(this.isSpecial()){if(e=gd(e),_d(ey,e))return Hd;if(t=function(e){var t,r,n,o,i,a,s,u=qd(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=u[n]))return e;if(i=10,o.length>1&&"0"===Nd(o,0)&&(i=_d(Jd,o)?16:8,o=Md(o,8===i?1:2)),""===o)a=0;else{if(!_d(10===i?Xd:8===i?Qd:Zd,o))return e;a=jd(o,i)}Fd(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=Id(256,5-t))return null}else if(a>255)return null;for(s=Ld(r),n=0;n<r.length;n++)s+=r[n]*Id(256,3-n);return s}(e),null===t)return Hd;this.host=t}else{if(_d(ty,e))return Hd;for(t="",r=dd(e),n=0;n<r.length;n++)t+=ly(r[n],ay);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return fd(py,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&fy(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=iy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+Cd(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new Od(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Fy(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+iy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(vd(e)+":",yy)},getUsername:function(){return this.username},setUsername:function(e){var t=dd(vd(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ly(t[r],cy)}},getPassword:function(){return this.password},setPassword:function(e){var t=dd(vd(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ly(t[r],cy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?iy(e):iy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ry)},getHostname:function(){var e=this.host;return null===e?"":iy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Py)},getPort:function(){var e=this.port;return null===e?"":vd(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=vd(e))?this.port=null:this.parse(e,ky))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Cd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Iy))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=vd(e))?this.query=null:("?"===Nd(e,0)&&(e=Md(e,1)),this.query="",this.parse(e,Cy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=vd(e))?("#"===Nd(e,0)&&(e=Md(e,1)),this.fragment="",this.parse(e,Uy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Fy=function(e){var t=pd(this,Dy),r=wd(arguments.length,1)>1?arguments[1]:void 0,n=Ed(t,new Ly(e,!1,r));od||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Dy=Fy.prototype,By=function(e,t){return{get:function(){return Ad(this)[e]()},set:t&&function(e){return Ad(this)[t](e)},configurable:!0,enumerable:!0}};if(od&&(ld(Dy,"href",By("serialize","setHref")),ld(Dy,"origin",By("getOrigin")),ld(Dy,"protocol",By("getProtocol","setProtocol")),ld(Dy,"username",By("getUsername","setUsername")),ld(Dy,"password",By("getPassword","setPassword")),ld(Dy,"host",By("getHost","setHost")),ld(Dy,"hostname",By("getHostname","setHostname")),ld(Dy,"port",By("getPort","setPort")),ld(Dy,"pathname",By("getPathname","setPathname")),ld(Dy,"search",By("getSearch","setSearch")),ld(Dy,"searchParams",By("getSearchParams")),ld(Dy,"hash",By("getHash","setHash"))),cd(Dy,"toJSON",(function(){return Ad(this).serialize()}),{enumerable:!0}),cd(Dy,"toString",(function(){return Ad(this).serialize()}),{enumerable:!0}),kd){var qy=kd.createObjectURL,My=kd.revokeObjectURL;qy&&cd(Fy,"createObjectURL",sd(qy,kd)),My&&cd(Fy,"revokeObjectURL",sd(My,kd))}bd(Fy,"URL"),nd({global:!0,constructor:!0,forced:!id,sham:!od},{URL:Fy});var Wy=_;Ro({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Wy(URL.prototype.toString,this)}});var Gy=sp,zy=ee,Hy=ut,$y=Ln,Vy=si,Ky=H([].push),Yy=function(e){var t=1===e,r=2===e,n=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(u,c,l,p){for(var f,h,d=Hy(u),y=zy(d),m=$y(y),g=Gy(c,l),v=0,b=p||Vy,w=t?b(u,m):r||a?b(u,0):void 0;m>v;v++)if((s||v in y)&&(h=g(f=y[v],v,d),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Ky(w,f)}else switch(e){case 4:return!1;case 7:Ky(w,f)}return i?-1:n||o?o:w}},Jy={forEach:Yy(0),map:Yy(1),filter:Yy(2),some:Yy(3),every:Yy(4),find:Yy(5),findIndex:Yy(6),filterReject:Yy(7)},Qy=Jy.map;Ro({target:"Array",proto:!0,forced:!pi("map")},{map:function(e){return Qy(this,e,arguments.length>1?arguments[1]:void 0)}});var Xy=function(e){var t=e.endpointName,r=e.guestSpaceId,n=e.preview,o=void 0!==r?"/guest/".concat(r):"",i=n?"/preview":"";return"/k".concat(o,"/v1").concat(i,"/").concat(t,".json")},Zy=function(){return u((function e(t,r){a(this,e),this.client=t,this.guestSpaceId=r}),[{key:"buildPathWithGuestSpaceId",value:function(e){return Xy(d(d({},e),{},{guestSpaceId:this.guestSpaceId}))}},{key:"buildPath",value:function(e){return Xy(e)}}])}(),em=["endpointName"],tm=function(e){function t(e,r){var n;return a(this,t),(n=i(this,t,[e,r])).REQUESTS_LENGTH_LIMIT=20,n}return p(t,e),u(t,[{key:"send",value:function(e){var t=this,r=e.requests.map((function(e){if("endpointName"in e){var r=e.endpointName,n=y(e,em);return d({api:t.buildPathWithGuestSpaceId({endpointName:r})},n)}return e})),n=this.buildPathWithGuestSpaceId({endpointName:"bulkRequest"});return this.client.post(n,{requests:r})}}])}(Zy),rm=["preview"],nm=["preview"],om=["preview"],im=["preview"],am=["preview"],sm=["preview"],um=["preview"],cm=["preview"],lm=["preview"],pm=["preview"],fm=["preview"],hm=["preview"],dm=["preview"],ym=["preview"],mm=["preview"],gm=["preview"],vm=function(e){function t(){return a(this,t),i(this,t,arguments)}return p(t,e),u(t,[{key:"getFormFields",value:function(e){var t=e.preview,r=y(e,rm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:t});return this.client.get(n,d({},r))}},{key:"addFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.post(t,e)}},{key:"updateFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.put(t,e)}},{key:"deleteFormFields",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/fields",preview:!0});return this.client.delete(t,e)}},{key:"getFormLayout",value:function(e){var t=e.preview,r=y(e,nm),n=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:t});return this.client.get(n,d({},r))}},{key:"updateFormLayout",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/form/layout",preview:!0});return this.client.put(t,e)}},{key:"getViews",value:function(e){var t=e.preview,r=y(e,om),n=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:t});return this.client.get(n,r)}},{key:"updateViews",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/views",preview:!0});return this.client.put(t,e)}},{key:"getApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"apps"});return this.client.get(t,e)}},{key:"addApp",value:(r=o(m().mark((function e(t){var r,n,o,i,a,s;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,n=t.space,o=this.buildPathWithGuestSpaceId({endpointName:"app",preview:!0}),!n){e.next=9;break}return i=this.buildPathWithGuestSpaceId({endpointName:"space"}),e.next=6,this.client.get(i,{id:n});case 6:return a=e.sent,s=a.defaultThread,e.abrupt("return",this.client.post(o,d(d({},t),{},{thread:s})));case 9:return e.abrupt("return",this.client.post(o,{name:r}));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getAppSettings",value:function(e){var t=e.preview,r=y(e,im),n=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:t});return this.client.get(n,r)}},{key:"updateAppSettings",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/settings",preview:!0});return this.client.put(t,e)}},{key:"getProcessManagement",value:function(e){var t=e.preview,r=y(e,am),n=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:t});return this.client.get(n,r)}},{key:"updateProcessManagement",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/status",preview:!0});return this.client.put(t,e)}},{key:"getDeployStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.get(t,e)}},{key:"deployApp",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/deploy",preview:!0});return this.client.post(t,e)}},{key:"getFieldAcl",value:function(e){var t=e.preview,r=y(e,sm),n=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateFieldAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"field/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppAcl",value:function(e){var t=e.preview,r=y(e,um),n=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/acl",preview:!0});return this.client.put(t,e)}},{key:"evaluateRecordsAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/acl/evaluate"});return this.client.get(t,e)}},{key:"getRecordAcl",value:function(e){var t=e.preview,r=y(e,cm),n=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:t});return this.client.get(n,d({},r))}},{key:"updateRecordAcl",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/acl",preview:!0});return this.client.put(t,e)}},{key:"getAppCustomize",value:function(e){var t=e.preview,r=y(e,lm),n=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:t});return this.client.get(n,d({},r))}},{key:"updateAppCustomize",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/customize",preview:!0});return this.client.put(t,e)}},{key:"getGeneralNotifications",value:function(e){var t=e.preview,r=y(e,pm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:t});return this.client.get(n,d({},r))}},{key:"updateGeneralNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/general",preview:!0});return this.client.put(t,e)}},{key:"getPerRecordNotifications",value:function(e){var t=e.preview,r=y(e,fm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:t});return this.client.get(n,r)}},{key:"updatePerRecordNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/perRecord",preview:!0});return this.client.put(t,e)}},{key:"getReminderNotifications",value:function(e){var t=e.preview,r=y(e,hm),n=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:t});return this.client.get(n,r)}},{key:"updateReminderNotifications",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/notifications/reminder",preview:!0});return this.client.put(t,e)}},{key:"getReports",value:function(e){var t=e.preview,r=y(e,dm),n=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:t});return this.client.get(n,r)}},{key:"updateReports",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/reports",preview:!0});return this.client.put(t,e)}},{key:"getAppActions",value:function(e){var t=e.preview,r=y(e,ym),n=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:t});return this.client.get(n,r)}},{key:"updateAppActions",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/actions",preview:!0});return this.client.put(t,e)}},{key:"getAdminNotes",value:function(e){var t=e.preview,r=y(e,mm),n=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:t});return this.client.get(n,r)}},{key:"updateAdminNotes",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/adminNotes",preview:!0});return this.client.put(t,e)}},{key:"move",value:function(e){var t=this.buildPath({endpointName:"app/move"});return this.client.post(t,e)}},{key:"getPlugins",value:function(e){var t=e.preview,r=y(e,gm),n=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:t});return this.client.get(n,r)}},{key:"addPlugins",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"app/plugins",preview:!0});return this.client.post(t,e)}}]);var r}(Zy),bm=O,wm=function(e,t){var r=[][e];return!!r&&bm((function(){r.call(null,t||function(){return 1},1)}))},xm=Jy.every;Ro({target:"Array",proto:!0,forced:!wm("every")},{every:function(e){return xm(this,e,arguments.length>1?arguments[1]:void 0)}});var Sm=Ro,Em=Mn.indexOf,Am=wm,Rm=np([].indexOf),Pm=!!Rm&&1/Rm([1],1,-0)<0;Sm({target:"Array",proto:!0,forced:Pm||!Am("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Pm?Rm(this,e,t)||0:Em(this,e,t)}}),Ro({target:"Array",stat:!0},{isArray:ko});var km=Me,Om=ut,jm=ee,Tm=Ln,Im=TypeError,Nm="Reduce of empty array with no initial value",_m=function(e){return function(t,r,n,o){var i=Om(t),a=jm(i),s=Tm(i);if(km(r),0===s&&n<2)throw new Im(Nm);var u=e?s-1:0,c=e?-1:1;if(n<2)for(;;){if(u in a){o=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw new Im(Nm)}for(;e?u>=0:s>u;u+=c)u in a&&(o=r(o,a[u],u,i));return o}},Cm={left:_m(!1),right:_m(!0)},Um=P,Lm=ve,Fm=Y,Dm=function(e){return Lm.slice(0,e.length)===e},Bm=Dm("Bun/")?"BUN":Dm("Cloudflare-Workers")?"CLOUDFLARE":Dm("Deno/")?"DENO":Dm("Node.js/")?"NODE":Um.Bun&&"string"==typeof Bun.version?"BUN":Um.Deno&&"object"==typeof Deno.version?"DENO":"process"===Fm(Um.process)?"NODE":Um.window&&Um.document?"BROWSER":"REST",qm=Cm.left;Ro({target:"Array",proto:!0,forced:!("NODE"===Bm)&&Re>79&&Re<83||!wm("reduce")},{reduce:function(e){var t=arguments.length;return qm(this,e,t,t>1?arguments[1]:void 0)}});var Mm=Ro,Wm=ko,Gm=ei,zm=pe,Hm=In,$m=Ln,Vm=se,Km=No,Ym=Rt,Jm=rf,Qm=pi("slice"),Xm=Ym("species"),Zm=Array,eg=Math.max;Mm({target:"Array",proto:!0,forced:!Qm},{slice:function(e,t){var r,n,o,i=Vm(this),a=$m(i),s=Hm(e,a),u=Hm(void 0===t?a:t,a);if(Wm(i)&&(r=i.constructor,(Gm(r)&&(r===Zm||Wm(r.prototype))||zm(r)&&null===(r=r[Xm]))&&(r=void 0),r===Zm||void 0===r))return Jm(i,s,u);for(n=new(void 0===r?Zm:r)(eg(u-s,0)),o=0;s<u;s++,o++)s in i&&Km(n,o,i[s]);return n.length=o,n}});var tg=P,rg=ce,ng=pe,og=Vi,ig=H(1..valueOf),ag=Ro,sg=j,ug=P,cg=tg,lg=H,pg=go,fg=pt,hg=function(e,t,r){var n,o;return og&&rg(n=t.constructor)&&n!==r&&ng(o=n.prototype)&&o!==r.prototype&&og(e,o),e},dg=ye,yg=Ue,mg=_t,gg=O,vg=En.f,bg=k.f,wg=Xt.f,xg=ig,Sg=lu.trim,Eg="Number",Ag=ug[Eg];cg[Eg];var Rg=Ag.prototype,Pg=ug.TypeError,kg=lg("".slice),Og=lg("".charCodeAt),jg=function(e){var t,r,n,o,i,a,s,u,c=mg(e,"number");if(yg(c))throw new Pg("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Sg(c),43===(t=Og(c,0))||45===t){if(88===(r=Og(c,2))||120===r)return NaN}else if(48===t){switch(Og(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=kg(c,2)).length,s=0;s<a;s++)if((u=Og(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},Tg=pg(Eg,!Ag(" 0o1")||!Ag("0b1")||Ag("+0x1")),Ig=function(e){var t,r=arguments.length<1?0:Ag(function(e){var t=mg(e,"number");return"bigint"==typeof t?t:jg(t)}(e));return dg(Rg,t=this)&&gg((function(){xg(t)}))?hg(Object(r),this,Ig):r};Ig.prototype=Rg,Tg&&(Rg.constructor=Ig),ag({global:!0,constructor:!0,wrap:!0,forced:Tg},{Number:Ig});Tg&&function(e,t){for(var r,n=sg?vg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)fg(t,r=n[o])&&!fg(e,r)&&wg(e,r,bg(t,r))}(cg[Eg],Ag);var Ng=Ep;Ro({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ng},{assign:Ng});var _g=_,Cg=nr,Ug=te,Lg=Cn,Fg=tu,Dg=oe,Bg=ze,qg=Jc,Mg=pl;Kc("match",(function(e,t,r){return[function(t){var r=Dg(this),n=Ug(t)?void 0:Bg(t,e);return n?_g(n,t,r):new RegExp(t)[e](Fg(r))},function(e){var n=Cg(this),o=Fg(e),i=r(t,n,o);if(i.done)return i.value;if(!n.global)return Mg(n,o);var a=n.unicode;n.lastIndex=0;for(var s,u=[],c=0;null!==(s=Mg(n,o));){var l=Fg(s[0]);u[c]=l,""===l&&(n.lastIndex=qg(o,Lg(n.lastIndex),a)),c++}return 0===c?null:u}]}));var Wg=function(e){function t(e){var r;return a(this,t),(r=i(this,t,[e])).name="KintoneAbortSearchError",r.message=e,Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t)}(x(Error)),Gg=Jy.forEach,zg=wm("forEach")?[].forEach:function(e){return Gg(this,e,arguments.length>1?arguments[1]:void 0)};Ro({target:"Array",proto:!0,forced:[].forEach!==zg},{forEach:zg});var Hg=ut,$g=na;Ro({target:"Object",stat:!0,forced:O((function(){$g(1)}))},{keys:function(e){return $g(Hg(e))}});var Vg=P,Kg=Fl,Yg=ql,Jg=zg,Qg=gr,Xg=function(e){if(e&&e.forEach!==Jg)try{Qg(e,"forEach",Jg)}catch(t){e.forEach=Jg}};for(var Zg in Kg)Kg[Zg]&&Xg(Vg[Zg]&&Vg[Zg].prototype);Xg(Yg);var ev=function(e){function t(e,r,n,o,s){var u;a(this,t);var c=n-r.length,l=t.extractErrorIndex(c,o,s),p=t.buildErrorMessage(c,n,l);return(u=i(this,t,[p])).name="KintoneAllRecordsError",u.processedRecordsResult=e,u.unprocessedRecords=r,u.error=o,u.errorIndex=l,u.message=p,u.numOfProcessedRecords=c,u.numOfAllRecords=n,Object.setPrototypeOf(u,t.prototype),u}return p(t,e),u(t,null,[{key:"parseErrorIndex",value:function(e){var t=[];return Object.keys(e).forEach((function(e){var r=e.match(/records\[(\d+)\]/);r&&t.push(Number(r[1]))})),t.length>0?Math.min.apply(Math,t):null}},{key:"extractErrorIndex",value:function(e,r,n){if(void 0!==r.bulkRequestIndex&&r.errors){var o=t.parseErrorIndex(r.errors);if(null!==o)return e+r.bulkRequestIndex*n+o}}},{key:"buildErrorMessage",value:function(e,t,r){var n="";return void 0!==r&&(n="An error occurred at records[".concat(r,"]. ")),n+="".concat(e,"/").concat(t," records are processed successfully")}}])}(x(Error)),tv=function(e){function t(e){var r;a(this,t);var n=t.buildErrorResponseDateWithIndex(e),o=n.data,s=n.bulkRequestIndex;return(r=i(this,t,[o.message])).name="KintoneRestAPIError",r.id=o.id,r.code=o.code,r.errors=o.errors,r.status=e.status,r.bulkRequestIndex=s,r.headers=e.headers,r.message="[".concat(e.status,"] [").concat(r.code,"] ").concat(r.message," (").concat(r.id,")"),Error.captureStackTrace&&Error.captureStackTrace(r,t),Object.setPrototypeOf(r,t.prototype),r}return p(t,e),u(t,null,[{key:"findErrorResponseDataWithIndex",value:function(e){for(var t=0;t<e.length;t++){if(0!==Object.keys(e[t]).length)return{data:e[t],bulkRequestIndex:t}}throw Error("Missing response data in `results`. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.")}},{key:"buildErrorResponseDateWithIndex",value:function(e){return"results"in e.data?t.findErrorResponseDataWithIndex(e.data.results):{data:e.data}}}])}(x(Error)),rv=["condition","orderBy","withCursor"],nv=["fields","condition"],ov=["condition","orderBy"],iv=500,av=function(e){function t(e,r,n){var o;return a(this,t),(o=i(this,t,[e,n])).bulkRequestClient=r,o.didWarnMaximumOffsetValue=!1,o}return p(t,e),u(t,[{key:"getRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.get(t,e)}},{key:"addRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.post(t,e)}},{key:"updateRecord",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record"});return this.client.put(t,e)}},{key:"upsertRecord",value:(P=o(m().mark((function e(t){var r,n,o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.app,n=t.updateKey,o=t.record,e.next=3,this.getRecords({app:r,query:"".concat(n.field,' = "').concat(n.value,'"')});case 3:if(i=e.sent,!((a=i.records).length>0)){e.next=13;break}if("__ID__"!==a[0].$id.type){e.next=12;break}return e.next=9,this.updateRecord(t);case 9:return s=e.sent,u=s.revision,e.abrupt("return",{id:a[0].$id.value,revision:u});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 e.abrupt("return",this.addRecord({app:r,record:Object.assign({},o,c({},n.field,{value:n.value}))}));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return P.apply(this,arguments)})},{key:"getRecords",value:(R=o(m().mark((function e(t){var r,n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.get(r,t);case 3:return n=e.sent,this.warnMaximumOffsetValueIfNeeded(t.query),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return R.apply(this,arguments)})},{key:"warnMaximumOffsetValueIfNeeded",value:function(e){if(e){var t=e.match(/offset\s+(\d+)/i);!this.didWarnMaximumOffsetValue&&t&&Number(t[1])>1e4&&(this.didWarnMaximumOffsetValue=!0,console.warn("Warning: The maximum offset value will be limited to 10,000 in the future. Please use `createCursor()` and `getRecordsByCursor()` instead."))}}},{key:"addRecords",value:(A=o(m().mark((function e(t){var r,n,o,i;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildPathWithGuestSpaceId({endpointName:"records"}),e.next=3,this.client.post(r,t);case 3:return n=e.sent,o=n.ids,i=n.revisions,e.abrupt("return",{ids:o,revisions:i,records:o.map((function(e,t){return{id:e,revision:i[t]}}))});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"updateRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.put(t,e)}},{key:"deleteRecords",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records"});return this.client.delete(t,e)}},{key:"createCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.post(t,e)}},{key:"getRecordsByCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.get(t,e)}},{key:"deleteCursor",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/cursor"});return this.client.delete(t,e)}},{key:"getAllRecords",value:(E=o(m().mark((function e(t){var r,n,o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.condition,n=t.orderBy,o=t.withCursor,i=void 0===o||o,a=y(t,rv),n){e.next=3;break}return e.abrupt("return",this.getAllRecordsWithId(d(d({},a),{},{condition:r})));case 3:if(!i){e.next=7;break}return s=r?"".concat(r," "):"",u="".concat(s).concat(n?"order by ".concat(n):""),e.abrupt("return",this.getAllRecordsWithCursor(d(d({},a),{},{query:u})));case 7:return e.abrupt("return",this.getAllRecordsWithOffset(d(d({},a),{},{orderBy:n,condition:r})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return E.apply(this,arguments)})},{key:"getAllRecordsWithId",value:(S=o(m().mark((function e(t){var r,n,o,i,a,s,u,c,l,p;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.fields,n=t.condition,o=y(t,nv),(i=r)&&i.length>0&&-1===i.indexOf("$id")&&(i=[].concat(v(i),["$id"])),a=n?"(".concat(n,") and "):"",s=[],u="0";case 6:return c="".concat(a,"$id > ").concat(u," order by $id asc limit ").concat(iv),e.next=10,this.getRecords(d(d({},o),{},{fields:i,query:c}));case 10:if(l=e.sent,s=s.concat(l.records),!(l.records.length<iv)){e.next=14;break}return e.abrupt("break",22);case 14:if("__ID__"!==(p=l.records[l.records.length-1]).$id.type){e.next=19;break}u=p.$id.value,e.next=20;break;case 19:throw new Error("Missing `$id` in `getRecords` response. This error is likely caused by a bug in Kintone REST API Client. Please file an issue.");case 20:e.next=6;break;case 22:return e.abrupt("return",s);case 23:case"end":return e.stop()}}),e,this)}))),function(e){return S.apply(this,arguments)})},{key:"getAllRecordsWithOffset",value:(x=o(m().mark((function e(t){var r,n,o,i,a,s,u,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.condition,n=t.orderBy,o=y(t,ov),i=r?"".concat(r," "):"",a=[],s=0;case 4:return u="".concat(i).concat(n?"order by ".concat(n," "):"","limit ").concat(iv," offset ").concat(s),e.next=8,this.getRecords(d(d({},o),{},{query:u}));case 8:if(c=e.sent,a=a.concat(c.records),!(c.records.length<iv)){e.next=12;break}return e.abrupt("break",15);case 12:s+=iv,e.next=4;break;case 15:return e.abrupt("return",a);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return x.apply(this,arguments)})},{key:"getAllRecordsWithCursor",value:(w=o(m().mark((function e(t){var r,n,o,i;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCursor(t);case 2:r=e.sent,n=r.id,e.prev=4,o=[];case 6:return e.next=9,this.getRecordsByCursor({id:n});case 9:if(i=e.sent,o=o.concat(i.records),i.next){e.next=13;break}return e.abrupt("break",15);case 13:e.next=6;break;case 15:return e.abrupt("return",o);case 18:return e.prev=18,e.t0=e.catch(4),e.next=22,this.deleteCursor({id:n});case 22:throw e.t0;case 23:case"end":return e.stop()}}),e,this,[[4,18]])}))),function(e){return w.apply(this,arguments)})},{key:"addAllRecords",value:(b=o(m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.records.every((function(e){return!Array.isArray(e)&&e instanceof Object}))){e.next=2;break}throw new Error("the `records` parameter must be an array of object.");case 2:return e.abrupt("return",this.addAllRecordsRecursive(t,t.records.length,[]));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return b.apply(this,arguments)})},{key:"addAllRecordsRecursive",value:(g=o(m().mark((function e(t,r,n){var o,i,a,s,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.records,0!==(s=a.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.addAllRecordsWithBulkRequest({app:i,records:s});case 8:u=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new ev({records:n},a,r,e.t0,100);case 14:return e.abrupt("return",this.addAllRecordsRecursive({app:i,records:a.slice(o)},r,n.concat(u)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return g.apply(this,arguments)})},{key:"addAllRecordsWithBulkRequest",value:(h=o(m().mark((function e(t){var r,n,o;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"POST",endpointName:"records",payload:{app:t.app,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){var t=e.ids,r=e.revisions;return t.map((function(e,t){return{id:e,revision:r[t]}}))})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"updateAllRecords",value:(f=o(m().mark((function e(t){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.updateAllRecordsRecursive(t,t.records.length,[]));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)})},{key:"updateAllRecordsRecursive",value:(l=o(m().mark((function e(t,r,n){var o,i,a,s,u,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,i=t.app,a=t.upsert,s=t.records,0!==(u=s.slice(0,o)).length){e.next=5;break}return e.abrupt("return",{records:n});case 5:return e.prev=5,e.next=8,this.updateAllRecordsWithBulkRequest({app:i,upsert:a,records:u});case 8:c=e.sent,e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(5),new ev({records:n},s,r,e.t0,100);case 14:return e.abrupt("return",this.updateAllRecordsRecursive({app:i,upsert:a,records:s.slice(o)},r,n.concat(c)));case 15:case"end":return e.stop()}}),e,this,[[5,11]])}))),function(e,t,r){return l.apply(this,arguments)})},{key:"updateAllRecordsWithBulkRequest",value:(s=o(m().mark((function e(t){var r,n,o;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"PUT",endpointName:"records",payload:{app:t.app,upsert:t.upsert,records:e}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:return o=e.sent.results,e.abrupt("return",o.map((function(e){return e.records})).reduce((function(e,t){return e.concat(t)}),[]));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"deleteAllRecords",value:function(e){return this.deleteAllRecordsRecursive(e,e.records.length)}},{key:"deleteAllRecordsRecursive",value:(n=o(m().mark((function e(t,r){var n,o,i,a;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=100*this.bulkRequestClient.REQUESTS_LENGTH_LIMIT,o=t.app,i=t.records,0!==(a=i.slice(0,n)).length){e.next=5;break}return e.abrupt("return",{});case 5:return e.prev=5,e.next=8,this.deleteAllRecordsWithBulkRequest({app:o,records:a});case 8:e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(5),new ev({},i,r,e.t0,100);case 13:return e.abrupt("return",this.deleteAllRecordsRecursive({app:o,records:i.slice(n)},r));case 14:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e,t){return n.apply(this,arguments)})},{key:"deleteAllRecordsWithBulkRequest",value:(r=o(m().mark((function e(t){var r,n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.separateArrayRecursive(100,[],t.records),n=r.map((function(e){return{method:"DELETE",endpointName:"records",payload:{app:t.app,ids:e.map((function(e){return e.id})),revisions:e.map((function(e){return e.revision}))}}})),e.next=4,this.bulkRequestClient.send({requests:n});case 4:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"separateArrayRecursive",value:function(e,t,r){var n=r.slice(0,e);return 0===n.length?t:this.separateArrayRecursive(e,[].concat(v(t),[n]),r.slice(e))}},{key:"addRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.post(t,e)}},{key:"deleteRecordComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comment"});return this.client.delete(t,e)}},{key:"getRecordComments",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/comments"});return this.client.get(t,e)}},{key:"updateRecordAssignees",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/assignees"});return this.client.put(t,e)}},{key:"updateRecordStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"record/status"});return this.client.put(t,e)}},{key:"updateRecordsStatus",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"records/status"});return this.client.put(t,e)}}]);var r,n,s,l,f,h,g,b,w,x,S,E,A,R,P}(Zy),sv=function(e){function t(){return a(this,t),i(this,t,arguments)}return p(t,e),u(t,[{key:"getSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.get(t,e)}},{key:"updateSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.put(t,e)}},{key:"deleteSpace",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space"});return this.client.delete(t,e)}},{key:"updateSpaceBody",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/body"});return this.client.put(t,e)}},{key:"getSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.get(t,e)}},{key:"updateSpaceMembers",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/members"});return this.client.put(t,e)}},{key:"addThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.post(t,e)}},{key:"updateThread",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread"});return this.client.put(t,e)}},{key:"addThreadComment",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/thread/comment"});return this.client.post(t,e)}},{key:"addGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.post(t,e)}},{key:"deleteGuests",value:function(e){var t=this.buildPath({endpointName:"guests"});return this.client.delete(t,e)}},{key:"updateSpaceGuests",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"space/guests"});return this.client.put(t,e)}},{key:"addSpaceFromTemplate",value:function(e){var t=this.buildPath({endpointName:"template/space"});return this.client.post(t,e)}}])}(Zy),uv=E("object"==typeof self?self.FormData:window.FormData),cv=function(e){function r(){return a(this,r),i(this,r,arguments)}return p(r,e),u(r,[{key:"uploadFile",value:(n=o(m().mark((function e(r){var n,o,i,a,s,u,c,l,p;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.buildPathWithGuestSpaceId({endpointName:"file"}),o=new uv,!("path"in r.file)){e.next=19;break}return e.prev=3,e.next=6,t.readFileFromPath(r.file.path);case 6:i=e.sent,a=i.name,s=i.data,o.append("file",s,a),e.next=17;break;case 12:if(e.prev=12,e.t0=e.catch(3),!(e.t0 instanceof Ki)){e.next=16;break}throw new Error("uploadFile doesn't allow to accept a file path in ".concat(e.t0.platform," environment."));case 16:throw e.t0;case 17:e.next=22;break;case 19:u=r.file,c=u.name,l=u.data,p=t.buildFormDataValue(l,c),o.append("file",p,c);case 22:return e.abrupt("return",this.client.postData(n,o));case 23:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return n.apply(this,arguments)})},{key:"downloadFile",value:function(e){var t=this.buildPathWithGuestSpaceId({endpointName:"file"});return this.client.getData(t,e)}}]);var n}(Zy),lv=function(e){function t(){return a(this,t),i(this,t,arguments)}return p(t,e),u(t,[{key:"getPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins"});return this.client.get(t,e)}},{key:"getRequiredPlugins",value:function(e){var t=this.buildPath({endpointName:"plugins/required"});return this.client.get(t,e)}},{key:"getApps",value:function(e){var t=this.buildPath({endpointName:"plugin/apps"});return this.client.get(t,e)}},{key:"updatePlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.put(t,e)}},{key:"installPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.post(t,e)}},{key:"uninstallPlugin",value:function(e){var t=this.buildPath({endpointName:"plugin"});return this.client.delete(t,e)}}])}(Zy),pv="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function fv(){throw new Error("setTimeout has not been defined")}function hv(){throw new Error("clearTimeout has not been defined")}var dv=fv,yv=hv;function mv(e){if(dv===setTimeout)return setTimeout(e,0);if((dv===fv||!dv)&&setTimeout)return dv=setTimeout,setTimeout(e,0);try{return dv(e,0)}catch(t){try{return dv.call(null,e,0)}catch(t){return dv.call(this,e,0)}}}"function"==typeof pv.setTimeout&&(dv=setTimeout),"function"==typeof pv.clearTimeout&&(yv=clearTimeout);var gv,vv=[],bv=!1,wv=-1;function xv(){bv&&gv&&(bv=!1,gv.length?vv=gv.concat(vv):wv=-1,vv.length&&Sv())}function Sv(){if(!bv){var e=mv(xv);bv=!0;for(var t=vv.length;t;){for(gv=vv,vv=[];++wv<t;)gv&&gv[wv].run();wv=-1,t=vv.length}gv=null,bv=!1,function(e){if(yv===clearTimeout)return clearTimeout(e);if((yv===hv||!yv)&&clearTimeout)return yv=clearTimeout,clearTimeout(e);try{return yv(e)}catch(t){try{return yv.call(null,e)}catch(t){return yv.call(this,e)}}}(e)}}function Ev(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];vv.push(new Av(e,t)),1!==vv.length||bv||mv(Sv)}function Av(e,t){this.fun=e,this.array=t}Av.prototype.run=function(){this.fun.apply(null,this.array)};function Rv(){}var Pv=Rv,kv=Rv,Ov=Rv,jv=Rv,Tv=Rv,Iv=Rv,Nv=Rv;var _v=pv.performance||{},Cv=_v.now||_v.mozNow||_v.msNow||_v.oNow||_v.webkitNow||function(){return(new Date).getTime()};var Uv=new Date;var Lv={nextTick:Ev,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Pv,addListener:kv,once:Ov,off:jv,removeListener:Tv,removeAllListeners:Iv,emit:Nv,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Cv.call(_v),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Uv)/1e3}};function Fv(e,t){return function(){return e.apply(t,arguments)}}const{toString:Dv}=Object.prototype,{getPrototypeOf:Bv}=Object,qv=(Mv=Object.create(null),e=>{const t=Dv.call(e);return Mv[t]||(Mv[t]=t.slice(8,-1).toLowerCase())});var Mv;const Wv=e=>(e=e.toLowerCase(),t=>qv(t)===e),Gv=e=>t=>typeof t===e,{isArray:zv}=Array,Hv=Gv("undefined");const $v=Wv("ArrayBuffer");const Vv=Gv("string"),Kv=Gv("function"),Yv=Gv("number"),Jv=e=>null!==e&&"object"==typeof e,Qv=e=>{if("object"!==qv(e))return!1;const t=Bv(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Xv=Wv("Date"),Zv=Wv("File"),eb=Wv("Blob"),tb=Wv("FileList"),rb=Wv("URLSearchParams"),[nb,ob,ib,ab]=["ReadableStream","Request","Response","Headers"].map(Wv);function sb(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),zv(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let a;for(r=0;r<i;r++)a=n[r],t.call(null,e[a],a,e)}}function ub(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const cb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:pv,lb=e=>!Hv(e)&&e!==cb;const pb=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Bv(Uint8Array)),fb=Wv("HTMLFormElement"),hb=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),db=Wv("RegExp"),yb=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};sb(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},mb="abcdefghijklmnopqrstuvwxyz",gb="0123456789",vb={DIGIT:gb,ALPHA:mb,ALPHA_DIGIT:mb+mb.toUpperCase()+gb};const bb=Wv("AsyncFunction"),wb=(xb="function"==typeof setImmediate,Sb=Kv(cb.postMessage),xb?setImmediate:Sb?(Eb=`axios@${Math.random()}`,Ab=[],cb.addEventListener("message",(e=>{let{source:t,data:r}=e;t===cb&&r===Eb&&Ab.length&&Ab.shift()()}),!1),e=>{Ab.push(e),cb.postMessage(Eb,"*")}):e=>setTimeout(e));var xb,Sb,Eb,Ab;const Rb="undefined"!=typeof queueMicrotask?queueMicrotask.bind(cb):void 0!==Lv&&Ev||wb;var Pb={isArray:zv,isArrayBuffer:$v,isBuffer:function(e){return null!==e&&!Hv(e)&&null!==e.constructor&&!Hv(e.constructor)&&Kv(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Kv(e.append)&&("formdata"===(t=qv(e))||"object"===t&&Kv(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&$v(e.buffer),t},isString:Vv,isNumber:Yv,isBoolean:e=>!0===e||!1===e,isObject:Jv,isPlainObject:Qv,isReadableStream:nb,isRequest:ob,isResponse:ib,isHeaders:ab,isUndefined:Hv,isDate:Xv,isFile:Zv,isBlob:eb,isRegExp:db,isFunction:Kv,isStream:e=>Jv(e)&&Kv(e.pipe),isURLSearchParams:rb,isTypedArray:pb,isFileList:tb,forEach:sb,merge:function e(){const{caseless:t}=lb(this)&&this||{},r={},n=(n,o)=>{const i=t&&ub(r,o)||o;Qv(r[i])&&Qv(n)?r[i]=e(r[i],n):Qv(n)?r[i]=e({},n):zv(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&sb(arguments[e],n);return r},extend:function(e,t,r){let{allOwnKeys:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return sb(t,((t,n)=>{r&&Kv(t)?e[n]=Fv(t,r):e[n]=t}),{allOwnKeys:n}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Bv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:qv,kindOfTest:Wv,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(zv(e))return e;let t=e.length;if(!Yv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:fb,hasOwnProperty:hb,hasOwnProp:hb,reduceDescriptors:yb,freezeMethods:e=>{yb(e,((t,r)=>{if(Kv(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Kv(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return zv(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ub,global:cb,isContextDefined:lb,ALPHABET:vb,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vb.ALPHA_DIGIT,r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&Kv(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Jv(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=zv(e)?[]:{};return sb(e,((e,t)=>{const i=r(e,n+1);!Hv(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:bb,isThenable:e=>e&&(Jv(e)||Kv(e))&&Kv(e.then)&&Kv(e.catch),setImmediate:wb,asap:Rb},kb=[],Ob=[],jb="undefined"!=typeof Uint8Array?Uint8Array:Array,Tb=!1;function Ib(){Tb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)kb[t]=e[t],Ob[e.charCodeAt(t)]=t;Ob["-".charCodeAt(0)]=62,Ob["_".charCodeAt(0)]=63}function Nb(e,t,r){for(var n,o,i=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(kb[(o=n)>>18&63]+kb[o>>12&63]+kb[o>>6&63]+kb[63&o]);return i.join("")}function _b(e){var t;Tb||Ib();for(var r=e.length,n=r%3,o="",i=[],a=16383,s=0,u=r-n;s<u;s+=a)i.push(Nb(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],o+=kb[t>>2],o+=kb[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=kb[t>>10],o+=kb[t>>4&63],o+=kb[t<<2&63],o+="="),i.push(o),i.join("")}function Cb(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?o-1:0,f=r?-1:1,h=e[t+p];for(p+=f,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)}function Ub(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*y}var Lb={}.toString,Fb=Array.isArray||function(e){return"[object Array]"==Lb.call(e)};function Db(){return qb.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Bb(e,t){if(Db()<t)throw new RangeError("Invalid typed array length");return qb.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=qb.prototype:(null===e&&(e=new qb(t)),e.length=t),e}function qb(e,t,r){if(!(qb.TYPED_ARRAY_SUPPORT||this instanceof qb))return new qb(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Gb(this,e)}return Mb(this,e,t,r)}function Mb(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);qb.TYPED_ARRAY_SUPPORT?(e=t).__proto__=qb.prototype:e=zb(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!qb.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Vb(t,r);e=Bb(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if($b(t)){var r=0|Hb(t.length);return 0===(e=Bb(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?Bb(e,0):zb(e,t);if("Buffer"===t.type&&Fb(t.data))return zb(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Wb(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Gb(e,t){if(Wb(t),e=Bb(e,t<0?0:0|Hb(t)),!qb.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function zb(e,t){var r=t.length<0?0:0|Hb(t.length);e=Bb(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Hb(e){if(e>=Db())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Db().toString(16)+" bytes");return 0|e}function $b(e){return!(null==e||!e._isBuffer)}function Vb(e,t){if($b(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return ww(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return xw(e).length;default:if(n)return ww(e).length;t=(""+t).toLowerCase(),n=!0}}function Kb(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return cw(this,t,r);case"utf8":case"utf-8":return iw(this,t,r);case"ascii":return sw(this,t,r);case"latin1":case"binary":return uw(this,t,r);case"base64":return ow(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lw(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Yb(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Jb(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=qb.from(t,n)),$b(t))return 0===t.length?-1:Qb(e,t,r,n,o);if("number"==typeof t)return t&=255,qb.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qb(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Qb(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var p=!0,f=0;f<u;f++)if(c(e,i+f)!==c(t,f)){p=!1;break}if(p)return i}return-1}function Xb(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function Zb(e,t,r,n){return Sw(ww(t,e.length-r),e,r,n)}function ew(e,t,r,n){return Sw(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function tw(e,t,r,n){return ew(e,t,r,n)}function rw(e,t,r,n){return Sw(xw(t),e,r,n)}function nw(e,t,r,n){return Sw(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function ow(e,t,r){return 0===t&&r===e.length?_b(e):_b(e.slice(t,r))}function iw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(e){var t=e.length;if(t<=aw)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=aw));return r}(n)}qb.TYPED_ARRAY_SUPPORT=void 0===pv.TYPED_ARRAY_SUPPORT||pv.TYPED_ARRAY_SUPPORT,Db(),qb.poolSize=8192,qb._augment=function(e){return e.__proto__=qb.prototype,e},qb.from=function(e,t,r){return Mb(null,e,t,r)},qb.TYPED_ARRAY_SUPPORT&&(qb.prototype.__proto__=Uint8Array.prototype,qb.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&qb[Symbol.species]),qb.alloc=function(e,t,r){return function(e,t,r,n){return Wb(t),t<=0?Bb(e,t):void 0!==r?"string"==typeof n?Bb(e,t).fill(r,n):Bb(e,t).fill(r):Bb(e,t)}(null,e,t,r)},qb.allocUnsafe=function(e){return Gb(null,e)},qb.allocUnsafeSlow=function(e){return Gb(null,e)},qb.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Ew(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ew(e.slice(0,0))}(e))},qb.compare=function(e,t){if(!$b(e)||!$b(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},qb.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},qb.concat=function(e,t){if(!Fb(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return qb.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=qb.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!$b(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},qb.byteLength=Vb,qb.prototype._isBuffer=!0,qb.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Yb(this,t,t+1);return this},qb.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Yb(this,t,t+3),Yb(this,t+1,t+2);return this},qb.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Yb(this,t,t+7),Yb(this,t+1,t+6),Yb(this,t+2,t+5),Yb(this,t+3,t+4);return this},qb.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?iw(this,0,e):Kb.apply(this,arguments)},qb.prototype.equals=function(e){if(!$b(e))throw new TypeError("Argument must be a Buffer");return this===e||0===qb.compare(this,e)},qb.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},qb.prototype.compare=function(e,t,r,n,o){if(!$b(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},qb.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},qb.prototype.indexOf=function(e,t,r){return Jb(this,e,t,r,!0)},qb.prototype.lastIndexOf=function(e,t,r){return Jb(this,e,t,r,!1)},qb.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Xb(this,e,t,r);case"utf8":case"utf-8":return Zb(this,e,t,r);case"ascii":return ew(this,e,t,r);case"latin1":case"binary":return tw(this,e,t,r);case"base64":return rw(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nw(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},qb.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aw=4096;function sw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function uw(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function cw(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=bw(e[i]);return o}function lw(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function pw(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function fw(e,t,r,n,o,i){if(!$b(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function hw(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function dw(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function yw(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function mw(e,t,r,n,o){return o||yw(e,0,r,4),Ub(e,t,r,n,23,4),r+4}function gw(e,t,r,n,o){return o||yw(e,0,r,8),Ub(e,t,r,n,52,8),r+8}qb.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),qb.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=qb.prototype;else{var o=t-e;r=new qb(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},qb.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},qb.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||pw(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},qb.prototype.readUInt8=function(e,t){return t||pw(e,1,this.length),this[e]},qb.prototype.readUInt16LE=function(e,t){return t||pw(e,2,this.length),this[e]|this[e+1]<<8},qb.prototype.readUInt16BE=function(e,t){return t||pw(e,2,this.length),this[e]<<8|this[e+1]},qb.prototype.readUInt32LE=function(e,t){return t||pw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qb.prototype.readUInt32BE=function(e,t){return t||pw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qb.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||pw(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},qb.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||pw(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},qb.prototype.readInt8=function(e,t){return t||pw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qb.prototype.readInt16LE=function(e,t){t||pw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},qb.prototype.readInt16BE=function(e,t){t||pw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},qb.prototype.readInt32LE=function(e,t){return t||pw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qb.prototype.readInt32BE=function(e,t){return t||pw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qb.prototype.readFloatLE=function(e,t){return t||pw(e,4,this.length),Cb(this,e,!0,23,4)},qb.prototype.readFloatBE=function(e,t){return t||pw(e,4,this.length),Cb(this,e,!1,23,4)},qb.prototype.readDoubleLE=function(e,t){return t||pw(e,8,this.length),Cb(this,e,!0,52,8)},qb.prototype.readDoubleBE=function(e,t){return t||pw(e,8,this.length),Cb(this,e,!1,52,8)},qb.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||fw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},qb.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||fw(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},qb.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,1,255,0),qb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qb.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,2,65535,0),qb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},qb.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,2,65535,0),qb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},qb.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,4,4294967295,0),qb.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):dw(this,e,t,!0),t+4},qb.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,4,4294967295,0),qb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},qb.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);fw(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},qb.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);fw(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},qb.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,1,127,-128),qb.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},qb.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,2,32767,-32768),qb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hw(this,e,t,!0),t+2},qb.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,2,32767,-32768),qb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hw(this,e,t,!1),t+2},qb.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,4,2147483647,-2147483648),qb.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):dw(this,e,t,!0),t+4},qb.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||fw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),qb.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):dw(this,e,t,!1),t+4},qb.prototype.writeFloatLE=function(e,t,r){return mw(this,e,t,!0,r)},qb.prototype.writeFloatBE=function(e,t,r){return mw(this,e,t,!1,r)},qb.prototype.writeDoubleLE=function(e,t,r){return gw(this,e,t,!0,r)},qb.prototype.writeDoubleBE=function(e,t,r){return gw(this,e,t,!1,r)},qb.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!qb.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},qb.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!qb.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=$b(e)?e:ww(new qb(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var vw=/[^+\/0-9A-Za-z-_]/g;function bw(e){return e<16?"0"+e.toString(16):e.toString(16)}function ww(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function xw(e){return function(e){var t,r,n,o,i,a;Tb||Ib();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,a=new jb(3*s/4-i),n=i>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)o=Ob[e.charCodeAt(t)]<<18|Ob[e.charCodeAt(t+1)]<<12|Ob[e.charCodeAt(t+2)]<<6|Ob[e.charCodeAt(t+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=Ob[e.charCodeAt(t)]<<2|Ob[e.charCodeAt(t+1)]>>4,a[u++]=255&o):1===i&&(o=Ob[e.charCodeAt(t)]<<10|Ob[e.charCodeAt(t+1)]<<4|Ob[e.charCodeAt(t+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(vw,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Sw(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Ew(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Aw(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Pb.inherits(Aw,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:Pb.toJSONObject(this.config),code:this.code,status:this.status}}});const Rw=Aw.prototype,Pw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Pw[e]={value:e}})),Object.defineProperties(Aw,Pw),Object.defineProperty(Rw,"isAxiosError",{value:!0}),Aw.from=(e,t,r,n,o,i)=>{const a=Object.create(Rw);return Pb.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Aw.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function kw(e){return Pb.isPlainObject(e)||Pb.isArray(e)}function Ow(e){return Pb.endsWith(e,"[]")?e.slice(0,-2):e}function jw(e,t,r){return e?e.concat(t).map((function(e,t){return e=Ow(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const Tw=Pb.toFlatObject(Pb,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Iw(e,t,r){if(!Pb.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Pb.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Pb.isUndefined(t[e])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Pb.isSpecCompliantForm(t);if(!Pb.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Pb.isDate(e))return e.toISOString();if(!s&&Pb.isBlob(e))throw new Aw("Blob is not supported. Use a Buffer instead.");return Pb.isArrayBuffer(e)||Pb.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):qb.from(e):e}function c(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(Pb.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Pb.isArray(e)&&function(e){return Pb.isArray(e)&&!e.some(kw)}(e)||(Pb.isFileList(e)||Pb.endsWith(r,"[]"))&&(s=Pb.toArray(e)))return r=Ow(r),s.forEach((function(e,n){!Pb.isUndefined(e)&&null!==e&&t.append(!0===a?jw([r],n,i):null===a?r:r+"[]",u(e))})),!1;return!!kw(e)||(t.append(jw(o,r,i),u(e)),!1)}const l=[],p=Object.assign(Tw,{defaultVisitor:c,convertValue:u,isVisitable:kw});if(!Pb.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Pb.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Pb.forEach(r,(function(r,i){!0===(!(Pb.isUndefined(r)||null===r)&&o.call(t,r,Pb.isString(i)?i.trim():i,n,p))&&e(r,n?n.concat(i):[i])})),l.pop()}}(e),t}function Nw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function _w(e,t){this._pairs=[],e&&Iw(e,this,t)}const Cw=_w.prototype;function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lw(e,t,r){if(!t)return e;const n=r&&r.encode||Uw;Pb.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):Pb.isURLSearchParams(t)?t.toString():new _w(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Cw.append=function(e,t){this._pairs.push([e,t])},Cw.toString=function(e){const t=e?function(t){return e.call(this,t,Nw)}:Nw;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class Fw{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Pb.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var Dw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bw={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_w,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const qw="undefined"!=typeof window&&"undefined"!=typeof document,Mw="object"==typeof navigator&&navigator||void 0,Ww=qw&&(!Mw||["ReactNative","NativeScript","NS"].indexOf(Mw.product)<0),Gw="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,zw=qw&&window.location.href||"http://localhost";var Hw={...Object.freeze({__proto__:null,hasBrowserEnv:qw,hasStandardBrowserEnv:Ww,hasStandardBrowserWebWorkerEnv:Gw,navigator:Mw,origin:zw}),...Bw};function $w(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Pb.isArray(n)?n.length:i,s)return Pb.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Pb.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&Pb.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(Pb.isFormData(e)&&Pb.isFunction(e.entries)){const r={};return Pb.forEachEntry(e,((e,n)=>{t(function(e){return Pb.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Vw={transitional:Dw,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Pb.isObject(e);o&&Pb.isHTMLForm(e)&&(e=new FormData(e));if(Pb.isFormData(e))return n?JSON.stringify($w(e)):e;if(Pb.isArrayBuffer(e)||Pb.isBuffer(e)||Pb.isStream(e)||Pb.isFile(e)||Pb.isBlob(e)||Pb.isReadableStream(e))return e;if(Pb.isArrayBufferView(e))return e.buffer;if(Pb.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Iw(e,new Hw.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Hw.isNode&&Pb.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Pb.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Iw(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Pb.isString(e))try{return(t||JSON.parse)(e),Pb.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Vw.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Pb.isResponse(e)||Pb.isReadableStream(e))return e;if(e&&Pb.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw Aw.from(e,Aw.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Hw.classes.FormData,Blob:Hw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Pb.forEach(["delete","get","head","post","put","patch"],(e=>{Vw.headers[e]={}}));const Kw=Pb.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Yw=Symbol("internals");function Jw(e){return e&&String(e).trim().toLowerCase()}function Qw(e){return!1===e||null==e?e:Pb.isArray(e)?e.map(Qw):String(e)}function Xw(e,t,r,n,o){return Pb.isFunction(n)?n.call(this,t,r):(o&&(t=r),Pb.isString(t)?Pb.isString(n)?-1!==t.indexOf(n):Pb.isRegExp(n)?n.test(t):void 0:void 0)}class Zw{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Jw(t);if(!o)throw new Error("header name must be a non-empty string");const i=Pb.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Qw(e))}const i=(e,t)=>Pb.forEach(e,((e,r)=>o(e,r,t)));if(Pb.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Pb.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Kw[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(Pb.isHeaders(e))for(const[t,n]of e.entries())o(n,t,r);else null!=e&&o(t,e,r);return this}get(e,t){if(e=Jw(e)){const r=Pb.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Pb.isFunction(t))return t.call(this,e,r);if(Pb.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jw(e)){const r=Pb.findKey(this,e);return!(!r||void 0===this[r]||t&&!Xw(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Jw(e)){const o=Pb.findKey(r,e);!o||t&&!Xw(0,r[o],o,t)||(delete r[o],n=!0)}}return Pb.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!Xw(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Pb.forEach(this,((n,o)=>{const i=Pb.findKey(r,o);if(i)return t[i]=Qw(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Qw(n),r[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return Pb.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Pb.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,r]=e;return t+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Yw]=this[Yw]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Jw(e);t[n]||(!function(e,t){const r=Pb.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return Pb.isArray(e)?e.forEach(n):n(e),this}}function ex(e,t){const r=this||Vw,n=t||r,o=Zw.from(n.headers);let i=n.data;return Pb.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function tx(e){return!(!e||!e.__CANCEL__)}function rx(e,t,r){Aw.call(this,null==e?"canceled":e,Aw.ERR_CANCELED,t,r),this.name="CanceledError"}function nx(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Aw("Request failed with status code "+r.status,[Aw.ERR_BAD_REQUEST,Aw.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Zw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Pb.reduceDescriptors(Zw.prototype,((e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}})),Pb.freezeMethods(Zw),Pb.inherits(rx,Aw,{__CANCEL__:!0});const ox=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,p=0;for(;l!==i;)p+=r[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const f=c&&u-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];t>=i?a(u,e):(r=u,n||(n=setTimeout((()=>{n=null,a(r)}),i-t)))},()=>r&&a(r)]}((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,u=o(s);n=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),r)},ix=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ax=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Pb.asap((()=>e(...r)))};var sx=Hw.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Hw.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Hw.origin),Hw.navigator&&/(msie|trident)/i.test(Hw.navigator.userAgent)):()=>!0,ux=Hw.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];Pb.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Pb.isString(n)&&a.push("path="+n),Pb.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function cx(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const lx=e=>e instanceof Zw?{...e}:e;function px(e,t){t=t||{};const r={};function n(e,t,r,n){return Pb.isPlainObject(e)&&Pb.isPlainObject(t)?Pb.merge.call({caseless:n},e,t):Pb.isPlainObject(t)?Pb.merge({},t):Pb.isArray(t)?t.slice():t}function o(e,t,r,o){return Pb.isUndefined(t)?Pb.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Pb.isUndefined(t))return n(void 0,t)}function a(e,t){return Pb.isUndefined(t)?Pb.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(lx(e),lx(t),0,!0)};return Pb.forEach(Object.keys(Object.assign({},e,t)),(function(n){const i=u[n]||o,a=i(e[n],t[n],n);Pb.isUndefined(a)&&i!==s||(r[n]=a)})),r}var fx=e=>{const t=px({},e);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=t;if(t.headers=s=Zw.from(s),t.url=Lw(cx(t.baseURL,t.url),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Pb.isFormData(n))if(Hw.hasStandardBrowserEnv||Hw.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Hw.hasStandardBrowserEnv&&(o&&Pb.isFunction(o)&&(o=o(t)),o||!1!==o&&sx(t.url))){const e=i&&a&&ux.read(a);e&&s.set(i,e)}return t};var hx="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=fx(e);let o=n.data;const i=Zw.from(n.headers).normalize();let a,s,u,c,l,{responseType:p,onUploadProgress:f,onDownloadProgress:h}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function m(){if(!y)return;const n=Zw.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());nx((function(e){t(e),d()}),(function(e){r(e),d()}),{data:p&&"text"!==p&&"json"!==p?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Aw("Request aborted",Aw.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Aw("Network Error",Aw.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Dw;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Aw(t,o.clarifyTimeoutError?Aw.ETIMEDOUT:Aw.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&Pb.forEach(i.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Pb.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),p&&"json"!==p&&(y.responseType=n.responseType),h&&([u,l]=ox(h,!0),y.addEventListener("progress",u)),f&&y.upload&&([s,c]=ox(f),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=t=>{y&&(r(!t||t.type?new rx(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===Hw.protocols.indexOf(g)?r(new Aw("Unsupported protocol "+g+":",Aw.ERR_BAD_REQUEST,e)):y.send(o||null)}))};const dx=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Aw?t:new rx(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Aw(`timeout ${t} of ms exceeded`,Aw.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=n;return s.unsubscribe=()=>Pb.asap(a),s}},yx=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},mx=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},gx=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of mx(e))yield*yx(r,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},vx="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,bx=vx&&"function"==typeof ReadableStream,wx=vx&&("function"==typeof TextEncoder?(xx=new TextEncoder,e=>xx.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var xx;const Sx=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},Ex=bx&&Sx((()=>{let e=!1;const t=new Request(Hw.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ax=bx&&Sx((()=>Pb.isReadableStream(new Response("").body))),Rx={stream:Ax&&(e=>e.body)};var Px;vx&&(Px=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Rx[e]&&(Rx[e]=Pb.isFunction(Px[e])?t=>t[e]():(t,r)=>{throw new Aw(`Response type '${e}' is not supported`,Aw.ERR_NOT_SUPPORT,r)})})));const kx=async(e,t)=>{const r=Pb.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Pb.isBlob(e))return e.size;if(Pb.isSpecCompliantForm(e)){const t=new Request(Hw.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Pb.isArrayBufferView(e)||Pb.isArrayBuffer(e)?e.byteLength:(Pb.isURLSearchParams(e)&&(e+=""),Pb.isString(e)?(await wx(e)).byteLength:void 0)})(t):r};var Ox=vx&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:p="same-origin",fetchOptions:f}=fx(e);c=c?(c+"").toLowerCase():"text";let h,d=dx([o,i&&i.toAbortSignal()],a);const y=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let m;try{if(u&&Ex&&"get"!==r&&"head"!==r&&0!==(m=await kx(l,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if(Pb.isFormData(n)&&(e=r.headers.get("content-type"))&&l.setContentType(e),r.body){const[e,t]=ix(m,ox(ax(u)));n=gx(r.body,65536,e,t)}}Pb.isString(p)||(p=p?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...f,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:o?p:void 0});let i=await fetch(h);const a=Ax&&("stream"===c||"response"===c);if(Ax&&(s||a&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Pb.toFiniteNumber(i.headers.get("content-length")),[r,n]=s&&ix(t,ox(ax(s),!0))||[];i=new Response(gx(i.body,65536,r,(()=>{n&&n(),y&&y()})),e)}c=c||"text";let g=await Rx[Pb.findKey(Rx,c)||"text"](i,e);return!a&&y&&y(),await new Promise(((t,r)=>{nx(t,r,{data:g,headers:Zw.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Aw("Network Error",Aw.ERR_NETWORK,e,h),{cause:t.cause||t});throw Aw.from(t,t&&t.code,e,h)}});const jx={http:null,xhr:hx,fetch:Ox};Pb.forEach(jx,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Tx=e=>`- ${e}`,Ix=e=>Pb.isFunction(e)||null===e||!1===e;var Nx=e=>{e=Pb.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){let t;if(r=e[i],n=r,!Ix(r)&&(n=jx[(t=String(r)).toLowerCase()],void 0===n))throw new Aw(`Unknown adapter '${t}'`);if(n)break;o[t||"#"+i]=n}if(!n){const e=Object.entries(o).map((e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Aw("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Tx).join("\n"):" "+Tx(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function _x(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rx(null,e)}function Cx(e){_x(e),e.headers=Zw.from(e.headers),e.data=ex.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Nx(e.adapter||Vw.adapter)(e).then((function(t){return _x(e),t.data=ex.call(e,e.transformResponse,t),t.headers=Zw.from(t.headers),t}),(function(t){return tx(t)||(_x(e),t&&t.response&&(t.response.data=ex.call(e,e.transformResponse,t.response),t.response.headers=Zw.from(t.response.headers))),Promise.reject(t)}))}const Ux="1.7.9",Lx={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Lx[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const Fx={};Lx.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Aw(n(o," has been removed"+(t?" in "+t:"")),Aw.ERR_DEPRECATED);return t&&!Fx[o]&&(Fx[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},Lx.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var Dx={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Aw("options must be an object",Aw.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Aw("option "+i+" must be "+r,Aw.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Aw("Unknown option "+i,Aw.ERR_BAD_OPTION)}},validators:Lx};const Bx=Dx.validators;class qx{constructor(e){this.defaults=e,this.interceptors={request:new Fw,response:new Fw}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=px(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Dx.assertOptions(r,{silentJSONParsing:Bx.transitional(Bx.boolean),forcedJSONParsing:Bx.transitional(Bx.boolean),clarifyTimeoutError:Bx.transitional(Bx.boolean)},!1),null!=n&&(Pb.isFunction(n)?t.paramsSerializer={serialize:n}:Dx.assertOptions(n,{encode:Bx.function,serialize:Bx.function},!0)),Dx.assertOptions(t,{baseUrl:Bx.spelling("baseURL"),withXsrfToken:Bx.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Pb.merge(o.common,o[t.method]);o&&Pb.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Zw.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[Cx.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);p<l;)c=c.then(e[p++],e[p++]);return c}l=a.length;let f=t;for(p=0;p<l;){const e=a[p++],t=a[p++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Cx.call(this,f)}catch(e){return Promise.reject(e)}for(p=0,l=u.length;p<l;)c=c.then(u[p++],u[p++]);return c}getUri(e){return Lw(cx((e=px(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Pb.forEach(["delete","get","head","options"],(function(e){qx.prototype[e]=function(t,r){return this.request(px(r||{},{method:e,url:t,data:(r||{}).data}))}})),Pb.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(px(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}qx.prototype[e]=t(),qx.prototype[e+"Form"]=t(!0)}));class Mx{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new rx(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Mx((function(t){e=t})),cancel:e}}}const Wx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wx).forEach((e=>{let[t,r]=e;Wx[r]=t}));const Gx=function e(t){const r=new qx(t),n=Fv(qx.prototype.request,r);return Pb.extend(n,qx.prototype,r,{allOwnKeys:!0}),Pb.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(px(t,r))},n}(Vw);Gx.Axios=qx,Gx.CanceledError=rx,Gx.CancelToken=Mx,Gx.isCancel=tx,Gx.VERSION=Ux,Gx.toFormData=Iw,Gx.AxiosError=Aw,Gx.Cancel=Gx.CanceledError,Gx.all=function(e){return Promise.all(e)},Gx.spread=function(e){return function(t){return e.apply(null,t)}},Gx.isAxiosError=function(e){return Pb.isObject(e)&&!0===e.isAxiosError},Gx.mergeConfig=px,Gx.AxiosHeaders=Zw,Gx.formToJSON=e=>$w(Pb.isHTMLForm(e)?new FormData(e):e),Gx.getAdapter=Nx,Gx.HttpStatusCode=Wx,Gx.default=Gx;var zx=function(){return u((function e(t){var r=t.responseHandler,n=t.requestConfigBuilder;a(this,e),this.responseHandler=r,this.requestConfigBuilder=n}),[{key:"get",value:(s=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return s.apply(this,arguments)})},{key:"getData",value:(i=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("get",t,r,{responseType:"arraybuffer"});case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"post",value:(n=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"postData",value:(r=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("post",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"put",value:(t=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("put",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"delete",value:(e=o(m().mark((function e(t,r){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.requestConfigBuilder.build("delete",t,r);case 2:return n=e.sent,e.next=5,this.sendRequest(n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"sendRequest",value:function(e){return this.responseHandler.handle(Gx(d(d({},e),{},{maxBodyLength:1/0,maxContentLength:1/0})))}}]);var e,t,r,n,i,s}(),Hx=Ro,$x=ee,Vx=se,Kx=wm,Yx=H([].join);Hx({target:"Array",proto:!0,forced:$x!==Object||!Kx("join",",")},{join:function(e){return Yx(Vx(this),void 0===e?",":e)}});var Jx,Qx=Error,Xx=EvalError,Zx=RangeError,eS=ReferenceError,tS=SyntaxError,rS=TypeError,nS=URIError,oS="undefined"!=typeof Symbol&&Symbol,iS=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0},aS={foo:{}},sS=Object,uS=Object.prototype.toString,cS=Math.max,lS=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},pS=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==uS.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r,n=function(e,t){for(var r=[],n=t,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),o=cS(0,t.length-n.length),i=[],a=0;a<o;a++)i[a]="$"+a;if(r=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var o=t.apply(this,lS(n,arguments));return Object(o)===o?o:this}return t.apply(e,lS(n,arguments))})),t.prototype){var s=function(){};s.prototype=t.prototype,r.prototype=new s,s.prototype=null}return r},fS=Function.prototype.bind||pS,hS=Function.prototype.call,dS=Object.prototype.hasOwnProperty,yS=fS.call(hS,dS),mS=Qx,gS=Xx,vS=Zx,bS=eS,wS=tS,xS=rS,SS=nS,ES=Function,AS=function(e){try{return ES('"use strict"; return ('+e+").constructor;")()}catch(e){}},RS=Object.getOwnPropertyDescriptor;if(RS)try{RS({},"")}catch(e){RS=null}var PS=function(){throw new xS},kS=RS?function(){try{return PS}catch(e){try{return RS(arguments,"callee").get}catch(e){return PS}}}():PS,OS="function"==typeof oS&&"function"==typeof Symbol&&"symbol"==typeof oS("foo")&&"symbol"==typeof Symbol("bar")&&iS(),jS={__proto__:aS}.foo===aS.foo&&!({__proto__:null}instanceof sS),TS=Object.getPrototypeOf||(jS?function(e){return e.__proto__}:null),IS={},NS="undefined"!=typeof Uint8Array&&TS?TS(Uint8Array):Jx,_S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Jx:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Jx:ArrayBuffer,"%ArrayIteratorPrototype%":OS&&TS?TS([][Symbol.iterator]()):Jx,"%AsyncFromSyncIteratorPrototype%":Jx,"%AsyncFunction%":IS,"%AsyncGenerator%":IS,"%AsyncGeneratorFunction%":IS,"%AsyncIteratorPrototype%":IS,"%Atomics%":"undefined"==typeof Atomics?Jx:Atomics,"%BigInt%":"undefined"==typeof BigInt?Jx:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Jx:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Jx:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Jx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":mS,"%eval%":eval,"%EvalError%":gS,"%Float32Array%":"undefined"==typeof Float32Array?Jx:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Jx:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Jx:FinalizationRegistry,"%Function%":ES,"%GeneratorFunction%":IS,"%Int8Array%":"undefined"==typeof Int8Array?Jx:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Jx:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Jx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":OS&&TS?TS(TS([][Symbol.iterator]())):Jx,"%JSON%":"object"==typeof JSON?JSON:Jx,"%Map%":"undefined"==typeof Map?Jx:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&OS&&TS?TS((new Map)[Symbol.iterator]()):Jx,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Jx:Promise,"%Proxy%":"undefined"==typeof Proxy?Jx:Proxy,"%RangeError%":vS,"%ReferenceError%":bS,"%Reflect%":"undefined"==typeof Reflect?Jx:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Jx:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&OS&&TS?TS((new Set)[Symbol.iterator]()):Jx,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Jx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":OS&&TS?TS(""[Symbol.iterator]()):Jx,"%Symbol%":OS?Symbol:Jx,"%SyntaxError%":wS,"%ThrowTypeError%":kS,"%TypedArray%":NS,"%TypeError%":xS,"%Uint8Array%":"undefined"==typeof Uint8Array?Jx:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Jx:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Jx:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Jx:Uint32Array,"%URIError%":SS,"%WeakMap%":"undefined"==typeof WeakMap?Jx:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Jx:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Jx:WeakSet};if(TS)try{null.error}catch(e){var CS=TS(TS(e));_S["%Error.prototype%"]=CS}var US,LS,FS=function e(t){var r;if("%AsyncFunction%"===t)r=AS("async function () {}");else if("%GeneratorFunction%"===t)r=AS("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=AS("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&TS&&(r=TS(o.prototype))}return _S[t]=r,r},DS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},BS=fS,qS=yS,MS=BS.call(Function.call,Array.prototype.concat),WS=BS.call(Function.apply,Array.prototype.splice),GS=BS.call(Function.call,String.prototype.replace),zS=BS.call(Function.call,String.prototype.slice),HS=BS.call(Function.call,RegExp.prototype.exec),$S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,VS=/\\(\\)?/g,KS=function(e,t){var r,n=e;if(qS(DS,n)&&(n="%"+(r=DS[n])[0]+"%"),qS(_S,n)){var o=_S[n];if(o===IS&&(o=FS(n)),void 0===o&&!t)throw new xS("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new wS("intrinsic "+e+" does not exist!")},YS=function(e,t){if("string"!=typeof e||0===e.length)throw new xS("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new xS('"allowMissing" argument must be a boolean');if(null===HS(/^%?[^%]*%?$/,e))throw new wS("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=zS(e,0,1),r=zS(e,-1);if("%"===t&&"%"!==r)throw new wS("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new wS("invalid intrinsic syntax, expected opening `%`");var n=[];return GS(e,$S,(function(e,t,r,o){n[n.length]=r?GS(o,VS,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=KS("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],WS(r,MS([0,1],u)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=zS(p,0,1),h=zS(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new wS("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),qS(_S,i="%"+(n+="."+p)+"%"))a=_S[i];else if(null!=a){if(!(p in a)){if(!t)throw new xS("base intrinsic for "+e+" exists, but the property is not available.");return}if(RS&&c+1>=r.length){var d=RS(a,p);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[p]}else l=qS(a,p),a=a[p];l&&!s&&(_S[i]=a)}}return a},JS={exports:{}};function QS(){if(LS)return US;LS=1;var e=YS("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return US=e}var XS=YS("%Object.getOwnPropertyDescriptor%",!0);if(XS)try{XS([],"length")}catch(e){XS=null}var ZS=XS,eE=QS(),tE=tS,rE=rS,nE=ZS,oE=QS(),iE=function(){return!!oE};iE.hasArrayLengthDefineBug=function(){if(!oE)return null;try{return 1!==oE([],"length",{value:1}).length}catch(e){return!0}};var aE=YS,sE=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new rE("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new rE("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new rE("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new rE("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new rE("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new rE("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],s=!!nE&&nE(e,t);if(eE)eE(e,t,{configurable:null===i&&s?s.configurable:!i,enumerable:null===n&&s?s.enumerable:!n,value:r,writable:null===o&&s?s.writable:!o});else{if(!a&&(n||o||i))throw new tE("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}},uE=iE(),cE=ZS,lE=rS,pE=aE("%Math.floor%"),fE=function(e,t){if("function"!=typeof e)throw new lE("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||pE(t)!==t)throw new lE("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in e&&cE){var i=cE(e,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(uE?sE(e,"length",t,!0,!0):sE(e,"length",t)),e};!function(e){var t=fS,r=YS,n=fE,o=rS,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(a,i),u=QS(),c=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var r=s(t,a,arguments);return n(r,1+c(0,e.length-(arguments.length-1)),!0)};var l=function(){return s(t,i,arguments)};u?u(e.exports,"apply",{value:l}):e.exports.apply=l}(JS);var hE=YS,dE=JS.exports,yE=dE(hE("String.prototype.indexOf")),mE=A(Object.freeze({__proto__:null,default:{}})),gE="function"==typeof Map&&Map.prototype,vE=Object.getOwnPropertyDescriptor&&gE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,bE=gE&&vE&&"function"==typeof vE.get?vE.get:null,wE=gE&&Map.prototype.forEach,xE="function"==typeof Set&&Set.prototype,SE=Object.getOwnPropertyDescriptor&&xE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,EE=xE&&SE&&"function"==typeof SE.get?SE.get:null,AE=xE&&Set.prototype.forEach,RE="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,PE="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,kE="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,OE=Boolean.prototype.valueOf,jE=Object.prototype.toString,TE=Function.prototype.toString,IE=String.prototype.match,NE=String.prototype.slice,_E=String.prototype.replace,CE=String.prototype.toUpperCase,UE=String.prototype.toLowerCase,LE=RegExp.prototype.test,FE=Array.prototype.concat,DE=Array.prototype.join,BE=Array.prototype.slice,qE=Math.floor,ME="function"==typeof BigInt?BigInt.prototype.valueOf:null,WE=Object.getOwnPropertySymbols,GE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,zE="function"==typeof Symbol&&"object"==typeof Symbol.iterator,HE="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===zE||"symbol")?Symbol.toStringTag:null,$E=Object.prototype.propertyIsEnumerable,VE=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function KE(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||LE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-qE(-e):qE(e);if(n!==e){var o=String(n),i=NE.call(t,o.length+1);return _E.call(o,r,"$&_")+"."+_E.call(_E.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _E.call(t,r,"$&_")}var YE=mE,JE=YE.custom,QE=rA(JE)?JE:null;function XE(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function ZE(e){return _E.call(String(e),/"/g,"&quot;")}function eA(e){return!("[object Array]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}function tA(e){return!("[object RegExp]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}function rA(e){if(zE)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!GE)return!1;try{return GE.call(e),!0}catch(e){}return!1}var nA=Object.prototype.hasOwnProperty||function(e){return e in this};function oA(e,t){return nA.call(e,t)}function iA(e){return jE.call(e)}function aA(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function sA(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return sA(NE.call(e,0,t.maxStringLength),t)+n}return XE(_E.call(_E.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,uA),"single",t)}function uA(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+CE.call(t.toString(16))}function cA(e){return"Object("+e+")"}function lA(e){return e+" { ? }"}function pA(e,t,r,n){return e+" ("+t+") {"+(n?fA(r,n):DE.call(r,", "))+"}"}function fA(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+DE.call(e,","+r)+"\n"+t.prev}function hA(e,t){var r=eA(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=oA(e,o)?t(e[o],e):""}var i,a="function"==typeof WE?WE(e):[];if(zE){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)oA(e,u)&&(r&&String(Number(u))===u&&u<e.length||zE&&i["$"+u]instanceof Symbol||(LE.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if("function"==typeof WE)for(var c=0;c<a.length;c++)$E.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var dA=YS,yA=function(e,t){var r=hE(e,!!t);return"function"==typeof r&&yE(e,".prototype.")>-1?dE(r):r},mA=function e(t,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&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(oA(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(oA(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return sA(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return s?KE(t,u):u}if("bigint"==typeof t){var c=String(t)+"n";return s?KE(t,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=l&&l>0&&"object"==typeof t)return eA(t)?"[Array]":"[Object]";var p=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=DE.call(Array(e.indent+1)," ")}return{base:r,prev:DE.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(aA(o,t)>=0)return"[Circular]";function f(t,r,a){if(r&&(o=BE.call(o)).push(r),a){var s={depth:i.depth};return oA(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!tA(t)){var h=function(e){if(e.name)return e.name;var t=IE.call(TE.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=hA(t,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+DE.call(d,", ")+" }":"")}if(rA(t)){var y=zE?_E.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):GE.call(t);return"object"!=typeof t||zE?y:cA(y)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var m="<"+UE.call(String(t.nodeName)),g=t.attributes||[],v=0;v<g.length;v++)m+=" "+g[v].name+"="+XE(ZE(g[v].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+UE.call(String(t.nodeName))+">"}if(eA(t)){if(0===t.length)return"[]";var b=hA(t,f);return p&&!function(e){for(var t=0;t<e.length;t++)if(aA(e[t],"\n")>=0)return!1;return!0}(b)?"["+fA(b,p)+"]":"[ "+DE.call(b,", ")+" ]"}if(function(e){return!("[object Error]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}(t)){var w=hA(t,f);return"cause"in Error.prototype||!("cause"in t)||$E.call(t,"cause")?0===w.length?"["+String(t)+"]":"{ ["+String(t)+"] "+DE.call(w,", ")+" }":"{ ["+String(t)+"] "+DE.call(FE.call("[cause]: "+f(t.cause),w),", ")+" }"}if("object"==typeof t&&a){if(QE&&"function"==typeof t[QE]&&YE)return YE(t,{depth:l-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!bE||!e||"object"!=typeof e)return!1;try{bE.call(e);try{EE.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return wE&&wE.call(t,(function(e,r){x.push(f(r,t,!0)+" => "+f(e,t))})),pA("Map",bE.call(t),x,p)}if(function(e){if(!EE||!e||"object"!=typeof e)return!1;try{EE.call(e);try{bE.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var E=[];return AE&&AE.call(t,(function(e){E.push(f(e,t))})),pA("Set",EE.call(t),E,p)}if(function(e){if(!RE||!e||"object"!=typeof e)return!1;try{RE.call(e,RE);try{PE.call(e,PE)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return lA("WeakMap");if(function(e){if(!PE||!e||"object"!=typeof e)return!1;try{PE.call(e,PE);try{RE.call(e,RE)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return lA("WeakSet");if(function(e){if(!kE||!e||"object"!=typeof e)return!1;try{return kE.call(e),!0}catch(e){}return!1}(t))return lA("WeakRef");if(function(e){return!("[object Number]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}(t))return cA(f(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ME)return!1;try{return ME.call(e),!0}catch(e){}return!1}(t))return cA(f(ME.call(t)));if(function(e){return!("[object Boolean]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}(t))return cA(OE.call(t));if(function(e){return!("[object String]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}(t))return cA(f(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===S)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==iA(e)||HE&&"object"==typeof e&&HE in e)}(t)&&!tA(t)){var A=hA(t,f),R=VE?VE(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",k=!R&&HE&&Object(t)===t&&HE in t?NE.call(iA(t),8,-1):P?"Object":"",O=(R||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(k||P?"["+DE.call(FE.call([],k||[],P||[]),": ")+"] ":"");return 0===A.length?O+"{}":p?O+"{"+fA(A,p)+"}":O+"{ "+DE.call(A,", ")+" }"}return String(t)},gA=rS,vA=dA("%WeakMap%",!0),bA=dA("%Map%",!0),wA=yA("WeakMap.prototype.get",!0),xA=yA("WeakMap.prototype.set",!0),SA=yA("WeakMap.prototype.has",!0),EA=yA("Map.prototype.get",!0),AA=yA("Map.prototype.set",!0),RA=yA("Map.prototype.has",!0),PA=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},kA=String.prototype.replace,OA=/%20/g,jA="RFC3986",TA={default:jA,formatters:{RFC1738:function(e){return kA.call(e,OA,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:jA},IA=TA,NA=Object.prototype.hasOwnProperty,_A=Array.isArray,CA=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),UA=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},LA=1024,FA={arrayToObject:UA,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(_A(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;s+=LA){for(var u=i.length>=LA?i.slice(s,s+LA):i,c=[],l=0;l<u.length;++l){var p=u.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===IA.RFC1738&&(40===p||41===p)?c[c.length]=u.charAt(l):p<128?c[c.length]=CA[p]:p<2048?c[c.length]=CA[192|p>>6]+CA[128|63&p]:p<55296||p>=57344?c[c.length]=CA[224|p>>12]+CA[128|p>>6&63]+CA[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(l)),c[c.length]=CA[240|p>>18]+CA[128|p>>12&63]+CA[128|p>>6&63]+CA[128|63&p])}a+=c.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(_A(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(_A(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!NA.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var o=t;return _A(t)&&!_A(r)&&(o=UA(t,n)),_A(t)&&_A(r)?(r.forEach((function(r,o){if(NA.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return NA.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t}),o)}},DA=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new gA("Side channel does not contain "+mA(e))},get:function(n){if(vA&&n&&("object"==typeof n||"function"==typeof n)){if(e)return wA(e,n)}else if(bA){if(t)return EA(t,n)}else if(r)return function(e,t){var r=PA(e,t);return r&&r.value}(r,n)},has:function(n){if(vA&&n&&("object"==typeof n||"function"==typeof n)){if(e)return SA(e,n)}else if(bA){if(t)return RA(t,n)}else if(r)return function(e,t){return!!PA(e,t)}(r,n);return!1},set:function(n,o){vA&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new vA),xA(e,n,o)):bA?(t||(t=new bA),AA(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=PA(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n},BA=FA,qA=TA,MA=Object.prototype.hasOwnProperty,WA={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},GA=Array.isArray,zA=Array.prototype.push,HA=function(e,t){zA.apply(e,GA(t)?t:[t])},$A=Date.prototype.toISOString,VA=qA.default,KA={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:BA.encode,encodeValuesOnly:!1,format:VA,formatter:qA.formatters[VA],indices:!1,serializeDate:function(e){return $A.call(e)},skipNulls:!1,strictNullHandling:!1},YA={},JA=function e(t,r,n,o,i,a,s,u,c,l,p,f,h,d,y,m,g,v){for(var b,w=t,x=v,S=0,E=!1;void 0!==(x=x.get(YA))&&!E;){var A=x.get(t);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");E=!0}void 0===x.get(YA)&&(S=0)}if("function"==typeof l?w=l(r,w):w instanceof Date?w=h(w):"comma"===n&&GA(w)&&(w=BA.maybeMap(w,(function(e){return e instanceof Date?h(e):e}))),null===w){if(a)return c&&!m?c(r,KA.encoder,g,"key",d):r;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||BA.isBuffer(w))return c?[y(m?r:c(r,KA.encoder,g,"key",d))+"="+y(c(w,KA.encoder,g,"value",d))]:[y(r)+"="+y(String(w))];var R,P=[];if(void 0===w)return P;if("comma"===n&&GA(w))m&&c&&(w=BA.maybeMap(w,c)),R=[{value:w.length>0?w.join(",")||null:void 0}];else if(GA(l))R=l;else{var k=Object.keys(w);R=p?k.sort(p):k}var O=u?r.replace(/\./g,"%2E"):r,j=o&&GA(w)&&1===w.length?O+"[]":O;if(i&&GA(w)&&0===w.length)return j+"[]";for(var T=0;T<R.length;++T){var I=R[T],N="object"==typeof I&&void 0!==I.value?I.value:w[I];if(!s||null!==N){var _=f&&u?I.replace(/\./g,"%2E"):I,C=GA(w)?"function"==typeof n?n(j,_):j:j+(f?"."+_:"["+_+"]");v.set(t,S);var U=DA();U.set(YA,v),HA(P,e(N,C,n,o,i,a,s,u,"comma"===n&&m&&GA(w)?null:c,l,p,f,h,d,y,m,g,U))}}return P},QA=FA,XA=Object.prototype.hasOwnProperty,ZA=Array.isArray,eR={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:QA.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},tR=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},rR=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},nR=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!r.plainObjects&&XA.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;r.depth>0&&null!==(a=i.exec(o))&&c<r.depth;){if(c+=1,!r.plainObjects&&XA.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(e,t,r,n){for(var o=n?t:rR(t,r),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,t,r,n)}},oR=function(e,t){var r,n=e,o=function(e){if(!e)return KA;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||KA.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=qA.default;if(void 0!==e.format){if(!MA.call(qA.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=qA.formatters[r],i=KA.filter;if(("function"==typeof e.filter||GA(e.filter))&&(i=e.filter),n=e.arrayFormat in WA?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":KA.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||KA.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:KA.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:KA.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:KA.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?KA.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:KA.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:KA.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:KA.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:KA.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:KA.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:KA.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:KA.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):GA(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=WA[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var u=DA(),c=0;c<r.length;++c){var l=r[c];o.skipNulls&&null===n[l]||HA(i,JA(n[l],l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var p=i.join(o.delimiter),f=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""},iR=function(e,t){var r=function(e){if(!e)return eR;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?eR.charset:e.charset,r=void 0===e.duplicates?eR.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||eR.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:eR.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:eR.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:eR.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:eR.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:eR.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:eR.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:eR.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:eR.decoder,delimiter:"string"==typeof e.delimiter||QA.isRegExp(e.delimiter)?e.delimiter:eR.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:eR.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:eR.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:eR.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:eR.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:eR.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=n.split(t.delimiter,i),s=-1,u=t.charset;if(t.charsetSentinel)for(o=0;o<a.length;++o)0===a[o].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[o]?u="utf-8":"utf8=%26%2310003%3B"===a[o]&&(u="iso-8859-1"),s=o,o=a.length);for(o=0;o<a.length;++o)if(o!==s){var c,l,p=a[o],f=p.indexOf("]="),h=-1===f?p.indexOf("="):f+1;-1===h?(c=t.decoder(p,eR.decoder,u,"key"),l=t.strictNullHandling?null:""):(c=t.decoder(p.slice(0,h),eR.decoder,u,"key"),l=QA.maybeMap(rR(p.slice(h+1),t),(function(e){return t.decoder(e,eR.decoder,u,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=tR(l)),p.indexOf("[]=")>-1&&(l=ZA(l)?[l]:l);var d=XA.call(r,c);d&&"combine"===t.duplicates?r[c]=QA.combine(r[c],l):d&&"last"!==t.duplicates||(r[c]=l)}return r}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],u=nR(s,n[s],r,"string"==typeof e);o=QA.merge(o,u,r)}return!0===r.allowSparse?o:QA.compact(o)},aR=E({formats:TA,parse:iR,stringify:oR});const sR="function"==typeof Buffer,uR=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),cR=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),lR=(e=>{let t={};return e.forEach(((e,r)=>t[e]=r)),t})(cR),pR=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,fR=String.fromCharCode.bind(String),hR=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_"))),dR=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),yR=e=>{let t,r,n,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,i+=cR[t>>18&63]+cR[t>>12&63]+cR[t>>6&63]+cR[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},mR="function"==typeof btoa?e=>btoa(e):sR?e=>Buffer.from(e,"binary").toString("base64"):yR,gR=sR?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(fR.apply(null,e.subarray(r,r+4096)));return mR(t.join(""))},vR=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?fR(192|t>>>6)+fR(128|63&t):fR(224|t>>>12&15)+fR(128|t>>>6&63)+fR(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fR(240|t>>>18&7)+fR(128|t>>>12&63)+fR(128|t>>>6&63)+fR(128|63&t)},bR=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,wR=e=>e.replace(bR,vR),xR=sR?e=>Buffer.from(e,"utf8").toString("base64"):uR?e=>gR(uR.encode(e)):e=>mR(wR(e)),SR=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?hR(xR(e)):xR(e)},ER=e=>{if(e=e.replace(/\s+/g,""),!pR.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,n,o="";for(let i=0;i<e.length;)t=lR[e.charAt(i++)]<<18|lR[e.charAt(i++)]<<12|(r=lR[e.charAt(i++)])<<6|(n=lR[e.charAt(i++)]),o+=64===r?fR(t>>16&255):64===n?fR(t>>16&255,t>>8&255):fR(t>>16&255,t>>8&255,255&t);return o},AR=SR;var RR,PR=function(){return u((function e(t){if(a(this,e),this.baseUrl=t.baseUrl,this.auth=t.auth,this.headers=this.buildHeaders({basicAuth:t.basicAuth,userAgent:t.userAgent}),"httpsAgent"in t){if("clientCertAuth"in t)throw new Error("Cannot specify clientCertAuth along with httpsAgent.");this.httpsAgent=t.httpsAgent}else"clientCertAuth"in t&&(this.clientCertAuth=t.clientCertAuth);this.proxy=t.proxy,this.requestToken=null,this.socketTimeout=t.socketTimeout}),[{key:"build",value:(n=o(m().mark((function e(r,n,o,i){var a,s,u,c;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=d(d(d({method:r,headers:this.headers,url:"".concat(this.baseUrl).concat(n)},i||{}),t.buildPlatformDependentConfig({httpsAgent:this.httpsAgent,clientCertAuth:this.clientCertAuth,socketTimeout:this.socketTimeout})),{},{proxy:this.buildProxyConfig(this.proxy)}),e.t0=r,e.next="get"===e.t0?4:"post"===e.t0?16:"put"===e.t0?29:"delete"===e.t0?37:44;break;case 4:if(!((s=this.buildRequestUrl(n,o)).length>4096)){e.next=15;break}return e.t1=d,e.t2=d({},a),e.t3={},e.t4=d(d({},this.headers),{},{"X-HTTP-Method-Override":"GET"}),e.next=12,this.buildData(o);case 12:return e.t5=e.sent,e.t6={method:"post",headers:e.t4,data:e.t5},e.abrupt("return",(0,e.t1)(e.t2,e.t3,e.t6));case 15:return e.abrupt("return",d(d({},a),{},{url:s}));case 16:if(!(o instanceof uv)){e.next=21;break}return e.next=19,this.buildData(o);case 19:return u=e.sent,e.abrupt("return",d(d({},a),{},{headers:"function"==typeof u.getHeaders?d(d({},this.headers),u.getHeaders()):this.headers,data:u}));case 21:return e.t7=d,e.t8=d({},a),e.t9={},e.next=26,this.buildData(o);case 26:return e.t10=e.sent,e.t11={data:e.t10},e.abrupt("return",(0,e.t7)(e.t8,e.t9,e.t11));case 29:return e.t12=d,e.t13=d({},a),e.t14={},e.next=34,this.buildData(o);case 34:return e.t15=e.sent,e.t16={data:e.t15},e.abrupt("return",(0,e.t12)(e.t13,e.t14,e.t16));case 37:return e.t17=this,e.t18=n,e.next=41,this.buildData(o);case 41:return e.t19=e.sent,c=e.t17.buildRequestUrl.call(e.t17,e.t18,e.t19),e.abrupt("return",d(d({},a),{},{url:c}));case 44:throw new Error("".concat(r," method is not supported"));case 45:case"end":return e.stop()}}),e,this)}))),function(e,t,r,o){return n.apply(this,arguments)})},{key:"buildProxyConfig",value:function(e){var t;if(void 0!==e){if(!1===e)return!1;var r=e;return!r.auth||0!==r.auth.username.length&&0!==r.auth.password.length||(r.auth=void 0),r.protocol=null!==(t=r.protocol)&&void 0!==t?t:"http",r}}},{key:"buildRequestUrl",value:function(e,t){return"".concat(this.baseUrl).concat(e,"?").concat(aR.stringify(t))}},{key:"buildData",value:(r=o(m().mark((function e(t){var r;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("session"!==this.auth.type){e.next=8;break}return e.next=3,this.getRequestToken();case 3:if(r=e.sent,!(t instanceof uv)){e.next=7;break}return t.append("__REQUEST_TOKEN__",r),e.abrupt("return",t);case 7:return e.abrupt("return",d({__REQUEST_TOKEN__:r},t));case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"buildHeaders",value:function(e){var r=e.basicAuth,n=e.userAgent,o=r?{Authorization:"Basic ".concat(AR("".concat(r.username,":").concat(r.password)))}:{},i=d(d({},t.buildHeaders({userAgent:n})),o);switch(this.auth.type){case"password":return d(d({},i),{},{"X-Cybozu-Authorization":AR("".concat(this.auth.username,":").concat(this.auth.password))});case"apiToken":var a=this.auth.apiToken;return Array.isArray(a)?d(d({},i),{},{"X-Cybozu-API-Token":a.join(",")}):d(d({},i),{},{"X-Cybozu-API-Token":a});case"oAuthToken":return d(d({},i),{},{Authorization:"Bearer ".concat(this.auth.oAuthToken)});default:return d(d({},i),{},{"X-Requested-With":"XMLHttpRequest"})}}},{key:"getRequestToken",value:(e=o(m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==this.requestToken){e.next=4;break}return e.next=3,t.getRequestToken();case 3:this.requestToken=e.sent;case 4:return e.abrupt("return",this.requestToken);case 5:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})}]);var e,r,n}(),kR=["data"],OR=function(){return u((function e(t){var r=t.enableAbortSearchError;a(this,e),this.enableAbortSearchError=r}),[{key:"handle",value:function(e){var t=this;return e.then((function(e){return t.handleSuccessResponse(e)}),(function(e){return t.handleErrorResponse(e)}))}},{key:"handleSuccessResponse",value:function(e){if(this.enableAbortSearchError&&/Filter aborted because of too many search results/.test(e.headers["x-cybozu-warning"]))throw new Wg(e.headers["x-cybozu-warning"]);return e.data}},{key:"handleErrorResponse",value:function(e){if(!e.response){if(/mac verify failure/.test(e.toString()))throw new Error("invalid clientCertAuth setting");throw e}var t=e.response,r=t.data,n=y(t,kR);if("string"==typeof r)throw new Error("".concat(n.status,": ").concat(n.statusText));throw new tv(d({data:r},n))}}])}(),jR=function(){return u((function e(){var r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),TR(i),this.baseUrl=t.buildBaseUrl(i.baseUrl).replace(/\/+$/,"");var s=function(e){if("username"in e)return d({type:"password"},e);if("apiToken"in e)return d({type:"apiToken"},e);if("oAuthToken"in e)return d({type:"oAuthToken"},e);try{return t.getDefaultAuth()}catch(e){if(e instanceof Ki)throw new Error("session authentication is not supported in ".concat(e.platform," environment."));throw e}}(null!==(r=i.auth)&&void 0!==r?r:{}),u=new PR(d(d({},i),{},{baseUrl:this.baseUrl,auth:s})),c=new OR({enableAbortSearchError:null!==(n=null===(o=i.featureFlags)||void 0===o?void 0:o.enableAbortSearchError)&&void 0!==n&&n}),l=new zx({responseHandler:c,requestConfigBuilder:u}),p=i.guestSpaceId;this.bulkRequest_=new tm(l,p),this.record=new av(l,this.bulkRequest_,p),this.app=new vm(l,p),this.space=new sv(l,p),this.file=new cv(l,p),this.plugin=new lv(l)}),[{key:"getBaseUrl",value:function(){return this.baseUrl}},{key:"bulkRequest",value:function(e){return this.bulkRequest_.send(e)}}],[{key:"version",get:function(){return t.getVersion()}}])}(),TR=function(e){IR(e.baseUrl),NR(e.guestSpaceId),_R(e.socketTimeout)},IR=function(e){if(void 0!==e){var t=new URL(e);if("localhost"!==t.hostname&&"https:"!==t.protocol)throw new Error('The protocol of baseUrl must be "https".')}},NR=function(e){if(""===e||null===e)throw new Error("invalid guestSpaceId: got [".concat(e,"]"))},_R=function(e){if(void 0!==e){var t=parseFloat(e.toString());if(isNaN(t)||t<0)throw new Error("Invalid socketTimeout. Must be a positive number.")}};(RR=Zi).readFileFromPath&&(t.readFileFromPath=RR.readFileFromPath),RR.getRequestToken&&(t.getRequestToken=RR.getRequestToken),RR.getDefaultAuth&&(t.getDefaultAuth=RR.getDefaultAuth),RR.buildPlatformDependentConfig&&(t.buildPlatformDependentConfig=RR.buildPlatformDependentConfig),RR.buildHeaders&&(t.buildHeaders=RR.buildHeaders),RR.buildFormDataValue&&(t.buildFormDataValue=RR.buildFormDataValue),RR.buildBaseUrl&&(t.buildBaseUrl=RR.buildBaseUrl),RR.getVersion&&(t.getVersion=RR.getVersion),e.KintoneAbortSearchError=Wg,e.KintoneAllRecordsError=ev,e.KintoneRestAPIClient=jR,e.KintoneRestAPIError=tv}));