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