contentful 11.7.10 → 11.7.11
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){if(Array.isArray(e))return e}function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function i(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 a(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}function u(){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 c(e){return function(e){if(Array.isArray(e))return i(e)}(e)||o(e)||a(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 s(e){return s="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},s(e)}function l(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}function f(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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,l(n.key),n)}}function d(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){return n(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)||a(e,t)||u()}function v(e,t){this.v=e,this.k=t}function m(e){return function(){return new b(e.apply(this,arguments))}}function b(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,u=a instanceof v;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 g(e){return new v(e,0)}function w(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 v(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 O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}b.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},b.prototype.next=function(e){return this._invoke("next",e)},b.prototype.throw=function(e){return this._invoke("throw",e)},b.prototype.return=function(e){return this._invoke("return",e)};var j={exports:{}},x={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}(x);var A=x.exports;!function(e){var t=A.default;function r(){e.exports=r=function(){return o},e.exports.__esModule=!0,e.exports.default=e.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(n){p=function(e,t,r){return e[t]=r}}function y(e,t,r,n){var o=Object.create((t&&t.prototype instanceof w?t:w).prototype);return u(o,"_invoke",{value:T(e,r,new C(n||[]))}),o}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}o.wrap=y;var h="suspendedStart",v="suspendedYield",m="executing",b="completed",g={};function w(){}function O(){}function S(){}var j={};p(j,s,(function(){return this}));var x=Object.getPrototypeOf,A=x&&x(x(U([])));A&&A!==i&&a.call(A,s)&&(j=A);var E=S.prototype=w.prototype=Object.create(j);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,r){function n(o,i,u,c){var s=d(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==t(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,u,c)}),(function(e){n("throw",e,u,c)})):r.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return n("throw",e,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(e,t){function i(){return new r((function(r,o){n(e,t,r,o)}))}return o=o?o.then(i,i):i()}})}function T(e,t,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=d(e,t,r);if("normal"===s.type){if(o=r.done?b:v,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=b,r.method="throw",r.arg=s.arg)}}}function R(e,t){var r=t.method,o=e.iterator[r];if(o===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=n,R(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,g;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function U(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(a.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}throw new TypeError(t(e)+" is not iterable")}return O.prototype=S,u(E,"constructor",{value:S,configurable:!0}),u(S,"constructor",{value:O,configurable:!0}),O.displayName=p(S,f,"GeneratorFunction"),o.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},o.awrap=function(e){return{__await:e}},k(P.prototype),p(P.prototype,l,(function(){return this})),o.AsyncIterator=P,o.async=function(e,t,r,n,i){void 0===i&&(i=Promise);var a=new P(y(e,t,r,n),i);return o.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(E),p(E,f,"Generator"),p(E,s,(function(){return this})),p(E,"toString",(function(){return"[object Generator]"})),o.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},o.values=U,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return u.type="throw",u.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:U(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),g}},o}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(j);var E=(0,j.exports)(),k=E;try{regeneratorRuntime=E}catch(e){"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))?globalThis.regeneratorRuntime=E:Function("r","regeneratorRuntime = r")(E)}var P=O(k);function T(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 R(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 L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(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 C(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function C(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 C=function(e){this.s=e,this.n=e.next},C.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 C(e)}function U(e,t){return function(){return e.apply(t,arguments)}}var I,N=Object.prototype.toString,F=Object.getPrototypeOf,B=Symbol.iterator,D=Symbol.toStringTag,M=(I=Object.create(null),function(e){var t=N.call(e);return I[t]||(I[t]=t.slice(8,-1).toLowerCase())}),q=function(e){return e=e.toLowerCase(),function(t){return M(t)===e}},W=function(e){return function(t){return s(t)===e}},z=Array.isArray,H=W("undefined"),K=q("ArrayBuffer"),G=W("string"),J=W("function"),V=W("number"),$=function(e){return null!==e&&"object"===s(e)},Q=function(e){if("object"!==M(e))return!1;var t=F(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||D in e||B in e)},X=q("Date"),Y=q("File"),Z=q("Blob"),ee=q("FileList"),te=q("URLSearchParams"),re=h(["ReadableStream","Request","Response","Headers"].map(q),4),ne=re[0],oe=re[1],ie=re[2],ae=re[3];function ue(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"!==s(e)&&(e=[e]),z(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{var a,u=i?Object.getOwnPropertyNames(e):Object.keys(e),c=u.length;for(r=0;r<c;r++)t.call(null,e[a=u[r]],a,e)}}function ce(e,t){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 se,le,fe,pe,ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,de=function(e){return!H(e)&&e!==ye},he=function(e){return function(t){return e&&t instanceof e}}("undefined"!=typeof Uint8Array&&F(Uint8Array)),ve=q("HTMLFormElement"),me=function(){var e=Object.prototype.hasOwnProperty;return function(t,r){return e.call(t,r)}}(),be=q("RegExp"),ge=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};ue(r,(function(r,o){var i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},we=q("AsyncFunction"),Oe=(se="function"==typeof setImmediate,le=J(ye.postMessage),se?setImmediate:le?(fe="axios@".concat(Math.random()),pe=[],ye.addEventListener("message",(function(e){e.source===ye&&e.data===fe&&pe.length&&pe.shift()()}),!1),function(e){pe.push(e),ye.postMessage(fe,"*")}):function(e){return setTimeout(e)}),Se="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ye):"undefined"!=typeof process&&process.nextTick||Oe,je={isArray:z,isArrayBuffer:K,isBuffer:function(e){return null!==e&&!H(e)&&null!==e.constructor&&!H(e.constructor)&&J(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||J(e.append)&&("formdata"===(t=M(e))||"object"===t&&J(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&K(e.buffer)},isString:G,isNumber:V,isBoolean:function(e){return!0===e||!1===e},isObject:$,isPlainObject:Q,isReadableStream:ne,isRequest:oe,isResponse:ie,isHeaders:ae,isUndefined:H,isDate:X,isFile:Y,isBlob:Z,isRegExp:be,isFunction:J,isStream:function(e){return $(e)&&J(e.pipe)},isURLSearchParams:te,isTypedArray:he,isFileList:ee,forEach:ue,merge:function e(){for(var t=(de(this)&&this||{}).caseless,r={},n=function(n,o){var i=t&&ce(r,o)||o;r[i]=Q(r[i])&&Q(n)?e(r[i],n):Q(n)?e({},n):z(n)?n.slice():n},o=0,i=arguments.length;o<i;o++)arguments[o]&&ue(arguments[o],n);return r},extend:function(e,t,r){return ue(t,(function(t,n){e[n]=r&&J(t)?U(t,r):t}),{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),e.prototype.constructor=e,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&&F(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:M,kindOfTest:q,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(z(e))return e;var t=e.length;if(!V(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[B]).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:ve,hasOwnProperty:me,hasOwnProp:me,reduceDescriptors:ge,freezeMethods:function(e){ge(e,(function(t,r){if(J(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;J(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 z(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:ye,isContextDefined:de,isSpecCompliantForm:function(e){return!!(e&&J(e.append)&&"FormData"===e[D]&&e[B])},toJSONObject:function(e){var t=new Array(10),r=function(e,n){if($(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;var o=z(e)?[]:{};return ue(e,(function(e,t){var i=r(e,n+1);!H(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:we,isThenable:function(e){return e&&($(e)||J(e))&&J(e.then)&&J(e.catch)},setImmediate:Oe,asap:Se,isIterable:function(e){return null!=e&&J(e[B])}};function xe(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}je.inherits(xe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:je.toJSONObject(this.config),code:this.code,status:this.status}}});var Ae=xe.prototype,Ee={};function ke(e){return je.isPlainObject(e)||je.isArray(e)}function Pe(e){return je.endsWith(e,"[]")?e.slice(0,-2):e}function Te(e,t,r){return e?e.concat(t).map((function(e,t){return e=Pe(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Ee[e]={value:e}})),Object.defineProperties(xe,Ee),Object.defineProperty(Ae,"isAxiosError",{value:!0}),xe.from=function(e,t,r,n,o,i){var a=Object.create(Ae);return je.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),xe.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Re=je.toFlatObject(je,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Le(e,t,r){if(!je.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=je.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!je.isUndefined(t[e])}))).metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&je.isSpecCompliantForm(t);if(!je.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(je.isDate(e))return e.toISOString();if(je.isBoolean(e))return e.toString();if(!u&&je.isBlob(e))throw new xe("Blob is not supported. Use a Buffer instead.");return je.isArrayBuffer(e)||je.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,r,o){var u=e;if(e&&!o&&"object"===s(e))if(je.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(je.isArray(e)&&function(e){return je.isArray(e)&&!e.some(ke)}(e)||(je.isFileList(e)||je.endsWith(r,"[]"))&&(u=je.toArray(e)))return r=Pe(r),u.forEach((function(e,n){!je.isUndefined(e)&&null!==e&&t.append(!0===a?Te([r],n,i):null===a?r:r+"[]",c(e))})),!1;return!!ke(e)||(t.append(Te(o,r,i),c(e)),!1)}var f=[],p=Object.assign(Re,{defaultVisitor:l,convertValue:c,isVisitable:ke});if(!je.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!je.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),je.forEach(r,(function(r,i){!0===(!(je.isUndefined(r)||null===r)&&o.call(t,r,je.isString(i)?i.trim():i,n,p))&&e(r,n?n.concat(i):[i])})),f.pop()}}(e),t}function _e(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ce(e,t){this._pairs=[],e&&Le(e,this,t)}var Ue=Ce.prototype;function Ie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ne(e,t,r){if(!t)return e;var n=r&&r.encode||Ie;je.isFunction(r)&&(r={serialize:r});var o,i=r&&r.serialize;if(o=i?i(t,r):je.isURLSearchParams(t)?t.toString():new Ce(t,r).toString(n)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}Ue.append=function(e,t){this._pairs.push([e,t])},Ue.toString=function(e){var t=e?function(t){return e.call(this,t,_e)}:_e;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Fe=function(){return d((function e(){p(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){je.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}])}(),Be={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},De={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ce,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Me="undefined"!=typeof window&&"undefined"!=typeof document,qe="object"===("undefined"==typeof navigator?"undefined":s(navigator))&&navigator||void 0,We=Me&&(!qe||["ReactNative","NativeScript","NS"].indexOf(qe.product)<0),ze="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,He=Me&&window.location.href||"http://localhost",Ke=L(L({},Object.freeze({__proto__:null,hasBrowserEnv:Me,hasStandardBrowserWebWorkerEnv:ze,hasStandardBrowserEnv:We,navigator:qe,origin:He})),De);function Ge(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&&je.isArray(n)?n.length:i,u?(n[i]=je.hasOwnProp(n,i)?[n[i],r]:r,!a):(n[i]&&je.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&je.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(je.isFormData(e)&&je.isFunction(e.entries)){var r={};return je.forEachEntry(e,(function(e,n){t(function(e){return je.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null}var Je={transitional:Be,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=je.isObject(e);if(i&&je.isHTMLForm(e)&&(e=new FormData(e)),je.isFormData(e))return o?JSON.stringify(Ge(e)):e;if(je.isArrayBuffer(e)||je.isBuffer(e)||je.isStream(e)||je.isFile(e)||je.isBlob(e)||je.isReadableStream(e))return e;if(je.isArrayBufferView(e))return e.buffer;if(je.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 Le(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Ke.isNode&&je.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=je.isFileList(e))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return Le(r?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e){if(je.isString(e))try{return(0,JSON.parse)(e),je.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Je.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(je.isResponse(e)||je.isReadableStream(e))return e;if(e&&je.isString(e)&&(r&&!this.responseType||n)){var o=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}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:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};je.forEach(["delete","get","head","post","put","patch"],(function(e){Je.headers[e]={}}));var Ve=Je,$e=je.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"]),Qe=Symbol("internals");function Xe(e){return e&&String(e).trim().toLowerCase()}function Ye(e){return!1===e||null==e?e:je.isArray(e)?e.map(Ye):String(e)}function Ze(e,t,r,n,o){return je.isFunction(n)?n.call(this,t,r):(o&&(t=r),je.isString(t)?je.isString(n)?-1!==t.indexOf(n):je.isRegExp(n)?n.test(t):void 0:void 0)}var et=function(){return d((function e(t){p(this,e),t&&this.set(t)}),[{key:"set",value:function(e,t,r){var n=this;function o(e,t,r){var o=Xe(t);if(!o)throw new Error("header name must be a non-empty string");var i=je.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Ye(e))}var i=function(e,t){return je.forEach(e,(function(e,r){return o(e,r,t)}))};if(je.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(je.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(je.isObject(e)&&je.isIterable(e)){var a,u,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 T(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)?T(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(!je.isArray(p))throw TypeError("Object iterator must return a key-value pair");l[u=p[0]]=(a=l[u])?je.isArray(a)?[].concat(c(a),[p[1]]):[a,p[1]]:p[1]}}catch(e){f.e(e)}finally{f.f()}i(l,t)}else null!=e&&o(t,e,r);return this}},{key:"get",value:function(e,t){if(e=Xe(e)){var r=je.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(je.isFunction(t))return t.call(this,n,r);if(je.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Xe(e)){var r=je.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ze(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function o(e){if(e=Xe(e)){var o=je.findKey(r,e);!o||t&&!Ze(0,r[o],o,t)||(delete r[o],n=!0)}}return je.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&&!Ze(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return je.forEach(this,(function(n,o){var i=je.findKey(r,o);if(i)return t[i]=Ye(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]=Ye(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 je.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&je.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=h(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[Qe]=this[Qe]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=Xe(e);t[n]||(function(e,t){var r=je.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 je.isArray(e)?e.forEach(n):n(e),this}}])}();et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),je.reduceDescriptors(et.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}}})),je.freezeMethods(et);var tt=et;function rt(e,t){var r=this||Ve,n=t||r,o=tt.from(n.headers),i=n.data;return je.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function nt(e){return!(!e||!e.__CANCEL__)}function ot(e,t,r){xe.call(this,null==e?"canceled":e,xe.ERR_CANCELED,t,r),this.name="CanceledError"}function it(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)}je.inherits(ot,xe,{__CANCEL__:!0});var at=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(null,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 i=r.loaded,a=r.lengthComputable?r.total:void 0,u=i-n,c=o(u);n=i;var s=f({loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a},t?"download":"upload",!0);e(s)}),r)},ut=function(e,t){var r=null!=e;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]},ct=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return je.asap((function(){return e.apply(void 0,r)}))}},st=Ke.hasStandardBrowserEnv?function(e,t){return function(r){return e.protocol===(r=new URL(r,Ke.origin)).protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):function(){return!0},lt=Ke.hasStandardBrowserEnv?{write:function(e,t,r,n,o,i){var a=[e+"="+encodeURIComponent(t)];je.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),je.isString(n)&&a.push("path="+n),je.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ft(e,t,r){var n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var pt=function(e){return e instanceof tt?L({},e):e};function yt(e,t){t=t||{};var r={};function n(e,t,r,n){return je.isPlainObject(e)&&je.isPlainObject(t)?je.merge.call({caseless:n},e,t):je.isPlainObject(t)?je.merge({},t):je.isArray(t)?t.slice():t}function o(e,t,r,o){return je.isUndefined(t)?je.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!je.isUndefined(t))return n(void 0,t)}function a(e,t){return je.isUndefined(t)?je.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(pt(e),pt(t),0,!0)}};return je.forEach(Object.keys(Object.assign({},e,t)),(function(n){var i=c[n]||o,a=i(e[n],t[n],n);je.isUndefined(a)&&i!==u||(r[n]=a)})),r}var dt,ht,vt=function(e){var t,r,i=yt({},e),s=i.data,l=i.withXSRFToken,f=i.xsrfHeaderName,p=i.xsrfCookieName,y=i.headers,d=i.auth;if(i.headers=y=tt.from(y),i.url=Ne(ft(i.baseURL,i.url,i.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&y.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),je.isFormData(s))if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if(!1!==(t=y.getContentType())){var h=t?t.split(";").map((function(e){return e.trim()})).filter(Boolean):[],v=n(r=h)||o(r)||a(r)||u(),m=v[0],b=v.slice(1);y.setContentType([m||"multipart/form-data"].concat(c(b)).join("; "))}if(Ke.hasStandardBrowserEnv&&(l&&je.isFunction(l)&&(l=l(i)),l||!1!==l&&st(i.url))){var g=f&&p&<.read(p);g&&y.set(f,g)}return i},mt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,o,i,a=vt(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());it((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(){r(new xe("Network Error",xe.ERR_NETWORK,e,y)),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||Be).clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&je.forEach(c.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),je.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var v=h(at(f,!0),2);i=v[1],y.addEventListener("progress",v[0])}if(l&&y.upload){var m=h(at(l),2);o=m[1],y.upload.addEventListener("progress",m[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(t){y&&(r(!t||t.type?new ot(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 b,g=(b=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a.url))&&b[1]||"";g&&-1===Ke.protocols.indexOf(g)?r(new xe("Unsupported protocol "+g+":",xe.ERR_BAD_REQUEST,e)):y.send(u||null)}))},bt=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 ot(t instanceof Error?t.message:t))}},a=t&&setTimeout((function(){a=null,i(new xe("timeout ".concat(t," of 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 je.asap(u)},c}},gt=P.mark((function e(t,r){var n,o,i;return P.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)})),wt=function(){var e=m(P.mark((function e(t,r){var n,o,i,a,u;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=!1,e.prev=2,a=_(Ot(t));case 4:return e.next=6,g(a.next());case 6:if(!(n=!(u=e.sent).done)){e.next=12;break}return e.delegateYield(w(_(gt(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,g(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)}}(),Ot=function(){var e=m(P.mark((function e(t){var r,n,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[Symbol.asyncIterator]){e.next=3;break}return e.delegateYield(w(_(t)),"t0",2);case 2:return e.abrupt("return");case 3:r=t.getReader(),e.prev=4;case 5:return e.next=7,g(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,g(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)}}(),St=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(P.mark((function t(){var r,o,i,s;return P.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})},jt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,xt=jt&&"function"==typeof ReadableStream,At=jt&&("function"==typeof TextEncoder?(dt=new TextEncoder,function(e){return dt.encode(e)}):function(){var e=r(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,new Response(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)}}()),Et=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}},kt=xt&&Et((function(){var e=!1,t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Pt=xt&&Et((function(){return je.isReadableStream(new Response("").body)})),Tt={stream:Pt&&function(e){return e.body}};jt&&(ht=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!Tt[e]&&(Tt[e]=je.isFunction(ht[e])?function(t){return t[e]()}:function(t,r){throw new xe("Response type '".concat(e,"' is not supported"),xe.ERR_NOT_SUPPORT,r)})})));var Rt=function(){var e=r(P.mark((function e(t){var r;return P.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(!je.isBlob(t)){e.next=4;break}return e.abrupt("return",t.size);case 4:if(!je.isSpecCompliantForm(t)){e.next=9;break}return r=new Request(Ke.origin,{method:"POST",body:t}),e.next=8,r.arrayBuffer();case 8:case 15:return e.abrupt("return",e.sent.byteLength);case 9:if(!je.isArrayBufferView(t)&&!je.isArrayBuffer(t)){e.next=11;break}return e.abrupt("return",t.byteLength);case 11:if(je.isURLSearchParams(t)&&(t+=""),!je.isString(t)){e.next=16;break}return e.next=15,At(t);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Lt=function(){var e=r(P.mark((function e(t,r){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=je.toFiniteNumber(t.getContentLength()),e.abrupt("return",null==n?Rt(r):n);case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),_t=jt&&function(){var e=r(P.mark((function e(t){var r,n,o,i,a,u,c,s,l,f,p,y,d,v,m,b,g,w,O,S,j,x,A,E,k,T,R,_,C,U,I;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=vt(t),n=r.url,o=r.method,i=r.data,a=r.signal,u=r.cancelToken,c=r.timeout,s=r.onDownloadProgress,l=r.onUploadProgress,p=r.headers,d=void 0===(y=r.withCredentials)?"same-origin":y,v=r.fetchOptions,f=(f=r.responseType)?(f+"").toLowerCase():"text",m=bt([a,u&&u.toAbortSignal()],c),g=m&&m.unsubscribe&&function(){m.unsubscribe()},e.prev=4,e.t0=l&&kt&&"get"!==o&&"head"!==o,!e.t0){e.next=11;break}return e.next=9,Lt(p,i);case 9:e.t1=w=e.sent,e.t0=0!==e.t1;case 11:if(!e.t0){e.next=15;break}O=new Request(n,{method:"POST",body:i,duplex:"half"}),je.isFormData(i)&&(S=O.headers.get("content-type"))&&p.setContentType(S),O.body&&(j=ut(w,at(ct(l))),x=h(j,2),i=St(O.body,65536,x[0],x[1]));case 15:return je.isString(d)||(d=d?"include":"omit"),A="credentials"in Request.prototype,b=new Request(n,L(L({},v),{},{signal:m,method:o.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:A?d:void 0})),e.next=20,fetch(b,v);case 20:return E=e.sent,k=Pt&&("stream"===f||"response"===f),Pt&&(s||k&&g)&&(T={},["status","statusText","headers"].forEach((function(e){T[e]=E[e]})),R=je.toFiniteNumber(E.headers.get("content-length")),_=s&&ut(R,at(ct(s),!0))||[],C=h(_,2),U=C[1],E=new Response(St(E.body,65536,C[0],(function(){U&&U(),g&&g()})),T)),f=f||"text",e.next=26,Tt[je.findKey(Tt,f)||"text"](E,t);case 26:return I=e.sent,!k&&g&&g(),e.next=30,new Promise((function(e,r){it(e,r,{data:I,headers:tt.from(E.headers),status:E.status,statusText:E.statusText,config:t,request:b})}));case 30:return e.abrupt("return",e.sent);case 33:if(e.prev=33,e.t2=e.catch(4),g&&g(),!e.t2||"TypeError"!==e.t2.name||!/Load failed|fetch/i.test(e.t2.message)){e.next=38;break}throw Object.assign(new xe("Network Error",xe.ERR_NETWORK,t,b),{cause:e.t2.cause||e.t2});case 38:throw xe.from(e.t2,e.t2&&e.t2.code,t,b);case 39:case"end":return e.stop()}}),e,null,[[4,33]])})));return function(t){return e.apply(this,arguments)}}(),Ct={http:null,xhr:mt,fetch:_t};je.forEach(Ct,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ut=function(e){return"- ".concat(e)},It=function(e){return je.isFunction(e)||null===e||!1===e},Nt=function(e){for(var t,r,n=(e=je.isArray(e)?e:[e]).length,o={},i=0;i<n;i++){var a=void 0;if(r=t=e[i],!It(t)&&void 0===(r=Ct[(a=String(t)).toLowerCase()]))throw new xe("Unknown adapter '".concat(a,"'"));if(r)break;o[a||"#"+i]=r}if(!r){var u=Object.entries(o).map((function(e){var t=h(e,2),r=t[1];return"adapter ".concat(t[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new xe("There is no suitable adapter to dispatch the request "+(n?u.length>1?"since :\n"+u.map(Ut).join("\n"):" "+Ut(u[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ot(null,e)}function Bt(e){return Ft(e),e.headers=tt.from(e.headers),e.data=rt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Nt(e.adapter||Ve.adapter)(e).then((function(t){return Ft(e),t.data=rt.call(e,e.transformResponse,t),t.headers=tt.from(t.headers),t}),(function(t){return nt(t)||(Ft(e),t&&t.response&&(t.response.data=rt.call(e,e.transformResponse,t.response),t.response.headers=tt.from(t.response.headers))),Promise.reject(t)}))}var Dt="1.10.0",Mt={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Mt[e]=function(r){return s(r)===e||"a"+(t<1?"n ":" ")+e}}));var qt={};Mt.transitional=function(e,t,r){return function(n,o,i){if(!1===e)throw new xe(function(e,t){return"[Axios v"+Dt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(o," has been removed"+(t?" in "+t:"")),xe.ERR_DEPRECATED);return t&&!qt[o]&&(qt[o]=!0),!e||e(n,o,i)}},Mt.spelling=function(){return function(){return!0}};var Wt={assertOptions:function(e,t,r){if("object"!==s(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],a=t[i];if(a){var u=e[i],c=void 0===u||a(u,i,e);if(!0!==c)throw new xe("option "+i+" must be "+c,xe.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new xe("Unknown option "+i,xe.ERR_BAD_OPTION)}},validators:Mt},zt=Wt.validators,Ht=function(){return d((function e(t){p(this,e),this.defaults=t||{},this.interceptors={request:new Fe,response:new Fe}}),[{key:"request",value:(e=r(P.mark((function e(t,r){var n,o;return P.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=yt(this.defaults,t)).transitional,n=t.paramsSerializer,o=t.headers;void 0!==r&&Wt.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),null!=n&&(je.isFunction(n)?t.paramsSerializer={serialize:n}:Wt.assertOptions(n,{encode:zt.function,serialize:zt.function},!0)),void 0!==t.allowAbsoluteUrls||(t.allowAbsoluteUrls=void 0===this.defaults.allowAbsoluteUrls||this.defaults.allowAbsoluteUrls),Wt.assertOptions(t,{baseUrl:zt.spelling("baseURL"),withXsrfToken:zt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=o&&je.merge(o.common,o[t.method]);o&&je.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=tt.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,a.unshift(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=[Bt.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;var y=t;for(f=0;f<l;){var d=a[f++],h=a[f++];try{y=d(y)}catch(e){h.call(this,e);break}}try{c=Bt.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 Ne(ft((e=yt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}]);var e}();je.forEach(["delete","get","head","options"],(function(e){Ht.prototype[e]=function(t,r){return this.request(yt(r||{},{method:e,url:t,data:(r||{}).data}))}})),je.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(yt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ht.prototype[e]=t(),Ht.prototype[e+"Form"]=t(!0)}));var Kt=Ht,Gt=function(){function e(t){if(p(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 ot(e,t,o),r(n.reason))}))}return d(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}}}])}(),Jt=Gt,Vt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Vt).forEach((function(e){var t=h(e,2);Vt[t[1]]=t[0]}));var $t=Vt,Qt=function e(t){var r=new Kt(t),n=U(Kt.prototype.request,r);return je.extend(n,Kt.prototype,r,{allOwnKeys:!0}),je.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(yt(t,r))},n}(Ve);Qt.Axios=Kt,Qt.CanceledError=ot,Qt.CancelToken=Jt,Qt.isCancel=nt,Qt.VERSION=Dt,Qt.toFormData=Le,Qt.AxiosError=xe,Qt.Cancel=Qt.CanceledError,Qt.all=function(e){return Promise.all(e)},Qt.spread=function(e){return function(t){return e.apply(null,t)}},Qt.isAxiosError=function(e){return je.isObject(e)&&!0===e.isAxiosError},Qt.mergeConfig=yt,Qt.AxiosHeaders=tt,Qt.formToJSON=function(e){return Ge(je.isHTMLForm(e)?new FormData(e):e)},Qt.getAdapter=Nt,Qt.HttpStatusCode=$t,Qt.default=Qt;var Xt=O(Qt),Yt=Function.prototype.toString,Zt=Object.create,er=Object.prototype.toString,tr=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}(),rr="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new tr};function nr(e){if(!e)return Zt(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Zt(e);if(t&&~Yt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return Zt(e)}var or="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 ir(e){var t=er.call(e);return t.substring(8,t.length-1)}var ar="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||ir(e)}:ir,ur=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,sr=Object.getOwnPropertyNames,lr=Object.getOwnPropertySymbols,fr=Object.prototype,pr=fr.hasOwnProperty,yr=fr.propertyIsEnumerable,dr="function"==typeof lr,hr=dr?function(e){return sr(e).concat(lr(e))}:sr;function vr(e,t,r){for(var n=hr(e),o=0,i=n.length,a=void 0,u=void 0;o<i;++o)if("callee"!==(a=n[o])&&"caller"!==a)if(u=cr(e,a)){u.get||u.set||(u.value=r.copier(u.value,r));try{ur(t,a,u)}catch(e){t[a]=u.value}}else t[a]=r.copier(e[a],r);return t}function mr(e){return e.slice(0)}function br(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 gr=dr?function(e,t){var r=nr(t.prototype);for(var n in t.cache.set(e,r),e)pr.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)yr.call(e,u=o[i])&&(r[u]=t.copier(e[u],t));return r}:function(e,t){var r=nr(t.prototype);for(var n in t.cache.set(e,r),e)pr.call(e,n)&&(r[n]=t.copier(e[n],t));return r};function wr(e,t){return new t.Constructor(e.valueOf())}function Or(e){return e}function Sr(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 jr=Array.isArray,xr=Object.assign,Ar=Object.getPrototypeOf||function(e){return e.__proto__},Er={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:mr,blob:function(e){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(mr(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Or,map:br,object:gr,regExp:function(e,t){var r=new t.Constructor(e.source,or(e));return r.lastIndex=e.lastIndex,r},set:Sr},kr=xr({},Er,{array:function(e,t){var r=new t.Constructor;return t.cache.set(e,r),vr(e,r,t)},map:function(e,t){return vr(e,br(e,t),t)},object:function(e,t){var r=nr(t.prototype);return t.cache.set(e,r),vr(e,r,t)},set:function(e,t){return vr(e,Sr(e,t),t)}});function Pr(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:Or,RegExp:e.regExp,Set:e.set,String:wr,WeakMap:Or,WeakSet:Or,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(xr({},Er,e)),r=t.Array,n=t.Object;function o(e,o){if(o.prototype=o.Constructor=void 0,!e||"object"!==s(e))return e;if(o.cache.has(e))return o.cache.get(e);if(o.prototype=Ar(e),o.Constructor=o.prototype&&o.prototype.constructor,!o.Constructor||o.Constructor===Object)return n(e,o);if(jr(e))return r(e,o);var i=t[ar(e)];return i?i(e,o):"function"==typeof e.then?e:n(e,o)}return function(e){return o(e,{Constructor:void 0,cache:rr(),copier:o,prototype:void 0})}}Pr(xr({},kr,{}));var Tr,Rr,Lr=Pr({}),_r={exports:{}},Cr=_r.exports={};function Ur(){throw new Error("setTimeout has not been defined")}function Ir(){throw new Error("clearTimeout has not been defined")}function Nr(e){if(Tr===setTimeout)return setTimeout(e,0);if((Tr===Ur||!Tr)&&setTimeout)return Tr=setTimeout,setTimeout(e,0);try{return Tr(e,0)}catch(t){try{return Tr.call(null,e,0)}catch(t){return Tr.call(this,e,0)}}}!function(){try{Tr="function"==typeof setTimeout?setTimeout:Ur}catch(e){Tr=Ur}try{Rr="function"==typeof clearTimeout?clearTimeout:Ir}catch(e){Rr=Ir}}();var Fr,Br=[],Dr=!1,Mr=-1;function qr(){Dr&&Fr&&(Dr=!1,Fr.length?Br=Fr.concat(Br):Mr=-1,Br.length&&Wr())}function Wr(){if(!Dr){var e=Nr(qr);Dr=!0;for(var t=Br.length;t;){for(Fr=Br,Br=[];++Mr<t;)Fr&&Fr[Mr].run();Mr=-1,t=Br.length}Fr=null,Dr=!1,function(e){if(Rr===clearTimeout)return clearTimeout(e);if((Rr===Ir||!Rr)&&clearTimeout)return Rr=clearTimeout,clearTimeout(e);try{return Rr(e)}catch(t){try{return Rr.call(null,e)}catch(t){return Rr.call(this,e)}}}(e)}}function zr(e,t){this.fun=e,this.array=t}function Hr(){}Cr.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];Br.push(new zr(e,t)),1!==Br.length||Dr||Nr(Wr)},zr.prototype.run=function(){this.fun.apply(null,this.array)},Cr.title="browser",Cr.browser=!0,Cr.env={},Cr.argv=[],Cr.version="",Cr.versions={},Cr.on=Hr,Cr.addListener=Hr,Cr.once=Hr,Cr.off=Hr,Cr.removeListener=Hr,Cr.removeAllListeners=Hr,Cr.emit=Hr,Cr.prependListener=Hr,Cr.prependOnceListener=Hr,Cr.listeners=function(){return[]},Cr.binding=function(){throw new Error("process.binding is not supported")},Cr.cwd=function(){return"/"},Cr.chdir=function(){throw new Error("process.chdir is not supported")},Cr.umask=function(){return 0};var Kr=O(_r.exports);function Gr(){}var Jr=function(e){return new Promise((function(t){setTimeout(t,e)}))};function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vr(e,t)}function $r(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&&Vr(e,t)}var Qr="object"==("undefined"==typeof global?"undefined":s(global))&&global&&global.Object===Object&&global,Xr="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,Yr=(Qr||Xr||Function("return this")()).Symbol,Zr=Object.prototype,en=Zr.hasOwnProperty,tn=Zr.toString,rn=Yr?Yr.toStringTag:void 0,nn=Object.prototype.toString,on=Yr?Yr.toStringTag:void 0,an=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":on&&on in Object(e)?function(e){var t=en.call(e,rn),r=e[rn];try{e[rn]=void 0;var n=!0}catch(e){}var o=tn.call(e);return n&&(t?e[rn]=r:delete e[rn]),o}(e):function(e){return nn.call(e)}(e)},un=function(e){return null!=e&&"object"==s(e)},cn=an,sn=Array.isArray,ln=un,fn=O((function(e){return"string"==typeof e||!sn(e)&&ln(e)&&"[object String]"==cn(e)}));function pn(e,t){if(t&&("object"==s(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 yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yn(e)}function dn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dn=function(){return!!e})()}function hn(e){var t="function"==typeof Map?new Map:void 0;return hn=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(dn())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&Vr(o,r.prototype),o}(e,arguments,yn(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Vr(r,e)},hn(e)}function vn(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 mn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(mn=function(){return!!e})()}var bn=function(e){function t(){var e,r,n,o;return p(this,t),r=this,o=["Throttled function aborted"],n=yn(n=t),(e=pn(r,mn()?Reflect.construct(n,o||[],yn(r).constructor):n.apply(r,o))).name="AbortError",e}return $r(t,e),d(t)}(hn(Error));function gn(){gn=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)),Vr(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 $r(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){var r=i[t];return"$"+(Array.isArray(r)?r.join("$"):r)})))}if("function"==typeof o){var a=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=s(e[e.length-1])&&(e=[].slice.call(e)).push(n(e,a)),o.apply(this,e)}))}return e[Symbol.replace].call(this,r,o)},gn.apply(this,arguments)}var wn=gn(/(\d+)(%)/,{value:1});function On(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=t;if(wn.test(e)){var n,o=null===(n=e.match(wn))||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 Sn(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.apply(void 0,p)):y()})):r(P.mark((function t(){return P.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 vn(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)?vn(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 bn)}}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 jn=Object,xn=Error,An=EvalError,En=RangeError,kn=ReferenceError,Pn=SyntaxError,Tn=TypeError,Rn=URIError,Ln=Math.abs,_n=Math.floor,Cn=Math.max,Un=Math.min,In=Math.pow,Nn=Math.round,Fn=Number.isNaN||function(e){return e!=e},Bn=Object.getOwnPropertyDescriptor;if(Bn)try{Bn([],"length")}catch(e){Bn=null}var Dn=Bn,Mn=Object.defineProperty||!1;if(Mn)try{Mn({},"a",{value:1})}catch(e){Mn=!1}var qn,Wn,zn,Hn,Kn,Gn,Jn,Vn,$n,Qn,Xn,Yn,Zn,eo,to,ro,no,oo,io,ao,uo,co,so,lo,fo,po,yo,ho,vo,mo=Mn;function bo(){return Gn?Kn:(Gn=1,Kn="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function go(){return Vn?Jn:(Vn=1,Jn=jn.getPrototypeOf||null)}function wo(){if(Qn)return $n;Qn=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 $n=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},$n}function Oo(){if(Yn)return Xn;Yn=1;var e=wo();return Xn=Function.prototype.bind||e}function So(){return eo?Zn:(eo=1,Zn=Function.prototype.call)}function jo(){return ro?to:(ro=1,to=Function.prototype.apply)}var xo=jn,Ao=xn,Eo=An,ko=En,Po=kn,To=Pn,Ro=Tn,Lo=Rn,_o=Ln,Co=_n,Uo=Cn,Io=Un,No=In,Fo=Nn,Bo=Function,Do=function(e){try{return Bo('"use strict"; return ('+e+").constructor;")()}catch(e){}},Mo=Dn,qo=mo,Wo=function(){throw new Ro},zo=Mo?function(){try{return Wo}catch(e){try{return Mo(arguments,"callee").get}catch(e){return Wo}}}():Wo,Ho=function(){if(Hn)return zn;Hn=1;var e="undefined"!=typeof Symbol&&Symbol,t=Wn?qn:(Wn=1,qn=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===s(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 zn=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"===s(e("foo"))&&"symbol"===s(Symbol("bar"))&&t()}}()(),Ko=function(){if(po)return fo;po=1;var e=bo(),t=go(),r=function(){if(lo)return so;lo=1;var e,t=function(){if(co)return uo;co=1;var e=Oo(),t=Tn,r=So(),n=function(){if(ao)return io;ao=1;var e=Oo(),t=jo(),r=So(),n=oo?no:(oo=1,no="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return io=n||e.call(r,t)}();return uo=function(o){if(o.length<1||"function"!=typeof o[0])throw new t("a function is required");return n(e,r,o)}}(),r=Dn;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!==s(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 so=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return fo=e?function(t){return e(t)}:t?function(e){if(!e||"object"!==s(e)&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),Go=go(),Jo=bo(),Vo=jo(),$o=So(),Qo={},Xo="undefined"!=typeof Uint8Array&&Ko?Ko(Uint8Array):vo,Yo={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?vo:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?vo:ArrayBuffer,"%ArrayIteratorPrototype%":Ho&&Ko?Ko([][Symbol.iterator]()):vo,"%AsyncFromSyncIteratorPrototype%":vo,"%AsyncFunction%":Qo,"%AsyncGenerator%":Qo,"%AsyncGeneratorFunction%":Qo,"%AsyncIteratorPrototype%":Qo,"%Atomics%":"undefined"==typeof Atomics?vo:Atomics,"%BigInt%":"undefined"==typeof BigInt?vo:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?vo:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?vo:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?vo:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Ao,"%eval%":eval,"%EvalError%":Eo,"%Float16Array%":"undefined"==typeof Float16Array?vo:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?vo:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?vo:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?vo:FinalizationRegistry,"%Function%":Bo,"%GeneratorFunction%":Qo,"%Int8Array%":"undefined"==typeof Int8Array?vo:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?vo:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?vo:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ho&&Ko?Ko(Ko([][Symbol.iterator]())):vo,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":s(JSON))?JSON:vo,"%Map%":"undefined"==typeof Map?vo:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ho&&Ko?Ko((new Map)[Symbol.iterator]()):vo,"%Math%":Math,"%Number%":Number,"%Object%":xo,"%Object.getOwnPropertyDescriptor%":Mo,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?vo:Promise,"%Proxy%":"undefined"==typeof Proxy?vo:Proxy,"%RangeError%":ko,"%ReferenceError%":Po,"%Reflect%":"undefined"==typeof Reflect?vo:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?vo:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ho&&Ko?Ko((new Set)[Symbol.iterator]()):vo,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?vo:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ho&&Ko?Ko(""[Symbol.iterator]()):vo,"%Symbol%":Ho?Symbol:vo,"%SyntaxError%":To,"%ThrowTypeError%":zo,"%TypedArray%":Xo,"%TypeError%":Ro,"%Uint8Array%":"undefined"==typeof Uint8Array?vo:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?vo:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?vo:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?vo:Uint32Array,"%URIError%":Lo,"%WeakMap%":"undefined"==typeof WeakMap?vo:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?vo:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?vo:WeakSet,"%Function.prototype.call%":$o,"%Function.prototype.apply%":Vo,"%Object.defineProperty%":qo,"%Object.getPrototypeOf%":Go,"%Math.abs%":_o,"%Math.floor%":Co,"%Math.max%":Uo,"%Math.min%":Io,"%Math.pow%":No,"%Math.round%":Fo,"%Math.sign%":function(e){return Fn(e)||0===e?e:e<0?-1:1},"%Reflect.getPrototypeOf%":Jo};if(Ko)try{null.error}catch(e){var Zo=Ko(Ko(e));Yo["%Error.prototype%"]=Zo}var ei=function e(t){var r;if("%AsyncFunction%"===t)r=Do("async function () {}");else if("%GeneratorFunction%"===t)r=Do("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=Do("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&Ko&&(r=Ko(o.prototype))}return Yo[t]=r,r},ti={__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"]},ri=Oo(),ni=function(){if(ho)return yo;ho=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Oo();return yo=r.call(e,t)}(),oi=ri.call($o,Array.prototype.concat),ii=ri.call(Vo,Array.prototype.splice),ai=ri.call($o,String.prototype.replace),ui=ri.call($o,String.prototype.slice),ci=ri.call($o,RegExp.prototype.exec),si=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,li=/\\(\\)?/g,fi=function(e,t){var r,n=e;if(ni(ti,n)&&(n="%"+(r=ti[n])[0]+"%"),ni(Yo,n)){var o=Yo[n];if(o===Qo&&(o=ei(n)),void 0===o&&!t)throw new Ro("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new To("intrinsic "+e+" does not exist!")},pi=function(e,t){if("string"!=typeof e||0===e.length)throw new Ro("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Ro('"allowMissing" argument must be a boolean');if(null===ci(/^%?[^%]*%?$/,e))throw new To("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=ui(e,0,1),r=ui(e,-1);if("%"===t&&"%"!==r)throw new To("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new To("invalid intrinsic syntax, expected opening `%`");var n=[];return ai(e,si,(function(e,t,r,o){n[n.length]=r?ai(o,li,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=fi("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],ii(r,oi([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=ui(f,0,1),y=ui(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new To("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),ni(Yo,i="%"+(n+="."+f)+"%"))a=Yo[i];else if(null!=a){if(!(f in a)){if(!t)throw new Ro("base intrinsic for "+e+" exists, but the property is not available.");return}if(Mo&&s+1>=r.length){var d=Mo(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=ni(a,f),a=a[f];l&&!u&&(Yo[i]=a)}}return a},yi={exports:{}},di=mo,hi=Pn,vi=Tn,mi=Dn,bi=mo,gi=function(){return!!bi};gi.hasArrayLengthDefineBug=function(){if(!bi)return null;try{return 1!==bi([],"length",{value:1}).length}catch(e){return!0}};var wi=pi,Oi=function(e,t,r){if(!e||"object"!==s(e)&&"function"!=typeof e)throw new vi("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!==s(t))throw new vi("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new vi("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new vi("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new vi("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new vi("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],u=!!mi&&mi(e,t);if(di)di(e,t,{configurable:null===i&&u?u.configurable:!i,enumerable:null===n&&u?u.enumerable:!n,value:r,writable:null===o&&u?u.writable:!o});else{if(!a&&(n||o||i))throw new hi("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}},Si=gi(),ji=Dn,xi=Tn,Ai=wi("%Math.floor%"),Ei=function(e,t){if("function"!=typeof e)throw new xi("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||Ai(t)!==t)throw new xi("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in e&&ji){var i=ji(e,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(Si?Oi(e,"length",t,!0,!0):Oi(e,"length",t)),e};!function(e){var t=Oo(),r=pi,n=Ei,o=Tn,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||t.call(a,i),c=mo,s=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var r=u(t,a,arguments);return n(r,1+s(0,e.length-(arguments.length-1)),!0)};var l=function(){return u(t,i,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l}(yi);var ki=pi,Pi=yi.exports,Ti=Pi(ki("String.prototype.indexOf")),Ri=S(Object.freeze({__proto__:null,default:{}})),Li="function"==typeof Map&&Map.prototype,_i=Object.getOwnPropertyDescriptor&&Li?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ci=Li&&_i&&"function"==typeof _i.get?_i.get:null,Ui=Li&&Map.prototype.forEach,Ii="function"==typeof Set&&Set.prototype,Ni=Object.getOwnPropertyDescriptor&&Ii?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Fi=Ii&&Ni&&"function"==typeof Ni.get?Ni.get:null,Bi=Ii&&Set.prototype.forEach,Di="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Mi="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,qi="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Wi=Boolean.prototype.valueOf,zi=Object.prototype.toString,Hi=Function.prototype.toString,Ki=String.prototype.match,Gi=String.prototype.slice,Ji=String.prototype.replace,Vi=String.prototype.toUpperCase,$i=String.prototype.toLowerCase,Qi=RegExp.prototype.test,Xi=Array.prototype.concat,Yi=Array.prototype.join,Zi=Array.prototype.slice,ea=Math.floor,ta="function"==typeof BigInt?BigInt.prototype.valueOf:null,ra=Object.getOwnPropertySymbols,na="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?Symbol.prototype.toString:null,oa="function"==typeof Symbol&&"object"===s(Symbol.iterator),ia="function"==typeof Symbol&&Symbol.toStringTag&&(s(Symbol.toStringTag),1)?Symbol.toStringTag:null,aa=Object.prototype.propertyIsEnumerable,ua=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ca(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Qi.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-ea(-e):ea(e);if(n!==e){var o=String(n),i=Gi.call(t,o.length+1);return Ji.call(o,r,"$&_")+"."+Ji.call(Ji.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ji.call(t,r,"$&_")}var sa=Ri,la=sa.custom,fa=va(la)?la:null;function pa(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function ya(e){return Ji.call(String(e),/"/g,""")}function da(e){return!("[object Array]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}function ha(e){return!("[object RegExp]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}function va(e){if(oa)return e&&"object"===s(e)&&e instanceof Symbol;if("symbol"===s(e))return!0;if(!e||"object"!==s(e)||!na)return!1;try{return na.call(e),!0}catch(e){}return!1}var ma=Object.prototype.hasOwnProperty||function(e){return e in this};function ba(e,t){return ma.call(e,t)}function ga(e){return zi.call(e)}function wa(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 Oa(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Oa(Gi.call(e,0,t.maxStringLength),t)+n}return pa(Ji.call(Ji.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Sa),"single",t)}function Sa(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":"")+Vi.call(t.toString(16))}function ja(e){return"Object("+e+")"}function xa(e){return e+" { ? }"}function Aa(e,t,r,n){return e+" ("+t+") {"+(n?Ea(r,n):Yi.call(r,", "))+"}"}function Ea(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+Yi.call(e,","+r)+"\n"+t.prev}function ka(e,t){var r=da(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=ba(e,o)?t(e[o],e):""}var i,a="function"==typeof ra?ra(e):[];if(oa){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in e)ba(e,c)&&(r&&String(Number(c))===c&&c<e.length||oa&&i["$"+c]instanceof Symbol||(Qi.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof ra)for(var s=0;s<a.length;s++)aa.call(e,a[s])&&n.push("["+t(a[s])+"]: "+t(e[a[s]],e));return n}var Pa=pi,Ta=function(e,t){var r=ki(e,!!t);return"function"==typeof r&&Ti(e,".prototype.")>-1?Pi(r):r},Ra=function e(t,r,n,o){var i=r||{};if(ba(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ba(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!ba(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ba(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(ba(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=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 Oa(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return u?ca(t,c):c}if("bigint"==typeof t){var l=String(t)+"n";return u?ca(t,l):l}var f=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"===s(t))return da(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=Yi.call(Array(e.indent+1)," ")}return{base:r,prev:Yi.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(wa(o,t)>=0)return"[Circular]";function y(t,r,a){if(r&&(o=Zi.call(o)).push(r),a){var u={depth:i.depth};return ba(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),e(t,u,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!ha(t)){var d=function(e){if(e.name)return e.name;var t=Ki.call(Hi.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),h=ka(t,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(h.length>0?" { "+Yi.call(h,", ")+" }":"")}if(va(t)){var v=oa?Ji.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):na.call(t);return"object"!==s(t)||oa?v:ja(v)}if(function(e){return!(!e||"object"!==s(e))&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var m="<"+$i.call(String(t.nodeName)),b=t.attributes||[],g=0;g<b.length;g++)m+=" "+b[g].name+"="+pa(ya(b[g].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+"</"+$i.call(String(t.nodeName))+">"}if(da(t)){if(0===t.length)return"[]";var w=ka(t,y);return p&&!function(e){for(var t=0;t<e.length;t++)if(wa(e[t],"\n")>=0)return!1;return!0}(w)?"["+Ea(w,p)+"]":"[ "+Yi.call(w,", ")+" ]"}if(function(e){return!("[object Error]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}(t)){var O=ka(t,y);return"cause"in Error.prototype||!("cause"in t)||aa.call(t,"cause")?0===O.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Yi.call(O,", ")+" }":"{ ["+String(t)+"] "+Yi.call(Xi.call("[cause]: "+y(t.cause),O),", ")+" }"}if("object"===s(t)&&a){if(fa&&"function"==typeof t[fa]&&sa)return sa(t,{depth:f-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Ci||!e||"object"!==s(e))return!1;try{Ci.call(e);try{Fi.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return Ui&&Ui.call(t,(function(e,r){S.push(y(r,t,!0)+" => "+y(e,t))})),Aa("Map",Ci.call(t),S,p)}if(function(e){if(!Fi||!e||"object"!==s(e))return!1;try{Fi.call(e);try{Ci.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var j=[];return Bi&&Bi.call(t,(function(e){j.push(y(e,t))})),Aa("Set",Fi.call(t),j,p)}if(function(e){if(!Di||!e||"object"!==s(e))return!1;try{Di.call(e,Di);try{Mi.call(e,Mi)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return xa("WeakMap");if(function(e){if(!Mi||!e||"object"!==s(e))return!1;try{Mi.call(e,Mi);try{Di.call(e,Di)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return xa("WeakSet");if(function(e){if(!qi||!e||"object"!==s(e))return!1;try{return qi.call(e),!0}catch(e){}return!1}(t))return xa("WeakRef");if(function(e){return!("[object Number]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}(t))return ja(y(Number(t)));if(function(e){if(!e||"object"!==s(e)||!ta)return!1;try{return ta.call(e),!0}catch(e){}return!1}(t))return ja(y(ta.call(t)));if(function(e){return!("[object Boolean]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}(t))return ja(Wi.call(t));if(function(e){return!("[object String]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}(t))return ja(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]"!==ga(e)||ia&&"object"===s(e)&&ia in e)}(t)&&!ha(t)){var x=ka(t,y),A=ua?ua(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",k=!A&&ia&&Object(t)===t&&ia in t?Gi.call(ga(t),8,-1):E?"Object":"",P=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(k||E?"["+Yi.call(Xi.call([],k||[],E||[]),": ")+"] ":"");return 0===x.length?P+"{}":p?P+"{"+Ea(x,p)+"}":P+"{ "+Yi.call(x,", ")+" }"}return String(t)},La=Tn,_a=Pa("%WeakMap%",!0),Ca=Pa("%Map%",!0),Ua=Ta("WeakMap.prototype.get",!0),Ia=Ta("WeakMap.prototype.set",!0),Na=Ta("WeakMap.prototype.has",!0),Fa=Ta("Map.prototype.get",!0),Ba=Ta("Map.prototype.set",!0),Da=Ta("Map.prototype.has",!0),Ma=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},qa=String.prototype.replace,Wa=/%20/g,za="RFC3986",Ha={default:za,formatters:{RFC1738:function(e){return qa.call(e,Wa,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:za},Ka=Ha,Ga=Object.prototype.hasOwnProperty,Ja=Array.isArray,Va=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),$a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},Qa=1024,Xa={arrayToObject:$a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var c=a[u],l=i[c];"object"===s(l)&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:i,prop:c}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(Ja(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"===s(e)?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;u+=Qa){for(var c=i.length>=Qa?i.slice(u,u+Qa):i,l=[],f=0;f<c.length;++f){var p=c.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===Ka.RFC1738&&(40===p||41===p)?l[l.length]=c.charAt(f):p<128?l[l.length]=Va[p]:p<2048?l[l.length]=Va[192|p>>6]+Va[128|63&p]:p<55296||p>=57344?l[l.length]=Va[224|p>>12]+Va[128|p>>6&63]+Va[128|63&p]:(p=65536+((1023&p)<<10|1023&c.charCodeAt(f+=1)),l[l.length]=Va[240|p>>18]+Va[128|p>>12&63]+Va[128|p>>6&63]+Va[128|63&p])}a+=l.join("")}return a},isBuffer:function(e){return!(!e||"object"!==s(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Ja(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!==s(r)){if(Ja(t))t.push(r);else{if(!t||"object"!==s(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!Ga.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==s(t))return[t].concat(r);var o=t;return Ja(t)&&!Ja(r)&&(o=$a(t,n)),Ja(t)&&Ja(r)?(r.forEach((function(r,o){if(Ga.call(t,o)){var i=t[o];i&&"object"===s(i)&&r&&"object"===s(r)?t[o]=e(i,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return t[o]=Ga.call(t,o)?e(t[o],i,n):i,t}),o)}},Ya=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new La("Side channel does not contain "+Ra(e))},get:function(n){if(_a&&n&&("object"===s(n)||"function"==typeof n)){if(e)return Ua(e,n)}else if(Ca){if(t)return Fa(t,n)}else if(r)return function(e,t){var r=Ma(e,t);return r&&r.value}(r,n)},has:function(n){if(_a&&n&&("object"===s(n)||"function"==typeof n)){if(e)return Na(e,n)}else if(Ca){if(t)return Da(t,n)}else if(r)return function(e,t){return!!Ma(e,t)}(r,n);return!1},set:function(n,o){_a&&n&&("object"===s(n)||"function"==typeof n)?(e||(e=new _a),Ia(e,n,o)):Ca?(t||(t=new Ca),Ba(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=Ma(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n},Za=Xa,eu=Ha,tu=Object.prototype.hasOwnProperty,ru={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},nu=Array.isArray,ou=Array.prototype.push,iu=function(e,t){ou.apply(e,nu(t)?t:[t])},au=Date.prototype.toISOString,uu=eu.default,cu={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Za.encode,encodeValuesOnly:!1,format:uu,formatter:eu.formatters[uu],indices:!1,serializeDate:function(e){return au.call(e)},skipNulls:!1,strictNullHandling:!1},su={},lu=function e(t,r,n,o,i,a,u,c,l,f,p,y,d,h,v,m,b,g){for(var w,O=t,S=g,j=0,x=!1;void 0!==(S=S.get(su))&&!x;){var A=S.get(t);if(j+=1,void 0!==A){if(A===j)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(su)&&(j=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=d(O):"comma"===n&&nu(O)&&(O=Za.maybeMap(O,(function(e){return e instanceof Date?d(e):e}))),null===O){if(a)return l&&!m?l(r,cu.encoder,b,"key",h):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===s(w)||"bigint"==typeof w||Za.isBuffer(O))return l?[v(m?r:l(r,cu.encoder,b,"key",h))+"="+v(l(O,cu.encoder,b,"value",h))]:[v(r)+"="+v(String(O))];var E,k=[];if(void 0===O)return k;if("comma"===n&&nu(O))m&&l&&(O=Za.maybeMap(O,l)),E=[{value:O.length>0?O.join(",")||null:void 0}];else if(nu(f))E=f;else{var P=Object.keys(O);E=p?P.sort(p):P}var T=c?r.replace(/\./g,"%2E"):r,R=o&&nu(O)&&1===O.length?T+"[]":T;if(i&&nu(O)&&0===O.length)return R+"[]";for(var L=0;L<E.length;++L){var _=E[L],C="object"===s(_)&&void 0!==_.value?_.value:O[_];if(!u||null!==C){var U=y&&c?_.replace(/\./g,"%2E"):_,I=nu(O)?"function"==typeof n?n(R,U):R:R+(y?"."+U:"["+U+"]");g.set(t,j);var N=Ya();N.set(su,g),iu(k,e(C,I,n,o,i,a,u,c,"comma"===n&&m&&nu(O)?null:l,f,p,y,d,h,v,m,b,N))}}return k},fu=Xa,pu=Object.prototype.hasOwnProperty,yu=Array.isArray,du={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:fu.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},hu=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},vu=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},mu=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&pu.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&pu.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+o.slice(a.index)+"]")}return function(e,t,r,n){for(var o=n?t:vu(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(s,10);r.parseArrays||""!==s?!isNaN(l)&&u!==s&&String(l)===s&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(c,t,r,n)}},bu=O({formats:Ha,parse:function(e,t){var r=function(e){if(!e)return du;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");var t=void 0===e.charset?du.charset:e.charset,r=void 0===e.duplicates?du.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||du.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:du.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:du.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:du.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:du.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:du.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:du.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:du.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:du.decoder,delimiter:"string"==typeof e.delimiter||fu.isRegExp(e.delimiter)?e.delimiter:du.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:du.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:du.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:du.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:du.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:du.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:du.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=(o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]")).split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=-1,u=t.charset;if(t.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[r]?u="utf-8":"utf8=%26%2310003%3B"===i[r]&&(u="iso-8859-1"),a=r,r=i.length);for(r=0;r<i.length;++r)if(r!==a){var c,s,l=i[r],f=l.indexOf("]="),p=-1===f?l.indexOf("="):f+1;-1===p?(c=t.decoder(l,du.decoder,u,"key"),s=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,p),du.decoder,u,"key"),s=fu.maybeMap(vu(l.slice(p+1),t),(function(e){return t.decoder(e,du.decoder,u,"value")}))),s&&t.interpretNumericEntities&&"iso-8859-1"===u&&(s=hu(s)),l.indexOf("[]=")>-1&&(s=yu(s)?[s]:s);var y=pu.call(n,c);y&&"combine"===t.duplicates?n[c]=fu.combine(n[c],s):y&&"last"!==t.duplicates||(n[c]=s)}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=mu(u,n[u],r,"string"==typeof e);o=fu.merge(o,c,r)}return!0===r.allowSparse?o:fu.compact(o)},stringify:function(e,t){var r,n=e,o=function(e){if(!e)return cu;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||cu.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=eu.default;if(void 0!==e.format){if(!tu.call(eu.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=eu.formatters[r],i=cu.filter;if(("function"==typeof e.filter||nu(e.filter))&&(i=e.filter),n=e.arrayFormat in ru?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":cu.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:cu.addQueryPrefix,allowDots:void 0===e.allowDots?!0===e.encodeDotInKeys||cu.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:cu.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:cu.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?cu.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:cu.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:cu.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:cu.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:cu.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:cu.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:cu.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:cu.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):nu(o.filter)&&(r=o.filter);var i=[];if("object"!==s(n)||null===n)return"";var a=ru[o.arrayFormat],u="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=Ya(),l=0;l<r.length;++l){var f=r[l];o.skipNulls&&null===n[f]||iu(i,lu(n[f],f,a,u,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,c))}var p=i.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(y+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),p.length>0?y+p:""}});function gu(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?gu(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ou=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Su(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 ju(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Su(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Su(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xu(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&&Ou.test(t.host)){var u=t.host.split(":");if(2===u.length){var c=h(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,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:function(e){return bu.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 xu(e,ju(ju({},function(e){var t=Lr(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?Gr:r,o=fn(t)?On(t):On("auto",t),i=Sn(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&&fn(t)&&("auto"===t||wn.test(t))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=On(t,c);s!==o&&(u&&e.interceptors.request.eject(u),o=s,i=Sn(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?Gr:o,a=n.requestLogger,u=void 0===a?Gr: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(P.mark((function r(n){var o,a,u,c,s;return P.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",Jr(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 Au(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Lr(t),r}function Eu(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 ku(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 Eu(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)?Eu(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"===s(n)&&ku(n)}}catch(e){r.e(e)}finally{r.f()}return Object.freeze(e)}function Pu(){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 Tu(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Lr(this)}})}var Ru,Lu,_u=(Ru=Object.getPrototypeOf,Lu=Object,function(e){return Ru(Lu(e))}),Cu=an,Uu=_u,Iu=un,Nu=Function.prototype.toString,Fu=Object.prototype.hasOwnProperty,Bu=Nu.call(Object),Du=O((function(e){if(!Iu(e)||"[object Object]"!=Cu(e))return!1;var t=Uu(e);if(null===t)return!0;var r=Fu.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Nu.call(r)==Bu}));function Mu(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),!Du(n)||!Du(r))throw e;var o,i=null==n?void 0:n.data,a={status:null==n?void 0:n.status,statusText:null==n?void 0:n.statusText,message:"",details:{}};r&&Du(r)&&(a.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),i&&"object"===s(i)&&("requestId"in i&&(a.requestId=i.requestId||"UNKNOWN"),"message"in i&&(a.message=i.message||""),"details"in i&&(a.details=i.details||{}),t=null===(o=i.sys)||void 0===o?void 0:o.id);var u=new Error;u.name=t&&"Unknown"!==t?t:"".concat(null==n?void 0:n.status," ").concat(null==n?void 0:n.statusText);try{u.message=JSON.stringify(a,null," ")}catch(e){var c;u.message=null!==(c=null==a?void 0:a.message)&&void 0!==c?c:""}throw u}function qu(e){return function(t){return Object.assign({},e,t)}}function Wu(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 zu(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)?zu(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 zu(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 Hu,Ku,Gu,Ju,Vu={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},$u={0:8203,1:8204,2:8205,3:65279},Qu=new Array(4).fill(String.fromCodePoint($u[0])).join("");function Xu(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(Qu).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($u[e])})).join("")})).join(""))}(t))}(e,t)}Object.fromEntries(Object.entries($u).map((function(e){return e.reverse()}))),Object.fromEntries(Object.entries(Vu).map((function(e){return e.reverse()}))),"".concat(Object.values(Vu).map((function(e){return"\\u{".concat(e.toString(16),"}")})).join(""));var Yu=function(){if(Ju)return Gu;Ju=1;var e=function(){if(Ku)return Hu;Ku=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return Hu=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 Gu=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"!=s(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("/")},Gu}(),Zu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=Yu.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,c(Zu(e,"".concat(t,"/content/").concat(o))));return r},ec=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 rc(e,t,r,n,o,i,a){var u=a?t[a]:t;switch(e){case"Symbol":var c=Xu(u,r);Yu.set(n,o,c);break;case"Text":var s=Xu(u,r);Yu.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=Wu(Zu(n,t));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=Xu(Yu.get(n,c),o);Yu.set(n,c,s)}}catch(e){u.e(e)}finally{u.f()}}else{var l,f=Wu(Zu(n,t));try{for(f.s();!(l=f.n()).done;){var p=l.value,y=Xu(Yu.get(n,p),o);Yu.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?Xu(e,r):e}));Yu.set(n,o,l)}}var nc,oc=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(Yu.has(e,d)){var h=Yu.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=ec({entityId:l,entityType:f,space:a,environment:c,field:v,locale:m,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});rc(p,h,b,e,d,u)}else Object.keys(h).forEach((function(t){var r=ec({entityId:l,entityType:f,space:a,environment:c,field:v,locale:t,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});rc(p,h,r,e,"".concat(d,"/").concat(t),u,t)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},ic={exports:{}};nc=function(){var e=Function.prototype.toString,t=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var e=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}();return function(){return new e}}(),d=function(r,n){var o=r.__proto__||a(r);if(!o)return t(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:t(o);if(~e.call(i).indexOf("[native code]"))try{return new i}catch(e){}return t(o)},h=function(e,t,r,n){var o=d(e,t);for(var a in n.set(e,o),e)c.call(e,a)&&(o[a]=r(e[a],n));if(f)for(var u=i(e),s=0,p=u.length,y=void 0;s<p;++s)l.call(e,y=u[s])&&(o[y]=r(e[y],n));return o},v=function(e,t,a,u){var c=d(e,t);u.set(e,c);for(var s=f?o(e).concat(i(e)):o(e),l=0,p=s.length,y=void 0,h=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(h=n(e,y)){h.get||h.set||(h.value=a(e[y],u));try{r(c,y,h)}catch(e){c[y]=h.value}}else c[y]=a(e[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(e,t){var r=!(!t||!t.isStrict),n=t&&t.realm||g,o=r?v:h,i=function(e,t){if(!e||"object"!==s(e))return e;if(t.has(e))return t.get(e);var a,u,c,l=e.__proto__||b(e),f=l&&l.constructor;if(!f||f===n.Object)return o(e,n,i,t);if(m(e)){if(r)return v(e,n,i,t);t.set(e,a=new f);for(var p=0,y=e.length;p<y;++p)a[p]=i(e[p],t);return a}if(e instanceof n.Date)return new f(e.getTime());if(e instanceof n.RegExp)return(a=new f(e.source,e.flags||(c="",(u=e).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=e.lastIndex,a;if(n.Map&&e instanceof n.Map)return t.set(e,a=new f),e.forEach((function(e,r){a.set(r,i(e,t))})),a;if(n.Set&&e instanceof n.Set)return t.set(e,a=new f),e.forEach((function(e){a.add(i(e,t))})),a;if(n.Blob&&e instanceof n.Blob)return e.slice(0,e.size,e.type);if(n.Buffer&&n.Buffer.isBuffer(e))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(e.length):new f(e.length),t.set(e,a),e.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(e))return a=new f(e.buffer.slice(0)),t.set(e,a),a;if(e instanceof n.ArrayBuffer)return a=e.slice(0),t.set(e,a),a}return"function"==typeof e.then||e instanceof Error||n.WeakMap&&e instanceof n.WeakMap||n.WeakSet&&e instanceof n.WeakSet?e:o(e,n,i,t)};return i(e,y())}return w.default=w,w.strict=function(e,t){return w(e,{isStrict:!0,realm:t?t.realm:void 0})},w},ic.exports=nc();var ac=O(ic.exports),uc="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)};function cc(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 sc={},lc=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)},fc=function e(t,r,n,o){if(r(t))return n(t);if(t&&"object"===(void 0===t?"undefined":uc(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!==sc}));for(var t in e)e[t]===sc&&delete e[t];return e}(t))}return t},pc=function(e,t){if(t=t||{},!e.items)return[];var r=ac(e),n=Object.keys(r.includes||{}).reduce((function(t,r){return[].concat(cc(t),cc(e.includes[r]))}),[]),o=[].concat(cc(r.items),cc(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,cc(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,fc(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 lc(e,{linkType:c,entryId:u,spaceId:i,environmentId:a})||sc}return lc(e,{linkType:n,entryId:t.sys.id})||sc}(e,t);return n===sc?r?n:t:n}(i,e,t.removeUnresolved)}),t.removeUnresolved))})),r.items},yc={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}(yc);var dc=O(yc.exports);function hc(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return dc(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 vc(){return mc.apply(this,arguments)}function mc(){return mc=r(P.mark((function e(t,r,n){var o,i,a,u,c,s;return P.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,bc(t,[],r,{paginate:u});case 12:return c=e.sent,i||(c.items=pc(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(e){return function(t,r){return r.sys.type===e&&t.push(Tu(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",(ku((l=hc(Tu(s))).sys||{}),l));case 18:case"end":return e.stop()}var l,f,p}),e)}))),mc.apply(this,arguments)}function bc(){return gc.apply(this,arguments)}function gc(){return(gc=r(P.mark((function e(t,r,n,o){var i,a,u;return P.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",Au({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=wc(u.nextPageUrl),e.abrupt("return",bc(t,r,a,{paginate:i}));case 12:return e.abrupt("return",{items:r,nextPageToken:wc(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){e.next=19;break}return e.abrupt("return",{items:r,nextSyncToken:wc(u.nextSyncUrl)});case 19:return e.abrupt("return",{items:[]});case 20:case"end":return e.stop()}var c}),e)})))).apply(this,arguments)}function wc(e){var t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Oc(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 Sc(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 jc(e){if(!e.select)return e;var t=Sc(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:c(t).join(",")}))}function xc(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=hc(e);return r&&(o.items=pc(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Ac(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ac=function(){return!!e})()}var Ec=function(e){function t(e,r){var n,o,i,a;return p(this,t),o=this,i=t,a=['Invalid "'.concat(e,'" provided, ')+r],i=yn(i),(n=pn(o,Ac()?Reflect.construct(i,a||[],yn(o).constructor):i.apply(o,a))).name="ValidationError",n}return $r(t,e),d(t)}(hn(Error));function kc(e,t,r){if(r=r||{},"number"!=typeof t)throw new Ec(e,'only numeric values are allowed for timestamps, provided type was "'.concat(s(t),'"'));if(r.maximum&&t>r.maximum)throw new Ec(e,"value (".concat(t,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&t<r.now)throw new Ec(e,"value (".concat(t,") cannot be in the past, current time was ").concat(r.now))}var Pc=function(e){var t,r=null===(t=null==e?void 0:e.alphaFeatures)||void 0===t?void 0:t.timelinePreview,n=function(e,t){if(void 0===t)return!1;var r=function(e){if("object"!==s(e)||null===e||Array.isArray(e))throw new Ec("timelinePreview","The 'timelinePreview' parameter must be an object.");var t,r,n=!(!(t=e.release)||"object"!==s(t)||"string"!=typeof t.lte),o=!(!(r=e.timestamp)||"object"!==s(r)||!("string"==typeof r.lte||r.lte instanceof Date));if(!n&&!o)throw new Ec("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 Ec("timelinePreview","The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to enable Timeline Preview.\n ");return!0}(null==e?void 0:e.host,r);return{enabled:n,timelinePreview:r}};function Tc(e,t){t?function(e){if(e.locale)throw new Ec("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new Ec("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 Rc(e){if("resolveLinks"in e)throw new Ec("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 Lc(e){if("removeUnresolved"in e)throw new Ec("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 _c(e){for(var t in e){var r=e[t];if("object"===s(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(t,'" query parameter.'))}}function Cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cc=function(){return!!e})()}var Uc=function(e){function t(e,r,n){var o,i,a,u;return p(this,t),i=this,u=["The resource could not be found."],a=yn(a=t),(o=pn(i,Cc()?Reflect.construct(a,u||[],yn(i).constructor):a.apply(i,u))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:e,environment:r,space:n},o}return $r(t,e),d(t)}(hn(Error));function Ic(e,t){var n=e.http,o=e.getGlobalOptions,i=function(){return new Uc(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 Ec("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");if(t&&"preview.contentful.com"!==e)throw new Ec("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.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=Sc(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(e){return Pc(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 oc(e,a,u,t,r)})),c&&c.Entry&&c.Entry.forEach((function(e){return oc(e,a,u,t,r)})),c&&c.Asset&&c.Asset.forEach((function(e){return oc(e,a,u,t,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;oc(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(P.mark((function e(t){var r,o,i;return P.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),Mu(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(P.mark((function e(t){var r,o,i,u;return P.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),Mu(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function d(){return(d=r(P.mark((function e(){return P.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(P.mark((function e(t){return P.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(P.mark((function e(){var t=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types",config:Au({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(P.mark((function e(r){var n=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",g(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(P.mark((function e(){var r=arguments;return P.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(e,t){return w.apply(this,arguments)}function w(){return w=r(P.mark((function e(t,r){var n,o,i=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Tc(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Rc(r),Lc(r),_c(r),e.abrupt("return",O(t,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function O(e,t,r){return S.apply(this,arguments)}function S(){return S=r(P.mark((function e(t,r,n){var o;return P.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,E(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),Mu(e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),S.apply(this,arguments)}function j(e){return x.apply(this,arguments)}function x(){return x=r(P.mark((function e(t){var r,n,o=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Tc(t,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Rc(t),Lc(t),_c(t),e.abrupt("return",E(n?Object.assign(Object.assign({},t),{locale:"*"}):t,r));case 7:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function A(e){var t=function(e){var t=Pc(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(Oc(jc(t)))}function E(e,t){return k.apply(this,arguments)}function k(){return k=r(P.mark((function e(t,r){var n,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,e.prev=1,e.next=4,l({context:"environment",path:c("entries"),config:Au({query:A(t)})});case 4:return e.abrupt("return",xc(e.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 8:e.prev=8,e.t0=e.catch(1),Mu(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),k.apply(this,arguments)}function T(){return T=r(P.mark((function e(r){var n=arguments;return P.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)}))),T.apply(this,arguments)}function R(){return R=r(P.mark((function e(){var r=arguments;return P.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)}))),R.apply(this,arguments)}function L(e){return _.apply(this,arguments)}function _(){return _=r(P.mark((function e(t){var r,n,o=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Tc(t,r=(o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),_c(t),n=r?Object.assign(Object.assign({},t),{locale:"*"}):t,e.abrupt("return",F(n));case 6:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function C(e,t){return U.apply(this,arguments)}function U(){return(U=r(P.mark((function e(t,r){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l({context:"environment",path:c("assets/".concat(t)),config:Au({query:A(r)})}));case 4:e.prev=4,e.t0=e.catch(0),Mu(e.t0);case 7:case"end":return e.stop()}}),e,null,[[0,4]])})))).apply(this,arguments)}function I(e,t){return N.apply(this,arguments)}function N(){return N=r(P.mark((function e(t,r){var n,o,i=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Tc(r,n=(i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),_c(r),o=n?Object.assign(Object.assign({},r),{locale:"*"}):r,e.abrupt("return",C(t,o));case 6:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function F(e){return B.apply(this,arguments)}function B(){return(B=r(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l({context:"environment",path:c("assets"),config:Au({query:A(t)})}));case 4:e.prev=4,e.t0=e.catch(0),Mu(e.t0);case 7:case"end":return e.stop()}}),e,null,[[0,4]])})))).apply(this,arguments)}function D(){return(D=r(P.mark((function e(t){return P.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 M(){return M=r(P.mark((function e(){var t,r=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _c(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"tags",config:Au({query:Oc(jc(t))})}));case 3:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function q(){return(q=r(P.mark((function e(t){var r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{r=Math.floor(Date.now()/1e3),kc("expiresAt",t,{maximum:r+172800,now:r})}catch(e){Mu(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 W(){return W=r(P.mark((function e(){var t,r=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _c(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"locales",config:Au({query:jc(t)})}));case 3:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function z(){return z=r(P.mark((function e(r){var n=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",H(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},t));case 2:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function H(e,t){return K.apply(this,arguments)}function K(){return K=r(P.mark((function e(t,r){var o,i,a=arguments;return P.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},Rc(t),Lc(t),i=Object.assign(Object.assign({},r),o),Q(n),e.abrupt("return",vc(n,t,i));case 6:case"end":return e.stop()}}),e)}))),K.apply(this,arguments)}function G(){return G=r(P.mark((function e(t){var r,n=arguments;return P.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:Au({query:Oc(jc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),Mu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),G.apply(this,arguments)}function J(){return J=r(P.mark((function e(){var t,r=arguments;return P.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:Au({query:Oc(jc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),Mu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),J.apply(this,arguments)}function V(){return V=r(P.mark((function e(t){var r,n=arguments;return P.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:Au({query:Oc(jc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),Mu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),V.apply(this,arguments)}function $(){return $=r(P.mark((function e(){var t,r=arguments;return P.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:Au({query:Oc(jc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),Mu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),$.apply(this,arguments)}function Q(e){e.defaults.baseURL=o().environmentBaseUrl}return{version:"11.7.10",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 T.apply(this,arguments)},getAssets:function(){return R.apply(this,arguments)},getTag:function(e){return D.apply(this,arguments)},getTags:function(){return M.apply(this,arguments)},getLocales:function(){return W.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 z.apply(this,arguments)},getEntry:function(e){return m.apply(this,arguments)},getEntries:function(){return b.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 J.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConcept:function(e){return function(e){return V.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConcepts:function(){return function(){return $.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},createAssetKey:function(e){return q.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");Rc(e),Lc(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=Pu(),n.push("platform ReactNative")):void 0===Kr||Kr.browser?(o=Pu(),n.push("platform browser")):(o=function(){var e=Kr.platform||"linux",t=Kr.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(Kr.versions&&Kr.versions.node?"v".concat(Kr.versions.node):Kr.version)))}catch(e){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(e){return""!==e})).join("; "),";")}("contentful.js/".concat("11.7.10"),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=xu(Xt,t);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=qu({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=Ic({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.create(n)}({http:t,getGlobalOptions:r},e,n)}var o=Ic({http:t,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})}({http:n,getGlobalOptions:o})},e.createGlobalOptions=qu,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){if(Array.isArray(e))return e}function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function i(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 a(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}function u(){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 c(e){return function(e){if(Array.isArray(e))return i(e)}(e)||o(e)||a(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 s(e){return s="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},s(e)}function l(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}function f(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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,l(n.key),n)}}function d(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){return n(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)||a(e,t)||u()}function v(e,t){this.v=e,this.k=t}function m(e){return function(){return new b(e.apply(this,arguments))}}function b(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,u=a instanceof v;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 g(e){return new v(e,0)}function w(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 v(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 O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}b.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},b.prototype.next=function(e){return this._invoke("next",e)},b.prototype.throw=function(e){return this._invoke("throw",e)},b.prototype.return=function(e){return this._invoke("return",e)};var j={exports:{}},x={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}(x);var A=x.exports;!function(e){var t=A.default;function r(){e.exports=r=function(){return o},e.exports.__esModule=!0,e.exports.default=e.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(n){p=function(e,t,r){return e[t]=r}}function y(e,t,r,n){var o=Object.create((t&&t.prototype instanceof w?t:w).prototype);return u(o,"_invoke",{value:T(e,r,new C(n||[]))}),o}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}o.wrap=y;var h="suspendedStart",v="suspendedYield",m="executing",b="completed",g={};function w(){}function O(){}function S(){}var j={};p(j,s,(function(){return this}));var x=Object.getPrototypeOf,A=x&&x(x(U([])));A&&A!==i&&a.call(A,s)&&(j=A);var E=S.prototype=w.prototype=Object.create(j);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,r){function n(o,i,u,c){var s=d(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==t(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,u,c)}),(function(e){n("throw",e,u,c)})):r.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return n("throw",e,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(e,t){function i(){return new r((function(r,o){n(e,t,r,o)}))}return o=o?o.then(i,i):i()}})}function T(e,t,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=R(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=d(e,t,r);if("normal"===s.type){if(o=r.done?b:v,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=b,r.method="throw",r.arg=s.arg)}}}function R(e,t){var r=t.method,o=e.iterator[r];if(o===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=n,R(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,g;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function U(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(a.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}throw new TypeError(t(e)+" is not iterable")}return O.prototype=S,u(E,"constructor",{value:S,configurable:!0}),u(S,"constructor",{value:O,configurable:!0}),O.displayName=p(S,f,"GeneratorFunction"),o.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},o.awrap=function(e){return{__await:e}},k(P.prototype),p(P.prototype,l,(function(){return this})),o.AsyncIterator=P,o.async=function(e,t,r,n,i){void 0===i&&(i=Promise);var a=new P(y(e,t,r,n),i);return o.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(E),p(E,f,"Generator"),p(E,s,(function(){return this})),p(E,"toString",(function(){return"[object Generator]"})),o.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},o.values=U,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return u.type="throw",u.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:U(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),g}},o}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(j);var E=(0,j.exports)(),k=E;try{regeneratorRuntime=E}catch(e){"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))?globalThis.regeneratorRuntime=E:Function("r","regeneratorRuntime = r")(E)}var P=O(k);function T(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 R(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 L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(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 C(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function C(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 C=function(e){this.s=e,this.n=e.next},C.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 C(e)}function U(e,t){return function(){return e.apply(t,arguments)}}var I,N=Object.prototype.toString,F=Object.getPrototypeOf,B=Symbol.iterator,D=Symbol.toStringTag,M=(I=Object.create(null),function(e){var t=N.call(e);return I[t]||(I[t]=t.slice(8,-1).toLowerCase())}),q=function(e){return e=e.toLowerCase(),function(t){return M(t)===e}},W=function(e){return function(t){return s(t)===e}},z=Array.isArray,H=W("undefined");function K(e){return null!==e&&!H(e)&&null!==e.constructor&&!H(e.constructor)&&V(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var G=q("ArrayBuffer"),J=W("string"),V=W("function"),$=W("number"),Q=function(e){return null!==e&&"object"===s(e)},X=function(e){if("object"!==M(e))return!1;var t=F(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||D in e||B in e)},Y=q("Date"),Z=q("File"),ee=q("Blob"),te=q("FileList"),re=q("URLSearchParams"),ne=h(["ReadableStream","Request","Response","Headers"].map(q),4),oe=ne[0],ie=ne[1],ae=ne[2],ue=ne[3];function ce(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"!==s(e)&&(e=[e]),z(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(K(e))return;var a,u=i?Object.getOwnPropertyNames(e):Object.keys(e),c=u.length;for(r=0;r<c;r++)t.call(null,e[a=u[r]],a,e)}}function se(e,t){if(K(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 le,fe,pe,ye,de="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,he=function(e){return!H(e)&&e!==de},ve=function(e){return function(t){return e&&t instanceof e}}("undefined"!=typeof Uint8Array&&F(Uint8Array)),me=q("HTMLFormElement"),be=function(){var e=Object.prototype.hasOwnProperty;return function(t,r){return e.call(t,r)}}(),ge=q("RegExp"),we=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};ce(r,(function(r,o){var i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Oe=q("AsyncFunction"),Se=(le="function"==typeof setImmediate,fe=V(de.postMessage),le?setImmediate:fe?(pe="axios@".concat(Math.random()),ye=[],de.addEventListener("message",(function(e){e.source===de&&e.data===pe&&ye.length&&ye.shift()()}),!1),function(e){ye.push(e),de.postMessage(pe,"*")}):function(e){return setTimeout(e)}),je="undefined"!=typeof queueMicrotask?queueMicrotask.bind(de):"undefined"!=typeof process&&process.nextTick||Se,xe={isArray:z,isArrayBuffer:G,isBuffer:K,isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||V(e.append)&&("formdata"===(t=M(e))||"object"===t&&V(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&G(e.buffer)},isString:J,isNumber:$,isBoolean:function(e){return!0===e||!1===e},isObject:Q,isPlainObject:X,isEmptyObject:function(e){if(!Q(e)||K(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:oe,isRequest:ie,isResponse:ae,isHeaders:ue,isUndefined:H,isDate:Y,isFile:Z,isBlob:ee,isRegExp:ge,isFunction:V,isStream:function(e){return Q(e)&&V(e.pipe)},isURLSearchParams:re,isTypedArray:ve,isFileList:te,forEach:ce,merge:function e(){for(var t=(he(this)&&this||{}).caseless,r={},n=function(n,o){var i=t&&se(r,o)||o;r[i]=X(r[i])&&X(n)?e(r[i],n):X(n)?e({},n):z(n)?n.slice():n},o=0,i=arguments.length;o<i;o++)arguments[o]&&ce(arguments[o],n);return r},extend:function(e,t,r){return ce(t,(function(t,n){e[n]=r&&V(t)?U(t,r):t}),{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),e.prototype.constructor=e,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&&F(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:M,kindOfTest:q,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(z(e))return e;var t=e.length;if(!$(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[B]).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:me,hasOwnProperty:be,hasOwnProp:be,reduceDescriptors:we,freezeMethods:function(e){we(e,(function(t,r){if(V(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;V(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 z(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:se,global:de,isContextDefined:he,isSpecCompliantForm:function(e){return!!(e&&V(e.append)&&"FormData"===e[D]&&e[B])},toJSONObject:function(e){var t=new Array(10),r=function(e,n){if(Q(e)){if(t.indexOf(e)>=0)return;if(K(e))return e;if(!("toJSON"in e)){t[n]=e;var o=z(e)?[]:{};return ce(e,(function(e,t){var i=r(e,n+1);!H(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Oe,isThenable:function(e){return e&&(Q(e)||V(e))&&V(e.then)&&V(e.catch)},setImmediate:Se,asap:je,isIterable:function(e){return null!=e&&V(e[B])}};function Ae(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}xe.inherits(Ae,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:xe.toJSONObject(this.config),code:this.code,status:this.status}}});var Ee=Ae.prototype,ke={};function Pe(e){return xe.isPlainObject(e)||xe.isArray(e)}function Te(e){return xe.endsWith(e,"[]")?e.slice(0,-2):e}function Re(e,t,r){return e?e.concat(t).map((function(e,t){return e=Te(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){ke[e]={value:e}})),Object.defineProperties(Ae,ke),Object.defineProperty(Ee,"isAxiosError",{value:!0}),Ae.from=function(e,t,r,n,o,i){var a=Object.create(Ee);return xe.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),Ae.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var Le=xe.toFlatObject(xe,{},null,(function(e){return/^is[A-Z]/.test(e)}));function _e(e,t,r){if(!xe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=xe.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!xe.isUndefined(t[e])}))).metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&xe.isSpecCompliantForm(t);if(!xe.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(xe.isDate(e))return e.toISOString();if(xe.isBoolean(e))return e.toString();if(!u&&xe.isBlob(e))throw new Ae("Blob is not supported. Use a Buffer instead.");return xe.isArrayBuffer(e)||xe.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,r,o){var u=e;if(e&&!o&&"object"===s(e))if(xe.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(xe.isArray(e)&&function(e){return xe.isArray(e)&&!e.some(Pe)}(e)||(xe.isFileList(e)||xe.endsWith(r,"[]"))&&(u=xe.toArray(e)))return r=Te(r),u.forEach((function(e,n){!xe.isUndefined(e)&&null!==e&&t.append(!0===a?Re([r],n,i):null===a?r:r+"[]",c(e))})),!1;return!!Pe(e)||(t.append(Re(o,r,i),c(e)),!1)}var f=[],p=Object.assign(Le,{defaultVisitor:l,convertValue:c,isVisitable:Pe});if(!xe.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!xe.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),xe.forEach(r,(function(r,i){!0===(!(xe.isUndefined(r)||null===r)&&o.call(t,r,xe.isString(i)?i.trim():i,n,p))&&e(r,n?n.concat(i):[i])})),f.pop()}}(e),t}function Ce(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ue(e,t){this._pairs=[],e&&_e(e,this,t)}var Ie=Ue.prototype;function Ne(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fe(e,t,r){if(!t)return e;var n=r&&r.encode||Ne;xe.isFunction(r)&&(r={serialize:r});var o,i=r&&r.serialize;if(o=i?i(t,r):xe.isURLSearchParams(t)?t.toString():new Ue(t,r).toString(n)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}Ie.append=function(e,t){this._pairs.push([e,t])},Ie.toString=function(e){var t=e?function(t){return e.call(this,t,Ce)}:Ce;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Be=function(){return d((function e(){p(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){xe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}])}(),De={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Me={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ue,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},qe="undefined"!=typeof window&&"undefined"!=typeof document,We="object"===("undefined"==typeof navigator?"undefined":s(navigator))&&navigator||void 0,ze=qe&&(!We||["ReactNative","NativeScript","NS"].indexOf(We.product)<0),He="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ke=qe&&window.location.href||"http://localhost",Ge=L(L({},Object.freeze({__proto__:null,hasBrowserEnv:qe,hasStandardBrowserWebWorkerEnv:He,hasStandardBrowserEnv:ze,navigator:We,origin:Ke})),Me);function Je(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&&xe.isArray(n)?n.length:i,u?(n[i]=xe.hasOwnProp(n,i)?[n[i],r]:r,!a):(n[i]&&xe.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&xe.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(xe.isFormData(e)&&xe.isFunction(e.entries)){var r={};return xe.forEachEntry(e,(function(e,n){t(function(e){return xe.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null}var Ve={transitional:De,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=xe.isObject(e);if(i&&xe.isHTMLForm(e)&&(e=new FormData(e)),xe.isFormData(e))return o?JSON.stringify(Je(e)):e;if(xe.isArrayBuffer(e)||xe.isBuffer(e)||xe.isStream(e)||xe.isFile(e)||xe.isBlob(e)||xe.isReadableStream(e))return e;if(xe.isArrayBufferView(e))return e.buffer;if(xe.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 _e(e,new Ge.classes.URLSearchParams,L({visitor:function(e,t,r,n){return Ge.isNode&&xe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=xe.isFileList(e))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return _e(r?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e){if(xe.isString(e))try{return(0,JSON.parse)(e),xe.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Ve.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(xe.isResponse(e)||xe.isReadableStream(e))return e;if(e&&xe.isString(e)&&(r&&!this.responseType||n)){var o=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw Ae.from(e,Ae.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:Ge.classes.FormData,Blob:Ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xe.forEach(["delete","get","head","post","put","patch"],(function(e){Ve.headers[e]={}}));var $e=Ve,Qe=xe.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");function Ye(e){return e&&String(e).trim().toLowerCase()}function Ze(e){return!1===e||null==e?e:xe.isArray(e)?e.map(Ze):String(e)}function et(e,t,r,n,o){return xe.isFunction(n)?n.call(this,t,r):(o&&(t=r),xe.isString(t)?xe.isString(n)?-1!==t.indexOf(n):xe.isRegExp(n)?n.test(t):void 0:void 0)}var tt=function(){return d((function e(t){p(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=xe.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 xe.forEach(e,(function(e,r){return o(e,r,t)}))};if(xe.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(xe.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]&&Qe[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(xe.isObject(e)&&xe.isIterable(e)){var a,u,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 T(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)?T(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(!xe.isArray(p))throw TypeError("Object iterator must return a key-value pair");l[u=p[0]]=(a=l[u])?xe.isArray(a)?[].concat(c(a),[p[1]]):[a,p[1]]:p[1]}}catch(e){f.e(e)}finally{f.f()}i(l,t)}else null!=e&&o(t,e,r);return this}},{key:"get",value:function(e,t){if(e=Ye(e)){var r=xe.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(xe.isFunction(t))return t.call(this,n,r);if(xe.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=xe.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=xe.findKey(r,e);!o||t&&!et(0,r[o],o,t)||(delete r[o],n=!0)}}return xe.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 xe.forEach(this,(function(n,o){var i=xe.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 xe.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&xe.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=h(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=xe.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 xe.isArray(e)?e.forEach(n):n(e),this}}])}();tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),xe.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}}})),xe.freezeMethods(tt);var rt=tt;function nt(e,t){var r=this||$e,n=t||r,o=rt.from(n.headers),i=n.data;return xe.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function ot(e){return!(!e||!e.__CANCEL__)}function it(e,t,r){Ae.call(this,null==e?"canceled":e,Ae.ERR_CANCELED,t,r),this.name="CanceledError"}function at(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Ae("Request failed with status code "+r.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}xe.inherits(it,Ae,{__CANCEL__:!0});var ut=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,c(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 i=r.loaded,a=r.lengthComputable?r.total:void 0,u=i-n,c=o(u);n=i;var s=f({loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a},t?"download":"upload",!0);e(s)}),r)},ct=function(e,t){var r=null!=e;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]},st=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return xe.asap((function(){return e.apply(void 0,r)}))}},lt=Ge.hasStandardBrowserEnv?function(e,t){return function(r){return e.protocol===(r=new URL(r,Ge.origin)).protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(Ge.origin),Ge.navigator&&/(msie|trident)/i.test(Ge.navigator.userAgent)):function(){return!0},ft=Ge.hasStandardBrowserEnv?{write:function(e,t,r,n,o,i){var a=[e+"="+encodeURIComponent(t)];xe.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),xe.isString(n)&&a.push("path="+n),xe.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function pt(e,t,r){var n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var yt=function(e){return e instanceof rt?L({},e):e};function dt(e,t){t=t||{};var r={};function n(e,t,r,n){return xe.isPlainObject(e)&&xe.isPlainObject(t)?xe.merge.call({caseless:n},e,t):xe.isPlainObject(t)?xe.merge({},t):xe.isArray(t)?t.slice():t}function o(e,t,r,o){return xe.isUndefined(t)?xe.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!xe.isUndefined(t))return n(void 0,t)}function a(e,t){return xe.isUndefined(t)?xe.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(yt(e),yt(t),0,!0)}};return xe.forEach(Object.keys(L(L({},e),t)),(function(n){var i=c[n]||o,a=i(e[n],t[n],n);xe.isUndefined(a)&&i!==u||(r[n]=a)})),r}var ht,vt,mt=function(e){var t,r,i=dt({},e),s=i.data,l=i.withXSRFToken,f=i.xsrfHeaderName,p=i.xsrfCookieName,y=i.headers,d=i.auth;if(i.headers=y=rt.from(y),i.url=Fe(pt(i.baseURL,i.url,i.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&y.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),xe.isFormData(s))if(Ge.hasStandardBrowserEnv||Ge.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if(!1!==(t=y.getContentType())){var h=t?t.split(";").map((function(e){return e.trim()})).filter(Boolean):[],v=n(r=h)||o(r)||a(r)||u(),m=v[0],b=v.slice(1);y.setContentType([m||"multipart/form-data"].concat(c(b)).join("; "))}if(Ge.hasStandardBrowserEnv&&(l&&xe.isFunction(l)&&(l=l(i)),l||!1!==l&<(i.url))){var g=f&&p&&ft.read(p);g&&y.set(f,g)}return i},bt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,o,i,a=mt(e),u=a.data,c=rt.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=rt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());at((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 Ae("Request aborted",Ae.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Ae("Network Error",Ae.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){var t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),r(new Ae(t,(a.transitional||De).clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,e,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&xe.forEach(c.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),xe.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),s&&"json"!==s&&(y.responseType=a.responseType),f){var v=h(ut(f,!0),2);i=v[1],y.addEventListener("progress",v[0])}if(l&&y.upload){var m=h(ut(l),2);o=m[1],y.upload.addEventListener("progress",m[0]),y.upload.addEventListener("loadend",o)}(a.cancelToken||a.signal)&&(n=function(t){y&&(r(!t||t.type?new it(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 b,g=(b=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a.url))&&b[1]||"";g&&-1===Ge.protocols.indexOf(g)?r(new Ae("Unsupported protocol "+g+":",Ae.ERR_BAD_REQUEST,e)):y.send(u||null)}))},gt=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 Ae?t:new it(t instanceof Error?t.message:t))}},a=t&&setTimeout((function(){a=null,i(new Ae("timeout ".concat(t," of ms exceeded"),Ae.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 xe.asap(u)},c}},wt=P.mark((function e(t,r){var n,o,i;return P.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)})),Ot=function(){var e=m(P.mark((function e(t,r){var n,o,i,a,u;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=!1,o=!1,e.prev=2,a=_(St(t));case 4:return e.next=6,g(a.next());case 6:if(!(n=!(u=e.sent).done)){e.next=12;break}return e.delegateYield(w(_(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,g(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)}}(),St=function(){var e=m(P.mark((function e(t){var r,n,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[Symbol.asyncIterator]){e.next=3;break}return e.delegateYield(w(_(t)),"t0",2);case 2:return e.abrupt("return");case 3:r=t.getReader(),e.prev=4;case 5:return e.next=7,g(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,g(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)}}(),jt=function(e,t,n,o){var i,a=Ot(e,t),u=0,c=function(e){i||(i=!0,o&&o(e))};return new ReadableStream({pull:function(e){return r(P.mark((function t(){var r,o,i,s;return P.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})},xt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,At=xt&&"function"==typeof ReadableStream,Et=xt&&("function"==typeof TextEncoder?(ht=new TextEncoder,function(e){return ht.encode(e)}):function(){var e=r(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,new Response(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)}}()),kt=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}},Pt=At&&kt((function(){var e=!1,t=new Request(Ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Tt=At&&kt((function(){return xe.isReadableStream(new Response("").body)})),Rt={stream:Tt&&function(e){return e.body}};xt&&(vt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!Rt[e]&&(Rt[e]=xe.isFunction(vt[e])?function(t){return t[e]()}:function(t,r){throw new Ae("Response type '".concat(e,"' is not supported"),Ae.ERR_NOT_SUPPORT,r)})})));var Lt=function(){var e=r(P.mark((function e(t){var r;return P.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(!xe.isBlob(t)){e.next=4;break}return e.abrupt("return",t.size);case 4:if(!xe.isSpecCompliantForm(t)){e.next=9;break}return r=new Request(Ge.origin,{method:"POST",body:t}),e.next=8,r.arrayBuffer();case 8:case 15:return e.abrupt("return",e.sent.byteLength);case 9:if(!xe.isArrayBufferView(t)&&!xe.isArrayBuffer(t)){e.next=11;break}return e.abrupt("return",t.byteLength);case 11:if(xe.isURLSearchParams(t)&&(t+=""),!xe.isString(t)){e.next=16;break}return e.next=15,Et(t);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_t=function(){var e=r(P.mark((function e(t,r){var n;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=xe.toFiniteNumber(t.getContentLength()),e.abrupt("return",null==n?Lt(r):n);case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),Ct=xt&&function(){var e=r(P.mark((function e(t){var r,n,o,i,a,u,c,s,l,f,p,y,d,v,m,b,g,w,O,S,j,x,A,E,k,T,R,_,C,U,I;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=mt(t),n=r.url,o=r.method,i=r.data,a=r.signal,u=r.cancelToken,c=r.timeout,s=r.onDownloadProgress,l=r.onUploadProgress,p=r.headers,d=void 0===(y=r.withCredentials)?"same-origin":y,v=r.fetchOptions,f=(f=r.responseType)?(f+"").toLowerCase():"text",m=gt([a,u&&u.toAbortSignal()],c),g=m&&m.unsubscribe&&function(){m.unsubscribe()},e.prev=4,e.t0=l&&Pt&&"get"!==o&&"head"!==o,!e.t0){e.next=11;break}return e.next=9,_t(p,i);case 9:e.t1=w=e.sent,e.t0=0!==e.t1;case 11:if(!e.t0){e.next=15;break}O=new Request(n,{method:"POST",body:i,duplex:"half"}),xe.isFormData(i)&&(S=O.headers.get("content-type"))&&p.setContentType(S),O.body&&(j=ct(w,ut(st(l))),x=h(j,2),i=jt(O.body,65536,x[0],x[1]));case 15:return xe.isString(d)||(d=d?"include":"omit"),A="credentials"in Request.prototype,b=new Request(n,L(L({},v),{},{signal:m,method:o.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:A?d:void 0})),e.next=20,fetch(b,v);case 20:return E=e.sent,k=Tt&&("stream"===f||"response"===f),Tt&&(s||k&&g)&&(T={},["status","statusText","headers"].forEach((function(e){T[e]=E[e]})),R=xe.toFiniteNumber(E.headers.get("content-length")),_=s&&ct(R,ut(st(s),!0))||[],C=h(_,2),U=C[1],E=new Response(jt(E.body,65536,C[0],(function(){U&&U(),g&&g()})),T)),f=f||"text",e.next=26,Rt[xe.findKey(Rt,f)||"text"](E,t);case 26:return I=e.sent,!k&&g&&g(),e.next=30,new Promise((function(e,r){at(e,r,{data:I,headers:rt.from(E.headers),status:E.status,statusText:E.statusText,config:t,request:b})}));case 30:return e.abrupt("return",e.sent);case 33:if(e.prev=33,e.t2=e.catch(4),g&&g(),!e.t2||"TypeError"!==e.t2.name||!/Load failed|fetch/i.test(e.t2.message)){e.next=38;break}throw Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,t,b),{cause:e.t2.cause||e.t2});case 38:throw Ae.from(e.t2,e.t2&&e.t2.code,t,b);case 39:case"end":return e.stop()}}),e,null,[[4,33]])})));return function(t){return e.apply(this,arguments)}}(),Ut={http:null,xhr:bt,fetch:Ct};xe.forEach(Ut,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var It=function(e){return"- ".concat(e)},Nt=function(e){return xe.isFunction(e)||null===e||!1===e},Ft=function(e){for(var t,r,n=(e=xe.isArray(e)?e:[e]).length,o={},i=0;i<n;i++){var a=void 0;if(r=t=e[i],!Nt(t)&&void 0===(r=Ut[(a=String(t)).toLowerCase()]))throw new Ae("Unknown adapter '".concat(a,"'"));if(r)break;o[a||"#"+i]=r}if(!r){var u=Object.entries(o).map((function(e){var t=h(e,2),r=t[1];return"adapter ".concat(t[0]," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new Ae("There is no suitable adapter to dispatch the request "+(n?u.length>1?"since :\n"+u.map(It).join("\n"):" "+It(u[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Bt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new it(null,e)}function Dt(e){return Bt(e),e.headers=rt.from(e.headers),e.data=nt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ft(e.adapter||$e.adapter)(e).then((function(t){return Bt(e),t.data=nt.call(e,e.transformResponse,t),t.headers=rt.from(t.headers),t}),(function(t){return ot(t)||(Bt(e),t&&t.response&&(t.response.data=nt.call(e,e.transformResponse,t.response),t.response.headers=rt.from(t.response.headers))),Promise.reject(t)}))}var Mt="1.11.0",qt={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){qt[e]=function(r){return s(r)===e||"a"+(t<1?"n ":" ")+e}}));var Wt={};qt.transitional=function(e,t,r){return function(n,o,i){if(!1===e)throw new Ae(function(e,t){return"[Axios v"+Mt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(o," has been removed"+(t?" in "+t:"")),Ae.ERR_DEPRECATED);return t&&!Wt[o]&&(Wt[o]=!0),!e||e(n,o,i)}},qt.spelling=function(){return function(){return!0}};var zt={assertOptions:function(e,t,r){if("object"!==s(e))throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var u=e[i],c=void 0===u||a(u,i,e);if(!0!==c)throw new Ae("option "+i+" must be "+c,Ae.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Ae("Unknown option "+i,Ae.ERR_BAD_OPTION)}},validators:qt},Ht=zt.validators,Kt=function(){return d((function e(t){p(this,e),this.defaults=t||{},this.interceptors={request:new Be,response:new Be}}),[{key:"request",value:(e=r(P.mark((function e(t,r){var n,o;return P.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=dt(this.defaults,t)).transitional,n=t.paramsSerializer,o=t.headers;void 0!==r&&zt.assertOptions(r,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),null!=n&&(xe.isFunction(n)?t.paramsSerializer={serialize:n}:zt.assertOptions(n,{encode:Ht.function,serialize:Ht.function},!0)),void 0!==t.allowAbsoluteUrls||(t.allowAbsoluteUrls=void 0===this.defaults.allowAbsoluteUrls||this.defaults.allowAbsoluteUrls),zt.assertOptions(t,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=o&&xe.merge(o.common,o[t.method]);o&&xe.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=rt.concat(i,o);var a=[],u=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,a.unshift(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=[Dt.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;var y=t;for(f=0;f<l;){var d=a[f++],h=a[f++];try{y=d(y)}catch(e){h.call(this,e);break}}try{c=Dt.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 Fe(pt((e=dt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}]);var e}();xe.forEach(["delete","get","head","options"],(function(e){Kt.prototype[e]=function(t,r){return this.request(dt(r||{},{method:e,url:t,data:(r||{}).data}))}})),xe.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(dt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Kt.prototype[e]=t(),Kt.prototype[e+"Form"]=t(!0)}));var Gt=Kt,Jt=function(){function e(t){if(p(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 it(e,t,o),r(n.reason))}))}return d(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}}}])}(),Vt=Jt,$t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((function(e){var t=h(e,2);$t[t[1]]=t[0]}));var Qt=$t,Xt=function e(t){var r=new Gt(t),n=U(Gt.prototype.request,r);return xe.extend(n,Gt.prototype,r,{allOwnKeys:!0}),xe.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(dt(t,r))},n}($e);Xt.Axios=Gt,Xt.CanceledError=it,Xt.CancelToken=Vt,Xt.isCancel=ot,Xt.VERSION=Mt,Xt.toFormData=_e,Xt.AxiosError=Ae,Xt.Cancel=Xt.CanceledError,Xt.all=function(e){return Promise.all(e)},Xt.spread=function(e){return function(t){return e.apply(null,t)}},Xt.isAxiosError=function(e){return xe.isObject(e)&&!0===e.isAxiosError},Xt.mergeConfig=dt,Xt.AxiosHeaders=rt,Xt.formToJSON=function(e){return Je(xe.isHTMLForm(e)?new FormData(e):e)},Xt.getAdapter=Ft,Xt.HttpStatusCode=Qt,Xt.default=Xt;var Yt=O(Xt),Zt=Function.prototype.toString,er=Object.create,tr=Object.prototype.toString,rr=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}(),nr="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new rr};function or(e){if(!e)return er(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:er(e);if(t&&~Zt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return er(e)}var ir="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 ar(e){var t=tr.call(e);return t.substring(8,t.length-1)}var ur="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||ar(e)}:ar,cr=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,lr=Object.getOwnPropertyNames,fr=Object.getOwnPropertySymbols,pr=Object.prototype,yr=pr.hasOwnProperty,dr=pr.propertyIsEnumerable,hr="function"==typeof fr,vr=hr?function(e){return lr(e).concat(fr(e))}:lr;function mr(e,t,r){for(var n=vr(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{cr(t,a,u)}catch(e){t[a]=u.value}}else t[a]=r.copier(e[a],r);return t}function br(e){return e.slice(0)}function gr(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 wr=hr?function(e,t){var r=or(t.prototype);for(var n in t.cache.set(e,r),e)yr.call(e,n)&&(r[n]=t.copier(e[n],t));for(var o=fr(e),i=0,a=o.length,u=void 0;i<a;++i)dr.call(e,u=o[i])&&(r[u]=t.copier(e[u],t));return r}:function(e,t){var r=or(t.prototype);for(var n in t.cache.set(e,r),e)yr.call(e,n)&&(r[n]=t.copier(e[n],t));return r};function Or(e,t){return new t.Constructor(e.valueOf())}function Sr(e){return e}function jr(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 xr=Array.isArray,Ar=Object.assign,Er=Object.getPrototypeOf||function(e){return e.__proto__},kr={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:br,blob:function(e){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(br(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Sr,map:gr,object:wr,regExp:function(e,t){var r=new t.Constructor(e.source,ir(e));return r.lastIndex=e.lastIndex,r},set:jr},Pr=Ar({},kr,{array:function(e,t){var r=new t.Constructor;return t.cache.set(e,r),mr(e,r,t)},map:function(e,t){return mr(e,gr(e,t),t)},object:function(e,t){var r=or(t.prototype);return t.cache.set(e,r),mr(e,r,t)},set:function(e,t){return mr(e,jr(e,t),t)}});function Tr(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Or,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:Or,Object:e.object,Promise:Sr,RegExp:e.regExp,Set:e.set,String:Or,WeakMap:Sr,WeakSet:Sr,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Ar({},kr,e)),r=t.Array,n=t.Object;function o(e,o){if(o.prototype=o.Constructor=void 0,!e||"object"!==s(e))return e;if(o.cache.has(e))return o.cache.get(e);if(o.prototype=Er(e),o.Constructor=o.prototype&&o.prototype.constructor,!o.Constructor||o.Constructor===Object)return n(e,o);if(xr(e))return r(e,o);var i=t[ur(e)];return i?i(e,o):"function"==typeof e.then?e:n(e,o)}return function(e){return o(e,{Constructor:void 0,cache:nr(),copier:o,prototype:void 0})}}Tr(Ar({},Pr,{}));var Rr,Lr,_r=Tr({}),Cr={exports:{}},Ur=Cr.exports={};function Ir(){throw new Error("setTimeout has not been defined")}function Nr(){throw new Error("clearTimeout has not been defined")}function Fr(e){if(Rr===setTimeout)return setTimeout(e,0);if((Rr===Ir||!Rr)&&setTimeout)return Rr=setTimeout,setTimeout(e,0);try{return Rr(e,0)}catch(t){try{return Rr.call(null,e,0)}catch(t){return Rr.call(this,e,0)}}}!function(){try{Rr="function"==typeof setTimeout?setTimeout:Ir}catch(e){Rr=Ir}try{Lr="function"==typeof clearTimeout?clearTimeout:Nr}catch(e){Lr=Nr}}();var Br,Dr=[],Mr=!1,qr=-1;function Wr(){Mr&&Br&&(Mr=!1,Br.length?Dr=Br.concat(Dr):qr=-1,Dr.length&&zr())}function zr(){if(!Mr){var e=Fr(Wr);Mr=!0;for(var t=Dr.length;t;){for(Br=Dr,Dr=[];++qr<t;)Br&&Br[qr].run();qr=-1,t=Dr.length}Br=null,Mr=!1,function(e){if(Lr===clearTimeout)return clearTimeout(e);if((Lr===Nr||!Lr)&&clearTimeout)return Lr=clearTimeout,clearTimeout(e);try{return Lr(e)}catch(t){try{return Lr.call(null,e)}catch(t){return Lr.call(this,e)}}}(e)}}function Hr(e,t){this.fun=e,this.array=t}function Kr(){}Ur.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];Dr.push(new Hr(e,t)),1!==Dr.length||Mr||Fr(zr)},Hr.prototype.run=function(){this.fun.apply(null,this.array)},Ur.title="browser",Ur.browser=!0,Ur.env={},Ur.argv=[],Ur.version="",Ur.versions={},Ur.on=Kr,Ur.addListener=Kr,Ur.once=Kr,Ur.off=Kr,Ur.removeListener=Kr,Ur.removeAllListeners=Kr,Ur.emit=Kr,Ur.prependListener=Kr,Ur.prependOnceListener=Kr,Ur.listeners=function(){return[]},Ur.binding=function(){throw new Error("process.binding is not supported")},Ur.cwd=function(){return"/"},Ur.chdir=function(){throw new Error("process.chdir is not supported")},Ur.umask=function(){return 0};var Gr=O(Cr.exports);function Jr(){}var Vr=function(e){return new Promise((function(t){setTimeout(t,e)}))};function $r(e,t){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$r(e,t)}function Qr(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&&$r(e,t)}var Xr="object"==("undefined"==typeof global?"undefined":s(global))&&global&&global.Object===Object&&global,Yr="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,Zr=(Xr||Yr||Function("return this")()).Symbol,en=Object.prototype,tn=en.hasOwnProperty,rn=en.toString,nn=Zr?Zr.toStringTag:void 0,on=Object.prototype.toString,an=Zr?Zr.toStringTag:void 0,un=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":an&&an in Object(e)?function(e){var t=tn.call(e,nn),r=e[nn];try{e[nn]=void 0;var n=!0}catch(e){}var o=rn.call(e);return n&&(t?e[nn]=r:delete e[nn]),o}(e):function(e){return on.call(e)}(e)},cn=function(e){return null!=e&&"object"==s(e)},sn=un,ln=Array.isArray,fn=cn,pn=O((function(e){return"string"==typeof e||!ln(e)&&fn(e)&&"[object String]"==sn(e)}));function yn(e,t){if(t&&("object"==s(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 dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dn(e)}function hn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hn=function(){return!!e})()}function vn(e){var t="function"==typeof Map?new Map:void 0;return vn=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(hn())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&$r(o,r.prototype),o}(e,arguments,dn(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),$r(r,e)},vn(e)}function mn(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 bn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bn=function(){return!!e})()}var gn=function(e){function t(){var e,r,n,o;return p(this,t),r=this,o=["Throttled function aborted"],n=dn(n=t),(e=yn(r,bn()?Reflect.construct(n,o||[],dn(r).constructor):n.apply(r,o))).name="AbortError",e}return Qr(t,e),d(t)}(vn(Error));function wn(){wn=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)),$r(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 Qr(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){var r=i[t];return"$"+(Array.isArray(r)?r.join("$"):r)})))}if("function"==typeof o){var a=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=s(e[e.length-1])&&(e=[].slice.call(e)).push(n(e,a)),o.apply(this,e)}))}return e[Symbol.replace].call(this,r,o)},wn.apply(this,arguments)}var On=wn(/(\d+)(%)/,{value:1});function Sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=t;if(On.test(e)){var n,o=null===(n=e.match(On))||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 jn(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.apply(void 0,p)):y()})):r(P.mark((function t(){return P.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 mn(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)?mn(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 gn)}}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 xn=Object,An=Error,En=EvalError,kn=RangeError,Pn=ReferenceError,Tn=SyntaxError,Rn=TypeError,Ln=URIError,_n=Math.abs,Cn=Math.floor,Un=Math.max,In=Math.min,Nn=Math.pow,Fn=Math.round,Bn=Number.isNaN||function(e){return e!=e},Dn=Object.getOwnPropertyDescriptor;if(Dn)try{Dn([],"length")}catch(e){Dn=null}var Mn=Dn,qn=Object.defineProperty||!1;if(qn)try{qn({},"a",{value:1})}catch(e){qn=!1}var Wn,zn,Hn,Kn,Gn,Jn,Vn,$n,Qn,Xn,Yn,Zn,eo,to,ro,no,oo,io,ao,uo,co,so,lo,fo,po,yo,ho,vo,mo,bo=qn;function go(){return Jn?Gn:(Jn=1,Gn="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function wo(){return $n?Vn:($n=1,Vn=xn.getPrototypeOf||null)}function Oo(){if(Xn)return Qn;Xn=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 Qn=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},Qn}function So(){if(Zn)return Yn;Zn=1;var e=Oo();return Yn=Function.prototype.bind||e}function jo(){return to?eo:(to=1,eo=Function.prototype.call)}function xo(){return no?ro:(no=1,ro=Function.prototype.apply)}var Ao=xn,Eo=An,ko=En,Po=kn,To=Pn,Ro=Tn,Lo=Rn,_o=Ln,Co=_n,Uo=Cn,Io=Un,No=In,Fo=Nn,Bo=Fn,Do=Function,Mo=function(e){try{return Do('"use strict"; return ('+e+").constructor;")()}catch(e){}},qo=Mn,Wo=bo,zo=function(){throw new Lo},Ho=qo?function(){try{return zo}catch(e){try{return qo(arguments,"callee").get}catch(e){return zo}}}():zo,Ko=function(){if(Kn)return Hn;Kn=1;var e="undefined"!=typeof Symbol&&Symbol,t=zn?Wn:(zn=1,Wn=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===s(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 Hn=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"===s(e("foo"))&&"symbol"===s(Symbol("bar"))&&t()}}()(),Go=function(){if(yo)return po;yo=1;var e=go(),t=wo(),r=function(){if(fo)return lo;fo=1;var e,t=function(){if(so)return co;so=1;var e=So(),t=Rn,r=jo(),n=function(){if(uo)return ao;uo=1;var e=So(),t=xo(),r=jo(),n=io?oo:(io=1,oo="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return ao=n||e.call(r,t)}();return co=function(o){if(o.length<1||"function"!=typeof o[0])throw new t("a function is required");return n(e,r,o)}}(),r=Mn;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!==s(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 lo=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return po=e?function(t){return e(t)}:t?function(e){if(!e||"object"!==s(e)&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),Jo=wo(),Vo=go(),$o=xo(),Qo=jo(),Xo={},Yo="undefined"!=typeof Uint8Array&&Go?Go(Uint8Array):mo,Zo={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?mo:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?mo:ArrayBuffer,"%ArrayIteratorPrototype%":Ko&&Go?Go([][Symbol.iterator]()):mo,"%AsyncFromSyncIteratorPrototype%":mo,"%AsyncFunction%":Xo,"%AsyncGenerator%":Xo,"%AsyncGeneratorFunction%":Xo,"%AsyncIteratorPrototype%":Xo,"%Atomics%":"undefined"==typeof Atomics?mo:Atomics,"%BigInt%":"undefined"==typeof BigInt?mo:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?mo:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?mo:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?mo:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Eo,"%eval%":eval,"%EvalError%":ko,"%Float16Array%":"undefined"==typeof Float16Array?mo:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?mo:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?mo:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?mo:FinalizationRegistry,"%Function%":Do,"%GeneratorFunction%":Xo,"%Int8Array%":"undefined"==typeof Int8Array?mo:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?mo:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?mo:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ko&&Go?Go(Go([][Symbol.iterator]())):mo,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":s(JSON))?JSON:mo,"%Map%":"undefined"==typeof Map?mo:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ko&&Go?Go((new Map)[Symbol.iterator]()):mo,"%Math%":Math,"%Number%":Number,"%Object%":Ao,"%Object.getOwnPropertyDescriptor%":qo,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?mo:Promise,"%Proxy%":"undefined"==typeof Proxy?mo:Proxy,"%RangeError%":Po,"%ReferenceError%":To,"%Reflect%":"undefined"==typeof Reflect?mo:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?mo:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ko&&Go?Go((new Set)[Symbol.iterator]()):mo,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?mo:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ko&&Go?Go(""[Symbol.iterator]()):mo,"%Symbol%":Ko?Symbol:mo,"%SyntaxError%":Ro,"%ThrowTypeError%":Ho,"%TypedArray%":Yo,"%TypeError%":Lo,"%Uint8Array%":"undefined"==typeof Uint8Array?mo:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?mo:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?mo:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?mo:Uint32Array,"%URIError%":_o,"%WeakMap%":"undefined"==typeof WeakMap?mo:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?mo:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?mo:WeakSet,"%Function.prototype.call%":Qo,"%Function.prototype.apply%":$o,"%Object.defineProperty%":Wo,"%Object.getPrototypeOf%":Jo,"%Math.abs%":Co,"%Math.floor%":Uo,"%Math.max%":Io,"%Math.min%":No,"%Math.pow%":Fo,"%Math.round%":Bo,"%Math.sign%":function(e){return Bn(e)||0===e?e:e<0?-1:1},"%Reflect.getPrototypeOf%":Vo};if(Go)try{null.error}catch(e){var ei=Go(Go(e));Zo["%Error.prototype%"]=ei}var ti=function e(t){var r;if("%AsyncFunction%"===t)r=Mo("async function () {}");else if("%GeneratorFunction%"===t)r=Mo("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=Mo("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&Go&&(r=Go(o.prototype))}return Zo[t]=r,r},ri={__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"]},ni=So(),oi=function(){if(vo)return ho;vo=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=So();return ho=r.call(e,t)}(),ii=ni.call(Qo,Array.prototype.concat),ai=ni.call($o,Array.prototype.splice),ui=ni.call(Qo,String.prototype.replace),ci=ni.call(Qo,String.prototype.slice),si=ni.call(Qo,RegExp.prototype.exec),li=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fi=/\\(\\)?/g,pi=function(e,t){var r,n=e;if(oi(ri,n)&&(n="%"+(r=ri[n])[0]+"%"),oi(Zo,n)){var o=Zo[n];if(o===Xo&&(o=ti(n)),void 0===o&&!t)throw new Lo("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Ro("intrinsic "+e+" does not exist!")},yi=function(e,t){if("string"!=typeof e||0===e.length)throw new Lo("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Lo('"allowMissing" argument must be a boolean');if(null===si(/^%?[^%]*%?$/,e))throw new Ro("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=ci(e,0,1),r=ci(e,-1);if("%"===t&&"%"!==r)throw new Ro("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new Ro("invalid intrinsic syntax, expected opening `%`");var n=[];return ui(e,li,(function(e,t,r,o){n[n.length]=r?ui(o,fi,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=pi("%"+n+"%",t),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],ai(r,ii([0,1],c)));for(var s=1,l=!0;s<r.length;s+=1){var f=r[s],p=ci(f,0,1),y=ci(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new Ro("property names with quotes must have matching quotes");if("constructor"!==f&&l||(u=!0),oi(Zo,i="%"+(n+="."+f)+"%"))a=Zo[i];else if(null!=a){if(!(f in a)){if(!t)throw new Lo("base intrinsic for "+e+" exists, but the property is not available.");return}if(qo&&s+1>=r.length){var d=qo(a,f);a=(l=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:a[f]}else l=oi(a,f),a=a[f];l&&!u&&(Zo[i]=a)}}return a},di={exports:{}},hi=bo,vi=Tn,mi=Rn,bi=Mn,gi=bo,wi=function(){return!!gi};wi.hasArrayLengthDefineBug=function(){if(!gi)return null;try{return 1!==gi([],"length",{value:1}).length}catch(e){return!0}};var Oi=yi,Si=function(e,t,r){if(!e||"object"!==s(e)&&"function"!=typeof e)throw new mi("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!==s(t))throw new mi("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new mi("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new mi("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new mi("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new mi("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],u=!!bi&&bi(e,t);if(hi)hi(e,t,{configurable:null===i&&u?u.configurable:!i,enumerable:null===n&&u?u.enumerable:!n,value:r,writable:null===o&&u?u.writable:!o});else{if(!a&&(n||o||i))throw new vi("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}},ji=wi(),xi=Mn,Ai=Rn,Ei=Oi("%Math.floor%"),ki=function(e,t){if("function"!=typeof e)throw new Ai("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||Ei(t)!==t)throw new Ai("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,o=!0;if("length"in e&&xi){var i=xi(e,"length");i&&!i.configurable&&(n=!1),i&&!i.writable&&(o=!1)}return(n||o||!r)&&(ji?Si(e,"length",t,!0,!0):Si(e,"length",t)),e};!function(e){var t=So(),r=yi,n=ki,o=Rn,i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||t.call(a,i),c=bo,s=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var r=u(t,a,arguments);return n(r,1+s(0,e.length-(arguments.length-1)),!0)};var l=function(){return u(t,i,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l}(di);var Pi=yi,Ti=di.exports,Ri=Ti(Pi("String.prototype.indexOf")),Li=S(Object.freeze({__proto__:null,default:{}})),_i="function"==typeof Map&&Map.prototype,Ci=Object.getOwnPropertyDescriptor&&_i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ui=_i&&Ci&&"function"==typeof Ci.get?Ci.get:null,Ii=_i&&Map.prototype.forEach,Ni="function"==typeof Set&&Set.prototype,Fi=Object.getOwnPropertyDescriptor&&Ni?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Bi=Ni&&Fi&&"function"==typeof Fi.get?Fi.get:null,Di=Ni&&Set.prototype.forEach,Mi="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,qi="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Wi="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,zi=Boolean.prototype.valueOf,Hi=Object.prototype.toString,Ki=Function.prototype.toString,Gi=String.prototype.match,Ji=String.prototype.slice,Vi=String.prototype.replace,$i=String.prototype.toUpperCase,Qi=String.prototype.toLowerCase,Xi=RegExp.prototype.test,Yi=Array.prototype.concat,Zi=Array.prototype.join,ea=Array.prototype.slice,ta=Math.floor,ra="function"==typeof BigInt?BigInt.prototype.valueOf:null,na=Object.getOwnPropertySymbols,oa="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?Symbol.prototype.toString:null,ia="function"==typeof Symbol&&"object"===s(Symbol.iterator),aa="function"==typeof Symbol&&Symbol.toStringTag&&(s(Symbol.toStringTag),1)?Symbol.toStringTag:null,ua=Object.prototype.propertyIsEnumerable,ca=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function sa(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Xi.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-ta(-e):ta(e);if(n!==e){var o=String(n),i=Ji.call(t,o.length+1);return Vi.call(o,r,"$&_")+"."+Vi.call(Vi.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Vi.call(t,r,"$&_")}var la=Li,fa=la.custom,pa=ma(fa)?fa:null;function ya(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function da(e){return Vi.call(String(e),/"/g,""")}function ha(e){return!("[object Array]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}function va(e){return!("[object RegExp]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}function ma(e){if(ia)return e&&"object"===s(e)&&e instanceof Symbol;if("symbol"===s(e))return!0;if(!e||"object"!==s(e)||!oa)return!1;try{return oa.call(e),!0}catch(e){}return!1}var ba=Object.prototype.hasOwnProperty||function(e){return e in this};function ga(e,t){return ba.call(e,t)}function wa(e){return Hi.call(e)}function Oa(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Sa(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Sa(Ji.call(e,0,t.maxStringLength),t)+n}return ya(Vi.call(Vi.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ja),"single",t)}function ja(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":"")+$i.call(t.toString(16))}function xa(e){return"Object("+e+")"}function Aa(e){return e+" { ? }"}function Ea(e,t,r,n){return e+" ("+t+") {"+(n?ka(r,n):Zi.call(r,", "))+"}"}function ka(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+Zi.call(e,","+r)+"\n"+t.prev}function Pa(e,t){var r=ha(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=ga(e,o)?t(e[o],e):""}var i,a="function"==typeof na?na(e):[];if(ia){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in e)ga(e,c)&&(r&&String(Number(c))===c&&c<e.length||ia&&i["$"+c]instanceof Symbol||(Xi.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof na)for(var s=0;s<a.length;s++)ua.call(e,a[s])&&n.push("["+t(a[s])+"]: "+t(e[a[s]],e));return n}var Ta=yi,Ra=function(e,t){var r=Pi(e,!!t);return"function"==typeof r&&Ri(e,".prototype.")>-1?Ti(r):r},La=function e(t,r,n,o){var i=r||{};if(ga(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ga(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!ga(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ga(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(ga(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Sa(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return u?sa(t,c):c}if("bigint"==typeof t){var l=String(t)+"n";return u?sa(t,l):l}var f=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"===s(t))return ha(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=Zi.call(Array(e.indent+1)," ")}return{base:r,prev:Zi.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(Oa(o,t)>=0)return"[Circular]";function y(t,r,a){if(r&&(o=ea.call(o)).push(r),a){var u={depth:i.depth};return ga(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),e(t,u,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!va(t)){var d=function(e){if(e.name)return e.name;var t=Gi.call(Ki.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),h=Pa(t,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(h.length>0?" { "+Zi.call(h,", ")+" }":"")}if(ma(t)){var v=ia?Vi.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):oa.call(t);return"object"!==s(t)||ia?v:xa(v)}if(function(e){return!(!e||"object"!==s(e))&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var m="<"+Qi.call(String(t.nodeName)),b=t.attributes||[],g=0;g<b.length;g++)m+=" "+b[g].name+"="+ya(da(b[g].value),"double",i);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+"</"+Qi.call(String(t.nodeName))+">"}if(ha(t)){if(0===t.length)return"[]";var w=Pa(t,y);return p&&!function(e){for(var t=0;t<e.length;t++)if(Oa(e[t],"\n")>=0)return!1;return!0}(w)?"["+ka(w,p)+"]":"[ "+Zi.call(w,", ")+" ]"}if(function(e){return!("[object Error]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}(t)){var O=Pa(t,y);return"cause"in Error.prototype||!("cause"in t)||ua.call(t,"cause")?0===O.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Zi.call(O,", ")+" }":"{ ["+String(t)+"] "+Zi.call(Yi.call("[cause]: "+y(t.cause),O),", ")+" }"}if("object"===s(t)&&a){if(pa&&"function"==typeof t[pa]&&la)return la(t,{depth:f-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Ui||!e||"object"!==s(e))return!1;try{Ui.call(e);try{Bi.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return Ii&&Ii.call(t,(function(e,r){S.push(y(r,t,!0)+" => "+y(e,t))})),Ea("Map",Ui.call(t),S,p)}if(function(e){if(!Bi||!e||"object"!==s(e))return!1;try{Bi.call(e);try{Ui.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var j=[];return Di&&Di.call(t,(function(e){j.push(y(e,t))})),Ea("Set",Bi.call(t),j,p)}if(function(e){if(!Mi||!e||"object"!==s(e))return!1;try{Mi.call(e,Mi);try{qi.call(e,qi)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Aa("WeakMap");if(function(e){if(!qi||!e||"object"!==s(e))return!1;try{qi.call(e,qi);try{Mi.call(e,Mi)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Aa("WeakSet");if(function(e){if(!Wi||!e||"object"!==s(e))return!1;try{return Wi.call(e),!0}catch(e){}return!1}(t))return Aa("WeakRef");if(function(e){return!("[object Number]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}(t))return xa(y(Number(t)));if(function(e){if(!e||"object"!==s(e)||!ra)return!1;try{return ra.call(e),!0}catch(e){}return!1}(t))return xa(y(ra.call(t)));if(function(e){return!("[object Boolean]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}(t))return xa(zi.call(t));if(function(e){return!("[object String]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}(t))return xa(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]"!==wa(e)||aa&&"object"===s(e)&&aa in e)}(t)&&!va(t)){var x=Pa(t,y),A=ca?ca(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",k=!A&&aa&&Object(t)===t&&aa in t?Ji.call(wa(t),8,-1):E?"Object":"",P=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(k||E?"["+Zi.call(Yi.call([],k||[],E||[]),": ")+"] ":"");return 0===x.length?P+"{}":p?P+"{"+ka(x,p)+"}":P+"{ "+Zi.call(x,", ")+" }"}return String(t)},_a=Rn,Ca=Ta("%WeakMap%",!0),Ua=Ta("%Map%",!0),Ia=Ra("WeakMap.prototype.get",!0),Na=Ra("WeakMap.prototype.set",!0),Fa=Ra("WeakMap.prototype.has",!0),Ba=Ra("Map.prototype.get",!0),Da=Ra("Map.prototype.set",!0),Ma=Ra("Map.prototype.has",!0),qa=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},Wa=String.prototype.replace,za=/%20/g,Ha="RFC3986",Ka={default:Ha,formatters:{RFC1738:function(e){return Wa.call(e,za,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:Ha},Ga=Ka,Ja=Object.prototype.hasOwnProperty,Va=Array.isArray,$a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Qa=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},Xa=1024,Ya={arrayToObject:Qa,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var c=a[u],l=i[c];"object"===s(l)&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:i,prop:c}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(Va(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"===s(e)?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;u+=Xa){for(var c=i.length>=Xa?i.slice(u,u+Xa):i,l=[],f=0;f<c.length;++f){var p=c.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===Ga.RFC1738&&(40===p||41===p)?l[l.length]=c.charAt(f):p<128?l[l.length]=$a[p]:p<2048?l[l.length]=$a[192|p>>6]+$a[128|63&p]:p<55296||p>=57344?l[l.length]=$a[224|p>>12]+$a[128|p>>6&63]+$a[128|63&p]:(p=65536+((1023&p)<<10|1023&c.charCodeAt(f+=1)),l[l.length]=$a[240|p>>18]+$a[128|p>>12&63]+$a[128|p>>6&63]+$a[128|63&p])}a+=l.join("")}return a},isBuffer:function(e){return!(!e||"object"!==s(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Va(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!==s(r)){if(Va(t))t.push(r);else{if(!t||"object"!==s(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!Ja.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==s(t))return[t].concat(r);var o=t;return Va(t)&&!Va(r)&&(o=Qa(t,n)),Va(t)&&Va(r)?(r.forEach((function(r,o){if(Ja.call(t,o)){var i=t[o];i&&"object"===s(i)&&r&&"object"===s(r)?t[o]=e(i,r,n):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return t[o]=Ja.call(t,o)?e(t[o],i,n):i,t}),o)}},Za=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new _a("Side channel does not contain "+La(e))},get:function(n){if(Ca&&n&&("object"===s(n)||"function"==typeof n)){if(e)return Ia(e,n)}else if(Ua){if(t)return Ba(t,n)}else if(r)return function(e,t){var r=qa(e,t);return r&&r.value}(r,n)},has:function(n){if(Ca&&n&&("object"===s(n)||"function"==typeof n)){if(e)return Fa(e,n)}else if(Ua){if(t)return Ma(t,n)}else if(r)return function(e,t){return!!qa(e,t)}(r,n);return!1},set:function(n,o){Ca&&n&&("object"===s(n)||"function"==typeof n)?(e||(e=new Ca),Na(e,n,o)):Ua?(t||(t=new Ua),Da(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=qa(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n},eu=Ya,tu=Ka,ru=Object.prototype.hasOwnProperty,nu={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},ou=Array.isArray,iu=Array.prototype.push,au=function(e,t){iu.apply(e,ou(t)?t:[t])},uu=Date.prototype.toISOString,cu=tu.default,su={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:eu.encode,encodeValuesOnly:!1,format:cu,formatter:tu.formatters[cu],indices:!1,serializeDate:function(e){return uu.call(e)},skipNulls:!1,strictNullHandling:!1},lu={},fu=function e(t,r,n,o,i,a,u,c,l,f,p,y,d,h,v,m,b,g){for(var w,O=t,S=g,j=0,x=!1;void 0!==(S=S.get(lu))&&!x;){var A=S.get(t);if(j+=1,void 0!==A){if(A===j)throw new RangeError("Cyclic object value");x=!0}void 0===S.get(lu)&&(j=0)}if("function"==typeof f?O=f(r,O):O instanceof Date?O=d(O):"comma"===n&&ou(O)&&(O=eu.maybeMap(O,(function(e){return e instanceof Date?d(e):e}))),null===O){if(a)return l&&!m?l(r,su.encoder,b,"key",h):r;O=""}if("string"==typeof(w=O)||"number"==typeof w||"boolean"==typeof w||"symbol"===s(w)||"bigint"==typeof w||eu.isBuffer(O))return l?[v(m?r:l(r,su.encoder,b,"key",h))+"="+v(l(O,su.encoder,b,"value",h))]:[v(r)+"="+v(String(O))];var E,k=[];if(void 0===O)return k;if("comma"===n&&ou(O))m&&l&&(O=eu.maybeMap(O,l)),E=[{value:O.length>0?O.join(",")||null:void 0}];else if(ou(f))E=f;else{var P=Object.keys(O);E=p?P.sort(p):P}var T=c?r.replace(/\./g,"%2E"):r,R=o&&ou(O)&&1===O.length?T+"[]":T;if(i&&ou(O)&&0===O.length)return R+"[]";for(var L=0;L<E.length;++L){var _=E[L],C="object"===s(_)&&void 0!==_.value?_.value:O[_];if(!u||null!==C){var U=y&&c?_.replace(/\./g,"%2E"):_,I=ou(O)?"function"==typeof n?n(R,U):R:R+(y?"."+U:"["+U+"]");g.set(t,j);var N=Za();N.set(lu,g),au(k,e(C,I,n,o,i,a,u,c,"comma"===n&&m&&ou(O)?null:l,f,p,y,d,h,v,m,b,N))}}return k},pu=Ya,yu=Object.prototype.hasOwnProperty,du=Array.isArray,hu={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:pu.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},vu=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},mu=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},bu=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=a?o.slice(0,a.index):o,c=[];if(u){if(!r.plainObjects&&yu.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var s=0;r.depth>0&&null!==(a=i.exec(o))&&s<r.depth;){if(s+=1,!r.plainObjects&&yu.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(a[1])}if(a){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+o.slice(a.index)+"]")}return function(e,t,r,n){for(var o=n?t:mu(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=r.allowEmptyArrays&&(""===o||r.strictNullHandling&&null===o)?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(s,10);r.parseArrays||""!==s?!isNaN(l)&&u!==s&&String(l)===s&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(c,t,r,n)}},gu=O({formats:Ka,parse:function(e,t){var r=function(e){if(!e)return hu;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");var t=void 0===e.charset?hu.charset:e.charset,r=void 0===e.duplicates?hu.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||hu.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:hu.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:hu.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:hu.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:hu.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:hu.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:hu.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:hu.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:hu.decoder,delimiter:"string"==typeof e.delimiter||pu.isRegExp(e.delimiter)?e.delimiter:hu.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:hu.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:hu.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:hu.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:hu.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:hu.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:hu.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof e?function(e,t){var r,n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=(o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]")).split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=-1,u=t.charset;if(t.charsetSentinel)for(r=0;r<i.length;++r)0===i[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[r]?u="utf-8":"utf8=%26%2310003%3B"===i[r]&&(u="iso-8859-1"),a=r,r=i.length);for(r=0;r<i.length;++r)if(r!==a){var c,s,l=i[r],f=l.indexOf("]="),p=-1===f?l.indexOf("="):f+1;-1===p?(c=t.decoder(l,hu.decoder,u,"key"),s=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,p),hu.decoder,u,"key"),s=pu.maybeMap(mu(l.slice(p+1),t),(function(e){return t.decoder(e,hu.decoder,u,"value")}))),s&&t.interpretNumericEntities&&"iso-8859-1"===u&&(s=vu(s)),l.indexOf("[]=")>-1&&(s=du(s)?[s]:s);var y=yu.call(n,c);y&&"combine"===t.duplicates?n[c]=pu.combine(n[c],s):y&&"last"!==t.duplicates||(n[c]=s)}return n}(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),a=0;a<i.length;++a){var u=i[a],c=bu(u,n[u],r,"string"==typeof e);o=pu.merge(o,c,r)}return!0===r.allowSparse?o:pu.compact(o)},stringify:function(e,t){var r,n=e,o=function(e){if(!e)return su;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||su.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=tu.default;if(void 0!==e.format){if(!ru.call(tu.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=tu.formatters[r],i=su.filter;if(("function"==typeof e.filter||ou(e.filter))&&(i=e.filter),n=e.arrayFormat in nu?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":su.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:su.addQueryPrefix,allowDots:void 0===e.allowDots?!0===e.encodeDotInKeys||su.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:su.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:su.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?su.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:su.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:su.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:su.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:su.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:su.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:su.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:su.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):ou(o.filter)&&(r=o.filter);var i=[];if("object"!==s(n)||null===n)return"";var a=nu[o.arrayFormat],u="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=Za(),l=0;l<r.length;++l){var f=r[l];o.skipNulls&&null===n[f]||au(i,fu(n[f],f,a,u,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,c))}var p=i.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&(y+="iso-8859-1"===o.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),p.length>0?y+p:""}});function wu(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 Ou(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Su=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function ju(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 xu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Au(e,t){var n=function(e){var t=Ou(Ou({},{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&&Su.test(t.host)){var u=t.host.split(":");if(2===u.length){var c=h(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,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:function(e){return gu.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 Au(e,xu(xu({},function(e){var t=_r(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?Jr:r,o=pn(t)?Sn(t):Sn("auto",t),i=jn(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&&pn(t)&&("auto"===t||On.test(t))&&r.headers&&r.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(r.headers["x-contentful-ratelimit-second-limit"]),s=Sn(t,c);s!==o&&(u&&e.interceptors.request.eject(u),o=s,i=jn(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?Jr:o,a=n.requestLogger,u=void 0===a?Jr: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(P.mark((function r(n){var o,a,u,c,s;return P.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",Vr(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 Eu(e){var t=e.query,r={};return delete t.resolveLinks,r.params=_r(t),r}function ku(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 Pu(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 ku(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)?ku(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"===s(n)&&Pu(n)}}catch(e){r.e(e)}finally{r.f()}return Object.freeze(e)}function Tu(){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 Ru(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return _r(this)}})}var Lu,_u,Cu=(Lu=Object.getPrototypeOf,_u=Object,function(e){return Lu(_u(e))}),Uu=un,Iu=Cu,Nu=cn,Fu=Function.prototype.toString,Bu=Object.prototype.hasOwnProperty,Du=Fu.call(Object),Mu=O((function(e){if(!Nu(e)||"[object Object]"!=Uu(e))return!1;var t=Iu(e);if(null===t)return!0;var r=Bu.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Fu.call(r)==Du}));function qu(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),!Mu(n)||!Mu(r))throw e;var o,i=null==n?void 0:n.data,a={status:null==n?void 0:n.status,statusText:null==n?void 0:n.statusText,message:"",details:{}};r&&Mu(r)&&(a.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),i&&"object"===s(i)&&("requestId"in i&&(a.requestId=i.requestId||"UNKNOWN"),"message"in i&&(a.message=i.message||""),"details"in i&&(a.details=i.details||{}),t=null===(o=i.sys)||void 0===o?void 0:o.id);var u=new Error;u.name=t&&"Unknown"!==t?t:"".concat(null==n?void 0:n.status," ").concat(null==n?void 0:n.statusText);try{u.message=JSON.stringify(a,null," ")}catch(e){var c;u.message=null!==(c=null==a?void 0:a.message)&&void 0!==c?c:""}throw u}function Wu(e){return function(t){return Object.assign({},e,t)}}function zu(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 Hu(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)?Hu(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 Hu(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 Ku,Gu,Ju,Vu,$u={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},Qu={0:8203,1:8204,2:8205,3:65279},Xu=new Array(4).fill(String.fromCodePoint(Qu[0])).join("");function Yu(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(Xu).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(Qu[e])})).join("")})).join(""))}(t))}(e,t)}Object.fromEntries(Object.entries(Qu).map((function(e){return e.reverse()}))),Object.fromEntries(Object.entries($u).map((function(e){return e.reverse()}))),"".concat(Object.values($u).map((function(e){return"\\u{".concat(e.toString(16),"}")})).join(""));var Zu=function(){if(Vu)return Ju;Vu=1;var e=function(){if(Gu)return Ku;Gu=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return Ku=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 Ju=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"!=s(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("/")},Ju}(),ec=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=Zu.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,c(ec(e,"".concat(t,"/content/").concat(o))));return r},tc=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},rc=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function nc(e,t,r,n,o,i,a){var u=a?t[a]:t;switch(e){case"Symbol":var c=Yu(u,r);Zu.set(n,o,c);break;case"Text":var s=Yu(u,r);Zu.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=zu(ec(n,t));try{for(u.s();!(a=u.n()).done;){var c=a.value;r[c]=i;var s=Yu(Zu.get(n,c),o);Zu.set(n,c,s)}}catch(e){u.e(e)}finally{u.f()}}else{var l,f=zu(ec(n,t));try{for(f.s();!(l=f.n()).done;){var p=l.value,y=Yu(Zu.get(n,p),o);Zu.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?Yu(e,r):e}));Zu.set(n,o,l)}}var oc,ic=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 rc.includes(e)}(y.widgetId))return 0;var d=s.startsWith("/")?s:"/".concat(s);if(Zu.has(e,d)){var h=Zu.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=tc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:m,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});nc(p,h,b,e,d,u)}else Object.keys(h).forEach((function(t){var r=tc({entityId:l,entityType:f,space:a,environment:c,field:v,locale:t,editorInterface:y,fieldType:p,targetOrigin:n,platform:o});nc(p,h,r,e,"".concat(d,"/").concat(t),u,t)}))}};for(var s in u)if(0!==(a=c())&&a)return a.v}}},ac={exports:{}};oc=function(){var e=Function.prototype.toString,t=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f="function"==typeof i,p="function"==typeof WeakMap,y=function(){if(p)return function(){return new WeakMap};var e=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}();return function(){return new e}}(),d=function(r,n){var o=r.__proto__||a(r);if(!o)return t(null);var i=o.constructor;if(i===n.Object)return o===n.Object.prototype?{}:t(o);if(~e.call(i).indexOf("[native code]"))try{return new i}catch(e){}return t(o)},h=function(e,t,r,n){var o=d(e,t);for(var a in n.set(e,o),e)c.call(e,a)&&(o[a]=r(e[a],n));if(f)for(var u=i(e),s=0,p=u.length,y=void 0;s<p;++s)l.call(e,y=u[s])&&(o[y]=r(e[y],n));return o},v=function(e,t,a,u){var c=d(e,t);u.set(e,c);for(var s=f?o(e).concat(i(e)):o(e),l=0,p=s.length,y=void 0,h=void 0;l<p;++l)if("callee"!==(y=s[l])&&"caller"!==y)if(h=n(e,y)){h.get||h.set||(h.value=a(e[y],u));try{r(c,y,h)}catch(e){c[y]=h.value}}else c[y]=a(e[y],u);return c},m=Array.isArray,b=Object.getPrototypeOf,g=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console,this)}();function w(e,t){var r=!(!t||!t.isStrict),n=t&&t.realm||g,o=r?v:h,i=function(e,t){if(!e||"object"!==s(e))return e;if(t.has(e))return t.get(e);var a,u,c,l=e.__proto__||b(e),f=l&&l.constructor;if(!f||f===n.Object)return o(e,n,i,t);if(m(e)){if(r)return v(e,n,i,t);t.set(e,a=new f);for(var p=0,y=e.length;p<y;++p)a[p]=i(e[p],t);return a}if(e instanceof n.Date)return new f(e.getTime());if(e instanceof n.RegExp)return(a=new f(e.source,e.flags||(c="",(u=e).global&&(c+="g"),u.ignoreCase&&(c+="i"),u.multiline&&(c+="m"),u.unicode&&(c+="u"),u.sticky&&(c+="y"),c))).lastIndex=e.lastIndex,a;if(n.Map&&e instanceof n.Map)return t.set(e,a=new f),e.forEach((function(e,r){a.set(r,i(e,t))})),a;if(n.Set&&e instanceof n.Set)return t.set(e,a=new f),e.forEach((function(e){a.add(i(e,t))})),a;if(n.Blob&&e instanceof n.Blob)return e.slice(0,e.size,e.type);if(n.Buffer&&n.Buffer.isBuffer(e))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(e.length):new f(e.length),t.set(e,a),e.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(e))return a=new f(e.buffer.slice(0)),t.set(e,a),a;if(e instanceof n.ArrayBuffer)return a=e.slice(0),t.set(e,a),a}return"function"==typeof e.then||e instanceof Error||n.WeakMap&&e instanceof n.WeakMap||n.WeakSet&&e instanceof n.WeakSet?e:o(e,n,i,t)};return i(e,y())}return w.default=w,w.strict=function(e,t){return w(e,{isStrict:!0,realm:t?t.realm:void 0})},w},ac.exports=oc();var uc=O(ac.exports),cc="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)};function sc(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 lc={},fc=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)},pc=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!==lc}));for(var t in e)e[t]===lc&&delete e[t];return e}(t))}return t},yc=function(e,t){if(t=t||{},!e.items)return[];var r=uc(e),n=Object.keys(r.includes||{}).reduce((function(t,r){return[].concat(sc(t),sc(e.includes[r]))}),[]),o=[].concat(sc(r.items),sc(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,sc(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,pc(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 fc(e,{linkType:c,entryId:u,spaceId:i,environmentId:a})||lc}return fc(e,{linkType:n,entryId:t.sys.id})||lc}(e,t);return n===lc?r?n:t:n}(i,e,t.removeUnresolved)}),t.removeUnresolved))})),r.items},dc={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}(dc);var hc=O(dc.exports);function vc(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){return hc(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 mc(){return bc.apply(this,arguments)}function bc(){return bc=r(P.mark((function e(t,r,n){var o,i,a,u,c,s;return P.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,gc(t,[],r,{paginate:u});case 12:return c=e.sent,i||(c.items=yc(c,{removeUnresolved:a,itemEntryPoints:["fields"]})),p=function(e){return function(t,r){return r.sys.type===e&&t.push(Ru(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",(Pu((l=vc(Ru(s))).sys||{}),l));case 18:case"end":return e.stop()}var l,f,p}),e)}))),bc.apply(this,arguments)}function gc(){return wc.apply(this,arguments)}function wc(){return(wc=r(P.mark((function e(t,r,n,o){var i,a,u;return P.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",Eu({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=Oc(u.nextPageUrl),e.abrupt("return",gc(t,r,a,{paginate:i}));case 12:return e.abrupt("return",{items:r,nextPageToken:Oc(u.nextPageUrl)});case 15:if(!u.nextSyncUrl){e.next=19;break}return e.abrupt("return",{items:r,nextSyncToken:Oc(u.nextSyncUrl)});case 19:return e.abrupt("return",{items:[]});case 20:case"end":return e.stop()}var c}),e)})))).apply(this,arguments)}function Oc(e){var t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Sc(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 jc(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 xc(e){if(!e.select)return e;var t=jc(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:c(t).join(",")}))}function Ac(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=vc(e);return r&&(o.items=yc(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),o}function Ec(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ec=function(){return!!e})()}var kc=function(e){function t(e,r){var n,o,i,a;return p(this,t),o=this,i=t,a=['Invalid "'.concat(e,'" provided, ')+r],i=dn(i),(n=yn(o,Ec()?Reflect.construct(i,a||[],dn(o).constructor):i.apply(o,a))).name="ValidationError",n}return Qr(t,e),d(t)}(vn(Error));function Pc(e,t,r){if(r=r||{},"number"!=typeof t)throw new kc(e,'only numeric values are allowed for timestamps, provided type was "'.concat(s(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 Tc=function(e){var t,r=null===(t=null==e?void 0:e.alphaFeatures)||void 0===t?void 0:t.timelinePreview,n=function(e,t){if(void 0===t)return!1;var r=function(e){if("object"!==s(e)||null===e||Array.isArray(e))throw new kc("timelinePreview","The 'timelinePreview' parameter must be an object.");var t,r,n=!(!(t=e.release)||"object"!==s(t)||"string"!=typeof t.lte),o=!(!(r=e.timestamp)||"object"!==s(r)||!("string"==typeof r.lte||r.lte instanceof Date));if(!n&&!o)throw new kc("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 kc("timelinePreview","The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to enable Timeline Preview.\n ");return!0}(null==e?void 0:e.host,r);return{enabled:n,timelinePreview:r}};function Rc(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 Lc(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 _c(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 Cc(e){for(var t in e){var r=e[t];if("object"===s(r)&&null!==r&&!Array.isArray(r))throw new Error('Objects are not supported as value for the "'.concat(t,'" query parameter.'))}}function Uc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Uc=function(){return!!e})()}var Ic=function(e){function t(e,r,n){var o,i,a,u;return p(this,t),i=this,u=["The resource could not be found."],a=dn(a=t),(o=yn(i,Uc()?Reflect.construct(a,u||[],dn(i).constructor):a.apply(i,u))).sys={type:"Error",id:"NotFound"},o.details={type:"Entry",id:e,environment:r,space:n},o}return Qr(t,e),d(t)}(vn(Error));function Nc(e,t){var n=e.http,o=e.getGlobalOptions,i=function(){return new Ic(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.");if(t&&"preview.contentful.com"!==e)throw new kc("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.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=jc(r);u.add("sys"),r.select=Array.from(u).join(",")}return r}function c(e){return Tc(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 ic(e,a,u,t,r)})),c&&c.Entry&&c.Entry.forEach((function(e){return ic(e,a,u,t,r)})),c&&c.Asset&&c.Asset.forEach((function(e){return ic(e,a,u,t,r)}))}else{if(!o.sys.contentSourceMapsLookup)return o;ic(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(P.mark((function e(t){var r,o,i;return P.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),qu(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(P.mark((function e(t){var r,o,i,u;return P.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),qu(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function d(){return(d=r(P.mark((function e(){return P.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(P.mark((function e(t){return P.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(P.mark((function e(){var t=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l({context:"environment",path:"content_types",config:Eu({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(P.mark((function e(r){var n=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",g(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(P.mark((function e(){var r=arguments;return P.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(e,t){return w.apply(this,arguments)}function w(){return w=r(P.mark((function e(t,r){var n,o,i=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Rc(r,o=(n=i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Lc(r),_c(r),Cc(r),e.abrupt("return",O(t,o?Object.assign(Object.assign({},r),{locale:"*"}):r,n));case 7:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function O(e,t,r){return S.apply(this,arguments)}function S(){return S=r(P.mark((function e(t,r,n){var o;return P.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,E(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),qu(e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),S.apply(this,arguments)}function j(e){return x.apply(this,arguments)}function x(){return x=r(P.mark((function e(t){var r,n,o=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Rc(t,n=(r=o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Lc(t),_c(t),Cc(t),e.abrupt("return",E(n?Object.assign(Object.assign({},t),{locale:"*"}):t,r));case 7:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function A(e){var t=function(e){var t=Tc(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(Sc(xc(t)))}function E(e,t){return k.apply(this,arguments)}function k(){return k=r(P.mark((function e(t,r){var n,o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.withoutLinkResolution,o=r.withoutUnresolvableLinks,e.prev=1,e.next=4,l({context:"environment",path:c("entries"),config:Eu({query:A(t)})});case 4:return e.abrupt("return",Ac(e.sent,{resolveLinks:!n,removeUnresolved:null!=o&&o}));case 8:e.prev=8,e.t0=e.catch(1),qu(e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),k.apply(this,arguments)}function T(){return T=r(P.mark((function e(r){var n=arguments;return P.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)}))),T.apply(this,arguments)}function R(){return R=r(P.mark((function e(){var r=arguments;return P.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)}))),R.apply(this,arguments)}function L(e){return _.apply(this,arguments)}function _(){return _=r(P.mark((function e(t){var r,n,o=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Rc(t,r=(o.length>1&&void 0!==o[1]?o[1]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Cc(t),n=r?Object.assign(Object.assign({},t),{locale:"*"}):t,e.abrupt("return",F(n));case 6:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function C(e,t){return U.apply(this,arguments)}function U(){return(U=r(P.mark((function e(t,r){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l({context:"environment",path:c("assets/".concat(t)),config:Eu({query:A(r)})}));case 4:e.prev=4,e.t0=e.catch(0),qu(e.t0);case 7:case"end":return e.stop()}}),e,null,[[0,4]])})))).apply(this,arguments)}function I(e,t){return N.apply(this,arguments)}function N(){return N=r(P.mark((function e(t,r){var n,o,i=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Rc(r,n=(i.length>2&&void 0!==i[2]?i[2]:{withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}).withAllLocales),Cc(r),o=n?Object.assign(Object.assign({},r),{locale:"*"}):r,e.abrupt("return",C(t,o));case 6:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function F(e){return B.apply(this,arguments)}function B(){return(B=r(P.mark((function e(t){return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",l({context:"environment",path:c("assets"),config:Eu({query:A(t)})}));case 4:e.prev=4,e.t0=e.catch(0),qu(e.t0);case 7:case"end":return e.stop()}}),e,null,[[0,4]])})))).apply(this,arguments)}function D(){return(D=r(P.mark((function e(t){return P.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 M(){return M=r(P.mark((function e(){var t,r=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Cc(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"tags",config:Eu({query:Sc(xc(t))})}));case 3:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function q(){return(q=r(P.mark((function e(t){var r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{r=Math.floor(Date.now()/1e3),Pc("expiresAt",t,{maximum:r+172800,now:r})}catch(e){qu(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 W(){return W=r(P.mark((function e(){var t,r=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Cc(t=r.length>0&&void 0!==r[0]?r[0]:{}),e.abrupt("return",l({context:"environment",path:"locales",config:Eu({query:xc(t)})}));case 3:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function z(){return z=r(P.mark((function e(r){var n=arguments;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",H(r,n.length>1&&void 0!==n[1]?n[1]:{paginate:!0},t));case 2:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function H(e,t){return K.apply(this,arguments)}function K(){return K=r(P.mark((function e(t,r){var o,i,a=arguments;return P.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},Lc(t),_c(t),i=Object.assign(Object.assign({},r),o),Q(n),e.abrupt("return",mc(n,t,i));case 6:case"end":return e.stop()}}),e)}))),K.apply(this,arguments)}function G(){return G=r(P.mark((function e(t){var r,n=arguments;return P.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:Eu({query:Sc(xc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),qu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),G.apply(this,arguments)}function J(){return J=r(P.mark((function e(){var t,r=arguments;return P.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:Eu({query:Sc(xc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),qu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),J.apply(this,arguments)}function V(){return V=r(P.mark((function e(t){var r,n=arguments;return P.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:Eu({query:Sc(xc(r))})}));case 5:e.prev=5,e.t0=e.catch(1),qu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),V.apply(this,arguments)}function $(){return $=r(P.mark((function e(){var t,r=arguments;return P.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:Eu({query:Sc(xc(t))})}));case 5:e.prev=5,e.t0=e.catch(1),qu(e.t0);case 8:case"end":return e.stop()}}),e,null,[[1,5]])}))),$.apply(this,arguments)}function Q(e){e.defaults.baseURL=o().environmentBaseUrl}return{version:"11.7.11",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 T.apply(this,arguments)},getAssets:function(){return R.apply(this,arguments)},getTag:function(e){return D.apply(this,arguments)},getTags:function(){return M.apply(this,arguments)},getLocales:function(){return W.apply(this,arguments)},parseEntries:function(e){return function(e){return function(e,t){var r=t.withoutUnresolvableLinks;return Ac(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 z.apply(this,arguments)},getEntry:function(e){return m.apply(this,arguments)},getEntries:function(){return b.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 J.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getConcept:function(e){return function(e){return V.apply(this,arguments)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},getConcepts:function(){return function(){return $.apply(this,arguments)}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},createAssetKey:function(e){return q.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");Lc(e),_c(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=Tu(),n.push("platform ReactNative")):void 0===Gr||Gr.browser?(o=Tu(),n.push("platform browser")):(o=function(){var e=Gr.platform||"linux",t=Gr.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(Gr.versions&&Gr.versions.node?"v".concat(Gr.versions.node):Gr.version)))}catch(e){o=null}return o&&n.push("os ".concat(o)),"".concat(n.filter((function(e){return""!==e})).join("; "),";")}("contentful.js/".concat("11.7.11"),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=Au(Yt,t);if(!n.defaults.baseURL)throw new Error("Please define a baseURL");var o=Wu({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=Nc({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.create(n)}({http:t,getGlobalOptions:r},e,n)}var o=Nc({http:t,getGlobalOptions:r},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1});return Object.assign(Object.assign({},o),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})}({http:n,getGlobalOptions:o})},e.createGlobalOptions=Wu,e}({});
|