contentful 11.12.0 → 11.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var contentful=function(e){"use strict";function t(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function n(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 o(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(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 a(e){return a="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},a(e)}function u(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}function c(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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,u(n.key),n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if(t&&("object"==a(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)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(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&&d(e,t)}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function m(e){var t="function"==typeof Map?new Map:void 0;return m=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(v())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&d(o,r.prototype),o}(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},m(e)}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){this.v=e,this.k=t}function w(e){return function(){return new O(e.apply(this,arguments))}}function O(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,u=a instanceof g;Promise.resolve(u?a.v:a).then((function(r){if(u){var c="return"===t?"return":"next";if(!a.k||r.done)return n(c,r);r=e[c](r).value}o(i.done?"return":"normal",r)}),(function(e){n("throw",e)}))}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,o){return new Promise((function(i,a){var u={key:e,arg:o,resolve:i,reject:a,next:null};r?r=r.next=u:(t=r=u,n(e,o))}))},"function"!=typeof e.return&&(this.return=void 0)}function x(e){return new g(e,0)}function S(e){var t={},r=!1;function n(t,n){return r=!0,n=new Promise((function(r){r(e[t](n))})),{done:!1,value:new g(n,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):n("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return n("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):n("return",e)}),t}function j(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function A(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}O.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},O.prototype.next=function(e){return this._invoke("next",e)},O.prototype.throw=function(e){return this._invoke("throw",e)},O.prototype.return=function(e){return this._invoke("return",e)};var E,k={exports:{}},P={exports:{}};(E=P).exports=function(e,t){this.v=e,this.k=t},E.exports.__esModule=!0,E.exports.default=E.exports;var R=P.exports,T={exports:{}},_={exports:{}};!function(e){function t(r,n,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(r){a=0}e.exports=t=function(e,r,n,o){function i(r,n){t(e,r,(function(e){return this._invoke(r,n,e)}))}r?a?a(e,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[r]=n:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n,o,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(_);var L=_.exports;!function(e){var t=L;function r(){var n,o,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.toStringTag||"@@toStringTag";function c(e,r,i,a){var u=Object.create((r&&r.prototype instanceof l?r:l).prototype);return t(u,"_invoke",function(e,t,r){var i,a,u,c=0,l=r||[],f=!1,p={p:0,n:0,v:n,a:y,f:y.bind(n,4),d:function(e,t){return i=e,a=0,u=n,p.n=t,s}};function y(e,t){for(a=e,u=t,o=0;!f&&c&&!r&&o<l.length;o++){var r,i=l[o],y=p.p,d=i[2];e>3?(r=d===t)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=n):i[0]<=y&&((r=e<2&&y<i[1])?(a=0,p.v=t,p.n=i[1]):y<d&&(r=e<3||i[0]>t||t>d)&&(i[4]=e,i[5]=t,p.n=d,a=0))}if(r||e>1)return s;throw f=!0,t}return function(r,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&y(l,d),a=l,u=d;(o=a<2?n:u)||!f;){i||(a?a<3?(a>1&&(p.n=-1),y(a,u)):p.n=u:p.v=u);try{if(c=2,i){if(a||(r="next"),o=i[r]){if(!(o=o.call(i,u)))throw TypeError("iterator result is not an object");if(!o.done)return o;u=o.value,a<2&&(a=0)}else 1===a&&(o=i.return)&&o.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),a=1);i=n}else if((o=(f=p.n<0)?u:e.call(t,p))!==s)break}catch(e){i=n,a=1,u=e}finally{c=1}}return{value:o,done:f}}}(e,i,a),!0),u}var s={};function l(){}function f(){}function p(){}o=Object.getPrototypeOf;var y=[][a]?o(o([][a]())):(t(o={},a,(function(){return this})),o),d=p.prototype=l.prototype=Object.create(y);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,t(e,u,"GeneratorFunction")),e.prototype=Object.create(d),e}return f.prototype=p,t(d,"constructor",p),t(p,"constructor",f),f.displayName="GeneratorFunction",t(p,u,"GeneratorFunction"),t(d),t(d,u,"Generator"),t(d,a,(function(){return this})),t(d,"toString",(function(){return"[object Generator]"})),(e.exports=r=function(){return{w:c,m:h}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(T);var C=T.exports,N={exports:{}},I={exports:{}},U={exports:{}};!function(e){var t=R,r=L;e.exports=function e(n,o){function i(e,r,a,u){try{var c=n[e](r),s=c.value;return s instanceof t?o.resolve(s.v).then((function(e){i("next",e,a,u)}),(function(e){i("throw",e,a,u)})):o.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,u)}))}catch(e){u(e)}}var a;this.next||(r(e.prototype),r(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),r(this,"_invoke",(function(e,t,r){function n(){return new o((function(t,n){i(e,r,t,n)}))}return a=a?a.then(n,n):n()}),!0)},e.exports.__esModule=!0,e.exports.default=e.exports}(U);var B=U.exports;!function(e){var t=C,r=B;e.exports=function(e,n,o,i,a){return new r(t().w(e,n,o,i),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports}(I);var D=I.exports;!function(e){var t=D;e.exports=function(e,r,n,o,i){var a=t(e,r,n,o,i);return a.next().then((function(e){return e.done?e.value:a.next()}))},e.exports.__esModule=!0,e.exports.default=e.exports}(N);var F=N.exports,M={exports:{}};!function(e){e.exports=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports}(M);var q=M.exports,W={exports:{}},z={exports:{}};!function(e){function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(z);var H=z.exports;!function(e){var t=H.default;e.exports=function(e){if(null!=e){var r=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(t(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports}(W);var K=W.exports;!function(e){var t=R,r=C,n=F,o=D,i=B,a=q,u=K;function c(){var s=r(),l=s.m(c),f=(Object.getPrototypeOf?Object.getPrototypeOf(l):l.__proto__).constructor;function p(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var y={throw:1,return:2,break:3,continue:3};function d(e){var t,r;return function(n){t||(t={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(e,t){return r(n.a,y[e],t)},delegateYield:function(e,o,i){return t.resultName=o,r(n.d,u(e),i)},finish:function(e){return r(n.f,e)}},r=function(e,r,o){n.p=t.prev,n.n=t.next;try{return e(r,o)}finally{t.next=n.n}}),t.resultName&&(t[t.resultName]=n.v,t.resultName=void 0),t.sent=n.v,t.next=n.n;try{return e.call(this,t)}finally{n.p=t.prev,n.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,t,r,n){return s.w(d(e),t,r,n&&n.reverse())},isGeneratorFunction:p,mark:s.m,awrap:function(e,r){return new t(e,r)},AsyncIterator:i,async:function(e,t,r,i,a){return(p(t)?o:n)(d(e),t,r,i,a)},keys:a,values:u}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports}(k);var G=(0,k.exports)(),J=G;try{regeneratorRuntime=G}catch(e){"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis.regeneratorRuntime=G:Function("r","regeneratorRuntime = r")(G)}var V=j(J);function $(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 X(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 Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Y(e,t,r){return t=y(t),p(e,Z()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}function Z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Z=function(){return!!e})()}function ee(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new te(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function te(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return te=function(e){this.s=e,this.n=e.next},te.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new te(e)}function re(e,t){return function(){return e.apply(t,arguments)}}var ne,oe=Object.prototype.toString,ie=Object.getPrototypeOf,ae=Symbol.iterator,ue=Symbol.toStringTag,ce=(ne=Object.create(null),function(e){var t=oe.call(e);return ne[t]||(ne[t]=t.slice(8,-1).toLowerCase())}),se=function(e){return e=e.toLowerCase(),function(t){return ce(t)===e}},le=function(e){return function(t){return a(t)===e}},fe=Array.isArray,pe=le("undefined");function ye(e){return null!==e&&!pe(e)&&null!==e.constructor&&!pe(e.constructor)&&ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var de=se("ArrayBuffer"),he=le("string"),ve=le("function"),me=le("number"),be=function(e){return null!==e&&"object"===a(e)},ge=function(e){if("object"!==ce(e))return!1;var t=ie(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ue in e||ae in e)},we=se("Date"),Oe=se("File"),xe=se("Blob"),Se=se("FileList"),je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},Ae=void 0!==je.FormData?je.FormData:void 0,Ee=se("URLSearchParams"),ke=b(["ReadableStream","Request","Response","Headers"].map(se),4),Pe=ke[0],Re=ke[1],Te=ke[2],_e=ke[3];function Le(e,t){var r,n,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!==a(e)&&(e=[e]),fe(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(ye(e))return;var u,c=i?Object.getOwnPropertyNames(e):Object.keys(e),s=c.length;for(r=0;r<s;r++)t.call(null,e[u=c[r]],u,e)}}function Ce(e,t){if(ye(e))return null;t=t.toLowerCase();for(var r,n=Object.keys(e),o=n.length;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}var Ne,Ie,Ue,Be,De="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=function(e){return!pe(e)&&e!==De},Me=function(e){return function(t){return e&&t instanceof e}}("undefined"!=typeof Uint8Array&&ie(Uint8Array)),qe=se("HTMLFormElement"),We=function(){var e=Object.prototype.hasOwnProperty;return function(t,r){return e.call(t,r)}}(),ze=se("RegExp"),He=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};Le(r,(function(r,o){var i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Ke=se("AsyncFunction"),Ge=(Ne="function"==typeof setImmediate,Ie=ve(De.postMessage),Ne?setImmediate:Ie?(Ue="axios@".concat(Math.random()),Be=[],De.addEventListener("message",(function(e){e.source===De&&e.data===Ue&&Be.length&&Be.shift()()}),!1),function(e){Be.push(e),De.postMessage(Ue,"*")}):function(e){return setTimeout(e)}),Je="undefined"!=typeof queueMicrotask?queueMicrotask.bind(De):"undefined"!=typeof process&&process.nextTick||Ge,Ve={isArray:fe,isArrayBuffer:de,isBuffer:ye,isFormData:function(e){var t;return e&&(Ae&&e instanceof Ae||ve(e.append)&&("formdata"===(t=ce(e))||"object"===t&&ve(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&de(e.buffer)},isString:he,isNumber:me,isBoolean:function(e){return!0===e||!1===e},isObject:be,isPlainObject:ge,isEmptyObject:function(e){if(!be(e)||ye(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Pe,isRequest:Re,isResponse:Te,isHeaders:_e,isUndefined:pe,isDate:we,isFile:Oe,isReactNativeBlob:function(e){return!(!e||void 0===e.uri)},isReactNative:function(e){return e&&void 0!==e.getParts},isBlob:xe,isRegExp:ze,isFunction:ve,isStream:function(e){return be(e)&&ve(e.pipe)},isURLSearchParams:Ee,isTypedArray:Me,isFileList:Se,forEach:Le,merge:function e(){for(var t=Fe(this)&&this||{},r=t.caseless,n=t.skipUndefined,o={},i=function(t,i){if("__proto__"!==i&&"constructor"!==i&&"prototype"!==i){var a=r&&Ce(o,i)||i;ge(o[a])&&ge(t)?o[a]=e(o[a],t):ge(t)?o[a]=e({},t):fe(t)?o[a]=t.slice():n&&pe(t)||(o[a]=t)}},a=0,u=arguments.length;a<u;a++)arguments[a]&&Le(arguments[a],i);return o},extend:function(e,t,r){return Le(t,(function(t,n){r&&ve(t)?Object.defineProperty(e,n,{value:re(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],n&&!n(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==r&&ie(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:ce,kindOfTest:se,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length);var n=e.indexOf(t,r-=t.length);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(fe(e))return e;var t=e.length;if(!me(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},forEachEntry:function(e,t){for(var r,n=(e&&e[ae]).call(e);(r=n.next())&&!r.done;){var o=r.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:qe,hasOwnProperty:We,hasOwnProp:We,reduceDescriptors:He,freezeMethods:function(e){He(e,(function(t,r){if(ve(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;ve(e[r])&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(e,t){var r={},n=function(e){e.forEach((function(e){r[e]=!0}))};return fe(e)?n(e):n(String(e).split(t)),r},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:Ce,global:De,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&ve(e.append)&&"FormData"===e[ue]&&e[ae])},toJSONObject:function(e){var t=new Array(10),r=function(e,n){if(be(e)){if(t.indexOf(e)>=0)return;if(ye(e))return e;if(!("toJSON"in e)){t[n]=e;var o=fe(e)?[]:{};return Le(e,(function(e,t){var i=r(e,n+1);!pe(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Ke,isThenable:function(e){return e&&(be(e)||ve(e))&&ve(e.then)&&ve(e.catch)},setImmediate:Ge,asap:Je,isIterable:function(e){return null!=e&&ve(e[ae])}},$e=function(e){function t(e,r,n,o,i){var a;return s(this,t),a=Y(this,t,[e]),Object.defineProperty(a,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),a.name="AxiosError",a.isAxiosError=!0,r&&(a.code=r),n&&(a.config=n),o&&(a.request=o),i&&(a.response=i,a.status=i.status),a}return h(t,e),f(t,[{key:"toJSON",value: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:Ve.toJSONObject(this.config),code:this.code,status:this.status}}}],[{key:"from",value:function(e,r,n,o,i,a){var u=new t(e.message,r||e.code,n,o,i);return u.cause=e,u.name=e.name,null!=e.status&&null==u.status&&(u.status=e.status),a&&Object.assign(u,a),u}}])}(m(Error));$e.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",$e.ERR_BAD_OPTION="ERR_BAD_OPTION",$e.ECONNABORTED="ECONNABORTED",$e.ETIMEDOUT="ETIMEDOUT",$e.ERR_NETWORK="ERR_NETWORK",$e.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",$e.ERR_DEPRECATED="ERR_DEPRECATED",$e.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",$e.ERR_BAD_REQUEST="ERR_BAD_REQUEST",$e.ERR_CANCELED="ERR_CANCELED",$e.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",$e.ERR_INVALID_URL="ERR_INVALID_URL";var Xe=$e;function Qe(e){return Ve.isPlainObject(e)||Ve.isArray(e)}function Ye(e){return Ve.endsWith(e,"[]")?e.slice(0,-2):e}function Ze(e,t,r){return e?e.concat(t).map((function(e,t){return e=Ye(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var et=Ve.toFlatObject(Ve,{},null,(function(e){return/^is[A-Z]/.test(e)}));function tt(e,t,r){if(!Ve.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=Ve.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ve.isUndefined(t[e])}))).metaTokens,o=r.visitor||l,i=r.dots,u=r.indexes,c=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Ve.isSpecCompliantForm(t);if(!Ve.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Ve.isDate(e))return e.toISOString();if(Ve.isBoolean(e))return e.toString();if(!c&&Ve.isBlob(e))throw new Xe("Blob is not supported. Use a Buffer instead.");return Ve.isArrayBuffer(e)||Ve.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,r,o){var c=e;if(Ve.isReactNative(t)&&Ve.isReactNativeBlob(e))return t.append(Ze(o,r,i),s(e)),!1;if(e&&!o&&"object"===a(e))if(Ve.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Ve.isArray(e)&&function(e){return Ve.isArray(e)&&!e.some(Qe)}(e)||(Ve.isFileList(e)||Ve.endsWith(r,"[]"))&&(c=Ve.toArray(e)))return r=Ye(r),c.forEach((function(e,n){!Ve.isUndefined(e)&&null!==e&&t.append(!0===u?Ze([r],n,i):null===u?r:r+"[]",s(e))})),!1;return!!Qe(e)||(t.append(Ze(o,r,i),s(e)),!1)}var f=[],p=Object.assign(et,{defaultVisitor:l,convertValue:s,isVisitable:Qe});if(!Ve.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Ve.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),Ve.forEach(r,(function(r,i){!0===(!(Ve.isUndefined(r)||null===r)&&o.call(t,r,Ve.isString(i)?i.trim():i,n,p))&&e(r,n?n.concat(i):[i])})),f.pop()}}(e),t}function rt(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function nt(e,t){this._pairs=[],e&&tt(e,this,t)}var ot=nt.prototype;function it(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function at(e,t,r){if(!t)return e;var n,o=r&&r.encode||it,i=Ve.isFunction(r)?{serialize:r}:r,a=i&&i.serialize;if(n=a?a(t,i):Ve.isURLSearchParams(t)?t.toString():new nt(t,i).toString(o)){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ot.append=function(e,t){this._pairs.push([e,t])},ot.toString=function(e){var t=e?function(t){return e.call(this,t,rt)}:rt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ut=function(){return f((function e(){s(this,e),this.handlers=[]}),[{key:"use",value:function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Ve.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}])}(),ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},st={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:nt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},lt="undefined"!=typeof window&&"undefined"!=typeof document,ft="object"===("undefined"==typeof navigator?"undefined":a(navigator))&&navigator||void 0,pt=lt&&(!ft||["ReactNative","NativeScript","NS"].indexOf(ft.product)<0),yt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,dt=lt&&window.location.href||"http://localhost",ht=Q(Q({},Object.freeze({__proto__:null,hasBrowserEnv:lt,hasStandardBrowserWebWorkerEnv:yt,hasStandardBrowserEnv:pt,navigator:ft,origin:dt})),st);function vt(e){function t(e,r,n,o){var i=e[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=e.length;return i=!i&&Ve.isArray(n)?n.length:i,u?(n[i]=Ve.hasOwnProp(n,i)?[n[i],r]:r,!a):(n[i]&&Ve.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&Ve.isArray(n[i])&&(n[i]=function(e){var t,r,n={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)n[r=o[t]]=e[r];return n}(n[i])),!a)}if(Ve.isFormData(e)&&Ve.isFunction(e.entries)){var r={};return Ve.forEachEntry(e,(function(e,n){t(function(e){return Ve.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null}var mt={transitional:ct,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=Ve.isObject(e);if(i&&Ve.isHTMLForm(e)&&(e=new FormData(e)),Ve.isFormData(e))return o?JSON.stringify(vt(e)):e;if(Ve.isArrayBuffer(e)||Ve.isBuffer(e)||Ve.isStream(e)||Ve.isFile(e)||Ve.isBlob(e)||Ve.isReadableStream(e))return e;if(Ve.isArrayBufferView(e))return e.buffer;if(Ve.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return tt(e,new ht.classes.URLSearchParams,Q({visitor:function(e,t,r,n){return ht.isNode&&Ve.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=Ve.isFileList(e))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return tt(r?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e){if(Ve.isString(e))try{return(0,JSON.parse)(e),Ve.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||mt.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Ve.isResponse(e)||Ve.isReadableStream(e))return e;if(e&&Ve.isString(e)&&(r&&!this.responseType||n)){var o=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(o){if("SyntaxError"===e.name)throw Xe.from(e,Xe.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:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ve.forEach(["delete","get","head","post","put","patch"],(function(e){mt.headers[e]={}}));var bt=mt,gt=Ve.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"]),wt=Symbol("internals");function Ot(e){return e&&String(e).trim().toLowerCase()}function xt(e){return!1===e||null==e?e:Ve.isArray(e)?e.map(xt):String(e)}function St(e,t,r,n,o){return Ve.isFunction(n)?n.call(this,t,r):(o&&(t=r),Ve.isString(t)?Ve.isString(n)?-1!==t.indexOf(n):Ve.isRegExp(n)?n.test(t):void 0:void 0)}var jt=function(){return f((function e(t){s(this,e),t&&this.set(t)}),[{key:"set",value:function(e,t,r){var n=this;function o(e,t,r){var o=Ot(t);if(!o)throw new Error("header name must be a non-empty string");var i=Ve.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=xt(e))}var a=function(e,t){return Ve.forEach(e,(function(e,r){return o(e,r,t)}))};if(Ve.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Ve.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a(function(e){var t,r,n,o={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&gt[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)})),o}(e),t);else if(Ve.isObject(e)&&Ve.isIterable(e)){var u,c,s,l={},f=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return $(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(e);try{for(f.s();!(s=f.n()).done;){var p=s.value;if(!Ve.isArray(p))throw TypeError("Object iterator must return a key-value pair");l[c=p[0]]=(u=l[c])?Ve.isArray(u)?[].concat(i(u),[p[1]]):[u,p[1]]:p[1]}}catch(e){f.e(e)}finally{f.f()}a(l,t)}else null!=e&&o(t,e,r);return this}},{key:"get",value:function(e,t){if(e=Ot(e)){var r=Ve.findKey(this,e);if(r){var n=this[r];if(!t)return n;if(!0===t)return function(e){for(var t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=n.exec(e);)r[t[1]]=t[2];return r}(n);if(Ve.isFunction(t))return t.call(this,n,r);if(Ve.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ot(e)){var r=Ve.findKey(this,e);return!(!r||void 0===this[r]||t&&!St(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function o(e){if(e=Ot(e)){var o=Ve.findKey(r,e);!o||t&&!St(0,r[o],o,t)||(delete r[o],n=!0)}}return Ve.isArray(e)?e.forEach(o):o(e),n}},{key:"clear",value:function(e){for(var t=Object.keys(this),r=t.length,n=!1;r--;){var o=t[r];e&&!St(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return Ve.forEach(this,(function(n,o){var i=Ve.findKey(r,o);if(i)return t[i]=xt(n),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=xt(n),r[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=this.constructor).concat.apply(e,[this].concat(r))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Ve.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&Ve.isArray(r)?r.join(", "):r)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=b(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:"getSetCookie",value:function(){return this.get("set-cookie")||[]}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[wt]=this[wt]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=Ot(e);t[n]||(function(e,t){var r=Ve.toCamelCase(" "+t);["get","set","has"].forEach((function(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 Ve.isArray(e)?e.forEach(n):n(e),this}}])}();jt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ve.reduceDescriptors(jt.prototype,(function(e,t){var r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}})),Ve.freezeMethods(jt);var At=jt;function Et(e,t){var r=this||bt,n=t||r,o=At.from(n.headers),i=n.data;return Ve.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function kt(e){return!(!e||!e.__CANCEL__)}var Pt=function(e){function t(e,r,n){var o;return s(this,t),(o=Y(this,t,[null==e?"canceled":e,Xe.ERR_CANCELED,r,n])).name="CanceledError",o.__CANCEL__=!0,o}return h(t,e),f(t)}(Xe);function Rt(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Xe("Request failed with status code "+r.status,[Xe.ERR_BAD_REQUEST,Xe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}var Tt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0,o=function(e,t){e=e||10;var r,n=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var c=Date.now(),s=o[a];r||(r=c),n[i]=u,o[i]=c;for(var l=a,f=0;l!==i;)f+=n[l++],l%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(c-r<t)){var p=s&&c-s;return p?Math.round(1e3*f/p):void 0}}}(50,250);return function(e,t){var r,n,o=0,a=1e3/t,u=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=a,r=null,n&&(clearTimeout(n),n=null),e.apply(void 0,i(t))};return[function(){for(var e=Date.now(),t=e-o,i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];t>=a?u(c,e):(r=c,n||(n=setTimeout((function(){n=null,u(r)}),a-t)))},function(){return r&&u(r)}]}((function(r){var i=r.loaded,a=r.lengthComputable?r.total:void 0,u=i-n,s=o(u);n=i;var l=c({loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:r,lengthComputable:null!=a},t?"download":"upload",!0);e(l)}),r)},_t=function(e,t){var r=null!=e;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]},Lt=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ve.asap((function(){return e.apply(void 0,r)}))}},Ct=ht.hasStandardBrowserEnv?function(e,t){return function(r){return e.protocol===(r=new URL(r,ht.origin)).protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):function(){return!0},Nt=ht.hasStandardBrowserEnv?{write:function(e,t,r,n,o,i,a){if("undefined"!=typeof document){var u=["".concat(e,"=").concat(encodeURIComponent(t))];Ve.isNumber(r)&&u.push("expires=".concat(new Date(r).toUTCString())),Ve.isString(n)&&u.push("path=".concat(n)),Ve.isString(o)&&u.push("domain=".concat(o)),!0===i&&u.push("secure"),Ve.isString(a)&&u.push("SameSite=".concat(a)),document.cookie=u.join("; ")}},read:function(e){if("undefined"==typeof document)return null;var t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function It(e,t,r){var n,o=!("string"==typeof(n=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n));return e&&(o||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ut=function(e){return e instanceof At?Q({},e):e};function Bt(e,t){t=t||{};var r={};function n(e,t,r,n){return Ve.isPlainObject(e)&&Ve.isPlainObject(t)?Ve.merge.call({caseless:n},e,t):Ve.isPlainObject(t)?Ve.merge({},t):Ve.isArray(t)?t.slice():t}function o(e,t,r,o){return Ve.isUndefined(t)?Ve.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Ve.isUndefined(t))return n(void 0,t)}function a(e,t){return Ve.isUndefined(t)?Ve.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function u(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}var c={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:u,headers:function(e,t){return o(Ut(e),Ut(t),0,!0)}};return Ve.forEach(Object.keys(Q(Q({},e),t)),(function(n){if("__proto__"!==n&&"constructor"!==n&&"prototype"!==n){var i=Ve.hasOwnProp(c,n)?c[n]:o,a=i(e[n],t[n],n);Ve.isUndefined(a)&&i!==u||(r[n]=a)}})),r}var Dt,Ft=function(e){var t=Bt({},e),r=t.data,n=t.withXSRFToken,o=t.xsrfHeaderName,i=t.xsrfCookieName,a=t.headers,u=t.auth;if(t.headers=a=At.from(a),t.url=at(It(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Ve.isFormData(r))if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Ve.isFunction(r.getHeaders)){var c=r.getHeaders(),s=["content-type","content-length"];Object.entries(c).forEach((function(e){var t=b(e,2),r=t[0],n=t[1];s.includes(r.toLowerCase())&&a.set(r,n)}))}if(ht.hasStandardBrowserEnv&&(n&&Ve.isFunction(n)&&(n=n(t)),n||!1!==n&&Ct(t.url))){var l=o&&i&&Nt.read(i);l&&a.set(o,l)}return t},Mt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,o,i,a=Ft(e),u=a.data,c=At.from(a.headers).normalize(),s=a.responseType,l=a.onUploadProgress,f=a.onDownloadProgress;function p(){o&&o(),i&&i(),a.cancelToken&&a.cancelToken.unsubscribe(n),a.signal&&a.signal.removeEventListener("abort",n)}var y=new XMLHttpRequest;function d(){if(y){var n=At.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Rt((function(e){t(e),p()}),(function(e){r(e),p()}),{data:s&&"text"!==s&&"json"!==s?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}}if(y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=d:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(d)},y.onabort=function(){y&&(r(new Xe("Request aborted",Xe.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){var n=new Xe(t&&t.message?t.message:"Network Error",Xe.ERR_NETWORK,e,y);n.event=t||null,r(n),y=null},y.ontimeout=function(){var t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),r(new Xe(t,(a.transitional||ct).clarifyTimeoutError?Xe.ETIMEDOUT:Xe.ECONNABORTED,e,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&Ve.forEach(c.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Ve.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var h=b(Tt(f,!0),2);i=h[1],y.addEventListener("progress",h[0])}if(l&&y.upload){var v=b(Tt(l),2);o=v[1],y.upload.addEventListener("progress",v[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(t){y&&(r(!t||t.type?new Pt(null,e,y):t),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(n),a.signal&&(a.signal.aborted?n():a.signal.addEventListener("abort",n)));var m,g=(m=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a.url))&&m[1]||"";g&&-1===ht.protocols.indexOf(g)?r(new Xe("Unsupported protocol "+g+":",Xe.ERR_BAD_REQUEST,e)):y.send(u||null)}))},qt=function(e,t){var r=e=e?e.filter(Boolean):[];if(t||r.length){var n,o=new AbortController,i=function(e){if(!n){n=!0,u();var t=e instanceof Error?e:this.reason;o.abort(t instanceof Xe?t:new Pt(t instanceof Error?t.message:t))}},a=t&&setTimeout((function(){a=null,i(new Xe("timeout of ".concat(t,"ms exceeded"),Xe.ETIMEDOUT))}),t),u=function(){e&&(a&&clearTimeout(a),a=null,e.forEach((function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((function(e){return e.addEventListener("abort",i)}));var c=o.signal;return c.unsubscribe=function(){return Ve.asap(u)},c}},Wt=V.mark((function e(t,r){var n,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.byteLength,r&&!(n<r)){e.next=5;break}return e.next=4,t;case 4:return e.abrupt("return");case 5:o=0;case 6:if(!(o<n)){e.next=13;break}return i=o+r,e.next=10,t.slice(o,i);case 10:o=i,e.next=6;break;case 13:case"end":return e.stop()}}),e)})),zt=function(){var e=w(V.mark((function e(t,r){var n,o,i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=!1,e.prev=2,a=ee(Ht(t));case 4:return e.next=6,x(a.next());case 6:if(!(n=!(u=e.sent).done)){e.next=12;break}return e.delegateYield(S(ee(Wt(u.value,r))),"t0",9);case 9:n=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t1=e.catch(2),o=!0,i=e.t1;case 18:if(e.prev=18,e.prev=19,!n||null==a.return){e.next=23;break}return e.next=23,x(a.return());case 23:if(e.prev=23,!o){e.next=26;break}throw i;case 26:return e.finish(23);case 27:return e.finish(18);case 28:case"end":return e.stop()}}),e,null,[[2,14,18,28],[19,,23,27]])})));return function(t,r){return e.apply(this,arguments)}}(),Ht=function(){var e=w(V.mark((function e(t){var r,n,o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[Symbol.asyncIterator]){e.next=3;break}return e.delegateYield(S(ee(t)),"t0",2);case 2:return e.abrupt("return");case 3:r=t.getReader(),e.prev=4;case 5:return e.next=7,x(r.read());case 7:if(o=(n=e.sent).value,!n.done){e.next=12;break}return e.abrupt("break",16);case 12:return e.next=14,o;case 14:e.next=5;break;case 16:return e.prev=16,e.next=19,x(r.cancel());case 19:return e.finish(16);case 20:case"end":return e.stop()}}),e,null,[[4,,16,20]])})));return function(t){return e.apply(this,arguments)}}(),Kt=function(e,t,n,o){var i,a=zt(e,t),u=0,c=function(e){i||(i=!0,o&&o(e))};return new ReadableStream({pull:function(e){return r(V.mark((function t(){var r,o,i,s;return V.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a.next();case 3:if(o=(r=t.sent).value,!r.done){t.next=10;break}return c(),e.close(),t.abrupt("return");case 10:i=o.byteLength,n&&(s=u+=i,n(s)),e.enqueue(new Uint8Array(o)),t.next=19;break;case 15:throw t.prev=15,t.t0=t.catch(0),c(t.t0),t.t0;case 19:case"end":return t.stop()}}),t,null,[[0,15]])})))()},cancel:function(e){return c(e),a.return()}},{highWaterMark:2})},Gt=Ve.isFunction,Jt={Request:(Dt=Ve.global).Request,Response:Dt.Response},Vt=Ve.global,$t=Vt.ReadableStream,Xt=Vt.TextEncoder,Qt=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.apply(void 0,r)}catch(e){return!1}},Yt=function(e){var t=(e=Ve.merge.call({skipUndefined:!0},Jt,e)).fetch,n=e.Request,o=e.Response,i=t?Gt(t):"function"==typeof fetch,a=Gt(n),u=Gt(o);if(!i)return!1;var c,s=i&&Gt($t),l=i&&("function"==typeof Xt?(c=new Xt,function(e){return c.encode(e)}):function(){var e=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,new n(t).arrayBuffer();case 3:return e.t1=e.sent,e.abrupt("return",new e.t0(e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f=a&&s&&Qt((function(){var e=!1,t=new n(ht.origin,{body:new $t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),p=u&&s&&Qt((function(){return Ve.isReadableStream(new o("").body)})),y={stream:p&&function(e){return e.body}};i&&["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!y[e]&&(y[e]=function(t,r){var n=t&&t[e];if(n)return n.call(t);throw new Xe("Response type '".concat(e,"' is not supported"),Xe.ERR_NOT_SUPPORT,r)})}));var d=function(){var e=r(V.mark((function e(t){var r;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}return e.abrupt("return",0);case 2:if(!Ve.isBlob(t)){e.next=4;break}return e.abrupt("return",t.size);case 4:if(!Ve.isSpecCompliantForm(t)){e.next=9;break}return r=new n(ht.origin,{method:"POST",body:t}),e.next=8,r.arrayBuffer();case 8:case 15:return e.abrupt("return",e.sent.byteLength);case 9:if(!Ve.isArrayBufferView(t)&&!Ve.isArrayBuffer(t)){e.next=11;break}return e.abrupt("return",t.byteLength);case 11:if(Ve.isURLSearchParams(t)&&(t+=""),!Ve.isString(t)){e.next=16;break}return e.next=15,l(t);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=r(V.mark((function e(t,r){var n;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Ve.toFiniteNumber(t.getContentLength()),e.abrupt("return",null==n?d(r):n);case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();return function(){var e=r(V.mark((function e(r){var i,u,c,s,l,d,v,m,g,w,O,x,S,j,A,E,k,P,R,T,_,L,C,N,I,U,B,D,F,M,q,W,z;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=Ft(r),u=i.url,c=i.method,s=i.data,l=i.signal,d=i.cancelToken,v=i.timeout,m=i.onDownloadProgress,g=i.onUploadProgress,w=i.responseType,O=i.headers,S=void 0===(x=i.withCredentials)?"same-origin":x,j=i.fetchOptions,A=t||fetch,w=w?(w+"").toLowerCase():"text",E=qt([l,d&&d.toAbortSignal()],v),k=null,P=E&&E.unsubscribe&&function(){E.unsubscribe()},e.prev=6,e.t0=g&&f&&"get"!==c&&"head"!==c,!e.t0){e.next=13;break}return e.next=11,h(O,s);case 11:e.t1=R=e.sent,e.t0=0!==e.t1;case 13:if(!e.t0){e.next=17;break}T=new n(u,{method:"POST",body:s,duplex:"half"}),Ve.isFormData(s)&&(_=T.headers.get("content-type"))&&O.setContentType(_),T.body&&(L=_t(R,Tt(Lt(g))),C=b(L,2),s=Kt(T.body,65536,C[0],C[1]));case 17:return Ve.isString(S)||(S=S?"include":"omit"),N=a&&"credentials"in n.prototype,I=Q(Q({},j),{},{signal:E,method:c.toUpperCase(),headers:O.normalize().toJSON(),body:s,duplex:"half",credentials:N?S:void 0}),k=a&&new n(u,I),e.next=23,a?A(k,j):A(u,I);case 23:return U=e.sent,B=p&&("stream"===w||"response"===w),p&&(m||B&&P)&&(D={},["status","statusText","headers"].forEach((function(e){D[e]=U[e]})),F=Ve.toFiniteNumber(U.headers.get("content-length")),M=m&&_t(F,Tt(Lt(m),!0))||[],q=b(M,2),W=q[1],U=new o(Kt(U.body,65536,q[0],(function(){W&&W(),P&&P()})),D)),w=w||"text",e.next=29,y[Ve.findKey(y,w)||"text"](U,r);case 29:return z=e.sent,!B&&P&&P(),e.next=33,new Promise((function(e,t){Rt(e,t,{data:z,headers:At.from(U.headers),status:U.status,statusText:U.statusText,config:r,request:k})}));case 33:return e.abrupt("return",e.sent);case 36:if(e.prev=36,e.t2=e.catch(6),P&&P(),!e.t2||"TypeError"!==e.t2.name||!/Load failed|fetch/i.test(e.t2.message)){e.next=41;break}throw Object.assign(new Xe("Network Error",Xe.ERR_NETWORK,r,k,e.t2&&e.t2.response),{cause:e.t2.cause||e.t2});case 41:throw Xe.from(e.t2,e.t2&&e.t2.code,r,k,e.t2&&e.t2.response);case 42:case"end":return e.stop()}}),e,null,[[6,36]])})));return function(t){return e.apply(this,arguments)}}()},Zt=new Map,er=function(e){for(var t,r,n=e&&e.env||{},o=[n.Request,n.Response,n.fetch],i=o.length,a=Zt;i--;)void 0===(r=a.get(t=o[i]))&&a.set(t,r=i?new Map:Yt(n)),a=r;return r};er();var tr={http:null,xhr:Mt,fetch:{get:er}};Ve.forEach(tr,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var rr=function(e){return"- ".concat(e)},nr=function(e){return Ve.isFunction(e)||null===e||!1===e},or=function(e,t){for(var r,n,o=(e=Ve.isArray(e)?e:[e]).length,i={},a=0;a<o;a++){var u=void 0;if(n=r=e[a],!nr(r)&&void 0===(n=tr[(u=String(r)).toLowerCase()]))throw new Xe("Unknown adapter '".concat(u,"'"));if(n&&(Ve.isFunction(n)||(n=n.get(t))))break;i[u||"#"+a]=n}if(!n){var c=Object.entries(i).map((function(e){var t=b(e,2),r=t[1];return"adapter ".concat(t[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")})),s=o?c.length>1?"since :\n"+c.map(rr).join("\n"):" "+rr(c[0]):"as no adapter specified";throw new Xe("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n};function ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pt(null,e)}function ar(e){return ir(e),e.headers=At.from(e.headers),e.data=Et.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),or(e.adapter||bt.adapter,e)(e).then((function(t){return ir(e),t.data=Et.call(e,e.transformResponse,t),t.headers=At.from(t.headers),t}),(function(t){return kt(t)||(ir(e),t&&t.response&&(t.response.data=Et.call(e,e.transformResponse,t.response),t.response.headers=At.from(t.response.headers))),Promise.reject(t)}))}var ur="1.13.6",cr={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){cr[e]=function(r){return a(r)===e||"a"+(t<1?"n ":" ")+e}}));var sr={};cr.transitional=function(e,t,r){return function(n,o,i){if(!1===e)throw new Xe(function(e,t){return"[Axios v"+ur+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(o," has been removed"+(t?" in "+t:"")),Xe.ERR_DEPRECATED);return t&&!sr[o]&&(sr[o]=!0),!e||e(n,o,i)}},cr.spelling=function(){return function(){return!0}};var lr={assertOptions:function(e,t,r){if("object"!==a(e))throw new Xe("options must be an object",Xe.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],u=t[i];if(u){var c=e[i],s=void 0===c||u(c,i,e);if(!0!==s)throw new Xe("option "+i+" must be "+s,Xe.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Xe("Unknown option "+i,Xe.ERR_BAD_OPTION)}},validators:cr},fr=lr.validators,pr=function(){return f((function e(t){s(this,e),this.defaults=t||{},this.interceptors={request:new ut,response:new ut}}),[{key:"request",value:(e=r(V.mark((function e(t,r){var n,o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._request(t,r);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),e.t0 instanceof Error){n={},Error.captureStackTrace?Error.captureStackTrace(n):n=new Error,o=n.stack?n.stack.replace(/^.+\n/,""):"";try{e.t0.stack?o&&!String(e.t0.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(e.t0.stack+="\n"+o):e.t0.stack=o}catch(e){}}throw e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(t,r){return e.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var r=(t=Bt(this.defaults,t)).transitional,n=t.paramsSerializer,o=t.headers;void 0!==r&&lr.assertOptions(r,{silentJSONParsing:fr.transitional(fr.boolean),forcedJSONParsing:fr.transitional(fr.boolean),clarifyTimeoutError:fr.transitional(fr.boolean),legacyInterceptorReqResOrdering:fr.transitional(fr.boolean)},!1),null!=n&&(Ve.isFunction(n)?t.paramsSerializer={serialize:n}:lr.assertOptions(n,{encode:fr.function,serialize:fr.function},!0)),void 0!==t.allowAbsoluteUrls||(t.allowAbsoluteUrls=void 0===this.defaults.allowAbsoluteUrls||this.defaults.allowAbsoluteUrls),lr.assertOptions(t,{baseUrl:fr.spelling("baseURL"),withXsrfToken:fr.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=o&&Ve.merge(o.common,o[t.method]);o&&Ve.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=At.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(e){if("function"!=typeof e.runWhen||!1!==e.runWhen(t)){u=u&&e.synchronous;var r=t.transitional||ct;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)}}));var c,s=[];this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));var l,f=0;if(!u){var p=[ar.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,s),l=p.length,c=Promise.resolve(t);f<l;)c=c.then(p[f++],p[f++]);return c}l=a.length;for(var y=t;f<l;){var d=a[f++],h=a[f++];try{y=d(y)}catch(e){h.call(this,e);break}}try{c=ar.call(this,y)}catch(e){return Promise.reject(e)}for(f=0,l=s.length;f<l;)c=c.then(s[f++],s[f++]);return c}},{key:"getUri",value:function(e){return at(It((e=Bt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}]);var e}();Ve.forEach(["delete","get","head","options"],(function(e){pr.prototype[e]=function(t,r){return this.request(Bt(r||{},{method:e,url:t,data:(r||{}).data}))}})),Ve.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Bt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}pr.prototype[e]=t(),pr.prototype[e+"Form"]=t(!0)}));var yr=pr,dr=function(){function e(t){if(s(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(e,t,o){n.reason||(n.reason=new Pt(e,t,o),r(n.reason))}))}return f(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,r=function(e){t.abort(e)};return this.subscribe(r),t.signal.unsubscribe=function(){return e.unsubscribe(r)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}])}(),hr=dr,vr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(vr).forEach((function(e){var t=b(e,2);vr[t[1]]=t[0]}));var mr=vr,br=function e(t){var r=new yr(t),n=re(yr.prototype.request,r);return Ve.extend(n,yr.prototype,r,{allOwnKeys:!0}),Ve.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Bt(t,r))},n}(bt);br.Axios=yr,br.CanceledError=Pt,br.CancelToken=hr,br.isCancel=kt,br.VERSION=ur,br.toFormData=tt,br.AxiosError=Xe,br.Cancel=br.CanceledError,br.all=function(e){return Promise.all(e)},br.spread=function(e){return function(t){return e.apply(null,t)}},br.isAxiosError=function(e){return Ve.isObject(e)&&!0===e.isAxiosError},br.mergeConfig=Bt,br.AxiosHeaders=At,br.formToJSON=function(e){return vt(Ve.isHTMLForm(e)?new FormData(e):e)},br.getAdapter=or,br.HttpStatusCode=mr,br.default=br;var gr=j(br),wr=Function.prototype.toString,Or=Object.create,xr=Object.prototype.toString,Sr=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),jr="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new Sr};function Ar(e){if(!e)return Or(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Or(e);if(t&&~wr.call(t).indexOf("[native code]"))try{return new t}catch(e){}return Or(e)}var Er="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function kr(e){var t=xr.call(e);return t.substring(8,t.length-1)}var Pr="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||kr(e)}:kr,Rr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyNames,Lr=Object.getOwnPropertySymbols,Cr=Object.prototype,Nr=Cr.hasOwnProperty,Ir=Cr.propertyIsEnumerable,Ur="function"==typeof Lr,Br=Ur?function(e){return _r(e).concat(Lr(e))}:_r;function Dr(e,t,r){for(var n=Br(e),o=0,i=n.length,a=void 0,u=void 0;o<i;++o)if("callee"!==(a=n[o])&&"caller"!==a)if(u=Tr(e,a)){u.get||u.set||(u.value=r.copier(u.value,r));try{Rr(t,a,u)}catch(e){t[a]=u.value}}else t[a]=r.copier(e[a],r);return t}function Fr(e){return e.slice(0)}function Mr(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach((function(e,n){r.set(n,t.copier(e,t))})),r}var qr=Ur?function(e,t){var r=Ar(t.prototype);for(var n in t.cache.set(e,r),e)Nr.call(e,n)&&(r[n]=t.copier(e[n],t));for(var o=Lr(e),i=0,a=o.length,u=void 0;i<a;++i)Ir.call(e,u=o[i])&&(r[u]=t.copier(e[u],t));return r}:function(e,t){var r=Ar(t.prototype);for(var n in t.cache.set(e,r),e)Nr.call(e,n)&&(r[n]=t.copier(e[n],t));return r};function Wr(e,t){return new t.Constructor(e.valueOf())}function zr(e){return e}function Hr(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach((function(e){r.add(t.copier(e,t))})),r}var Kr=Array.isArray,Gr=Object.assign,Jr=Object.getPrototypeOf||function(e){return e.__proto__},Vr={array:function(e,t){var r=new t.Constructor;t.cache.set(e,r);for(var n=0,o=e.length;n<o;++n)r[n]=t.copier(e[n],t);return r},arrayBuffer:Fr,blob:function(e){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(Fr(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:zr,map:Mr,object:qr,regExp:function(e,t){var r=new t.Constructor(e.source,Er(e));return r.lastIndex=e.lastIndex,r},set:Hr},$r=Gr({},Vr,{array:function(e,t){var r=new t.Constructor;return t.cache.set(e,r),Dr(e,r,t)},map:function(e,t){return Dr(e,Mr(e,t),t)},object:function(e,t){var r=Ar(t.prototype);return t.cache.set(e,r),Dr(e,r,t)},set:function(e,t){return Dr(e,Hr(e,t),t)}});function Xr(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Wr,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:Wr,Object:e.object,Promise:zr,RegExp:e.regExp,Set:e.set,String:Wr,WeakMap:zr,WeakSet:zr,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Gr({},Vr,e)),r=t.Array,n=t.Object;function o(e,o){if(o.prototype=o.Constructor=void 0,!e||"object"!==a(e))return e;if(o.cache.has(e))return o.cache.get(e);if(o.prototype=Jr(e),o.Constructor=o.prototype&&o.prototype.constructor,!o.Constructor||o.Constructor===Object)return n(e,o);if(Kr(e))return r(e,o);var i=t[Pr(e)];return i?i(e,o):"function"==typeof e.then?e:n(e,o)}return function(e){return o(e,{Constructor:void 0,cache:jr(),copier:o,prototype:void 0})}}Xr(Gr({},$r,{}));var Qr,Yr,Zr=Xr({}),en={exports:{}},tn=en.exports={};function rn(){throw new Error("setTimeout has not been defined")}function nn(){throw new Error("clearTimeout has not been defined")}function on(e){if(Qr===setTimeout)return setTimeout(e,0);if((Qr===rn||!Qr)&&setTimeout)return Qr=setTimeout,setTimeout(e,0);try{return Qr(e,0)}catch(t){try{return Qr.call(null,e,0)}catch(t){return Qr.call(this,e,0)}}}!function(){try{Qr="function"==typeof setTimeout?setTimeout:rn}catch(e){Qr=rn}try{Yr="function"==typeof clearTimeout?clearTimeout:nn}catch(e){Yr=nn}}();var an,un=[],cn=!1,sn=-1;function ln(){cn&&an&&(cn=!1,an.length?un=an.concat(un):sn=-1,un.length&&fn())}function fn(){if(!cn){var e=on(ln);cn=!0;for(var t=un.length;t;){for(an=un,un=[];++sn<t;)an&&an[sn].run();sn=-1,t=un.length}an=null,cn=!1,function(e){if(Yr===clearTimeout)return clearTimeout(e);if((Yr===nn||!Yr)&&clearTimeout)return Yr=clearTimeout,clearTimeout(e);try{return Yr(e)}catch(t){try{return Yr.call(null,e)}catch(t){return Yr.call(this,e)}}}(e)}}function pn(e,t){this.fun=e,this.array=t}function yn(){}tn.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];un.push(new pn(e,t)),1!==un.length||cn||on(fn)},pn.prototype.run=function(){this.fun.apply(null,this.array)},tn.title="browser",tn.browser=!0,tn.env={},tn.argv=[],tn.version="",tn.versions={},tn.on=yn,tn.addListener=yn,tn.once=yn,tn.off=yn,tn.removeListener=yn,tn.removeAllListeners=yn,tn.emit=yn,tn.prependListener=yn,tn.prependOnceListener=yn,tn.listeners=function(){return[]},tn.binding=function(){throw new Error("process.binding is not supported")},tn.cwd=function(){return"/"},tn.chdir=function(){throw new Error("process.chdir is not supported")},tn.umask=function(){return 0};var dn=j(en.exports);function hn(){}var vn=function(e){return new Promise((function(t){setTimeout(t,e)}))},mn="object"==("undefined"==typeof global?"undefined":a(global))&&global&&global.Object===Object&&global,bn="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,gn=(mn||bn||Function("return this")()).Symbol,wn=Object.prototype,On=wn.hasOwnProperty,xn=wn.toString,Sn=gn?gn.toStringTag:void 0,jn=Object.prototype.toString,An=gn?gn.toStringTag:void 0,En=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":An&&An in Object(e)?function(e){var t=On.call(e,Sn),r=e[Sn];try{e[Sn]=void 0;var n=!0}catch(e){}var o=xn.call(e);return n&&(t?e[Sn]=r:delete e[Sn]),o}(e):function(e){return jn.call(e)}(e)},kn=function(e){return null!=e&&"object"==a(e)},Pn=En,Rn=Array.isArray,Tn=kn,_n=j((function(e){return"string"==typeof e||!Rn(e)&&Tn(e)&&"[object String]"==Pn(e)}));function Ln(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 Cn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cn=function(){return!!e})()}var Nn=function(e){function t(){var e,r,n,o;return s(this,t),r=this,o=["Throttled function aborted"],n=y(n=t),c(e=p(r,Cn()?Reflect.construct(n,o||[],y(r).constructor):n.apply(r,o)),"name","AbortError"),e}return h(t,e),f(t)}(m(Error));function In(){In=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,n,o){var i=RegExp(e,n);return t.set(i,o||t.get(e)),d(i,r.prototype)}function n(e,r){var n=t.get(r);return Object.keys(n).reduce((function(t,r){var o=n[r];if("number"==typeof o)t[r]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;t[r]=e[o[i]]}return t}),Object.create(null))}return h(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);if(r){r.groups=n(r,this);var o=r.indices;o&&(o.groups=n(o,this))}return r},r.prototype[Symbol.replace]=function(r,o){if("string"==typeof o){var i=t.get(this);return e[Symbol.replace].call(this,r,o.replace(/\$<([^>]+)(>|$)/g,(function(e,t,r){if(""===r)return e;var n=i[t];return Array.isArray(n)?"$"+n.join("$"):"number"==typeof n?"$"+n:""})))}if("function"==typeof o){var u=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=a(e[e.length-1])&&(e=[].slice.call(e)).push(n(e,u)),o.apply(this,e)}))}return e[Symbol.replace].call(this,r,o)},In.apply(this,arguments)}var Un=In(/(\d+)(%)/,{value:1});function Bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=t;if(Un.test(e)){var n,o=null===(n=e.match(Un))||void 0===n?void 0:n.groups;if(o&&o.value){var i=parseInt(o.value)/100;r=Math.round(t*i)}}return Math.min(30,Math.max(1,r))}function Dn(e,t){return t("info","Throttle request to ".concat(e,"/s")),function(e){var t=e.limit,n=e.interval,o=e.onDelay;if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");var i=new Map,a=0,u=0;return function(e){var c=function(){for(var s,l=this,f=arguments.length,p=new Array(f),y=0;y<f;y++)p[y]=arguments[y];return c.isEnabled?new Promise((function(r,c){var f,y=function(){r(e.apply(l,p)),i.delete(s)},d=(f=Date.now())-a>n?(u=1,a=f,0):(u<t?u++:(a+=n,u=1),a-f);d>0?(s=setTimeout(y,d),i.set(s,c),null==o||o()):y()})):r(V.mark((function t(){return V.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.apply(l,p));case 1:case"end":return t.stop()}}),t)})))()};return c.abort=function(){var e,t=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return Ln(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ln(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(i.keys());try{for(t.s();!(e=t.n()).done;){var r=e.value;clearTimeout(r),i.get(r)(new Nn)}}catch(e){t.e(e)}finally{t.f()}i.clear()},c.isEnabled=!0,Object.defineProperty(c,"queueSize",{get:function(){return i.size}}),c}}({limit:e,interval:1e3})}var Fn=TypeError,Mn=A(Object.freeze({__proto__:null,default:{}})),qn="function"==typeof Map&&Map.prototype,Wn=Object.getOwnPropertyDescriptor&&qn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,zn=qn&&Wn&&"function"==typeof Wn.get?Wn.get:null,Hn=qn&&Map.prototype.forEach,Kn="function"==typeof Set&&Set.prototype,Gn=Object.getOwnPropertyDescriptor&&Kn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Jn=Kn&&Gn&&"function"==typeof Gn.get?Gn.get:null,Vn=Kn&&Set.prototype.forEach,$n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Xn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Qn="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Yn=Boolean.prototype.valueOf,Zn=Object.prototype.toString,eo=Function.prototype.toString,to=String.prototype.match,ro=String.prototype.slice,no=String.prototype.replace,oo=String.prototype.toUpperCase,io=String.prototype.toLowerCase,ao=RegExp.prototype.test,uo=Array.prototype.concat,co=Array.prototype.join,so=Array.prototype.slice,lo=Math.floor,fo="function"==typeof BigInt?BigInt.prototype.valueOf:null,po=Object.getOwnPropertySymbols,yo="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?Symbol.prototype.toString:null,ho="function"==typeof Symbol&&"object"===a(Symbol.iterator),vo="function"==typeof Symbol&&Symbol.toStringTag&&(a(Symbol.toStringTag),1)?Symbol.toStringTag:null,mo=Object.prototype.propertyIsEnumerable,bo=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function go(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||ao.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-lo(-e):lo(e);if(n!==e){var o=String(n),i=ro.call(t,o.length+1);return no.call(o,r,"$&_")+"."+no.call(no.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return no.call(t,r,"$&_")}var wo=Mn,Oo=wo.custom,xo=_o(Oo)?Oo:null,So={__proto__:null,double:'"',single:"'"},jo={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Ao=function e(t,r,n,o){var i=r||{};if(Co(i,"quoteStyle")&&!Co(So,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Co(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 u=!Co(i,"customInspect")||i.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Co(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(Co(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=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 Uo(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var s=String(t);return c?go(t,s):s}if("bigint"==typeof t){var l=String(t)+"n";return c?go(t,l):l}var f=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"===a(t))return Ro(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=co.call(Array(e.indent+1)," ")}return{base:r,prev:co.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(Io(o,t)>=0)return"[Circular]";function y(t,r,a){if(r&&(o=so.call(o)).push(r),a){var u={depth:i.depth};return Co(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),e(t,u,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!To(t)){var d=function(e){if(e.name)return e.name;var t=to.call(eo.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),h=Wo(t,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(h.length>0?" { "+co.call(h,", ")+" }":"")}if(_o(t)){var v=ho?no.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):yo.call(t);return"object"!==a(t)||ho?v:Do(v)}if(function(e){return!(!e||"object"!==a(e))&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var m="<"+io.call(String(t.nodeName)),b=t.attributes||[],g=0;g<b.length;g++)m+=" "+b[g].name+"="+Eo(ko(b[g].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+"</"+io.call(String(t.nodeName))+">"}if(Ro(t)){if(0===t.length)return"[]";var w=Wo(t,y);return p&&!function(e){for(var t=0;t<e.length;t++)if(Io(e[t],"\n")>=0)return!1;return!0}(w)?"["+qo(w,p)+"]":"[ "+co.call(w,", ")+" ]"}if(function(e){return"[object Error]"===No(e)&&Po(e)}(t)){var O=Wo(t,y);return"cause"in Error.prototype||!("cause"in t)||mo.call(t,"cause")?0===O.length?"["+String(t)+"]":"{ ["+String(t)+"] "+co.call(O,", ")+" }":"{ ["+String(t)+"] "+co.call(uo.call("[cause]: "+y(t.cause),O),", ")+" }"}if("object"===a(t)&&u){if(xo&&"function"==typeof t[xo]&&wo)return wo(t,{depth:f-n});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!zn||!e||"object"!==a(e))return!1;try{zn.call(e);try{Jn.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return Hn&&Hn.call(t,(function(e,r){x.push(y(r,t,!0)+" => "+y(e,t))})),Mo("Map",zn.call(t),x,p)}if(function(e){if(!Jn||!e||"object"!==a(e))return!1;try{Jn.call(e);try{zn.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var S=[];return Vn&&Vn.call(t,(function(e){S.push(y(e,t))})),Mo("Set",Jn.call(t),S,p)}if(function(e){if(!$n||!e||"object"!==a(e))return!1;try{$n.call(e,$n);try{Xn.call(e,Xn)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Fo("WeakMap");if(function(e){if(!Xn||!e||"object"!==a(e))return!1;try{Xn.call(e,Xn);try{$n.call(e,$n)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Fo("WeakSet");if(function(e){if(!Qn||!e||"object"!==a(e))return!1;try{return Qn.call(e),!0}catch(e){}return!1}(t))return Fo("WeakRef");if(function(e){return"[object Number]"===No(e)&&Po(e)}(t))return Do(y(Number(t)));if(function(e){if(!e||"object"!==a(e)||!fo)return!1;try{return fo.call(e),!0}catch(e){}return!1}(t))return Do(y(fo.call(t)));if(function(e){return"[object Boolean]"===No(e)&&Po(e)}(t))return Do(Yn.call(t));if(function(e){return"[object String]"===No(e)&&Po(e)}(t))return Do(y(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===No(e)&&Po(e)}(t)&&!To(t)){var j=Wo(t,y),A=bo?bo(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",k=!A&&vo&&Object(t)===t&&vo in t?ro.call(No(t),8,-1):E?"Object":"",P=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(k||E?"["+co.call(uo.call([],k||[],E||[]),": ")+"] ":"");return 0===j.length?P+"{}":p?P+"{"+qo(j,p)+"}":P+"{ "+co.call(j,", ")+" }"}return String(t)};function Eo(e,t,r){var n=So[r.quoteStyle||t];return n+e+n}function ko(e){return no.call(String(e),/"/g,"&quot;")}function Po(e){return!vo||!("object"===a(e)&&(vo in e||void 0!==e[vo]))}function Ro(e){return"[object Array]"===No(e)&&Po(e)}function To(e){return"[object RegExp]"===No(e)&&Po(e)}function _o(e){if(ho)return e&&"object"===a(e)&&e instanceof Symbol;if("symbol"===a(e))return!0;if(!e||"object"!==a(e)||!yo)return!1;try{return yo.call(e),!0}catch(e){}return!1}var Lo=Object.prototype.hasOwnProperty||function(e){return e in this};function Co(e,t){return Lo.call(e,t)}function No(e){return Zn.call(e)}function Io(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 Uo(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Uo(ro.call(e,0,t.maxStringLength),t)+n}var o=jo[t.quoteStyle||"single"];return o.lastIndex=0,Eo(no.call(no.call(e,o,"\\$1"),/[\x00-\x1f]/g,Bo),"single",t)}function Bo(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":"")+oo.call(t.toString(16))}function Do(e){return"Object("+e+")"}function Fo(e){return e+" { ? }"}function Mo(e,t,r,n){return e+" ("+t+") {"+(n?qo(r,n):co.call(r,", "))+"}"}function qo(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+co.call(e,","+r)+"\n"+t.prev}function Wo(e,t){var r=Ro(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=Co(e,o)?t(e[o],e):""}var i,a="function"==typeof po?po(e):[];if(ho){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in e)Co(e,c)&&(r&&String(Number(c))===c&&c<e.length||ho&&i["$"+c]instanceof Symbol||(ao.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof po)for(var s=0;s<a.length;s++)mo.call(e,a[s])&&n.push("["+t(a[s])+"]: "+t(e[a[s]],e));return n}var zo=Ao,Ho=Fn,Ko=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},Go=Object,Jo=Error,Vo=EvalError,$o=RangeError,Xo=ReferenceError,Qo=SyntaxError,Yo=URIError,Zo=Math.abs,ei=Math.floor,ti=Math.max,ri=Math.min,ni=Math.pow,oi=Math.round,ii=Number.isNaN||function(e){return e!=e},ai=Object.getOwnPropertyDescriptor;if(ai)try{ai([],"length")}catch(e){ai=null}var ui=ai,ci=Object.defineProperty||!1;if(ci)try{ci({},"a",{value:1})}catch(e){ci=!1}var si,li,fi,pi,yi,di,hi,vi,mi,bi,gi,wi,Oi,xi,Si,ji,Ai=ci;function Ei(){return di?yi:(di=1,yi="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function ki(){return vi?hi:(vi=1,hi=Go.getPrototypeOf||null)}function Pi(){if(bi)return mi;bi=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};return mi=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),u=t(0,o.length-a.length),c=[],s=0;s<u;s++)c[s]="$"+s;if(i=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},mi}function Ri(){if(wi)return gi;wi=1;var e=Pi();return gi=Function.prototype.bind||e}function Ti(){return xi?Oi:(xi=1,Oi=Function.prototype.call)}function _i(){return ji?Si:(ji=1,Si=Function.prototype.apply)}var Li,Ci,Ni,Ii,Ui,Bi,Di,Fi="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Mi=Ri(),qi=_i(),Wi=Ti(),zi=Fi||Mi.call(Wi,qi),Hi=Ri(),Ki=Fn,Gi=Ti(),Ji=zi,Vi=function(e){if(e.length<1||"function"!=typeof e[0])throw new Ki("a function is required");return Ji(Hi,Gi,e)},$i=Go,Xi=Jo,Qi=Vo,Yi=$o,Zi=Xo,ea=Qo,ta=Fn,ra=Yo,na=Zo,oa=ei,ia=ti,aa=ri,ua=ni,ca=oi,sa=Function,la=function(e){try{return sa('"use strict"; return ('+e+").constructor;")()}catch(e){}},fa=ui,pa=Ai,ya=function(){throw new ta},da=fa?function(){try{return ya}catch(e){try{return fa(arguments,"callee").get}catch(e){return ya}}}():ya,ha=function(){if(pi)return fi;pi=1;var e="undefined"!=typeof Symbol&&Symbol,t=li?si:(li=1,si=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===a(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return fi=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"===a(e("foo"))&&"symbol"===a(Symbol("bar"))&&t()}}()(),va=function(){if(Ii)return Ni;Ii=1;var e=Ei(),t=ki(),r=function(){if(Ci)return Li;Ci=1;var e,t=Vi,r=ui;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!==a(e)||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return Li=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return Ni=e?function(t){return e(t)}:t?function(e){if(!e||"object"!==a(e)&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),ma=ki(),ba=Ei(),ga=_i(),wa=Ti(),Oa={},xa="undefined"!=typeof Uint8Array&&va?va(Uint8Array):Di,Sa={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Di:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Di:ArrayBuffer,"%ArrayIteratorPrototype%":ha&&va?va([][Symbol.iterator]()):Di,"%AsyncFromSyncIteratorPrototype%":Di,"%AsyncFunction%":Oa,"%AsyncGenerator%":Oa,"%AsyncGeneratorFunction%":Oa,"%AsyncIteratorPrototype%":Oa,"%Atomics%":"undefined"==typeof Atomics?Di:Atomics,"%BigInt%":"undefined"==typeof BigInt?Di:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Di:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Di:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Di:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Xi,"%eval%":eval,"%EvalError%":Qi,"%Float16Array%":"undefined"==typeof Float16Array?Di:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?Di:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Di:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Di:FinalizationRegistry,"%Function%":sa,"%GeneratorFunction%":Oa,"%Int8Array%":"undefined"==typeof Int8Array?Di:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Di:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Di:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ha&&va?va(va([][Symbol.iterator]())):Di,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":a(JSON))?JSON:Di,"%Map%":"undefined"==typeof Map?Di:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ha&&va?va((new Map)[Symbol.iterator]()):Di,"%Math%":Math,"%Number%":Number,"%Object%":$i,"%Object.getOwnPropertyDescriptor%":fa,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Di:Promise,"%Proxy%":"undefined"==typeof Proxy?Di:Proxy,"%RangeError%":Yi,"%ReferenceError%":Zi,"%Reflect%":"undefined"==typeof Reflect?Di:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Di:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ha&&va?va((new Set)[Symbol.iterator]()):Di,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Di:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ha&&va?va(""[Symbol.iterator]()):Di,"%Symbol%":ha?Symbol:Di,"%SyntaxError%":ea,"%ThrowTypeError%":da,"%TypedArray%":xa,"%TypeError%":ta,"%Uint8Array%":"undefined"==typeof Uint8Array?Di:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Di:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Di:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Di:Uint32Array,"%URIError%":ra,"%WeakMap%":"undefined"==typeof WeakMap?Di:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Di:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Di:WeakSet,"%Function.prototype.call%":wa,"%Function.prototype.apply%":ga,"%Object.defineProperty%":pa,"%Object.getPrototypeOf%":ma,"%Math.abs%":na,"%Math.floor%":oa,"%Math.max%":ia,"%Math.min%":aa,"%Math.pow%":ua,"%Math.round%":ca,"%Math.sign%":function(e){return ii(e)||0===e?e:e<0?-1:1},"%Reflect.getPrototypeOf%":ba};if(va)try{null.error}catch(e){var ja=va(va(e));Sa["%Error.prototype%"]=ja}var Aa=function e(t){var r;if("%AsyncFunction%"===t)r=la("async function () {}");else if("%GeneratorFunction%"===t)r=la("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=la("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&va&&(r=va(o.prototype))}return Sa[t]=r,r},Ea={__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"]},ka=Ri(),Pa=function(){if(Bi)return Ui;Bi=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Ri();return Ui=r.call(e,t)}(),Ra=ka.call(wa,Array.prototype.concat),Ta=ka.call(ga,Array.prototype.splice),_a=ka.call(wa,String.prototype.replace),La=ka.call(wa,String.prototype.slice),Ca=ka.call(wa,RegExp.prototype.exec),Na=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ia=/\\(\\)?/g,Ua=function(e,t){var r,n=e;if(Pa(Ea,n)&&(n="%"+(r=Ea[n])[0]+"%"),Pa(Sa,n)){var o=Sa[n];if(o===Oa&&(o=Aa(n)),void 0===o&&!t)throw new ta("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new ea("intrinsic "+e+" does not exist!")},Ba=function(e,t){if("string"!=typeof e||0===e.length)throw new ta("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new ta('"allowMissing" argument must be a boolean');if(null===Ca(/^%?[^%]*%?$/,e))throw new ea("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=La(e,0,1),r=La(e,-1);if("%"===t&&"%"!==r)throw new ea("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new ea("invalid intrinsic syntax, expected opening `%`");var n=[];return _a(e,Na,(function(e,t,r,o){n[n.length]=r?_a(o,Ia,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=Ua("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Ta(r,Ra([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=La(f,0,1),y=La(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new ea("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),Pa(Sa,i="%"+(n+="."+f)+"%"))a=Sa[i];else if(null!=a){if(!(f in a)){if(!t)throw new ta("base intrinsic for "+e+" exists, but the property is not available.");return}if(fa&&s+1>=r.length){var d=fa(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=Pa(a,f),a=a[f];l&&!u&&(Sa[i]=a)}}return a},Da=Ba,Fa=Vi,Ma=Fa([Da("%String.prototype.indexOf%")]),qa=function(e,t){var r=Da(e,!!t);return"function"==typeof r&&Ma(e,".prototype.")>-1?Fa([r]):r},Wa=qa,za=Ao,Ha=Fn,Ka=Ba("%Map%",!0),Ga=Wa("Map.prototype.get",!0),Ja=Wa("Map.prototype.set",!0),Va=Wa("Map.prototype.has",!0),$a=Wa("Map.prototype.delete",!0),Xa=Wa("Map.prototype.size",!0),Qa=!!Ka&&function(){var e,t={assert:function(e){if(!t.has(e))throw new Ha("Side channel does not contain "+za(e))},delete:function(t){if(e){var r=$a(e,t);return 0===Xa(e)&&(e=void 0),r}return!1},get:function(t){if(e)return Ga(e,t)},has:function(t){return!!e&&Va(e,t)},set:function(t,r){e||(e=new Ka),Ja(e,t,r)}};return t},Ya=qa,Za=Ao,eu=Qa,tu=Fn,ru=Ba("%WeakMap%",!0),nu=Ya("WeakMap.prototype.get",!0),ou=Ya("WeakMap.prototype.set",!0),iu=Ya("WeakMap.prototype.has",!0),au=Ya("WeakMap.prototype.delete",!0),uu=Fn,cu=Ao,su=(ru?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new tu("Side channel does not contain "+Za(e))},delete:function(r){if(ru&&r&&("object"===a(r)||"function"==typeof r)){if(e)return au(e,r)}else if(eu&&t)return t.delete(r);return!1},get:function(r){return ru&&r&&("object"===a(r)||"function"==typeof r)&&e?nu(e,r):t&&t.get(r)},has:function(r){return ru&&r&&("object"===a(r)||"function"==typeof r)&&e?iu(e,r):!!t&&t.has(r)},set:function(r,n){ru&&r&&("object"===a(r)||"function"==typeof r)?(e||(e=new ru),ou(e,r,n)):eu&&(t||(t=eu()),t.set(r,n))}};return r}:eu)||Qa||function(){var e,t={assert:function(e){if(!t.has(e))throw new Ho("Side channel does not contain "+zo(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return Ko(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=Ko(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!Ko(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=Ko(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},lu=function(){var e,t={assert:function(e){if(!t.has(e))throw new uu("Side channel does not contain "+cu(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=su()),e.set(t,r)}};return t},fu=String.prototype.replace,pu=/%20/g,yu="RFC3986",du={default:yu,formatters:{RFC1738:function(e){return fu.call(e,pu,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:yu},hu=du,vu=Object.prototype.hasOwnProperty,mu=Array.isArray,bu=lu(),gu=function(e,t){return bu.set(e,t),e},wu=function(e){return bu.has(e)},Ou=function(e){return bu.get(e)},xu=function(e,t){bu.set(e,t)},Su=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),ju=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},Au=1024,Eu={arrayToObject:ju,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t,r,n){if(wu(e)){var o=Ou(e)+1;return e[o]=t,xu(e,o),e}var i=[].concat(e,t);return i.length>r?gu(ju(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],u=Object.keys(i),c=0;c<u.length;++c){var s=u[c],l=i[s];"object"===a(l)&&null!==l&&-1===r.indexOf(l)&&(t[t.length]={obj:i,prop:s},r[r.length]=l)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(mu(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"===a(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 u="",c=0;c<i.length;c+=Au){for(var s=i.length>=Au?i.slice(c,c+Au):i,l=[],f=0;f<s.length;++f){var p=s.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===hu.RFC1738&&(40===p||41===p)?l[l.length]=s.charAt(f):p<128?l[l.length]=Su[p]:p<2048?l[l.length]=Su[192|p>>6]+Su[128|63&p]:p<55296||p>=57344?l[l.length]=Su[224|p>>12]+Su[128|p>>6&63]+Su[128|63&p]:(p=65536+((1023&p)<<10|1023&s.charCodeAt(f+=1)),l[l.length]=Su[240|p>>18]+Su[128|p>>12&63]+Su[128|p>>6&63]+Su[128|63&p])}u+=l.join("")}return u},isBuffer:function(e){return!(!e||"object"!==a(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:wu,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:gu,maybeMap:function(e,t){if(mu(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!==a(r)&&"function"!=typeof r){if(mu(t)){var o=t.length;if(n&&"number"==typeof n.arrayLimit&&o>n.arrayLimit)return gu(ju(t.concat(r),n),o);t[o]=r}else{if(!t||"object"!==a(t))return[t,r];if(wu(t)){var i=Ou(t)+1;t[i]=r,xu(t,i)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!vu.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!==a(t)){if(wu(r)){for(var u=Object.keys(r),c=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},s=0;s<u.length;s++)c[parseInt(u[s],10)+1]=r[u[s]];return gu(c,Ou(r)+1)}var l=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&l.length>n.arrayLimit?gu(ju(l,n),l.length-1):l}var f=t;return mu(t)&&!mu(r)&&(f=ju(t,n)),mu(t)&&mu(r)?(r.forEach((function(r,o){if(vu.call(t,o)){var i=t[o];i&&"object"===a(i)&&r&&"object"===a(r)?t[o]=e(i,r,n):t[t.length]=r}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];if(t[o]=vu.call(t,o)?e(t[o],i,n):i,wu(r)&&!wu(t)&&gu(t,Ou(r)),wu(t)){var a=parseInt(o,10);String(a)===o&&a>=0&&a>Ou(t)&&xu(t,a)}return t}),f)}},ku=lu,Pu=Eu,Ru=du,Tu=Object.prototype.hasOwnProperty,_u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Lu=Array.isArray,Cu=Array.prototype.push,Nu=function(e,t){Cu.apply(e,Lu(t)?t:[t])},Iu=Date.prototype.toISOString,Uu=Ru.default,Bu={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Pu.encode,encodeValuesOnly:!1,filter:void 0,format:Uu,formatter:Ru.formatters[Uu],indices:!1,serializeDate:function(e){return Iu.call(e)},skipNulls:!1,strictNullHandling:!1},Du={},Fu=function e(t,r,n,o,i,u,c,s,l,f,p,y,d,h,v,m,b,g){for(var w,O=t,x=g,S=0,j=!1;void 0!==(x=x.get(Du))&&!j;){var A=x.get(t);if(S+=1,void 0!==A){if(A===S)throw new RangeError("Cyclic object value");j=!0}void 0===x.get(Du)&&(S=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=d(O):"comma"===n&&Lu(O)&&(O=Pu.maybeMap(O,(function(e){return e instanceof Date?d(e):e}))),null===O){if(u)return l&&!m?l(r,Bu.encoder,b,"key",h):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===a(w)||"bigint"==typeof w||Pu.isBuffer(O))return l?[v(m?r:l(r,Bu.encoder,b,"key",h))+"="+v(l(O,Bu.encoder,b,"value",h))]:[v(r)+"="+v(String(O))];var E,k=[];if(void 0===O)return k;if("comma"===n&&Lu(O))m&&l&&(O=Pu.maybeMap(O,l)),E=[{value:O.length>0?O.join(",")||null:void 0}];else if(Lu(f))E=f;else{var P=Object.keys(O);E=p?P.sort(p):P}var R=s?String(r).replace(/\./g,"%2E"):String(r),T=o&&Lu(O)&&1===O.length?R+"[]":R;if(i&&Lu(O)&&0===O.length)return T+"[]";for(var _=0;_<E.length;++_){var L=E[_],C="object"===a(L)&&L&&void 0!==L.value?L.value:O[L];if(!c||null!==C){var N=y&&s?String(L).replace(/\./g,"%2E"):String(L),I=Lu(O)?"function"==typeof n?n(T,N):T:T+(y?"."+N:"["+N+"]");g.set(t,S);var U=ku();U.set(Du,g),Nu(k,e(C,I,n,o,i,u,c,s,"comma"===n&&m&&Lu(O)?null:l,f,p,y,d,h,v,m,b,U))}}return k},Mu=Eu,qu=Object.prototype.hasOwnProperty,Wu=Array.isArray,zu={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Mu.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},Hu=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},Ku=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},Gu=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&qu.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&qu.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var u=0;null!==(o=n.exec(r))&&u<t.depth;){u+=1;var c=o[1].slice(1,-1);if(!t.plainObjects&&qu.call(Object.prototype,c)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:Ku(t,r,o),u=e.length-1;u>=0;--u){var c,s=e[u];if("[]"===s&&r.parseArrays)c=Mu.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:Mu.combine([],a,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),y=!isNaN(p)&&s!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(y&&p<r.arrayLimit)(c=[])[p]=a;else{if(y&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");y?(c[p]=a,Mu.markOverflow(c,p)):"__proto__"!==f&&(c[f]=a)}else c={0:a}}a=c}return a}(o,t,r,n)}},Ju=j({formats:du,parse:function(e,t){var r=function(e){if(!e)return zu;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&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?zu.charset:e.charset,r=void 0===e.duplicates?zu.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||zu.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:zu.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:zu.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:zu.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:zu.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:zu.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:zu.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:zu.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:zu.decoder,delimiter:"string"==typeof e.delimiter||Mu.isRegExp(e.delimiter)?e.delimiter:zu.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:zu.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:zu.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:zu.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:zu.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:zu.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:zu.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:zu.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded?o+1:o);if(t.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,u=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?c="utf-8":"utf8=%26%2310003%3B"===i[a]&&(c="iso-8859-1"),u=a,a=i.length);for(a=0;a<i.length;++a)if(a!==u){var s,l,f=i[a],p=f.indexOf("]="),y=-1===p?f.indexOf("="):p+1;if(-1===y?(s=t.decoder(f,zu.decoder,c,"key"),l=t.strictNullHandling?null:""):null!==(s=t.decoder(f.slice(0,y),zu.decoder,c,"key"))&&(l=Mu.maybeMap(Ku(f.slice(y+1),t,Wu(r[s])?r[s].length:0),(function(e){return t.decoder(e,zu.decoder,c,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===c&&(l=Hu(String(l))),f.indexOf("[]=")>-1&&(l=Wu(l)?[l]:l),t.comma&&Wu(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=Mu.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==s){var d=qu.call(r,s);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[s]=Mu.combine(r[s],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[s]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=Gu(u,n[u],r,"string"==typeof e);o=Mu.merge(o,c,r)}return!0===r.allowSparse?o:Mu.compact(o)},stringify:function(e,t){var r,n=e,o=function(e){if(!e)return Bu;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&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||Bu.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=Ru.default;if(void 0!==e.format){if(!Tu.call(Ru.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=Ru.formatters[r],i=Bu.filter;if(("function"==typeof e.filter||Lu(e.filter))&&(i=e.filter),n=e.arrayFormat in _u?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":Bu.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Bu.addQueryPrefix,allowDots:void 0===e.allowDots?!0===e.encodeDotInKeys||Bu.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Bu.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Bu.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?Bu.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Bu.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:Bu.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:Bu.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Bu.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Bu.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Bu.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Bu.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):Lu(o.filter)&&(r=o.filter);var i=[];if("object"!==a(n)||null===n)return"";var u=_u[o.arrayFormat],c="comma"===u&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var s=ku(),l=0;l<r.length;++l){var f=r[l],p=n[f];o.skipNulls&&null===p||Nu(i,Fu(p,f,u,c,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,s))}var y=i.join(o.delimiter),d=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(d+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),y.length>0?d+y:""}});function Vu(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 $u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Xu=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Qu(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 Yu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qu(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zu(e,t){var n=function(e){var t=$u($u({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){"error"===e&&t&&[t.name,t.message].filter((function(e){return e})).join(" - ")},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),e);if(!t.accessToken){var r=new TypeError("Expected parameter accessToken");throw t.logHandler("error",r),r}var n=t.insecure?"http":"https",o=t.space?"".concat(t.space,"/"):"",i=t.defaultHostname,a=t.insecure?80:443;if(t.host&&Xu.test(t.host)){var u=t.host.split(":");if(2===u.length){var c=b(u,2);i=c[0],a=c[1]}else i=u[0]}t.basePath&&(t.basePath="/".concat(t.basePath.split("/").filter(Boolean).join("/")));var s=e.baseURL||"".concat(n,"://").concat(i,":").concat(a).concat(t.basePath,"/spaces/").concat(o);return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:s,headers:t.headers,httpAgent:t.httpAgent,httpsAgent:t.httpsAgent,proxy:t.proxy,timeout:t.timeout,adapter:t.adapter,fetchOptions:t.fetchOptions,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:function(e){return Ju.stringify(e)}},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),o=e.create(n);return o.httpClientParams=t,o.cloneWithNewParams=function(r){return Zu(e,Yu(Yu({},function(e){var t=Zr(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}(t)),r))},t.onBeforeRequest&&o.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((function(t){return e.headers.set("Authorization","Bearer ".concat(t)),e}))}))}(o,t.accessToken),t.throttle&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=e.defaults.logHandler,n=void 0===r?hn:r,o=_n(t)?Bn(t):Bn("auto",t),i=Dn(o,n),a=!1,u=e.interceptors.request.use((function(e){return i((function(){return e}))()}),(function(e){return Promise.reject(e)}));e.interceptors.response.use((function(r){if(!a&&_n(t)&&("auto"===t||Un.test(t))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=Bn(t,c);s!==o&&(u&&e.interceptors.request.eject(u),o=s,i=Dn(s,n),u=e.interceptors.request.use((function(e){return i((function(){return e}))()}),(function(e){return Promise.reject(e)}))),a=!0}return r}),(function(e){return Promise.reject(e)}))}(o,t.throttle),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.defaults,o=n.responseLogger,i=void 0===o?hn:o,a=n.requestLogger,u=void 0===a?hn:a;e.interceptors.request.use((function(e){return u(e),e}),(function(e){return u(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return i(e),e}),function(){var n=r(V.mark((function r(n){var o,a,u,c,s;return V.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=n.response,a=n.config,i(n),a&&e.defaults.retryOnError){r.next=5;break}return r.abrupt("return",Promise.reject(n));case 5:if(!((u=a.attempts||1)>t)){r.next=9;break}return n.attempts=a.attempts,r.abrupt("return",Promise.reject(n));case 9:if(c=null,s=Math.pow(Math.SQRT2,u),o?o.status>=500&&o.status<600?c="Server ".concat(o.status):429===o.status&&(c="Rate limit",o.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(s=o.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){r.next=19;break}return s=Math.floor(1e3*s+200*Math.random()+500),e.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(s," ms before retrying...")),a.attempts=u+1,delete a.httpAgent,delete a.httpsAgent,r.abrupt("return",vn(s).then((function(){return e(a)})));case 19:return r.abrupt("return",Promise.reject(n));case 20:case"end":return r.stop()}}),r)})));return function(e){return n.apply(this,arguments)}}())}(o,t.retryLimit),t.onError&&o.interceptors.response.use((function(e){return e}),t.onError),o}function ec(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Zr(t),r}function tc(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 rc(e){var t,r=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return tc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tc(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(Object.getOwnPropertyNames(e));try{for(r.s();!(t=r.n()).done;){var n=e[t.value];n&&"object"===a(n)&&rc(n)}}catch(e){r.e(e)}finally{r.f()}return Object.freeze(e)}function nc(){var e=window;if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function oc(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Zr(this)}})}var ic,ac,uc=(ic=Object.getPrototypeOf,ac=Object,function(e){return ic(ac(e))}),cc=En,sc=uc,lc=kn,fc=Function.prototype.toString,pc=Object.prototype.hasOwnProperty,yc=fc.call(Object),dc=j((function(e){if(!lc(e)||"[object Object]"!=cc(e))return!1;var t=sc(e);if(null===t)return!0;var r=pc.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&fc.call(r)==yc}));function hc(e){var t,r=e.config,n=e.response;if(function(e){var t,r;if(null!=e&&null!==(t=e.headers)&&void 0!==t&&t.Authorization){var n="...".concat(e.headers.Authorization.toString().substr(-5));e.headers.Authorization="Bearer ".concat(n)}if(null!=e&&null!==(r=e.headers)&&void 0!==r&&r["X-Contentful-Resource-Resolution"]){var o="...".concat(e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5));e.headers["X-Contentful-Resource-Resolution"]=o}}(r),!dc(n)||!dc(r))throw e;var o,i=null==n?void 0:n.data,u={status:null==n?void 0:n.status,statusText:null==n?void 0:n.statusText,message:"",details:{}};r&&dc(r)&&(u.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),i&&"object"===a(i)&&("requestId"in i&&(u.requestId=i.requestId||"UNKNOWN"),"message"in i&&(u.message=i.message||""),"details"in i&&(u.details=i.details||{}),t=null===(o=i.sys)||void 0===o?void 0:o.id);var c=new Error;c.name=t&&"Unknown"!==t?t:"".concat(null==n?void 0:n.status," ").concat(null==n?void 0:n.statusText);try{c.message=JSON.stringify(u,null," ")}catch(e){var s;c.message=null!==(s=null==u?void 0:u.message)&&void 0!==s?s:""}throw c}function vc(e){return function(t){return Object.assign({},e,t)}}function mc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return bc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bc(e,t):void 0}}(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function bc(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}var gc,wc,Oc,xc,Sc={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},jc={0:8203,1:8204,2:8205,3:65279},Ac=new Array(4).fill(String.fromCodePoint(jc[0])).join("");function Ec(e,t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return!0===r||"auto"===r&&(function(e){return!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)||!Date.parse(e))}(e)||function(e){try{e.startsWith("/")}catch(e){return!1}return!0}(e))?e:"".concat(e).concat(function(e){var t=JSON.stringify(e);return"".concat(Ac).concat(Array.from(t).map((function(e){var r=e.charCodeAt(0);if(r>255)throw new Error("Only ASCII edit info can be encoded. Error attempting to encode ".concat(t," on character ").concat(e," (").concat(r,")"));return Array.from(r.toString(4).padStart(4,"0")).map((function(e){return String.fromCodePoint(jc[e])})).join("")})).join(""))}(t))}(e,t)}Object.fromEntries(Object.entries(jc).map((function(e){return e.reverse()}))),Object.fromEntries(Object.entries(Sc).map((function(e){return e.reverse()}))),"".concat(Object.values(Sc).map((function(e){return"\\u{".concat(e.toString(16),"}")})).join(""));var kc=function(){if(xc)return Oc;xc=1;var e=function(){if(wc)return gc;wc=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return gc=function(r,n,o){if("[object Function]"!==t.call(n))throw new TypeError("iterator must be a function");var i=r.length;if(i===+i)for(var a=0;a<i;a++)n.call(o,r[a],a,r);else for(var u in r)e.call(r,u)&&n.call(o,r[u],u,r)}}();function t(e,r,n){if(3===arguments.length)return t.set(e,r,n);if(2===arguments.length)return t.get(e,r);var o=t.bind(t,e);for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i].bind(o,e));return o}return Oc=t,t.get=function(e,r){for(var n=Array.isArray(r)?r:t.parse(r),o=0;o<n.length;++o){var i=n[o];if("object"!=a(e)||!(i in e))throw new Error("Invalid reference token: "+i);e=e[i]}return e},t.set=function(e,r,n){var o=Array.isArray(r)?r:t.parse(r),i=o[0];if(0===o.length)throw Error("Can not set the root object");for(var a=0;a<o.length-1;++a){var u=o[a];"string"!=typeof u&&"number"!=typeof u&&(u=String(u)),"__proto__"!==u&&"constructor"!==u&&"prototype"!==u&&("-"===u&&Array.isArray(e)&&(u=e.length),i=o[a+1],u in e||(e[u]=i.match(/^(\d+|-)$/)?[]:{}),e=e[u])}return"-"===i&&Array.isArray(e)&&(i=e.length),e[i]=n,this},t.remove=function(e,r){var n=Array.isArray(r)?r:t.parse(r),o=n[n.length-1];if(void 0===o)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var i=t.get(e,n.slice(0,-1));if(Array.isArray(i)){var a=+o;if(""===o&&isNaN(a))throw new Error('Invalid array index: "'+o+'"');Array.prototype.splice.call(i,a,1)}else delete i[o]},t.dict=function(e,r){var n={};return t.walk(e,(function(e,t){n[t]=e}),r),n},t.walk=function(r,n,o){var i=[];o=o||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function r(a){e(a,(function(e,a){i.push(String(a)),o(e)?r(e):n(e,t.compile(i)),i.pop()}))}(r)},t.has=function(e,r){try{t.get(e,r)}catch(e){return!1}return!0},t.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},t.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},t.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(t.unescape)},t.compile=function(e){return 0===e.length?"":"/"+e.map(t.escape).join("/")},Oc}(),Pc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=kc.get(e,t);if(function(e){return"content"in e&&!!e.content}(n))for(var o=0;o<n.content.length;o++)"text"===n.content[o].nodeType?r.push("".concat(t,"/content/").concat(o,"/value")):r.push.apply(r,i(Pc(e,"".concat(t,"/content/").concat(o))));return r},Rc=function(e){var t=e.entityId,r=e.entityType,n=e.space,o=e.environment,i=e.field,a=e.locale,u=e.editorInterface,c=e.fieldType,s=e.platform,l={origin:"contentful.com",href:"".concat("".concat(e.targetOrigin||"https://app.contentful.com","/spaces/").concat(n,"/environments/").concat(o),"/","Entry"===r?"entries":"assets","/").concat(t,"/?focusedField=").concat(i,"&focusedLocale=").concat(a,"&source=vercel-content-link"),contentful:{editorInterface:u,fieldType:c}};return"vercel"===s&&delete l.contentful,l},Tc=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function _c(e,t,r,n,o,i,a){var u=a?t[a]:t;switch(e){case"Symbol":var c=Ec(u,r);kc.set(n,o,c);break;case"Text":var s=Ec(u,r);kc.set(n,o,s);break;case"RichText":!function(e){var t=e.pointer,r=e.mappings,n=e.data,o=e.hiddenStrings,i=r[t];if(i){delete r[t];var a,u=mc(Pc(n,t));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=Ec(kc.get(n,c),o);kc.set(n,c,s)}}catch(e){u.e(e)}finally{u.f()}}else{var l,f=mc(Pc(n,t));try{for(f.s();!(l=f.n()).done;){var p=l.value,y=Ec(kc.get(n,p),o);kc.set(n,p,y)}}catch(e){f.e(e)}finally{f.f()}}}({pointer:"",mappings:i,data:u,hiddenStrings:r});break;case"Array":var l=u.map((function(e){return"string"==typeof e?Ec(e,r):e}));kc.set(n,o,l)}}var Lc=function(e,t,r,n,o){if(e.fields){var i=e.sys.contentSourceMaps;if(i){var a,u=i.mappings,c=function(){var i=u[s].source,a=e.sys.space.sys.id,c=e.sys.environment.sys.id,l=e.sys.id,f=e.sys.type,p=t[i.fieldType],y=r[i.editorInterface];if(function(e){return["builtin","sidebar-builtin","editor-builtin"].includes(e)}(y.widgetNamespace)&&!function(e){return Tc.includes(e)}(y.widgetId))return 0;var d=s.startsWith("/")?s:"/".concat(s);if(kc.has(e,d)){var h=kc.get(e,d);if(null===h)return{v:void 0};var v=d.split("/").pop();if(!v)return{v:void 0};var m=e.sys.locale;if(m){var b=Rc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:m,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});_c(p,h,b,e,d,u)}else Object.keys(h).forEach((function(t){var r=Rc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:t,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});_c(p,h,r,e,"".concat(d,"/").concat(t),u,t)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},Cc="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)};function Nc(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var Ic={},Uc=function(e,t){var r=t.entryId,n=t.linkType,o=t.spaceId,i=t.environmentId;return e.get(o&&i?o+"!"+i+"!"+n+"!"+r:n+"!"+r)},Bc=function e(t,r,n,o){if(r(t))return n(t);if(t&&"object"===(void 0===t?"undefined":Cc(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],r,n,o));o&&(t=function(e){if(Array.isArray(e))return e.filter((function(e){return e!==Ic}));for(var t in e)e[t]===Ic&&delete e[t];return e}(t))}return t},Dc=function(e,t){if(t=t||{},!e.items)return[];var r=Zr(e),n=Object.keys(r.includes||{}).reduce((function(t,r){return[].concat(Nc(t),Nc(e.includes[r]))}),[]),o=[].concat(Nc(r.items),Nc(n)).filter((function(e){return Boolean(e.sys)})),i=new Map(o.reduce((function(e,t){var r,n=(r=t.sys,r.space&&r.environment?[r.type+"!"+r.id,r.space.sys.id+"!"+r.environment.sys.id+"!"+r.type+"!"+r.id]:[r.type+"!"+r.id]).map((function(e){return[e,t]}));return e.push.apply(e,Nc(n)),e}),[]));return o.forEach((function(e){var r=function(e,t){return Array.isArray(t)?Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,r){return t[r]=e[r],t}),{}):e}(e,t.itemEntryPoints);Object.assign(e,Bc(r,(function(e){return(t=e)&&t.sys&&"Link"===t.sys.type||function(e){return e&&e.sys&&"ResourceLink"===e.sys.type}(e);var t}),(function(e){return function(e,t,r){var n=function(e,t){var r=t.sys,n=r.linkType;if("ResourceLink"===r.type){if(!n.startsWith("Contentful:"))return t;var o=function(e){var t=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(t.test(e)){var r=function(e){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e){var t=[],r=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(t.push(i.value),4!==t.length);r=!0);}catch(e){n=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw o}}return t}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.match(t)),n=r[2];return{spaceId:r[1],environmentId:void 0===n?"master":n,entryId:r[3]}}}(t.sys.urn),i=o.spaceId,a=o.environmentId,u=o.entryId,c=n.split(":")[1];return Uc(e,{linkType:c,entryId:u,spaceId:i,environmentId:a})||Ic}return Uc(e,{linkType:n,entryId:t.sys.id})||Ic}(e,t);return n===Ic?r?n:t:n}(i,e,t.removeUnresolved)}),t.removeUnresolved))})),r.items},Fc={exports:{}};!function(e){function t(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,r,n,o){return JSON.stringify(e,t(r,o),n)}).getSerialize=t}(Fc);var Mc=j(Fc.exports);function qc(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Mc(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",(function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}}))}})}function Wc(){return zc.apply(this,arguments)}function zc(){return zc=r(V.mark((function e(t,r,n){var o,i,a,u,c,s;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&(r.initial||r.nextSyncToken||r.nextPageToken)){e.next=2;break}throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");case 2:if(!r.content_type||r.type){e.next=6;break}r.type="Entry",e.next=8;break;case 6:if(!r.content_type||!r.type||"Entry"===r.type){e.next=8;break}throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");case 8:return o=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),i=o.withoutLinkResolution,a=o.withoutUnresolvableLinks,u=o.paginate,e.next=12,Hc(t,[],r,{paginate:u});case 12:return c=e.sent,i||(c.items=Dc(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(e){return function(t,r){return r.sys.type===e&&t.push(oc(r)),t}},s={entries:(f=c.items).reduce(p("Entry"),[]),assets:f.reduce(p("Asset"),[]),deletedEntries:f.reduce(p("DeletedEntry"),[]),deletedAssets:f.reduce(p("DeletedAsset"),[])},c.nextSyncToken&&(s.nextSyncToken=c.nextSyncToken),c.nextPageToken&&(s.nextPageToken=c.nextPageToken),e.abrupt("return",(rc((l=qc(oc(s))).sys||{}),l));case 18:case"end":return e.stop()}var l,f,p}),e)}))),zc.apply(this,arguments)}function Hc(){return Kc.apply(this,arguments)}function Kc(){return(Kc=r(V.mark((function e(t,r,n,o){var i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=o.paginate,a=(c=n).nextPageToken?{sync_token:c.nextPageToken}:c.nextSyncToken?{sync_token:c.nextSyncToken}:c.sync_token?{sync_token:c.sync_token}:c,e.next=4,t.get("sync",ec({query:a}));case 4:if(r=r.concat((u=e.sent.data||{}).items||[]),!u.nextPageUrl){e.next=15;break}if(!i){e.next=12;break}return delete a.initial,a.sync_token=Gc(u.nextPageUrl),e.abrupt("return",Hc(t,r,a,{paginate:i}));case 12:return e.abrupt("return",{items:r,nextPageToken:Gc(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){e.next=19;break}return e.abrupt("return",{items:r,nextSyncToken:Gc(u.nextSyncUrl)});case 19:return e.abrupt("return",{items:[]});case 20:case"end":return e.stop()}var c}),e)})))).apply(this,arguments)}function Gc(e){var t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Jc(e){var t={},r=!1;for(var n in e)Array.isArray(e[n])&&(t[n]=e[n].join(","),r=!0);return r?Object.assign(Object.assign({},e),t):e}function Vc(e){if(!e.select)return new Set;var t=Array.isArray(e.select)?e.select:e.select.split(",").map((function(e){return e.trim()}));return new Set(t)}function $c(e){if(!e.select)return e;var t=Vc(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:i(t).join(",")}))}function Xc(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=qc(e);return r&&(o.items=Dc(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Qc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qc=function(){return!!e})()}var Yc=function(e){function t(e,r){var n,o,i,a;return s(this,t),o=this,i=t,a=['Invalid "'.concat(e,'" provided, ')+r],i=y(i),(n=p(o,Qc()?Reflect.construct(i,a||[],y(o).constructor):i.apply(o,a))).name="ValidationError",n}return h(t,e),f(t)}(m(Error));function Zc(e,t,r){if(r=r||{},"number"!=typeof t)throw new Yc(e,'only numeric values are allowed for timestamps, provided type was "'.concat(a(t),'"'));if(r.maximum&&t>r.maximum)throw new Yc(e,"value (".concat(t,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&t<r.now)throw new Yc(e,"value (".concat(t,") cannot be in the past, current time was ").concat(r.now))}var es=function(e){var t,r,n=null!==(t=null==e?void 0:e.timelinePreview)&&void 0!==t?t:null===(r=null==e?void 0:e.alphaFeatures)||void 0===r?void 0:r.timelinePreview,o=function(e,t){if(void 0===t)return!1;var r=function(e){if("object"!==a(e)||null===e||Array.isArray(e))throw new Yc("timelinePreview","The 'timelinePreview' parameter must be an object.");var t,r,n=!(!(t=e.release)||"object"!==a(t)||"string"!=typeof t.lte),o=!(!(r=e.timestamp)||"object"!==a(r)||!("string"==typeof r.lte||r.lte instanceof Date));if(!n&&!o)throw new Yc("timelinePreview","The 'timelinePreview' object must have at least one of 'release' or 'timestamp' with a valid 'lte' property.");return n||o}(t),n="string"==typeof e&&e.startsWith("preview");if(r&&!n)throw new Yc("timelinePreview","The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to enable Timeline Preview.\n ");return!0}(null==e?void 0:e.host,n);return{enabled:o,timelinePreview:n}};function ts(e,t){t?function(e){if(e.locale)throw new Yc("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new Yc("locale","The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n use client.withAllLocales instead of the locale='*' parameter.")}(e)}function rs(e){if("resolveLinks"in e)throw new Yc("resolveLinks","The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n If you do not want to resolve links, use client.withoutLinkResolution.")}function ns(e){if("removeUnresolved"in e)throw new Yc("removeUnresolved","The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n If you do not want to include unresolved links, use client.withoutUnresolvableLinks.")}function os(e){for(var t in e){var r=e[t];if("object"===a(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(t,'" query parameter.'))}}function is(e){var t=e.pagePrev,r=e.pageNext,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["cursor","pagePrev","pageNext","skip"]);return Object.assign(Object.assign(Object.assign(Object.assign({},n),{cursor:!0}),!!t&&{pagePrev:t}),!!r&&{pageNext:r})}function as(e,t){var r=null==t?void 0:t.split("?")[1];if(r)return new URLSearchParams(r).get(e)}"function"==typeof SuppressedError&&SuppressedError;var us={prev:"pagePrev",next:"pageNext"};function cs(e){for(var t={},r=0,n=Object.entries(us);r<n.length;r++){var o=b(n[r],2),i=o[0],a=as(o[1],e.pages[i]);a&&(t[i]=a)}return Object.assign(Object.assign({},e),{pages:t})}function ss(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ss=function(){return!!e})()}var ls=function(e){function t(e,r,n){var o,i,a,u;return s(this,t),i=this,u=["The resource could not be found."],a=y(a=t),(o=p(i,ss()?Reflect.construct(a,u||[],y(i).constructor):a.apply(i,u))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:e,environment:r,space:n},o}return h(t,e),f(t)}(m(Error));function fs(e,t){var n=e.http,o=e.getGlobalOptions,i=function(){return new ls(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown",o().environment,o().space)},a=function(e){var t="space"===e?o().spaceBaseUrl:o().environmentBaseUrl;if(!t)throw new Error("Please define baseUrl for "+e);return t.endsWith("/")||(t+="/"),t};function u(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.httpClientParams,i=null!==(e=null==o?void 0:o.includeContentSourceMaps)&&void 0!==e?e:null===(t=null==o?void 0:o.alphaFeatures)||void 0===t?void 0:t.includeContentSourceMaps,a=function(e,t){if(void 0===t)return!1;if("boolean"!=typeof t)throw new Yc("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");var r="string"==typeof e&&e.startsWith("preview");if(t&&!r)throw new Yc("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to include Content Source Maps.\n ");return t}(null==o?void 0:o.host,i);if(a&&(r.includeContentSourceMaps=!0,r.select)){var u=Vc(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(e){return es(n.httpClientParams).enabled?"timeline/".concat(e):e}function s(e,t){var r;return(null===(r=null==t?void 0:t.params)||void 0===r?void 0:r.includeContentSourceMaps)?function(e,t,r){var n,o=function(e){if("function"==typeof structuredClone)return structuredClone(e);try{return JSON.parse(JSON.stringify(e))}catch(t){return e}}(e);if(o.sys&&"items"in o){if(null==(n=o.sys)||!n.contentSourceMapsLookup)return o;var i=o.sys.contentSourceMapsLookup,a=i.fieldTypes,u=i.editorInterfaces,c=o.includes;o.items.forEach((function(e){return Lc(e,a,u,t,r)})),c&&c.Entry&&c.Entry.forEach((function(e){return Lc(e,a,u,t,r)})),c&&c.Asset&&c.Asset.forEach((function(e){return Lc(e,a,u,t,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;Lc(o,o.sys.contentSourceMapsLookup.fieldTypes,o.sys.contentSourceMapsLookup.editorInterfaces,t,r)}return o}(e):e}function l(e){return f.apply(this,arguments)}function f(){return(f=r(V.mark((function e(t){var r,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.path,o=t.config,i=a(t.context),e.prev=2,e.next=5,n.get(i+r,o);case 5:return e.abrupt("return",s(e.sent.data,o));case 9:e.prev=9,e.t0=e.catch(2),hc(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function p(e){return y.apply(this,arguments)}function y(){return(y=r(V.mark((function e(t){var r,o,i,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.path,o=t.data,i=t.config,u=a(t.context),e.prev=2,e.next=5,n.post(u+r,o,i);case 5:return e.abrupt("return",e.sent.data);case 9:e.prev=9,e.t0=e.catch(2),hc(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function d(){return(d=r(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"space",path:""}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return(h=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types/".concat(t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return v=r(V.mark((function e(){var t=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types",config:ec({query:t.length>0&&void 0!==t[0]?t[0]:{}})}));case 2:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function m(){return m=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",w(r,n.length>1&&void 0!==n[1]?n[1]:{},t));case 2:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function b(){return b=r(V.mark((function e(){var r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",j(r.length>0&&void 0!==r[0]?r[0]:{},t));case 2:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function g(){return g=r(V.mark((function e(){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,j(is(r),t);case 3:return e.abrupt("return",cs(e.sent));case 5:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function w(e,t){return O.apply(this,arguments)}function O(){return O=r(V.mark((function e(t,r){var n,o,i=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ts(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),rs(r),ns(r),os(r),e.abrupt("return",x(t,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function x(e,t,r){return S.apply(this,arguments)}function S(){return S=r(V.mark((function e(t,r,n){var o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw i(t);case 2:return e.prev=2,e.next=5,k(Object.assign({"sys.id":t},u(r)),n);case 5:if(!((o=e.sent).items.length>0)){e.next=10;break}return e.abrupt("return",o.items[0]);case 10:throw i(t);case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),hc(e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),S.apply(this,arguments)}function j(e){return A.apply(this,arguments)}function A(){return A=r(V.mark((function e(t){var r,n,o=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ts(t,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),rs(t),ns(t),os(t),e.abrupt("return",k(n?Object.assign(Object.assign({},t),{locale:"*"}):t,r));case 7:case"end":return e.stop()}}),e)}))),A.apply(this,arguments)}function E(e){var t=function(e){var t=es(n.httpClientParams),r=t.timelinePreview;return t.enabled&&((null==r?void 0:r.release)&&(e.release=r.release),(null==r?void 0:r.timestamp)&&(e.timestamp=r.timestamp)),e}(Object.assign({},e));return u(Jc($c(t)))}function k(e,t){return P.apply(this,arguments)}function P(){return P=r(V.mark((function e(t,r){var n,o,i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,i=r.withLocaleBasedPublishing,e.prev=1,a=ec({query:E(t)}),u=a,i&&(u.headers=Object.assign(Object.assign({},u.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.next=7,l({context:"environment",path:c("entries"),config:u});case 7:return e.abrupt("return",Xc(e.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 11:e.prev=11,e.t0=e.catch(1),hc(e.t0);case 14:case"end":return e.stop()}}),e,null,[[1,11]])}))),P.apply(this,arguments)}function R(){return R=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",U(r,n.length>1&&void 0!==n[1]?n[1]:{},t));case 2:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function T(){return T=r(V.mark((function e(){var r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",L(r.length>0&&void 0!==r[0]?r[0]:{},t));case 2:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function _(){return _=r(V.mark((function e(){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,L(is(r),t);case 3:return e.abrupt("return",cs(e.sent));case 5:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function L(e){return C.apply(this,arguments)}function C(){return C=r(V.mark((function e(t){var r,n,o,i=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ts(t,n=(r=i.length>1&&void 0!==i[1]?i[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),os(t),o=n?Object.assign(Object.assign({},t),{locale:"*"}):t,e.abrupt("return",D(o,r));case 6:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function N(e,t,r){return I.apply(this,arguments)}function I(){return I=r(V.mark((function e(t,r,n){var o,i,a;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.withLocaleBasedPublishing,e.prev=1,i=ec({query:E(r)}),a=i,o&&(a.headers=Object.assign(Object.assign({},a.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.abrupt("return",l({context:"environment",path:c("assets/".concat(t)),config:a}));case 8:e.prev=8,e.t0=e.catch(1),hc(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),I.apply(this,arguments)}function U(e,t){return B.apply(this,arguments)}function B(){return B=r(V.mark((function e(t,r){var n,o,i,a=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ts(r,o=(n=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),os(r),i=o?Object.assign(Object.assign({},r),{locale:"*"}):r,e.abrupt("return",N(t,i,n));case 6:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function D(e,t){return F.apply(this,arguments)}function F(){return F=r(V.mark((function e(t,r){var n,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withLocaleBasedPublishing,e.prev=1,o=ec({query:E(t)}),i=o,n&&(i.headers=Object.assign(Object.assign({},i.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.abrupt("return",l({context:"environment",path:c("assets"),config:i}));case 8:e.prev=8,e.t0=e.catch(1),hc(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),F.apply(this,arguments)}function M(){return(M=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"tags/".concat(t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(){return q=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return os(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"tags",config:ec({query:Jc($c(t))})}));case 3:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}function W(){return(W=r(V.mark((function e(t){var r;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{r=Math.floor(Date.now()/1e3),Zc("expiresAt",t,{maximum:r+172800,now:r})}catch(e){hc(e)}return e.abrupt("return",p({context:"environment",path:"asset_keys",data:{expiresAt:t}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(){return z=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return os(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"locales",config:ec({query:$c(t)})}));case 3:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function H(){return H=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",K(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},t));case 2:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}function K(e,t){return G.apply(this,arguments)}function G(){return G=r(V.mark((function e(t,r){var o,i,a=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1},rs(t),ns(t),i=Object.assign(Object.assign({},r),o),ee(n),e.abrupt("return",Wc(n,t,i));case 6:case"end":return e.stop()}}),e)}))),G.apply(this,arguments)}function J(){return J=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concept-schemes/".concat(t),config:ec({query:Jc($c(r))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),J.apply(this,arguments)}function $(){return $=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concept-schemes",config:ec({query:Jc($c(t))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),$.apply(this,arguments)}function X(){return X=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t),config:ec({query:Jc($c(r))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),X.apply(this,arguments)}function Q(){return Q=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts",config:ec({query:Jc($c(t))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Q.apply(this,arguments)}function Y(){return Y=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t,"/ancestors"),config:ec({query:Jc($c(r))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Y.apply(this,arguments)}function Z(){return Z=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t,"/descendants"),config:ec({query:Jc($c(r))})}));case 5:e.prev=5,e.t0=e.catch(1),hc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Z.apply(this,arguments)}function ee(e){e.defaults.baseURL=o().environmentBaseUrl}return{version:"0.0.0-determined-by-semantic-release",getSpace:function(){return d.apply(this,arguments)},getContentType:function(e){return h.apply(this,arguments)},getContentTypes:function(){return v.apply(this,arguments)},getAsset:function(e){return R.apply(this,arguments)},getAssets:function(){return T.apply(this,arguments)},getAssetsWithCursor:function(){return _.apply(this,arguments)},getTag:function(e){return M.apply(this,arguments)},getTags:function(){return q.apply(this,arguments)},getLocales:function(){return z.apply(this,arguments)},parseEntries:function(e){return function(e){return function(e,t){var r=t.withoutUnresolvableLinks;return Xc(e,{resolveLinks:!t.withoutLinkResolution,removeUnresolved:null!=r&&r})}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withoutLinkResolution:!1,withoutUnresolvableLinks:!1})}(e,t)},sync:function(e){return H.apply(this,arguments)},getEntry:function(e){return m.apply(this,arguments)},getEntries:function(){return b.apply(this,arguments)},getEntriesWithCursor:function(){return g.apply(this,arguments)},getConceptScheme:function(e){return function(e){return J.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConceptSchemes:function(){return function(){return $.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConcept:function(e){return function(e){return X.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConcepts:function(){return function(){return Q.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConceptAncestors:function(e){return function(e){return Y.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConceptDescendants:function(e){return function(e){return Z.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},createAssetKey:function(e){return W.apply(this,arguments)}}}return e.createClient=function(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");rs(e),ns(e);var t=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=function(e,t,r){var n=[];t&&n.push("app ".concat(t)),r&&n.push("integration ".concat(r)),n.push("sdk ".concat(e));var o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=nc(),n.push("platform ReactNative")):void 0===dn||dn.browser?(o=nc(),n.push("platform browser")):(o=function(){var e=dn.platform||"linux",t=dn.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}(),n.push("platform node.js/".concat(dn.versions&&dn.versions.node?"v".concat(dn.versions.node):dn.version)))}catch(e){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(e){return""!==e})).join("; "),";")}("contentful.js/".concat("0.0.0-determined-by-semantic-release"),t.application,t.integration);t.headers=Object.assign(Object.assign({},t.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=Zu(gr,t);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=vc({space:t.space,environment:t.environment,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:"".concat(n.defaults.baseURL,"environments/").concat(t.environment)});return n.defaults.baseURL=o({}).environmentBaseUrl,function(e){var t=e.http,r=e.getGlobalOptions;function n(e){return function(e,t,r){var n=fs({http:e.http,getGlobalOptions:e.getGlobalOptions},t)||{};return Object.defineProperty(n,"withAllLocales",{get:function(){return r(Object.assign(Object.assign({},t),{withAllLocales:!0}))}}),Object.defineProperty(n,"withoutLinkResolution",{get:function(){return r(Object.assign(Object.assign({},t),{withoutLinkResolution:!0}))}}),Object.defineProperty(n,"withoutUnresolvableLinks",{get:function(){return r(Object.assign(Object.assign({},t),{withoutUnresolvableLinks:!0}))}}),Object.defineProperty(n,"withLocaleBasedPublishing",{get:function(){return r(Object.assign(Object.assign({},t),{withLocaleBasedPublishing:!0}))}}),Object.create(n)}({http:t,getGlobalOptions:r},e,n)}var o=fs({http:t,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0,withLocaleBasedPublishing:!1})},get withLocaleBasedPublishing(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!0})}})}({http:n,getGlobalOptions:o})},e.createGlobalOptions=vc,e}({});
1
+ var contentful=function(e){"use strict";function t(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function n(e){return n="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},n(e)}function o(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function i(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){if(t&&("object"==n(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)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function s(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&&c(e,t)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function f(e){var t="function"==typeof Map?new Map:void 0;return f=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(l())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&c(o,r.prototype),o}(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},f(e)}function p(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 y(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(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 h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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,o(n.key),n)}}function b(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){this.v=e,this.k=t}function w(e){return function(){return new O(e.apply(this,arguments))}}function O(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,u=a instanceof g;Promise.resolve(u?a.v:a).then((function(r){if(u){var c="return"===t?"return":"next";if(!a.k||r.done)return n(c,r);r=e[c](r).value}o(i.done?"return":"normal",r)}),(function(e){n("throw",e)}))}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,o){return new Promise((function(i,a){var u={key:e,arg:o,resolve:i,reject:a,next:null};r?r=r.next=u:(t=r=u,n(e,o))}))},"function"!=typeof e.return&&(this.return=void 0)}function x(e){return new g(e,0)}function S(e){var t={},r=!1;function n(t,n){return r=!0,n=new Promise((function(r){r(e[t](n))})),{done:!1,value:new g(n,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):n("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return n("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):n("return",e)}),t}function j(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function E(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}O.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},O.prototype.next=function(e){return this._invoke("next",e)},O.prototype.throw=function(e){return this._invoke("throw",e)},O.prototype.return=function(e){return this._invoke("return",e)};var A,k={exports:{}},P={exports:{}};(A=P).exports=function(e,t){this.v=e,this.k=t},A.exports.__esModule=!0,A.exports.default=A.exports;var R=P.exports,_={exports:{}},T={exports:{}};!function(e){function t(r,n,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(r){a=0}e.exports=t=function(e,r,n,o){function i(r,n){t(e,r,(function(e){return this._invoke(r,n,e)}))}r?a?a(e,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[r]=n:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n,o,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(T);var L=T.exports;!function(e){var t=L;function r(){var n,o,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.toStringTag||"@@toStringTag";function c(e,r,i,a){var u=Object.create((r&&r.prototype instanceof l?r:l).prototype);return t(u,"_invoke",function(e,t,r){var i,a,u,c=0,l=r||[],f=!1,p={p:0,n:0,v:n,a:y,f:y.bind(n,4),d:function(e,t){return i=e,a=0,u=n,p.n=t,s}};function y(e,t){for(a=e,u=t,o=0;!f&&c&&!r&&o<l.length;o++){var r,i=l[o],y=p.p,d=i[2];e>3?(r=d===t)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=n):i[0]<=y&&((r=e<2&&y<i[1])?(a=0,p.v=t,p.n=i[1]):y<d&&(r=e<3||i[0]>t||t>d)&&(i[4]=e,i[5]=t,p.n=d,a=0))}if(r||e>1)return s;throw f=!0,t}return function(r,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&y(l,d),a=l,u=d;(o=a<2?n:u)||!f;){i||(a?a<3?(a>1&&(p.n=-1),y(a,u)):p.n=u:p.v=u);try{if(c=2,i){if(a||(r="next"),o=i[r]){if(!(o=o.call(i,u)))throw TypeError("iterator result is not an object");if(!o.done)return o;u=o.value,a<2&&(a=0)}else 1===a&&(o=i.return)&&o.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),a=1);i=n}else if((o=(f=p.n<0)?u:e.call(t,p))!==s)break}catch(e){i=n,a=1,u=e}finally{c=1}}return{value:o,done:f}}}(e,i,a),!0),u}var s={};function l(){}function f(){}function p(){}o=Object.getPrototypeOf;var y=[][a]?o(o([][a]())):(t(o={},a,(function(){return this})),o),d=p.prototype=l.prototype=Object.create(y);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,t(e,u,"GeneratorFunction")),e.prototype=Object.create(d),e}return f.prototype=p,t(d,"constructor",p),t(p,"constructor",f),f.displayName="GeneratorFunction",t(p,u,"GeneratorFunction"),t(d),t(d,u,"Generator"),t(d,a,(function(){return this})),t(d,"toString",(function(){return"[object Generator]"})),(e.exports=r=function(){return{w:c,m:h}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(_);var C=_.exports,N={exports:{}},U={exports:{}},I={exports:{}};!function(e){var t=R,r=L;e.exports=function e(n,o){function i(e,r,a,u){try{var c=n[e](r),s=c.value;return s instanceof t?o.resolve(s.v).then((function(e){i("next",e,a,u)}),(function(e){i("throw",e,a,u)})):o.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,u)}))}catch(e){u(e)}}var a;this.next||(r(e.prototype),r(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),r(this,"_invoke",(function(e,t,r){function n(){return new o((function(t,n){i(e,r,t,n)}))}return a=a?a.then(n,n):n()}),!0)},e.exports.__esModule=!0,e.exports.default=e.exports}(I);var D=I.exports;!function(e){var t=C,r=D;e.exports=function(e,n,o,i,a){return new r(t().w(e,n,o,i),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports}(U);var B=U.exports;!function(e){var t=B;e.exports=function(e,r,n,o,i){var a=t(e,r,n,o,i);return a.next().then((function(e){return e.done?e.value:a.next()}))},e.exports.__esModule=!0,e.exports.default=e.exports}(N);var F=N.exports,M={exports:{}};!function(e){e.exports=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports}(M);var q=M.exports,W={exports:{}},z={exports:{}};!function(e){function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(z);var H=z.exports;!function(e){var t=H.default;e.exports=function(e){if(null!=e){var r=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(t(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports}(W);var K=W.exports;!function(e){var t=R,r=C,n=F,o=B,i=D,a=q,u=K;function c(){var s=r(),l=s.m(c),f=(Object.getPrototypeOf?Object.getPrototypeOf(l):l.__proto__).constructor;function p(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var y={throw:1,return:2,break:3,continue:3};function d(e){var t,r;return function(n){t||(t={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(e,t){return r(n.a,y[e],t)},delegateYield:function(e,o,i){return t.resultName=o,r(n.d,u(e),i)},finish:function(e){return r(n.f,e)}},r=function(e,r,o){n.p=t.prev,n.n=t.next;try{return e(r,o)}finally{t.next=n.n}}),t.resultName&&(t[t.resultName]=n.v,t.resultName=void 0),t.sent=n.v,t.next=n.n;try{return e.call(this,t)}finally{n.p=t.prev,n.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,t,r,n){return s.w(d(e),t,r,n&&n.reverse())},isGeneratorFunction:p,mark:s.m,awrap:function(e,r){return new t(e,r)},AsyncIterator:i,async:function(e,t,r,i,a){return(p(t)?o:n)(d(e),t,r,i,a)},keys:a,values:u}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports}(k);var J=(0,k.exports)(),G=J;try{regeneratorRuntime=J}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=J:Function("r","regeneratorRuntime = r")(J)}var V=j(G);function $(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 X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Q(e,t,r){return t=u(t),a(e,Y()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Y=function(){return!!e})()}function Z(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 ee(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new te(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function te(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return te=function(e){this.s=e,this.n=e.next},te.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new te(e)}function re(e,t){return function(){return e.apply(t,arguments)}}var ne,oe=Object.prototype.toString,ie=Object.getPrototypeOf,ae=Symbol.iterator,ue=Symbol.toStringTag,ce=(ne=Object.create(null),function(e){var t=oe.call(e);return ne[t]||(ne[t]=t.slice(8,-1).toLowerCase())}),se=function(e){return e=e.toLowerCase(),function(t){return ce(t)===e}},le=function(e){return function(t){return n(t)===e}},fe=Array.isArray,pe=le("undefined");function ye(e){return null!==e&&!pe(e)&&null!==e.constructor&&!pe(e.constructor)&&ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var de=se("ArrayBuffer"),he=le("string"),ve=le("function"),be=le("number"),me=function(e){return null!==e&&"object"===n(e)},ge=function(e){if("object"!==ce(e))return!1;var t=ie(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ue in e||ae in e)},we=se("Date"),Oe=se("File"),xe=se("Blob"),Se=se("FileList"),je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},Ee=void 0!==je.FormData?je.FormData:void 0,Ae=se("URLSearchParams"),ke=m(["ReadableStream","Request","Response","Headers"].map(se),4),Pe=ke[0],Re=ke[1],_e=ke[2],Te=ke[3];function Le(e,t){var r,o,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,a=void 0!==i&&i;if(null!=e)if("object"!==n(e)&&(e=[e]),fe(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(ye(e))return;var u,c=a?Object.getOwnPropertyNames(e):Object.keys(e),s=c.length;for(r=0;r<s;r++)t.call(null,e[u=c[r]],u,e)}}function Ce(e,t){if(ye(e))return null;t=t.toLowerCase();for(var r,n=Object.keys(e),o=n.length;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}var Ne,Ue,Ie,De,Be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=function(e){return!pe(e)&&e!==Be},Me=function(e){return function(t){return e&&t instanceof e}}("undefined"!=typeof Uint8Array&&ie(Uint8Array)),qe=se("HTMLFormElement"),We=function(){var e=Object.prototype.hasOwnProperty;return function(t,r){return e.call(t,r)}}(),ze=se("RegExp"),He=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};Le(r,(function(r,o){var i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Ke=se("AsyncFunction"),Je=(Ne="function"==typeof setImmediate,Ue=ve(Be.postMessage),Ne?setImmediate:Ue?(Ie="axios@".concat(Math.random()),De=[],Be.addEventListener("message",(function(e){e.source===Be&&e.data===Ie&&De.length&&De.shift()()}),!1),function(e){De.push(e),Be.postMessage(Ie,"*")}):function(e){return setTimeout(e)}),Ge="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Be):"undefined"!=typeof process&&process.nextTick||Je,Ve={isArray:fe,isArrayBuffer:de,isBuffer:ye,isFormData:function(e){if(!e)return!1;if(Ee&&e instanceof Ee)return!0;var t=ie(e);if(!t||t===Object.prototype)return!1;if(!ve(e.append))return!1;var r=ce(e);return"formdata"===r||"object"===r&&ve(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&de(e.buffer)},isString:he,isNumber:be,isBoolean:function(e){return!0===e||!1===e},isObject:me,isPlainObject:ge,isEmptyObject:function(e){if(!me(e)||ye(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Pe,isRequest:Re,isResponse:_e,isHeaders:Te,isUndefined:pe,isDate:we,isFile:Oe,isReactNativeBlob:function(e){return!(!e||void 0===e.uri)},isReactNative:function(e){return e&&void 0!==e.getParts},isBlob:xe,isRegExp:ze,isFunction:ve,isStream:function(e){return me(e)&&ve(e.pipe)},isURLSearchParams:Ae,isTypedArray:Me,isFileList:Se,forEach:Le,merge:function e(){for(var t=Fe(this)&&this||{},r=t.caseless,n=t.skipUndefined,o={},i=function(t,i){if("__proto__"!==i&&"constructor"!==i&&"prototype"!==i){var a=r&&Ce(o,i)||i,u=We(o,a)?o[a]:void 0;ge(u)&&ge(t)?o[a]=e(u,t):ge(t)?o[a]=e({},t):fe(t)?o[a]=t.slice():n&&pe(t)||(o[a]=t)}},a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];for(var s=0,l=u.length;s<l;s++)u[s]&&Le(u[s],i);return o},extend:function(e,t,r){return Le(t,(function(t,n){r&&ve(t)?Object.defineProperty(e,n,{__proto__:null,value:re(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],n&&!n(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==r&&ie(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:ce,kindOfTest:se,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length);var n=e.indexOf(t,r-=t.length);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(fe(e))return e;var t=e.length;if(!be(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},forEachEntry:function(e,t){for(var r,n=(e&&e[ae]).call(e);(r=n.next())&&!r.done;){var o=r.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:qe,hasOwnProperty:We,hasOwnProp:We,reduceDescriptors:He,freezeMethods:function(e){He(e,(function(t,r){if(ve(e)&&["arguments","caller","callee"].includes(r))return!1;ve(e[r])&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(e,t){var r={},n=function(e){e.forEach((function(e){r[e]=!0}))};return fe(e)?n(e):n(String(e).split(t)),r},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:Ce,global:Be,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&ve(e.append)&&"FormData"===e[ue]&&e[ae])},toJSONObject:function(e){var t=new Array(10),r=function(e,n){if(me(e)){if(t.indexOf(e)>=0)return;if(ye(e))return e;if(!("toJSON"in e)){t[n]=e;var o=fe(e)?[]:{};return Le(e,(function(e,t){var i=r(e,n+1);!pe(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Ke,isThenable:function(e){return e&&(me(e)||ve(e))&&ve(e.then)&&ve(e.catch)},setImmediate:Je,asap:Ge,isIterable:function(e){return null!=e&&ve(e[ae])}},$e=Ve.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"]),Xe=Symbol("internals"),Qe=/[^\x09\x20-\x7E\x80-\xFF]/g;function Ye(e){return e&&String(e).trim().toLowerCase()}function Ze(e){return!1===e||null==e?e:Ve.isArray(e)?e.map(Ze):function(e){for(var t=0,r=e.length;t<r;){var n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;r>t;){var o=e.charCodeAt(r-1);if(9!==o&&32!==o)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(Qe,""))}function et(e,t,r,n,o){return Ve.isFunction(n)?n.call(this,t,r):(o&&(t=r),Ve.isString(t)?Ve.isString(n)?-1!==t.indexOf(n):Ve.isRegExp(n)?n.test(t):void 0:void 0)}var tt=function(){return b((function e(t){h(this,e),t&&this.set(t)}),[{key:"set",value:function(e,t,r){var n=this;function o(e,t,r){var o=Ye(t);if(!o)throw new Error("header name must be a non-empty string");var i=Ve.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Ze(e))}var i=function(e,t){return Ve.forEach(e,(function(e,r){return o(e,r,t)}))};if(Ve.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ve.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(function(e){var t,r,n,o={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&$e[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)})),o}(e),t);else if(Ve.isObject(e)&&Ve.isIterable(e)){var a,u,c,s={},l=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return Z(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(e);try{for(l.s();!(c=l.n()).done;){var f=c.value;if(!Ve.isArray(f))throw TypeError("Object iterator must return a key-value pair");s[u=f[0]]=(a=s[u])?Ve.isArray(a)?[].concat(d(a),[f[1]]):[a,f[1]]:f[1]}}catch(e){l.e(e)}finally{l.f()}i(s,t)}else null!=e&&o(t,e,r);return this}},{key:"get",value:function(e,t){if(e=Ye(e)){var r=Ve.findKey(this,e);if(r){var n=this[r];if(!t)return n;if(!0===t)return function(e){for(var t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=n.exec(e);)r[t[1]]=t[2];return r}(n);if(Ve.isFunction(t))return t.call(this,n,r);if(Ve.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Ye(e)){var r=Ve.findKey(this,e);return!(!r||void 0===this[r]||t&&!et(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function o(e){if(e=Ye(e)){var o=Ve.findKey(r,e);!o||t&&!et(0,r[o],o,t)||(delete r[o],n=!0)}}return Ve.isArray(e)?e.forEach(o):o(e),n}},{key:"clear",value:function(e){for(var t=Object.keys(this),r=t.length,n=!1;r--;){var o=t[r];e&&!et(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return Ve.forEach(this,(function(n,o){var i=Ve.findKey(r,o);if(i)return t[i]=Ze(n),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ze(n),r[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=this.constructor).concat.apply(e,[this].concat(r))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Ve.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&Ve.isArray(r)?r.join(", "):r)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=m(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:"getSetCookie",value:function(){return this.get("set-cookie")||[]}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Xe]=this[Xe]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=Ye(e);t[n]||(function(e,t){var r=Ve.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return Ve.isArray(e)?e.forEach(n):n(e),this}}])}();tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ve.reduceDescriptors(tt.prototype,(function(e,t){var r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}})),Ve.freezeMethods(tt);var rt=function(e){function t(e,r,n,o,i){var a;return h(this,t),a=Q(this,t,[e]),Object.defineProperty(a,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),a.name="AxiosError",a.isAxiosError=!0,r&&(a.code=r),n&&(a.config=n),o&&(a.request=o),i&&(a.response=i,a.status=i.status),a}return s(t,e),b(t,[{key:"toJSON",value:function(){var e=this.config,t=e&&Ve.hasOwnProp(e,"redact")?e.redact:void 0,r=Ve.isArray(t)&&t.length>0?function(e,t){var r=new Set(t.map((function(e){return String(e).toLowerCase()}))),o=[],i=function(e){if(null===e||"object"!==n(e))return e;if(Ve.isBuffer(e))return e;if(-1===o.indexOf(e)){var t;if(e instanceof tt&&(e=e.toJSON()),o.push(e),Ve.isArray(e))t=[],e.forEach((function(e,r){var n=i(e);Ve.isUndefined(n)||(t[r]=n)}));else{if(!Ve.isPlainObject(e)&&function(e){if(Ve.hasOwnProp(e,"toJSON"))return!0;for(var t=Object.getPrototypeOf(e);t&&t!==Object.prototype;){if(Ve.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return o.pop(),e;t=Object.create(null);for(var a=0,u=Object.entries(e);a<u.length;a++){var c=m(u[a],2),s=c[0],l=c[1],f=r.has(s.toLowerCase())?"[REDACTED ****]":i(l);Ve.isUndefined(f)||(t[s]=f)}}return o.pop(),t}};return i(e)}(e,t):Ve.toJSONObject(e);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:r,code:this.code,status:this.status}}}],[{key:"from",value:function(e,r,n,o,i,a){var u=new t(e.message,r||e.code,n,o,i);return u.cause=e,u.name=e.name,null!=e.status&&null==u.status&&(u.status=e.status),a&&Object.assign(u,a),u}}])}(f(Error));function nt(e){return Ve.isPlainObject(e)||Ve.isArray(e)}function ot(e){return Ve.endsWith(e,"[]")?e.slice(0,-2):e}function it(e,t,r){return e?e.concat(t).map((function(e,t){return e=ot(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}rt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",rt.ERR_BAD_OPTION="ERR_BAD_OPTION",rt.ECONNABORTED="ECONNABORTED",rt.ETIMEDOUT="ETIMEDOUT",rt.ECONNREFUSED="ECONNREFUSED",rt.ERR_NETWORK="ERR_NETWORK",rt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",rt.ERR_DEPRECATED="ERR_DEPRECATED",rt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",rt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",rt.ERR_CANCELED="ERR_CANCELED",rt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",rt.ERR_INVALID_URL="ERR_INVALID_URL",rt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var at=Ve.toFlatObject(Ve,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ut(e,t,r){if(!Ve.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var o=(r=Ve.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ve.isUndefined(t[e])}))).metaTokens,i=r.visitor||p,a=r.dots,u=r.indexes,c=r.Blob||"undefined"!=typeof Blob&&Blob,s=void 0===r.maxDepth?100:r.maxDepth,l=c&&Ve.isSpecCompliantForm(t);if(!Ve.isFunction(i))throw new TypeError("visitor must be a function");function f(e){if(null===e)return"";if(Ve.isDate(e))return e.toISOString();if(Ve.isBoolean(e))return e.toString();if(!l&&Ve.isBlob(e))throw new rt("Blob is not supported. Use a Buffer instead.");return Ve.isArrayBuffer(e)||Ve.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,r,i){var c=e;if(Ve.isReactNative(t)&&Ve.isReactNativeBlob(e))return t.append(it(i,r,a),f(e)),!1;if(e&&!i&&"object"===n(e))if(Ve.endsWith(r,"{}"))r=o?r:r.slice(0,-2),e=JSON.stringify(e);else if(Ve.isArray(e)&&function(e){return Ve.isArray(e)&&!e.some(nt)}(e)||(Ve.isFileList(e)||Ve.endsWith(r,"[]"))&&(c=Ve.toArray(e)))return r=ot(r),c.forEach((function(e,n){!Ve.isUndefined(e)&&null!==e&&t.append(!0===u?it([r],n,a):null===u?r:r+"[]",f(e))})),!1;return!!nt(e)||(t.append(it(i,r,a),f(e)),!1)}var y=[],d=Object.assign(at,{defaultVisitor:p,convertValue:f,isVisitable:nt});if(!Ve.isObject(e))throw new TypeError("data must be an object");return function e(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!Ve.isUndefined(r)){if(o>s)throw new rt("Object is too deeply nested ("+o+" levels). Max depth: "+s,rt.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==y.indexOf(r))throw Error("Circular reference detected in "+n.join("."));y.push(r),Ve.forEach(r,(function(r,a){!0===(!(Ve.isUndefined(r)||null===r)&&i.call(t,r,Ve.isString(a)?a.trim():a,n,d))&&e(r,n?n.concat(a):[a],o+1)})),y.pop()}}(e),t}function ct(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function(e){return t[e]}))}function st(e,t){this._pairs=[],e&&ut(e,this,t)}var lt=st.prototype;function ft(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pt(e,t,r){if(!t)return e;var n,o=r&&r.encode||ft,i=Ve.isFunction(r)?{serialize:r}:r,a=i&&i.serialize;if(n=a?a(t,i):Ve.isURLSearchParams(t)?t.toString():new st(t,i).toString(o)){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}lt.append=function(e,t){this._pairs.push([e,t])},lt.toString=function(e){var t=e?function(t){return e.call(this,t,ct)}:ct;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var yt=function(){return b((function e(){h(this,e),this.handlers=[]}),[{key:"use",value:function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Ve.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}])}(),dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},ht={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},vt="undefined"!=typeof window&&"undefined"!=typeof document,bt="object"===("undefined"==typeof navigator?"undefined":n(navigator))&&navigator||void 0,mt=vt&&(!bt||["ReactNative","NativeScript","NS"].indexOf(bt.product)<0),gt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,wt=vt&&window.location.href||"http://localhost",Ot=X(X({},Object.freeze({__proto__:null,hasBrowserEnv:vt,hasStandardBrowserEnv:mt,hasStandardBrowserWebWorkerEnv:gt,navigator:bt,origin:wt})),ht);function xt(e){function t(e,r,n,o){var i=e[o++];if("__proto__"===i)return!0;var a=Number.isFinite(+i),u=o>=e.length;return i=!i&&Ve.isArray(n)?n.length:i,u?(n[i]=Ve.hasOwnProp(n,i)?Ve.isArray(n[i])?n[i].concat(r):[n[i],r]:r,!a):(n[i]&&Ve.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&Ve.isArray(n[i])&&(n[i]=function(e){var t,r,n={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)n[r=o[t]]=e[r];return n}(n[i])),!a)}if(Ve.isFormData(e)&&Ve.isFunction(e.entries)){var r={};return Ve.forEachEntry(e,(function(e,n){t(function(e){return Ve.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null}var St=function(e,t){return null!=e&&Ve.hasOwnProp(e,t)?e[t]:void 0},jt={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=Ve.isObject(e);if(i&&Ve.isHTMLForm(e)&&(e=new FormData(e)),Ve.isFormData(e))return o?JSON.stringify(xt(e)):e;if(Ve.isArrayBuffer(e)||Ve.isBuffer(e)||Ve.isStream(e)||Ve.isFile(e)||Ve.isBlob(e)||Ve.isReadableStream(e))return e;if(Ve.isArrayBufferView(e))return e.buffer;if(Ve.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){var a=St(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ut(e,new Ot.classes.URLSearchParams,X({visitor:function(e,t,r,n){return Ot.isNode&&Ve.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,a).toString();if((r=Ve.isFileList(e))||n.indexOf("multipart/form-data")>-1){var u=St(this,"env"),c=u&&u.FormData;return ut(r?{"files[]":e}:e,c&&new c,a)}}return i||o?(t.setContentType("application/json",!1),function(e){if(Ve.isString(e))try{return(0,JSON.parse)(e),Ve.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=St(this,"transitional")||jt.transitional,r=t&&t.forcedJSONParsing,n=St(this,"responseType"),o="json"===n;if(Ve.isResponse(e)||Ve.isReadableStream(e))return e;if(e&&Ve.isString(e)&&(r&&!n||o)){var i=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,St(this,"parseReviver"))}catch(e){if(i){if("SyntaxError"===e.name)throw rt.from(e,rt.ERR_BAD_RESPONSE,this,null,St(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ot.classes.FormData,Blob:Ot.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function Et(e,t){var r=this||jt,n=t||r,o=tt.from(n.headers),i=n.data;return Ve.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function At(e){return!(!e||!e.__CANCEL__)}Ve.forEach(["delete","get","head","post","put","patch","query"],(function(e){jt.headers[e]={}}));var kt=function(e){function t(e,r,n){var o;return h(this,t),(o=Q(this,t,[null==e?"canceled":e,rt.ERR_CANCELED,r,n])).name="CanceledError",o.__CANCEL__=!0,o}return s(t,e),b(t)}(rt);function Pt(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new rt("Request failed with status code "+r.status,r.status>=400&&r.status<500?rt.ERR_BAD_REQUEST:rt.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}var Rt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0,o=function(e,t){e=e||10;var r,n=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var c=Date.now(),s=o[a];r||(r=c),n[i]=u,o[i]=c;for(var l=a,f=0;l!==i;)f+=n[l++],l%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(c-r<t)){var p=s&&c-s;return p?Math.round(1e3*f/p):void 0}}}(50,250);return function(e,t){var r,n,o=0,i=1e3/t,a=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(void 0,d(t))};return[function(){for(var e=Date.now(),t=e-o,u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s];t>=i?a(c,e):(r=c,n||(n=setTimeout((function(){n=null,a(r)}),i-t)))},function(){return r&&a(r)}]}((function(r){var a=r.loaded,u=r.lengthComputable?r.total:void 0,c=null!=u?Math.min(a,u):a,s=Math.max(0,c-n),l=o(s);n=Math.max(n,c);var f=i({loaded:c,total:u,progress:u?c/u:void 0,bytes:s,rate:l||void 0,estimated:l&&u?(u-c)/l:void 0,event:r,lengthComputable:null!=u},t?"download":"upload",!0);e(f)}),r)},_t=function(e,t){var r=null!=e;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]},Tt=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ve.asap((function(){return e.apply(void 0,r)}))}},Lt=Ot.hasStandardBrowserEnv?function(e,t){return function(r){return e.protocol===(r=new URL(r,Ot.origin)).protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(Ot.origin),Ot.navigator&&/(msie|trident)/i.test(Ot.navigator.userAgent)):function(){return!0},Ct=Ot.hasStandardBrowserEnv?{write:function(e,t,r,n,o,i,a){if("undefined"!=typeof document){var u=["".concat(e,"=").concat(encodeURIComponent(t))];Ve.isNumber(r)&&u.push("expires=".concat(new Date(r).toUTCString())),Ve.isString(n)&&u.push("path=".concat(n)),Ve.isString(o)&&u.push("domain=".concat(o)),!0===i&&u.push("secure"),Ve.isString(a)&&u.push("SameSite=".concat(a)),document.cookie=u.join("; ")}},read:function(e){if("undefined"==typeof document)return null;for(var t=document.cookie.split(";"),r=0;r<t.length;r++){var n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)return decodeURIComponent(n.slice(o+1))}return null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function Nt(e,t,r){var n,o=!("string"==typeof(n=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n));return e&&(o||!1===r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ut=function(e){return e instanceof tt?X({},e):e};function It(e,t){t=t||{};var r=Object.create(null);function n(e,t,r,n){return Ve.isPlainObject(e)&&Ve.isPlainObject(t)?Ve.merge.call({caseless:n},e,t):Ve.isPlainObject(t)?Ve.merge({},t):Ve.isArray(t)?t.slice():t}function o(e,t,r,o){return Ve.isUndefined(t)?Ve.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Ve.isUndefined(t))return n(void 0,t)}function a(e,t){return Ve.isUndefined(t)?Ve.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function u(r,o,i){return Ve.hasOwnProp(t,i)?n(r,o):Ve.hasOwnProp(e,i)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});var c={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,allowedSocketPaths:a,responseEncoding:a,validateStatus:u,headers:function(e,t){return o(Ut(e),Ut(t),0,!0)}};return Ve.forEach(Object.keys(X(X({},e),t)),(function(n){if("__proto__"!==n&&"constructor"!==n&&"prototype"!==n){var i=Ve.hasOwnProp(c,n)?c[n]:o,a=i(Ve.hasOwnProp(e,n)?e[n]:void 0,Ve.hasOwnProp(t,n)?t[n]:void 0,n);Ve.isUndefined(a)&&i!==u||(r[n]=a)}})),r}var Dt=["content-type","content-length"],Bt=function(e){var t=It({},e),r=function(e){return Ve.hasOwnProp(t,e)?t[e]:void 0},n=r("data"),o=r("withXSRFToken"),i=r("xsrfHeaderName"),a=r("xsrfCookieName"),u=r("headers"),c=r("auth"),s=r("baseURL"),l=r("allowAbsoluteUrls"),f=r("url");if(t.headers=u=tt.from(u),t.url=pt(Nt(s,f,l),e.params,e.paramsSerializer),c&&u.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?encodeURIComponent(c.password).replace(/%([0-9A-F]{2})/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))})):""))),Ve.isFormData(n)&&(Ot.hasStandardBrowserEnv||Ot.hasStandardBrowserWebWorkerEnv?u.setContentType(void 0):Ve.isFunction(n.getHeaders)&&function(e,t,r){"content-only"===r?Object.entries(t).forEach((function(t){var r=m(t,2),n=r[0],o=r[1];Dt.includes(n.toLowerCase())&&e.set(n,o)})):e.set(t)}(u,n.getHeaders(),r("formDataHeaderPolicy"))),Ot.hasStandardBrowserEnv&&(Ve.isFunction(o)&&(o=o(t)),!0===o||null==o&&Lt(t.url))){var p=i&&a&&Ct.read(a);p&&u.set(i,p)}return t},Ft="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,o,i,a=Bt(e),u=a.data,c=tt.from(a.headers).normalize(),s=a.responseType,l=a.onUploadProgress,f=a.onDownloadProgress;function p(){o&&o(),i&&i(),a.cancelToken&&a.cancelToken.unsubscribe(n),a.signal&&a.signal.removeEventListener("abort",n)}var y=new XMLHttpRequest;function d(){if(y){var n=tt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Pt((function(e){t(e),p()}),(function(e){r(e),p()}),{data:s&&"text"!==s&&"json"!==s?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}}if(y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=d:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&y.responseURL.startsWith("file:"))&&setTimeout(d)},y.onabort=function(){y&&(r(new rt("Request aborted",rt.ECONNABORTED,e,y)),p(),y=null)},y.onerror=function(t){var n=new rt(t&&t.message?t.message:"Network Error",rt.ERR_NETWORK,e,y);n.event=t||null,r(n),p(),y=null},y.ontimeout=function(){var t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),r(new rt(t,(a.transitional||dt).clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,e,y)),p(),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&Ve.forEach(c.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Ve.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var h=m(Rt(f,!0),2);i=h[1],y.addEventListener("progress",h[0])}if(l&&y.upload){var v=m(Rt(l),2);o=v[1],y.upload.addEventListener("progress",v[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(t){y&&(r(!t||t.type?new kt(null,e,y):t),y.abort(),p(),y=null)},a.cancelToken&&a.cancelToken.subscribe(n),a.signal&&(a.signal.aborted?n():a.signal.addEventListener("abort",n)));var b,g=(b=/^([-+\w]{1,25}):(?:\/\/)?/.exec(a.url))&&b[1]||"";!g||Ot.protocols.includes(g)?y.send(u||null):r(new rt("Unsupported protocol "+g+":",rt.ERR_BAD_REQUEST,e))}))},Mt=function(e,t){var r=e=e?e.filter(Boolean):[];if(t||r.length){var n,o=new AbortController,i=function(e){if(!n){n=!0,u();var t=e instanceof Error?e:this.reason;o.abort(t instanceof rt?t:new kt(t instanceof Error?t.message:t))}},a=t&&setTimeout((function(){a=null,i(new rt("timeout of ".concat(t,"ms exceeded"),rt.ETIMEDOUT))}),t),u=function(){e&&(a&&clearTimeout(a),a=null,e.forEach((function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((function(e){return e.addEventListener("abort",i)}));var c=o.signal;return c.unsubscribe=function(){return Ve.asap(u)},c}},qt=V.mark((function e(t,r){var n,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((n=t.byteLength)<r)){e.next=5;break}return e.next=4,t;case 4:return e.abrupt("return");case 5:o=0;case 6:if(!(o<n)){e.next=13;break}return i=o+r,e.next=10,t.slice(o,i);case 10:o=i,e.next=6;break;case 13:case"end":return e.stop()}}),e)})),Wt=function(){var e=w(V.mark((function e(t,r){var n,o,i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=!1,e.prev=2,a=ee(zt(t));case 4:return e.next=6,x(a.next());case 6:if(!(n=!(u=e.sent).done)){e.next=12;break}return e.delegateYield(S(ee(qt(u.value,r))),"t0",9);case 9:n=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t1=e.catch(2),o=!0,i=e.t1;case 18:if(e.prev=18,e.prev=19,!n||null==a.return){e.next=23;break}return e.next=23,x(a.return());case 23:if(e.prev=23,!o){e.next=26;break}throw i;case 26:return e.finish(23);case 27:return e.finish(18);case 28:case"end":return e.stop()}}),e,null,[[2,14,18,28],[19,,23,27]])})));return function(t,r){return e.apply(this,arguments)}}(),zt=function(){var e=w(V.mark((function e(t){var r,n,o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[Symbol.asyncIterator]){e.next=3;break}return e.delegateYield(S(ee(t)),"t0",2);case 2:return e.abrupt("return");case 3:r=t.getReader(),e.prev=4;case 5:return e.next=7,x(r.read());case 7:if(o=(n=e.sent).value,!n.done){e.next=12;break}return e.abrupt("break",16);case 12:return e.next=14,o;case 14:e.next=5;break;case 16:return e.prev=16,e.next=19,x(r.cancel());case 19:return e.finish(16);case 20:case"end":return e.stop()}}),e,null,[[4,,16,20]])})));return function(t){return e.apply(this,arguments)}}(),Ht=function(e,t,n,o){var i,a=Wt(e,t),u=0,c=function(e){i||(i=!0,o&&o(e))};return new ReadableStream({pull:function(e){return r(V.mark((function t(){var r,o,i,s;return V.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a.next();case 3:if(o=(r=t.sent).value,!r.done){t.next=10;break}return c(),e.close(),t.abrupt("return");case 10:i=o.byteLength,n&&(s=u+=i,n(s)),e.enqueue(new Uint8Array(o)),t.next=19;break;case 15:throw t.prev=15,t.t0=t.catch(0),c(t.t0),t.t0;case 19:case"end":return t.stop()}}),t,null,[[0,15]])})))()},cancel:function(e){return c(e),a.return()}},{highWaterMark:2})};function Kt(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;var t=e.indexOf(",");if(t<0)return 0;var r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){for(var o=n.length,i=n.length,a=0;a<i;a++)if(37===n.charCodeAt(a)&&a+2<i){var u=n.charCodeAt(a+1),c=n.charCodeAt(a+2);(u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102)&&(c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102)&&(o-=2,a+=2)}var s=0,l=i-1,f=function(e){return e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e))};l>=0&&(61===n.charCodeAt(l)?(s++,l--):f(l)&&(s++,l-=3)),1===s&&l>=0&&(61===n.charCodeAt(l)||f(l))&&s++;var p=3*Math.floor(o/4)-(s||0);return p>0?p:0}if("undefined"!=typeof Buffer&&"function"==typeof Buffer.byteLength)return Buffer.byteLength(n,"utf8");for(var y=0,d=0,h=n.length;d<h;d++){var v=n.charCodeAt(d);if(v<128)y+=1;else if(v<2048)y+=2;else if(v>=55296&&v<=56319&&d+1<h){var b=n.charCodeAt(d+1);b>=56320&&b<=57343?(y+=4,d++):y+=3}else y+=3}return y}var Jt="1.16.0",Gt=Ve.isFunction,Vt=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.apply(void 0,r)}catch(e){return!1}},$t=function(e){var t,n=null!==(t=Ve.global)&&void 0!==t?t:globalThis,o=n.ReadableStream,i=n.TextEncoder,a=(e=Ve.merge.call({skipUndefined:!0},{Request:n.Request,Response:n.Response},e)).fetch,u=e.Request,c=e.Response,s=a?Gt(a):"function"==typeof fetch,l=Gt(u),f=Gt(c);if(!s)return!1;var p,y=s&&Gt(o),d=s&&("function"==typeof i?(p=new i,function(e){return p.encode(e)}):function(){var e=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,new u(t).arrayBuffer();case 3:return e.t1=e.sent,e.abrupt("return",new e.t0(e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),h=l&&y&&Vt((function(){var e=!1,t=new u(Ot.origin,{body:new o,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r})),v=f&&y&&Vt((function(){return Ve.isReadableStream(new c("").body)})),b={stream:v&&function(e){return e.body}};s&&["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!b[e]&&(b[e]=function(t,r){var n=t&&t[e];if(n)return n.call(t);throw new rt("Response type '".concat(e,"' is not supported"),rt.ERR_NOT_SUPPORT,r)})}));var g=function(){var e=r(V.mark((function e(t){var r;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}return e.abrupt("return",0);case 2:if(!Ve.isBlob(t)){e.next=4;break}return e.abrupt("return",t.size);case 4:if(!Ve.isSpecCompliantForm(t)){e.next=9;break}return r=new u(Ot.origin,{method:"POST",body:t}),e.next=8,r.arrayBuffer();case 8:case 15:return e.abrupt("return",e.sent.byteLength);case 9:if(!Ve.isArrayBufferView(t)&&!Ve.isArrayBuffer(t)){e.next=11;break}return e.abrupt("return",t.byteLength);case 11:if(Ve.isURLSearchParams(t)&&(t+=""),!Ve.isString(t)){e.next=16;break}return e.next=15,d(t);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=r(V.mark((function e(t,r){var n;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Ve.toFiniteNumber(t.getContentLength()),e.abrupt("return",null==n?g(r):n);case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();return function(){var e=r(V.mark((function e(t){var r,n,o,s,f,p,y,d,g,O,x,S,j,E,A,k,P,R,_,T,L,C,N,U,I,D,B,F,M,q,W,z,H,K,J,G,$,Q,Y,Z,ee,te,re;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=Bt(t),n=r.url,o=r.method,s=r.data,f=r.signal,p=r.cancelToken,y=r.timeout,d=r.onDownloadProgress,g=r.onUploadProgress,O=r.responseType,x=r.headers,j=void 0===(S=r.withCredentials)?"same-origin":S,E=r.fetchOptions,k=r.maxBodyLength,P=Ve.isNumber(A=r.maxContentLength)&&A>-1,R=Ve.isNumber(k)&&k>-1,_=a||fetch,O=O?(O+"").toLowerCase():"text",T=Mt([f,p&&p.toAbortSignal()],y),L=null,C=T&&T.unsubscribe&&function(){T.unsubscribe()},e.prev=8,!P||"string"!=typeof n||!n.startsWith("data:")){e.next=13;break}if(!(Kt(n)>A)){e.next=13;break}throw new rt("maxContentLength size of "+A+" exceeded",rt.ERR_BAD_RESPONSE,t,L);case 13:if(!R||"get"===o||"head"===o){e.next=19;break}return e.next=16,w(x,s);case 16:if(!("number"==typeof(U=e.sent)&&isFinite(U)&&U>k)){e.next=19;break}throw new rt("Request body larger than maxBodyLength limit",rt.ERR_BAD_REQUEST,t,L);case 19:if(e.t0=g&&h&&"get"!==o&&"head"!==o,!e.t0){e.next=25;break}return e.next=23,w(x,s);case 23:e.t1=N=e.sent,e.t0=0!==e.t1;case 25:if(!e.t0){e.next=29;break}I=new u(n,{method:"POST",body:s,duplex:"half"}),Ve.isFormData(s)&&(D=I.headers.get("content-type"))&&x.setContentType(D),I.body&&(B=_t(N,Rt(Tt(g))),F=m(B,2),s=Ht(I.body,65536,F[0],F[1]));case 29:return Ve.isString(j)||(j=j?"include":"omit"),M=l&&"credentials"in u.prototype,Ve.isFormData(s)&&(q=x.getContentType())&&/^multipart\/form-data/i.test(q)&&!/boundary=/i.test(q)&&x.delete("content-type"),x.set("User-Agent","axios/"+Jt,!1),W=X(X({},E),{},{signal:T,method:o.toUpperCase(),headers:x.normalize().toJSON(),body:s,duplex:"half",credentials:M?j:void 0}),L=l&&new u(n,W),e.next=37,l?_(L,E):_(n,W);case 37:if(z=e.sent,!P){e.next=42;break}if(!(null!=(H=Ve.toFiniteNumber(z.headers.get("content-length")))&&H>A)){e.next=42;break}throw new rt("maxContentLength size of "+A+" exceeded",rt.ERR_BAD_RESPONSE,t,L);case 42:return K=v&&("stream"===O||"response"===O),v&&z.body&&(d||P||K&&C)&&(J={},["status","statusText","headers"].forEach((function(e){J[e]=z[e]})),G=Ve.toFiniteNumber(z.headers.get("content-length")),$=d&&_t(G,Rt(Tt(d),!0))||[],Q=m($,2),Y=Q[0],Z=Q[1],z=new c(Ht(z.body,65536,(function(e){if(P&&e>A)throw new rt("maxContentLength size of "+A+" exceeded",rt.ERR_BAD_RESPONSE,t,L);Y&&Y(e)}),(function(){Z&&Z(),C&&C()})),J)),O=O||"text",e.next=47,b[Ve.findKey(b,O)||"text"](z,t);case 47:if(ee=e.sent,!P||v||K){e.next=52;break}if(null!=ee&&("number"==typeof ee.byteLength?te=ee.byteLength:"number"==typeof ee.size?te=ee.size:"string"==typeof ee&&(te="function"==typeof i?(new i).encode(ee).byteLength:ee.length)),!("number"==typeof te&&te>A)){e.next=52;break}throw new rt("maxContentLength size of "+A+" exceeded",rt.ERR_BAD_RESPONSE,t,L);case 52:return!K&&C&&C(),e.next=55,new Promise((function(e,r){Pt(e,r,{data:ee,headers:tt.from(z.headers),status:z.status,statusText:z.statusText,config:t,request:L})}));case 55:return e.abrupt("return",e.sent);case 58:if(e.prev=58,e.t2=e.catch(8),C&&C(),!(T&&T.aborted&&T.reason instanceof rt)){e.next=67;break}throw(re=T.reason).config=t,L&&(re.request=L),e.t2!==re&&(re.cause=e.t2),re;case 67:if(!e.t2||"TypeError"!==e.t2.name||!/Load failed|fetch/i.test(e.t2.message)){e.next=69;break}throw Object.assign(new rt("Network Error",rt.ERR_NETWORK,t,L,e.t2&&e.t2.response),{cause:e.t2.cause||e.t2});case 69:throw rt.from(e.t2,e.t2&&e.t2.code,t,L,e.t2&&e.t2.response);case 70:case"end":return e.stop()}}),e,null,[[8,58]])})));return function(t){return e.apply(this,arguments)}}()},Xt=new Map,Qt=function(e){for(var t,r,n=e&&e.env||{},o=[n.Request,n.Response,n.fetch],i=o.length,a=Xt;i--;)void 0===(r=a.get(t=o[i]))&&a.set(t,r=i?new Map:$t(n)),a=r;return r};Qt();var Yt={http:null,xhr:Ft,fetch:{get:Qt}};Ve.forEach(Yt,(function(e,t){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}}));var Zt=function(e){return"- ".concat(e)},er=function(e){return Ve.isFunction(e)||null===e||!1===e},tr=function(e,t){for(var r,n,o=(e=Ve.isArray(e)?e:[e]).length,i={},a=0;a<o;a++){var u=void 0;if(n=r=e[a],!er(r)&&void 0===(n=Yt[(u=String(r)).toLowerCase()]))throw new rt("Unknown adapter '".concat(u,"'"));if(n&&(Ve.isFunction(n)||(n=n.get(t))))break;i[u||"#"+a]=n}if(!n){var c=Object.entries(i).map((function(e){var t=m(e,2),r=t[1];return"adapter ".concat(t[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")})),s=o?c.length>1?"since :\n"+c.map(Zt).join("\n"):" "+Zt(c[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n};function rr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new kt(null,e)}function nr(e){return rr(e),e.headers=tt.from(e.headers),e.data=Et.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tr(e.adapter||jt.adapter,e)(e).then((function(t){rr(e),e.response=t;try{t.data=Et.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=tt.from(t.headers),t}),(function(t){if(!At(t)&&(rr(e),t&&t.response)){e.response=t.response;try{t.response.data=Et.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=tt.from(t.response.headers)}return Promise.reject(t)}))}var or={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){or[e]=function(r){return n(r)===e||"a"+(t<1?"n ":" ")+e}}));var ir={};or.transitional=function(e,t,r){return function(n,o,i){if(!1===e)throw new rt(function(e,t){return"[Axios v"+Jt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(o," has been removed"+(t?" in "+t:"")),rt.ERR_DEPRECATED);return t&&!ir[o]&&(ir[o]=!0),!e||e(n,o,i)}},or.spelling=function(){return function(){return!0}};var ar={assertOptions:function(e,t,r){if("object"!==n(e))throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),i=o.length;i-- >0;){var a=o[i],u=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(u){var c=e[a],s=void 0===c||u(c,a,e);if(!0!==s)throw new rt("option "+a+" must be "+s,rt.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new rt("Unknown option "+a,rt.ERR_BAD_OPTION)}},validators:or},ur=ar.validators,cr=function(){return b((function e(t){h(this,e),this.defaults=t||{},this.interceptors={request:new yt,response:new yt}}),[{key:"request",value:(e=r(V.mark((function e(t,r){var n,o,i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._request(t,r);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),e.t0 instanceof Error){n={},Error.captureStackTrace?Error.captureStackTrace(n):n=new Error,o=function(){if(!n.stack)return"";var e=n.stack.indexOf("\n");return-1===e?"":n.stack.slice(e+1)}();try{e.t0.stack?o&&(i=o.indexOf("\n"),a=-1===i?-1:o.indexOf("\n",i+1),u=-1===a?"":o.slice(a+1),String(e.t0.stack).endsWith(u)||(e.t0.stack+="\n"+o)):e.t0.stack=o}catch(e){}}throw e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(t,r){return e.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var r=(t=It(this.defaults,t)).transitional,n=t.paramsSerializer,o=t.headers;void 0!==r&&ar.assertOptions(r,{silentJSONParsing:ur.transitional(ur.boolean),forcedJSONParsing:ur.transitional(ur.boolean),clarifyTimeoutError:ur.transitional(ur.boolean),legacyInterceptorReqResOrdering:ur.transitional(ur.boolean)},!1),null!=n&&(Ve.isFunction(n)?t.paramsSerializer={serialize:n}:ar.assertOptions(n,{encode:ur.function,serialize:ur.function},!0)),void 0!==t.allowAbsoluteUrls||(t.allowAbsoluteUrls=void 0===this.defaults.allowAbsoluteUrls||this.defaults.allowAbsoluteUrls),ar.assertOptions(t,{baseUrl:ur.spelling("baseURL"),withXsrfToken:ur.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=o&&Ve.merge(o.common,o[t.method]);o&&Ve.forEach(["delete","get","head","post","put","patch","query","common"],(function(e){delete o[e]})),t.headers=tt.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(e){if("function"!=typeof e.runWhen||!1!==e.runWhen(t)){u=u&&e.synchronous;var r=t.transitional||dt;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)}}));var c,s=[];this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));var l,f=0;if(!u){var p=[nr.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,s),l=p.length,c=Promise.resolve(t);f<l;)c=c.then(p[f++],p[f++]);return c}l=a.length;for(var y=t;f<l;){var d=a[f++],h=a[f++];try{y=d(y)}catch(e){h.call(this,e);break}}try{c=nr.call(this,y)}catch(e){return Promise.reject(e)}for(f=0,l=s.length;f<l;)c=c.then(s[f++],s[f++]);return c}},{key:"getUri",value:function(e){return pt(Nt((e=It(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}]);var e}();Ve.forEach(["delete","get","head","options"],(function(e){cr.prototype[e]=function(t,r){return this.request(It(r||{},{method:e,url:t,data:(r||{}).data}))}})),Ve.forEach(["post","put","patch","query"],(function(e){function t(t){return function(r,n,o){return this.request(It(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}cr.prototype[e]=t(),"query"!==e&&(cr.prototype[e+"Form"]=t(!0))}));var sr=function(){function e(t){if(h(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(e,t,o){n.reason||(n.reason=new kt(e,t,o),r(n.reason))}))}return b(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,r=function(e){t.abort(e)};return this.subscribe(r),t.signal.unsubscribe=function(){return e.unsubscribe(r)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}])}(),lr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(lr).forEach((function(e){var t=m(e,2);lr[t[1]]=t[0]}));var fr=function e(t){var r=new cr(t),n=re(cr.prototype.request,r);return Ve.extend(n,cr.prototype,r,{allOwnKeys:!0}),Ve.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(It(t,r))},n}(jt);fr.Axios=cr,fr.CanceledError=kt,fr.CancelToken=sr,fr.isCancel=At,fr.VERSION=Jt,fr.toFormData=ut,fr.AxiosError=rt,fr.Cancel=fr.CanceledError,fr.all=function(e){return Promise.all(e)},fr.spread=function(e){return function(t){return e.apply(null,t)}},fr.isAxiosError=function(e){return Ve.isObject(e)&&!0===e.isAxiosError},fr.mergeConfig=It,fr.AxiosHeaders=tt,fr.formToJSON=function(e){return xt(Ve.isHTMLForm(e)?new FormData(e):e)},fr.getAdapter=tr,fr.HttpStatusCode=lr,fr.default=fr;var pr=j(fr),yr=Function.prototype.toString,dr=Object.create,hr=Object.prototype.toString,vr=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),br="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new vr};function mr(e){if(!e)return dr(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:dr(e);if(t&&~yr.call(t).indexOf("[native code]"))try{return new t}catch(e){}return dr(e)}var gr="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function wr(e){var t=hr.call(e);return t.substring(8,t.length-1)}var Or="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||wr(e)}:wr,xr=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor,jr=Object.getOwnPropertyNames,Er=Object.getOwnPropertySymbols,Ar=Object.prototype,kr=Ar.hasOwnProperty,Pr=Ar.propertyIsEnumerable,Rr="function"==typeof Er,_r=Rr?function(e){return jr(e).concat(Er(e))}:jr;function Tr(e,t,r){for(var n=_r(e),o=0,i=n.length,a=void 0,u=void 0;o<i;++o)if("callee"!==(a=n[o])&&"caller"!==a)if(u=Sr(e,a)){u.get||u.set||(u.value=r.copier(u.value,r));try{xr(t,a,u)}catch(e){t[a]=u.value}}else t[a]=r.copier(e[a],r);return t}function Lr(e){return e.slice(0)}function Cr(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach((function(e,n){r.set(n,t.copier(e,t))})),r}var Nr=Rr?function(e,t){var r=mr(t.prototype);for(var n in t.cache.set(e,r),e)kr.call(e,n)&&(r[n]=t.copier(e[n],t));for(var o=Er(e),i=0,a=o.length,u=void 0;i<a;++i)Pr.call(e,u=o[i])&&(r[u]=t.copier(e[u],t));return r}:function(e,t){var r=mr(t.prototype);for(var n in t.cache.set(e,r),e)kr.call(e,n)&&(r[n]=t.copier(e[n],t));return r};function Ur(e,t){return new t.Constructor(e.valueOf())}function Ir(e){return e}function Dr(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach((function(e){r.add(t.copier(e,t))})),r}var Br=Array.isArray,Fr=Object.assign,Mr=Object.getPrototypeOf||function(e){return e.__proto__},qr={array:function(e,t){var r=new t.Constructor;t.cache.set(e,r);for(var n=0,o=e.length;n<o;++n)r[n]=t.copier(e[n],t);return r},arrayBuffer:Lr,blob:function(e){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(Lr(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Ir,map:Cr,object:Nr,regExp:function(e,t){var r=new t.Constructor(e.source,gr(e));return r.lastIndex=e.lastIndex,r},set:Dr},Wr=Fr({},qr,{array:function(e,t){var r=new t.Constructor;return t.cache.set(e,r),Tr(e,r,t)},map:function(e,t){return Tr(e,Cr(e,t),t)},object:function(e,t){var r=mr(t.prototype);return t.cache.set(e,r),Tr(e,r,t)},set:function(e,t){return Tr(e,Dr(e,t),t)}});function zr(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Ur,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:Ur,Object:e.object,Promise:Ir,RegExp:e.regExp,Set:e.set,String:Ur,WeakMap:Ir,WeakSet:Ir,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Fr({},qr,e)),r=t.Array,o=t.Object;function i(e,i){if(i.prototype=i.Constructor=void 0,!e||"object"!==n(e))return e;if(i.cache.has(e))return i.cache.get(e);if(i.prototype=Mr(e),i.Constructor=i.prototype&&i.prototype.constructor,!i.Constructor||i.Constructor===Object)return o(e,i);if(Br(e))return r(e,i);var a=t[Or(e)];return a?a(e,i):"function"==typeof e.then?e:o(e,i)}return function(e){return i(e,{Constructor:void 0,cache:br(),copier:i,prototype:void 0})}}zr(Fr({},Wr,{}));var Hr,Kr,Jr=zr({}),Gr={exports:{}},Vr=Gr.exports={};function $r(){throw new Error("setTimeout has not been defined")}function Xr(){throw new Error("clearTimeout has not been defined")}function Qr(e){if(Hr===setTimeout)return setTimeout(e,0);if((Hr===$r||!Hr)&&setTimeout)return Hr=setTimeout,setTimeout(e,0);try{return Hr(e,0)}catch(t){try{return Hr.call(null,e,0)}catch(t){return Hr.call(this,e,0)}}}!function(){try{Hr="function"==typeof setTimeout?setTimeout:$r}catch(e){Hr=$r}try{Kr="function"==typeof clearTimeout?clearTimeout:Xr}catch(e){Kr=Xr}}();var Yr,Zr=[],en=!1,tn=-1;function rn(){en&&Yr&&(en=!1,Yr.length?Zr=Yr.concat(Zr):tn=-1,Zr.length&&nn())}function nn(){if(!en){var e=Qr(rn);en=!0;for(var t=Zr.length;t;){for(Yr=Zr,Zr=[];++tn<t;)Yr&&Yr[tn].run();tn=-1,t=Zr.length}Yr=null,en=!1,function(e){if(Kr===clearTimeout)return clearTimeout(e);if((Kr===Xr||!Kr)&&clearTimeout)return Kr=clearTimeout,clearTimeout(e);try{return Kr(e)}catch(t){try{return Kr.call(null,e)}catch(t){return Kr.call(this,e)}}}(e)}}function on(e,t){this.fun=e,this.array=t}function an(){}Vr.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Zr.push(new on(e,t)),1!==Zr.length||en||Qr(nn)},on.prototype.run=function(){this.fun.apply(null,this.array)},Vr.title="browser",Vr.browser=!0,Vr.env={},Vr.argv=[],Vr.version="",Vr.versions={},Vr.on=an,Vr.addListener=an,Vr.once=an,Vr.off=an,Vr.removeListener=an,Vr.removeAllListeners=an,Vr.emit=an,Vr.prependListener=an,Vr.prependOnceListener=an,Vr.listeners=function(){return[]},Vr.binding=function(){throw new Error("process.binding is not supported")},Vr.cwd=function(){return"/"},Vr.chdir=function(){throw new Error("process.chdir is not supported")},Vr.umask=function(){return 0};var un=j(Gr.exports);function cn(){}var sn=function(e){return new Promise((function(t){setTimeout(t,e)}))},ln="object"==("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global,fn="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,pn=(ln||fn||Function("return this")()).Symbol,yn=Object.prototype,dn=yn.hasOwnProperty,hn=yn.toString,vn=pn?pn.toStringTag:void 0,bn=Object.prototype.toString,mn=pn?pn.toStringTag:void 0,gn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":mn&&mn in Object(e)?function(e){var t=dn.call(e,vn),r=e[vn];try{e[vn]=void 0;var n=!0}catch(e){}var o=hn.call(e);return n&&(t?e[vn]=r:delete e[vn]),o}(e):function(e){return bn.call(e)}(e)},wn=function(e){return null!=e&&"object"==n(e)},On=gn,xn=Array.isArray,Sn=wn,jn=j((function(e){return"string"==typeof e||!xn(e)&&Sn(e)&&"[object String]"==On(e)}));function En(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 An(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(An=function(){return!!e})()}var kn=function(e){function t(){var e,r,n,o;return h(this,t),r=this,o=["Throttled function aborted"],n=u(n=t),i(e=a(r,An()?Reflect.construct(n,o||[],u(r).constructor):n.apply(r,o)),"name","AbortError"),e}return s(t,e),b(t)}(f(Error));function Pn(){Pn=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,n,o){var i=RegExp(e,n);return t.set(i,o||t.get(e)),c(i,r.prototype)}function o(e,r){var n=t.get(r);return Object.keys(n).reduce((function(t,r){var o=n[r];if("number"==typeof o)t[r]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;t[r]=e[o[i]]}return t}),Object.create(null))}return s(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);if(r){r.groups=o(r,this);var n=r.indices;n&&(n.groups=o(n,this))}return r},r.prototype[Symbol.replace]=function(r,i){if("string"==typeof i){var a=t.get(this);return e[Symbol.replace].call(this,r,i.replace(/\$<([^>]+)(>|$)/g,(function(e,t,r){if(""===r)return e;var n=a[t];return Array.isArray(n)?"$"+n.join("$"):"number"==typeof n?"$"+n:""})))}if("function"==typeof i){var u=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=n(e[e.length-1])&&(e=[].slice.call(e)).push(o(e,u)),i.apply(this,e)}))}return e[Symbol.replace].call(this,r,i)},Pn.apply(this,arguments)}var Rn=Pn(/(\d+)(%)/,{value:1});function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=t;if(Rn.test(e)){var n,o=null===(n=e.match(Rn))||void 0===n?void 0:n.groups;if(o&&o.value){var i=parseInt(o.value)/100;r=Math.round(t*i)}}return Math.min(30,Math.max(1,r))}function Tn(e,t){return t("info","Throttle request to ".concat(e,"/s")),function(e){var t=e.limit,n=e.interval,o=e.onDelay;if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");var i=new Map,a=0,u=0;return function(e){var c=function(){for(var s,l=this,f=arguments.length,p=new Array(f),y=0;y<f;y++)p[y]=arguments[y];return c.isEnabled?new Promise((function(r,c){var f,y=function(){r(e.apply(l,p)),i.delete(s)},d=(f=Date.now())-a>n?(u=1,a=f,0):(u<t?u++:(a+=n,u=1),a-f);d>0?(s=setTimeout(y,d),i.set(s,c),null==o||o()):y()})):r(V.mark((function t(){return V.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.apply(l,p));case 1:case"end":return t.stop()}}),t)})))()};return c.abort=function(){var e,t=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return En(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?En(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(i.keys());try{for(t.s();!(e=t.n()).done;){var r=e.value;clearTimeout(r),i.get(r)(new kn)}}catch(e){t.e(e)}finally{t.f()}i.clear()},c.isEnabled=!0,Object.defineProperty(c,"queueSize",{get:function(){return i.size}}),c}}({limit:e,interval:1e3})}var Ln=TypeError,Cn=E(Object.freeze({__proto__:null,default:{}})),Nn="function"==typeof Map&&Map.prototype,Un=Object.getOwnPropertyDescriptor&&Nn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,In=Nn&&Un&&"function"==typeof Un.get?Un.get:null,Dn=Nn&&Map.prototype.forEach,Bn="function"==typeof Set&&Set.prototype,Fn=Object.getOwnPropertyDescriptor&&Bn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Mn=Bn&&Fn&&"function"==typeof Fn.get?Fn.get:null,qn=Bn&&Set.prototype.forEach,Wn="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,zn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Hn="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Kn=Boolean.prototype.valueOf,Jn=Object.prototype.toString,Gn=Function.prototype.toString,Vn=String.prototype.match,$n=String.prototype.slice,Xn=String.prototype.replace,Qn=String.prototype.toUpperCase,Yn=String.prototype.toLowerCase,Zn=RegExp.prototype.test,eo=Array.prototype.concat,to=Array.prototype.join,ro=Array.prototype.slice,no=Math.floor,oo="function"==typeof BigInt?BigInt.prototype.valueOf:null,io=Object.getOwnPropertySymbols,ao="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?Symbol.prototype.toString:null,uo="function"==typeof Symbol&&"object"===n(Symbol.iterator),co="function"==typeof Symbol&&Symbol.toStringTag&&(n(Symbol.toStringTag),1)?Symbol.toStringTag:null,so=Object.prototype.propertyIsEnumerable,lo=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function fo(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Zn.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-no(-e):no(e);if(n!==e){var o=String(n),i=$n.call(t,o.length+1);return Xn.call(o,r,"$&_")+"."+Xn.call(Xn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Xn.call(t,r,"$&_")}var po=Cn,yo=po.custom,ho=jo(yo)?yo:null,vo={__proto__:null,double:'"',single:"'"},bo={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},mo=function e(t,r,o,i){var a=r||{};if(Ao(a,"quoteStyle")&&!Ao(vo,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ao(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Ao(a,"customInspect")||a.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ao(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ao(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.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 Ro(t,a);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var s=String(t);return c?fo(t,s):s}if("bigint"==typeof t){var l=String(t)+"n";return c?fo(t,l):l}var f=void 0===a.depth?5:a.depth;if(void 0===o&&(o=0),o>=f&&f>0&&"object"===n(t))return xo(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=to.call(Array(e.indent+1)," ")}return{base:r,prev:to.call(Array(t+1),r)}}(a,o);if(void 0===i)i=[];else if(Po(i,t)>=0)return"[Circular]";function y(t,r,n){if(r&&(i=ro.call(i)).push(r),n){var u={depth:a.depth};return Ao(a,"quoteStyle")&&(u.quoteStyle=a.quoteStyle),e(t,u,o+1,i)}return e(t,a,o+1,i)}if("function"==typeof t&&!So(t)){var d=function(e){if(e.name)return e.name;var t=Vn.call(Gn.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),h=Uo(t,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(h.length>0?" { "+to.call(h,", ")+" }":"")}if(jo(t)){var v=uo?Xn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ao.call(t);return"object"!==n(t)||uo?v:To(v)}if(function(e){return!(!e||"object"!==n(e))&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var b="<"+Yn.call(String(t.nodeName)),m=t.attributes||[],g=0;g<m.length;g++)b+=" "+m[g].name+"="+go(wo(m[g].value),"double",a);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+"</"+Yn.call(String(t.nodeName))+">"}if(xo(t)){if(0===t.length)return"[]";var w=Uo(t,y);return p&&!function(e){for(var t=0;t<e.length;t++)if(Po(e[t],"\n")>=0)return!1;return!0}(w)?"["+No(w,p)+"]":"[ "+to.call(w,", ")+" ]"}if(function(e){return"[object Error]"===ko(e)&&Oo(e)}(t)){var O=Uo(t,y);return"cause"in Error.prototype||!("cause"in t)||so.call(t,"cause")?0===O.length?"["+String(t)+"]":"{ ["+String(t)+"] "+to.call(O,", ")+" }":"{ ["+String(t)+"] "+to.call(eo.call("[cause]: "+y(t.cause),O),", ")+" }"}if("object"===n(t)&&u){if(ho&&"function"==typeof t[ho]&&po)return po(t,{depth:f-o});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!In||!e||"object"!==n(e))return!1;try{In.call(e);try{Mn.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return Dn&&Dn.call(t,(function(e,r){x.push(y(r,t,!0)+" => "+y(e,t))})),Co("Map",In.call(t),x,p)}if(function(e){if(!Mn||!e||"object"!==n(e))return!1;try{Mn.call(e);try{In.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var S=[];return qn&&qn.call(t,(function(e){S.push(y(e,t))})),Co("Set",Mn.call(t),S,p)}if(function(e){if(!Wn||!e||"object"!==n(e))return!1;try{Wn.call(e,Wn);try{zn.call(e,zn)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Lo("WeakMap");if(function(e){if(!zn||!e||"object"!==n(e))return!1;try{zn.call(e,zn);try{Wn.call(e,Wn)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Lo("WeakSet");if(function(e){if(!Hn||!e||"object"!==n(e))return!1;try{return Hn.call(e),!0}catch(e){}return!1}(t))return Lo("WeakRef");if(function(e){return"[object Number]"===ko(e)&&Oo(e)}(t))return To(y(Number(t)));if(function(e){if(!e||"object"!==n(e)||!oo)return!1;try{return oo.call(e),!0}catch(e){}return!1}(t))return To(y(oo.call(t)));if(function(e){return"[object Boolean]"===ko(e)&&Oo(e)}(t))return To(Kn.call(t));if(function(e){return"[object String]"===ko(e)&&Oo(e)}(t))return To(y(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===ko(e)&&Oo(e)}(t)&&!So(t)){var j=Uo(t,y),E=lo?lo(t)===Object.prototype:t instanceof Object||t.constructor===Object,A=t instanceof Object?"":"null prototype",k=!E&&co&&Object(t)===t&&co in t?$n.call(ko(t),8,-1):A?"Object":"",P=(E||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(k||A?"["+to.call(eo.call([],k||[],A||[]),": ")+"] ":"");return 0===j.length?P+"{}":p?P+"{"+No(j,p)+"}":P+"{ "+to.call(j,", ")+" }"}return String(t)};function go(e,t,r){var n=vo[r.quoteStyle||t];return n+e+n}function wo(e){return Xn.call(String(e),/"/g,"&quot;")}function Oo(e){return!co||!("object"===n(e)&&(co in e||void 0!==e[co]))}function xo(e){return"[object Array]"===ko(e)&&Oo(e)}function So(e){return"[object RegExp]"===ko(e)&&Oo(e)}function jo(e){if(uo)return e&&"object"===n(e)&&e instanceof Symbol;if("symbol"===n(e))return!0;if(!e||"object"!==n(e)||!ao)return!1;try{return ao.call(e),!0}catch(e){}return!1}var Eo=Object.prototype.hasOwnProperty||function(e){return e in this};function Ao(e,t){return Eo.call(e,t)}function ko(e){return Jn.call(e)}function Po(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 Ro(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Ro($n.call(e,0,t.maxStringLength),t)+n}var o=bo[t.quoteStyle||"single"];return o.lastIndex=0,go(Xn.call(Xn.call(e,o,"\\$1"),/[\x00-\x1f]/g,_o),"single",t)}function _o(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":"")+Qn.call(t.toString(16))}function To(e){return"Object("+e+")"}function Lo(e){return e+" { ? }"}function Co(e,t,r,n){return e+" ("+t+") {"+(n?No(r,n):to.call(r,", "))+"}"}function No(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+to.call(e,","+r)+"\n"+t.prev}function Uo(e,t){var r=xo(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=Ao(e,o)?t(e[o],e):""}var i,a="function"==typeof io?io(e):[];if(uo){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in e)Ao(e,c)&&(r&&String(Number(c))===c&&c<e.length||uo&&i["$"+c]instanceof Symbol||(Zn.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof io)for(var s=0;s<a.length;s++)so.call(e,a[s])&&n.push("["+t(a[s])+"]: "+t(e[a[s]],e));return n}var Io=mo,Do=Ln,Bo=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},Fo=Object,Mo=Error,qo=EvalError,Wo=RangeError,zo=ReferenceError,Ho=SyntaxError,Ko=URIError,Jo=Math.abs,Go=Math.floor,Vo=Math.max,$o=Math.min,Xo=Math.pow,Qo=Math.round,Yo=Number.isNaN||function(e){return e!=e},Zo=Object.getOwnPropertyDescriptor;if(Zo)try{Zo([],"length")}catch(e){Zo=null}var ei=Zo,ti=Object.defineProperty||!1;if(ti)try{ti({},"a",{value:1})}catch(e){ti=!1}var ri,ni,oi,ii,ai,ui,ci,si,li,fi,pi,yi,di,hi,vi,bi,mi=ti;function gi(){return ui?ai:(ui=1,ai="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function wi(){return si?ci:(si=1,ci=Fo.getPrototypeOf||null)}function Oi(){if(fi)return li;fi=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};return li=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),u=t(0,o.length-a.length),c=[],s=0;s<u;s++)c[s]="$"+s;if(i=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},li}function xi(){if(yi)return pi;yi=1;var e=Oi();return pi=Function.prototype.bind||e}function Si(){return hi?di:(hi=1,di=Function.prototype.call)}function ji(){return bi?vi:(bi=1,vi=Function.prototype.apply)}var Ei,Ai,ki,Pi,Ri,_i,Ti,Li="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Ci=xi(),Ni=ji(),Ui=Si(),Ii=Li||Ci.call(Ui,Ni),Di=xi(),Bi=Ln,Fi=Si(),Mi=Ii,qi=function(e){if(e.length<1||"function"!=typeof e[0])throw new Bi("a function is required");return Mi(Di,Fi,e)},Wi=Fo,zi=Mo,Hi=qo,Ki=Wo,Ji=zo,Gi=Ho,Vi=Ln,$i=Ko,Xi=Jo,Qi=Go,Yi=Vo,Zi=$o,ea=Xo,ta=Qo,ra=Function,na=function(e){try{return ra('"use strict"; return ('+e+").constructor;")()}catch(e){}},oa=ei,ia=mi,aa=function(){throw new Vi},ua=oa?function(){try{return aa}catch(e){try{return oa(arguments,"callee").get}catch(e){return aa}}}():aa,ca=function(){if(ii)return oi;ii=1;var e="undefined"!=typeof Symbol&&Symbol,t=ni?ri:(ni=1,ri=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===n(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o 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 i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0});return oi=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"===n(e("foo"))&&"symbol"===n(Symbol("bar"))&&t()}}()(),sa=function(){if(Pi)return ki;Pi=1;var e=gi(),t=wi(),r=function(){if(Ai)return Ei;Ai=1;var e,t=qi,r=ei;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!==n(e)||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!e&&r&&r(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return Ei=o&&"function"==typeof o.get?t([o.get]):"function"==typeof a&&function(e){return a(null==e?e:i(e))}}();return ki=e?function(t){return e(t)}:t?function(e){if(!e||"object"!==n(e)&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),la=wi(),fa=gi(),pa=ji(),ya=Si(),da={},ha="undefined"!=typeof Uint8Array&&sa?sa(Uint8Array):Ti,va={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Ti:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Ti:ArrayBuffer,"%ArrayIteratorPrototype%":ca&&sa?sa([][Symbol.iterator]()):Ti,"%AsyncFromSyncIteratorPrototype%":Ti,"%AsyncFunction%":da,"%AsyncGenerator%":da,"%AsyncGeneratorFunction%":da,"%AsyncIteratorPrototype%":da,"%Atomics%":"undefined"==typeof Atomics?Ti:Atomics,"%BigInt%":"undefined"==typeof BigInt?Ti:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Ti:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Ti:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Ti:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":zi,"%eval%":eval,"%EvalError%":Hi,"%Float16Array%":"undefined"==typeof Float16Array?Ti:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?Ti:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Ti:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Ti:FinalizationRegistry,"%Function%":ra,"%GeneratorFunction%":da,"%Int8Array%":"undefined"==typeof Int8Array?Ti:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Ti:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Ti:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ca&&sa?sa(sa([][Symbol.iterator]())):Ti,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":n(JSON))?JSON:Ti,"%Map%":"undefined"==typeof Map?Ti:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ca&&sa?sa((new Map)[Symbol.iterator]()):Ti,"%Math%":Math,"%Number%":Number,"%Object%":Wi,"%Object.getOwnPropertyDescriptor%":oa,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Ti:Promise,"%Proxy%":"undefined"==typeof Proxy?Ti:Proxy,"%RangeError%":Ki,"%ReferenceError%":Ji,"%Reflect%":"undefined"==typeof Reflect?Ti:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Ti:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ca&&sa?sa((new Set)[Symbol.iterator]()):Ti,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Ti:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ca&&sa?sa(""[Symbol.iterator]()):Ti,"%Symbol%":ca?Symbol:Ti,"%SyntaxError%":Gi,"%ThrowTypeError%":ua,"%TypedArray%":ha,"%TypeError%":Vi,"%Uint8Array%":"undefined"==typeof Uint8Array?Ti:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Ti:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Ti:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Ti:Uint32Array,"%URIError%":$i,"%WeakMap%":"undefined"==typeof WeakMap?Ti:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Ti:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Ti:WeakSet,"%Function.prototype.call%":ya,"%Function.prototype.apply%":pa,"%Object.defineProperty%":ia,"%Object.getPrototypeOf%":la,"%Math.abs%":Xi,"%Math.floor%":Qi,"%Math.max%":Yi,"%Math.min%":Zi,"%Math.pow%":ea,"%Math.round%":ta,"%Math.sign%":function(e){return Yo(e)||0===e?e:e<0?-1:1},"%Reflect.getPrototypeOf%":fa};if(sa)try{null.error}catch(e){var ba=sa(sa(e));va["%Error.prototype%"]=ba}var ma=function e(t){var r;if("%AsyncFunction%"===t)r=na("async function () {}");else if("%GeneratorFunction%"===t)r=na("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=na("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&sa&&(r=sa(o.prototype))}return va[t]=r,r},ga={__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"]},wa=xi(),Oa=function(){if(_i)return Ri;_i=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=xi();return Ri=r.call(e,t)}(),xa=wa.call(ya,Array.prototype.concat),Sa=wa.call(pa,Array.prototype.splice),ja=wa.call(ya,String.prototype.replace),Ea=wa.call(ya,String.prototype.slice),Aa=wa.call(ya,RegExp.prototype.exec),ka=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Pa=/\\(\\)?/g,Ra=function(e,t){var r,n=e;if(Oa(ga,n)&&(n="%"+(r=ga[n])[0]+"%"),Oa(va,n)){var o=va[n];if(o===da&&(o=ma(n)),void 0===o&&!t)throw new Vi("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Gi("intrinsic "+e+" does not exist!")},_a=function(e,t){if("string"!=typeof e||0===e.length)throw new Vi("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Vi('"allowMissing" argument must be a boolean');if(null===Aa(/^%?[^%]*%?$/,e))throw new Gi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=Ea(e,0,1),r=Ea(e,-1);if("%"===t&&"%"!==r)throw new Gi("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new Gi("invalid intrinsic syntax, expected opening `%`");var n=[];return ja(e,ka,(function(e,t,r,o){n[n.length]=r?ja(o,Pa,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=Ra("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],Sa(r,xa([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=Ea(f,0,1),y=Ea(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new Gi("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),Oa(va,i="%"+(n+="."+f)+"%"))a=va[i];else if(null!=a){if(!(f in a)){if(!t)throw new Vi("base intrinsic for "+e+" exists, but the property is not available.");return}if(oa&&s+1>=r.length){var d=oa(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=Oa(a,f),a=a[f];l&&!u&&(va[i]=a)}}return a},Ta=_a,La=qi,Ca=La([Ta("%String.prototype.indexOf%")]),Na=function(e,t){var r=Ta(e,!!t);return"function"==typeof r&&Ca(e,".prototype.")>-1?La([r]):r},Ua=Na,Ia=mo,Da=Ln,Ba=_a("%Map%",!0),Fa=Ua("Map.prototype.get",!0),Ma=Ua("Map.prototype.set",!0),qa=Ua("Map.prototype.has",!0),Wa=Ua("Map.prototype.delete",!0),za=Ua("Map.prototype.size",!0),Ha=!!Ba&&function(){var e,t={assert:function(e){if(!t.has(e))throw new Da("Side channel does not contain "+Ia(e))},delete:function(t){if(e){var r=Wa(e,t);return 0===za(e)&&(e=void 0),r}return!1},get:function(t){if(e)return Fa(e,t)},has:function(t){return!!e&&qa(e,t)},set:function(t,r){e||(e=new Ba),Ma(e,t,r)}};return t},Ka=Na,Ja=mo,Ga=Ha,Va=Ln,$a=_a("%WeakMap%",!0),Xa=Ka("WeakMap.prototype.get",!0),Qa=Ka("WeakMap.prototype.set",!0),Ya=Ka("WeakMap.prototype.has",!0),Za=Ka("WeakMap.prototype.delete",!0),eu=Ln,tu=mo,ru=($a?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new Va("Side channel does not contain "+Ja(e))},delete:function(r){if($a&&r&&("object"===n(r)||"function"==typeof r)){if(e)return Za(e,r)}else if(Ga&&t)return t.delete(r);return!1},get:function(r){return $a&&r&&("object"===n(r)||"function"==typeof r)&&e?Xa(e,r):t&&t.get(r)},has:function(r){return $a&&r&&("object"===n(r)||"function"==typeof r)&&e?Ya(e,r):!!t&&t.has(r)},set:function(r,o){$a&&r&&("object"===n(r)||"function"==typeof r)?(e||(e=new $a),Qa(e,r,o)):Ga&&(t||(t=Ga()),t.set(r,o))}};return r}:Ga)||Ha||function(){var e,t={assert:function(e){if(!t.has(e))throw new Do("Side channel does not contain "+Io(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return Bo(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=Bo(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!Bo(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=Bo(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},nu=function(){var e,t={assert:function(e){if(!t.has(e))throw new eu("Side channel does not contain "+tu(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=ru()),e.set(t,r)}};return t},ou=String.prototype.replace,iu=/%20/g,au="RFC3986",uu={default:au,formatters:{RFC1738:function(e){return ou.call(e,iu,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:au},cu=uu,su=Object.prototype.hasOwnProperty,lu=Array.isArray,fu=nu(),pu=function(e,t){return fu.set(e,t),e},yu=function(e){return fu.has(e)},du=function(e){return fu.get(e)},hu=function(e,t){fu.set(e,t)},vu=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),bu=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},mu=1024,gu={arrayToObject:bu,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t,r,n){if(yu(e)){var o=du(e)+1;return e[o]=t,hu(e,o),e}var i=[].concat(e,t);return i.length>r?pu(bu(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var i=t[o],a=i.obj[i.prop],u=Object.keys(a),c=0;c<u.length;++c){var s=u[c],l=a[s];"object"===n(l)&&null!==l&&-1===r.indexOf(l)&&(t[t.length]={obj:a,prop:s},r[r.length]=l)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(lu(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var a=e;if("symbol"===n(e)?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<a.length;c+=mu){for(var s=a.length>=mu?a.slice(c,c+mu):a,l=[],f=0;f<s.length;++f){var p=s.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===cu.RFC1738&&(40===p||41===p)?l[l.length]=s.charAt(f):p<128?l[l.length]=vu[p]:p<2048?l[l.length]=vu[192|p>>6]+vu[128|63&p]:p<55296||p>=57344?l[l.length]=vu[224|p>>12]+vu[128|p>>6&63]+vu[128|63&p]:(p=65536+((1023&p)<<10|1023&s.charCodeAt(f+=1)),l[l.length]=vu[240|p>>18]+vu[128|p>>12&63]+vu[128|p>>6&63]+vu[128|63&p])}u+=l.join("")}return u},isBuffer:function(e){return!(!e||"object"!==n(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:yu,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:pu,maybeMap:function(e,t){if(lu(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,o){if(!r)return t;if("object"!==n(r)&&"function"!=typeof r){if(lu(t)){var i=t.length;if(o&&"number"==typeof o.arrayLimit&&i>o.arrayLimit)return pu(bu(t.concat(r),o),i);t[i]=r}else{if(!t||"object"!==n(t))return[t,r];if(yu(t)){var a=du(t)+1;t[a]=r,hu(t,a)}else{if(o&&o.strictMerge)return[t,r];(o&&(o.plainObjects||o.allowPrototypes)||!su.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!==n(t)){if(yu(r)){for(var u=Object.keys(r),c=o&&o.plainObjects?{__proto__:null,0:t}:{0:t},s=0;s<u.length;s++)c[parseInt(u[s],10)+1]=r[u[s]];return pu(c,du(r)+1)}var l=[t].concat(r);return o&&"number"==typeof o.arrayLimit&&l.length>o.arrayLimit?pu(bu(l,o),l.length-1):l}var f=t;return lu(t)&&!lu(r)&&(f=bu(t,o)),lu(t)&&lu(r)?(r.forEach((function(r,i){if(su.call(t,i)){var a=t[i];a&&"object"===n(a)&&r&&"object"===n(r)?t[i]=e(a,r,o):t[t.length]=r}else t[i]=r})),t):Object.keys(r).reduce((function(t,n){var i=r[n];if(t[n]=su.call(t,n)?e(t[n],i,o):i,yu(r)&&!yu(t)&&pu(t,du(r)),yu(t)){var a=parseInt(n,10);String(a)===n&&a>=0&&a>du(t)&&hu(t,a)}return t}),f)}},wu=nu,Ou=gu,xu=uu,Su=Object.prototype.hasOwnProperty,ju={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Eu=Array.isArray,Au=Array.prototype.push,ku=function(e,t){Au.apply(e,Eu(t)?t:[t])},Pu=Date.prototype.toISOString,Ru=xu.default,_u={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ou.encode,encodeValuesOnly:!1,filter:void 0,format:Ru,formatter:xu.formatters[Ru],indices:!1,serializeDate:function(e){return Pu.call(e)},skipNulls:!1,strictNullHandling:!1},Tu={},Lu=function e(t,r,o,i,a,u,c,s,l,f,p,y,d,h,v,b,m,g){for(var w,O=t,x=g,S=0,j=!1;void 0!==(x=x.get(Tu))&&!j;){var E=x.get(t);if(S+=1,void 0!==E){if(E===S)throw new RangeError("Cyclic object value");j=!0}void 0===x.get(Tu)&&(S=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=d(O):"comma"===o&&Eu(O)&&(O=Ou.maybeMap(O,(function(e){return e instanceof Date?d(e):e}))),null===O){if(u)return l&&!b?l(r,_u.encoder,m,"key",h):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===n(w)||"bigint"==typeof w||Ou.isBuffer(O))return l?[v(b?r:l(r,_u.encoder,m,"key",h))+"="+v(l(O,_u.encoder,m,"value",h))]:[v(r)+"="+v(String(O))];var A,k=[];if(void 0===O)return k;if("comma"===o&&Eu(O))b&&l&&(O=Ou.maybeMap(O,l)),A=[{value:O.length>0?O.join(",")||null:void 0}];else if(Eu(f))A=f;else{var P=Object.keys(O);A=p?P.sort(p):P}var R=s?String(r).replace(/\./g,"%2E"):String(r),_=i&&Eu(O)&&1===O.length?R+"[]":R;if(a&&Eu(O)&&0===O.length)return _+"[]";for(var T=0;T<A.length;++T){var L=A[T],C="object"===n(L)&&L&&void 0!==L.value?L.value:O[L];if(!c||null!==C){var N=y&&s?String(L).replace(/\./g,"%2E"):String(L),U=Eu(O)?"function"==typeof o?o(_,N):_:_+(y?"."+N:"["+N+"]");g.set(t,S);var I=wu();I.set(Tu,g),ku(k,e(C,U,o,i,a,u,c,s,"comma"===o&&b&&Eu(O)?null:l,f,p,y,d,h,v,b,m,I))}}return k},Cu=gu,Nu=Object.prototype.hasOwnProperty,Uu=Array.isArray,Iu={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Cu.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},Du=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},Bu=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},Fu=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&Nu.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&Nu.call(Object.prototype,i)&&!t.allowPrototypes)return;a[a.length]=i}for(var u=0;null!==(o=n.exec(r))&&u<t.depth;){u+=1;var c=o[1].slice(1,-1);if(!t.plainObjects&&Nu.call(Object.prototype,c)&&!t.allowPrototypes)return;a[a.length]=o[1]}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+r.slice(o.index)+"]"}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:Bu(t,r,o),u=e.length-1;u>=0;--u){var c,s=e[u];if("[]"===s&&r.parseArrays)c=Cu.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:Cu.combine([],a,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,f=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,p=parseInt(f,10),y=!isNaN(p)&&s!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(y&&p<r.arrayLimit)(c=[])[p]=a;else{if(y&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");y?(c[p]=a,Cu.markOverflow(c,p)):"__proto__"!==f&&(c[f]=a)}else c={0:a}}a=c}return a}(o,t,r,n)}},Mu=j({formats:uu,parse:function(e,t){var r=function(e){if(!e)return Iu;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&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?Iu.charset:e.charset,r=void 0===e.duplicates?Iu.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||Iu.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Iu.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Iu.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Iu.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Iu.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Iu.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Iu.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:Iu.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:Iu.decoder,delimiter:"string"==typeof e.delimiter||Cu.isRegExp(e.delimiter)?e.delimiter:Iu.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Iu.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Iu.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Iu.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Iu.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:Iu.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:Iu.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Iu.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded?o+1:o);if(t.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,u=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?c="utf-8":"utf8=%26%2310003%3B"===i[a]&&(c="iso-8859-1"),u=a,a=i.length);for(a=0;a<i.length;++a)if(a!==u){var s,l,f=i[a],p=f.indexOf("]="),y=-1===p?f.indexOf("="):p+1;if(-1===y?(s=t.decoder(f,Iu.decoder,c,"key"),l=t.strictNullHandling?null:""):null!==(s=t.decoder(f.slice(0,y),Iu.decoder,c,"key"))&&(l=Cu.maybeMap(Bu(f.slice(y+1),t,Uu(r[s])?r[s].length:0),(function(e){return t.decoder(e,Iu.decoder,c,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===c&&(l=Du(String(l))),f.indexOf("[]=")>-1&&(l=Uu(l)?[l]:l),t.comma&&Uu(l)&&l.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");l=Cu.combine([],l,t.arrayLimit,t.plainObjects)}if(null!==s){var d=Nu.call(r,s);d&&("combine"===t.duplicates||f.indexOf("[]=")>-1)?r[s]=Cu.combine(r[s],l,t.arrayLimit,t.plainObjects):d&&"last"!==t.duplicates||(r[s]=l)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=Fu(u,n[u],r,"string"==typeof e);o=Cu.merge(o,c,r)}return!0===r.allowSparse?o:Cu.compact(o)},stringify:function(e,t){var r,o=e,i=function(e){if(!e)return _u;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&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||_u.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=xu.default;if(void 0!==e.format){if(!Su.call(xu.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=xu.formatters[r],i=_u.filter;if(("function"==typeof e.filter||Eu(e.filter))&&(i=e.filter),n=e.arrayFormat in ju?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":_u.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:_u.addQueryPrefix,allowDots:void 0===e.allowDots?!0===e.encodeDotInKeys||_u.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:_u.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:_u.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?_u.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:_u.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:_u.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:_u.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:_u.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:_u.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:_u.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:_u.strictNullHandling}}(t);"function"==typeof i.filter?o=(0,i.filter)("",o):Eu(i.filter)&&(r=i.filter);var a=[];if("object"!==n(o)||null===o)return"";var u=ju[i.arrayFormat],c="comma"===u&&i.commaRoundTrip;r||(r=Object.keys(o)),i.sort&&r.sort(i.sort);for(var s=wu(),l=0;l<r.length;++l){var f=r[l],p=o[f];i.skipNulls&&null===p||ku(a,Lu(p,f,u,c,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,s))}var y=a.join(i.delimiter),d=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&(d+="iso-8859-1"===i.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),y.length>0?d+y:""}});function qu(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 Wu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var zu=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Hu(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 Ku(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ju(e,t){var n=function(e){var t=Wu(Wu({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){"error"===e&&t&&[t.name,t.message].filter((function(e){return e})).join(" - ")},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),e);if(!t.accessToken){var r=new TypeError("Expected parameter accessToken");throw t.logHandler("error",r),r}var n=t.insecure?"http":"https",o=t.space?"".concat(t.space,"/"):"",i=t.defaultHostname,a=t.insecure?80:443;if(t.host&&zu.test(t.host)){var u=t.host.split(":");if(2===u.length){var c=m(u,2);i=c[0],a=c[1]}else i=u[0]}t.basePath&&(t.basePath="/".concat(t.basePath.split("/").filter(Boolean).join("/")));var s=e.baseURL||"".concat(n,"://").concat(i,":").concat(a).concat(t.basePath,"/spaces/").concat(o);return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:s,headers:t.headers,httpAgent:t.httpAgent,httpsAgent:t.httpsAgent,proxy:t.proxy,timeout:t.timeout,adapter:t.adapter,fetchOptions:t.fetchOptions,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:function(e){return Mu.stringify(e)}},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),o=e.create(n);return o.httpClientParams=t,o.cloneWithNewParams=function(r){return Ju(e,Ku(Ku({},function(e){var t=Jr(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}(t)),r))},t.onBeforeRequest&&o.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((function(t){return e.headers.set("Authorization","Bearer ".concat(t)),e}))}))}(o,t.accessToken),t.throttle&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=e.defaults.logHandler,n=void 0===r?cn:r,o=jn(t)?_n(t):_n("auto",t),i=Tn(o,n),a=!1,u=e.interceptors.request.use((function(e){return i((function(){return e}))()}),(function(e){return Promise.reject(e)}));e.interceptors.response.use((function(r){if(!a&&jn(t)&&("auto"===t||Rn.test(t))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=_n(t,c);s!==o&&(u&&e.interceptors.request.eject(u),o=s,i=Tn(s,n),u=e.interceptors.request.use((function(e){return i((function(){return e}))()}),(function(e){return Promise.reject(e)}))),a=!0}return r}),(function(e){return Promise.reject(e)}))}(o,t.throttle),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.defaults,o=n.responseLogger,i=void 0===o?cn:o,a=n.requestLogger,u=void 0===a?cn:a;e.interceptors.request.use((function(e){return u(e),e}),(function(e){return u(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return i(e),e}),function(){var n=r(V.mark((function r(n){var o,a,u,c,s;return V.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=n.response,a=n.config,i(n),a&&e.defaults.retryOnError){r.next=5;break}return r.abrupt("return",Promise.reject(n));case 5:if(!((u=a.attempts||1)>t)){r.next=9;break}return n.attempts=a.attempts,r.abrupt("return",Promise.reject(n));case 9:if(c=null,s=Math.pow(Math.SQRT2,u),o?o.status>=500&&o.status<600?c="Server ".concat(o.status):429===o.status&&(c="Rate limit",o.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(s=o.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){r.next=19;break}return s=Math.floor(1e3*s+200*Math.random()+500),e.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(s," ms before retrying...")),a.attempts=u+1,delete a.httpAgent,delete a.httpsAgent,r.abrupt("return",sn(s).then((function(){return e(a)})));case 19:return r.abrupt("return",Promise.reject(n));case 20:case"end":return r.stop()}}),r)})));return function(e){return n.apply(this,arguments)}}())}(o,t.retryLimit),t.onError&&o.interceptors.response.use((function(e){return e}),t.onError),o}function Gu(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Jr(t),r}function Vu(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 $u(e){var t,r=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return Vu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vu(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(Object.getOwnPropertyNames(e));try{for(r.s();!(t=r.n()).done;){var o=e[t.value];o&&"object"===n(o)&&$u(o)}}catch(e){r.e(e)}finally{r.f()}return Object.freeze(e)}function Xu(){var e=window;if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function Qu(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Jr(this)}})}var Yu,Zu,ec=(Yu=Object.getPrototypeOf,Zu=Object,function(e){return Yu(Zu(e))}),tc=gn,rc=ec,nc=wn,oc=Function.prototype.toString,ic=Object.prototype.hasOwnProperty,ac=oc.call(Object),uc=j((function(e){if(!nc(e)||"[object Object]"!=tc(e))return!1;var t=rc(e);if(null===t)return!0;var r=ic.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&oc.call(r)==ac}));function cc(e){var t,r=e.config,o=e.response;if(function(e){var t,r;if(null!=e&&null!==(t=e.headers)&&void 0!==t&&t.Authorization){var n="...".concat(e.headers.Authorization.toString().substr(-5));e.headers.Authorization="Bearer ".concat(n)}if(null!=e&&null!==(r=e.headers)&&void 0!==r&&r["X-Contentful-Resource-Resolution"]){var o="...".concat(e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5));e.headers["X-Contentful-Resource-Resolution"]=o}}(r),!uc(o)||!uc(r))throw e;var i,a=null==o?void 0:o.data,u={status:null==o?void 0:o.status,statusText:null==o?void 0:o.statusText,message:"",details:{}};r&&uc(r)&&(u.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),a&&"object"===n(a)&&("requestId"in a&&(u.requestId=a.requestId||"UNKNOWN"),"message"in a&&(u.message=a.message||""),"details"in a&&(u.details=a.details||{}),t=null===(i=a.sys)||void 0===i?void 0:i.id);var c=new Error;c.name=t&&"Unknown"!==t?t:"".concat(null==o?void 0:o.status," ").concat(null==o?void 0:o.statusText);try{c.message=JSON.stringify(u,null," ")}catch(e){var s;c.message=null!==(s=null==u?void 0:u.message)&&void 0!==s?s:""}throw c}function sc(e){return function(t){return Object.assign({},e,t)}}function lc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return fc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fc(e,t):void 0}}(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function fc(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}var pc,yc,dc,hc,vc={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},bc={0:8203,1:8204,2:8205,3:65279},mc=new Array(4).fill(String.fromCodePoint(bc[0])).join("");function gc(e,t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return!0===r||"auto"===r&&(function(e){return!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)||!Date.parse(e))}(e)||function(e){try{e.startsWith("/")}catch(e){return!1}return!0}(e))?e:"".concat(e).concat(function(e){var t=JSON.stringify(e);return"".concat(mc).concat(Array.from(t).map((function(e){var r=e.charCodeAt(0);if(r>255)throw new Error("Only ASCII edit info can be encoded. Error attempting to encode ".concat(t," on character ").concat(e," (").concat(r,")"));return Array.from(r.toString(4).padStart(4,"0")).map((function(e){return String.fromCodePoint(bc[e])})).join("")})).join(""))}(t))}(e,t)}Object.fromEntries(Object.entries(bc).map((function(e){return e.reverse()}))),Object.fromEntries(Object.entries(vc).map((function(e){return e.reverse()}))),"".concat(Object.values(vc).map((function(e){return"\\u{".concat(e.toString(16),"}")})).join(""));var wc=function(){if(hc)return dc;hc=1;var e=function(){if(yc)return pc;yc=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return pc=function(r,n,o){if("[object Function]"!==t.call(n))throw new TypeError("iterator must be a function");var i=r.length;if(i===+i)for(var a=0;a<i;a++)n.call(o,r[a],a,r);else for(var u in r)e.call(r,u)&&n.call(o,r[u],u,r)}}();function t(e,r,n){if(3===arguments.length)return t.set(e,r,n);if(2===arguments.length)return t.get(e,r);var o=t.bind(t,e);for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i].bind(o,e));return o}return dc=t,t.get=function(e,r){for(var o=Array.isArray(r)?r:t.parse(r),i=0;i<o.length;++i){var a=o[i];if("object"!=n(e)||!(a in e))throw new Error("Invalid reference token: "+a);e=e[a]}return e},t.set=function(e,r,n){var o=Array.isArray(r)?r:t.parse(r),i=o[0];if(0===o.length)throw Error("Can not set the root object");for(var a=0;a<o.length-1;++a){var u=o[a];"string"!=typeof u&&"number"!=typeof u&&(u=String(u)),"__proto__"!==u&&"constructor"!==u&&"prototype"!==u&&("-"===u&&Array.isArray(e)&&(u=e.length),i=o[a+1],u in e||(e[u]=i.match(/^(\d+|-)$/)?[]:{}),e=e[u])}return"-"===i&&Array.isArray(e)&&(i=e.length),e[i]=n,this},t.remove=function(e,r){var n=Array.isArray(r)?r:t.parse(r),o=n[n.length-1];if(void 0===o)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var i=t.get(e,n.slice(0,-1));if(Array.isArray(i)){var a=+o;if(""===o&&isNaN(a))throw new Error('Invalid array index: "'+o+'"');Array.prototype.splice.call(i,a,1)}else delete i[o]},t.dict=function(e,r){var n={};return t.walk(e,(function(e,t){n[t]=e}),r),n},t.walk=function(r,n,o){var i=[];o=o||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function r(a){e(a,(function(e,a){i.push(String(a)),o(e)?r(e):n(e,t.compile(i)),i.pop()}))}(r)},t.has=function(e,r){try{t.get(e,r)}catch(e){return!1}return!0},t.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},t.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},t.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(t.unescape)},t.compile=function(e){return 0===e.length?"":"/"+e.map(t.escape).join("/")},dc}(),Oc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=wc.get(e,t);if(function(e){return"content"in e&&!!e.content}(n))for(var o=0;o<n.content.length;o++)"text"===n.content[o].nodeType?r.push("".concat(t,"/content/").concat(o,"/value")):r.push.apply(r,d(Oc(e,"".concat(t,"/content/").concat(o))));return r},xc=function(e){var t=e.entityId,r=e.entityType,n=e.space,o=e.environment,i=e.field,a=e.locale,u=e.editorInterface,c=e.fieldType,s=e.platform,l={origin:"contentful.com",href:"".concat("".concat(e.targetOrigin||"https://app.contentful.com","/spaces/").concat(n,"/environments/").concat(o),"/","Entry"===r?"entries":"assets","/").concat(t,"/?focusedField=").concat(i,"&focusedLocale=").concat(a,"&source=vercel-content-link"),contentful:{editorInterface:u,fieldType:c}};return"vercel"===s&&delete l.contentful,l},Sc=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function jc(e,t,r,n,o,i,a){var u=a?t[a]:t;switch(e){case"Symbol":var c=gc(u,r);wc.set(n,o,c);break;case"Text":var s=gc(u,r);wc.set(n,o,s);break;case"RichText":!function(e){var t=e.pointer,r=e.mappings,n=e.data,o=e.hiddenStrings,i=r[t];if(i){delete r[t];var a,u=lc(Oc(n,t));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=gc(wc.get(n,c),o);wc.set(n,c,s)}}catch(e){u.e(e)}finally{u.f()}}else{var l,f=lc(Oc(n,t));try{for(f.s();!(l=f.n()).done;){var p=l.value,y=gc(wc.get(n,p),o);wc.set(n,p,y)}}catch(e){f.e(e)}finally{f.f()}}}({pointer:"",mappings:i,data:u,hiddenStrings:r});break;case"Array":var l=u.map((function(e){return"string"==typeof e?gc(e,r):e}));wc.set(n,o,l)}}var Ec=function(e,t,r,n,o){if(e.fields){var i=e.sys.contentSourceMaps;if(i){var a,u=i.mappings,c=function(){var i=u[s].source,a=e.sys.space.sys.id,c=e.sys.environment.sys.id,l=e.sys.id,f=e.sys.type,p=t[i.fieldType],y=r[i.editorInterface];if(function(e){return["builtin","sidebar-builtin","editor-builtin"].includes(e)}(y.widgetNamespace)&&!function(e){return Sc.includes(e)}(y.widgetId))return 0;var d=s.startsWith("/")?s:"/".concat(s);if(wc.has(e,d)){var h=wc.get(e,d);if(null===h)return{v:void 0};var v=d.split("/").pop();if(!v)return{v:void 0};var b=e.sys.locale;if(b){var m=xc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:b,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});jc(p,h,m,e,d,u)}else Object.keys(h).forEach((function(t){var r=xc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:t,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});jc(p,h,r,e,"".concat(d,"/").concat(t),u,t)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},Ac="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)};function kc(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var Pc={},Rc=function(e,t){var r=t.entryId,n=t.linkType,o=t.spaceId,i=t.environmentId;return e.get(o&&i?o+"!"+i+"!"+n+"!"+r:n+"!"+r)},_c=function e(t,r,n,o){if(r(t))return n(t);if(t&&"object"===(void 0===t?"undefined":Ac(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],r,n,o));o&&(t=function(e){if(Array.isArray(e))return e.filter((function(e){return e!==Pc}));for(var t in e)e[t]===Pc&&delete e[t];return e}(t))}return t},Tc=function(e,t){if(t=t||{},!e.items)return[];var r=Jr(e),n=Object.keys(r.includes||{}).reduce((function(e,t){return[].concat(kc(e),kc(r.includes[t]))}),[]),o=[].concat(kc(r.items),kc(n)).filter((function(e){return Boolean(e.sys)})),i=new Map(o.reduce((function(e,t){var r,n=(r=t.sys,r.space&&r.environment?[r.type+"!"+r.id,r.space.sys.id+"!"+r.environment.sys.id+"!"+r.type+"!"+r.id]:[r.type+"!"+r.id]).map((function(e){return[e,t]}));return e.push.apply(e,kc(n)),e}),[]));return o.forEach((function(e){var r=function(e,t){return Array.isArray(t)?Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,r){return t[r]=e[r],t}),{}):e}(e,t.itemEntryPoints);Object.assign(e,_c(r,(function(e){return(t=e)&&t.sys&&"Link"===t.sys.type||function(e){return e&&e.sys&&"ResourceLink"===e.sys.type}(e);var t}),(function(e){return function(e,t,r){var n=function(e,t){var r=t.sys,n=r.linkType;if("ResourceLink"===r.type){if(!n.startsWith("Contentful:"))return t;var o=function(e){var t=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(t.test(e)){var r=function(e){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e){var t=[],r=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(t.push(i.value),4!==t.length);r=!0);}catch(e){n=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(n)throw o}}return t}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.match(t)),n=r[2];return{spaceId:r[1],environmentId:void 0===n?"master":n,entryId:r[3]}}}(t.sys.urn),i=o.spaceId,a=o.environmentId,u=o.entryId,c=n.split(":")[1];return Rc(e,{linkType:c,entryId:u,spaceId:i,environmentId:a})||Pc}return Rc(e,{linkType:n,entryId:t.sys.id})||Pc}(e,t);return n===Pc?r?n:t:n}(i,e,t.removeUnresolved)}),t.removeUnresolved))})),r.items},Lc={exports:{}};!function(e){function t(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,r,n,o){return JSON.stringify(e,t(r,o),n)}).getSerialize=t}(Lc);var Cc=j(Lc.exports);function Nc(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Cc(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",(function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}}))}})}function Uc(){return Ic.apply(this,arguments)}function Ic(){return Ic=r(V.mark((function e(t,r,n){var o,i,a,u,c,s;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&(r.initial||r.nextSyncToken||r.nextPageToken)){e.next=2;break}throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");case 2:if(!r.content_type||r.type){e.next=6;break}r.type="Entry",e.next=8;break;case 6:if(!r.content_type||!r.type||"Entry"===r.type){e.next=8;break}throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");case 8:return o=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),i=o.withoutLinkResolution,a=o.withoutUnresolvableLinks,u=o.paginate,e.next=12,Dc(t,[],r,{paginate:u});case 12:return c=e.sent,i||(c.items=Tc(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(e){return function(t,r){return r.sys.type===e&&t.push(Qu(r)),t}},s={entries:(f=c.items).reduce(p("Entry"),[]),assets:f.reduce(p("Asset"),[]),deletedEntries:f.reduce(p("DeletedEntry"),[]),deletedAssets:f.reduce(p("DeletedAsset"),[])},c.nextSyncToken&&(s.nextSyncToken=c.nextSyncToken),c.nextPageToken&&(s.nextPageToken=c.nextPageToken),e.abrupt("return",($u((l=Nc(Qu(s))).sys||{}),l));case 18:case"end":return e.stop()}var l,f,p}),e)}))),Ic.apply(this,arguments)}function Dc(){return Bc.apply(this,arguments)}function Bc(){return(Bc=r(V.mark((function e(t,r,n,o){var i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=o.paginate,a=(c=n).nextPageToken?{sync_token:c.nextPageToken}:c.nextSyncToken?{sync_token:c.nextSyncToken}:c.sync_token?{sync_token:c.sync_token}:c,e.next=4,t.get("sync",Gu({query:a}));case 4:if(r=r.concat((u=e.sent.data||{}).items||[]),!u.nextPageUrl){e.next=15;break}if(!i){e.next=12;break}return delete a.initial,a.sync_token=Fc(u.nextPageUrl),e.abrupt("return",Dc(t,r,a,{paginate:i}));case 12:return e.abrupt("return",{items:r,nextPageToken:Fc(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){e.next=19;break}return e.abrupt("return",{items:r,nextSyncToken:Fc(u.nextSyncUrl)});case 19:return e.abrupt("return",{items:[]});case 20:case"end":return e.stop()}var c}),e)})))).apply(this,arguments)}function Fc(e){var t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Mc(e){var t={},r=!1;for(var n in e)Array.isArray(e[n])&&(t[n]=e[n].join(","),r=!0);return r?Object.assign(Object.assign({},e),t):e}function qc(e){if(!e.select)return new Set;var t=Array.isArray(e.select)?e.select:e.select.split(",").map((function(e){return e.trim()}));return new Set(t)}function Wc(e){if(!e.select)return e;var t=qc(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:d(t).join(",")}))}function zc(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=Nc(e);return r&&(o.items=Tc(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Hc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hc=function(){return!!e})()}var Kc=function(e){function t(e,r){var n,o,i,c;return h(this,t),o=this,i=t,c=['Invalid "'.concat(e,'" provided, ')+r],i=u(i),(n=a(o,Hc()?Reflect.construct(i,c||[],u(o).constructor):i.apply(o,c))).name="ValidationError",n}return s(t,e),b(t)}(f(Error));function Jc(e,t,r){if(r=r||{},"number"!=typeof t)throw new Kc(e,'only numeric values are allowed for timestamps, provided type was "'.concat(n(t),'"'));if(r.maximum&&t>r.maximum)throw new Kc(e,"value (".concat(t,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&t<r.now)throw new Kc(e,"value (".concat(t,") cannot be in the past, current time was ").concat(r.now))}var Gc=function(e){var t,r,o=null!==(t=null==e?void 0:e.timelinePreview)&&void 0!==t?t:null===(r=null==e?void 0:e.alphaFeatures)||void 0===r?void 0:r.timelinePreview,i=function(e,t){if(void 0===t)return!1;var r=function(e){if("object"!==n(e)||null===e||Array.isArray(e))throw new Kc("timelinePreview","The 'timelinePreview' parameter must be an object.");var t,r,o=!(!(t=e.release)||"object"!==n(t)||"string"!=typeof t.lte),i=!(!(r=e.timestamp)||"object"!==n(r)||!("string"==typeof r.lte||r.lte instanceof Date));if(!o&&!i)throw new Kc("timelinePreview","The 'timelinePreview' object must have at least one of 'release' or 'timestamp' with a valid 'lte' property.");return o||i}(t),o="string"==typeof e&&e.startsWith("preview");if(r&&!o)throw new Kc("timelinePreview","The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to enable Timeline Preview.\n ");return!0}(null==e?void 0:e.host,o);return{enabled:i,timelinePreview:o}};function Vc(e,t){t?function(e){if(e.locale)throw new Kc("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new Kc("locale","The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n use client.withAllLocales instead of the locale='*' parameter.")}(e)}function $c(e){if("resolveLinks"in e)throw new Kc("resolveLinks","The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n If you do not want to resolve links, use client.withoutLinkResolution.")}function Xc(e){if("removeUnresolved"in e)throw new Kc("removeUnresolved","The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n If you do not want to include unresolved links, use client.withoutUnresolvableLinks.")}function Qc(e){for(var t in e){var r=e[t];if("object"===n(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(t,'" query parameter.'))}}function Yc(e){var t=e.pagePrev,r=e.pageNext,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["cursor","pagePrev","pageNext","skip"]);return Object.assign(Object.assign(Object.assign(Object.assign({},n),{cursor:!0}),!!t&&{pagePrev:t}),!!r&&{pageNext:r})}function Zc(e,t){var r=null==t?void 0:t.split("?")[1];if(r)return new URLSearchParams(r).get(e)}"function"==typeof SuppressedError&&SuppressedError;var es={prev:"pagePrev",next:"pageNext"};function ts(e){for(var t={},r=0,n=Object.entries(es);r<n.length;r++){var o=m(n[r],2),i=o[0],a=Zc(o[1],e.pages[i]);a&&(t[i]=a)}return Object.assign(Object.assign({},e),{pages:t})}function rs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rs=function(){return!!e})()}var ns=function(e){function t(e,r,n){var o,i,c,s;return h(this,t),i=this,s=["The resource could not be found."],c=u(c=t),(o=a(i,rs()?Reflect.construct(c,s||[],u(i).constructor):c.apply(i,s))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:e,environment:r,space:n},o}return s(t,e),b(t)}(f(Error));function os(e,t){var n=e.http,o=e.getGlobalOptions,i=function(){return new ns(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown",o().environment,o().space)},a=function(e){var t="space"===e?o().spaceBaseUrl:o().environmentBaseUrl;if(!t)throw new Error("Please define baseUrl for "+e);return t.endsWith("/")||(t+="/"),t};function u(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.httpClientParams,i=null!==(e=null==o?void 0:o.includeContentSourceMaps)&&void 0!==e?e:null===(t=null==o?void 0:o.alphaFeatures)||void 0===t?void 0:t.includeContentSourceMaps,a=function(e,t){if(void 0===t)return!1;if("boolean"!=typeof t)throw new Kc("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");var r="string"==typeof e&&e.startsWith("preview");if(t&&!r)throw new Kc("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to include Content Source Maps.\n ");return t}(null==o?void 0:o.host,i);if(a&&(r.includeContentSourceMaps=!0,r.select)){var u=qc(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(e){return Gc(n.httpClientParams).enabled?"timeline/".concat(e):e}function s(e,t){var r;return(null===(r=null==t?void 0:t.params)||void 0===r?void 0:r.includeContentSourceMaps)?function(e,t,r){var n,o=function(e){if("function"==typeof structuredClone)return structuredClone(e);try{return JSON.parse(JSON.stringify(e))}catch(t){return e}}(e);if(o.sys&&"items"in o){if(null==(n=o.sys)||!n.contentSourceMapsLookup)return o;var i=o.sys.contentSourceMapsLookup,a=i.fieldTypes,u=i.editorInterfaces,c=o.includes;o.items.forEach((function(e){return Ec(e,a,u,t,r)})),c&&c.Entry&&c.Entry.forEach((function(e){return Ec(e,a,u,t,r)})),c&&c.Asset&&c.Asset.forEach((function(e){return Ec(e,a,u,t,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;Ec(o,o.sys.contentSourceMapsLookup.fieldTypes,o.sys.contentSourceMapsLookup.editorInterfaces,t,r)}return o}(e):e}function l(e){return f.apply(this,arguments)}function f(){return(f=r(V.mark((function e(t){var r,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.path,o=t.config,i=a(t.context),e.prev=2,e.next=5,n.get(i+r,o);case 5:return e.abrupt("return",s(e.sent.data,o));case 9:e.prev=9,e.t0=e.catch(2),cc(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function p(e){return y.apply(this,arguments)}function y(){return(y=r(V.mark((function e(t){var r,o,i,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.path,o=t.data,i=t.config,u=a(t.context),e.prev=2,e.next=5,n.post(u+r,o,i);case 5:return e.abrupt("return",e.sent.data);case 9:e.prev=9,e.t0=e.catch(2),cc(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function d(){return(d=r(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"space",path:""}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return(h=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types/".concat(t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return v=r(V.mark((function e(){var t=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types",config:Gu({query:t.length>0&&void 0!==t[0]?t[0]:{}})}));case 2:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function b(){return b=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",w(r,n.length>1&&void 0!==n[1]?n[1]:{},t));case 2:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function m(){return m=r(V.mark((function e(){var r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",j(r.length>0&&void 0!==r[0]?r[0]:{},t));case 2:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function g(){return g=r(V.mark((function e(){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,j(Yc(r),t);case 3:return e.abrupt("return",ts(e.sent));case 5:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function w(e,t){return O.apply(this,arguments)}function O(){return O=r(V.mark((function e(t,r){var n,o,i=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Vc(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),$c(r),Xc(r),Qc(r),e.abrupt("return",x(t,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function x(e,t,r){return S.apply(this,arguments)}function S(){return S=r(V.mark((function e(t,r,n){var o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw i(t);case 2:return e.prev=2,e.next=5,k(Object.assign({"sys.id":t},u(r)),n);case 5:if(!((o=e.sent).items.length>0)){e.next=10;break}return e.abrupt("return",o.items[0]);case 10:throw i(t);case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),cc(e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),S.apply(this,arguments)}function j(e){return E.apply(this,arguments)}function E(){return E=r(V.mark((function e(t){var r,n,o=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Vc(t,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),$c(t),Xc(t),Qc(t),e.abrupt("return",k(n?Object.assign(Object.assign({},t),{locale:"*"}):t,r));case 7:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function A(e){var t=function(e){var t=Gc(n.httpClientParams),r=t.timelinePreview;return t.enabled&&((null==r?void 0:r.release)&&(e.release=r.release),(null==r?void 0:r.timestamp)&&(e.timestamp=r.timestamp)),e}(Object.assign({},e));return u(Mc(Wc(t)))}function k(e,t){return P.apply(this,arguments)}function P(){return P=r(V.mark((function e(t,r){var n,o,i,a,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,i=r.withLocaleBasedPublishing,e.prev=1,a=Gu({query:A(t)}),u=a,i&&(u.headers=Object.assign(Object.assign({},u.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.next=7,l({context:"environment",path:c("entries"),config:u});case 7:return e.abrupt("return",zc(e.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 11:e.prev=11,e.t0=e.catch(1),cc(e.t0);case 14:case"end":return e.stop()}}),e,null,[[1,11]])}))),P.apply(this,arguments)}function R(){return R=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",I(r,n.length>1&&void 0!==n[1]?n[1]:{},t));case 2:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function _(){return _=r(V.mark((function e(){var r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",L(r.length>0&&void 0!==r[0]?r[0]:{},t));case 2:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function T(){return T=r(V.mark((function e(){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,L(Yc(r),t);case 3:return e.abrupt("return",ts(e.sent));case 5:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function L(e){return C.apply(this,arguments)}function C(){return C=r(V.mark((function e(t){var r,n,o,i=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Vc(t,n=(r=i.length>1&&void 0!==i[1]?i[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),Qc(t),o=n?Object.assign(Object.assign({},t),{locale:"*"}):t,e.abrupt("return",B(o,r));case 6:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function N(e,t,r){return U.apply(this,arguments)}function U(){return U=r(V.mark((function e(t,r,n){var o,i,a;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.withLocaleBasedPublishing,e.prev=1,i=Gu({query:A(r)}),a=i,o&&(a.headers=Object.assign(Object.assign({},a.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.abrupt("return",l({context:"environment",path:c("assets/".concat(t)),config:a}));case 8:e.prev=8,e.t0=e.catch(1),cc(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),U.apply(this,arguments)}function I(e,t){return D.apply(this,arguments)}function D(){return D=r(V.mark((function e(t,r){var n,o,i,a=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Vc(r,o=(n=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}).withAllLocales),Qc(r),i=o?Object.assign(Object.assign({},r),{locale:"*"}):r,e.abrupt("return",N(t,i,n));case 6:case"end":return e.stop()}}),e)}))),D.apply(this,arguments)}function B(e,t){return F.apply(this,arguments)}function F(){return F=r(V.mark((function e(t,r){var n,o,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withLocaleBasedPublishing,e.prev=1,o=Gu({query:A(t)}),i=o,n&&(i.headers=Object.assign(Object.assign({},i.headers),{"X-Contentful-Locale-Based-Publishing":!0})),e.abrupt("return",l({context:"environment",path:c("assets"),config:i}));case 8:e.prev=8,e.t0=e.catch(1),cc(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),F.apply(this,arguments)}function M(){return(M=r(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"tags/".concat(t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(){return q=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Qc(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"tags",config:Gu({query:Mc(Wc(t))})}));case 3:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}function W(){return(W=r(V.mark((function e(t){var r;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{r=Math.floor(Date.now()/1e3),Jc("expiresAt",t,{maximum:r+172800,now:r})}catch(e){cc(e)}return e.abrupt("return",p({context:"environment",path:"asset_keys",data:{expiresAt:t}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(){return z=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Qc(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"locales",config:Gu({query:Wc(t)})}));case 3:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function H(){return H=r(V.mark((function e(r){var n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",K(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},t));case 2:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}function K(e,t){return J.apply(this,arguments)}function J(){return J=r(V.mark((function e(t,r){var o,i,a=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=a.length>2&&void 0!==a[2]?a[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1},$c(t),Xc(t),i=Object.assign(Object.assign({},r),o),ee(n),e.abrupt("return",Uc(n,t,i));case 6:case"end":return e.stop()}}),e)}))),J.apply(this,arguments)}function G(){return G=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concept-schemes/".concat(t),config:Gu({query:Mc(Wc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),G.apply(this,arguments)}function $(){return $=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concept-schemes",config:Gu({query:Mc(Wc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),$.apply(this,arguments)}function X(){return X=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t),config:Gu({query:Mc(Wc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),X.apply(this,arguments)}function Q(){return Q=r(V.mark((function e(){var t,r=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts",config:Gu({query:Mc(Wc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Q.apply(this,arguments)}function Y(){return Y=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t,"/ancestors"),config:Gu({query:Mc(Wc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Y.apply(this,arguments)}function Z(){return Z=r(V.mark((function e(t){var r,n=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},e.prev=1,e.abrupt("return",l({context:"environment",path:"taxonomy/concepts/".concat(t,"/descendants"),config:Gu({query:Mc(Wc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),cc(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),Z.apply(this,arguments)}function ee(e){e.defaults.baseURL=o().environmentBaseUrl}return{version:"0.0.0-determined-by-semantic-release",getSpace:function(){return d.apply(this,arguments)},getContentType:function(e){return h.apply(this,arguments)},getContentTypes:function(){return v.apply(this,arguments)},getAsset:function(e){return R.apply(this,arguments)},getAssets:function(){return _.apply(this,arguments)},getAssetsWithCursor:function(){return T.apply(this,arguments)},getTag:function(e){return M.apply(this,arguments)},getTags:function(){return q.apply(this,arguments)},getLocales:function(){return z.apply(this,arguments)},parseEntries:function(e){return function(e){return function(e,t){var r=t.withoutUnresolvableLinks;return zc(e,{resolveLinks:!t.withoutLinkResolution,removeUnresolved:null!=r&&r})}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withoutLinkResolution:!1,withoutUnresolvableLinks:!1})}(e,t)},sync:function(e){return H.apply(this,arguments)},getEntry:function(e){return b.apply(this,arguments)},getEntries:function(){return m.apply(this,arguments)},getEntriesWithCursor:function(){return g.apply(this,arguments)},getConceptScheme:function(e){return function(e){return G.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConceptSchemes:function(){return function(){return $.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConcept:function(e){return function(e){return X.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConcepts:function(){return function(){return Q.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConceptAncestors:function(e){return function(e){return Y.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConceptDescendants:function(e){return function(e){return Z.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},createAssetKey:function(e){return W.apply(this,arguments)}}}return e.createClient=function(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");$c(e),Xc(e);var t=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=function(e,t,r){var n=[];t&&n.push("app ".concat(t)),r&&n.push("integration ".concat(r)),n.push("sdk ".concat(e));var o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=Xu(),n.push("platform ReactNative")):void 0===un||un.browser?(o=Xu(),n.push("platform browser")):(o=function(){var e=un.platform||"linux",t=un.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}(),n.push("platform node.js/".concat(un.versions&&un.versions.node?"v".concat(un.versions.node):un.version)))}catch(e){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(e){return""!==e})).join("; "),";")}("contentful.js/".concat("0.0.0-determined-by-semantic-release"),t.application,t.integration);t.headers=Object.assign(Object.assign({},t.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=Ju(pr,t);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=sc({space:t.space,environment:t.environment,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:"".concat(n.defaults.baseURL,"environments/").concat(t.environment)});return n.defaults.baseURL=o({}).environmentBaseUrl,function(e){var t=e.http,r=e.getGlobalOptions;function n(e){return function(e,t,r){var n=os({http:e.http,getGlobalOptions:e.getGlobalOptions},t)||{};return Object.defineProperty(n,"withAllLocales",{get:function(){return r(Object.assign(Object.assign({},t),{withAllLocales:!0}))}}),Object.defineProperty(n,"withoutLinkResolution",{get:function(){return r(Object.assign(Object.assign({},t),{withoutLinkResolution:!0}))}}),Object.defineProperty(n,"withoutUnresolvableLinks",{get:function(){return r(Object.assign(Object.assign({},t),{withoutUnresolvableLinks:!0}))}}),Object.defineProperty(n,"withLocaleBasedPublishing",{get:function(){return r(Object.assign(Object.assign({},t),{withLocaleBasedPublishing:!0}))}}),Object.create(n)}({http:t,getGlobalOptions:r},e,n)}var o=os({http:t,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0,withLocaleBasedPublishing:!1})},get withLocaleBasedPublishing(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!0})}})}({http:n,getGlobalOptions:o})},e.createGlobalOptions=sc,e}({});