contentful-management 11.64.0 → 11.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/contentful-management.browser.js +600 -80
  2. package/dist/contentful-management.browser.js.map +1 -1
  3. package/dist/contentful-management.browser.min.js +1 -1
  4. package/dist/contentful-management.node.js +592 -80
  5. package/dist/contentful-management.node.js.map +1 -1
  6. package/dist/contentful-management.node.min.js +1 -1
  7. package/dist/es-modules/adapters/REST/endpoints/index.js +10 -0
  8. package/dist/es-modules/adapters/REST/endpoints/semantic-duplicates.js +6 -0
  9. package/dist/es-modules/adapters/REST/endpoints/semantic-recommendations.js +6 -0
  10. package/dist/es-modules/adapters/REST/endpoints/semantic-reference-suggestions.js +6 -0
  11. package/dist/es-modules/adapters/REST/endpoints/semantic-search.js +6 -0
  12. package/dist/es-modules/adapters/REST/endpoints/vectorization-status.js +11 -0
  13. package/dist/es-modules/create-environment-api.js +183 -0
  14. package/dist/es-modules/create-organization-api.js +51 -0
  15. package/dist/es-modules/entities/index.js +10 -0
  16. package/dist/es-modules/entities/semantic-duplicates.js +6 -0
  17. package/dist/es-modules/entities/semantic-recommendations.js +6 -0
  18. package/dist/es-modules/entities/semantic-reference-suggestions.js +6 -0
  19. package/dist/es-modules/entities/semantic-search.js +6 -0
  20. package/dist/es-modules/entities/vectorization-status.js +14 -0
  21. package/dist/es-modules/plain/entities/semantic-duplicates.js +1 -0
  22. package/dist/es-modules/plain/entities/semantic-recommendations.js +1 -0
  23. package/dist/es-modules/plain/entities/semantic-reference-suggestions.js +1 -0
  24. package/dist/es-modules/plain/entities/semantic-search.js +1 -0
  25. package/dist/es-modules/plain/entities/vectorization-status.js +1 -0
  26. package/dist/es-modules/plain/plain-client.js +18 -0
  27. package/dist/typings/adapters/REST/endpoints/index.d.ts +10 -0
  28. package/dist/typings/adapters/REST/endpoints/semantic-duplicates.d.ts +2 -0
  29. package/dist/typings/adapters/REST/endpoints/semantic-recommendations.d.ts +2 -0
  30. package/dist/typings/adapters/REST/endpoints/semantic-reference-suggestions.d.ts +2 -0
  31. package/dist/typings/adapters/REST/endpoints/semantic-search.d.ts +2 -0
  32. package/dist/typings/adapters/REST/endpoints/vectorization-status.d.ts +3 -0
  33. package/dist/typings/common-types.d.ts +71 -0
  34. package/dist/typings/create-environment-api.d.ts +103 -0
  35. package/dist/typings/create-organization-api.d.ts +28 -0
  36. package/dist/typings/entities/index.d.ts +10 -0
  37. package/dist/typings/entities/resource.d.ts +2 -0
  38. package/dist/typings/entities/semantic-duplicates.d.ts +25 -0
  39. package/dist/typings/entities/semantic-recommendations.d.ts +23 -0
  40. package/dist/typings/entities/semantic-reference-suggestions.d.ts +24 -0
  41. package/dist/typings/entities/semantic-search.d.ts +23 -0
  42. package/dist/typings/entities/vectorization-status.d.ts +32 -0
  43. package/dist/typings/export-types.d.ts +5 -0
  44. package/dist/typings/plain/common-types.d.ts +12 -0
  45. package/dist/typings/plain/entities/semantic-duplicates.d.ts +14 -0
  46. package/dist/typings/plain/entities/semantic-recommendations.d.ts +14 -0
  47. package/dist/typings/plain/entities/semantic-reference-suggestions.d.ts +14 -0
  48. package/dist/typings/plain/entities/semantic-search.d.ts +14 -0
  49. package/dist/typings/plain/entities/vectorization-status.d.ts +21 -0
  50. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see contentful-management.node.min.js.LICENSE.txt */
2
- (()=>{var e={8909:(e,t,n)=>{e.exports={parallel:n(5946),serial:n(6893),serialOrdered:n(8424)}},9407:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},7797:(e,t,n)=>{var i=n(4457);e.exports=function(e){var t=!1;return i((function(){t=!0})),function(n,a){t?e(n,a):i((function(){e(n,a)}))}}},4457:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},4407:(e,t,n)=>{var i=n(7797),a=n(9407);e.exports=function(e,t,n,r){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,a){return 2==e.length?e(n,i(a)):e(n,t,i(a))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?a(n):n.results[o]=t,r(e,n.results))}))}},264:e=>{e.exports=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])}),i}},9712:(e,t,n)=>{var i=n(9407),a=n(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,i(this),a(e)(null,this.results))}},5946:(e,t,n)=>{var i=n(4407),a=n(264),r=n(9712);e.exports=function(e,t,n){for(var o=a(e);o.index<(o.keyedList||e).length;)i(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return r.bind(o,n)}},6893:(e,t,n)=>{var i=n(8424);e.exports=function(e,t,n){return i(e,t,null,n)}},8424:(e,t,n)=>{var i=n(4407),a=n(264),r=n(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,o){var s=a(e,n);return i(e,t,s,(function n(a,r){a?o(a,r):(s.index++,s.index<(s.keyedList||e).length?i(e,t,s,n):o(null,s.results))})),r.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},3836:(e,t,n)=>{"use strict";var i=n(4499),a=n(6678),r=n(376),o=n(9707);e.exports=o||i.call(r,a)},6678:e=>{"use strict";e.exports=Function.prototype.apply},376:e=>{"use strict";e.exports=Function.prototype.call},946:(e,t,n)=>{"use strict";var i=n(4499),a=n(1711),r=n(376),o=n(3836);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return o(i,r,e)}},9707:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},3232:(e,t,n)=>{"use strict";var i=n(8897),a=n(946),r=a([i("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=i(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?a([n]):n}},5645:(e,t,n)=>{var i=n(9023),a=n(2203).Stream,r=n(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,i.inherits(o,a),o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},7989:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(a=i))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1236)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{e.exports=function(e){function t(e){let n,a,r,o=null;function s(...e){if(!s.enabled)return;const i=s,a=Number(new Date),r=a-(n||a);i.diff=r,i.prev=n,i.curr=a,n=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,a)=>{if("%%"===n)return"%";o++;const r=t.formatters[a];if("function"==typeof r){const t=e[o];n=r.call(i,t),e.splice(o,1),o--}return n})),t.formatArgs.call(i,e),(i.log||t.log).apply(i,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function a(e,t){let n=0,i=0,a=-1,r=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(a=i,r=n,i++):(n++,i++);else{if(-1===a)return!1;i=a+1,r++,n=r}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(a(e,n))return!1;for(const n of t.names)if(a(e,n))return!0;return!1},t.humanize=n(6301),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},9221:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{const i=n(2018),a=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(a.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:a}=this;if(a){const t=this.color,a="[3"+(t<8?t:"8;5;"+t),r=` ${a};1m${i} `;n[0]=r+n[0].split("\n").join("\n"+r),n.push(a+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):i.isatty(process.stderr.fd)},t.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=n(1236)(t);const{formatters:r}=e.exports;r.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}},4145:(e,t,n)=>{var i=n(2203).Stream,a=n(9023);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,a.inherits(r,i),r.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},1724:(e,t,n)=>{"use strict";var i,a=n(946),r=n(1399);try{i=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!i&&r&&r(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=o&&"function"==typeof o.get?a([o.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},7539:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3841:e=>{"use strict";e.exports=EvalError},219:e=>{"use strict";e.exports=Error},6190:e=>{"use strict";e.exports=RangeError},3950:e=>{"use strict";e.exports=ReferenceError},6296:e=>{"use strict";e.exports=SyntaxError},1711:e=>{"use strict";e.exports=TypeError},3221:e=>{"use strict";e.exports=URIError},7960:e=>{"use strict";e.exports=Object},225:(e,t,n)=>{"use strict";var i=n(8897)("%Object.defineProperty%",!0),a=n(1432)(),r=n(4313),o=n(1711),s=a?Symbol.toStringTag:null;e.exports=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==a&&"boolean"!=typeof a)throw new o("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!s||!n&&r(e,s)||(i?i(e,s,{configurable:!a,enumerable:!1,value:t,writable:!1}):e[s]=t)}},1615:(e,t,n)=>{var i;e.exports=function(){if(!i){try{i=n(9221)("follow-redirects")}catch(e){}"function"!=typeof i&&(i=function(){})}i.apply(null,arguments)}},3520:(e,t,n)=>{var i,a,r,o=n(7016),s=o.URL,c=n(8611),p=n(5692),l=n(2203).Writable,u=n(2613),d=n(1615);i="undefined"!=typeof process,a="undefined"!=typeof window&&"undefined"!=typeof document,r=D(Error.captureStackTrace),i||!a&&r||console.warn("The follow-redirects package should be excluded from browser builds.");var m=!1;try{u(new s(""))}catch(e){m="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],y=["abort","aborted","connect","error","socket","timeout"],v=Object.create(null);y.forEach((function(e){v[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var b=k("ERR_INVALID_URL","Invalid URL",TypeError),h=k("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h),x=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=k("ERR_STREAM_WRITE_AFTER_END","write after end"),O=l.prototype.destroy||P;function j(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof h?e:new h({cause:e}))}},this._performRequest()}function I(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var a=i+":",r=n[a]=e[i],o=t[i]=Object.create(r);Object.defineProperties(o,{request:{value:function(e,i,r){return s&&e instanceof s?e=S(e):R(e)?e=S(T(e)):(r=i,i=A(e),e={protocol:a}),D(i)&&(r=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,R(i.host)||R(i.hostname)||(i.hostname="::1"),u.equal(i.protocol,a,"protocol mismatch"),d("options",i),new j(i,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function P(){}function T(e){var t;if(m)t=new s(e);else if(!R((t=A(o.parse(e))).protocol))throw new b({input:e});return t}function A(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new b({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new b({input:e.href||e});return e}function S(e,t){var n=t||{};for(var i of f)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function E(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function k(e,t,n){function i(n){D(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function C(e,t){for(var n of y)e.removeListener(n,v[n]);e.on("error",P),e.destroy(t)}function R(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}j.prototype=Object.create(l.prototype),j.prototype.abort=function(){C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},j.prototype.destroy=function(e){return C(this._currentRequest,e),O.call(this,e),this},j.prototype.write=function(e,t,n){if(this._ending)throw new w;if(!(R(e)||"object"==typeof(i=e)&&"length"in i))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;D(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new x),this.abort()):n&&n()},j.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var i=this,a=this._currentRequest;this.write(e,t,(function(){i._ended=!0,a.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},j.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},j.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},j.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){j.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(j.prototype,e,{get:function(){return this._currentRequest[e]}})})),j.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},j.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(i._redirectable=this,y))i.on(a,v[a]);if(this._currentUrl=/^\//.test(this._options.path)?o.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(r<c.length){var n=c[r++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},j.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(C(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var c,p,l=E(/^host$/i,this._options.headers),f=T(this._currentUrl),y=l||f.host,v=/^\w+:/.test(i)?this._currentUrl:o.format(Object.assign(f,{host:y})),b=(c=i,p=v,m?new s(c,p):T(o.resolve(p,c)));if(d("redirecting to",b.href),this._isRedirect=!0,S(b,this._options),(b.protocol!==f.protocol&&"https:"!==b.protocol||b.host!==y&&!function(e,t){u(R(e)&&R(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(b.host,y))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),D(a)){var h={headers:e.headers,statusCode:t},x={url:v,method:r,headers:n};a(this._options,h,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=I({http:c,https:p}),e.exports.wrap=I},2925:(e,t,n)=>{"use strict";var i=n(5645),a=n(9023),r=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(6982),d=n(9613),m=n(8909),f=n(225),y=n(4313),v=n(6686);function b(e){if(!(this instanceof b))return new b(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],i.call(this),e=e||{})this[t]=e[t]}a.inherits(b,i),b.LINE_BREAK="\r\n",b.DEFAULT_CONTENT_TYPE="application/octet-stream",b.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var a=i.prototype.append.bind(this);if("number"!=typeof t&&null!=t||(t=String(t)),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,n),o=this._multiPartFooter();a(r),a(t),a(o),this._trackLength(r,t,n)}},b.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=Number(n.knownLength):Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+b.LINE_BREAK.length,t&&(t.path||t.readable&&y(t,"httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},b.prototype._lengthRetriever=function(e,t){y(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):p.stat(e.path,(function(n,i){if(n)t(n);else{var a=i.size-(e.start?e.start:0);t(null,a)}})):y(e,"httpVersion")?t(null,Number(e.headers["content-length"])):y(e,"httpModule")?(e.on("response",(function(n){e.pause(),t(null,Number(n.headers["content-length"]))})),e.resume()):t("Unknown stream")},b.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,a=this._getContentDisposition(t,n),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&v(s,n.header),s)if(y(s,c)){if(null==(i=s[c]))continue;Array.isArray(i)||(i=[i]),i.length&&(o+=c+": "+i.join("; ")+b.LINE_BREAK)}return"--"+this.getBoundary()+b.LINE_BREAK+o+b.LINE_BREAK},b.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=r.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&y(e,"httpVersion")&&(n=r.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},b.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=d.lookup(e.name)),!n&&e&&e.path&&(n=d.lookup(e.path)),!n&&e&&e.readable&&y(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=d.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=b.DEFAULT_CONTENT_TYPE),n},b.prototype._multiPartFooter=function(){return function(e){var t=b.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},b.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+b.LINE_BREAK},b.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)y(e,t)&&(n[t.toLowerCase()]=e[t]);return n},b.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},b.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},b.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(b.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},b.prototype._generateBoundary=function(){this._boundary="--------------------------"+u.randomBytes(12).toString("hex")},b.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},b.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},b.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?m.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},b.prototype.submit=function(e,t){var n,i,a={method:"post"};return"string"==typeof e?(e=c(e),i=v({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(i=v(e,a)).port||(i.port="https:"===i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"===i.protocol?s.request(i):o.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var a,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",a),t.call(this,e,i)};a=r.bind(this,null),n.on("error",r),n.on("response",a)}}.bind(this)),n},b.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},b.prototype.toString=function(){return"[object FormData]"},f(b,"FormData"),e.exports=b},6686:e=>{"use strict";e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5845:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,i=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n};e.exports=function(e){var a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var r,o=function(e){for(var t=[],n=1,i=0;n<e.length;n+=1,i+=1)t[i]=e[n];return t}(arguments),s=n(0,a.length-o.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var t=a.apply(this,i(o,arguments));return Object(t)===t?t:this}return a.apply(e,i(o,arguments))})),a.prototype){var l=function(){};l.prototype=a.prototype,r.prototype=new l,l.prototype=null}return r}},4499:(e,t,n)=>{"use strict";var i=n(5845);e.exports=Function.prototype.bind||i},8897:(e,t,n)=>{"use strict";var i,a=n(7960),r=n(219),o=n(3841),s=n(6190),c=n(3950),p=n(6296),l=n(1711),u=n(3221),d=n(4822),m=n(3700),f=n(3888),y=n(4670),v=n(9988),b=n(5786),h=n(3897),g=Function,x=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(1399),O=n(7539),j=function(){throw new l},I=w?function(){try{return j}catch(e){try{return w(arguments,"callee").get}catch(e){return j}}}():j,P=n(4923)(),T=n(6152),A=n(9548),S=n(1588),E=n(6678),k=n(376),C={},R="undefined"!=typeof Uint8Array&&T?T(Uint8Array):i,D={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":P&&T?T([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&T?T(T([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P&&T?T((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P&&T?T((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&T?T(""[Symbol.iterator]()):i,"%Symbol%":P?Symbol:i,"%SyntaxError%":p,"%ThrowTypeError%":I,"%TypedArray%":R,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":E,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":A,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":b,"%Math.sign%":h,"%Reflect.getPrototypeOf%":S};if(T)try{null.error}catch(e){var _=T(T(e));D["%Error.prototype%"]=_}var $=function e(t){var n;if("%AsyncFunction%"===t)n=x("async function () {}");else if("%GeneratorFunction%"===t)n=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=x("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&T&&(n=T(a.prototype))}return D[t]=n,n},z={__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"]},M=n(4499),F=n(4313),q=M.call(k,Array.prototype.concat),U=M.call(E,Array.prototype.splice),L=M.call(k,String.prototype.replace),B=M.call(k,String.prototype.slice),N=M.call(k,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,K=function(e,t){var n,i=e;if(F(z,i)&&(i="%"+(n=z[i])[0]+"%"),F(D,i)){var a=D[i];if(a===C&&(a=$(i)),void 0===a&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a}}throw new p("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var i=[];return L(e,W,(function(e,t,n,a){i[i.length]=n?L(a,V,"$1"):t||e})),i}(e),i=n.length>0?n[0]:"",a=K("%"+i+"%",t),r=a.name,o=a.value,s=!1,c=a.alias;c&&(i=c[0],U(n,q([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var m=n[u],f=B(m,0,1),y=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new p("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),F(D,r="%"+(i+="."+m)+"%"))o=D[r];else if(null!=o){if(!(m in o)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=n.length){var v=w(o,m);o=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:o[m]}else d=F(o,m),o=o[m];d&&!s&&(D[r]=o)}}return o}},9548:(e,t,n)=>{"use strict";var i=n(7960);e.exports=i.getPrototypeOf||null},1588:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},6152:(e,t,n)=>{"use strict";var i=n(1588),a=n(9548),r=n(1724);e.exports=i?function(e){return i(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:r?function(e){return r(e)}:null},6433:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},1399:(e,t,n)=>{"use strict";var i=n(6433);if(i)try{i([],"length")}catch(e){i=null}e.exports=i},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),a=t.indexOf("--");return-1!==i&&(-1===a||i<a)}},4923:(e,t,n)=>{"use strict";var i="undefined"!=typeof Symbol&&Symbol,a=n(4361);e.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&a()}},4361:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=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(n))return!1;for(var i 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 a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},1432:(e,t,n)=>{"use strict";var i=n(4361);e.exports=function(){return i()&&!!Symbol.toStringTag}},4313:(e,t,n)=>{"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty,r=n(4499);e.exports=r.call(i,a)},7148:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3347:(e,t,n)=>{var i=n(1019)(Object.getPrototypeOf,Object);e.exports=i},1019:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},6397:e=>{var t=Array.isArray;e.exports=t},2934:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4679:(e,t,n)=>{var i=n(7148),a=n(3347),r=n(2934),o=Function.prototype,s=Object.prototype,c=o.toString,p=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=i(e))return!1;var t=a(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},7571:(e,t,n)=>{var i=n(7148),a=n(6397),r=n(2934);e.exports=function(e){return"string"==typeof e||!a(e)&&r(e)&&"[object String]"==i(e)}},4822:e=>{"use strict";e.exports=Math.abs},3700:e=>{"use strict";e.exports=Math.floor},3943:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},3888:e=>{"use strict";e.exports=Math.max},4670:e=>{"use strict";e.exports=Math.min},9988:e=>{"use strict";e.exports=Math.pow},5786:e=>{"use strict";e.exports=Math.round},3897:(e,t,n)=>{"use strict";var i=n(3943);e.exports=function(e){return i(e)||0===e?e:e<0?-1:1}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var i,a,r,o=n(9370),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var i=t.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),i=n&&t.extensions[n[1].toLowerCase()];return!(!i||!i.length)&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),i=t.extensions,a=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){i[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(a[c]){var p=r.indexOf(o[a[c]].source),l=r.indexOf(t.source);if("application/octet-stream"!==a[c]&&(p>l||p===l&&"application/"===a[c].substr(0,12)))continue}a[c]=e}}}))},6301:e=>{var t=1e3,n=60*t,i=60*n,a=24*i,r=7*a;function o(e,t,n,i){var a=t>=1.5*n;return Math.round(e/n)+" "+i+(a?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=a?o(c,p,a,"day"):p>=i?o(c,p,i,"hour"):p>=n?o(c,p,n,"minute"):p>=t?o(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=a?Math.round(e/a)+"d":r>=i?Math.round(e/i)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8527:(e,t,n)=>{var i="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=i&&a&&"function"==typeof a.get?a.get:null,o=i&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,h=String.prototype.slice,g=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,j=Array.prototype.concat,I=Array.prototype.join,P=Array.prototype.slice,T=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function _(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var i=e<0?-T(-e):T(e);if(i!==e){var a=String(i),r=h.call(t,a.length+1);return g.call(a,n,"$&_")+"."+g.call(g.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var $=n(6761),z=$.custom,M=W(z)?z:null,F={__proto__:null,double:'"',single:"'"},q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function U(e,t,n){var i=n.quoteStyle||t,a=F[i];return a+e+a}function L(e){return g.call(String(e),/"/g,"&quot;")}function B(e){return!("[object Array]"!==H(e)||C&&"object"==typeof e&&C in e)}function N(e){return!("[object RegExp]"!==H(e)||C&&"object"==typeof e&&C in e)}function W(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,a){var s=n||{};if(K(s,"quoteStyle")&&!K(F,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!K(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.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 G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return y?_(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return y?_(t,O):O}var T=void 0===s.depth?5:s.depth;if(void 0===i&&(i=0),i>=T&&T>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var S,z=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=I.call(Array(e.indent+1)," ")}return{base:n,prev:I.call(Array(t+1),n)}}(s,i);if(void 0===a)a=[];else if(X(a,t)>=0)return"[Circular]";function q(t,n,r){if(n&&(a=P.call(a)).push(n),r){var o={depth:s.depth};return K(s,"quoteStyle")&&(o.quoteStyle=s.quoteStyle),e(t,o,i+1,a)}return e(t,s,i+1,a)}if("function"==typeof t&&!N(t)){var V=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=te(t,q);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(J.length>0?" { "+I.call(J,", ")+" }":"")}if(W(t)){var ne=k?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?ne:Q(ne)}if((S=t)&&"object"==typeof S&&("undefined"!=typeof HTMLElement&&S instanceof HTMLElement||"string"==typeof S.nodeName&&"function"==typeof S.getAttribute)){for(var ie="<"+w.call(String(t.nodeName)),ae=t.attributes||[],re=0;re<ae.length;re++)ie+=" "+ae[re].name+"="+U(L(ae[re].value),"double",s);return ie+=">",t.childNodes&&t.childNodes.length&&(ie+="..."),ie+"</"+w.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var oe=te(t,q);return z&&!function(e){for(var t=0;t<e.length;t++)if(X(e[t],"\n")>=0)return!1;return!0}(oe)?"["+ee(oe,z)+"]":"[ "+I.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)){var se=te(t,q);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(se,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"==typeof t&&c){if(M&&"function"==typeof t[M]&&$)return $(t,{depth:T-i});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return o&&o.call(t,(function(e,n){ce.push(q(n,t,!0)+" => "+q(e,t))})),Z("Map",r.call(t),ce,z)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return l&&l.call(t,(function(e){pe.push(q(e,t))})),Z("Set",p.call(t),pe,z)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Q(q(A.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(f.call(t));if(function(e){return!("[object String]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(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]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)&&!N(t)){var le=te(t,q),ue=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",me=!ue&&C&&Object(t)===t&&C in t?h.call(H(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||de?"["+I.call(j.call([],me||[],de||[]),": ")+"] ":"");return 0===le.length?fe+"{}":z?fe+"{"+ee(le,z)+"}":fe+"{ "+I.call(le,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return V.call(e,t)}function H(e){return y.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function G(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return G(h.call(e,0,t.maxStringLength),t)+i}var a=q[t.quoteStyle||"single"];return a.lastIndex=0,U(g.call(g.call(e,a,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,i){return e+" ("+t+") {"+(i?ee(n,i):I.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=B(e),i=[];if(n){i.length=e.length;for(var a=0;a<e.length;a++)i[a]=K(e,a)?t(e[a],e):""}var r,o="function"==typeof S?S(e):[];if(k){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var c in e)K(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&r["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?i.push(t(c,e)+": "+t(e[c],e)):i.push(c+": "+t(e[c],e))));if("function"==typeof S)for(var p=0;p<o.length;p++)R.call(e,o[p])&&i.push("["+t(o[p])+"]: "+t(e[o[p]],e));return i}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1420:(e,t,n)=>{"use strict";var i=n(7016).parse,a={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?i(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),a=i?i[1]:n,o=i?parseInt(i[2]):0;return!(!o||o===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!r.call(e,a)):e!==a)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||a[n]||0))return"";var p=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},769:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:i}},8985:(e,t,n)=>{"use strict";var i=n(1088),a=n(2286),r=n(769);e.exports={formats:r,parse:a,stringify:i}},2286:(e,t,n)=>{"use strict";var i=n(5364),a=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:i.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},p=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,p=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=p?o.slice(0,p.index):o,u=[];if(l){if(!n.plainObjects&&a.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(p=s.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,p[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(p[1])}if(p){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+o.slice(p.index)+"]")}return function(e,t,n,a){var r=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");r=Array.isArray(t)&&t[o]?t[o].length:0}for(var s=a?t:c(t,n,r),p=e.length-1;p>=0;--p){var l,u=e[p];if("[]"===u&&n.parseArrays)l=n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:i.combine([],s);else{l=n.plainObjects?{__proto__:null}:{};var d="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,m=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,f=parseInt(m,10);n.parseArrays||""!==m?!isNaN(f)&&u!==m&&String(f)===m&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[])[f]=s:"__proto__"!==m&&(l[m]=s):l={0:s}}s=l}return s}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?o.charset:e.charset,n=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var l="string"==typeof e?function(e,t){var n={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=p.split(t.delimiter,t.throwOnLimitExceeded?l+1:l);if(t.throwOnLimitExceeded&&u.length>l)throw new RangeError("Parameter limit exceeded. Only "+l+" parameter"+(1===l?"":"s")+" allowed.");var d,m=-1,f=t.charset;if(t.charsetSentinel)for(d=0;d<u.length;++d)0===u[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[d]?f="utf-8":"utf8=%26%2310003%3B"===u[d]&&(f="iso-8859-1"),m=d,d=u.length);for(d=0;d<u.length;++d)if(d!==m){var y,v,b=u[d],h=b.indexOf("]="),g=-1===h?b.indexOf("="):h+1;-1===g?(y=t.decoder(b,o.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,g),o.decoder,f,"key"),v=i.maybeMap(c(b.slice(g+1),t,r(n[y])?n[y].length:0),(function(e){return t.decoder(e,o.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(String(v))),b.indexOf("[]=")>-1&&(v=r(v)?[v]:v);var x=a.call(n,y);x&&"combine"===t.duplicates?n[y]=i.combine(n[y],v):x&&"last"!==t.duplicates||(n[y]=v)}return n}(e,n):e,u=n.plainObjects?{__proto__:null}:{},d=Object.keys(l),m=0;m<d.length;++m){var f=d[m],y=p(f,l[f],n,"string"==typeof e);u=i.merge(u,y,n)}return!0===n.allowSparse?u:i.compact(u)}},1088:(e,t,n)=>{"use strict";var i=n(588),a=n(5364),r=n(769),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,p=Array.prototype.push,l=function(e,t){p.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=r.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,r,o,s,p,u,d,y,v,b,h,g,x,w,O,j,I){for(var P,T=t,A=I,S=0,E=!1;void 0!==(A=A.get(f))&&!E;){var k=A.get(t);if(S+=1,void 0!==k){if(k===S)throw new RangeError("Cyclic object value");E=!0}void 0===A.get(f)&&(S=0)}if("function"==typeof v?T=v(n,T):T instanceof Date?T=g(T):"comma"===r&&c(T)&&(T=a.maybeMap(T,(function(e){return e instanceof Date?g(e):e}))),null===T){if(p)return y&&!O?y(n,m.encoder,j,"key",x):n;T=""}if("string"==typeof(P=T)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||a.isBuffer(T))return y?[w(O?n:y(n,m.encoder,j,"key",x))+"="+w(y(T,m.encoder,j,"value",x))]:[w(n)+"="+w(String(T))];var C,R=[];if(void 0===T)return R;if("comma"===r&&c(T))O&&y&&(T=a.maybeMap(T,y)),C=[{value:T.length>0?T.join(",")||null:void 0}];else if(c(v))C=v;else{var D=Object.keys(T);C=b?D.sort(b):D}var _=d?String(n).replace(/\./g,"%2E"):String(n),$=o&&c(T)&&1===T.length?_+"[]":_;if(s&&c(T)&&0===T.length)return $+"[]";for(var z=0;z<C.length;++z){var M=C[z],F="object"==typeof M&&M&&void 0!==M.value?M.value:T[M];if(!u||null!==F){var q=h&&d?String(M).replace(/\./g,"%2E"):String(M),U=c(T)?"function"==typeof r?r($,q):$:$+(h?"."+q:"["+q+"]");I.set(t,S);var L=i();L.set(f,I),l(R,e(F,U,r,o,s,p,u,d,"comma"===r&&O&&c(T)?null:y,v,b,h,g,x,w,O,j,L))}}return R};e.exports=function(e,t){var n,a=e,p=function(e){if(!e)return m;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.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 n=r.default;if(void 0!==e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i,a=r.formatters[n],p=m.filter;if(("function"==typeof e.filter||c(e.filter))&&(p=e.filter),i=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:p,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof p.filter?a=(0,p.filter)("",a):c(p.filter)&&(n=p.filter);var u=[];if("object"!=typeof a||null===a)return"";var d=s[p.arrayFormat],f="comma"===d&&p.commaRoundTrip;n||(n=Object.keys(a)),p.sort&&n.sort(p.sort);for(var v=i(),b=0;b<n.length;++b){var h=n[b],g=a[h];p.skipNulls&&null===g||l(u,y(g,h,d,f,p.allowEmptyArrays,p.strictNullHandling,p.skipNulls,p.encodeDotInKeys,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,v))}var x=u.join(p.delimiter),w=!0===p.addQueryPrefix?"?":"";return p.charsetSentinel&&("iso-8859-1"===p.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),x.length>0?w+x:""}},5364:(e,t,n)=>{"use strict";var i=n(769),a=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)void 0!==e[i]&&(n[i]=e[i]);return n},c=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var a=t[i],o=a.obj[a.prop],s=Object.keys(o),c=0;c<s.length;++c){var p=s[c],l=o[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:o,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var i=[],a=0;a<n.length;++a)void 0!==n[a]&&i.push(n[a]);t.obj[t.prop]=i}}}(t),e},decode:function(e,t,n){var i=e.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,n,a,r){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var p="",l=0;l<s.length;l+=c){for(var u=s.length>=c?s.slice(l,l+c):s,d=[],m=0;m<u.length;++m){var f=u.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||r===i.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(m):f<128?d[d.length]=o[f]:f<2048?d[d.length]=o[192|f>>6]+o[128|63&f]:f<55296||f>=57344?d[d.length]=o[224|f>>12]+o[128|f>>6&63]+o[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(m)),d[d.length]=o[240|f>>18]+o[128|f>>12&63]+o[128|f>>6&63]+o[128|63&f])}p+=d.join("")}return p},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(r(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(t(e[i]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(r(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return r(t)&&!r(n)&&(o=s(t,i)),r(t)&&r(n)?(n.forEach((function(n,r){if(a.call(t,r)){var o=t[r];o&&"object"==typeof o&&n&&"object"==typeof n?t[r]=e(o,n,i):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var o=n[r];return a.call(t,r)?t[r]=e(t[r],o,i):t[r]=o,t}),o)}}},3575:(e,t,n)=>{"use strict";var i=n(8527),a=n(1711),r=function(e,t,n){for(var i,a=e;null!=(i=a.next);a=i)if(i.key===t)return a.next=i.next,n||(i.next=e.next,e.next=i),i};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){var n=e&&e.next,i=function(e,t){if(e)return r(e,t,!0)}(e,t);return i&&n&&n===i&&(e=void 0),!!i},get:function(t){return function(e,t){if(e){var n=r(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!r(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var i=r(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},9167:(e,t,n)=>{"use strict";var i=n(8897),a=n(3232),r=n(8527),o=n(1711),s=i("%Map%",!0),c=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),l=a("Map.prototype.has",!0),u=a("Map.prototype.delete",!0),d=a("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){if(e){var n=u(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&l(e,t)},set:function(t,n){e||(e=new s),p(e,t,n)}};return t}},9075:(e,t,n)=>{"use strict";var i=n(8897),a=n(3232),r=n(8527),o=n(9167),s=n(1711),c=i("%WeakMap%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),u=a("WeakMap.prototype.has",!0),d=a("WeakMap.prototype.delete",!0);e.exports=c?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+r(e))},delete:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(o&&t)return t.delete(n);return!1},get:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?p(e,n):t&&t.get(n)},has:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):!!t&&t.has(n)},set:function(n,i){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),l(e,n,i)):o&&(t||(t=o()),t.set(n,i))}};return n}:o},588:(e,t,n)=>{"use strict";var i=n(1711),a=n(8527),r=n(3575),o=n(9167),s=n(9075)||o||r;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},459:(e,t,n)=>{"use strict";const i=n(857),a=n(2018),r=n(5704),{env:o}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===s)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===o.TERM)return n;if("win32"===process.platform){const e=i.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:n}r("no-color")||r("no-colors")||r("color=false")||r("color=never")?s=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(s=1),"FORCE_COLOR"in o&&(s="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(p(e,e&&e.isTTY))},stdout:c(p(!0,a.isatty(1))),stderr:c(p(!0,a.isatty(2)))}},2613:e=>{"use strict";e.exports=require("assert")},6982:e=>{"use strict";e.exports=require("crypto")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{RestAdapter:()=>uv,ScheduledActionReferenceFilters:()=>Mb,ScheduledActionStatus:()=>qh,WorkflowStepPermissionAction:()=>wg,WorkflowStepPermissionEffect:()=>Og,WorkflowStepPermissionType:()=>xg,asIterator:()=>wx,createClient:()=>Ex,editorInterfaceDefaults:()=>Pt,fetchAll:()=>Px,isDraft:()=>Vv,isPublished:()=>Nv,isUpdated:()=>Wv,makeRequest:()=>ov});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Fi,hasStandardBrowserEnv:()=>Ui,hasStandardBrowserWebWorkerEnv:()=>Li,navigator:()=>qi,origin:()=>Bi});var t={};n.r(t),n.d(t,{create:()=>Vr,del:()=>Hr,get:()=>Nr,getMany:()=>Wr,invoke:()=>Jr,publish:()=>Xr,unpublish:()=>Gr,update:()=>Kr});var a={};n.r(a),n.d(a,{get:()=>Qr});var r={};n.r(r),n.d(r,{createPersonalAccessToken:()=>eo,get:()=>Yr,getMany:()=>Zr,getManyForOrganization:()=>no,revoke:()=>to});var o={};n.r(o),n.d(o,{create:()=>co,createWithId:()=>po,del:()=>uo,get:()=>oo,getMany:()=>so,update:()=>lo});var s={};n.r(s),n.d(s,{create:()=>mo});var c={};n.r(c),n.d(c,{create:()=>To,del:()=>Po,get:()=>Oo,getMany:()=>jo,getManyForEnvironment:()=>Io,update:()=>Ao});var p={};n.r(p),n.d(p,{create:()=>Wo,createWithResponse:()=>Ko,createWithResult:()=>Go,get:()=>Ho,getCallDetails:()=>Vo,getResponse:()=>Xo});var l={};n.r(l),n.d(l,{create:()=>ts,del:()=>es,get:()=>Yo,getMany:()=>Zo});var u={};n.r(u),n.d(u,{create:()=>ps,del:()=>us,get:()=>ss,getAppDefinitionUrl:()=>os,getInstallationsForOrg:()=>ds,getMany:()=>cs,update:()=>ls});var d={};n.r(d),n.d(d,{del:()=>ys,get:()=>ms,upsert:()=>fs});var m={};n.r(m),n.d(m,{del:()=>hs,get:()=>vs,upsert:()=>bs});var f={};n.r(f),n.d(f,{del:()=>As,get:()=>Is,getAppInstallationUrl:()=>js,getForOrganization:()=>Ss,getMany:()=>Ps,upsert:()=>Ts});var y={};n.r(y),n.d(y,{create:()=>Cs,del:()=>Rs,get:()=>Es,getMany:()=>ks});var v={};n.r(v),n.d(v,{create:()=>Ds});var b={};n.r(b),n.d(b,{del:()=>zs,get:()=>_s,upsert:()=>$s});var h={};n.r(h),n.d(h,{create:()=>Bs,del:()=>Ls,get:()=>Us});var g={};n.r(g),n.d(g,{create:()=>Vs,del:()=>Ks,get:()=>Hs});var x={};n.r(x),n.d(x,{create:()=>ic,createFromFiles:()=>rc,createWithId:()=>ac,get:()=>ec,getMany:()=>tc,processForAllLocales:()=>cc,processForLocale:()=>sc,update:()=>nc});var w={};n.r(w),n.d(w,{archive:()=>Oc,create:()=>Ic,createFromFiles:()=>Tc,createWithId:()=>Pc,del:()=>gc,get:()=>yc,getMany:()=>bc,getPublished:()=>vc,processForAllLocales:()=>Ec,processForLocale:()=>Sc,publish:()=>xc,unarchive:()=>jc,unpublish:()=>wc,update:()=>hc});var O={};n.r(O),n.d(O,{ValidationError:()=>kc,create:()=>Cc});var j={};n.r(j),n.d(j,{get:()=>Rc,getV2:()=>zc,publish:()=>Dc,publishV2:()=>Mc,unpublish:()=>_c,unpublishV2:()=>Fc,validate:()=>$c,validateV2:()=>qc});var I={};n.r(I),n.d(I,{create:()=>Yc,del:()=>ep,get:()=>Jc,getAll:()=>tp,getMany:()=>Qc,update:()=>Zc});var P={};n.r(P),n.d(P,{create:()=>op,createWithId:()=>sp,del:()=>dp,get:()=>up,getAncestors:()=>yp,getDescendants:()=>fp,getMany:()=>mp,getTotal:()=>vp,patch:()=>cp,update:()=>pp,updatePut:()=>lp});var T={};n.r(T),n.d(T,{create:()=>Tp,createWithId:()=>Ap,del:()=>jp,get:()=>Op,getMany:()=>Ip,getTotal:()=>Pp,patch:()=>Sp,update:()=>Ep,updatePut:()=>kp});var A={};n.r(A),n.d(A,{create:()=>Fp,createWithId:()=>qp,del:()=>Lp,get:()=>zp,getMany:()=>Mp,publish:()=>Bp,unpublish:()=>Np,update:()=>Up});var S={};n.r(S),n.d(S,{get:()=>Xp,getMany:()=>Gp,update:()=>Jp});var E={};n.r(E),n.d(E,{create:()=>al,createWithId:()=>rl,get:()=>el,getMany:()=>tl,patch:()=>il,update:()=>nl});var k={};n.r(k),n.d(k,{archive:()=>bl,create:()=>gl,createWithId:()=>xl,del:()=>fl,get:()=>pl,getMany:()=>ul,getPublished:()=>ll,patch:()=>dl,publish:()=>yl,references:()=>wl,unarchive:()=>hl,unpublish:()=>vl,update:()=>ml});var C={};n.r(C),n.d(C,{create:()=>El,createWithId:()=>kl,del:()=>Sl,get:()=>Pl,getMany:()=>Tl,update:()=>Al});var R={};n.r(R),n.d(R,{createWithId:()=>Fl,del:()=>Ul,get:()=>zl,getMany:()=>Ml,update:()=>ql});var D={};n.r(D),n.d(D,{create:()=>Hl,del:()=>Jl,disconnect:()=>eu,get:()=>Vl,getMany:()=>Kl,install:()=>Zl,update:()=>Xl,validate:()=>Yl,versionUpdate:()=>Gl,versions:()=>Ql});var _={};n.r(_),n.d(_,{getForEnvironment:()=>cu,getMany:()=>su});var $={};n.r($),n.d($,{create:()=>vu,createWithId:()=>bu,del:()=>gu,get:()=>fu,getExtensionUrl:()=>mu,getMany:()=>yu,update:()=>hu});var z={};n.r(z),n.d(z,{get:()=>wu,getMany:()=>Ou,getManyForEnvironment:()=>ju});var M={};n.r(M),n.d(M,{get:()=>Su,getMany:()=>Eu});var F={};n.r(F),n.d(F,{del:()=>_u,get:()=>ku,patch:()=>Du,post:()=>Cu,put:()=>Ru,request:()=>$u});var q={};n.r(q),n.d(q,{create:()=>Lu,del:()=>Nu,get:()=>qu,getMany:()=>Uu,update:()=>Bu});var U={};n.r(U),n.d(U,{get:()=>Vu,getMany:()=>Wu});var L={};n.r(L),n.d(L,{create:()=>Qu,get:()=>Yu});var B={};n.r(B),n.d(B,{del:()=>sd,get:()=>ad,getMany:()=>rd,update:()=>od});var N={};n.r(N),n.d(N,{create:()=>ld,del:()=>dd,get:()=>cd,getManyForUser:()=>pd,update:()=>ud});var W={};n.r(W),n.d(W,{create:()=>yd,get:()=>md,getMany:()=>fd,revoke:()=>vd});var V={};n.r(V),n.d(V,{get:()=>bd,getMany:()=>hd});var K={};n.r(K),n.d(K,{archive:()=>kd,create:()=>Id,del:()=>Td,get:()=>Od,publish:()=>Ad,query:()=>jd,unarchive:()=>Cd,unpublish:()=>Sd,update:()=>Pd,validate:()=>Ed});var H={};n.r(H),n.d(H,{get:()=>$d,getMany:()=>zd,queryForRelease:()=>Md});var X={};n.r(X),n.d(X,{getMany:()=>Fd});var G={};n.r(G),n.d(G,{del:()=>Bd,get:()=>Ud,upsert:()=>Ld});var J={};n.r(J),n.d(J,{del:()=>Hd,get:()=>Vd,getForEnvironment:()=>Gd,getMany:()=>Xd,upsert:()=>Kd});var Q={};n.r(Q),n.d(Q,{create:()=>nm,createWithId:()=>im,del:()=>rm,get:()=>Zd,getMany:()=>em,getManyForOrganization:()=>tm,update:()=>am});var Y={};n.r(Y),n.d(Y,{create:()=>cm,del:()=>pm,get:()=>om,getMany:()=>sm,update:()=>lm});var Z={};n.r(Z),n.d(Z,{getForContentType:()=>vm,getForEntry:()=>mm,getManyForContentType:()=>ym,getManyForEntry:()=>dm});var ee={};n.r(ee),n.d(ee,{create:()=>jm,del:()=>Pm,get:()=>xm,getMany:()=>wm,getManyForOrganization:()=>Om,update:()=>Im});var te={};n.r(te),n.d(te,{get:()=>Tm,getMany:()=>Am});var ne={};n.r(ne),n.d(ne,{create:()=>Fm,createWithId:()=>qm,del:()=>Lm,get:()=>_m,getForOrganization:()=>zm,getMany:()=>$m,getManyForOrganization:()=>Mm,update:()=>Um});var ie={};n.r(ie),n.d(ie,{createWithId:()=>Jm,del:()=>Ym,get:()=>Xm,getMany:()=>Gm,update:()=>Qm});var ae={};n.r(ae),n.d(ae,{create:()=>pf,del:()=>uf,get:()=>of,getAll:()=>cf,getMany:()=>sf,update:()=>lf});var re={};n.r(re),n.d(re,{create:()=>xf,del:()=>Of,get:()=>bf,getMany:()=>hf,getManyForSpace:()=>gf,update:()=>wf});var oe={};n.r(oe),n.d(oe,{create:()=>Cf,del:()=>Df,get:()=>Sf,getManyForOrganization:()=>Ef,getManyForTeam:()=>kf,update:()=>Rf});var se={};n.r(se),n.d(se,{create:()=>Nf,del:()=>Vf,get:()=>qf,getForOrganization:()=>Lf,getMany:()=>Uf,getManyForOrganization:()=>Bf,update:()=>Wf});var ce={};n.r(ce),n.d(ce,{get:()=>Hf,update:()=>Xf});var pe={};n.r(pe),n.d(pe,{create:()=>Gf});var le={};n.r(le),n.d(le,{getManyForOrganization:()=>Qf,getManyForSpace:()=>Jf});var ue={};n.r(ue),n.d(ue,{getCurrent:()=>Zf,getForOrganization:()=>ty,getForSpace:()=>Yf,getManyForOrganization:()=>ny,getManyForSpace:()=>ey});var de={};n.r(de),n.d(de,{get:()=>ay,update:()=>ry});var me={};n.r(me),n.d(me,{create:()=>Oy,createWithId:()=>jy,del:()=>Ay,deleteRetryPolicy:()=>Ey,deleteSigningSecret:()=>Sy,get:()=>yy,getCallDetails:()=>by,getHealthStatus:()=>hy,getMany:()=>gy,getManyCallDetails:()=>vy,getRetryPolicy:()=>wy,getSigningSecret:()=>xy,update:()=>Iy,upsertRetryPolicy:()=>Ty,upsertSigningSecret:()=>Py});var fe={};n.r(fe),n.d(fe,{complete:()=>Ny,create:()=>Uy,del:()=>By,get:()=>qy,getMany:()=>Fy,update:()=>Ly});var ye={};n.r(ye),n.d(ye,{create:()=>Yy,del:()=>ev,get:()=>Jy,getMany:()=>Qy,update:()=>Zy});var ve={};n.r(ve),n.d(ve,{getMany:()=>tv});var be={};n.r(be),n.d(be,{AiActionOutputFormat:()=>mv,wrapAiActionInvocation:()=>fv,wrapAiActionInvocationCollection:()=>yv});var he={};n.r(he),n.d(he,{wrapAiAction:()=>vv,wrapAiActionCollection:()=>bv});var ge={};n.r(ge),n.d(ge,{wrapApiKey:()=>hv,wrapApiKeyCollection:()=>gv});var xe={};n.r(xe),n.d(xe,{wrapAppAction:()=>xv,wrapAppActionCollection:()=>wv});var we={};n.r(we),n.d(we,{default:()=>Pv,wrapAppActionCall:()=>Tv,wrapAppActionCallResponse:()=>Av});var Oe={};n.r(Oe),n.d(Oe,{wrapAppBundle:()=>Sv,wrapAppBundleCollection:()=>Ev});var je={};n.r(je),n.d(je,{wrapAppDefinition:()=>kv,wrapAppDefinitionCollection:()=>Cv});var Ie={};n.r(Ie),n.d(Ie,{wrapAppDetails:()=>Rv});var Pe={};n.r(Pe),n.d(Pe,{wrapAppInstallation:()=>Dv,wrapAppInstallationCollection:()=>_v});var Te={};n.r(Te),n.d(Te,{wrapAppSignedRequest:()=>$v});var Ae={};n.r(Ae),n.d(Ae,{wrapAppSigningSecret:()=>zv});var Se={};n.r(Se),n.d(Se,{wrapAppEventSubscription:()=>Mv});var Ee={};n.r(Ee),n.d(Ee,{wrapAppKey:()=>Fv,wrapAppKeyCollection:()=>qv});var ke={};n.r(ke),n.d(ke,{wrapAppAccessToken:()=>Uv});var Ce={};n.r(Ce),n.d(Ce,{wrapAppUpload:()=>Lv,wrapAppUploadCollection:()=>Bv});var Re={};n.r(Re),n.d(Re,{wrapAsset:()=>Jv,wrapAssetCollection:()=>Qv,wrapAssetTypeCursorPaginatedCollection:()=>Yv});var De={};n.r(De),n.d(De,{wrapAssetKey:()=>Zv});var _e={};n.r(_e),n.d(_e,{BulkActionStatus:()=>sb,wrapBulkAction:()=>cb});var $e={};n.r($e),n.d($e,{CommentNode:()=>db,default:()=>mb,wrapComment:()=>fb,wrapCommentCollection:()=>yb});var ze={};n.r(ze),n.d(ze,{wrapEditorInterface:()=>vb,wrapEditorInterfaceCollection:()=>bb});var Me={};n.r(Me),n.d(Me,{wrapSnapshot:()=>hb,wrapSnapshotCollection:()=>gb});var Fe={};n.r(Fe),n.d(Fe,{wrapContentType:()=>Tb,wrapContentTypeCollection:()=>Ab,wrapContentTypeCursorPaginatedCollection:()=>Sb});var qe={};n.r(qe),n.d(qe,{wrapEntry:()=>Rb,wrapEntryCollection:()=>Db,wrapEntryTypeCursorPaginatedCollection:()=>_b});var Ue={};n.r(Ue),n.d(Ue,{wrapReleaseAction:()=>$b,wrapReleaseActionCollection:()=>zb});var Le={};n.r(Le),n.d(Le,{ReleaseReferenceFilters:()=>Fb,wrapRelease:()=>qb,wrapReleaseCollection:()=>Ub});var Be={};n.r(Be),n.d(Be,{default:()=>Wb,wrapTag:()=>Vb,wrapTagCollection:()=>Kb});var Ne={};n.r(Ne),n.d(Ne,{wrapUIConfig:()=>Hb});var We={};n.r(We),n.d(We,{wrapUserUIConfig:()=>Xb});var Ve={};n.r(Ve),n.d(Ve,{wrapEnvironmentTemplateInstallation:()=>Gb,wrapEnvironmentTemplateInstallationCollection:()=>Jb});var Ke={};n.r(Ke),n.d(Ke,{wrapFunction:()=>Qb,wrapFunctionCollection:()=>Yb});var He={};n.r(He),n.d(He,{wrapFunctionLog:()=>Zb,wrapFunctionLogCollection:()=>eh});var Xe={};n.r(Xe),n.d(Xe,{wrapEnvironment:()=>rh,wrapEnvironmentCollection:()=>oh});var Ge={};n.r(Ge),n.d(Ge,{wrapEnvironmentAlias:()=>sh,wrapEnvironmentAliasCollection:()=>ch});var Je={};n.r(Je),n.d(Je,{wrapEnvironmentTemplate:()=>mh,wrapEnvironmentTemplateCollection:()=>fh});var Qe={};n.r(Qe),n.d(Qe,{wrapExtension:()=>yh,wrapExtensionCollection:()=>vh});var Ye={};n.r(Ye),n.d(Ye,{wrapLocale:()=>bh,wrapLocaleCollection:()=>hh});var Ze={};n.r(Ze),n.d(Ze,{ScopeValues:()=>gh,wrapOAuthApplication:()=>xh,wrapOAuthApplicationCollection:()=>wh});var et={};n.r(et),n.d(et,{wrapOrganization:()=>Ph,wrapOrganizationCollection:()=>Th});var tt={};n.r(tt),n.d(tt,{wrapOrganizationInvitation:()=>Ah});var nt={};n.r(nt),n.d(nt,{wrapOrganizationMembership:()=>Sh,wrapOrganizationMembershipCollection:()=>Eh});var it={};n.r(it),n.d(it,{wrapPersonalAccessToken:()=>kh,wrapPersonalAccessTokenCollection:()=>Ch});var at={};n.r(at),n.d(at,{wrapAccessToken:()=>Rh,wrapAccessTokenCollection:()=>Dh});var rt={};n.r(rt),n.d(rt,{wrapPreviewApiKey:()=>_h,wrapPreviewApiKeyCollection:()=>$h});var ot={};n.r(ot),n.d(ot,{wrapRole:()=>zh,wrapRoleCollection:()=>Mh});var st={};n.r(st),n.d(st,{ScheduledActionStatus:()=>qh,default:()=>Uh,wrapScheduledAction:()=>Lh,wrapScheduledActionCollection:()=>Bh});var ct={};n.r(ct),n.d(ct,{wrapSpace:()=>Nh,wrapSpaceCollection:()=>Wh});var pt={};n.r(pt),n.d(pt,{wrapSpaceMember:()=>Vh,wrapSpaceMemberCollection:()=>Kh});var lt={};n.r(lt),n.d(lt,{wrapSpaceMembership:()=>Hh,wrapSpaceMembershipCollection:()=>Xh});var ut={};n.r(ut),n.d(ut,{default:()=>Yh,wrapTask:()=>Zh,wrapTaskCollection:()=>eg});var dt={};n.r(dt),n.d(dt,{wrapTeam:()=>tg,wrapTeamCollection:()=>ng});var mt={};n.r(mt),n.d(mt,{wrapTeamMembership:()=>ig,wrapTeamMembershipCollection:()=>ag});var ft={};n.r(ft),n.d(ft,{wrapTeamSpaceMembership:()=>rg,wrapTeamSpaceMembershipCollection:()=>og});var yt={};n.r(yt),n.d(yt,{wrapUpload:()=>sg});var vt={};n.r(vt),n.d(vt,{wrapUsage:()=>cg,wrapUsageCollection:()=>pg});var bt={};n.r(bt),n.d(bt,{wrapUser:()=>lg,wrapUserCollection:()=>ug});var ht={};n.r(ht),n.d(ht,{wrapWebhook:()=>yg,wrapWebhookCollection:()=>vg});var gt={};n.r(gt),n.d(gt,{WorkflowStepActionType:()=>jg,WorkflowStepPermissionAction:()=>wg,WorkflowStepPermissionEffect:()=>Og,WorkflowStepPermissionType:()=>xg,default:()=>Ig,wrapWorkflowDefinition:()=>Pg,wrapWorkflowDefinitionCollection:()=>Tg});var xt={};n.r(xt);var wt={};n.r(wt);var Ot={};n.r(Ot),n.d(Ot,{wrapResourceProvider:()=>Eg});var jt={};n.r(jt),n.d(jt,{wrapResourceType:()=>Rg,wrapResourceTypeforEnvironment:()=>Dg,wrapResourceTypesForEnvironmentCollection:()=>_g});var It={};n.r(It),n.d(It,{wrapResource:()=>$g,wrapResourceCollection:()=>zg});var Pt={};n.r(Pt),n.d(Pt,{default:()=>bx});var Tt=Function.prototype.toString,At=Object.create,St=Object.prototype.toString,Et=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}(),kt="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new Et};function Ct(e){if(!e)return At(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:At(e);if(t&&~Tt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return At(e)}var Rt="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 Dt(e){var t=St.call(e);return t.substring(8,t.length-1)}var _t="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||Dt(e)}:Dt,$t=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Mt=Object.getOwnPropertyNames,Ft=Object.getOwnPropertySymbols,qt=Object.prototype,Ut=qt.hasOwnProperty,Lt=qt.propertyIsEnumerable,Bt="function"==typeof Ft,Nt=Bt?function(e){return Mt(e).concat(Ft(e))}:Mt;function Wt(e,t,n){for(var i=Nt(e),a=0,r=i.length,o=void 0,s=void 0;a<r;++a)if("callee"!==(o=i[a])&&"caller"!==o)if(s=zt(e,o)){s.get||s.set||(s.value=n.copier(s.value,n));try{$t(t,o,s)}catch(e){t[o]=s.value}}else t[o]=n.copier(e[o],n);return t}function Vt(e,t){return e.slice(0)}function Kt(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e,i){n.set(i,t.copier(e,t))})),n}var Ht=Bt?function(e,t){var n=Ct(t.prototype);for(var i in t.cache.set(e,n),e)Ut.call(e,i)&&(n[i]=t.copier(e[i],t));for(var a=Ft(e),r=0,o=a.length,s=void 0;r<o;++r)s=a[r],Lt.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=Ct(t.prototype);for(var i in t.cache.set(e,n),e)Ut.call(e,i)&&(n[i]=t.copier(e[i],t));return n};function Xt(e,t){return new t.Constructor(e.valueOf())}function Gt(e,t){return e}function Jt(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e){n.add(t.copier(e,t))})),n}var Qt=Array.isArray,Yt=Object.assign,Zt=Object.getPrototypeOf||function(e){return e.__proto__},en={array:function(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var i=0,a=e.length;i<a;++i)n[i]=t.copier(e[i],t);return n},arrayBuffer:Vt,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(Vt(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Gt,map:Kt,object:Ht,regExp:function(e,t){var n=new t.Constructor(e.source,Rt(e));return n.lastIndex=e.lastIndex,n},set:Jt},tn=Yt({},en,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),Wt(e,n,t)},map:function(e,t){return Wt(e,Kt(e,t),t)},object:function(e,t){var n=Ct(t.prototype);return t.cache.set(e,n),Wt(e,n,t)},set:function(e,t){return Wt(e,Jt(e,t),t)}});function nn(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Xt,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:Xt,Object:e.object,Promise:Gt,RegExp:e.regExp,Set:e.set,String:Xt,WeakMap:Gt,WeakSet:Gt,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Yt({},en,e)),n=t.Array,i=t.Object;function a(e,a){if(a.prototype=a.Constructor=void 0,!e||"object"!=typeof e)return e;if(a.cache.has(e))return a.cache.get(e);if(a.prototype=Zt(e),a.Constructor=a.prototype&&a.prototype.constructor,!a.Constructor||a.Constructor===Object)return i(e,a);if(Qt(e))return n(e,a);var r=t[_t(e)];return r?r(e,a):"function"==typeof e.then?e:i(e,a)}return function(e){return a(e,{Constructor:void 0,cache:kt(),copier:a,prototype:void 0})}}nn(Yt({},tn,{}));var an=nn({});const rn=require("process");function on(){}var sn=n(7571);class cn extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const pn=/(?<value>\d+)(%)/;function ln(e,t=7){let n=t;if(pn.test(e)){const i=e.match(pn)?.groups;if(i&&i.value){const e=parseInt(i.value)/100;n=Math.round(t*e)}}return Math.min(30,Math.max(1,n))}function un(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:n,onDelay:i}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const a=new Map;let r=0,o=0;const s=[],c=n?function(){const n=Date.now();if(s.length>0&&n-s.at(-1)>t&&(s.length=0),s.length<e)return s.push(n),0;const i=s[0]+t;return s.shift(),s.push(i),Math.max(0,i-n)}:function(){const n=Date.now();return n-r>t?(o=1,r=n,0):(o<e?o++:(r+=t,o=1),r-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let r;return new Promise(((t,o)=>{const s=()=>{t(e.apply(this,n)),a.delete(r)},p=c();p>0?(r=setTimeout(s,p),a.set(r,o),i?.(...n)):s()}))};return t.abort=()=>{for(const e of a.keys())clearTimeout(e),a.get(e)(new cn);a.clear(),s.splice(0,s.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>a.size}),t}}({limit:e,interval:1e3,strict:!1})}var dn=n(8985);const mn=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function fn(e){const t=an(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function yn(e,t){const n=function(e){const t={insecure:!1,retryOnError:!0,logHandler:(e,t)=>{if("error"===e&&t){const e=[t.name,t.message].filter((e=>e)).join(" - ");return console.error(`[error] ${e}`),void console.error(t)}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...e};if(!t.accessToken){const e=new TypeError("Expected parameter accessToken");throw t.logHandler("error",e),e}const n=t.insecure?"http":"https",i=t.space?`${t.space}/`:"";let a=t.defaultHostname,r=t.insecure?80:443;if(t.host&&mn.test(t.host)){const e=t.host.split(":");2===e.length?[a,r]=e:a=e[0]}t.basePath&&(t.basePath=`/${t.basePath.split("/").filter(Boolean).join("/")}`);const o=e.baseURL||`${n}://${a}:${r}${t.basePath}/spaces/${i}`;return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:o,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:e=>dn.stringify(e)},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),i=e.create(n);return i.httpClientParams=t,i.cloneWithNewParams=function(n){return yn(e,{...fn(t),...n})},t.onBeforeRequest&&i.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((t=>(e.headers.set("Authorization",`Bearer ${t}`),e)))}))}(i,t.accessToken),t.throttle&&((e,t="auto")=>{const{logHandler:n=on}=e.defaults;let i=sn(t)?ln(t):ln("auto",t),a=un(i,n),r=!1,o=e.interceptors.request.use((e=>a((()=>e))()),(function(e){return Promise.reject(e)}));e.interceptors.response.use((s=>{if(!r&&sn(t)&&("auto"===t||pn.test(t))&&s.headers&&s.headers["x-contentful-ratelimit-second-limit"]){const c=parseInt(s.headers["x-contentful-ratelimit-second-limit"]),p=ln(t,c);p!==i&&(o&&e.interceptors.request.eject(o),i=p,a=un(p,n),o=e.interceptors.request.use((e=>a((()=>e))()),(function(e){return Promise.reject(e)}))),r=!0}return s}),(function(e){return Promise.reject(e)}))})(i,t.throttle),function(e,t=5){const{responseLogger:n=on,requestLogger:i=on}=e.defaults;e.interceptors.request.use((function(e){return i(e),e}),(function(e){return i(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return n(e),e}),(async function(i){const{response:a}=i,{config:r}=i;if(n(i),!r||!e.defaults.retryOnError)return Promise.reject(i);const o=r.attempts||1;if(o>t)return i.attempts=r.attempts,Promise.reject(i);let s=null,c=(p=o,Math.pow(Math.SQRT2,p));var p,l;return a?a.status>=500&&a.status<600?s=`Server ${a.status}`:429===a.status&&(s="Rate limit",a.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(c=a.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning",`${s} error occurred. Waiting for ${c} ms before retrying...`),r.attempts=o+1,delete r.httpAgent,delete r.httpsAgent,(l=c,new Promise((e=>{setTimeout(e,l)}))).then((()=>e(r)))):Promise.reject(i)}))}(i,t.retryLimit),t.onError&&i.interceptors.response.use((e=>e),t.onError),i}function vn({query:e}){const t={};return delete e.resolveLinks,t.params=an(e),t}function bn(e){const t=Object.getOwnPropertyNames(e);for(const n of t){const t=e[n];t&&"object"==typeof t&&bn(t)}return Object.freeze(e)}function hn(e){return bn(e.sys||{}),e}function gn(){const e=window;if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function xn(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return an(this)}})}var wn=n(4679);function On(e){const{config:t,response:n}=e;let i;if(function(e){if(e?.headers?.Authorization){const t=`...${e.headers.Authorization.toString().substr(-5)}`;e.headers.Authorization=`Bearer ${t}`}if(e?.headers?.["X-Contentful-Resource-Resolution"]){const t=`...${e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5)}`;e.headers["X-Contentful-Resource-Resolution"]=t}}(t),!wn(n)||!wn(t))throw e;const a=n?.data,r={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&wn(t)&&(r.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&"object"==typeof a&&("requestId"in a&&(r.requestId=a.requestId||"UNKNOWN"),"message"in a&&(r.message=a.message||""),"details"in a&&(r.details=a.details||{}),i=a.sys?.id);const o=new Error;o.name=i&&"Unknown"!==i?i:`${n?.status} ${n?.statusText}`;try{o.message=JSON.stringify(r,null," ")}catch{o.message=r?.message??""}throw o}function jn(e,t){return function(){return e.apply(t,arguments)}}const{toString:In}=Object.prototype,{getPrototypeOf:Pn}=Object,{iterator:Tn,toStringTag:An}=Symbol,Sn=(En=Object.create(null),e=>{const t=In.call(e);return En[t]||(En[t]=t.slice(8,-1).toLowerCase())});var En;const kn=e=>(e=e.toLowerCase(),t=>Sn(t)===e),Cn=e=>t=>typeof t===e,{isArray:Rn}=Array,Dn=Cn("undefined");function _n(e){return null!==e&&!Dn(e)&&null!==e.constructor&&!Dn(e.constructor)&&Mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $n=kn("ArrayBuffer"),zn=Cn("string"),Mn=Cn("function"),Fn=Cn("number"),qn=e=>null!==e&&"object"==typeof e,Un=e=>{if("object"!==Sn(e))return!1;const t=Pn(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||An in e||Tn in e)},Ln=kn("Date"),Bn=kn("File"),Nn=kn("Blob"),Wn=kn("FileList"),Vn=kn("URLSearchParams"),[Kn,Hn,Xn,Gn]=["ReadableStream","Request","Response","Headers"].map(kn);function Jn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,a;if("object"!=typeof e&&(e=[e]),Rn(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{if(_n(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),r=a.length;let o;for(i=0;i<r;i++)o=a[i],t.call(null,e[o],o,e)}}function Qn(e,t){if(_n(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i,a=n.length;for(;a-- >0;)if(i=n[a],t===i.toLowerCase())return i;return null}const Yn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Zn=e=>!Dn(e)&&e!==Yn,ei=(ti="undefined"!=typeof Uint8Array&&Pn(Uint8Array),e=>ti&&e instanceof ti);var ti;const ni=kn("HTMLFormElement"),ii=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ai=kn("RegExp"),ri=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Jn(n,((n,a)=>{let r;!1!==(r=t(n,a,e))&&(i[a]=r||n)})),Object.defineProperties(e,i)},oi=kn("AsyncFunction"),si=(ci="function"==typeof setImmediate,pi=Mn(Yn.postMessage),ci?setImmediate:pi?(li=`axios@${Math.random()}`,ui=[],Yn.addEventListener("message",(({source:e,data:t})=>{e===Yn&&t===li&&ui.length&&ui.shift()()}),!1),e=>{ui.push(e),Yn.postMessage(li,"*")}):e=>setTimeout(e));var ci,pi,li,ui;const di="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Yn):"undefined"!=typeof process&&process.nextTick||si,mi={isArray:Rn,isArrayBuffer:$n,isBuffer:_n,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Mn(e.append)&&("formdata"===(t=Sn(e))||"object"===t&&Mn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&$n(e.buffer),t},isString:zn,isNumber:Fn,isBoolean:e=>!0===e||!1===e,isObject:qn,isPlainObject:Un,isEmptyObject:e=>{if(!qn(e)||_n(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Kn,isRequest:Hn,isResponse:Xn,isHeaders:Gn,isUndefined:Dn,isDate:Ln,isFile:Bn,isBlob:Nn,isRegExp:ai,isFunction:Mn,isStream:e=>qn(e)&&Mn(e.pipe),isURLSearchParams:Vn,isTypedArray:ei,isFileList:Wn,forEach:Jn,merge:function e(){const{caseless:t,skipUndefined:n}=Zn(this)&&this||{},i={},a=(a,r)=>{const o=t&&Qn(i,r)||r;Un(i[o])&&Un(a)?i[o]=e(i[o],a):Un(a)?i[o]=e({},a):Rn(a)?i[o]=a.slice():n&&Dn(a)||(i[o]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Jn(arguments[e],a);return i},extend:(e,t,n,{allOwnKeys:i}={})=>(Jn(t,((t,i)=>{n&&Mn(t)?e[i]=jn(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let a,r,o;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),r=a.length;r-- >0;)o=a[r],i&&!i(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&Pn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Sn,kindOfTest:kn,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Rn(e))return e;let t=e.length;if(!Fn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Tn]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:ni,hasOwnProperty:ii,hasOwnProp:ii,reduceDescriptors:ri,freezeMethods:e=>{ri(e,((t,n)=>{if(Mn(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Mn(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return Rn(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Qn,global:Yn,isContextDefined:Zn,isSpecCompliantForm:function(e){return!!(e&&Mn(e.append)&&"FormData"===e[An]&&e[Tn])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(qn(e)){if(t.indexOf(e)>=0)return;if(_n(e))return e;if(!("toJSON"in e)){t[i]=e;const a=Rn(e)?[]:{};return Jn(e,((e,t)=>{const r=n(e,i+1);!Dn(r)&&(a[t]=r)})),t[i]=void 0,a}}return e};return n(e,0)},isAsyncFn:oi,isThenable:e=>e&&(qn(e)||Mn(e))&&Mn(e.then)&&Mn(e.catch),setImmediate:si,asap:di,isIterable:e=>null!=e&&Mn(e[Tn])};function fi(e,t,n,i,a){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),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a,this.status=a.status?a.status:null)}mi.inherits(fi,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:mi.toJSONObject(this.config),code:this.code,status:this.status}}});const yi=fi.prototype,vi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{vi[e]={value:e}})),Object.defineProperties(fi,vi),Object.defineProperty(yi,"isAxiosError",{value:!0}),fi.from=(e,t,n,i,a,r)=>{const o=Object.create(yi);mi.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const s=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return fi.call(o,s,c,n,i,a),e&&null==o.cause&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",r&&Object.assign(o,r),o};const bi=fi,hi=n(2925);function gi(e){return mi.isPlainObject(e)||mi.isArray(e)}function xi(e){return mi.endsWith(e,"[]")?e.slice(0,-2):e}function wi(e,t,n){return e?e.concat(t).map((function(e,t){return e=xi(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Oi=mi.toFlatObject(mi,{},null,(function(e){return/^is[A-Z]/.test(e)})),ji=function(e,t,n){if(!mi.isObject(e))throw new TypeError("target must be an object");t=t||new(hi||FormData);const i=(n=mi.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!mi.isUndefined(t[e])}))).metaTokens,a=n.visitor||p,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&mi.isSpecCompliantForm(t);if(!mi.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(mi.isDate(e))return e.toISOString();if(mi.isBoolean(e))return e.toString();if(!s&&mi.isBlob(e))throw new bi("Blob is not supported. Use a Buffer instead.");return mi.isArrayBuffer(e)||mi.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(mi.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(mi.isArray(e)&&function(e){return mi.isArray(e)&&!e.some(gi)}(e)||(mi.isFileList(e)||mi.endsWith(n,"[]"))&&(s=mi.toArray(e)))return n=xi(n),s.forEach((function(e,i){!mi.isUndefined(e)&&null!==e&&t.append(!0===o?wi([n],i,r):null===o?n:n+"[]",c(e))})),!1;return!!gi(e)||(t.append(wi(a,n,r),c(e)),!1)}const l=[],u=Object.assign(Oi,{defaultVisitor:p,convertValue:c,isVisitable:gi});if(!mi.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!mi.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),mi.forEach(n,(function(n,r){!0===(!(mi.isUndefined(n)||null===n)&&a.call(t,n,mi.isString(r)?r.trim():r,i,u))&&e(n,i?i.concat(r):[r])})),l.pop()}}(e),t};function Ii(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Pi(e,t){this._pairs=[],e&&ji(e,this,t)}const Ti=Pi.prototype;Ti.append=function(e,t){this._pairs.push([e,t])},Ti.toString=function(e){const t=e?function(t){return e.call(this,t,Ii)}:Ii;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Ai=Pi;function Si(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ei(e,t,n){if(!t)return e;const i=n&&n.encode||Si;mi.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let r;if(r=a?a(t,n):mi.isURLSearchParams(t)?t.toString():new Ai(t,n).toString(i),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const ki=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){mi.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ci={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Ri=n(6982);const Di=n(7016).URLSearchParams,_i="abcdefghijklmnopqrstuvwxyz",$i="0123456789",zi={DIGIT:$i,ALPHA:_i,ALPHA_DIGIT:_i+_i.toUpperCase()+$i},Mi={isNode:!0,classes:{URLSearchParams:Di,FormData:hi,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:zi,generateString:(e=16,t=zi.ALPHA_DIGIT)=>{let n="";const{length:i}=t,a=new Uint32Array(e);Ri.randomFillSync(a);for(let r=0;r<e;r++)n+=t[a[r]%i];return n},protocols:["http","https","file","data"]},Fi="undefined"!=typeof window&&"undefined"!=typeof document,qi="object"==typeof navigator&&navigator||void 0,Ui=Fi&&(!qi||["ReactNative","NativeScript","NS"].indexOf(qi.product)<0),Li="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Bi=Fi&&window.location.href||"http://localhost",Ni={...e,...Mi},Wi=function(e){function t(e,n,i,a){let r=e[a++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=a>=e.length;return r=!r&&mi.isArray(i)?i.length:r,s?(mi.hasOwnProp(i,r)?i[r]=[i[r],n]:i[r]=n,!o):(i[r]&&mi.isObject(i[r])||(i[r]=[]),t(e,n,i[r],a)&&mi.isArray(i[r])&&(i[r]=function(e){const t={},n=Object.keys(e);let i;const a=n.length;let r;for(i=0;i<a;i++)r=n[i],t[r]=e[r];return t}(i[r])),!o)}if(mi.isFormData(e)&&mi.isFunction(e.entries)){const n={};return mi.forEachEntry(e,((e,i)=>{t(function(e){return mi.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null},Vi={transitional:Ci,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=mi.isObject(e);if(a&&mi.isHTMLForm(e)&&(e=new FormData(e)),mi.isFormData(e))return i?JSON.stringify(Wi(e)):e;if(mi.isArrayBuffer(e)||mi.isBuffer(e)||mi.isStream(e)||mi.isFile(e)||mi.isBlob(e)||mi.isReadableStream(e))return e;if(mi.isArrayBufferView(e))return e.buffer;if(mi.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ji(e,new Ni.classes.URLSearchParams,{visitor:function(e,t,n,i){return Ni.isNode&&mi.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((r=mi.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ji(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e){if(mi.isString(e))try{return(0,JSON.parse)(e),mi.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Vi.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(mi.isResponse(e)||mi.isReadableStream(e))return e;if(e&&mi.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw bi.from(e,bi.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:Ni.classes.FormData,Blob:Ni.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};mi.forEach(["delete","get","head","post","put","patch"],(e=>{Vi.headers[e]={}}));const Ki=Vi,Hi=mi.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"]),Xi=Symbol("internals");function Gi(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return!1===e||null==e?e:mi.isArray(e)?e.map(Ji):String(e)}function Qi(e,t,n,i,a){return mi.isFunction(i)?i.call(this,t,n):(a&&(t=n),mi.isString(t)?mi.isString(i)?-1!==t.indexOf(i):mi.isRegExp(i)?i.test(t):void 0:void 0)}class Yi{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function a(e,t,n){const a=Gi(t);if(!a)throw new Error("header name must be a non-empty string");const r=mi.findKey(i,a);(!r||void 0===i[r]||!0===n||void 0===n&&!1!==i[r])&&(i[r||t]=Ji(e))}const r=(e,t)=>mi.forEach(e,((e,n)=>a(e,n,t)));if(mi.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(mi.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,i,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),i=e.substring(a+1).trim(),!n||t[n]&&Hi[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t})(e),t);else if(mi.isObject(e)&&mi.isIterable(e)){let n,i,a={};for(const t of e){if(!mi.isArray(t))throw TypeError("Object iterator must return a key-value pair");a[i=t[0]]=(n=a[i])?mi.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(a,t)}else null!=e&&a(t,e,n);return this}get(e,t){if(e=Gi(e)){const n=mi.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(mi.isFunction(t))return t.call(this,e,n);if(mi.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Gi(e)){const n=mi.findKey(this,e);return!(!n||void 0===this[n]||t&&!Qi(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function a(e){if(e=Gi(e)){const a=mi.findKey(n,e);!a||t&&!Qi(0,n[a],a,t)||(delete n[a],i=!0)}}return mi.isArray(e)?e.forEach(a):a(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const a=t[n];e&&!Qi(0,this[a],a,e,!0)||(delete this[a],i=!0)}return i}normalize(e){const t=this,n={};return mi.forEach(this,((i,a)=>{const r=mi.findKey(n,a);if(r)return t[r]=Ji(i),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();o!==a&&delete t[a],t[o]=Ji(i),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return mi.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&mi.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Xi]=this[Xi]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Gi(e);t[i]||(function(e,t){const n=mi.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,a){return this[i].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[i]=!0)}return mi.isArray(e)?e.forEach(i):i(e),this}}Yi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),mi.reduceDescriptors(Yi.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),mi.freezeMethods(Yi);const Zi=Yi;function ea(e,t){const n=this||Ki,i=t||n,a=Zi.from(i.headers);let r=i.data;return mi.forEach(e,(function(e){r=e.call(n,r,a.normalize(),t?t.status:void 0)})),a.normalize(),r}function ta(e){return!(!e||!e.__CANCEL__)}function na(e,t,n){bi.call(this,null==e?"canceled":e,bi.ERR_CANCELED,t,n),this.name="CanceledError"}mi.inherits(na,bi,{__CANCEL__:!0});const ia=na;function aa(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new bi("Request failed with status code "+n.status,[bi.ERR_BAD_REQUEST,bi.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ra(e,t,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var oa=n(1420),sa=n(8611),ca=n(5692);const pa=require("http2");var la=n(9023),ua=n(3520);const da=require("zlib"),ma="1.13.2";function fa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const ya=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var va=n(2203);const ba=Symbol("internals");class ha extends va.Transform{constructor(e){super({readableHighWaterMark:(e=mi.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!mi.isUndefined(t[e])))).chunkSize});const t=this[ba]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[ba];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[ba],a=i.maxRate,r=this.readableHighWaterMark,o=i.timeWindow,s=a/(1e3/o),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=r,m=0;if(a){const e=Date.now();(!i.ts||(m=e-i.ts)>=o)&&(i.ts=e,l=s-i.bytes,i.bytes=l<0?-l:0,m=0),l=s-i.bytes}if(a){if(l<=0)return setTimeout((()=>{t(null,e)}),o-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,i){if(t)return n(t);i?l(i,e):n(null)}))}}const ga=ha,xa=require("events"),{asyncIterator:wa}=Symbol,Oa=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[wa]?yield*e[wa]():yield e},ja=Ni.ALPHABET.ALPHA_DIGIT+"-_",Ia="function"==typeof TextEncoder?new TextEncoder:new la.TextEncoder,Pa="\r\n",Ta=Ia.encode(Pa);class Aa{constructor(e,t){const{escapeName:n}=this.constructor,i=mi.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${Pa}`;i?t=Ia.encode(String(t).replace(/\r?\n|\r\n?/g,Pa)):a+=`Content-Type: ${t.type||"application/octet-stream"}${Pa}`,this.headers=Ia.encode(a+Pa),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;mi.isTypedArray(e)?yield e:yield*Oa(e),yield Ta}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class Sa extends va.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const Ea=Sa,ka=(e,t)=>mi.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then((e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}}),i)}:e,Ca=(e,t,n=3)=>{let i=0;const a=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let a,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=i[o];a||(a=c),n[r]=s,i[r]=c;let l=o,u=0;for(;l!==r;)u+=n[l++],l%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-a<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,i,a=0,r=1e3/t;const o=(t,r=Date.now())=>{a=r,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=r?o(e,t):(n=e,i||(i=setTimeout((()=>{i=null,o(n)}),r-s)))},()=>n&&o(n)]}((n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-i,c=a(s);i=r,e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},Ra=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Da=e=>(...t)=>mi.asap((()=>e(...t))),_a={flush:da.constants.Z_SYNC_FLUSH,finishFlush:da.constants.Z_SYNC_FLUSH},$a={flush:da.constants.BROTLI_OPERATION_FLUSH,finishFlush:da.constants.BROTLI_OPERATION_FLUSH},za=mi.isFunction(da.createBrotliDecompress),{http:Ma,https:Fa}=ua,qa=/https:?/,Ua=Ni.protocols.map((e=>e+":")),La=(e,[t,n])=>(e.on("end",n).on("error",n),t),Ba=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let i=0;i<e;i++){const[e,a]=n[i];if(!e.destroyed&&!e.closed&&la.isDeepStrictEqual(a,t))return e}}const i=pa.connect(e,t);let a;const r=()=>{if(a)return;a=!0;let t=n,r=t.length,o=r;for(;o--;)if(t[o][0]===i)return void(1===r?delete this.sessions[e]:t.splice(o,1))},o=i.request,{sessionTimeout:s}=t;if(null!=s){let e,t=0;i.request=function(){const n=o.apply(this,arguments);return t++,e&&(clearTimeout(e),e=null),n.once("close",(()=>{--t||(e=setTimeout((()=>{e=null,r()}),s))})),n}}i.once("close",r);let c=[i,t];return n?n.push(c):n=this.sessions[e]=[c],i}};function Na(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Wa(e,t,n){let i=t;if(!i&&!1!==i){const e=oa.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){Wa(e,t,e.href)}}const Va="undefined"!=typeof process&&"process"===mi.kindOf(process),Ka=(e,t)=>(({address:e,family:t})=>{if(!mi.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(mi.isObject(e)?e:{address:e,family:t}),Ha={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||80),{http2Options:i,headers:a}=e,r=Ba.getSession(n,i),{HTTP2_HEADER_SCHEME:o,HTTP2_HEADER_METHOD:s,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=pa.constants,l={[o]:e.protocol.replace(":",""),[s]:e.method,[c]:e.path};mi.forEach(a,((e,t)=>{":"!==t.charAt(0)&&(l[t]=e)}));const u=r.request(l);return u.once("response",(e=>{const n=u,i=(e=Object.assign({},e))[p];delete e[p],n.headers=e,n.statusCode=+i,t(n)})),u}},Xa=Va&&function(e){return t=async function(t,n,i){let{data:a,lookup:r,family:o,httpVersion:s=1,http2Options:c}=e;const{responseType:p,responseEncoding:l}=e,u=e.method.toUpperCase();let d,m,f=!1;if(s=+s,Number.isNaN(s))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==s&&2!==s)throw TypeError(`Unsupported protocol version '${s}'`);const y=2===s;if(r){const e=ka(r,(e=>mi.isArray(e)?e:[e]));r=(t,n,i)=>{e(t,n,((e,t,a)=>{if(e)return i(e);const r=mi.isArray(t)?t.map((e=>Ka(e))):[Ka(t,a)];n.all?i(e,r):i(e,r[0].address,r[0].family)}))}}const v=new xa.EventEmitter;function b(t){try{v.emit("abort",!t||t.type?new ia(null,e,m):t)}catch(e){console.warn("emit error",e)}}v.once("abort",n);const h=()=>{e.cancelToken&&e.cancelToken.unsubscribe(b),e.signal&&e.signal.removeEventListener("abort",b),v.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(b),e.signal&&(e.signal.aborted?b():e.signal.addEventListener("abort",b))),i(((e,t)=>{if(d=!0,t)return f=!0,void h();const{data:n}=e;if(n instanceof va.Readable||n instanceof va.Duplex){const e=va.finished(n,(()=>{e(),h()}))}else h()}));const g=ra(e.baseURL,e.url,e.allowAbsoluteUrls),x=new URL(g,Ni.hasBrowserEnv?Ni.origin:void 0),w=x.protocol||Ua[0];if("data:"===w){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),i=e.slice(t+1);if(/;base64/i.test(n)){let e=i.length;const t=i.length;for(let n=0;n<t;n++)if(37===i.charCodeAt(n)&&n+2<t){const t=i.charCodeAt(n+1),a=i.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)&&(e-=2,n+=2)}let n=0,a=t-1;const r=e=>e>=2&&37===i.charCodeAt(e-2)&&51===i.charCodeAt(e-1)&&(68===i.charCodeAt(e)||100===i.charCodeAt(e));a>=0&&(61===i.charCodeAt(a)?(n++,a--):r(a)&&(n++,a-=3)),1===n&&a>=0&&(61===i.charCodeAt(a)||r(a))&&n++;const o=3*Math.floor(e/4)-(n||0);return o>0?o:0}return Buffer.byteLength(i,"utf8")}(String(e.url||g||""))>e.maxContentLength)return n(new bi("maxContentLength size of "+e.maxContentLength+" exceeded",bi.ERR_BAD_RESPONSE,e));let i;if("GET"!==u)return aa(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||Ni.classes.Blob,a=fa(e);if(void 0===t&&i&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=ya.exec(e);if(!n)throw new bi("Invalid URL",bi.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!i)throw new bi("Blob is not supported",bi.ERR_NOT_SUPPORT);return new i([c],{type:r})}return c}throw new bi("Unsupported protocol "+a,bi.ERR_NOT_SUPPORT)}(e.url,"blob"===p,{Blob:e.env&&e.env.Blob})}catch(t){throw bi.from(t,bi.ERR_BAD_REQUEST,e)}return"text"===p?(i=i.toString(l),l&&"utf8"!==l||(i=mi.stripBOM(i))):"stream"===p&&(i=va.Readable.from(i)),aa(t,n,{data:i,status:200,statusText:"OK",headers:new Zi,config:e})}if(-1===Ua.indexOf(w))return n(new bi("Unsupported protocol "+w,bi.ERR_BAD_REQUEST,e));const O=Zi.from(e.headers).normalize();O.set("User-Agent","axios/"+ma,!1);const{onUploadProgress:j,onDownloadProgress:I}=e,P=e.maxRate;let T,A;if(mi.isSpecCompliantForm(a)){const e=O.getContentType(/boundary=([-_\w\d]{10,70})/i);a=((e,t,n)=>{const{tag:i="form-data-boundary",size:a=25,boundary:r=i+"-"+Ni.generateString(a,ja)}=n||{};if(!mi.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const o=Ia.encode("--"+r+Pa),s=Ia.encode("--"+r+"--"+Pa);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new Aa(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=mi.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),va.Readable.from(async function*(){for(const e of p)yield o,yield*e.encode();yield s}())})(a,(e=>{O.set(e)}),{tag:`axios-${ma}-boundary`,boundary:e&&e[1]||void 0})}else if(mi.isFormData(a)&&mi.isFunction(a.getHeaders)){if(O.set(a.getHeaders()),!O.hasContentLength())try{const e=await la.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&O.setContentLength(e)}catch(e){}}else if(mi.isBlob(a)||mi.isFile(a))a.size&&O.setContentType(a.type||"application/octet-stream"),O.setContentLength(a.size||0),a=va.Readable.from(Oa(a));else if(a&&!mi.isStream(a)){if(Buffer.isBuffer(a));else if(mi.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!mi.isString(a))return n(new bi("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",bi.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(O.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new bi("Request body larger than maxBodyLength limit",bi.ERR_BAD_REQUEST,e))}const S=mi.toFiniteNumber(O.getContentLength());let E,k;mi.isArray(P)?(T=P[0],A=P[1]):T=A=P,a&&(j||T)&&(mi.isStream(a)||(a=va.Readable.from(a,{objectMode:!1})),a=va.pipeline([a,new ga({maxRate:mi.toFiniteNumber(T)})],mi.noop),j&&a.on("progress",La(a,Ra(S,Ca(Da(j),!1,3))))),e.auth&&(E=(e.auth.username||"")+":"+(e.auth.password||"")),!E&&x.username&&(E=x.username+":"+x.password),E&&O.delete("authorization");try{k=Ei(x.pathname+x.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const i=new Error(t.message);return i.config=e,i.url=e.url,i.exists=!0,n(i)}O.set("Accept-Encoding","gzip, compress, deflate"+(za?", br":""),!1);const C={path:k,method:u,headers:O.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:E,protocol:w,family:o,beforeRedirect:Na,beforeRedirects:{},http2Options:c};let R;!mi.isUndefined(r)&&(C.lookup=r),e.socketPath?C.socketPath=e.socketPath:(C.hostname=x.hostname.startsWith("[")?x.hostname.slice(1,-1):x.hostname,C.port=x.port,Wa(C,e.proxy,w+"//"+x.hostname+(x.port?":"+x.port:"")+C.path));const D=qa.test(C.protocol);if(C.agent=D?e.httpsAgent:e.httpAgent,y?R=Ha:e.transport?R=e.transport:0===e.maxRedirects?R=D?ca:sa:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),e.beforeRedirect&&(C.beforeRedirects.config=e.beforeRedirect),R=D?Fa:Ma),e.maxBodyLength>-1?C.maxBodyLength=e.maxBodyLength:C.maxBodyLength=1/0,e.insecureHTTPParser&&(C.insecureHTTPParser=e.insecureHTTPParser),m=R.request(C,(function(i){if(m.destroyed)return;const a=[i],r=mi.toFiniteNumber(i.headers["content-length"]);if(I||A){const e=new ga({maxRate:mi.toFiniteNumber(A)});I&&e.on("progress",La(e,Ra(r,Ca(Da(I),!0,3)))),a.push(e)}let o=i;const s=i.req||m;if(!1!==e.decompress&&i.headers["content-encoding"])switch("HEAD"!==u&&204!==i.statusCode||delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(da.createUnzip(_a)),delete i.headers["content-encoding"];break;case"deflate":a.push(new Ea),a.push(da.createUnzip(_a)),delete i.headers["content-encoding"];break;case"br":za&&(a.push(da.createBrotliDecompress($a)),delete i.headers["content-encoding"])}o=a.length>1?va.pipeline(a,mi.noop):a[0];const c={status:i.statusCode,statusText:i.statusMessage,headers:new Zi(i.headers),config:e,request:s};if("stream"===p)c.data=o,aa(t,n,c);else{const i=[];let a=0;o.on("data",(function(t){i.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(f=!0,o.destroy(),b(new bi("maxContentLength size of "+e.maxContentLength+" exceeded",bi.ERR_BAD_RESPONSE,e,s)))})),o.on("aborted",(function(){if(f)return;const t=new bi("stream has been aborted",bi.ERR_BAD_RESPONSE,e,s);o.destroy(t),n(t)})),o.on("error",(function(t){m.destroyed||n(bi.from(t,null,e,s))})),o.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==p&&(e=e.toString(l),l&&"utf8"!==l||(e=mi.stripBOM(e))),c.data=e}catch(t){return n(bi.from(t,null,e,c.request,c))}aa(t,n,c)}))}v.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),v.once("abort",(e=>{m.close?m.close():m.destroy(e)})),m.on("error",(function(t){n(bi.from(t,null,e,m))})),m.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void b(new bi("error trying to parse `config.timeout` to int",bi.ERR_BAD_OPTION_VALUE,e,m));m.setTimeout(t,(function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||Ci;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),b(new bi(t,n.clarifyTimeoutError?bi.ETIMEDOUT:bi.ECONNABORTED,e,m))}))}else m.setTimeout(0);if(mi.isStream(a)){let t=!1,n=!1;a.on("end",(()=>{t=!0})),a.once("error",(e=>{n=!0,m.destroy(e)})),a.on("close",(()=>{t||n||b(new ia("Request stream has been aborted",e,m))})),a.pipe(m)}else a&&m.write(a),m.end()},new Promise(((e,n)=>{let i,a;const r=(e,t)=>{a||(a=!0,i&&i(e,t))},o=e=>{r(e,!0),n(e)};t((t=>{r(t),e(t)}),o,(e=>i=e)).catch(o)}));var t},Ga=Ni.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ni.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ni.origin),Ni.navigator&&/(msie|trident)/i.test(Ni.navigator.userAgent)):()=>!0,Ja=Ni.hasStandardBrowserEnv?{write(e,t,n,i,a,r,o){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];mi.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),mi.isString(i)&&s.push(`path=${i}`),mi.isString(a)&&s.push(`domain=${a}`),!0===r&&s.push("secure"),mi.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Qa=e=>e instanceof Zi?{...e}:e;function Ya(e,t){t=t||{};const n={};function i(e,t,n,i){return mi.isPlainObject(e)&&mi.isPlainObject(t)?mi.merge.call({caseless:i},e,t):mi.isPlainObject(t)?mi.merge({},t):mi.isArray(t)?t.slice():t}function a(e,t,n,a){return mi.isUndefined(t)?mi.isUndefined(e)?void 0:i(void 0,e,0,a):i(e,t,0,a)}function r(e,t){if(!mi.isUndefined(t))return i(void 0,t)}function o(e,t){return mi.isUndefined(t)?mi.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,a,r){return r in t?i(n,a):r in e?i(void 0,n):void 0}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>a(Qa(e),Qa(t),0,!0)};return mi.forEach(Object.keys({...e,...t}),(function(i){const r=c[i]||a,o=r(e[i],t[i],i);mi.isUndefined(o)&&r!==s||(n[i]=o)})),n}const Za=e=>{const t=Ya({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:r,headers:o,auth:s}=t;if(t.headers=o=Zi.from(o),t.url=Ei(ra(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),mi.isFormData(n))if(Ni.hasStandardBrowserEnv||Ni.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(mi.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)}))}if(Ni.hasStandardBrowserEnv&&(i&&mi.isFunction(i)&&(i=i(t)),i||!1!==i&&Ga(t.url))){const e=a&&r&&Ja.read(r);e&&o.set(a,e)}return t},er="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=Za(e);let a=i.data;const r=Zi.from(i.headers).normalize();let o,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function f(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let y=new XMLHttpRequest;function v(){if(!y)return;const i=Zi.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());aa((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:i,config:e,request:y}),y=null}y.open(i.method.toUpperCase(),i.url,!0),y.timeout=i.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new bi("Request aborted",bi.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const i=t&&t.message?t.message:"Network Error",a=new bi(i,bi.ERR_NETWORK,e,y);a.event=t||null,n(a),y=null},y.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const a=i.transitional||Ci;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new bi(t,a.clarifyTimeoutError?bi.ETIMEDOUT:bi.ECONNABORTED,e,y)),y=null},void 0===a&&r.setContentType(null),"setRequestHeader"in y&&mi.forEach(r.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),mi.isUndefined(i.withCredentials)||(y.withCredentials=!!i.withCredentials),u&&"json"!==u&&(y.responseType=i.responseType),m&&([c,l]=Ca(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=Ca(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(o=t=>{y&&(n(!t||t.type?new ia(null,e,y):t),y.abort(),y=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const b=fa(i.url);b&&-1===Ni.protocols.indexOf(b)?n(new bi("Unsupported protocol "+b+":",bi.ERR_BAD_REQUEST,e)):y.send(a||null)}))},tr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const a=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof bi?t:new ia(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{r=null,a(new bi(`timeout ${t} of ms exceeded`,bi.ETIMEDOUT))}),t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:s}=i;return s.unsubscribe=()=>mi.asap(o),s}},nr=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,a=0;for(;a<n;)i=a+t,yield e.slice(a,i),a=i},ir=(e,t,n,i)=>{const a=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*nr(n,t)}(e,t);let r,o=0,s=e=>{r||(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await a.next();if(t)return s(),void e.close();let r=i.byteLength;if(n){let e=o+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:ar}=mi,rr=(({Request:e,Response:t})=>({Request:e,Response:t}))(mi.global),{ReadableStream:or,TextEncoder:sr}=mi.global,cr=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},pr=e=>{e=mi.merge.call({skipUndefined:!0},rr,e);const{fetch:t,Request:n,Response:i}=e,a=t?ar(t):"function"==typeof fetch,r=ar(n),o=ar(i);if(!a)return!1;const s=a&&ar(or),c=a&&("function"==typeof sr?(p=new sr,e=>p.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var p;const l=r&&s&&cr((()=>{let e=!1;const t=new n(Ni.origin,{body:new or,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),u=o&&s&&cr((()=>mi.isReadableStream(new i("").body))),d={stream:u&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!d[e]&&(d[e]=(t,n)=>{let i=t&&t[e];if(i)return i.call(t);throw new bi(`Response type '${e}' is not supported`,bi.ERR_NOT_SUPPORT,n)})}));return async e=>{let{url:a,method:o,data:s,signal:p,cancelToken:m,timeout:f,onDownloadProgress:y,onUploadProgress:v,responseType:b,headers:h,withCredentials:g="same-origin",fetchOptions:x}=Za(e),w=t||fetch;b=b?(b+"").toLowerCase():"text";let O=tr([p,m&&m.toAbortSignal()],f),j=null;const I=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let P;try{if(v&&l&&"get"!==o&&"head"!==o&&0!==(P=await(async(e,t)=>{const i=mi.toFiniteNumber(e.getContentLength());return null==i?(async e=>{if(null==e)return 0;if(mi.isBlob(e))return e.size;if(mi.isSpecCompliantForm(e)){const t=new n(Ni.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return mi.isArrayBufferView(e)||mi.isArrayBuffer(e)?e.byteLength:(mi.isURLSearchParams(e)&&(e+=""),mi.isString(e)?(await c(e)).byteLength:void 0)})(t):i})(h,s))){let e,t=new n(a,{method:"POST",body:s,duplex:"half"});if(mi.isFormData(s)&&(e=t.headers.get("content-type"))&&h.setContentType(e),t.body){const[e,n]=Ra(P,Ca(Da(v)));s=ir(t.body,65536,e,n)}}mi.isString(g)||(g=g?"include":"omit");const t=r&&"credentials"in n.prototype,p={...x,signal:O,method:o.toUpperCase(),headers:h.normalize().toJSON(),body:s,duplex:"half",credentials:t?g:void 0};j=r&&new n(a,p);let m=await(r?w(j,x):w(a,p));const f=u&&("stream"===b||"response"===b);if(u&&(y||f&&I)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=m[t]}));const t=mi.toFiniteNumber(m.headers.get("content-length")),[n,a]=y&&Ra(t,Ca(Da(y),!0))||[];m=new i(ir(m.body,65536,n,(()=>{a&&a(),I&&I()})),e)}b=b||"text";let T=await d[mi.findKey(d,b)||"text"](m,e);return!f&&I&&I(),await new Promise(((t,n)=>{aa(t,n,{data:T,headers:Zi.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:j})}))}catch(t){if(I&&I(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new bi("Network Error",bi.ERR_NETWORK,e,j),{cause:t.cause||t});throw bi.from(t,t&&t.code,e,j)}}},lr=new Map,ur=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:a}=t,r=[i,a,n];let o,s,c=r.length,p=lr;for(;c--;)o=r[c],s=p.get(o),void 0===s&&p.set(o,s=c?new Map:pr(t)),p=s;return s},dr=(ur(),{http:Xa,xhr:er,fetch:{get:ur}});mi.forEach(dr,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const mr=e=>`- ${e}`,fr=e=>mi.isFunction(e)||null===e||!1===e,yr=function(e,t){e=mi.isArray(e)?e:[e];const{length:n}=e;let i,a;const r={};for(let o=0;o<n;o++){let n;if(i=e[o],a=i,!fr(i)&&(a=dr[(n=String(i)).toLowerCase()],void 0===a))throw new bi(`Unknown adapter '${n}'`);if(a&&(mi.isFunction(a)||(a=a.get(t))))break;r[n||"#"+o]=a}if(!a){const e=Object.entries(r).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(mr).join("\n"):" "+mr(e[0]):"as no adapter specified";throw new bi("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return a};function vr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ia(null,e)}function br(e){return vr(e),e.headers=Zi.from(e.headers),e.data=ea.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yr(e.adapter||Ki.adapter,e)(e).then((function(t){return vr(e),t.data=ea.call(e,e.transformResponse,t),t.headers=Zi.from(t.headers),t}),(function(t){return ta(t)||(vr(e),t&&t.response&&(t.response.data=ea.call(e,e.transformResponse,t.response),t.response.headers=Zi.from(t.response.headers))),Promise.reject(t)}))}const hr={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{hr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const gr={};hr.transitional=function(e,t,n){function i(e,t){return"[Axios v"+ma+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,r)=>{if(!1===e)throw new bi(i(a," has been removed"+(t?" in "+t:"")),bi.ERR_DEPRECATED);return t&&!gr[a]&&(gr[a]=!0,console.warn(i(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,r)}},hr.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const xr={assertOptions:function(e,t,n){if("object"!=typeof e)throw new bi("options must be an object",bi.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const r=i[a],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new bi("option "+r+" must be "+n,bi.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new bi("Unknown option "+r,bi.ERR_BAD_OPTION)}},validators:hr},wr=xr.validators;class Or{constructor(e){this.defaults=e||{},this.interceptors={request:new ki,response:new ki}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ya(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:a}=t;void 0!==n&&xr.assertOptions(n,{silentJSONParsing:wr.transitional(wr.boolean),forcedJSONParsing:wr.transitional(wr.boolean),clarifyTimeoutError:wr.transitional(wr.boolean)},!1),null!=i&&(mi.isFunction(i)?t.paramsSerializer={serialize:i}:xr.assertOptions(i,{encode:wr.function,serialize:wr.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),xr.assertOptions(t,{baseUrl:wr.spelling("baseURL"),withXsrfToken:wr.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=a&&mi.merge(a.common,a[t.method]);a&&mi.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Zi.concat(r,a);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[br.bind(this),void 0];for(e.unshift(...o),e.push(...c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=br.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return Ei(ra((e=Ya(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}mi.forEach(["delete","get","head","options"],(function(e){Or.prototype[e]=function(t,n){return this.request(Ya(n||{},{method:e,url:t,data:(n||{}).data}))}})),mi.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,a){return this.request(Ya(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Or.prototype[e]=t(),Or.prototype[e+"Form"]=t(!0)}));const jr=Or;class Ir{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,a){n.reason||(n.reason=new ia(e,i,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Ir((function(t){e=t})),cancel:e}}}const Pr=Ir,Tr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Tr).forEach((([e,t])=>{Tr[t]=e}));const Ar=Tr,Sr=function e(t){const n=new jr(t),i=jn(jr.prototype.request,n);return mi.extend(i,jr.prototype,n,{allOwnKeys:!0}),mi.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Ya(t,n))},i}(Ki);Sr.Axios=jr,Sr.CanceledError=ia,Sr.CancelToken=Pr,Sr.isCancel=ta,Sr.VERSION=ma,Sr.toFormData=ji,Sr.AxiosError=bi,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 mi.isObject(e)&&!0===e.isAxiosError},Sr.mergeConfig=Ya,Sr.AxiosHeaders=Zi,Sr.formToJSON=e=>Wi(mi.isHTMLForm(e)?new FormData(e):e),Sr.getAdapter=yr,Sr.HttpStatusCode=Ar,Sr.default=Sr;const Er=Sr;function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Rr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function _r(e,t,n){return e.get(t,Cr({baseURL:Dr(e)},n)).then((e=>e.data),On)}function $r(e,t,n,i){return e.patch(t,n,Cr({baseURL:Dr(e)},i)).then((e=>e.data),On)}function zr(e,t,n,i){return e.post(t,n,Cr({baseURL:Dr(e)},i)).then((e=>e.data),On)}function Mr(e,t,n,i){return e.put(t,n,Cr({baseURL:Dr(e)},i)).then((e=>e.data),On)}function Fr(e,t,n){return e.delete(t,Cr({baseURL:Dr(e)},n)).then((e=>e.data),On)}const qr=["sys"];function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){Br(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Br(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Nr=(e,t,n)=>_r(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,{headers:n}),Wr=(e,t,n)=>_r(e,`/spaces/${t.spaceId}/ai/actions`,{params:t.query,headers:n}),Vr=(e,t,n,i)=>zr(e,`/spaces/${t.spaceId}/ai/actions`,n,{headers:i}),Kr=(e,t,n,i)=>{var a;const r=an(n),{sys:o}=r,s=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,qr);return Mr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,s,{headers:Lr({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Hr=(e,t,n)=>Fr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,{headers:n}),Xr=(e,t,n,i)=>Mr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}/published`,null,{headers:Lr({"X-Contentful-Version":t.version},i)}),Gr=(e,t,n)=>Fr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}/published`,{headers:n}),Jr=(e,t,n,i)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/ai/actions/${t.aiActionId}/invoke`,n,{headers:i}),Qr=(e,t,n)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/ai/actions/${t.aiActionId}/invocations/${t.invocationId}`,{headers:n}),Yr=(e,t)=>_r(e,`/users/me/access_tokens/${t.tokenId}`),Zr=(e,t)=>_r(e,"/users/me/access_tokens",{params:t.query}),eo=(e,t,n,i)=>zr(e,"/users/me/access_tokens",n,{headers:i}),to=(e,t)=>Mr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),no=(e,t)=>_r(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query});function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach((function(t){ro(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ro(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oo=(e,t)=>_r(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),so=(e,t)=>_r(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),co=(e,t,n,i)=>zr(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:i}),po=(e,t,n,i)=>Mr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:i}),lo=(e,t,n,i)=>{var a;const r=an(n);return"accessToken"in r&&delete r.accessToken,"preview_api_key"in r&&delete r.preview_api_key,"policies"in r&&delete r.policies,delete r.sys,Mr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,r,{headers:ao({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},uo=(e,t)=>Fr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),mo=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}}),fo=["spaceId"];function yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(n),!0).forEach((function(t){bo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ho(e){return e&&e.select&&!/sys/i.test(e.select)?vo(vo({},e),{},{select:e.select+",sys"}):e}function go(e){if(e&&e.spaceId){const{spaceId:t}=e;return vo(vo({},function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,fo)),{},{"sys.space.sys.id[in]":t})}return e}const xo=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,wo=e=>`${xo(e)}/${e.appActionId}`,Oo=(e,t)=>_r(e,wo(t)),jo=(e,t)=>_r(e,xo(t),{params:ho(t.query)}),Io=(e,t)=>_r(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:ho(t.query)}),Po=(e,t)=>Fr(e,wo(t)),To=(e,t,n)=>zr(e,xo(t),n),Ao=(e,t,n)=>Mr(e,wo(t),n),So=["pagePrev","pageNext"];function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach((function(t){Co(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Co(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ro=e=>(t,n,...i)=>{const a=xn(an(n));return a.items=a.items.map((n=>e(t,n,...i))),a},Do=e=>(t,n,...i)=>{const a=xn(an(n));return a.items=a.items.map((n=>e(t,n,...i))),a};function _o(e){return e<300}async function $o(e=1e3){return new Promise((t=>setTimeout(t,e)))}function zo(e){const{pagePrev:t,pageNext:n}=e;return ko(ko(ko({},function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,So)),{},{cursor:!0},t?{pagePrev:t}:null),n?{pageNext:n}:null)}function Mo(e,t){var n;if(!t)return;const i=t.indexOf("?");if(-1===i)return;const a=t.slice(i+1);return null!==(n=new URLSearchParams(a).get(e))&&void 0!==n?n:void 0}const Fo={prev:"pagePrev",next:"pageNext"},qo=["prev","next"];function Uo(e){const t={};for(const i of qo){var n;const a=Mo(Fo[i],null===(n=e.pages)||void 0===n?void 0:n[i]);a&&(t[i]=a)}return ko(ko({},e),{},{pages:t})}function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wo=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),Vo=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),Ko=async(e,t,n)=>async function(e,t,{callId:n}){let i=1;const a=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{var p,l;const d=await Vo(e,Bo(Bo({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!_o(null==d||null===(l=d.response)||void 0===l?void 0:l.statusCode)){const e=new Error("App action not found or lambda fails");s(e)}else if(_o(d.statusCode))o(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&i<r)i++,await $o(a),c();else{const e=new Error("The app action response is taking longer than expected to process.");s(e)}}catch(e){if(i++,i>r)return void s(new Error("The app action response is taking longer than expected to process."));await $o(a),c()}var u};c()}))}(e,t,{callId:(await zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),Ho=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls/${t.callId}`),Xo=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls/${t.callId}/response`),Go=async(e,t,n)=>async function(e,t,{callId:n}){let i=1;const a=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{const p=await Ho(e,Bo(Bo({},t),{},{callId:n}));"succeeded"===(null==p?void 0:p.sys.status)||"failed"===(null==p?void 0:p.sys.status)?o(p):"processing"===(null==p?void 0:p.sys.status)&&i<r?(i++,await $o(a),c()):s(new Error("The app action result is taking longer than expected to process."))}catch(e){if(i++,i>r)return void s(new Error("The app action result is taking longer than expected to process."));await $o(a),c()}};c()}))}(e,t,{callId:(await zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),Jo=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,Qo=e=>`${Jo(e)}/${e.appBundleId}`,Yo=(e,t)=>_r(e,Qo(t)),Zo=(e,t)=>_r(e,Jo(t),{params:ho(t.query)}),es=(e,t)=>Fr(e,Qo(t)),ts=(e,t,n)=>{const{appUploadId:i,comment:a,actions:r,functions:o}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:i}},comment:a,actions:r,functions:o};return zr(e,Jo(t),s)};function ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ns(Object(n),!0).forEach((function(t){as(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ns(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function as(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rs=e=>`/organizations/${e.organizationId}/app_definitions`,os=e=>rs(e)+`/${e.appDefinitionId}`,ss=(e,t)=>_r(e,os(t),{params:ho(t.query)}),cs=(e,t)=>_r(e,rs(t),{params:t.query}),ps=(e,t,n)=>{const i=an(n);return zr(e,rs(t),i)},ls=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,os(t),r,{headers:is({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},us=(e,t)=>Fr(e,os(t)),ds=(e,t)=>_r(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:is(is({},go(ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),ms=(e,t)=>_r(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),fs=(e,t,n)=>Mr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),ys=(e,t)=>Fr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),vs=(e,t)=>_r(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),bs=(e,t,n)=>Mr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),hs=(e,t)=>Fr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`);function gs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function xs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gs(Object(n),!0).forEach((function(t){ws(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ws(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Os=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,js=e=>Os(e)+`/${e.appDefinitionId}`,Is=(e,t)=>_r(e,js(t),{params:ho(t.query)}),Ps=(e,t)=>_r(e,Os(t),{params:ho(t.query)}),Ts=(e,t,n,i)=>{const a=an(n);return Mr(e,js(t),a,{headers:xs(xs({},i),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},As=(e,t)=>Fr(e,js(t)),Ss=(e,t)=>_r(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:xs(xs({},go(ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),Es=(e,t)=>_r(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),ks=(e,t)=>_r(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),Cs=(e,t,n)=>zr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),Rs=(e,t)=>Fr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Ds=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),_s=(e,t)=>_r(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),$s=(e,t,n)=>Mr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),zs=(e,t)=>Fr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`);function Ms(e,t){var n;const{hostUpload:i,defaultHostnameUpload:a,timeout:r}=e.httpClientParams;return e.cloneWithNewParams({host:i||a,timeout:null!==(n=null!=r?r:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const Fs=e=>`/organizations/${e.organizationId}/app_uploads`,qs=e=>`${Fs(e)}/${e.appUploadId}`,Us=(e,t)=>_r(Ms(e),qs(t)),Ls=(e,t)=>Fr(Ms(e),qs(t)),Bs=(e,t,n)=>{const i=Ms(e),{file:a}=n;return zr(i,Fs(t),a,{headers:{"Content-Type":"application/octet-stream"}})},Ns=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},Ws=e=>Ns(e)+`/${e.uploadId}`,Vs=(e,t,n)=>{const i=Ms(e),{file:a}=n;return a?zr(i,Ns(t),a,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},Ks=(e,t)=>Fr(Ms(e),Ws(t)),Hs=(e,t)=>_r(Ms(e),Ws(t)),Xs=["asset","locale","options"],Gs=["asset","options"];function Js(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Qs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(n),!0).forEach((function(t){Zs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zs(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ec=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,{params:ho(t.query),headers:i?Ys({},i):void 0}),tc=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets`,{params:ho(t.query),headers:i?Ys({},i):void 0}),nc=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,r,{headers:Ys({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},ic=(e,t,n,i)=>{const a=an(n);return zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets`,a,{headers:i})},ac=(e,t,n,i)=>{const a=an(n);return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,a,{headers:i})},rc=async(e,t,n)=>{const i=Ms(e,{uploadTimeout:t.uploadTimeout}),{file:a}=n.fields;return Promise.all(Object.keys(a).map((async e=>{const{contentType:n,fileName:r}=a[e];return Vs(i,t,a[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((i=>{const a=i.reduce(((e,t)=>Ys(Ys({},e),t)),{}),r=Ys(Ys({},n),{},{fields:Ys(Ys({},n.fields),{},{file:a})});return ic(e,t,r,{})})).catch(On)};async function oc(e,t,{resolve:n,reject:i,locale:a,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return ec(e,t).then((c=>{if(c.fields.file[a].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",i(e)}else s++,setTimeout((()=>oc(e,t,{resolve:n,reject:i,locale:a,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const sc=async(e,t)=>{let{asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}={}}=t,o=Js(t,Xs);return Mr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/releases/${n.sys.release.sys.id}/assets/${n.sys.id}/files/${i}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>oc(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id,releaseId:n.sys.release.sys.id},{resolve:t,reject:s,locale:i,processingCheckWait:r,processingCheckRetries:a})))))},cc=async(e,t)=>{let{asset:n,options:i={}}=t,a=Js(t,Gs);const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>sc(e,Ys(Ys({},a),{},{asset:n,locale:t,options:i})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))},pc=["asset","locale","options"],lc=["asset","options"];function uc(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(n),!0).forEach((function(t){fc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yc=(e,t,n,i)=>t.releaseId?ec(e,t):_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:ho(t.query),headers:i?mc({},i):void 0}),vc=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:ho(t.query),headers:i?mc({},i):void 0}),bc=(e,t,n,i)=>t.releaseId?tc(e,t):_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:ho(t.query),headers:i?mc({},i):void 0}),hc=(e,t,n,i)=>{var a;if(t.releaseId)return nc(e,t,n,null!=i?i:{});const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,r,{headers:mc({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},gc=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),xc=(e,t,n)=>{var i,a;const r=null!==(i=t.locales)&&void 0!==i&&i.length?{add:{fields:{"*":t.locales}}}:null;return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,r,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},wc=(e,t,n)=>{var i;if(null!==(i=t.locales)&&void 0!==i&&i.length){const i={remove:{fields:{"*":t.locales}}};return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,i,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`)},Oc=(e,t)=>Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),jc=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ic=(e,t,n)=>{if(t.releaseId)return ic(e,t,n,{});const i=an(n);return zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,i)},Pc=(e,t,n)=>{if(t.releaseId)return ac(e,t,n,{});const i=an(n);return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,i)},Tc=async(e,t,n)=>{if(t.releaseId)return rc(e,t,n,{});const i=Ms(e,{uploadTimeout:t.uploadTimeout}),{file:a}=n.fields;return Promise.all(Object.keys(a).map((async e=>{const{contentType:n,fileName:r}=a[e];return Vs(i,t,a[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((i=>{const a=i.reduce(((e,t)=>mc(mc({},e),t)),{}),r=mc(mc({},n),{},{fields:mc(mc({},n.fields),{},{file:a})});return Ic(e,t,r)})).catch(On)};async function Ac(e,t,{resolve:n,reject:i,locale:a,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return yc(e,t).then((c=>{if(c.fields.file[a].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",i(e)}else s++,setTimeout((()=>Ac(e,t,{resolve:n,reject:i,locale:a,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const Sc=async(e,t)=>{let{asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}={}}=t,o=uc(t,pc);return n.sys.release?sc(e,mc({asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}},o)):Mr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/assets/${n.sys.id}/files/${i}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Ac(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:i,processingCheckWait:r,processingCheckRetries:a})))))},Ec=async(e,t)=>{let{asset:n,options:i={}}=t,a=uc(t,lc);if(n.sys.release)return cc(e,mc({asset:n,options:i},a));const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>Sc(e,mc(mc({},a),{},{asset:n,locale:t,options:i})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))};class kc extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const Cc=(e,t,n)=>{const i=n.expiresAt,a=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new kc(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new kc(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new kc(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",i,{maximum:a+172800,now:a});const r={expiresAt:i};return zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,r)},Rc=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),Dc=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),_c=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),$c=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),zc=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/${t.bulkActionId}`),Mc=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),Fc=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),qc=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),Uc=["version"];function Lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lc(Object(n),!0).forEach((function(t){Nc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wc="X-Contentful-Version",Vc="x-contentful-comment-body-format",Kc="x-contentful-parent-entity-reference",Hc="x-contentful-parent-id",Xc=e=>`${Gc(e)}/${e.commentId}`,Gc=e=>{const t="entryId"in e?{spaceId:e.spaceId,environmentId:e.environmentId,parentEntityType:"Entry",parentEntityId:e.entryId}:e,{parentEntityId:n,parentEntityType:i}=t,a=function(e){switch(e){case"ContentType":return"content_types";case"Entry":return"entries";case"Workflow":return"workflows"}}(i),r="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${a}/${n}${r}/comments`},Jc=(e,t)=>_r(e,Xc(t),{headers:"rich-text"===t.bodyFormat?{[Vc]:t.bodyFormat}:{}}),Qc=(e,t)=>_r(e,Gc(t),{params:ho(t.query),headers:"rich-text"===t.bodyFormat?{[Vc]:t.bodyFormat}:{}}),Yc=(e,t,n)=>{const i=an(n);return zr(e,Gc(t),i,{headers:Bc(Bc(Bc({},"string"!=typeof n.body?{[Vc]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[Kc]:t.parentEntityReference}:{}),t.parentCommentId?{[Hc]:t.parentCommentId}:{})})},Zc=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,Xc(t),r,{headers:Bc(Bc({[Wc]:null!==(a=n.sys.version)&&void 0!==a?a:0},"string"!=typeof n.body?{[Vc]:"rich-text"}:{}),i)})},ep=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Uc);return Fr(e,Xc(i),{headers:{[Wc]:n}})},tp=Qc;function np(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ip(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?np(Object(n),!0).forEach((function(t){ap(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):np(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ap(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(e){return`/organizations/${e}/taxonomy/concepts`}const op=(e,t,n)=>zr(e,rp(t.organizationId),n),sp=(e,t,n)=>Mr(e,`${rp(t.organizationId)}/${t.conceptId}`,n),cp=(e,t,n,i)=>$r(e,`${rp(t.organizationId)}/${t.conceptId}`,n,{headers:ip({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),pp=(e,t,n,i)=>$r(e,`${rp(t.organizationId)}/${t.conceptId}`,n,{headers:ip({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),lp=(e,t,n,i)=>Mr(e,`${rp(t.organizationId)}/${t.conceptId}`,n,{headers:ip({"X-Contentful-Version":t.version},i)}),up=(e,t)=>_r(e,`${rp(t.organizationId)}/${t.conceptId}`),dp=(e,t,n)=>{var i;return Fr(e,`${rp(t.organizationId)}/${t.conceptId}`,{headers:ip({"X-Contentful-Version":null!==(i=t.version)&&void 0!==i?i:0},n)})},mp=(e,t)=>{const{url:n,queryParams:i}=bp("",t);return _r(e,n,{params:i})},fp=(e,t)=>{const{url:n,queryParams:i}=bp(`/${t.conceptId}/descendants`,t);return _r(e,n,{params:i})},yp=(e,t)=>{const{url:n,queryParams:i}=bp(`/${t.conceptId}/ancestors`,t);return _r(e,n,{params:i})},vp=(e,t)=>_r(e,`${rp(t.organizationId)}/total`);function bp(e,t){var n,i;return null!==(n=t.query)&&void 0!==n&&n.pageUrl?{url:null===(i=t.query)||void 0===i?void 0:i.pageUrl}:{url:`${rp(t.organizationId)}${e}`,queryParams:t.query}}function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function gp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hp(Object(n),!0).forEach((function(t){xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wp(e){return`/organizations/${e}/taxonomy/concept-schemes`}const Op=(e,t)=>_r(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`),jp=(e,t,n)=>Fr(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`,{headers:gp({"X-Contentful-Version":t.version},n)}),Ip=(e,t)=>{var n,i,a;return _r(e,null!==(n=null===(i=t.query)||void 0===i?void 0:i.pageUrl)&&void 0!==n?n:wp(t.organizationId),{params:null!==(a=t.query)&&void 0!==a&&a.pageUrl?void 0:t.query})},Pp=(e,t)=>_r(e,`${wp(t.organizationId)}/total`),Tp=(e,t,n)=>zr(e,wp(t.organizationId),n),Ap=(e,t,n)=>Mr(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`,n),Sp=(e,t,n,i)=>$r(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:gp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),Ep=(e,t,n,i)=>$r(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:gp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),kp=(e,t,n,i)=>Mr(e,`${wp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:gp({"X-Contentful-Version":t.version},i)});function Cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Rp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cp(Object(n),!0).forEach((function(t){Dp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _p=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types`,$p=e=>_p(e)+`/${e.contentTypeId}`,zp=(e,t,n)=>_r(e,$p(t),{params:ho(t.query),headers:n}),Mp=(e,t,n)=>_r(e,_p(t),{params:t.query,headers:n}),Fp=(e,t,n,i)=>{const a=an(n);return zr(e,_p(t),a,{headers:i})},qp=(e,t,n,i)=>{const a=an(n);return Mr(e,$p(t),a,{headers:i})},Up=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,$p(t),r,{headers:Rp({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Lp=(e,t,n)=>Fr(e,$p(t),{headers:n}),Bp=(e,t,n,i)=>Mr(e,$p(t)+"/published",null,{headers:Rp({"X-Contentful-Version":n.sys.version},i)}),Np=(e,t,n)=>Fr(e,$p(t)+"/published",{headers:n});function Wp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Vp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wp(Object(n),!0).forEach((function(t){Kp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hp=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,Xp=(e,t)=>_r(e,Hp(t)),Gp=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),Jp=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,Hp(t),r,{headers:Vp({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})};function Qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Yp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qp(Object(n),!0).forEach((function(t){Zp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const el=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,{params:ho(t.query),headers:Yp({},i)}),tl=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries`,{params:ho(t.query),headers:Yp({},i)}),nl=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,r,{headers:Yp({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},il=(e,t,n,i)=>$r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,n,{headers:Yp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),al=(e,t,n,i)=>{const a=an(n);return zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries`,a,{headers:Yp({"X-Contentful-Content-Type":t.contentTypeId},i)})},rl=(e,t,n,i)=>{const a=an(n);return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,a,{headers:Yp({"X-Contentful-Content-Type":t.contentTypeId},i)})};function ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function sl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ol(Object(n),!0).forEach((function(t){cl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ol(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pl=(e,t,n,i)=>t.releaseId?el(e,t):_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:ho(t.query),headers:sl({},i)}),ll=(e,t,n,i)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:ho(t.query),headers:sl({},i)}),ul=(e,t,n,i)=>t.releaseId?tl(e,t):_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:ho(t.query),headers:sl({},i)}),dl=(e,t,n,i)=>t.releaseId?il(e,t,n,null!=i?i:{}):$r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:sl({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),ml=(e,t,n,i)=>{var a;if(t.releaseId)return nl(e,t,n,null!=i?i:{});const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,r,{headers:sl({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},fl=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),yl=(e,t,n)=>{var i;const a=null!==(i=t.locales)&&void 0!==i&&i.length?{add:{fields:{"*":t.locales}}}:null;return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,a,{headers:{"X-Contentful-Version":n.sys.version}})},vl=(e,t,n)=>{var i;if(null!==(i=t.locales)&&void 0!==i&&i.length){const i={remove:{fields:{"*":t.locales}}};return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,i,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`)},bl=(e,t)=>Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),hl=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),gl=(e,t,n)=>{if(t.releaseId)return al(e,t,n,{});const i=an(n);return zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,i,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},xl=(e,t,n)=>{if(t.releaseId)return rl(e,t,n,{});const i=an(n);return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,i,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},wl=(e,t)=>{const{spaceId:n,environmentId:i,entryId:a,include:r}=t;return _r(e,`/spaces/${n}/environments/${i}/entries/${a}/references?include=${r||2}`)};function Ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ol(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Il(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pl=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),Tl=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),Al=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,r,{headers:jl(jl({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Sl=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),El=(e,t,n,i)=>{const a=an(n);return zr(e,`/spaces/${t.spaceId}/environments`,a,{headers:i})},kl=(e,t,n,i)=>{const a=an(n);return Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,a,{headers:jl(jl({},i),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function Cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Rl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cl(Object(n),!0).forEach((function(t){Dl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _l=e=>`/spaces/${e.spaceId}/environment_aliases`,$l=e=>_l(e)+`/${e.environmentAliasId}`,zl=(e,t)=>_r(e,$l(t)),Ml=(e,t)=>_r(e,_l(t),{params:t.query}),Fl=(e,t,n,i)=>{const a=an(n);return Mr(e,$l(t),a,{headers:i})},ql=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,$l(t),r,{headers:Rl(Rl({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Ul=(e,t)=>Fr(e,$l(t));function Ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(n),!0).forEach((function(t){Nl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ll(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wl=(e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),Vl=(e,{organizationId:t,environmentTemplateId:n,version:i,query:a={}},r)=>_r(e,i?Wl(t,n,"versions",i):Wl(t,n),{params:a,headers:r}),Kl=(e,{organizationId:t,query:n={}},i)=>_r(e,Wl(t),{params:n,headers:i}),Hl=(e,{organizationId:t},n,i)=>zr(e,Wl(t),n,{headers:i}),Xl=(e,{organizationId:t,environmentTemplateId:n},i,a)=>{var r;const o=an(i);return delete o.sys,Mr(e,Wl(t,n),o,{headers:Bl({"X-Contentful-Version":null!==(r=i.sys.version)&&void 0!==r?r:0},a)})},Gl=(e,{organizationId:t,version:n,environmentTemplateId:i},a,r)=>$r(e,Wl(t,i,"versions",n),a,{headers:r}),Jl=(e,{organizationId:t,environmentTemplateId:n},i)=>Fr(e,Wl(t,n),{headers:i}),Ql=(e,{organizationId:t,environmentTemplateId:n,query:i={}},a)=>_r(e,Wl(t,n,"versions"),{params:i,headers:a}),Yl=(e,{spaceId:t,environmentId:n,environmentTemplateId:i,version:a},r,o)=>Mr(e,a?`/spaces/${t}/environments/${n}/template_installations/${i}/versions/${a}/validated`:`/spaces/${t}/environments/${n}/template_installations/${i}/validated`,r,{headers:o}),Zl=(e,{spaceId:t,environmentId:n,environmentTemplateId:i},a,r)=>zr(e,`/spaces/${t}/environments/${n}/template_installations/${i}/versions`,a,{headers:r}),eu=(e,{spaceId:t,environmentId:n,environmentTemplateId:i},a)=>Fr(e,`/spaces/${t}/environments/${n}/template_installations/${i}`,{headers:a}),tu=["organizationId","environmentTemplateId","spaceId","environmentId"],nu=["spaceId","environmentId","environmentTemplateId","installationId"];function iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function au(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iu(Object(n),!0).forEach((function(t){ru(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ru(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const su=(e,t,n)=>{let{organizationId:i,environmentTemplateId:a,spaceId:r,environmentId:o}=t,s=ou(t,tu);return _r(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(i,a,"template_installations"),{params:au(au(au({},s),o&&{"environment.sys.id":o}),r&&{"space.sys.id":r}),headers:n})},cu=(e,t,n)=>{let{spaceId:i,environmentId:a,environmentTemplateId:r,installationId:o}=t,s=ou(t,nu);return _r(e,`/spaces/${i}/environments/${a}/template_installations/${r}`,{params:au(au({},o&&{"sys.id":o}),s),headers:n})};function pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function lu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pu(Object(n),!0).forEach((function(t){uu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const du=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,mu=e=>du(e)+`/${e.extensionId}`,fu=(e,t)=>_r(e,mu(t),{params:ho(t.query)}),yu=(e,t)=>_r(e,du(t),{params:ho(t.query)}),vu=(e,t,n,i)=>zr(e,du(t),n,{headers:i}),bu=(e,t,n,i)=>{const a=an(n);return Mr(e,mu(t),a,{headers:i})},hu=async(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,mu(t),r,{headers:lu({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},gu=(e,t)=>Fr(e,mu(t)),xu=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/functions`,wu=(e,t)=>_r(e,(e=>`${xu(e)}/${e.functionId}`)(t)),Ou=(e,t)=>_r(e,xu(t),{params:t.query}),ju=(e,t)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions`)(t),{params:t.query});function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach((function(t){Tu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Au={"x-contentful-enable-alpha-feature":"function-logs"},Su=(e,t)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs/${e.logId}`)(t),{headers:Pu({},Au)}),Eu=(e,t)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs`)(t),{params:t.query,headers:Pu({},Au)}),ku=(e,{url:t,config:n})=>_r(e,t,n),Cu=(e,{url:t,config:n},i)=>zr(e,t,i,n),Ru=(e,{url:t,config:n},i)=>Mr(e,t,i,n),Du=(e,{url:t,config:n},i)=>$r(e,t,i,n),_u=(e,{url:t,config:n})=>Fr(e,t,n),$u=(e,{url:t,config:n})=>function(e,t,n){return e(t,Cr({baseURL:Dr(e)},n)).then((e=>e.data),On)}(e,t,n);function zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zu(Object(n),!0).forEach((function(t){Fu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qu=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Uu=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:ho(t.query)}),Lu=(e,t,n,i)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:i}),Bu=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,delete r.default,Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,r,{headers:Mu(Mu({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Nu=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Wu=(e,t)=>_r(e,"/organizations",{params:null==t?void 0:t.query}),Vu=(e,t)=>Wu(e,{query:{limit:100}}).then((e=>{const n=e.items.find((e=>e.sys.id===t.organizationId));if(!n){const n=new Error(`No organization was found with the ID ${t.organizationId} instead got ${JSON.stringify(e)}`);return n.status=404,n.statusText="Not Found",Promise.reject(n)}return n}));function Ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ku(Object(n),!0).forEach((function(t){Xu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ku(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gu={"x-contentful-enable-alpha-feature":"organization-user-management-api"},Ju={"x-contentful-enable-alpha-feature":"pending-org-membership"},Qu=(e,t,n,i)=>zr(e,`/organizations/${t.organizationId}/invitations`,n,{headers:Hu(Hu({},Ju),i)}),Yu=(e,t,n)=>_r(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:Hu(Hu({},Gu),n)});function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zu(Object(n),!0).forEach((function(t){td(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function td(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nd=e=>`/organizations/${e.organizationId}/organization_memberships`,id=e=>`${nd(e)}/${e.organizationMembershipId}`,ad=(e,t)=>_r(e,id(t)),rd=(e,t)=>_r(e,nd(t),{params:t.query}),od=(e,t,n,i)=>{var a;const r=an(n);delete r.sys;const{role:o}=r;return Mr(e,id(t),{role:o},{headers:ed(ed({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},sd=(e,t)=>Fr(e,id(t)),cd=(e,t)=>_r(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),pd=(e,t)=>_r(e,`/users/${t.userId}/oauth_applications`,{params:t.query}),ld=(e,t,n,i)=>zr(e,`/users/${t.userId}/oauth_applications`,n,{headers:i}),ud=(e,t,n,i)=>Mr(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`,n,{headers:i}),dd=(e,t)=>Fr(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),md=(e,t)=>_r(e,`/users/me/access_tokens/${t.tokenId}`),fd=(e,t)=>_r(e,"/users/me/access_tokens",{params:t.query}),yd=(e,t,n,i)=>zr(e,"/users/me/access_tokens",n,{headers:i}),vd=(e,t)=>Mr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),bd=(e,t)=>_r(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),hd=(e,t)=>_r(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gd(Object(n),!0).forEach((function(t){wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Od=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),jd=(e,t)=>{var n,i,a;const r=null!==(n=null!==(i=null===(a=t.query)||void 0===a?void 0:a["sys.schemaVersion"])&&void 0!==i?i:t.releaseSchemaVersion)&&void 0!==n?n:void 0;return void 0!==r&&(t.query=xd(xd({},t.query),{},{"sys.schemaVersion":r})),_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query})},Id=(e,t,n)=>{var i,a;return"Release.v2"===(null!==(i=null===(a=n.sys)||void 0===a?void 0:a.schemaVersion)&&void 0!==i?i:t.releaseSchemaVersion)&&(n.sys=xd(xd({},n.sys),{},{type:"Release",schemaVersion:"Release.v2"})),zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n)},Pd=(e,t,n,i)=>{var a,r;return"Release.v2"===(null!==(a=null===(r=n.sys)||void 0===r?void 0:r.schemaVersion)&&void 0!==a?a:t.releaseSchemaVersion)&&(n.sys=xd(xd({},n.sys),{},{type:"Release",schemaVersion:"Release.v2"})),Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:xd({"X-Contentful-Version":t.version},i)})},Td=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),Ad=(e,t,n)=>Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:xd({"X-Contentful-Version":t.version},n)}),Sd=(e,t,n)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:xd({"X-Contentful-Version":t.version},n)}),Ed=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),kd=(e,t)=>Mr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),Cd=(e,t)=>Fr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function Rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Dd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(n),!0).forEach((function(t){_d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _d(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $d=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),zd=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Md=(e,t)=>_r(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Dd({"sys.release.sys.id[in]":t.releaseId},t.query)}),Fd=(e,t)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types/${e.resourceTypeId}/resources`)(t),{params:t.query}),qd=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Ud=(e,t)=>_r(e,qd(t)),Ld=(e,t,n,i)=>Mr(e,qd(t),n,{headers:i}),Bd=(e,t)=>Fr(e,qd(t)),Nd=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider/resource_types`,Wd=e=>`${Nd(e)}/${e.resourceTypeId}`,Vd=(e,t)=>_r(e,Wd(t)),Kd=(e,t,n,i)=>{const a=an(n);return Mr(e,Wd(t),a,{headers:i})},Hd=(e,t)=>Fr(e,Wd(t)),Xd=(e,t)=>_r(e,Nd(t)),Gd=(e,t)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types`)(t));function Jd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Qd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jd(Object(n),!0).forEach((function(t){Yd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zd=(e,t)=>_r(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),em=(e,t)=>_r(e,`/spaces/${t.spaceId}/roles`,{params:ho(t.query)}),tm=(e,t)=>_r(e,`/organizations/${t.organizationId}/roles`,{params:ho(t.query)}),nm=(e,t,n,i)=>zr(e,`/spaces/${t.spaceId}/roles`,n,{headers:i}),im=(e,t,n,i)=>Mr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:i}),am=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,r,{headers:Qd(Qd({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},rm=(e,t)=>Fr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),om=(e,t)=>_r(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),sm=(e,t)=>_r(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:ho(t.query)}),cm=(e,t,n)=>zr(e,`/spaces/${t.spaceId}/scheduled_actions`,n),pm=(e,t)=>Fr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),lm=(e,t,n)=>{var i;return Mr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,n,{params:{"environment.sys.id":null===(i=n.environment)||void 0===i?void 0:i.sys.id},headers:{"X-Contentful-Version":t.version}})},um=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,dm=(e,t)=>_r(e,um(t),{params:ho(t.query)}),mm=(e,t)=>_r(e,(e=>um(e)+`/${e.snapshotId}`)(t)),fm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,ym=(e,t)=>_r(e,fm(t),{params:ho(t.query)}),vm=(e,t)=>_r(e,(e=>fm(e)+`/${e.snapshotId}`)(t));function bm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function hm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bm(Object(n),!0).forEach((function(t){gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xm=(e,t)=>_r(e,`/spaces/${t.spaceId}`),wm=(e,t)=>_r(e,"/spaces",{params:t.query}),Om=(e,t)=>_r(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),jm=(e,t,n,i)=>zr(e,"/spaces",n,{headers:t.organizationId?hm(hm({},i),{},{"X-Contentful-Organization":t.organizationId}):i}),Im=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,`/spaces/${t.spaceId}`,r,{headers:hm({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Pm=(e,t)=>Fr(e,`/spaces/${t.spaceId}`),Tm=(e,t)=>_r(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),Am=(e,t)=>_r(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function Sm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Em(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sm(Object(n),!0).forEach((function(t){km(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function km(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cm(){console.warn("The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)")}const Rm=e=>`/spaces/${e.spaceId}/space_memberships`,Dm=e=>`${Rm(e)}/${e.spaceMembershipId}`,_m=(e,t)=>(Cm(),_r(e,Dm(t))),$m=(e,t)=>(Cm(),_r(e,Rm(t),{params:t.query})),zm=(e,t)=>_r(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),Mm=(e,t)=>_r(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Fm=(e,t,n,i)=>(Cm(),zr(e,Rm(t),n,{headers:i})),qm=(e,t,n,i)=>(Cm(),Mr(e,Dm(t),n,{headers:i})),Um=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,Dm(t),r,{headers:Em(Em({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Lm=(e,t)=>Fr(e,Dm(t)),Bm=["version"];function Nm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Wm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nm(Object(n),!0).forEach((function(t){Vm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Km=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,Hm=e=>Km(e)+`/${e.tagId}`,Xm=(e,t)=>_r(e,Hm(t)),Gm=(e,t)=>_r(e,Km(t),{params:t.query}),Jm=(e,t,n)=>{var i;const a=an(n);return Mr(e,Hm(t),a,{headers:{"X-Contentful-Tag-Visibility":null!==(i=n.sys.visibility)&&void 0!==i?i:"private"}})},Qm=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,Hm(t),r,{headers:Wm({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Ym=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Bm);return Fr(e,Hm(i),{headers:{"X-Contentful-Version":n}})},Zm=["version"];function ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(n),!0).forEach((function(t){nf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ef(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const af=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/tasks`,rf=e=>`${af(e)}/${e.taskId}`,of=(e,t)=>_r(e,rf(t)),sf=(e,t)=>_r(e,af(t),{params:ho(t.query)}),cf=sf,pf=(e,t,n)=>{const i=an(n);return zr(e,af(t),i)},lf=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,rf(t),r,{headers:tf({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},uf=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Zm);return Fr(e,rf(i),{headers:{"X-Contentful-Version":n}})};function df(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?df(Object(n),!0).forEach((function(t){ff(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):df(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ff(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yf=e=>`/organizations/${e.organizationId}/teams`,vf=e=>`${yf(e)}/${e.teamId}`,bf=(e,t)=>_r(e,vf(t)),hf=(e,t)=>_r(e,yf(t),{params:ho(t.query)}),gf=(e,t)=>_r(e,`/spaces/${t.spaceId}/teams`,{params:ho(t.query)}),xf=(e,t,n,i)=>zr(e,yf(t),n,{headers:i}),wf=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,vf(t),r,{headers:mf({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Of=(e,t)=>Fr(e,vf(t));function jf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function If(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jf(Object(n),!0).forEach((function(t){Pf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Tf=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,Af=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,Sf=(e,t)=>_r(e,Af(t)),Ef=(e,t)=>_r(e,`/organizations/${t.organizationId}/team_memberships`,{params:ho(t.query)}),kf=(e,t)=>_r(e,Tf(t),{params:ho(t.query)}),Cf=(e,t,n,i)=>zr(e,Tf(t),n,{headers:i}),Rf=(e,t,n,i)=>{const a=an(n);return delete a.sys,Mr(e,Af(t),a,{headers:If({"X-Contentful-Version":n.sys.version||0},i)})},Df=(e,t)=>Fr(e,Af(t));function _f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_f(Object(n),!0).forEach((function(t){zf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mf=e=>`/spaces/${e.spaceId}/team_space_memberships`,Ff=e=>`${Mf(e)}/${e.teamSpaceMembershipId}`,qf=(e,t)=>_r(e,Ff(t)),Uf=(e,t)=>_r(e,Mf(t),{params:t.query}),Lf=(e,t)=>_r(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),Bf=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),_r(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},Nf=(e,t,n,i)=>zr(e,Mf(t),n,{headers:$f({"x-contentful-team":t.teamId},i)}),Wf=(e,t,n,i)=>{const a=an(n);return delete a.sys,Mr(e,Ff(t),a,{headers:$f({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},i)})},Vf=(e,t)=>Fr(e,Ff(t)),Kf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,Hf=(e,t)=>_r(e,Kf(t)),Xf=(e,t,n)=>{var i;const a=an(n);return delete a.sys,Mr(e,Kf(t),a,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})},Gf=(e,t)=>{const n=Ms(e),i=(e=>{var t;return`/spaces/${e.spaceId}/environments/${null!==(t=e.environmentId)&&void 0!==t?t:"master"}/upload_credentials`})(t);return zr(n,i)},Jf=(e,t)=>_r(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),Qf=(e,t)=>_r(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),Yf=(e,t)=>_r(e,`/spaces/${t.spaceId}/users/${t.userId}`),Zf=(e,t)=>_r(e,"/users/me",{params:null==t?void 0:t.query}),ey=(e,t)=>_r(e,`/spaces/${t.spaceId}/users`,{params:t.query}),ty=(e,t)=>_r(e,`/organizations/${t.organizationId}/users/${t.userId}`),ny=(e,t)=>_r(e,`/organizations/${t.organizationId}/users`,{params:t.query}),iy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,ay=(e,t)=>_r(e,iy(t)),ry=(e,t,n)=>{var i;const a=an(n);return delete a.sys,Mr(e,iy(t),a,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})};function oy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function sy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oy(Object(n),!0).forEach((function(t){cy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const py=e=>`/spaces/${e.spaceId}/webhook_definitions`,ly=e=>`/spaces/${e.spaceId}/webhooks`,uy=e=>`${py(e)}/${e.webhookDefinitionId}`,dy=e=>`/spaces/${e.spaceId}/webhook_settings`,my=e=>`${dy(e)}/signing_secret`,fy=e=>`${dy(e)}/retry_policy`,yy=(e,t)=>_r(e,uy(t)),vy=(e,t)=>_r(e,(e=>`${ly(e)}/${e.webhookDefinitionId}/calls`)(t),{params:ho(t.query)}),by=(e,t)=>_r(e,(e=>`${ly(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),hy=(e,t)=>_r(e,(e=>`${ly(e)}/${e.webhookDefinitionId}/health`)(t)),gy=(e,t)=>_r(e,py(t),{params:ho(t.query)}),xy=(e,t)=>_r(e,my(t)),wy=(e,t)=>_r(e,fy(t)),Oy=(e,t,n,i)=>{const a=an(n);return zr(e,py(t),a,{headers:i})},jy=(e,t,n,i)=>{const a=an(n);return Mr(e,uy(t),a,{headers:i})},Iy=async(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,uy(t),r,{headers:sy({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Py=async(e,t,n)=>{const i=an(n);return Mr(e,my(t),i)},Ty=async(e,t,n)=>{const i=an(n);return Mr(e,fy(t),i)},Ay=(e,t)=>Fr(e,uy(t)),Sy=async(e,t)=>Fr(e,my(t)),Ey=async(e,t)=>Fr(e,fy(t)),ky=["version"],Cy=["version"];function Ry(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dy(Object(n),!0).forEach((function(t){$y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $y(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,My=e=>`${zy(e)}/${e.workflowId}`,Fy=(e,t,n)=>_r(e,zy(t),{headers:n,params:t.query}),qy=(e,t,n)=>_r(e,My(t),{headers:n}),Uy=(e,t,n,i)=>{const a=an(n);return zr(e,zy(t),a,{headers:i})},Ly=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,My(t),r,{headers:_y({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},By=(e,t,n)=>{let{version:i}=t,a=Ry(t,ky);return Fr(e,My(a),{headers:_y({"X-Contentful-Version":i},n)})},Ny=(e,t,n)=>{let{version:i}=t;return Mr(e,(a=Ry(t,Cy),`${My(a)}/complete`),null,{headers:_y({"X-Contentful-Version":i},n)});var a},Wy=["version"];function Vy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ky(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vy(Object(n),!0).forEach((function(t){Hy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,Gy=e=>`${Xy(e)}/${e.workflowDefinitionId}`,Jy=(e,t,n)=>_r(e,Gy(t),{headers:n}),Qy=(e,t,n)=>_r(e,Xy(t),{headers:n,params:t.query}),Yy=(e,t,n,i)=>{const a=an(n);return zr(e,Xy(t),a,{headers:i})},Zy=(e,t,n,i)=>{var a;const r=an(n);return delete r.sys,Mr(e,Gy(t),r,{headers:Ky({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},ev=(e,t,n)=>{let{version:i}=t,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Wy);return Fr(e,Gy(a),{headers:Ky({"X-Contentful-Version":i},n)})},tv=(e,t,n)=>_r(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),nv={AiAction:t,AiActionInvocation:a,ApiKey:o,AppAction:c,AppActionCall:p,AppBundle:l,AppDefinition:u,AppInstallation:f,AppUpload:h,AppSignedRequest:v,AppSigningSecret:b,AppEventSubscription:m,AppKey:y,AppAccessToken:s,AppDetails:d,Asset:w,AssetKey:O,BulkAction:j,Comment:I,Concept:P,ConceptScheme:T,ContentType:A,EditorInterface:S,Entry:k,Environment:C,EnvironmentAlias:R,EnvironmentTemplate:D,EnvironmentTemplateInstallation:_,Extension:$,Function:z,FunctionLog:M,Http:F,Locale:q,Organization:U,OrganizationInvitation:L,OrganizationMembership:B,OAuthApplication:N,PersonalAccessToken:W,AccessToken:r,PreviewApiKey:V,Release:K,ReleaseAsset:x,ReleaseEntry:E,ReleaseAction:H,Resource:X,ResourceProvider:G,ResourceType:J,Role:Q,ScheduledAction:Y,Snapshot:Z,Space:ee,SpaceMember:te,SpaceMembership:ne,Tag:ie,Task:ae,Team:re,TeamMembership:oe,TeamSpaceMembership:se,UIConfig:ce,Upload:g,UploadCredential:pe,Usage:le,User:ue,UserUIConfig:de,Webhook:me,WorkflowDefinition:ye,Workflow:fe,WorkflowsChangelog:ve};function iv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function av(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iv(Object(n),!0).forEach((function(t){rv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ov=async({axiosInstance:e,entityType:t,action:n,params:i,payload:a,headers:r,userAgent:o})=>{var s;const c=null===(s=nv[t])||void 0===s?void 0:s["delete"===n?"del":n];if(void 0===c)throw new Error("Unknown endpoint");return await c(e,i,a,av(av({},r),o?{"X-Contentful-User-Agent":o}:{}))};function sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sv(Object(n),!0).forEach((function(t){pv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lv={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class uv{constructor(e){if(pv(this,"params",void 0),pv(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");const t=an(e);t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,this.params=cv(cv({},lv),t),this.axiosInstance=yn(Er,cv(cv({},this.params),{},{headers:cv(cv({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest(e){return ov(cv(cv({},e),{},{axiosInstance:this.axiosInstance}))}}function dv(e,t){return Object.keys(t).reduce(((e,n)=>(Object.defineProperty(e,n,{enumerable:!1,configurable:!0,writable:!1,value:t[n]}),e)),e)}const mv={RichText:"RichText",Markdown:"Markdown",PlainText:"PlainText"};function fv(e,t){return hn(xn(an(t)))}const yv=Ro(fv);function vv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,aiActionId:e.sys.id});return{update:function(){return e({entityType:"AiAction",action:"update",params:t(this),payload:this}).then((t=>vv(e,t)))},delete:function(){return e({entityType:"AiAction",action:"delete",params:t(this)})},publish:function(){const t=this;return e({entityType:"AiAction",action:"publish",params:{aiActionId:t.sys.id,spaceId:t.sys.space.sys.id,version:t.sys.version}}).then((t=>vv(e,t)))},unpublish:function(){return e({entityType:"AiAction",action:"unpublish",params:t(this)}).then((t=>vv(e,t)))},invoke:function(t,n){return e({entityType:"AiAction",action:"invoke",params:{spaceId:this.sys.space.sys.id,environmentId:t,aiActionId:this.sys.id},payload:n}).then((e=>fv(0,e)))}}}(e));return hn(n)}const bv=Ro(vv);function hv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>{var t,n;return{spaceId:null!==(t=null===(n=e.sys.space)||void 0===n?void 0:n.sys.id)&&void 0!==t?t:"",apiKeyId:e.sys.id}};return{update:function(){return e({entityType:"ApiKey",action:"update",params:t(this),payload:this,headers:{}}).then((t=>hv(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return hn(n)}const gv=Ro(hv);function xv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appActionId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:t(n)})}}}(e));return hn(n)}const wv=Ro(xv);function Ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ov(Object(n),!0).forEach((function(t){Iv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ov(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Iv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pv(e,t){return{createWithResponse:function(n,i){return e({entityType:"AppActionCall",action:"createWithResponse",params:jv(jv({},n),t),payload:i}).then((t=>Av(e,t)))},getCallDetails:function(t){return e({entityType:"AppActionCall",action:"getCallDetails",params:t}).then((t=>Av(e,t)))},get:function(t){return e({entityType:"AppActionCall",action:"get",params:t}).then((t=>Tv(e,t)))},createWithResult:function(n,i){return e({entityType:"AppActionCall",action:"createWithResult",params:jv(jv({},n),t),payload:i}).then((t=>Tv(e,t)))}}}function Tv(e,t){return dv(xn(an(t)),Pv(e))}function Av(e,t,n){return dv(xn(an(t)),Pv(e,n))}function Sv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appBundleId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppBundle",action:"delete",params:t(n)})}}}(e));return hn(n)}const Ev=Ro(Sv);function kv(e,t){const n=dv(xn(an(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=Mg.appBundle,{wrapResourceProvider:i}=Mg.resourceProvider,a=e=>({appDefinitionId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"update",params:a(t),headers:{},payload:t}).then((t=>kv(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"delete",params:a(t)})},getAppBundle(n){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"get",params:{appBundleId:n,appDefinitionId:i.sys.id,organizationId:i.sys.organization.sys.id}}).then((n=>t(e,n)))},getAppBundles(t={}){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"getMany",params:{organizationId:i.sys.organization.sys.id,appDefinitionId:i.sys.id,query:t}}).then((t=>n(e,t)))},createAppBundle(n){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"create",params:{appDefinitionId:i.sys.id,organizationId:i.sys.organization.sys.id},payload:n}).then((n=>t(e,n)))},getInstallationsForOrg(t={}){const n=this.toPlainObject();return e({entityType:"AppDefinition",action:"getInstallationsForOrg",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id,query:t}})},upsertResourceProvider(t){const n=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id},payload:t}).then((t=>i(e,t)))},getResourceProvider(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"get",params:{appDefinitionId:t.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>i(e,t)))}}}(e));return hn(n)}const Cv=Ro(kv);function Rv(e,t){return dv(xn(an(t)),function(e){return{delete:function(){return e({entityType:"AppDetails",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Dv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,appDefinitionId:e.sys.appDefinition.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:t(n),headers:{},payload:n}).then((t=>Dv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return hn(n)}const _v=Ro(Dv);function $v(e,t){return xn(an(t))}function zv(e,t){return dv(xn(an(t)),function(e){return{delete:function(){return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Mv(e,t){return dv(xn(an(t)),function(e){return{delete:function(){return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Fv(e,t){return dv(xn(an(t)),function(e){return{delete:function(){return e({entityType:"AppKey",action:"delete",params:(t=this,{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,fingerprint:t.sys.id})});var t}}}(e))}const qv=Ro(Fv);function Uv(e,t){return hn(xn(an(t)))}function Lv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appUploadId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"delete",params:t(n)})}}}(e));return hn(n)}const Bv=Ro(Lv),Nv=e=>!!e.sys.publishedVersion,Wv=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),Vv=e=>!e.sys.publishedVersion,Kv=e=>!!e.sys.archivedVersion;function Hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Xv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hv(Object(n),!0).forEach((function(t){Gv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jv(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,assetId:e.sys.id});return{processForLocale:function(n,i){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForLocale",params:Xv(Xv({},t(a)),{},{locale:n,options:i,asset:a})}).then((t=>Jv(e,t)))},processForAllLocales:function(n){const i=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:Xv(Xv({},t(i)),{},{asset:i,options:n})}).then((t=>Jv(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>Jv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"delete",params:t(n)})},publish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"publish",params:t(n),payload:n}).then((t=>Jv(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>Jv(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>Jv(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>Jv(e,t)))},isPublished:function(){const e=this.toPlainObject();return Nv(e)},isUpdated:function(){const e=this.toPlainObject();return Wv(e)},isDraft:function(){const e=this.toPlainObject();return Vv(e)},isArchived:function(){const e=this.toPlainObject();return Kv(e)}}}(e));return hn(n)}const Qv=Ro(Jv),Yv=Do(Jv);function Zv(e,t){return xn(an(t))}function eb(e){return new Promise((t=>setTimeout(t,e)))}const tb=30,nb=1e3,ib=2e3;class ab extends Error{constructor(e,t){var n,i,a;super(e),n=this,a=void 0,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="action"))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,this.action=t,this.name=this.constructor.name}}class rb extends ab{}async function ob(e,t){var n,i,a,r,o;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:tb,u=null!==(i=null==t?void 0:t.retryIntervalMs)&&void 0!==i?i:ib,d=null!==(a=null==t?void 0:t.initialDelayMs)&&void 0!==a?a:nb,m=null===(r=null==t?void 0:t.throwOnFailedExecution)||void 0===r||r;for(await eb(d);c<l&&!p;){if(s=await e(),s&&["succeeded","failed"].includes(s.sys.status)){if(p=!0,"failed"===s.sys.status&&m)throw new rb(`${s.sys.type} failed to execute.`,s);return s}await eb(u),c+=1}throw new ab(`${null===(o=s)||void 0===o?void 0:o.sys.type} didn't finish processing within the expected timeframe.`,s)}let sb=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function cb(e,t){const n=dv(xn(an(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,bulkActionId:e.sys.id}})();return e({entityType:"BulkAction",action:"get",params:t}).then((t=>cb(e,t)))},async waitProcessing(e){return ob((async()=>this.get()),e)}}}(e));return hn(n)}function pb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function lb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pb(Object(n),!0).forEach((function(t){ub(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ub(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.values(sb);let db=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function mb(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,commentId:e.sys.id});return{update:async function(){const n=this.toPlainObject(),i=await e({entityType:"Comment",action:"update",params:t(n),payload:n});return fb(e,i)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:lb(lb({},t(n)),{},{version:n.sys.version})})}}}function fb(e,t){return hn(dv(xn(an(t)),mb(e)))}const yb=Ro(fb);function vb(e,t){const n=dv(xn(an(t)),function(e){return{update:function(){const t=this,n=t.toPlainObject();return e({entityType:"EditorInterface",action:"update",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.contentType.sys.id},payload:n}).then((t=>vb(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return hn(n)}const bb=Ro(vb);function hb(e,t){return hn(dv(xn(an(t)),{}))}const gb=Ro(hb),xb=["fieldId"],wb=function(e,t,n){const i=e.fields.find((e=>e.id===t));return i?(i[n]=!0,Promise.resolve(e)):Promise.reject(new Error(`Tried to omitAndDeleteField on a nonexistent field, ${t}, on the content type ${e.name}.`))},Ob=(e,t,n)=>{let{fieldId:i}=t,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,xb);return wb(n,i,"omitted").then((t=>e({entityType:"ContentType",action:"update",params:a,payload:t}))).then((t=>e({entityType:"ContentType",action:"publish",params:a,payload:t}))).then((e=>wb(e,i,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:a,payload:t})))};function jb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ib(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jb(Object(n),!0).forEach((function(t){Pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tb(e,t){const n=dv(xn(an(t)),function(e){const t=e=>{const t=e.toPlainObject();return{raw:t,params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.id}}};return{update:function(){const{raw:n,params:i}=t(this);return e({entityType:"ContentType",action:"update",params:i,payload:n}).then((t=>Tb(e,t)))},delete:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"delete",params:n}).then((()=>{}))},publish:function(){const{raw:n,params:i}=t(this);return e({entityType:"ContentType",action:"publish",params:i,payload:n}).then((t=>Tb(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>Tb(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>vb(e,t)))},getSnapshots:function(n={}){const{params:i}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:Ib(Ib({},i),{},{query:n})}).then((t=>gb(e,t)))},getSnapshot:function(n){const{params:i}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:Ib(Ib({},i),{},{snapshotId:n})}).then((e=>hb(0,e)))},isPublished:function(){return Nv(this)},isUpdated:function(){return Wv(this)},isDraft:function(){return Vv(this)},omitAndDeleteField:function(n){const{raw:i,params:a}=t(this);return Ob(e,Ib(Ib({},a),{},{fieldId:n}),i).then((t=>Tb(e,t)))}}}(e));return hn(n)}const Ab=Ro(Tb),Sb=Do(Tb);function Eb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eb(Object(n),!0).forEach((function(t){Cb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rb(e,t){const n=dv(xn(an(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=Mg.entry,{wrapSnapshot:i,wrapSnapshotCollection:a}=Mg.snapshot,{wrapTask:r,wrapTaskCollection:o}=Mg.task,{wrapComment:s,wrapCommentCollection:c}=Mg.comment,p=e=>{const t=e.toPlainObject();return{params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,entryId:t.sys.id},raw:t}};return{update:function(){const{raw:n,params:i}=p(this);return e({entityType:"Entry",action:"update",params:i,payload:n}).then((n=>t(e,n)))},patch:function(n){const{raw:i,params:a}=p(this);return e({entityType:"Entry",action:"patch",params:kb(kb({},a),{},{version:i.sys.version}),payload:n}).then((n=>t(e,n)))},delete:function(){const{params:t}=p(this);return e({entityType:"Entry",action:"delete",params:t})},publish:function(){const{raw:n,params:i}=p(this);return e({entityType:"Entry",action:"publish",params:i,payload:n}).then((n=>t(e,n)))},unpublish:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unpublish",params:n}).then((n=>t(e,n)))},archive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"archive",params:n}).then((n=>t(e,n)))},unarchive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unarchive",params:n}).then((n=>t(e,n)))},getSnapshots:function(t={}){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getManyForEntry",params:kb(kb({},n),{},{query:t})}).then((t=>a(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:kb(kb({},n),{},{snapshotId:t})}).then((t=>i(e,t)))},createComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"create",params:{spaceId:n.spaceId,environmentId:n.environmentId,parentEntityId:n.entryId,parentEntityType:"Entry"},payload:t}).then((t=>s(e,t)))},getComments:function(){const{params:t}=p(this);return e({entityType:"Comment",action:"getMany",params:t}).then((t=>c(e,t)))},getComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"get",params:kb(kb({},n),{},{commentId:t})}).then((t=>s(e,t)))},createTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"create",params:n,payload:t}).then((t=>r(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:kb(kb({},n),{},{query:t})}).then((t=>o(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:kb(kb({},n),{},{taskId:t})}).then((t=>r(e,t)))},isPublished:function(){const e=this.toPlainObject();return Nv(e)},isUpdated:function(){const e=this.toPlainObject();return Wv(e)},isDraft:function(){const e=this.toPlainObject();return Vv(e)},isArchived:function(){const e=this.toPlainObject();return Kv(e)},references:function(t){const i=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.environment.sys.id,entryId:i.sys.id,include:null==t?void 0:t.include}}).then((t=>n(e,t)))}}}(e));return hn(n)}const Db=Ro(Rb),_b=Do(Rb);function $b(e,t){const n=dv(xn(an(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,releaseId:e.sys.release.sys.id,actionId:e.sys.id}})();return e({entityType:"ReleaseAction",action:"get",params:t}).then((t=>$b(e,t)))},async waitProcessing(e){return ob((async()=>this.get()),e)}}}(e));return hn(n)}const zb=Ro($b);let Mb=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const Fb=Mb;function qb(e,t){const n=dv(xn(an(t)),function(e){const t=e=>{const t=e.toPlainObject();return{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,releaseId:t.sys.id,version:t.sys.version}};return{async archive(){const n=t(this);return e({entityType:"Release",action:"archive",params:n}).then((t=>qb(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>qb(e,t)))},async update(n){const i=t(this);return e({entityType:"Release",action:"update",params:i,payload:n}).then((t=>qb(e,t)))},async delete(){const n=t(this);await e({entityType:"Release",action:"delete",params:n})},async publish(n){const i=t(this);return e({entityType:"Release",action:"publish",params:i}).then((t=>$b(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const i=t(this);return e({entityType:"Release",action:"unpublish",params:i}).then((t=>$b(e,t))).then((e=>e.waitProcessing(n)))},async validate(n){const i=t(this);return e({entityType:"Release",action:"validate",params:i,payload:null==n?void 0:n.payload}).then((t=>$b(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return hn(n)}const Ub=Do(qb);function Lb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lb(Object(n),!0).forEach((function(t){Nb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wb(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,tagId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"update",params:t(n),payload:n}).then((t=>Vb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:Bb(Bb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Vb(e,t){return hn(dv(xn(an(t)),Wb(e)))}const Kb=Ro(Vb);function Hb(e,t){const n=dv(xn(an(t)),function(e){const{wrapUIConfig:t}=Mg.uiConfig;return{update:async function(){const{raw:n,params:i}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),a=await e({entityType:"UIConfig",action:"update",params:i,payload:n});return t(e,a)}}}(e));return hn(n)}function Xb(e,t){const n=dv(xn(an(t)),function(e){const{wrapUserUIConfig:t}=Mg.userUIConfig;return{update:async function(){const{raw:n,params:i}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),a=await e({entityType:"UserUIConfig",action:"update",params:i,payload:n});return t(e,a)}}}(e));return hn(n)}function Gb(e,t){return hn(xn(an(t)))}const Jb=Do(Gb);function Qb(e,t){const n=dv(xn(an(t)),function(e){return{getFunction:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,functionId:t.sys.id}}).then((t=>Qb(e,t)))},getManyFunctions:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{appDefinitionId:t.sys.appDefinition.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>Yb(e,t)))},getManyFunctionsForEnvironment:(t,n,i)=>e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:t,environmentId:n,appInstallationId:i}}).then((t=>Yb(e,t)))}}(e));return hn(n)}const Yb=Ro(Qb);function Zb(e,t){return hn(xn(an(t)))}const eh=Ro(Zb),th=["installationId"];function nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ih(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(n),!0).forEach((function(t){ah(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ah(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rh(e,t){return hn(dv(xn(an(t)),function(e){const{wrapEnvironment:t}=Mg.environment,{wrapContentType:n,wrapContentTypeCollection:i,wrapContentTypeCursorPaginatedCollection:a}=Mg.contentType,{wrapEntry:r,wrapEntryCollection:o,wrapEntryTypeCursorPaginatedCollection:s}=Mg.entry,{wrapAsset:c,wrapAssetCollection:p,wrapAssetTypeCursorPaginatedCollection:l}=Mg.asset,{wrapAssetKey:u}=Mg.assetKey,{wrapLocale:d,wrapLocaleCollection:m}=Mg.locale,{wrapSnapshotCollection:f}=Mg.snapshot,{wrapEditorInterface:y,wrapEditorInterfaceCollection:v}=Mg.editorInterface,{wrapUpload:b}=Mg.upload,{wrapExtension:h,wrapExtensionCollection:g}=Mg.extension,{wrapAppInstallation:x,wrapAppInstallationCollection:w}=Mg.appInstallation,{wrapAppSignedRequest:O}=Mg.appSignedRequest,{wrapAppActionCall:j}=Mg.appActionCall,{wrapBulkAction:I}=Mg.bulkAction,{wrapAppAccessToken:P}=Mg.appAccessToken,{wrapResourceTypesForEnvironmentCollection:T}=Mg.resourceType,{wrapResourceCollection:A}=Mg.resource;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Environment",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((()=>{}))},update:function(){const n=this.toPlainObject();return e({entityType:"Environment",action:"update",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:n}).then((n=>t(e,n)))},getEntryFromData:t=>r(e,t),getAssetFromData:t=>c(e,t),getBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,bulkActionId:t}}).then((t=>I(e,t)))},createPublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"publish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},createValidateBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"validate",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},createUnpublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"unpublish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},getContentType(t){const i=this.toPlainObject();return e({entityType:"ContentType",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t}}).then((t=>n(e,t)))},getContentTypes(t={}){const n=this.toPlainObject();return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>i(e,t)))},getContentTypesWithCursor(t={}){const n=this.toPlainObject(),i=zo(t);return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:i}).params}}).then((t=>a(e,Uo(t))))},createContentType(t){const i=this.toPlainObject();return e({entityType:"ContentType",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id},payload:t}).then((t=>n(e,t)))},createContentTypeWithId(t,i){const a=this.toPlainObject();return e({entityType:"ContentType",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t},payload:i}).then((t=>n(e,t)))},getEditorInterfaceForContentType(t){const n=this.toPlainObject();return e({entityType:"EditorInterface",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,contentTypeId:t}}).then((t=>y(e,t)))},getEditorInterfaces(){const t=this.toPlainObject();return e({entityType:"EditorInterface",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>v(e,t)))},getEntry(t,n={}){const i=this.toPlainObject();return e({entityType:"Entry",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,query:vn({query:n}).params}}).then((t=>r(e,t)))},deleteEntry(t){const n=this.toPlainObject();return e({entityType:"Entry",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,entryId:t}}).then((()=>{}))},getEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>o(e,t)))},getEntriesWithCursor(t={}){const n=this.toPlainObject(),i=zo(t);return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:i}).params}}).then((t=>s(e,Uo(t))))},getPublishedEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>o(e,t)))},createEntry(t,n){const i=this.toPlainObject();return e({entityType:"Entry",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t},payload:n}).then((t=>r(e,t)))},createEntryWithId(t,n,i){const a=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:n,contentTypeId:t},payload:i}).then((t=>r(e,t)))},getEntryReferences(t,n){const i=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,include:null==n?void 0:n.include}}).then((t=>o(e,t)))},getAsset(t,n={}){const i=this.toPlainObject();return e({entityType:"Asset",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,assetId:t,query:vn({query:n}).params}}).then((t=>c(e,t)))},getAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>p(e,t)))},getAssetsWithCursor(t={}){const n=this.toPlainObject(),i=zo(t);return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:i}).params}}).then((t=>l(e,Uo(t))))},getPublishedAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>p(e,t)))},createAsset(t){const n=this.toPlainObject();return e({entityType:"Asset",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>c(e,t)))},createAssetWithId(t,n){const i=this.toPlainObject();return e({entityType:"Asset",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,assetId:t},payload:n}).then((t=>c(e,t)))},createAssetFromFiles(t,n){const i=this.toPlainObject();return e({entityType:"Asset",action:"createFromFiles",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,uploadTimeout:null==n?void 0:n.uploadTimeout},payload:t}).then((t=>c(e,t)))},createAssetKey(t){const n=this.toPlainObject();return e({entityType:"AssetKey",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>u(e,t)))},getUpload(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,uploadId:t}}).then((t=>b(e,t)))},createUpload:function(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>b(e,t)))},getLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,localeId:t}}).then((t=>d(e,t)))},getLocales(t={}){const n=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>m(e,t)))},createLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>d(e,t)))},getUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,extensionId:t}}).then((t=>h(e,t)))},getUiExtensions(){const t=this.toPlainObject();return e({entityType:"Extension",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>g(e,t)))},createUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>h(e,t)))},createUiExtensionWithId(t,n){const i=this.toPlainObject();return e({entityType:"Extension",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,extensionId:t},payload:n}).then((t=>h(e,t)))},createAppInstallation(t,n,{acceptAllTerms:i}={}){const a=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,acceptAllTerms:i},payload:n}).then((t=>x(e,t)))},getAppInstallation(t){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,appDefinitionId:t}}).then((t=>x(e,t)))},getAppInstallations(){const t=this.toPlainObject();return e({entityType:"AppInstallation",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>w(e,t)))},createAppActionCall(t,n,i){const a=this.toPlainObject();return e({entityType:"AppActionCall",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,appActionId:n},payload:i}).then((t=>j(e,t)))},getAppActionCallResponse(t,n,i){const a=this.toPlainObject();return e({entityType:"AppActionCall",action:"getResponse",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,appActionId:n,callId:i}})},createAppSignedRequest(t,n){const i=this.toPlainObject();return e({entityType:"AppSignedRequest",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},createAppAccessToken(t,n){const i=this.toPlainObject();return e({entityType:"AppAccessToken",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>P(e,t)))},getFunctionsForEnvironment(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,query:n}}).then((t=>Yb(e,t)))},getFunctionLogs(t,n,i){const a=this.toPlainObject();return e({entityType:"FunctionLog",action:"getMany",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,functionId:n,query:i?vn({query:i}).params:void 0}}).then((t=>eh(e,t)))},getFunctionLog(t,n,i){const a=this.toPlainObject();return e({entityType:"FunctionLog",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,functionId:n,logId:i}}).then((e=>Zb(0,e)))},getEntrySnapshots(t,n={}){const i=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForEntry",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,query:n}}).then((t=>f(e,t)))},getContentTypeSnapshots(t,n={}){const i=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForContentType",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t,query:n}}).then((t=>f(e,t)))},createTag(t,n,i){const a=this.toPlainObject();return e({entityType:"Tag",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,tagId:t},payload:{name:n,sys:{visibility:null!=i?i:"private"}}}).then((t=>Vb(e,t)))},getTags(t={}){const n=this.toPlainObject();return e({entityType:"Tag",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:vn({query:t}).params}}).then((t=>Kb(e,t)))},getTag(t){const n=this.toPlainObject();return e({entityType:"Tag",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,tagId:t}}).then((t=>Vb(e,t)))},getRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}}).then((t=>qb(e,t)))},getReleases(t){const n=this.toPlainObject();return e({entityType:"Release",action:"query",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>Ub(e,t)))},createRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>qb(e,t)))},updateRelease({releaseId:t,payload:n,version:i}){const a=this.toPlainObject();return e({entityType:"Release",action:"update",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:i},payload:n}).then((t=>qb(e,t)))},deleteRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}})},publishRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"publish",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>$b(e,t)))},unpublishRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"unpublish",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>$b(e,t)))},validateRelease({releaseId:t,payload:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"validate",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t},payload:n}).then((t=>$b(e,t)))},archiveRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"archive",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>qb(e,t)))},unarchiveRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"unarchive",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>qb(e,t)))},getReleaseAction({actionId:t,releaseId:n}){const i=this.toPlainObject();return e({entityType:"ReleaseAction",action:"get",params:{actionId:t,spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:n}}).then((t=>$b(e,t)))},getReleaseActions({query:t}){const n=this.toPlainObject();return e({entityType:"ReleaseAction",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>zb(e,t)))},async getUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Hb(e,n)},async getUserUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UserUIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Xb(e,n)},async getEnvironmentTemplateInstallations(t,n={}){let{installationId:i}=n,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,th);const r=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:ih(ih({environmentTemplateId:t},i&&{installationId:i}),{},{query:ih({},vn({query:a}).params),spaceId:r.sys.space.sys.id,environmentId:r.sys.id})}).then((t=>Jb(e,t)))},async getResourceTypes(t){const n=this.toPlainObject();return e({entityType:"ResourceType",action:"getForEnvironment",params:{query:t,spaceId:n.sys.space.sys.id,environmentId:n.sys.id}}).then((t=>T(e,t)))},async getResourcesForResourceType(t,n){const i=this.toPlainObject();return e({entityType:"Resource",action:"getMany",params:{query:n,spaceId:i.sys.space.sys.id,environmentId:i.sys.id,resourceTypeId:t}}).then((t=>A(e,t)))},invokeAiAction(t,n){const i=this.toPlainObject();return e({entityType:"AiAction",action:"invoke",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,aiActionId:t},payload:n}).then((e=>fv(0,e)))},getAiActionInvocation({aiActionId:t,invocationId:n}){const i=this.toPlainObject();return e({entityType:"AiActionInvocation",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,aiActionId:t,invocationId:n}}).then((e=>fv(0,e)))}}}(e)))}const oh=Ro(rh);function sh(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentAliasId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"update",params:t(n),payload:n}).then((t=>sh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return hn(n)}const ch=Ro(sh),ph=["spaceId","environmentId","latestOnly"];function lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lh(Object(n),!0).forEach((function(t){dh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mh(e,t,n){return hn(dv(xn(an(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:i}=Mg.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:a}=Mg.environmentTemplateInstallation;return{update:function(){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"update",params:{organizationId:t,environmentTemplateId:i.sys.id},payload:i}).then((i=>n(e,i,t)))},updateVersion:function({versionName:i,versionDescription:a}){const r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:r.sys.id,version:r.sys.version},payload:{versionName:i,versionDescription:a}}).then((i=>n(e,i,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"delete",params:{organizationId:t,environmentTemplateId:n.sys.id}})},getVersions:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versions",params:{organizationId:t,environmentTemplateId:n.sys.id}}).then((n=>i(e,n,t)))},getInstallations:function(n={}){let{spaceId:i,environmentId:r,latestOnly:o}=n,s=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,ph);const c=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:c.sys.id,query:uh({},vn({query:s}).params),spaceId:i,environmentId:r,latestOnly:o}}).then((t=>a(e,t)))},validate:function({spaceId:t,environmentId:n,version:i,takeover:a,changeSet:r}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:i,environmentId:n,environmentTemplateId:o.sys.id},payload:uh(uh({},a&&{takeover:a}),r&&{changeSet:r})})},install:function({spaceId:t,environmentId:n,installation:i}){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"install",params:{spaceId:t,environmentId:n,environmentTemplateId:a.sys.id},payload:i})},disconnect:function({spaceId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"disconnect",params:{spaceId:t,environmentId:n,environmentTemplateId:i.sys.id}})}}}(e,n)))}const fh=Do(mh);function yh(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,extensionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"update",params:t(n),payload:n}).then((t=>yh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return hn(n)}const vh=Ro(yh);function bh(e,t){delete t.internal_code;const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,localeId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"update",params:t(n),payload:n}).then((t=>bh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return hn(n)}const hh=Ro(bh);let gh=function(e){return e.Read="content_management_read",e.Manage="content_management_manage",e}({});function xh(e,t,n){const i=dv(xn(an(t)),function(e,t){const n=e=>({userId:t,oauthApplicationId:e.sys.id});return{async update(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"update",params:n(t),payload:t})},async delete(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"delete",params:n(t)})}}}(e,n));return hn(i)}const wh=Do(xh);function Oh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oh(Object(n),!0).forEach((function(t){Ih(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ih(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ph(e,t){const n=xn(an(t)),i=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=Mg.appDefinition,{wrapUser:i,wrapUserCollection:a}=Mg.user,{wrapOrganizationMembership:r,wrapOrganizationMembershipCollection:o}=Mg.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=Mg.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=Mg.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=Mg.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=Mg.spaceMembership,{wrapOrganizationInvitation:y}=Mg.organizationInvitation,{wrapAppUpload:v}=Mg.appUpload,{wrapAppSigningSecret:b}=Mg.appSigningSecret,{wrapAppEventSubscription:h}=Mg.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=Mg.appKey,{wrapAppDetails:w}=Mg.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=Mg.appAction,{wrapFunction:I,wrapFunctionCollection:P}=Mg.func,{wrapRoleCollection:T}=Mg.role,{wrapSpaceCollection:A}=Mg.space;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:vn({query:t}).params}}).then((t=>A(e,t)))},getUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForOrganization",params:{organizationId:n.sys.id,userId:t}}).then((t=>i(e,t)))},getUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:vn({query:t}).params}}).then((t=>a(e,t)))},getOrganizationMembership(t){const n=this.toPlainObject().sys.id;return e({entityType:"OrganizationMembership",action:"get",params:{organizationId:n,organizationMembershipId:t}}).then((t=>r(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:jh({organizationId:n.sys.id},t)}).then((t=>o(e,t,n.sys.id)))},createTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>u(e,t)))},getTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"get",params:{organizationId:n.sys.id,teamId:t}}).then((t=>u(e,t)))},getTeams(t={}){const n=this.toPlainObject();return e({entityType:"Team",action:"getMany",params:{organizationId:n.sys.id,query:vn({query:t}).params}}).then((t=>d(e,t)))},createTeamMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamMembership",action:"create",params:{organizationId:i.sys.id,teamId:t},payload:n}).then((t=>s(e,t)))},getTeamMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamMembership",action:"get",params:{organizationId:i.sys.id,teamId:t,teamMembershipId:n}}).then((t=>s(e,t)))},getTeamMemberships(t={}){const{teamId:n,query:i={}}=t,a=this.toPlainObject();return n?e({entityType:"TeamMembership",action:"getManyForTeam",params:{organizationId:a.sys.id,teamId:n,query:vn({query:i}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:a.sys.id,query:vn({query:i}).params}}).then((t=>c(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:vn({query:t.query||{}}).params,teamId:t.teamId}}).then((t=>l(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>p(e,t)))},getOrganizationSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,spaceMembershipId:t}}).then((t=>m(e,t)))},getOrganizationSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:vn({query:t}).params}}).then((t=>f(e,t)))},getOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"get",params:{organizationId:n.sys.id,invitationId:t}}).then((t=>y(e,t)))},createOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>y(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:vn({query:t}).params}}).then((t=>T(e,t)))},createAppDefinition(n){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"create",params:{organizationId:i.sys.id},payload:n}).then((n=>t(e,n)))},getAppDefinitions(t={}){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"getMany",params:{organizationId:i.sys.id,query:t}}).then((t=>n(e,t)))},getAppDefinition(n){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"get",params:{organizationId:i.sys.id,appDefinitionId:n}}).then((n=>t(e,n)))},getAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"get",params:{organizationId:n.sys.id,appUploadId:t}}).then((t=>v(e,t)))},createAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"create",params:{organizationId:n.sys.id},payload:{file:t}}).then((t=>v(e,t)))},upsertAppSigningSecret(t,n){const i=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>b(e,t)))},getAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},deleteAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},upsertAppEventSubscription(t,n){const i=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>h(e,t)))},getAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>h(e,t)))},deleteAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"create",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},getAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,fingerprint:n}}).then((t=>g(e,t)))},getAppKeys(t,n={}){const i=this.toPlainObject();return e({entityType:"AppKey",action:"getMany",params:{organizationId:i.sys.id,appDefinitionId:t,query:vn({query:n}).params}}).then((t=>x(e,t)))},deleteAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"delete",params:{organizationId:i.sys.id,appDefinitionId:t,fingerprint:n}}).then((()=>{}))},upsertAppDetails(t,n){const i=this.toPlainObject();return e({entityType:"AppDetails",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>w(e,t)))},getAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>w(e,t)))},deleteAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"create",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},updateAppAction(t,n,i){const a=this.toPlainObject();return e({entityType:"AppAction",action:"update",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n},payload:i}).then((t=>O(e,t)))},deleteAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n}}).then((()=>{}))},getAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n}}).then((t=>O(e,t)))},getAppActions(t){const n=this.toPlainObject();return e({entityType:"AppAction",action:"getMany",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>j(e,t)))},getFunction(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,functionId:n}}).then((t=>I(e,t)))},getFunctions(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{organizationId:i.sys.id,appDefinitionId:t,query:n}}).then((t=>P(e,t)))}}}(e);return hn(dv(n,i))}const Th=Ro(Ph);function Ah(e,t){return hn(xn(an(t)))}function Sh(e,t,n){const i=dv(xn(an(t)),function(e,t){const n=e=>({organizationMembershipId:e.sys.id,organizationId:t});return{update:function(){const i=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"update",params:n(i),payload:i}).then((n=>Sh(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return hn(i)}const Eh=Ro(Sh);function kh(e,t){return hn(dv(xn(an(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>kh(e,t)))}}))}const Ch=Ro(kh);function Rh(e,t){return hn(dv(xn(an(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>Rh(e,t)))}}))}const Dh=Ro(Rh);function _h(e,t){return hn(dv(xn(an(t)),{}))}const $h=Ro(_h);function zh(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,roleId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"update",params:t(n),payload:n}).then((t=>zh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return hn(n)}const Mh=Ro(zh),Fh=["sys"];let qh=function(e){return e.scheduled="scheduled",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e.canceled="canceled",e}({});function Uh(e){const t=e=>{var t;const n=e.toPlainObject();return{spaceId:n.sys.space.sys.id,environmentId:null===(t=n.environment)||void 0===t?void 0:t.sys.id,scheduledActionId:n.sys.id,version:n.sys.version}};return{async delete(){const n=t(this);return e({entityType:"ScheduledAction",action:"delete",params:n}).then((t=>Lh(e,t)))},async update(){const n=t(this),i=this.toPlainObject(),{sys:a}=i,r=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(i,Fh);return e({entityType:"ScheduledAction",action:"update",params:n,payload:r}).then((t=>Lh(e,t)))}}}function Lh(e,t){return hn(dv(xn(an(t)),Uh(e)))}const Bh=Ro(Lh);function Nh(e,t){const n=xn(an(t)),i=function(e){const{wrapSpace:t}=Mg.space,{wrapEnvironment:n,wrapEnvironmentCollection:i}=Mg.environment,{wrapWebhook:a,wrapWebhookCollection:r}=Mg.webhook,{wrapRole:o,wrapRoleCollection:s}=Mg.role,{wrapUser:c,wrapUserCollection:p}=Mg.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=Mg.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=Mg.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=Mg.teamSpaceMembership,{wrapTeamCollection:v}=Mg.team,{wrapApiKey:b,wrapApiKeyCollection:h}=Mg.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=Mg.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=Mg.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=Mg.scheduledAction,{wrapAiAction:P,wrapAiActionCollection:T}=Mg.aiAction,{wrapAiActionInvocation:A,wrapAiActionInvocationCollection:S}=Mg.aiActionInvocation;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Space",action:"delete",params:{spaceId:t.sys.id}})},update:function(){const n=this.toPlainObject();return e({entityType:"Space",action:"update",params:{spaceId:n.sys.id},payload:n,headers:{}}).then((n=>t(e,n)))},getEnvironment(t){const i=this.toPlainObject();return e({entityType:"Environment",action:"get",params:{spaceId:i.sys.id,environmentId:t}}).then((t=>n(e,t)))},getEnvironments(t={}){const n=this.toPlainObject();return e({entityType:"Environment",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>i(e,t)))},createEnvironment(t={}){const i=this.toPlainObject();return e({entityType:"Environment",action:"create",params:{spaceId:i.sys.id},payload:t}).then((t=>n(e,t)))},createEnvironmentWithId(t,i,a){const r=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:r.sys.id,environmentId:t,sourceEnvironmentId:a},payload:i}).then((t=>n(e,t)))},getWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"get",params:{spaceId:n.sys.id,webhookDefinitionId:t}}).then((t=>a(e,t)))},getWebhooks(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>r(e,t)))},getWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getSigningSecret",params:{spaceId:t.sys.id}})},getWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getRetryPolicy",params:{spaceId:t.sys.id}})},createWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>a(e,t)))},createWebhookWithId(t,n){const i=this.toPlainObject();return e({entityType:"Webhook",action:"createWithId",params:{spaceId:i.sys.id,webhookDefinitionId:t},payload:n}).then((t=>a(e,t)))},upsertWebhookSigningSecret:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertSigningSecret",params:{spaceId:n.sys.id},payload:t})},upsertWebhookRetryPolicy:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertRetryPolicy",params:{spaceId:n.sys.id},payload:t})},deleteWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteSigningSecret",params:{spaceId:t.sys.id}})},deleteWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteRetryPolicy",params:{spaceId:t.sys.id}})},getRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"get",params:{spaceId:n.sys.id,roleId:t}}).then((t=>o(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>s(e,t)))},createRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>o(e,t)))},createRoleWithId(t,n){const i=this.toPlainObject();return e({entityType:"Role",action:"createWithId",params:{spaceId:i.sys.id,roleId:t},payload:n}).then((t=>o(e,t)))},getSpaceUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForSpace",params:{spaceId:n.sys.id,userId:t}}).then((t=>c(e,t)))},getSpaceUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForSpace",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>p(e,t)))},getTeams(t={limit:100}){const n=this.toPlainObject();return e({entityType:"Team",action:"getManyForSpace",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>v(e,t)))},getSpaceMember(t){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"get",params:{spaceId:n.sys.id,spaceMemberId:t}}).then((t=>l(e,t)))},getSpaceMembers(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"getMany",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>u(e,t)))},getSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"get",params:{spaceId:n.sys.id,spaceMembershipId:t}}).then((t=>d(e,t)))},getSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>m(e,t)))},createSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>d(e,t)))},createSpaceMembershipWithId(t,n){const i=this.toPlainObject();return e({entityType:"SpaceMembership",action:"createWithId",params:{spaceId:i.sys.id,spaceMembershipId:t},payload:n}).then((t=>d(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"get",params:{spaceId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>f(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:vn({query:t}).params}}).then((t=>y(e,t)))},createTeamSpaceMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"create",params:{spaceId:i.sys.id,teamId:t},payload:n}).then((t=>f(e,t)))},getApiKey(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"get",params:{spaceId:n.sys.id,apiKeyId:t}}).then((t=>b(e,t)))},getApiKeys(){const t=this.toPlainObject();return e({entityType:"ApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>h(e,t)))},getPreviewApiKeys(){const t=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>O(e,t)))},getPreviewApiKey(t){const n=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"get",params:{spaceId:n.sys.id,previewApiKeyId:t}}).then((t=>w(e,t)))},createApiKey:function(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>b(e,t)))},createApiKeyWithId(t,n){const i=this.toPlainObject();return e({entityType:"ApiKey",action:"createWithId",params:{spaceId:i.sys.id,apiKeyId:t},payload:n}).then((t=>b(e,t)))},createEnvironmentAliasWithId(t,n){const i=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"createWithId",params:{spaceId:i.sys.id,environmentAliasId:t},payload:n}).then((t=>g(e,t)))},getEnvironmentAlias(t){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"get",params:{spaceId:n.sys.id,environmentAliasId:t}}).then((t=>g(e,t)))},getEnvironmentAliases(){const t=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>x(e,t)))},getScheduledActions(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>I(e,t)))},getScheduledAction({scheduledActionId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"get",params:{spaceId:i.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},createScheduledAction(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>j(e,t)))},updateScheduledAction({scheduledActionId:t,payload:n,version:i}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"update",params:{spaceId:a.sys.id,version:i,scheduledActionId:t},payload:n}).then((t=>j(e,t)))},deleteScheduledAction({scheduledActionId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"delete",params:{spaceId:i.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},getAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"get",params:{spaceId:n.sys.id,aiActionId:t}}).then((t=>P(e,t)))},getAiActions(t={}){const n=this.toPlainObject();return e({entityType:"AiAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>T(e,t)))},createAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>P(e,t)))},updateAiAction(t,n){var i;const a=this.toPlainObject();return e({entityType:"AiAction",action:"update",params:{spaceId:a.sys.id,aiActionId:t},payload:n,headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}}).then((t=>P(e,t)))},publishAiAction(t,{version:n}){const i=this.toPlainObject();return e({entityType:"AiAction",action:"publish",params:{spaceId:i.sys.id,aiActionId:t,version:n}}).then((t=>P(e,t)))},unpublishAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"unpublish",params:{spaceId:n.sys.id,aiActionId:t}}).then((t=>P(e,t)))},deleteAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"delete",params:{spaceId:n.sys.id,aiActionId:t}})}}}(e);return hn(dv(n,i))}const Wh=Ro(Nh);function Vh(e,t){return hn(xn(an(t)))}const Kh=Ro(Vh);function Hh(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,spaceMembershipId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Hh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return hn(n)}const Xh=Ro(Hh);function Gh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Jh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gh(Object(n),!0).forEach((function(t){Qh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yh(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,taskId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"update",params:t(n),payload:n}).then((t=>Zh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:Jh(Jh({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Zh(e,t){return hn(dv(xn(an(t)),Yh(e)))}const eg=Ro(Zh);function tg(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({teamId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"update",params:t(n),payload:n}).then((t=>tg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return hn(n)}const ng=Ro(tg);function ig(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({teamMembershipId:e.sys.id,teamId:e.sys.team.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"update",params:t(n),payload:n}).then((t=>ig(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return hn(n)}const ag=Ro(ig);function rg(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({teamSpaceMembershipId:e.sys.id,spaceId:e.sys.space.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"update",params:t(n),payload:n}).then((t=>rg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return hn(n)}const og=Ro(rg);function sg(e,t){const n=dv(xn(an(t)),function(e){return{delete:async function(){const t=this.toPlainObject();await e({entityType:"Upload",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id,uploadId:t.sys.id}})}}}(e));return hn(n)}function cg(e,t){return hn(dv(xn(an(t)),{}))}const pg=Ro(cg);function lg(e,t){return hn(dv(xn(an(t)),{}))}const ug=Ro(lg);function dg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dg(Object(n),!0).forEach((function(t){fg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yg(e,t){const n=dv(xn(an(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,webhookDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"update",params:t(n),payload:n}).then((t=>yg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"delete",params:t(n)})},getCalls:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getManyCallDetails",params:t(n)})},getCall:function(n){const i=this.toPlainObject();return e({entityType:"Webhook",action:"getCallDetails",params:mg(mg({},t(i)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return hn(n)}const vg=Ro(yg);function bg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function hg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bg(Object(n),!0).forEach((function(t){gg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let xg=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),wg=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),Og=function(e){return e.Allow="allow",e.Deny="deny",e}({}),jg=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function Ig(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,workflowDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"update",params:t(n),payload:n}).then((t=>Pg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:hg(hg({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Pg(e,t){return hn(dv(xn(an(t)),Ig(e)))}const Tg=Ro(Pg),Ag=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),Sg=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function Eg(e,t){const n=dv(xn(an(t)),function(e){const{wrapResourceType:t}=Mg.resourceType;return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:Ag(t),headers:{},payload:Sg(t)}).then((t=>Eg(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:Ag(t)})},getResourceType:function(n){return e({entityType:"ResourceType",action:"get",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n}}).then((n=>t(e,n)))},upsertResourceType:function(n,i){return e({entityType:"ResourceType",action:"upsert",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n},headers:{},payload:i}).then((n=>t(e,n)))},getResourceTypes:function(){return e({entityType:"ResourceType",action:"getMany",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}}).then((n=>(n.items=n.items.map((n=>t(e,n))),n)))}}}(e));return hn(n)}const kg=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,resourceTypeId:e.sys.id}),Cg=e=>({name:e.name,defaultFieldMapping:e.defaultFieldMapping});function Rg(e,t){const n=dv(xn(an(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"upsert",params:kg(t),headers:{},payload:Cg(t)}).then((t=>Rg(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"delete",params:kg(t)})}}}(e));return hn(n)}function Dg(e,t){return hn(xn(t))}const _g=Do(Dg);function $g(e,t){return hn(xn(t))}const zg=Do($g),Mg={aiAction:he,aiActionInvocation:be,accessToken:at,appAction:xe,appActionCall:we,appBundle:Oe,apiKey:ge,appDefinition:je,appInstallation:Pe,appUpload:Ce,appDetails:Ie,appSignedRequest:Te,appSigningSecret:Ae,appEventSubscription:Se,appKey:Ee,appAccessToken:ke,asset:Re,assetKey:De,bulkAction:_e,comment:$e,concept:xt,conceptScheme:wt,contentType:Fe,editorInterface:ze,entry:qe,environment:Xe,environmentAlias:Ge,environmentTemplate:Je,environmentTemplateInstallation:Ve,extension:Qe,func:Ke,functionLog:He,locale:Ye,oauthApplication:Ze,organization:et,organizationInvitation:tt,organizationMembership:nt,personalAccessToken:it,previewApiKey:rt,release:Le,releaseAction:Ue,resourceProvider:Ot,resourceType:jt,resource:It,role:ot,scheduledAction:st,snapshot:Me,space:ct,spaceMember:pt,spaceMembership:lt,tag:Be,task:ut,team:dt,teamMembership:mt,teamSpaceMembership:ft,uiConfig:Ne,upload:yt,usage:vt,user:bt,userUIConfig:We,webhook:ht,workflowDefinition:gt},Fg=["url"];function qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ug(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qg(Object(n),!0).forEach((function(t){Lg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bg=({makeRequest:e,defaults:t},n,i)=>(a,r,o)=>e({entityType:n,action:i,params:Ug(Ug({},t),a),payload:r,headers:o});function Ng(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Wg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ng(Object(n),!0).forEach((function(t){Vg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ng(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kg=(e,t)=>{const n={makeRequest:e,defaults:t};return{raw:{getDefaultParams:()=>t,get:(t,n)=>e({entityType:"Http",action:"get",params:{url:t,config:n}}),patch:(t,n,i)=>e({entityType:"Http",action:"patch",params:{url:t,config:i},payload:n}),post:(t,n,i)=>e({entityType:"Http",action:"post",params:{url:t,config:i},payload:n}),put:(t,n,i)=>e({entityType:"Http",action:"put",params:{url:t,config:i},payload:n}),delete:(t,n)=>e({entityType:"Http",action:"delete",params:{url:t,config:n}}),http:(t,n)=>e({entityType:"Http",action:"request",params:{url:t,config:n}})},aiAction:{get:Bg(n,"AiAction","get"),getMany:Bg(n,"AiAction","getMany"),create:Bg(n,"AiAction","create"),update:Bg(n,"AiAction","update"),delete:Bg(n,"AiAction","delete"),publish:Bg(n,"AiAction","publish"),unpublish:Bg(n,"AiAction","unpublish"),invoke:Bg(n,"AiAction","invoke")},aiActionInvocation:{get:Bg(n,"AiActionInvocation","get")},appAction:{get:Bg(n,"AppAction","get"),getMany:Bg(n,"AppAction","getMany"),getManyForEnvironment:Bg(n,"AppAction","getManyForEnvironment"),delete:Bg(n,"AppAction","delete"),create:Bg(n,"AppAction","create"),update:Bg(n,"AppAction","update")},appActionCall:{create:Bg(n,"AppActionCall","create"),getCallDetails:Bg(n,"AppActionCall","getCallDetails"),createWithResponse:Bg(n,"AppActionCall","createWithResponse"),get:Bg(n,"AppActionCall","get"),createWithResult:Bg(n,"AppActionCall","createWithResult"),getResponse:Bg(n,"AppActionCall","getResponse")},appBundle:{get:Bg(n,"AppBundle","get"),getMany:Bg(n,"AppBundle","getMany"),delete:Bg(n,"AppBundle","delete"),create:Bg(n,"AppBundle","create")},appDetails:{upsert:Bg(n,"AppDetails","upsert"),get:Bg(n,"AppDetails","get"),delete:Bg(n,"AppDetails","delete")},appEventSubscription:{upsert:Bg(n,"AppEventSubscription","upsert"),get:Bg(n,"AppEventSubscription","get"),delete:Bg(n,"AppEventSubscription","delete")},appKey:{create:Bg(n,"AppKey","create"),get:Bg(n,"AppKey","get"),getMany:Bg(n,"AppKey","getMany"),delete:Bg(n,"AppKey","delete")},appSignedRequest:{create:Bg(n,"AppSignedRequest","create")},appSigningSecret:{upsert:Bg(n,"AppSigningSecret","upsert"),get:Bg(n,"AppSigningSecret","get"),delete:Bg(n,"AppSigningSecret","delete")},appAccessToken:{create:Bg(n,"AppAccessToken","create")},concept:{create:Bg(n,"Concept","create"),createWithId:Bg(n,"Concept","createWithId"),get:Bg(n,"Concept","get"),delete:Bg(n,"Concept","delete"),patch:Bg(n,"Concept","patch"),update:Bg(n,"Concept","update"),updatePut:Bg(n,"Concept","updatePut"),getMany:Bg(n,"Concept","getMany"),getDescendants:Bg(n,"Concept","getDescendants"),getAncestors:Bg(n,"Concept","getAncestors"),getTotal:Bg(n,"Concept","getTotal")},conceptScheme:{get:Bg(n,"ConceptScheme","get"),getMany:Bg(n,"ConceptScheme","getMany"),getTotal:Bg(n,"ConceptScheme","getTotal"),delete:Bg(n,"ConceptScheme","delete"),create:Bg(n,"ConceptScheme","create"),createWithId:Bg(n,"ConceptScheme","createWithId"),patch:Bg(n,"ConceptScheme","patch"),update:Bg(n,"ConceptScheme","update"),updatePut:Bg(n,"ConceptScheme","updatePut")},function:{get:Bg(n,"Function","get"),getMany:Bg(n,"Function","getMany"),getManyForEnvironment:Bg(n,"Function","getManyForEnvironment")},functionLog:{get:Bg(n,"FunctionLog","get"),getMany:Bg(n,"FunctionLog","getMany")},editorInterface:{get:Bg(n,"EditorInterface","get"),getMany:Bg(n,"EditorInterface","getMany"),update:Bg(n,"EditorInterface","update")},space:{get:Bg(n,"Space","get"),getMany:Bg(n,"Space","getMany"),getManyForOrganization:Bg(n,"Space","getManyForOrganization"),update:Bg(n,"Space","update"),delete:Bg(n,"Space","delete"),create:Bg(n,"Space","create")},environment:{get:Bg(n,"Environment","get"),getMany:Bg(n,"Environment","getMany"),create:Bg(n,"Environment","create"),createWithId:Bg(n,"Environment","createWithId"),update:Bg(n,"Environment","update"),delete:Bg(n,"Environment","delete")},environmentAlias:{get:Bg(n,"EnvironmentAlias","get"),getMany:Bg(n,"EnvironmentAlias","getMany"),createWithId:Bg(n,"EnvironmentAlias","createWithId"),update:Bg(n,"EnvironmentAlias","update"),delete:Bg(n,"EnvironmentAlias","delete")},environmentTemplate:{get:Bg(n,"EnvironmentTemplate","get"),getMany:Bg(n,"EnvironmentTemplate","getMany"),create:Bg(n,"EnvironmentTemplate","create"),versionUpdate:Bg(n,"EnvironmentTemplate","versionUpdate"),update:Bg(n,"EnvironmentTemplate","update"),install:Bg(n,"EnvironmentTemplate","install"),versions:Bg(n,"EnvironmentTemplate","versions"),validate:Bg(n,"EnvironmentTemplate","validate"),disconnect:Bg(n,"EnvironmentTemplate","disconnect"),delete:Bg(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:Bg(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:Bg(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:Bg(n,"BulkAction","get"),publish:Bg(n,"BulkAction","publish"),unpublish:Bg(n,"BulkAction","unpublish"),validate:Bg(n,"BulkAction","validate"),getV2:Bg(n,"BulkAction","getV2"),publishV2:Bg(n,"BulkAction","publishV2"),unpublishV2:Bg(n,"BulkAction","unpublishV2"),validateV2:Bg(n,"BulkAction","validateV2")},comment:{get:Bg(n,"Comment","get"),getMany:Bg(n,"Comment","getMany"),create:Bg(n,"Comment","create"),update:Bg(n,"Comment","update"),delete:Bg(n,"Comment","delete")},contentType:{get:Bg(n,"ContentType","get"),getMany:Bg(n,"ContentType","getMany"),getManyWithCursor:Bg(n,"ContentType","getManyWithCursor"),update:Bg(n,"ContentType","update"),delete:Bg(n,"ContentType","delete"),publish:Bg(n,"ContentType","publish"),unpublish:Bg(n,"ContentType","unpublish"),create:Bg(n,"ContentType","create"),createWithId:Bg(n,"ContentType","createWithId"),omitAndDeleteField:(n,i,a)=>Ob(e,Wg(Wg({},Wg(Wg({},t),n)),{},{fieldId:a}),i)},user:{getManyForSpace:Bg(n,"User","getManyForSpace"),getForSpace:Bg(n,"User","getForSpace"),getCurrent:Bg(n,"User","getCurrent"),getForOrganization:Bg(n,"User","getForOrganization"),getManyForOrganization:Bg(n,"User","getManyForOrganization")},task:{get:Bg(n,"Task","get"),getMany:Bg(n,"Task","getMany"),create:Bg(n,"Task","create"),update:Bg(n,"Task","update"),delete:Bg(n,"Task","delete")},entry:{getPublished:Bg(n,"Entry","getPublished"),getMany:Bg(n,"Entry","getMany"),getManyWithCursor:Bg(n,"Entry","getManyWithCursor"),get:Bg(n,"Entry","get"),update:Bg(n,"Entry","update"),patch:Bg(n,"Entry","patch"),delete:Bg(n,"Entry","delete"),publish:Bg(n,"Entry","publish"),unpublish:Bg(n,"Entry","unpublish"),archive:Bg(n,"Entry","archive"),unarchive:Bg(n,"Entry","unarchive"),create:Bg(n,"Entry","create"),createWithId:Bg(n,"Entry","createWithId"),references:Bg(n,"Entry","references")},asset:{getPublished:Bg(n,"Asset","getPublished"),getMany:Bg(n,"Asset","getMany"),getManyWithCursor:Bg(n,"Asset","getManyWithCursor"),get:Bg(n,"Asset","get"),update:Bg(n,"Asset","update"),delete:Bg(n,"Asset","delete"),publish:Bg(n,"Asset","publish"),unpublish:Bg(n,"Asset","unpublish"),archive:Bg(n,"Asset","archive"),unarchive:Bg(n,"Asset","unarchive"),create:Bg(n,"Asset","create"),createWithId:Bg(n,"Asset","createWithId"),createFromFiles:Bg(n,"Asset","createFromFiles"),processForAllLocales:(n,i,a)=>e({entityType:"Asset",action:"processForAllLocales",params:Wg(Wg({},Wg(Wg({},t),n)),{},{options:a,asset:i})}),processForLocale:(n,i,a,r)=>e({entityType:"Asset",action:"processForLocale",params:Wg(Wg({},Wg(Wg({},t),n)),{},{locale:a,asset:i,options:r})})},appUpload:{get:Bg(n,"AppUpload","get"),delete:Bg(n,"AppUpload","delete"),create:Bg(n,"AppUpload","create")},assetKey:{create:Bg(n,"AssetKey","create")},upload:{get:Bg(n,"Upload","get"),create:Bg(n,"Upload","create"),delete:Bg(n,"Upload","delete")},uploadCredential:{create:Bg(n,"UploadCredential","create")},locale:{get:Bg(n,"Locale","get"),getMany:Bg(n,"Locale","getMany"),delete:Bg(n,"Locale","delete"),update:Bg(n,"Locale","update"),create:Bg(n,"Locale","create")},personalAccessToken:{get:Bg(n,"PersonalAccessToken","get"),getMany:Bg(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:Bg(n,"PersonalAccessToken","revoke")},accessToken:{get:Bg(n,"AccessToken","get"),getMany:Bg(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:Bg(n,"AccessToken","revoke"),getManyForOrganization:Bg(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:Bg(n,"Usage","getManyForSpace"),getManyForOrganization:Bg(n,"Usage","getManyForOrganization")},release:{asset:{get:Bg(n,"ReleaseAsset","get"),getMany:Bg(n,"ReleaseAsset","getMany"),update:Bg(n,"ReleaseAsset","update"),create:Bg(n,"ReleaseAsset","create"),createWithId:Bg(n,"ReleaseAsset","createWithId"),createFromFiles:Bg(n,"ReleaseAsset","createFromFiles"),processForAllLocales:(n,i,a)=>e({entityType:"ReleaseAsset",action:"processForAllLocales",params:Wg(Wg({},Wg(Wg({},t),n)),{},{options:a,asset:i})}),processForLocale:(n,i,a,r)=>e({entityType:"ReleaseAsset",action:"processForLocale",params:Wg(Wg({},Wg(Wg({},t),n)),{},{locale:a,asset:i,options:r})})},entry:{get:Bg(n,"ReleaseEntry","get"),getMany:Bg(n,"ReleaseEntry","getMany"),update:Bg(n,"ReleaseEntry","update"),patch:Bg(n,"ReleaseEntry","patch"),create:Bg(n,"ReleaseEntry","create"),createWithId:Bg(n,"ReleaseEntry","createWithId")},archive:Bg(n,"Release","archive"),get:Bg(n,"Release","get"),query:Bg(n,"Release","query"),create:Bg(n,"Release","create"),update:Bg(n,"Release","update"),delete:Bg(n,"Release","delete"),publish:Bg(n,"Release","publish"),unarchive:Bg(n,"Release","unarchive"),unpublish:Bg(n,"Release","unpublish"),validate:Bg(n,"Release","validate")},releaseAction:{get:Bg(n,"ReleaseAction","get"),getMany:Bg(n,"ReleaseAction","getMany"),queryForRelease:Bg(n,"ReleaseAction","queryForRelease")},role:{get:Bg(n,"Role","get"),getMany:Bg(n,"Role","getMany"),getManyForOrganization:Bg(n,"Role","getManyForOrganization"),create:Bg(n,"Role","create"),createWithId:Bg(n,"Role","createWithId"),update:Bg(n,"Role","update"),delete:Bg(n,"Role","delete")},scheduledActions:{get:Bg(n,"ScheduledAction","get"),getMany:Bg(n,"ScheduledAction","getMany"),create:Bg(n,"ScheduledAction","create"),delete:Bg(n,"ScheduledAction","delete"),update:Bg(n,"ScheduledAction","update")},previewApiKey:{get:Bg(n,"PreviewApiKey","get"),getMany:Bg(n,"PreviewApiKey","getMany")},apiKey:{get:Bg(n,"ApiKey","get"),getMany:Bg(n,"ApiKey","getMany"),create:Bg(n,"ApiKey","create"),createWithId:Bg(n,"ApiKey","createWithId"),update:Bg(n,"ApiKey","update"),delete:Bg(n,"ApiKey","delete")},appDefinition:{get:Bg(n,"AppDefinition","get"),getMany:Bg(n,"AppDefinition","getMany"),create:Bg(n,"AppDefinition","create"),update:Bg(n,"AppDefinition","update"),delete:Bg(n,"AppDefinition","delete"),getInstallationsForOrg:Bg(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:Bg(n,"AppInstallation","get"),getMany:Bg(n,"AppInstallation","getMany"),getForOrganization:Bg(n,"AppInstallation","getForOrganization"),upsert:Bg(n,"AppInstallation","upsert"),delete:Bg(n,"AppInstallation","delete")},resource:{getMany:Bg(n,"Resource","getMany")},resourceProvider:{get:Bg(n,"ResourceProvider","get"),upsert:Bg(n,"ResourceProvider","upsert"),delete:Bg(n,"ResourceProvider","delete")},resourceType:{get:Bg(n,"ResourceType","get"),getMany:Bg(n,"ResourceType","getMany"),upsert:Bg(n,"ResourceType","upsert"),delete:Bg(n,"ResourceType","delete"),getForEnvironment:Bg(n,"ResourceType","getForEnvironment")},extension:{get:Bg(n,"Extension","get"),getMany:Bg(n,"Extension","getMany"),create:Bg(n,"Extension","create"),createWithId:Bg(n,"Extension","createWithId"),update:Bg(n,"Extension","update"),delete:Bg(n,"Extension","delete")},webhook:{get:Bg(n,"Webhook","get"),getMany:Bg(n,"Webhook","getMany"),getHealthStatus:Bg(n,"Webhook","getHealthStatus"),getCallDetails:Bg(n,"Webhook","getCallDetails"),getSigningSecret:Bg(n,"Webhook","getSigningSecret"),getRetryPolicy:Bg(n,"Webhook","getRetryPolicy"),getManyCallDetails:Bg(n,"Webhook","getManyCallDetails"),create:Bg(n,"Webhook","create"),update:Bg(n,"Webhook","update"),upsertSigningSecret:Bg(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:Bg(n,"Webhook","upsertRetryPolicy"),delete:Bg(n,"Webhook","delete"),deleteSigningSecret:Bg(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:Bg(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:Bg(n,"Snapshot","getManyForEntry"),getForEntry:Bg(n,"Snapshot","getForEntry"),getManyForContentType:Bg(n,"Snapshot","getManyForContentType"),getForContentType:Bg(n,"Snapshot","getForContentType")},tag:{get:Bg(n,"Tag","get"),getMany:Bg(n,"Tag","getMany"),createWithId:Bg(n,"Tag","createWithId"),update:Bg(n,"Tag","update"),delete:Bg(n,"Tag","delete")},organization:{getAll:Bg(n,"Organization","getMany"),get:Bg(n,"Organization","get")},organizationInvitation:{get:Bg(n,"OrganizationInvitation","get"),create:Bg(n,"OrganizationInvitation","create")},organizationMembership:{get:Bg(n,"OrganizationMembership","get"),getMany:Bg(n,"OrganizationMembership","getMany"),update:Bg(n,"OrganizationMembership","update"),delete:Bg(n,"OrganizationMembership","delete")},oauthApplication:{get:Bg(n,"OAuthApplication","get"),getManyForUser:Bg(n,"OAuthApplication","getManyForUser"),update:Bg(n,"OAuthApplication","update"),delete:Bg(n,"OAuthApplication","delete"),create:Bg(n,"OAuthApplication","create")},spaceMember:{get:Bg(n,"SpaceMember","get"),getMany:Bg(n,"SpaceMember","getMany")},spaceMembership:{get:Bg(n,"SpaceMembership","get"),getMany:Bg(n,"SpaceMembership","getMany"),getForOrganization:Bg(n,"SpaceMembership","getForOrganization"),getManyForOrganization:Bg(n,"SpaceMembership","getManyForOrganization"),create:Bg(n,"SpaceMembership","create"),createWithId:Bg(n,"SpaceMembership","createWithId"),update:Bg(n,"SpaceMembership","update"),delete:Bg(n,"SpaceMembership","delete")},team:{get:Bg(n,"Team","get"),getMany:Bg(n,"Team","getMany"),getManyForSpace:Bg(n,"Team","getManyForSpace"),create:Bg(n,"Team","create"),update:Bg(n,"Team","update"),delete:Bg(n,"Team","delete")},teamMembership:{get:Bg(n,"TeamMembership","get"),getManyForOrganization:Bg(n,"TeamMembership","getManyForOrganization"),getManyForTeam:Bg(n,"TeamMembership","getManyForTeam"),create:Bg(n,"TeamMembership","create"),update:Bg(n,"TeamMembership","update"),delete:Bg(n,"TeamMembership","delete")},teamSpaceMembership:{get:Bg(n,"TeamSpaceMembership","get"),getMany:Bg(n,"TeamSpaceMembership","getMany"),getForOrganization:Bg(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:Bg(n,"TeamSpaceMembership","getManyForOrganization"),create:Bg(n,"TeamSpaceMembership","create"),update:Bg(n,"TeamSpaceMembership","update"),delete:Bg(n,"TeamSpaceMembership","delete")},uiConfig:{get:Bg(n,"UIConfig","get"),update:Bg(n,"UIConfig","update")},userUIConfig:{get:Bg(n,"UserUIConfig","get"),update:Bg(n,"UserUIConfig","update")},workflowDefinition:{get:Bg(n,"WorkflowDefinition","get"),getMany:Bg(n,"WorkflowDefinition","getMany"),create:Bg(n,"WorkflowDefinition","create"),update:Bg(n,"WorkflowDefinition","update"),delete:Bg(n,"WorkflowDefinition","delete")},workflow:{get:Bg(n,"Workflow","get"),getMany:Bg(n,"Workflow","getMany"),create:Bg(n,"Workflow","create"),update:Bg(n,"Workflow","update"),delete:Bg(n,"Workflow","delete"),complete:Bg(n,"Workflow","complete")},workflowsChangelog:{getMany:Bg(n,"WorkflowsChangelog","getMany")}}};let Hg=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const Xg={widgetId:"publication-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},Gg={widgetId:"releases-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},Jg={widgetId:"content-preview-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},Qg={widgetId:"incoming-links-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},Yg={widgetId:"translation-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},Zg={widgetId:"versions-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},ex={widgetId:"users-widget",widgetNamespace:Hg.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},tx=[Xg,Gg,Jg,Qg,Yg,Zg,ex],nx=[Xg,Gg,Qg,Yg,ex],ix="Editor",ax="References",rx="reference-tree",ox="Tags",sx="tags-editor",cx=[{widgetId:"default-editor",widgetNamespace:Hg.EDITOR_BUILTIN,name:ix},{widgetId:rx,widgetNamespace:Hg.EDITOR_BUILTIN,name:ax},{widgetId:sx,widgetNamespace:Hg.EDITOR_BUILTIN,name:ox}];function px(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function lx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?px(Object(n),!0).forEach((function(t){ux(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):px(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ux(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dx=["Text","Symbol","Integer","Number","Boolean"],mx={Symbol:{type:"Symbol"},Text:{type:"Text"},RichText:{type:"RichText"},Integer:{type:"Integer"},Number:{type:"Number"},Boolean:{type:"Boolean"},Date:{type:"Date"},Location:{type:"Location"},Object:{type:"Object"},File:{type:"File"},Entry:{type:"Link",linkType:"Entry"},Asset:{type:"Link",linkType:"Asset"},Resource:{type:"ResourceLink"},Symbols:{type:"Array",items:{type:"Symbol"}},Entries:{type:"Array",items:{type:"Link",linkType:"Entry"}},Assets:{type:"Array",items:{type:"Link",linkType:"Asset"}},Resources:{type:"Array",items:{type:"ResourceLink"}}},fx=Object.keys(mx),yx={Text:{widgetId:"markdown"},Symbol:{widgetId:"singleLine"},Integer:{widgetId:"numberEditor"},Number:{widgetId:"numberEditor"},Boolean:{widgetId:"boolean"},Date:{widgetId:"datePicker"},Location:{widgetId:"locationEditor"},Object:{widgetId:"objectEditor"},RichText:{widgetId:"richTextEditor"},Entry:{widgetId:"entryLinkEditor"},Asset:{widgetId:"assetLinkEditor"},Symbols:{widgetId:"tagEditor"},Entries:{widgetId:"entryLinksEditor"},Assets:{widgetId:"assetLinksEditor"},File:{widgetId:"fileEditor"},Resource:{widgetId:"resourceLinkEditor"},Resources:{widgetId:"resourceLinksEditor"}},vx={Boolean:{falseLabel:"No",helpText:null,trueLabel:"Yes"},Date:{helpText:null,ampm:"24",format:"timeZ"},Entry:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Asset:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Entries:{helpText:null,bulkEditing:!1,showCreateEntityAction:!0,showLinkEntityAction:!0},Assets:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0}},bx={SidebarEntryConfiguration:tx,SidebarAssetConfiguration:nx,EntryConfiguration:cx,getDefaultControlOfField:function(e){const t=(n=e,fx.find((e=>{const t=mx[e],i={type:n.type,linkType:n.linkType,items:n.items};return i.items&&(i.items={type:i.items.type,linkType:i.items.linkType}),"Link"===t.type?t.linkType===i.linkType:"Array"===t.type&&t.items&&i.items?"Link"===t.items.type?t.items.linkType===i.items.linkType:t.items.type===i.items.type:t.type===i.type})));var n;if(!t)throw new Error("Invalid field type");return(e.validations||[]).find((e=>"in"in e))&&dx.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=lx(lx({},yx[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in vx&&(n.settings=lx(lx({},n.settings),vx[e])),n}(t,e.id)}};function hx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function gx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hx(Object(n),!0).forEach((function(t){xx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wx=(e,t)=>({[Symbol.asyncIterator](){let n=an(t);const i=()=>e(an(n));let a=i();return{current:0,async next(){const{total:e=0,items:t=[],skip:r=0,limit:o=100}=await a;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-r],c=this.current%o==0,p=this.current===e;return c&&!p&&(n=gx(gx({},n),{},{query:gx(gx({},n.query),{},{skip:r+o})}),a=i()),{done:!1,value:s}}}}});function Ox(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ox(Object(n),!0).forEach((function(t){Ix(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ox(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ix(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function Px(e,t){const n=await e(jx({},t));if("total"in n){const{total:a,limit:r,items:o}=n;if(!(a>o.length))return o;const s=Math.ceil(a/r),c=(i=s,Array.from(Array(Math.abs(i-1)),((e,t)=>1+t))).map((n=>e(jx(jx({},t),{},{query:jx(jx({},t.query),{},{limit:r,skip:n*r})})).then((e=>e.items)))),p=await Promise.all(c);return[...o,...p.flat(1)]}var i;if("pages"in n){const{pages:i,items:a}=n;if(!i.next)return a;const r=function(e){const t=e.indexOf("?");if(t<0)return null;const n=e.slice(t+1);return new URLSearchParams(n).get("pageNext")}(i.next);if(!r)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...a,...await Px(e,jx(jx({},t),{},{query:jx(jx({},t.query),{},{pageNext:r})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}function Tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ax(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tx(Object(n),!0).forEach((function(t){Sx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ex(e,t={}){const n=function(e,t,n,i){const a=[];t&&a.push(`app ${t}`),n&&a.push(`integration ${n}`),i&&a.push("feature "+i),a.push(`sdk ${e}`);let r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=gn(),a.push("platform ReactNative")):void 0===rn||rn.browser?(r=gn(),a.push("platform browser")):(r=function(){const e=rn.platform||"linux",t=rn.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}(),a.push(`platform node.js/${rn.versions&&rn.versions.node?`v${rn.versions.node}`:rn.version}`))}catch(e){r=null}return r&&a.push(`os ${r}`),`${a.filter((e=>""!==e)).join("; ")};`}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/0.0.0-determined-by-semantic-release",e.application,e.integration,e.feature),i=function(e){return"apiAdapter"in e?e.apiAdapter:new uv(e)}(Ax(Ax({},e),{},{userAgent:n})),a=e=>i.makeRequest(Ax(Ax({},e),{},{userAgent:n}));return"plain"===t.type?Kg(a,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=Mg.space,{wrapUser:i}=Mg.user,{wrapPersonalAccessToken:a,wrapPersonalAccessTokenCollection:r}=Mg.personalAccessToken,{wrapAccessToken:o,wrapAccessTokenCollection:s}=Mg.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=Mg.organization,{wrapUsageCollection:l}=Mg.usage,{wrapAppDefinition:u}=Mg.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=Mg.environmentTemplate,{wrapOAuthApplication:f,wrapOAuthApplicationCollection:y}=Mg.oauthApplication;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:vn({query:n}).params}}).then((n=>m(e,n,t)))},getEnvironmentTemplate:function({organizationId:t,environmentTemplateId:n,version:i,query:a={}}){return e({entityType:"EnvironmentTemplate",action:"get",params:{organizationId:t,environmentTemplateId:n,version:i,query:vn({query:a}).params}}).then((n=>d(e,n,t)))},createEnvironmentTemplate:function(t,n){return e({entityType:"EnvironmentTemplate",action:"create",params:{organizationId:t},payload:n}).then((n=>d(e,n,t)))},getSpaces:function(t={}){return e({entityType:"Space",action:"getMany",params:{query:vn({query:t}).params}}).then((t=>n(e,t)))},getSpace:function(n){return e({entityType:"Space",action:"get",params:{spaceId:n}}).then((n=>t(e,n)))},createSpace:function(n,i){return e({entityType:"Space",action:"create",params:{organizationId:i},payload:n}).then((n=>t(e,n)))},getOrganization:function(t){return e({entityType:"Organization",action:"get",params:{organizationId:t}}).then((t=>c(e,t)))},getOrganizations:function(t={}){return e({entityType:"Organization",action:"getMany",params:{query:vn({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>i(e,t)))},getOAuthApplication:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"get",params:t}).then((t=>f(e,t,n)))},getOAuthApplications:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"getManyForUser",params:t}).then((t=>y(e,t,n)))},createOAuthApplication:function(t,n){const{userId:i}=t;return e({entityType:"OAuthApplication",action:"create",params:t,payload:n}).then((t=>f(e,t,i)))},getAppDefinition:function(t){return e({entityType:"AppDefinition",action:"get",params:t}).then((t=>u(e,t)))},createPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"create",params:{},payload:t}).then((t=>a(e,t)))},getPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"get",params:{tokenId:t}}).then((t=>a(e,t)))},getPersonalAccessTokens:function(){return e({entityType:"PersonalAccessToken",action:"getMany",params:{}}).then((t=>r(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>o(e,t)))},getAccessTokens:function(){return e({entityType:"AccessToken",action:"getMany",params:{}}).then((t=>s(e,t)))},getOrganizationAccessTokens:function(t,n={}){return e({entityType:"AccessToken",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>s(e,t)))},getOrganizationUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},getSpaceUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForSpace",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},rawRequest:function(t){let{url:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Fg);return e({entityType:"Http",action:"request",params:{url:n,config:i}})}}}(a)}})(),module.exports=i})();
2
+ (()=>{var e={8909:(e,t,n)=>{e.exports={parallel:n(5946),serial:n(6893),serialOrdered:n(8424)}},9407:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},7797:(e,t,n)=>{var i=n(4457);e.exports=function(e){var t=!1;return i((function(){t=!0})),function(n,a){t?e(n,a):i((function(){e(n,a)}))}}},4457:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},4407:(e,t,n)=>{var i=n(7797),a=n(9407);e.exports=function(e,t,n,r){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,a){return 2==e.length?e(n,i(a)):e(n,t,i(a))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?a(n):n.results[o]=t,r(e,n.results))}))}},264:e=>{e.exports=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])}),i}},9712:(e,t,n)=>{var i=n(9407),a=n(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,i(this),a(e)(null,this.results))}},5946:(e,t,n)=>{var i=n(4407),a=n(264),r=n(9712);e.exports=function(e,t,n){for(var o=a(e);o.index<(o.keyedList||e).length;)i(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return r.bind(o,n)}},6893:(e,t,n)=>{var i=n(8424);e.exports=function(e,t,n){return i(e,t,null,n)}},8424:(e,t,n)=>{var i=n(4407),a=n(264),r=n(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,o){var s=a(e,n);return i(e,t,s,(function n(a,r){a?o(a,r):(s.index++,s.index<(s.keyedList||e).length?i(e,t,s,n):o(null,s.results))})),r.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},3836:(e,t,n)=>{"use strict";var i=n(4499),a=n(6678),r=n(376),o=n(9707);e.exports=o||i.call(r,a)},6678:e=>{"use strict";e.exports=Function.prototype.apply},376:e=>{"use strict";e.exports=Function.prototype.call},946:(e,t,n)=>{"use strict";var i=n(4499),a=n(1711),r=n(376),o=n(3836);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return o(i,r,e)}},9707:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},3232:(e,t,n)=>{"use strict";var i=n(8897),a=n(946),r=a([i("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=i(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?a([n]):n}},5645:(e,t,n)=>{var i=n(9023),a=n(2203).Stream,r=n(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,i.inherits(o,a),o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},7989:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(a=i))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1236)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{e.exports=function(e){function t(e){let n,a,r,o=null;function s(...e){if(!s.enabled)return;const i=s,a=Number(new Date),r=a-(n||a);i.diff=r,i.prev=n,i.curr=a,n=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,a)=>{if("%%"===n)return"%";o++;const r=t.formatters[a];if("function"==typeof r){const t=e[o];n=r.call(i,t),e.splice(o,1),o--}return n})),t.formatArgs.call(i,e),(i.log||t.log).apply(i,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function a(e,t){let n=0,i=0,a=-1,r=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(a=i,r=n,i++):(n++,i++);else{if(-1===a)return!1;i=a+1,r++,n=r}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(a(e,n))return!1;for(const n of t.names)if(a(e,n))return!0;return!1},t.humanize=n(6301),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},9221:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{const i=n(2018),a=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(a.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:a}=this;if(a){const t=this.color,a="[3"+(t<8?t:"8;5;"+t),r=` ${a};1m${i} `;n[0]=r+n[0].split("\n").join("\n"+r),n.push(a+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):i.isatty(process.stderr.fd)},t.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=n(1236)(t);const{formatters:r}=e.exports;r.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}},4145:(e,t,n)=>{var i=n(2203).Stream,a=n(9023);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,a.inherits(r,i),r.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},1724:(e,t,n)=>{"use strict";var i,a=n(946),r=n(1399);try{i=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!i&&r&&r(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=o&&"function"==typeof o.get?a([o.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},7539:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3841:e=>{"use strict";e.exports=EvalError},219:e=>{"use strict";e.exports=Error},6190:e=>{"use strict";e.exports=RangeError},3950:e=>{"use strict";e.exports=ReferenceError},6296:e=>{"use strict";e.exports=SyntaxError},1711:e=>{"use strict";e.exports=TypeError},3221:e=>{"use strict";e.exports=URIError},7960:e=>{"use strict";e.exports=Object},225:(e,t,n)=>{"use strict";var i=n(8897)("%Object.defineProperty%",!0),a=n(1432)(),r=n(4313),o=n(1711),s=a?Symbol.toStringTag:null;e.exports=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==a&&"boolean"!=typeof a)throw new o("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!s||!n&&r(e,s)||(i?i(e,s,{configurable:!a,enumerable:!1,value:t,writable:!1}):e[s]=t)}},1615:(e,t,n)=>{var i;e.exports=function(){if(!i){try{i=n(9221)("follow-redirects")}catch(e){}"function"!=typeof i&&(i=function(){})}i.apply(null,arguments)}},3520:(e,t,n)=>{var i,a,r,o=n(7016),s=o.URL,c=n(8611),p=n(5692),l=n(2203).Writable,u=n(2613),d=n(1615);i="undefined"!=typeof process,a="undefined"!=typeof window&&"undefined"!=typeof document,r=D(Error.captureStackTrace),i||!a&&r||console.warn("The follow-redirects package should be excluded from browser builds.");var m=!1;try{u(new s(""))}catch(e){m="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],y=["abort","aborted","connect","error","socket","timeout"],v=Object.create(null);y.forEach((function(e){v[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var h=k("ERR_INVALID_URL","Invalid URL",TypeError),b=k("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",b),x=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=k("ERR_STREAM_WRITE_AFTER_END","write after end"),O=l.prototype.destroy||P;function j(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof b?e:new b({cause:e}))}},this._performRequest()}function I(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var a=i+":",r=n[a]=e[i],o=t[i]=Object.create(r);Object.defineProperties(o,{request:{value:function(e,i,r){return s&&e instanceof s?e=S(e):R(e)?e=S(T(e)):(r=i,i=A(e),e={protocol:a}),D(i)&&(r=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,R(i.host)||R(i.hostname)||(i.hostname="::1"),u.equal(i.protocol,a,"protocol mismatch"),d("options",i),new j(i,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function P(){}function T(e){var t;if(m)t=new s(e);else if(!R((t=A(o.parse(e))).protocol))throw new h({input:e});return t}function A(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new h({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new h({input:e.href||e});return e}function S(e,t){var n=t||{};for(var i of f)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function E(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function k(e,t,n){function i(n){D(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function C(e,t){for(var n of y)e.removeListener(n,v[n]);e.on("error",P),e.destroy(t)}function R(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}j.prototype=Object.create(l.prototype),j.prototype.abort=function(){C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},j.prototype.destroy=function(e){return C(this._currentRequest,e),O.call(this,e),this},j.prototype.write=function(e,t,n){if(this._ending)throw new w;if(!(R(e)||"object"==typeof(i=e)&&"length"in i))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;D(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new x),this.abort()):n&&n()},j.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var i=this,a=this._currentRequest;this.write(e,t,(function(){i._ended=!0,a.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},j.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},j.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},j.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){j.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(j.prototype,e,{get:function(){return this._currentRequest[e]}})})),j.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},j.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(i._redirectable=this,y))i.on(a,v[a]);if(this._currentUrl=/^\//.test(this._options.path)?o.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(r<c.length){var n=c[r++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},j.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(C(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var c,p,l=E(/^host$/i,this._options.headers),f=T(this._currentUrl),y=l||f.host,v=/^\w+:/.test(i)?this._currentUrl:o.format(Object.assign(f,{host:y})),h=(c=i,p=v,m?new s(c,p):T(o.resolve(p,c)));if(d("redirecting to",h.href),this._isRedirect=!0,S(h,this._options),(h.protocol!==f.protocol&&"https:"!==h.protocol||h.host!==y&&!function(e,t){u(R(e)&&R(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(h.host,y))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),D(a)){var b={headers:e.headers,statusCode:t},x={url:v,method:r,headers:n};a(this._options,b,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=I({http:c,https:p}),e.exports.wrap=I},2925:(e,t,n)=>{"use strict";var i=n(5645),a=n(9023),r=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(6982),d=n(9613),m=n(8909),f=n(225),y=n(4313),v=n(6686);function h(e){if(!(this instanceof h))return new h(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],i.call(this),e=e||{})this[t]=e[t]}a.inherits(h,i),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var a=i.prototype.append.bind(this);if("number"!=typeof t&&null!=t||(t=String(t)),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,n),o=this._multiPartFooter();a(r),a(t),a(o),this._trackLength(r,t,n)}},h.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=Number(n.knownLength):Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&y(t,"httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){y(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):p.stat(e.path,(function(n,i){if(n)t(n);else{var a=i.size-(e.start?e.start:0);t(null,a)}})):y(e,"httpVersion")?t(null,Number(e.headers["content-length"])):y(e,"httpModule")?(e.on("response",(function(n){e.pause(),t(null,Number(n.headers["content-length"]))})),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,a=this._getContentDisposition(t,n),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&v(s,n.header),s)if(y(s,c)){if(null==(i=s[c]))continue;Array.isArray(i)||(i=[i]),i.length&&(o+=c+": "+i.join("; ")+h.LINE_BREAK)}return"--"+this.getBoundary()+h.LINE_BREAK+o+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=r.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&y(e,"httpVersion")&&(n=r.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},h.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=d.lookup(e.name)),!n&&e&&e.path&&(n=d.lookup(e.path)),!n&&e&&e.readable&&y(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=d.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=h.DEFAULT_CONTENT_TYPE),n},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)y(e,t)&&(n[t.toLowerCase()]=e[t]);return n},h.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(h.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},h.prototype._generateBoundary=function(){this._boundary="--------------------------"+u.randomBytes(12).toString("hex")},h.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},h.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},h.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?m.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},h.prototype.submit=function(e,t){var n,i,a={method:"post"};return"string"==typeof e?(e=c(e),i=v({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(i=v(e,a)).port||(i.port="https:"===i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"===i.protocol?s.request(i):o.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var a,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",a),t.call(this,e,i)};a=r.bind(this,null),n.on("error",r),n.on("response",a)}}.bind(this)),n},h.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},h.prototype.toString=function(){return"[object FormData]"},f(h,"FormData"),e.exports=h},6686:e=>{"use strict";e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5845:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,i=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n};e.exports=function(e){var a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var r,o=function(e){for(var t=[],n=1,i=0;n<e.length;n+=1,i+=1)t[i]=e[n];return t}(arguments),s=n(0,a.length-o.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var t=a.apply(this,i(o,arguments));return Object(t)===t?t:this}return a.apply(e,i(o,arguments))})),a.prototype){var l=function(){};l.prototype=a.prototype,r.prototype=new l,l.prototype=null}return r}},4499:(e,t,n)=>{"use strict";var i=n(5845);e.exports=Function.prototype.bind||i},8897:(e,t,n)=>{"use strict";var i,a=n(7960),r=n(219),o=n(3841),s=n(6190),c=n(3950),p=n(6296),l=n(1711),u=n(3221),d=n(4822),m=n(3700),f=n(3888),y=n(4670),v=n(9988),h=n(5786),b=n(3897),g=Function,x=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(1399),O=n(7539),j=function(){throw new l},I=w?function(){try{return j}catch(e){try{return w(arguments,"callee").get}catch(e){return j}}}():j,P=n(4923)(),T=n(6152),A=n(9548),S=n(1588),E=n(6678),k=n(376),C={},R="undefined"!=typeof Uint8Array&&T?T(Uint8Array):i,D={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":P&&T?T([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&T?T(T([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P&&T?T((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P&&T?T((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&T?T(""[Symbol.iterator]()):i,"%Symbol%":P?Symbol:i,"%SyntaxError%":p,"%ThrowTypeError%":I,"%TypedArray%":R,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":E,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":A,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":h,"%Math.sign%":b,"%Reflect.getPrototypeOf%":S};if(T)try{null.error}catch(e){var _=T(T(e));D["%Error.prototype%"]=_}var $=function e(t){var n;if("%AsyncFunction%"===t)n=x("async function () {}");else if("%GeneratorFunction%"===t)n=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=x("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&T&&(n=T(a.prototype))}return D[t]=n,n},z={__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"]},M=n(4499),F=n(4313),q=M.call(k,Array.prototype.concat),U=M.call(E,Array.prototype.splice),L=M.call(k,String.prototype.replace),B=M.call(k,String.prototype.slice),N=M.call(k,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,K=function(e,t){var n,i=e;if(F(z,i)&&(i="%"+(n=z[i])[0]+"%"),F(D,i)){var a=D[i];if(a===C&&(a=$(i)),void 0===a&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a}}throw new p("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var i=[];return L(e,W,(function(e,t,n,a){i[i.length]=n?L(a,V,"$1"):t||e})),i}(e),i=n.length>0?n[0]:"",a=K("%"+i+"%",t),r=a.name,o=a.value,s=!1,c=a.alias;c&&(i=c[0],U(n,q([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var m=n[u],f=B(m,0,1),y=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new p("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),F(D,r="%"+(i+="."+m)+"%"))o=D[r];else if(null!=o){if(!(m in o)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=n.length){var v=w(o,m);o=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:o[m]}else d=F(o,m),o=o[m];d&&!s&&(D[r]=o)}}return o}},9548:(e,t,n)=>{"use strict";var i=n(7960);e.exports=i.getPrototypeOf||null},1588:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},6152:(e,t,n)=>{"use strict";var i=n(1588),a=n(9548),r=n(1724);e.exports=i?function(e){return i(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:r?function(e){return r(e)}:null},6433:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},1399:(e,t,n)=>{"use strict";var i=n(6433);if(i)try{i([],"length")}catch(e){i=null}e.exports=i},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),a=t.indexOf("--");return-1!==i&&(-1===a||i<a)}},4923:(e,t,n)=>{"use strict";var i="undefined"!=typeof Symbol&&Symbol,a=n(4361);e.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&a()}},4361:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=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(n))return!1;for(var i 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 a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},1432:(e,t,n)=>{"use strict";var i=n(4361);e.exports=function(){return i()&&!!Symbol.toStringTag}},4313:(e,t,n)=>{"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty,r=n(4499);e.exports=r.call(i,a)},7148:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3347:(e,t,n)=>{var i=n(1019)(Object.getPrototypeOf,Object);e.exports=i},1019:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},6397:e=>{var t=Array.isArray;e.exports=t},2934:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4679:(e,t,n)=>{var i=n(7148),a=n(3347),r=n(2934),o=Function.prototype,s=Object.prototype,c=o.toString,p=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=i(e))return!1;var t=a(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},7571:(e,t,n)=>{var i=n(7148),a=n(6397),r=n(2934);e.exports=function(e){return"string"==typeof e||!a(e)&&r(e)&&"[object String]"==i(e)}},4822:e=>{"use strict";e.exports=Math.abs},3700:e=>{"use strict";e.exports=Math.floor},3943:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},3888:e=>{"use strict";e.exports=Math.max},4670:e=>{"use strict";e.exports=Math.min},9988:e=>{"use strict";e.exports=Math.pow},5786:e=>{"use strict";e.exports=Math.round},3897:(e,t,n)=>{"use strict";var i=n(3943);e.exports=function(e){return i(e)||0===e?e:e<0?-1:1}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var i,a,r,o=n(9370),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var i=t.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),i=n&&t.extensions[n[1].toLowerCase()];return!(!i||!i.length)&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),i=t.extensions,a=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){i[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(a[c]){var p=r.indexOf(o[a[c]].source),l=r.indexOf(t.source);if("application/octet-stream"!==a[c]&&(p>l||p===l&&"application/"===a[c].substr(0,12)))continue}a[c]=e}}}))},6301:e=>{var t=1e3,n=60*t,i=60*n,a=24*i,r=7*a;function o(e,t,n,i){var a=t>=1.5*n;return Math.round(e/n)+" "+i+(a?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=a?o(c,p,a,"day"):p>=i?o(c,p,i,"hour"):p>=n?o(c,p,n,"minute"):p>=t?o(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=a?Math.round(e/a)+"d":r>=i?Math.round(e/i)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8527:(e,t,n)=>{var i="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=i&&a&&"function"==typeof a.get?a.get:null,o=i&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,h=String.prototype.match,b=String.prototype.slice,g=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,j=Array.prototype.concat,I=Array.prototype.join,P=Array.prototype.slice,T=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function _(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var i=e<0?-T(-e):T(e);if(i!==e){var a=String(i),r=b.call(t,a.length+1);return g.call(a,n,"$&_")+"."+g.call(g.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var $=n(6761),z=$.custom,M=W(z)?z:null,F={__proto__:null,double:'"',single:"'"},q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function U(e,t,n){var i=n.quoteStyle||t,a=F[i];return a+e+a}function L(e){return g.call(String(e),/"/g,"&quot;")}function B(e){return!("[object Array]"!==H(e)||C&&"object"==typeof e&&C in e)}function N(e){return!("[object RegExp]"!==H(e)||C&&"object"==typeof e&&C in e)}function W(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,a){var s=n||{};if(K(s,"quoteStyle")&&!K(F,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!K(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.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 G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return y?_(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return y?_(t,O):O}var T=void 0===s.depth?5:s.depth;if(void 0===i&&(i=0),i>=T&&T>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var S,z=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=I.call(Array(e.indent+1)," ")}return{base:n,prev:I.call(Array(t+1),n)}}(s,i);if(void 0===a)a=[];else if(X(a,t)>=0)return"[Circular]";function q(t,n,r){if(n&&(a=P.call(a)).push(n),r){var o={depth:s.depth};return K(s,"quoteStyle")&&(o.quoteStyle=s.quoteStyle),e(t,o,i+1,a)}return e(t,s,i+1,a)}if("function"==typeof t&&!N(t)){var V=function(e){if(e.name)return e.name;var t=h.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=te(t,q);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(J.length>0?" { "+I.call(J,", ")+" }":"")}if(W(t)){var ne=k?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?ne:Q(ne)}if((S=t)&&"object"==typeof S&&("undefined"!=typeof HTMLElement&&S instanceof HTMLElement||"string"==typeof S.nodeName&&"function"==typeof S.getAttribute)){for(var ie="<"+w.call(String(t.nodeName)),ae=t.attributes||[],re=0;re<ae.length;re++)ie+=" "+ae[re].name+"="+U(L(ae[re].value),"double",s);return ie+=">",t.childNodes&&t.childNodes.length&&(ie+="..."),ie+"</"+w.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var oe=te(t,q);return z&&!function(e){for(var t=0;t<e.length;t++)if(X(e[t],"\n")>=0)return!1;return!0}(oe)?"["+ee(oe,z)+"]":"[ "+I.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)){var se=te(t,q);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(se,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"==typeof t&&c){if(M&&"function"==typeof t[M]&&$)return $(t,{depth:T-i});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return o&&o.call(t,(function(e,n){ce.push(q(n,t,!0)+" => "+q(e,t))})),Z("Map",r.call(t),ce,z)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return l&&l.call(t,(function(e){pe.push(q(e,t))})),Z("Set",p.call(t),pe,z)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Q(q(A.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(f.call(t));if(function(e){return!("[object String]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(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]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)&&!N(t)){var le=te(t,q),ue=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",me=!ue&&C&&Object(t)===t&&C in t?b.call(H(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||de?"["+I.call(j.call([],me||[],de||[]),": ")+"] ":"");return 0===le.length?fe+"{}":z?fe+"{"+ee(le,z)+"}":fe+"{ "+I.call(le,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return V.call(e,t)}function H(e){return y.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function G(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return G(b.call(e,0,t.maxStringLength),t)+i}var a=q[t.quoteStyle||"single"];return a.lastIndex=0,U(g.call(g.call(e,a,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,i){return e+" ("+t+") {"+(i?ee(n,i):I.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=B(e),i=[];if(n){i.length=e.length;for(var a=0;a<e.length;a++)i[a]=K(e,a)?t(e[a],e):""}var r,o="function"==typeof S?S(e):[];if(k){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var c in e)K(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&r["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?i.push(t(c,e)+": "+t(e[c],e)):i.push(c+": "+t(e[c],e))));if("function"==typeof S)for(var p=0;p<o.length;p++)R.call(e,o[p])&&i.push("["+t(o[p])+"]: "+t(e[o[p]],e));return i}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1420:(e,t,n)=>{"use strict";var i=n(7016).parse,a={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?i(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),a=i?i[1]:n,o=i?parseInt(i[2]):0;return!(!o||o===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!r.call(e,a)):e!==a)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||a[n]||0))return"";var p=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},769:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:i}},8985:(e,t,n)=>{"use strict";var i=n(1088),a=n(2286),r=n(769);e.exports={formats:r,parse:a,stringify:i}},2286:(e,t,n)=>{"use strict";var i=n(5364),a=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:i.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},p=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,p=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=p?o.slice(0,p.index):o,u=[];if(l){if(!n.plainObjects&&a.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(p=s.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,p[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(p[1])}if(p){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+o.slice(p.index)+"]")}return function(e,t,n,a){var r=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");r=Array.isArray(t)&&t[o]?t[o].length:0}for(var s=a?t:c(t,n,r),p=e.length-1;p>=0;--p){var l,u=e[p];if("[]"===u&&n.parseArrays)l=n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:i.combine([],s);else{l=n.plainObjects?{__proto__:null}:{};var d="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,m=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,f=parseInt(m,10);n.parseArrays||""!==m?!isNaN(f)&&u!==m&&String(f)===m&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[])[f]=s:"__proto__"!==m&&(l[m]=s):l={0:s}}s=l}return s}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?o.charset:e.charset,n=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var l="string"==typeof e?function(e,t){var n={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=p.split(t.delimiter,t.throwOnLimitExceeded?l+1:l);if(t.throwOnLimitExceeded&&u.length>l)throw new RangeError("Parameter limit exceeded. Only "+l+" parameter"+(1===l?"":"s")+" allowed.");var d,m=-1,f=t.charset;if(t.charsetSentinel)for(d=0;d<u.length;++d)0===u[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[d]?f="utf-8":"utf8=%26%2310003%3B"===u[d]&&(f="iso-8859-1"),m=d,d=u.length);for(d=0;d<u.length;++d)if(d!==m){var y,v,h=u[d],b=h.indexOf("]="),g=-1===b?h.indexOf("="):b+1;-1===g?(y=t.decoder(h,o.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(h.slice(0,g),o.decoder,f,"key"),v=i.maybeMap(c(h.slice(g+1),t,r(n[y])?n[y].length:0),(function(e){return t.decoder(e,o.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(String(v))),h.indexOf("[]=")>-1&&(v=r(v)?[v]:v);var x=a.call(n,y);x&&"combine"===t.duplicates?n[y]=i.combine(n[y],v):x&&"last"!==t.duplicates||(n[y]=v)}return n}(e,n):e,u=n.plainObjects?{__proto__:null}:{},d=Object.keys(l),m=0;m<d.length;++m){var f=d[m],y=p(f,l[f],n,"string"==typeof e);u=i.merge(u,y,n)}return!0===n.allowSparse?u:i.compact(u)}},1088:(e,t,n)=>{"use strict";var i=n(588),a=n(5364),r=n(769),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,p=Array.prototype.push,l=function(e,t){p.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=r.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:a.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,r,o,s,p,u,d,y,v,h,b,g,x,w,O,j,I){for(var P,T=t,A=I,S=0,E=!1;void 0!==(A=A.get(f))&&!E;){var k=A.get(t);if(S+=1,void 0!==k){if(k===S)throw new RangeError("Cyclic object value");E=!0}void 0===A.get(f)&&(S=0)}if("function"==typeof v?T=v(n,T):T instanceof Date?T=g(T):"comma"===r&&c(T)&&(T=a.maybeMap(T,(function(e){return e instanceof Date?g(e):e}))),null===T){if(p)return y&&!O?y(n,m.encoder,j,"key",x):n;T=""}if("string"==typeof(P=T)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||a.isBuffer(T))return y?[w(O?n:y(n,m.encoder,j,"key",x))+"="+w(y(T,m.encoder,j,"value",x))]:[w(n)+"="+w(String(T))];var C,R=[];if(void 0===T)return R;if("comma"===r&&c(T))O&&y&&(T=a.maybeMap(T,y)),C=[{value:T.length>0?T.join(",")||null:void 0}];else if(c(v))C=v;else{var D=Object.keys(T);C=h?D.sort(h):D}var _=d?String(n).replace(/\./g,"%2E"):String(n),$=o&&c(T)&&1===T.length?_+"[]":_;if(s&&c(T)&&0===T.length)return $+"[]";for(var z=0;z<C.length;++z){var M=C[z],F="object"==typeof M&&M&&void 0!==M.value?M.value:T[M];if(!u||null!==F){var q=b&&d?String(M).replace(/\./g,"%2E"):String(M),U=c(T)?"function"==typeof r?r($,q):$:$+(b?"."+q:"["+q+"]");I.set(t,S);var L=i();L.set(f,I),l(R,e(F,U,r,o,s,p,u,d,"comma"===r&&O&&c(T)?null:y,v,h,b,g,x,w,O,j,L))}}return R};e.exports=function(e,t){var n,a=e,p=function(e){if(!e)return m;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.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 n=r.default;if(void 0!==e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i,a=r.formatters[n],p=m.filter;if(("function"==typeof e.filter||c(e.filter))&&(p=e.filter),i=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:p,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof p.filter?a=(0,p.filter)("",a):c(p.filter)&&(n=p.filter);var u=[];if("object"!=typeof a||null===a)return"";var d=s[p.arrayFormat],f="comma"===d&&p.commaRoundTrip;n||(n=Object.keys(a)),p.sort&&n.sort(p.sort);for(var v=i(),h=0;h<n.length;++h){var b=n[h],g=a[b];p.skipNulls&&null===g||l(u,y(g,b,d,f,p.allowEmptyArrays,p.strictNullHandling,p.skipNulls,p.encodeDotInKeys,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,v))}var x=u.join(p.delimiter),w=!0===p.addQueryPrefix?"?":"";return p.charsetSentinel&&("iso-8859-1"===p.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),x.length>0?w+x:""}},5364:(e,t,n)=>{"use strict";var i=n(769),a=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)void 0!==e[i]&&(n[i]=e[i]);return n},c=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var a=t[i],o=a.obj[a.prop],s=Object.keys(o),c=0;c<s.length;++c){var p=s[c],l=o[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:o,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var i=[],a=0;a<n.length;++a)void 0!==n[a]&&i.push(n[a]);t.obj[t.prop]=i}}}(t),e},decode:function(e,t,n){var i=e.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,n,a,r){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var p="",l=0;l<s.length;l+=c){for(var u=s.length>=c?s.slice(l,l+c):s,d=[],m=0;m<u.length;++m){var f=u.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||r===i.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(m):f<128?d[d.length]=o[f]:f<2048?d[d.length]=o[192|f>>6]+o[128|63&f]:f<55296||f>=57344?d[d.length]=o[224|f>>12]+o[128|f>>6&63]+o[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(m)),d[d.length]=o[240|f>>18]+o[128|f>>12&63]+o[128|f>>6&63]+o[128|63&f])}p+=d.join("")}return p},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(r(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(t(e[i]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(r(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return r(t)&&!r(n)&&(o=s(t,i)),r(t)&&r(n)?(n.forEach((function(n,r){if(a.call(t,r)){var o=t[r];o&&"object"==typeof o&&n&&"object"==typeof n?t[r]=e(o,n,i):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var o=n[r];return a.call(t,r)?t[r]=e(t[r],o,i):t[r]=o,t}),o)}}},3575:(e,t,n)=>{"use strict";var i=n(8527),a=n(1711),r=function(e,t,n){for(var i,a=e;null!=(i=a.next);a=i)if(i.key===t)return a.next=i.next,n||(i.next=e.next,e.next=i),i};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){var n=e&&e.next,i=function(e,t){if(e)return r(e,t,!0)}(e,t);return i&&n&&n===i&&(e=void 0),!!i},get:function(t){return function(e,t){if(e){var n=r(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!r(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var i=r(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},9167:(e,t,n)=>{"use strict";var i=n(8897),a=n(3232),r=n(8527),o=n(1711),s=i("%Map%",!0),c=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),l=a("Map.prototype.has",!0),u=a("Map.prototype.delete",!0),d=a("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){if(e){var n=u(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&l(e,t)},set:function(t,n){e||(e=new s),p(e,t,n)}};return t}},9075:(e,t,n)=>{"use strict";var i=n(8897),a=n(3232),r=n(8527),o=n(9167),s=n(1711),c=i("%WeakMap%",!0),p=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),u=a("WeakMap.prototype.has",!0),d=a("WeakMap.prototype.delete",!0);e.exports=c?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+r(e))},delete:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(o&&t)return t.delete(n);return!1},get:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?p(e,n):t&&t.get(n)},has:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):!!t&&t.has(n)},set:function(n,i){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),l(e,n,i)):o&&(t||(t=o()),t.set(n,i))}};return n}:o},588:(e,t,n)=>{"use strict";var i=n(1711),a=n(8527),r=n(3575),o=n(9167),s=n(9075)||o||r;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},459:(e,t,n)=>{"use strict";const i=n(857),a=n(2018),r=n(5704),{env:o}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===s)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===o.TERM)return n;if("win32"===process.platform){const e=i.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:n}r("no-color")||r("no-colors")||r("color=false")||r("color=never")?s=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(s=1),"FORCE_COLOR"in o&&(s="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(p(e,e&&e.isTTY))},stdout:c(p(!0,a.isatty(1))),stderr:c(p(!0,a.isatty(2)))}},2613:e=>{"use strict";e.exports=require("assert")},6982:e=>{"use strict";e.exports=require("crypto")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{RestAdapter:()=>Av,ScheduledActionReferenceFilters:()=>Zh,ScheduledActionStatus:()=>tg,WorkflowStepPermissionAction:()=>Ng,WorkflowStepPermissionEffect:()=>Wg,WorkflowStepPermissionType:()=>Bg,asIterator:()=>Nx,createClient:()=>Qx,editorInterfaceDefaults:()=>$t,fetchAll:()=>Hx,isDraft:()=>sh,isPublished:()=>rh,isUpdated:()=>oh,makeRequest:()=>Ov});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Xi,hasStandardBrowserEnv:()=>Ji,hasStandardBrowserWebWorkerEnv:()=>Qi,navigator:()=>Gi,origin:()=>Yi});var t={};n.r(t),n.d(t,{create:()=>to,del:()=>io,get:()=>Zr,getMany:()=>eo,invoke:()=>oo,publish:()=>ao,unpublish:()=>ro,update:()=>no});var a={};n.r(a),n.d(a,{get:()=>so});var r={};n.r(r),n.d(r,{createPersonalAccessToken:()=>lo,get:()=>co,getMany:()=>po,getManyForOrganization:()=>mo,revoke:()=>uo});var o={};n.r(o),n.d(o,{create:()=>go,createWithId:()=>xo,del:()=>Oo,get:()=>ho,getMany:()=>bo,update:()=>wo});var s={};n.r(s),n.d(s,{create:()=>jo});var c={};n.r(c),n.d(c,{create:()=>zo,del:()=>$o,get:()=>Ro,getMany:()=>Do,getManyForEnvironment:()=>_o,update:()=>Mo});var p={};n.r(p),n.d(p,{create:()=>es,createWithResponse:()=>ns,createWithResult:()=>rs,get:()=>is,getCallDetails:()=>ts,getResponse:()=>as});var l={};n.r(l),n.d(l,{create:()=>us,del:()=>ls,get:()=>cs,getMany:()=>ps});var u={};n.r(u),n.d(u,{create:()=>gs,del:()=>ws,get:()=>hs,getAppDefinitionUrl:()=>vs,getInstallationsForOrg:()=>Os,getMany:()=>bs,update:()=>xs});var d={};n.r(d),n.d(d,{del:()=>Ps,get:()=>js,upsert:()=>Is});var m={};n.r(m),n.d(m,{del:()=>Ss,get:()=>Ts,upsert:()=>As});var f={};n.r(f),n.d(f,{del:()=>Ms,get:()=>_s,getAppInstallationUrl:()=>Ds,getForOrganization:()=>Fs,getMany:()=>$s,upsert:()=>zs});var y={};n.r(y),n.d(y,{create:()=>Ls,del:()=>Bs,get:()=>qs,getMany:()=>Us});var v={};n.r(v),n.d(v,{create:()=>Ns});var h={};n.r(h),n.d(h,{del:()=>Ks,get:()=>Ws,upsert:()=>Vs});var b={};n.r(b),n.d(b,{create:()=>Ys,del:()=>Qs,get:()=>Js});var g={};n.r(g),n.d(g,{create:()=>tc,del:()=>nc,get:()=>ic});var x={};n.r(x),n.d(x,{create:()=>mc,createFromFiles:()=>yc,createWithId:()=>fc,get:()=>lc,getMany:()=>uc,processForAllLocales:()=>bc,processForLocale:()=>hc,update:()=>dc});var w={};n.r(w),n.d(w,{archive:()=>Rc,create:()=>_c,createFromFiles:()=>zc,createWithId:()=>$c,del:()=>Ec,get:()=>Pc,getMany:()=>Ac,getPublished:()=>Tc,processForAllLocales:()=>qc,processForLocale:()=>Fc,publish:()=>kc,unarchive:()=>Dc,unpublish:()=>Cc,update:()=>Sc});var O={};n.r(O),n.d(O,{ValidationError:()=>Uc,create:()=>Lc});var j={};n.r(j),n.d(j,{get:()=>Bc,getV2:()=>Kc,publish:()=>Nc,publishV2:()=>Hc,unpublish:()=>Wc,unpublishV2:()=>Xc,validate:()=>Vc,validateV2:()=>Gc});var I={};n.r(I),n.d(I,{create:()=>cp,del:()=>lp,get:()=>op,getAll:()=>up,getMany:()=>sp,update:()=>pp});var P={};n.r(P),n.d(P,{create:()=>vp,createWithId:()=>hp,del:()=>Op,get:()=>wp,getAncestors:()=>Pp,getDescendants:()=>Ip,getMany:()=>jp,getTotal:()=>Tp,patch:()=>bp,update:()=>gp,updatePut:()=>xp});var T={};n.r(T),n.d(T,{create:()=>zp,createWithId:()=>Mp,del:()=>Dp,get:()=>Rp,getMany:()=>_p,getTotal:()=>$p,patch:()=>Fp,update:()=>qp,updatePut:()=>Up});var A={};n.r(A),n.d(A,{create:()=>Xp,createWithId:()=>Gp,del:()=>Qp,get:()=>Kp,getMany:()=>Hp,publish:()=>Yp,unpublish:()=>Zp,update:()=>Jp});var S={};n.r(S),n.d(S,{get:()=>al,getMany:()=>rl,update:()=>ol});var E={};n.r(E),n.d(E,{create:()=>fl,createWithId:()=>yl,get:()=>ll,getMany:()=>ul,patch:()=>ml,update:()=>dl});var k={};n.r(k),n.d(k,{archive:()=>Al,create:()=>El,createWithId:()=>kl,del:()=>Il,get:()=>gl,getMany:()=>wl,getPublished:()=>xl,patch:()=>Ol,publish:()=>Pl,references:()=>Cl,unarchive:()=>Sl,unpublish:()=>Tl,update:()=>jl});var C={};n.r(C),n.d(C,{create:()=>ql,createWithId:()=>Ul,del:()=>Fl,get:()=>$l,getMany:()=>zl,update:()=>Ml});var R={};n.r(R),n.d(R,{createWithId:()=>Xl,del:()=>Jl,get:()=>Kl,getMany:()=>Hl,update:()=>Gl});var D={};n.r(D),n.d(D,{create:()=>iu,del:()=>ou,disconnect:()=>lu,get:()=>tu,getMany:()=>nu,install:()=>pu,update:()=>au,validate:()=>cu,versionUpdate:()=>ru,versions:()=>su});var _={};n.r(_),n.d(_,{getForEnvironment:()=>bu,getMany:()=>hu});var $={};n.r($),n.d($,{create:()=>Tu,createWithId:()=>Au,del:()=>Eu,get:()=>Iu,getExtensionUrl:()=>ju,getMany:()=>Pu,update:()=>Su});var z={};n.r(z),n.d(z,{get:()=>Cu,getMany:()=>Ru,getManyForEnvironment:()=>Du});var M={};n.r(M),n.d(M,{get:()=>Fu,getMany:()=>qu});var F={};n.r(F),n.d(F,{del:()=>Wu,get:()=>Uu,patch:()=>Nu,post:()=>Lu,put:()=>Bu,request:()=>Vu});var q={};n.r(q),n.d(q,{create:()=>Qu,del:()=>Zu,get:()=>Gu,getMany:()=>Ju,update:()=>Yu});var U={};n.r(U),n.d(U,{get:()=>td,getMany:()=>ed});var L={};n.r(L),n.d(L,{create:()=>sd,get:()=>cd});var B={};n.r(B),n.d(B,{del:()=>hd,get:()=>fd,getMany:()=>yd,update:()=>vd});var N={};n.r(N),n.d(N,{create:()=>xd,del:()=>Od,get:()=>bd,getManyForUser:()=>gd,update:()=>wd});var W={};n.r(W),n.d(W,{create:()=>Pd,get:()=>jd,getMany:()=>Id,revoke:()=>Td});var V={};n.r(V),n.d(V,{get:()=>Ad,getMany:()=>Sd});var K={};n.r(K),n.d(K,{archive:()=>Ud,create:()=>_d,del:()=>zd,get:()=>Rd,publish:()=>Md,query:()=>Dd,unarchive:()=>Ld,unpublish:()=>Fd,update:()=>$d,validate:()=>qd});var H={};n.r(H),n.d(H,{get:()=>Vd,getMany:()=>Kd,queryForRelease:()=>Hd});var X={};n.r(X),n.d(X,{getMany:()=>Xd});var G={};n.r(G),n.d(G,{del:()=>Yd,get:()=>Jd,upsert:()=>Qd});var J={};n.r(J),n.d(J,{del:()=>im,get:()=>tm,getForEnvironment:()=>rm,getMany:()=>am,upsert:()=>nm});var Q={};n.r(Q),n.d(Q,{create:()=>dm,createWithId:()=>mm,del:()=>ym,get:()=>pm,getMany:()=>lm,getManyForOrganization:()=>um,update:()=>fm});var Y={};n.r(Y),n.d(Y,{create:()=>bm,del:()=>gm,get:()=>vm,getMany:()=>hm,update:()=>xm});var Z={};n.r(Z),n.d(Z,{get:()=>wm});var ee={};n.r(ee),n.d(ee,{get:()=>Om});var te={};n.r(te),n.d(te,{get:()=>jm});var ne={};n.r(ne),n.d(ne,{get:()=>Im});var ie={};n.r(ie),n.d(ie,{getForContentType:()=>km,getForEntry:()=>Am,getManyForContentType:()=>Em,getManyForEntry:()=>Tm});var ae={};n.r(ae),n.d(ae,{create:()=>Mm,del:()=>qm,get:()=>_m,getMany:()=>$m,getManyForOrganization:()=>zm,update:()=>Fm});var re={};n.r(re),n.d(re,{get:()=>Um,getMany:()=>Lm});var oe={};n.r(oe),n.d(oe,{create:()=>Ym,createWithId:()=>Zm,del:()=>tf,get:()=>Xm,getForOrganization:()=>Jm,getMany:()=>Gm,getManyForOrganization:()=>Qm,update:()=>ef});var se={};n.r(se),n.d(se,{createWithId:()=>uf,del:()=>mf,get:()=>pf,getMany:()=>lf,update:()=>df});var ce={};n.r(ce),n.d(ce,{create:()=>jf,del:()=>Pf,get:()=>xf,getAll:()=>Of,getMany:()=>wf,update:()=>If});var pe={};n.r(pe),n.d(pe,{create:()=>_f,del:()=>zf,get:()=>Cf,getMany:()=>Rf,getManyForSpace:()=>Df,update:()=>$f});var le={};n.r(le),n.d(le,{create:()=>Vf,del:()=>Hf,get:()=>Bf,getManyForOrganization:()=>Nf,getManyForTeam:()=>Wf,update:()=>Kf});var ue={};n.r(ue),n.d(ue,{create:()=>iy,del:()=>ry,get:()=>Zf,getForOrganization:()=>ty,getMany:()=>ey,getManyForOrganization:()=>ny,update:()=>ay});var de={};n.r(de),n.d(de,{get:()=>sy,update:()=>cy});var me={};n.r(me),n.d(me,{create:()=>py});var fe={};n.r(fe),n.d(fe,{getManyForOrganization:()=>uy,getManyForSpace:()=>ly});var ye={};n.r(ye),n.d(ye,{getCurrent:()=>my,getForOrganization:()=>yy,getForSpace:()=>dy,getManyForOrganization:()=>vy,getManyForSpace:()=>fy});var ve={};n.r(ve),n.d(ve,{get:()=>by,update:()=>gy});var he={};n.r(he),n.d(he,{get:()=>xy,update:()=>wy});var be={};n.r(be),n.d(be,{create:()=>Fy,createWithId:()=>qy,del:()=>Ny,deleteRetryPolicy:()=>Vy,deleteSigningSecret:()=>Wy,get:()=>Cy,getCallDetails:()=>Dy,getHealthStatus:()=>_y,getMany:()=>$y,getManyCallDetails:()=>Ry,getRetryPolicy:()=>My,getSigningSecret:()=>zy,update:()=>Uy,upsertRetryPolicy:()=>By,upsertSigningSecret:()=>Ly});var ge={};n.r(ge),n.d(ge,{complete:()=>rv,create:()=>nv,del:()=>av,get:()=>tv,getMany:()=>ev,update:()=>iv});var xe={};n.r(xe),n.d(xe,{create:()=>fv,del:()=>vv,get:()=>dv,getMany:()=>mv,update:()=>yv});var we={};n.r(we),n.d(we,{getMany:()=>hv});var Oe={};n.r(Oe),n.d(Oe,{AiActionOutputFormat:()=>Ev,wrapAiActionInvocation:()=>kv,wrapAiActionInvocationCollection:()=>Cv});var je={};n.r(je),n.d(je,{wrapAiAction:()=>Rv,wrapAiActionCollection:()=>Dv});var Ie={};n.r(Ie),n.d(Ie,{wrapApiKey:()=>_v,wrapApiKeyCollection:()=>$v});var Pe={};n.r(Pe),n.d(Pe,{wrapAppAction:()=>zv,wrapAppActionCollection:()=>Mv});var Te={};n.r(Te),n.d(Te,{default:()=>Lv,wrapAppActionCall:()=>Bv,wrapAppActionCallResponse:()=>Nv});var Ae={};n.r(Ae),n.d(Ae,{wrapAppBundle:()=>Wv,wrapAppBundleCollection:()=>Vv});var Se={};n.r(Se),n.d(Se,{wrapAppDefinition:()=>Kv,wrapAppDefinitionCollection:()=>Hv});var Ee={};n.r(Ee),n.d(Ee,{wrapAppDetails:()=>Xv});var ke={};n.r(ke),n.d(ke,{wrapAppInstallation:()=>Gv,wrapAppInstallationCollection:()=>Jv});var Ce={};n.r(Ce),n.d(Ce,{wrapAppSignedRequest:()=>Qv});var Re={};n.r(Re),n.d(Re,{wrapAppSigningSecret:()=>Yv});var De={};n.r(De),n.d(De,{wrapAppEventSubscription:()=>Zv});var _e={};n.r(_e),n.d(_e,{wrapAppKey:()=>eh,wrapAppKeyCollection:()=>th});var $e={};n.r($e),n.d($e,{wrapAppAccessToken:()=>nh});var ze={};n.r(ze),n.d(ze,{wrapAppUpload:()=>ih,wrapAppUploadCollection:()=>ah});var Me={};n.r(Me),n.d(Me,{wrapAsset:()=>dh,wrapAssetCollection:()=>mh,wrapAssetTypeCursorPaginatedCollection:()=>fh});var Fe={};n.r(Fe),n.d(Fe,{wrapAssetKey:()=>yh});var qe={};n.r(qe),n.d(qe,{BulkActionStatus:()=>jh,wrapBulkAction:()=>Ih});var Ue={};n.r(Ue),n.d(Ue,{CommentNode:()=>Sh,default:()=>Eh,wrapComment:()=>kh,wrapCommentCollection:()=>Ch});var Le={};n.r(Le),n.d(Le,{wrapEditorInterface:()=>Rh,wrapEditorInterfaceCollection:()=>Dh});var Be={};n.r(Be),n.d(Be,{wrapSnapshot:()=>_h,wrapSnapshotCollection:()=>$h});var Ne={};n.r(Ne),n.d(Ne,{wrapContentType:()=>Bh,wrapContentTypeCollection:()=>Nh,wrapContentTypeCursorPaginatedCollection:()=>Wh});var We={};n.r(We),n.d(We,{wrapEntry:()=>Xh,wrapEntryCollection:()=>Gh,wrapEntryTypeCursorPaginatedCollection:()=>Jh});var Ve={};n.r(Ve),n.d(Ve,{wrapReleaseAction:()=>Qh,wrapReleaseActionCollection:()=>Yh});var Ke={};n.r(Ke),n.d(Ke,{ReleaseReferenceFilters:()=>eb,wrapRelease:()=>tb,wrapReleaseCollection:()=>nb});var He={};n.r(He),n.d(He,{default:()=>ob,wrapTag:()=>sb,wrapTagCollection:()=>cb});var Xe={};n.r(Xe),n.d(Xe,{wrapUIConfig:()=>pb});var Ge={};n.r(Ge),n.d(Ge,{wrapUserUIConfig:()=>lb});var Je={};n.r(Je),n.d(Je,{wrapEnvironmentTemplateInstallation:()=>ub,wrapEnvironmentTemplateInstallationCollection:()=>db});var Qe={};n.r(Qe),n.d(Qe,{wrapFunction:()=>mb,wrapFunctionCollection:()=>fb});var Ye={};n.r(Ye),n.d(Ye,{wrapFunctionLog:()=>yb,wrapFunctionLogCollection:()=>vb});var Ze={};n.r(Ze),n.d(Ze,{wrapEnvironment:()=>wb,wrapEnvironmentCollection:()=>Ob});var et={};n.r(et),n.d(et,{wrapEnvironmentAlias:()=>jb,wrapEnvironmentAliasCollection:()=>Ib});var tt={};n.r(tt),n.d(tt,{wrapEnvironmentTemplate:()=>Eb,wrapEnvironmentTemplateCollection:()=>kb});var nt={};n.r(nt),n.d(nt,{wrapExtension:()=>Cb,wrapExtensionCollection:()=>Rb});var it={};n.r(it),n.d(it,{wrapLocale:()=>Db,wrapLocaleCollection:()=>_b});var at={};n.r(at),n.d(at,{ScopeValues:()=>$b,wrapOAuthApplication:()=>zb,wrapOAuthApplicationCollection:()=>Mb});var rt={};n.r(rt),n.d(rt,{wrapOrganization:()=>Lb,wrapOrganizationCollection:()=>Bb});var ot={};n.r(ot),n.d(ot,{wrapOrganizationInvitation:()=>Nb});var st={};n.r(st),n.d(st,{wrapOrganizationMembership:()=>Wb,wrapOrganizationMembershipCollection:()=>Vb});var ct={};n.r(ct),n.d(ct,{wrapPersonalAccessToken:()=>Kb,wrapPersonalAccessTokenCollection:()=>Hb});var pt={};n.r(pt),n.d(pt,{wrapAccessToken:()=>Xb,wrapAccessTokenCollection:()=>Gb});var lt={};n.r(lt),n.d(lt,{wrapPreviewApiKey:()=>Jb,wrapPreviewApiKeyCollection:()=>Qb});var ut={};n.r(ut),n.d(ut,{wrapRole:()=>Yb,wrapRoleCollection:()=>Zb});var dt={};n.r(dt),n.d(dt,{ScheduledActionStatus:()=>tg,default:()=>ng,wrapScheduledAction:()=>ig,wrapScheduledActionCollection:()=>ag});var mt={};n.r(mt),n.d(mt,{wrapSemanticDuplicates:()=>rg});var ft={};n.r(ft),n.d(ft,{wrapSemanticRecommendations:()=>og});var yt={};n.r(yt),n.d(yt,{wrapSemanticReferenceSuggestions:()=>sg});var vt={};n.r(vt),n.d(vt,{wrapSemanticSearch:()=>cg});var ht={};n.r(ht),n.d(ht,{wrapSpace:()=>pg,wrapSpaceCollection:()=>lg});var bt={};n.r(bt),n.d(bt,{wrapSpaceMember:()=>ug,wrapSpaceMemberCollection:()=>dg});var gt={};n.r(gt),n.d(gt,{wrapSpaceMembership:()=>mg,wrapSpaceMembershipCollection:()=>fg});var xt={};n.r(xt),n.d(xt,{default:()=>bg,wrapTask:()=>gg,wrapTaskCollection:()=>xg});var wt={};n.r(wt),n.d(wt,{wrapTeam:()=>wg,wrapTeamCollection:()=>Og});var Ot={};n.r(Ot),n.d(Ot,{wrapTeamMembership:()=>jg,wrapTeamMembershipCollection:()=>Ig});var jt={};n.r(jt),n.d(jt,{wrapTeamSpaceMembership:()=>Pg,wrapTeamSpaceMembershipCollection:()=>Tg});var It={};n.r(It),n.d(It,{wrapUpload:()=>Ag});var Pt={};n.r(Pt),n.d(Pt,{wrapUsage:()=>Sg,wrapUsageCollection:()=>Eg});var Tt={};n.r(Tt),n.d(Tt,{wrapUser:()=>kg,wrapUserCollection:()=>Cg});var At={};n.r(At),n.d(At,{EmbeddingSetStatus:()=>Rg,wrapVectorizationStatus:()=>Dg});var St={};n.r(St),n.d(St,{wrapWebhook:()=>Mg,wrapWebhookCollection:()=>Fg});var Et={};n.r(Et),n.d(Et,{WorkflowStepActionType:()=>Vg,WorkflowStepPermissionAction:()=>Ng,WorkflowStepPermissionEffect:()=>Wg,WorkflowStepPermissionType:()=>Bg,default:()=>Kg,wrapWorkflowDefinition:()=>Hg,wrapWorkflowDefinitionCollection:()=>Xg});var kt={};n.r(kt);var Ct={};n.r(Ct);var Rt={};n.r(Rt),n.d(Rt,{wrapResourceProvider:()=>Qg});var Dt={};n.r(Dt),n.d(Dt,{wrapResourceType:()=>ex,wrapResourceTypeforEnvironment:()=>tx,wrapResourceTypesForEnvironmentCollection:()=>nx});var _t={};n.r(_t),n.d(_t,{wrapResource:()=>ix,wrapResourceCollection:()=>ax});var $t={};n.r($t),n.d($t,{default:()=>qx});var zt=Function.prototype.toString,Mt=Object.create,Ft=Object.prototype.toString,qt=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}(),Ut="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new qt};function Lt(e){if(!e)return Mt(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Mt(e);if(t&&~zt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return Mt(e)}var Bt="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 Nt(e){var t=Ft.call(e);return t.substring(8,t.length-1)}var Wt="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||Nt(e)}:Nt,Vt=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,Ht=Object.getOwnPropertyNames,Xt=Object.getOwnPropertySymbols,Gt=Object.prototype,Jt=Gt.hasOwnProperty,Qt=Gt.propertyIsEnumerable,Yt="function"==typeof Xt,Zt=Yt?function(e){return Ht(e).concat(Xt(e))}:Ht;function en(e,t,n){for(var i=Zt(e),a=0,r=i.length,o=void 0,s=void 0;a<r;++a)if("callee"!==(o=i[a])&&"caller"!==o)if(s=Kt(e,o)){s.get||s.set||(s.value=n.copier(s.value,n));try{Vt(t,o,s)}catch(e){t[o]=s.value}}else t[o]=n.copier(e[o],n);return t}function tn(e,t){return e.slice(0)}function nn(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e,i){n.set(i,t.copier(e,t))})),n}var an=Yt?function(e,t){var n=Lt(t.prototype);for(var i in t.cache.set(e,n),e)Jt.call(e,i)&&(n[i]=t.copier(e[i],t));for(var a=Xt(e),r=0,o=a.length,s=void 0;r<o;++r)s=a[r],Qt.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=Lt(t.prototype);for(var i in t.cache.set(e,n),e)Jt.call(e,i)&&(n[i]=t.copier(e[i],t));return n};function rn(e,t){return new t.Constructor(e.valueOf())}function on(e,t){return e}function sn(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e){n.add(t.copier(e,t))})),n}var cn=Array.isArray,pn=Object.assign,ln=Object.getPrototypeOf||function(e){return e.__proto__},un={array:function(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var i=0,a=e.length;i<a;++i)n[i]=t.copier(e[i],t);return n},arrayBuffer:tn,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(tn(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:on,map:nn,object:an,regExp:function(e,t){var n=new t.Constructor(e.source,Bt(e));return n.lastIndex=e.lastIndex,n},set:sn},dn=pn({},un,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),en(e,n,t)},map:function(e,t){return en(e,nn(e,t),t)},object:function(e,t){var n=Lt(t.prototype);return t.cache.set(e,n),en(e,n,t)},set:function(e,t){return en(e,sn(e,t),t)}});function mn(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:rn,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:rn,Object:e.object,Promise:on,RegExp:e.regExp,Set:e.set,String:rn,WeakMap:on,WeakSet:on,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(pn({},un,e)),n=t.Array,i=t.Object;function a(e,a){if(a.prototype=a.Constructor=void 0,!e||"object"!=typeof e)return e;if(a.cache.has(e))return a.cache.get(e);if(a.prototype=ln(e),a.Constructor=a.prototype&&a.prototype.constructor,!a.Constructor||a.Constructor===Object)return i(e,a);if(cn(e))return n(e,a);var r=t[Wt(e)];return r?r(e,a):"function"==typeof e.then?e:i(e,a)}return function(e){return a(e,{Constructor:void 0,cache:Ut(),copier:a,prototype:void 0})}}mn(pn({},dn,{}));var fn=mn({});const yn=require("process");function vn(){}var hn=n(7571);class bn extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const gn=/(?<value>\d+)(%)/;function xn(e,t=7){let n=t;if(gn.test(e)){const i=e.match(gn)?.groups;if(i&&i.value){const e=parseInt(i.value)/100;n=Math.round(t*e)}}return Math.min(30,Math.max(1,n))}function wn(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:n,onDelay:i}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const a=new Map;let r=0,o=0;const s=[],c=n?function(){const n=Date.now();if(s.length>0&&n-s.at(-1)>t&&(s.length=0),s.length<e)return s.push(n),0;const i=s[0]+t;return s.shift(),s.push(i),Math.max(0,i-n)}:function(){const n=Date.now();return n-r>t?(o=1,r=n,0):(o<e?o++:(r+=t,o=1),r-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let r;return new Promise(((t,o)=>{const s=()=>{t(e.apply(this,n)),a.delete(r)},p=c();p>0?(r=setTimeout(s,p),a.set(r,o),i?.(...n)):s()}))};return t.abort=()=>{for(const e of a.keys())clearTimeout(e),a.get(e)(new bn);a.clear(),s.splice(0,s.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>a.size}),t}}({limit:e,interval:1e3,strict:!1})}var On=n(8985);const jn=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function In(e){const t=fn(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function Pn(e,t){const n=function(e){const t={insecure:!1,retryOnError:!0,logHandler:(e,t)=>{if("error"===e&&t){const e=[t.name,t.message].filter((e=>e)).join(" - ");return console.error(`[error] ${e}`),void console.error(t)}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...e};if(!t.accessToken){const e=new TypeError("Expected parameter accessToken");throw t.logHandler("error",e),e}const n=t.insecure?"http":"https",i=t.space?`${t.space}/`:"";let a=t.defaultHostname,r=t.insecure?80:443;if(t.host&&jn.test(t.host)){const e=t.host.split(":");2===e.length?[a,r]=e:a=e[0]}t.basePath&&(t.basePath=`/${t.basePath.split("/").filter(Boolean).join("/")}`);const o=e.baseURL||`${n}://${a}:${r}${t.basePath}/spaces/${i}`;return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:o,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:e=>On.stringify(e)},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),i=e.create(n);return i.httpClientParams=t,i.cloneWithNewParams=function(n){return Pn(e,{...In(t),...n})},t.onBeforeRequest&&i.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((t=>(e.headers.set("Authorization",`Bearer ${t}`),e)))}))}(i,t.accessToken),t.throttle&&((e,t="auto")=>{const{logHandler:n=vn}=e.defaults;let i=hn(t)?xn(t):xn("auto",t),a=wn(i,n),r=!1,o=e.interceptors.request.use((e=>a((()=>e))()),(function(e){return Promise.reject(e)}));e.interceptors.response.use((s=>{if(!r&&hn(t)&&("auto"===t||gn.test(t))&&s.headers&&s.headers["x-contentful-ratelimit-second-limit"]){const c=parseInt(s.headers["x-contentful-ratelimit-second-limit"]),p=xn(t,c);p!==i&&(o&&e.interceptors.request.eject(o),i=p,a=wn(p,n),o=e.interceptors.request.use((e=>a((()=>e))()),(function(e){return Promise.reject(e)}))),r=!0}return s}),(function(e){return Promise.reject(e)}))})(i,t.throttle),function(e,t=5){const{responseLogger:n=vn,requestLogger:i=vn}=e.defaults;e.interceptors.request.use((function(e){return i(e),e}),(function(e){return i(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return n(e),e}),(async function(i){const{response:a}=i,{config:r}=i;if(n(i),!r||!e.defaults.retryOnError)return Promise.reject(i);const o=r.attempts||1;if(o>t)return i.attempts=r.attempts,Promise.reject(i);let s=null,c=(p=o,Math.pow(Math.SQRT2,p));var p,l;return a?a.status>=500&&a.status<600?s=`Server ${a.status}`:429===a.status&&(s="Rate limit",a.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(c=a.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning",`${s} error occurred. Waiting for ${c} ms before retrying...`),r.attempts=o+1,delete r.httpAgent,delete r.httpsAgent,(l=c,new Promise((e=>{setTimeout(e,l)}))).then((()=>e(r)))):Promise.reject(i)}))}(i,t.retryLimit),t.onError&&i.interceptors.response.use((e=>e),t.onError),i}function Tn({query:e}){const t={};return delete e.resolveLinks,t.params=fn(e),t}function An(e){const t=Object.getOwnPropertyNames(e);for(const n of t){const t=e[n];t&&"object"==typeof t&&An(t)}return Object.freeze(e)}function Sn(e){return An(e.sys||{}),e}function En(){const e=window;if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function kn(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return fn(this)}})}var Cn=n(4679);function Rn(e){const{config:t,response:n}=e;let i;if(function(e){if(e?.headers?.Authorization){const t=`...${e.headers.Authorization.toString().substr(-5)}`;e.headers.Authorization=`Bearer ${t}`}if(e?.headers?.["X-Contentful-Resource-Resolution"]){const t=`...${e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5)}`;e.headers["X-Contentful-Resource-Resolution"]=t}}(t),!Cn(n)||!Cn(t))throw e;const a=n?.data,r={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&Cn(t)&&(r.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&"object"==typeof a&&("requestId"in a&&(r.requestId=a.requestId||"UNKNOWN"),"message"in a&&(r.message=a.message||""),"details"in a&&(r.details=a.details||{}),i=a.sys?.id);const o=new Error;o.name=i&&"Unknown"!==i?i:`${n?.status} ${n?.statusText}`;try{o.message=JSON.stringify(r,null," ")}catch{o.message=r?.message??""}throw o}function Dn(e,t){return function(){return e.apply(t,arguments)}}const{toString:_n}=Object.prototype,{getPrototypeOf:$n}=Object,{iterator:zn,toStringTag:Mn}=Symbol,Fn=(qn=Object.create(null),e=>{const t=_n.call(e);return qn[t]||(qn[t]=t.slice(8,-1).toLowerCase())});var qn;const Un=e=>(e=e.toLowerCase(),t=>Fn(t)===e),Ln=e=>t=>typeof t===e,{isArray:Bn}=Array,Nn=Ln("undefined");function Wn(e){return null!==e&&!Nn(e)&&null!==e.constructor&&!Nn(e.constructor)&&Hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vn=Un("ArrayBuffer"),Kn=Ln("string"),Hn=Ln("function"),Xn=Ln("number"),Gn=e=>null!==e&&"object"==typeof e,Jn=e=>{if("object"!==Fn(e))return!1;const t=$n(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Mn in e||zn in e)},Qn=Un("Date"),Yn=Un("File"),Zn=Un("Blob"),ei=Un("FileList"),ti=Un("URLSearchParams"),[ni,ii,ai,ri]=["ReadableStream","Request","Response","Headers"].map(Un);function oi(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,a;if("object"!=typeof e&&(e=[e]),Bn(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{if(Wn(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),r=a.length;let o;for(i=0;i<r;i++)o=a[i],t.call(null,e[o],o,e)}}function si(e,t){if(Wn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i,a=n.length;for(;a-- >0;)if(i=n[a],t===i.toLowerCase())return i;return null}const ci="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,pi=e=>!Nn(e)&&e!==ci,li=(ui="undefined"!=typeof Uint8Array&&$n(Uint8Array),e=>ui&&e instanceof ui);var ui;const di=Un("HTMLFormElement"),mi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fi=Un("RegExp"),yi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};oi(n,((n,a)=>{let r;!1!==(r=t(n,a,e))&&(i[a]=r||n)})),Object.defineProperties(e,i)},vi=Un("AsyncFunction"),hi=(bi="function"==typeof setImmediate,gi=Hn(ci.postMessage),bi?setImmediate:gi?(xi=`axios@${Math.random()}`,wi=[],ci.addEventListener("message",(({source:e,data:t})=>{e===ci&&t===xi&&wi.length&&wi.shift()()}),!1),e=>{wi.push(e),ci.postMessage(xi,"*")}):e=>setTimeout(e));var bi,gi,xi,wi;const Oi="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ci):"undefined"!=typeof process&&process.nextTick||hi,ji={isArray:Bn,isArrayBuffer:Vn,isBuffer:Wn,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Hn(e.append)&&("formdata"===(t=Fn(e))||"object"===t&&Hn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Vn(e.buffer),t},isString:Kn,isNumber:Xn,isBoolean:e=>!0===e||!1===e,isObject:Gn,isPlainObject:Jn,isEmptyObject:e=>{if(!Gn(e)||Wn(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:ni,isRequest:ii,isResponse:ai,isHeaders:ri,isUndefined:Nn,isDate:Qn,isFile:Yn,isBlob:Zn,isRegExp:fi,isFunction:Hn,isStream:e=>Gn(e)&&Hn(e.pipe),isURLSearchParams:ti,isTypedArray:li,isFileList:ei,forEach:oi,merge:function e(){const{caseless:t,skipUndefined:n}=pi(this)&&this||{},i={},a=(a,r)=>{const o=t&&si(i,r)||r;Jn(i[o])&&Jn(a)?i[o]=e(i[o],a):Jn(a)?i[o]=e({},a):Bn(a)?i[o]=a.slice():n&&Nn(a)||(i[o]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&oi(arguments[e],a);return i},extend:(e,t,n,{allOwnKeys:i}={})=>(oi(t,((t,i)=>{n&&Hn(t)?e[i]=Dn(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let a,r,o;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),r=a.length;r-- >0;)o=a[r],i&&!i(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&$n(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Fn,kindOfTest:Un,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Bn(e))return e;let t=e.length;if(!Xn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[zn]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:di,hasOwnProperty:mi,hasOwnProp:mi,reduceDescriptors:yi,freezeMethods:e=>{yi(e,((t,n)=>{if(Hn(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Hn(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return Bn(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:si,global:ci,isContextDefined:pi,isSpecCompliantForm:function(e){return!!(e&&Hn(e.append)&&"FormData"===e[Mn]&&e[zn])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Gn(e)){if(t.indexOf(e)>=0)return;if(Wn(e))return e;if(!("toJSON"in e)){t[i]=e;const a=Bn(e)?[]:{};return oi(e,((e,t)=>{const r=n(e,i+1);!Nn(r)&&(a[t]=r)})),t[i]=void 0,a}}return e};return n(e,0)},isAsyncFn:vi,isThenable:e=>e&&(Gn(e)||Hn(e))&&Hn(e.then)&&Hn(e.catch),setImmediate:hi,asap:Oi,isIterable:e=>null!=e&&Hn(e[zn])};function Ii(e,t,n,i,a){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),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a,this.status=a.status?a.status:null)}ji.inherits(Ii,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:ji.toJSONObject(this.config),code:this.code,status:this.status}}});const Pi=Ii.prototype,Ti={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ti[e]={value:e}})),Object.defineProperties(Ii,Ti),Object.defineProperty(Pi,"isAxiosError",{value:!0}),Ii.from=(e,t,n,i,a,r)=>{const o=Object.create(Pi);ji.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const s=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return Ii.call(o,s,c,n,i,a),e&&null==o.cause&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",r&&Object.assign(o,r),o};const Ai=Ii,Si=n(2925);function Ei(e){return ji.isPlainObject(e)||ji.isArray(e)}function ki(e){return ji.endsWith(e,"[]")?e.slice(0,-2):e}function Ci(e,t,n){return e?e.concat(t).map((function(e,t){return e=ki(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Ri=ji.toFlatObject(ji,{},null,(function(e){return/^is[A-Z]/.test(e)})),Di=function(e,t,n){if(!ji.isObject(e))throw new TypeError("target must be an object");t=t||new(Si||FormData);const i=(n=ji.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ji.isUndefined(t[e])}))).metaTokens,a=n.visitor||p,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ji.isSpecCompliantForm(t);if(!ji.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ji.isDate(e))return e.toISOString();if(ji.isBoolean(e))return e.toString();if(!s&&ji.isBlob(e))throw new Ai("Blob is not supported. Use a Buffer instead.");return ji.isArrayBuffer(e)||ji.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(ji.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(ji.isArray(e)&&function(e){return ji.isArray(e)&&!e.some(Ei)}(e)||(ji.isFileList(e)||ji.endsWith(n,"[]"))&&(s=ji.toArray(e)))return n=ki(n),s.forEach((function(e,i){!ji.isUndefined(e)&&null!==e&&t.append(!0===o?Ci([n],i,r):null===o?n:n+"[]",c(e))})),!1;return!!Ei(e)||(t.append(Ci(a,n,r),c(e)),!1)}const l=[],u=Object.assign(Ri,{defaultVisitor:p,convertValue:c,isVisitable:Ei});if(!ji.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!ji.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),ji.forEach(n,(function(n,r){!0===(!(ji.isUndefined(n)||null===n)&&a.call(t,n,ji.isString(r)?r.trim():r,i,u))&&e(n,i?i.concat(r):[r])})),l.pop()}}(e),t};function _i(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function $i(e,t){this._pairs=[],e&&Di(e,this,t)}const zi=$i.prototype;zi.append=function(e,t){this._pairs.push([e,t])},zi.toString=function(e){const t=e?function(t){return e.call(this,t,_i)}:_i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Mi=$i;function Fi(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function qi(e,t,n){if(!t)return e;const i=n&&n.encode||Fi;ji.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let r;if(r=a?a(t,n):ji.isURLSearchParams(t)?t.toString():new Mi(t,n).toString(i),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const Ui=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ji.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Li={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Bi=n(6982);const Ni=n(7016).URLSearchParams,Wi="abcdefghijklmnopqrstuvwxyz",Vi="0123456789",Ki={DIGIT:Vi,ALPHA:Wi,ALPHA_DIGIT:Wi+Wi.toUpperCase()+Vi},Hi={isNode:!0,classes:{URLSearchParams:Ni,FormData:Si,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:Ki,generateString:(e=16,t=Ki.ALPHA_DIGIT)=>{let n="";const{length:i}=t,a=new Uint32Array(e);Bi.randomFillSync(a);for(let r=0;r<e;r++)n+=t[a[r]%i];return n},protocols:["http","https","file","data"]},Xi="undefined"!=typeof window&&"undefined"!=typeof document,Gi="object"==typeof navigator&&navigator||void 0,Ji=Xi&&(!Gi||["ReactNative","NativeScript","NS"].indexOf(Gi.product)<0),Qi="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Yi=Xi&&window.location.href||"http://localhost",Zi={...e,...Hi},ea=function(e){function t(e,n,i,a){let r=e[a++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=a>=e.length;return r=!r&&ji.isArray(i)?i.length:r,s?(ji.hasOwnProp(i,r)?i[r]=[i[r],n]:i[r]=n,!o):(i[r]&&ji.isObject(i[r])||(i[r]=[]),t(e,n,i[r],a)&&ji.isArray(i[r])&&(i[r]=function(e){const t={},n=Object.keys(e);let i;const a=n.length;let r;for(i=0;i<a;i++)r=n[i],t[r]=e[r];return t}(i[r])),!o)}if(ji.isFormData(e)&&ji.isFunction(e.entries)){const n={};return ji.forEachEntry(e,((e,i)=>{t(function(e){return ji.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null},ta={transitional:Li,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=ji.isObject(e);if(a&&ji.isHTMLForm(e)&&(e=new FormData(e)),ji.isFormData(e))return i?JSON.stringify(ea(e)):e;if(ji.isArrayBuffer(e)||ji.isBuffer(e)||ji.isStream(e)||ji.isFile(e)||ji.isBlob(e)||ji.isReadableStream(e))return e;if(ji.isArrayBufferView(e))return e.buffer;if(ji.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Di(e,new Zi.classes.URLSearchParams,{visitor:function(e,t,n,i){return Zi.isNode&&ji.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((r=ji.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Di(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e){if(ji.isString(e))try{return(0,JSON.parse)(e),ji.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ta.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(ji.isResponse(e)||ji.isReadableStream(e))return e;if(e&&ji.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw Ai.from(e,Ai.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:Zi.classes.FormData,Blob:Zi.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ji.forEach(["delete","get","head","post","put","patch"],(e=>{ta.headers[e]={}}));const na=ta,ia=ji.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"]),aa=Symbol("internals");function ra(e){return e&&String(e).trim().toLowerCase()}function oa(e){return!1===e||null==e?e:ji.isArray(e)?e.map(oa):String(e)}function sa(e,t,n,i,a){return ji.isFunction(i)?i.call(this,t,n):(a&&(t=n),ji.isString(t)?ji.isString(i)?-1!==t.indexOf(i):ji.isRegExp(i)?i.test(t):void 0:void 0)}class ca{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function a(e,t,n){const a=ra(t);if(!a)throw new Error("header name must be a non-empty string");const r=ji.findKey(i,a);(!r||void 0===i[r]||!0===n||void 0===n&&!1!==i[r])&&(i[r||t]=oa(e))}const r=(e,t)=>ji.forEach(e,((e,n)=>a(e,n,t)));if(ji.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(ji.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,i,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),i=e.substring(a+1).trim(),!n||t[n]&&ia[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t})(e),t);else if(ji.isObject(e)&&ji.isIterable(e)){let n,i,a={};for(const t of e){if(!ji.isArray(t))throw TypeError("Object iterator must return a key-value pair");a[i=t[0]]=(n=a[i])?ji.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(a,t)}else null!=e&&a(t,e,n);return this}get(e,t){if(e=ra(e)){const n=ji.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(ji.isFunction(t))return t.call(this,e,n);if(ji.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ra(e)){const n=ji.findKey(this,e);return!(!n||void 0===this[n]||t&&!sa(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function a(e){if(e=ra(e)){const a=ji.findKey(n,e);!a||t&&!sa(0,n[a],a,t)||(delete n[a],i=!0)}}return ji.isArray(e)?e.forEach(a):a(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const a=t[n];e&&!sa(0,this[a],a,e,!0)||(delete this[a],i=!0)}return i}normalize(e){const t=this,n={};return ji.forEach(this,((i,a)=>{const r=ji.findKey(n,a);if(r)return t[r]=oa(i),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();o!==a&&delete t[a],t[o]=oa(i),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ji.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ji.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[aa]=this[aa]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=ra(e);t[i]||(function(e,t){const n=ji.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,a){return this[i].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[i]=!0)}return ji.isArray(e)?e.forEach(i):i(e),this}}ca.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ji.reduceDescriptors(ca.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ji.freezeMethods(ca);const pa=ca;function la(e,t){const n=this||na,i=t||n,a=pa.from(i.headers);let r=i.data;return ji.forEach(e,(function(e){r=e.call(n,r,a.normalize(),t?t.status:void 0)})),a.normalize(),r}function ua(e){return!(!e||!e.__CANCEL__)}function da(e,t,n){Ai.call(this,null==e?"canceled":e,Ai.ERR_CANCELED,t,n),this.name="CanceledError"}ji.inherits(da,Ai,{__CANCEL__:!0});const ma=da;function fa(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new Ai("Request failed with status code "+n.status,[Ai.ERR_BAD_REQUEST,Ai.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ya(e,t,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var va=n(1420),ha=n(8611),ba=n(5692);const ga=require("http2");var xa=n(9023),wa=n(3520);const Oa=require("zlib"),ja="1.13.2";function Ia(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Pa=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var Ta=n(2203);const Aa=Symbol("internals");class Sa extends Ta.Transform{constructor(e){super({readableHighWaterMark:(e=ji.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ji.isUndefined(t[e])))).chunkSize});const t=this[Aa]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[Aa];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[Aa],a=i.maxRate,r=this.readableHighWaterMark,o=i.timeWindow,s=a/(1e3/o),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=r,m=0;if(a){const e=Date.now();(!i.ts||(m=e-i.ts)>=o)&&(i.ts=e,l=s-i.bytes,i.bytes=l<0?-l:0,m=0),l=s-i.bytes}if(a){if(l<=0)return setTimeout((()=>{t(null,e)}),o-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,i){if(t)return n(t);i?l(i,e):n(null)}))}}const Ea=Sa,ka=require("events"),{asyncIterator:Ca}=Symbol,Ra=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Ca]?yield*e[Ca]():yield e},Da=Zi.ALPHABET.ALPHA_DIGIT+"-_",_a="function"==typeof TextEncoder?new TextEncoder:new xa.TextEncoder,$a="\r\n",za=_a.encode($a);class Ma{constructor(e,t){const{escapeName:n}=this.constructor,i=ji.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${$a}`;i?t=_a.encode(String(t).replace(/\r?\n|\r\n?/g,$a)):a+=`Content-Type: ${t.type||"application/octet-stream"}${$a}`,this.headers=_a.encode(a+$a),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ji.isTypedArray(e)?yield e:yield*Ra(e),yield za}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class Fa extends Ta.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const qa=Fa,Ua=(e,t)=>ji.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then((e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}}),i)}:e,La=(e,t,n=3)=>{let i=0;const a=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let a,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=i[o];a||(a=c),n[r]=s,i[r]=c;let l=o,u=0;for(;l!==r;)u+=n[l++],l%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-a<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,i,a=0,r=1e3/t;const o=(t,r=Date.now())=>{a=r,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=r?o(e,t):(n=e,i||(i=setTimeout((()=>{i=null,o(n)}),r-s)))},()=>n&&o(n)]}((n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-i,c=a(s);i=r,e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},Ba=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Na=e=>(...t)=>ji.asap((()=>e(...t))),Wa={flush:Oa.constants.Z_SYNC_FLUSH,finishFlush:Oa.constants.Z_SYNC_FLUSH},Va={flush:Oa.constants.BROTLI_OPERATION_FLUSH,finishFlush:Oa.constants.BROTLI_OPERATION_FLUSH},Ka=ji.isFunction(Oa.createBrotliDecompress),{http:Ha,https:Xa}=wa,Ga=/https:?/,Ja=Zi.protocols.map((e=>e+":")),Qa=(e,[t,n])=>(e.on("end",n).on("error",n),t),Ya=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let i=0;i<e;i++){const[e,a]=n[i];if(!e.destroyed&&!e.closed&&xa.isDeepStrictEqual(a,t))return e}}const i=ga.connect(e,t);let a;const r=()=>{if(a)return;a=!0;let t=n,r=t.length,o=r;for(;o--;)if(t[o][0]===i)return void(1===r?delete this.sessions[e]:t.splice(o,1))},o=i.request,{sessionTimeout:s}=t;if(null!=s){let e,t=0;i.request=function(){const n=o.apply(this,arguments);return t++,e&&(clearTimeout(e),e=null),n.once("close",(()=>{--t||(e=setTimeout((()=>{e=null,r()}),s))})),n}}i.once("close",r);let c=[i,t];return n?n.push(c):n=this.sessions[e]=[c],i}};function Za(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function er(e,t,n){let i=t;if(!i&&!1!==i){const e=va.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){er(e,t,e.href)}}const tr="undefined"!=typeof process&&"process"===ji.kindOf(process),nr=(e,t)=>(({address:e,family:t})=>{if(!ji.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ji.isObject(e)?e:{address:e,family:t}),ir={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||80),{http2Options:i,headers:a}=e,r=Ya.getSession(n,i),{HTTP2_HEADER_SCHEME:o,HTTP2_HEADER_METHOD:s,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=ga.constants,l={[o]:e.protocol.replace(":",""),[s]:e.method,[c]:e.path};ji.forEach(a,((e,t)=>{":"!==t.charAt(0)&&(l[t]=e)}));const u=r.request(l);return u.once("response",(e=>{const n=u,i=(e=Object.assign({},e))[p];delete e[p],n.headers=e,n.statusCode=+i,t(n)})),u}},ar=tr&&function(e){return t=async function(t,n,i){let{data:a,lookup:r,family:o,httpVersion:s=1,http2Options:c}=e;const{responseType:p,responseEncoding:l}=e,u=e.method.toUpperCase();let d,m,f=!1;if(s=+s,Number.isNaN(s))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==s&&2!==s)throw TypeError(`Unsupported protocol version '${s}'`);const y=2===s;if(r){const e=Ua(r,(e=>ji.isArray(e)?e:[e]));r=(t,n,i)=>{e(t,n,((e,t,a)=>{if(e)return i(e);const r=ji.isArray(t)?t.map((e=>nr(e))):[nr(t,a)];n.all?i(e,r):i(e,r[0].address,r[0].family)}))}}const v=new ka.EventEmitter;function h(t){try{v.emit("abort",!t||t.type?new ma(null,e,m):t)}catch(e){console.warn("emit error",e)}}v.once("abort",n);const b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h),v.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),i(((e,t)=>{if(d=!0,t)return f=!0,void b();const{data:n}=e;if(n instanceof Ta.Readable||n instanceof Ta.Duplex){const e=Ta.finished(n,(()=>{e(),b()}))}else b()}));const g=ya(e.baseURL,e.url,e.allowAbsoluteUrls),x=new URL(g,Zi.hasBrowserEnv?Zi.origin:void 0),w=x.protocol||Ja[0];if("data:"===w){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),i=e.slice(t+1);if(/;base64/i.test(n)){let e=i.length;const t=i.length;for(let n=0;n<t;n++)if(37===i.charCodeAt(n)&&n+2<t){const t=i.charCodeAt(n+1),a=i.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)&&(e-=2,n+=2)}let n=0,a=t-1;const r=e=>e>=2&&37===i.charCodeAt(e-2)&&51===i.charCodeAt(e-1)&&(68===i.charCodeAt(e)||100===i.charCodeAt(e));a>=0&&(61===i.charCodeAt(a)?(n++,a--):r(a)&&(n++,a-=3)),1===n&&a>=0&&(61===i.charCodeAt(a)||r(a))&&n++;const o=3*Math.floor(e/4)-(n||0);return o>0?o:0}return Buffer.byteLength(i,"utf8")}(String(e.url||g||""))>e.maxContentLength)return n(new Ai("maxContentLength size of "+e.maxContentLength+" exceeded",Ai.ERR_BAD_RESPONSE,e));let i;if("GET"!==u)return fa(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||Zi.classes.Blob,a=Ia(e);if(void 0===t&&i&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=Pa.exec(e);if(!n)throw new Ai("Invalid URL",Ai.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!i)throw new Ai("Blob is not supported",Ai.ERR_NOT_SUPPORT);return new i([c],{type:r})}return c}throw new Ai("Unsupported protocol "+a,Ai.ERR_NOT_SUPPORT)}(e.url,"blob"===p,{Blob:e.env&&e.env.Blob})}catch(t){throw Ai.from(t,Ai.ERR_BAD_REQUEST,e)}return"text"===p?(i=i.toString(l),l&&"utf8"!==l||(i=ji.stripBOM(i))):"stream"===p&&(i=Ta.Readable.from(i)),fa(t,n,{data:i,status:200,statusText:"OK",headers:new pa,config:e})}if(-1===Ja.indexOf(w))return n(new Ai("Unsupported protocol "+w,Ai.ERR_BAD_REQUEST,e));const O=pa.from(e.headers).normalize();O.set("User-Agent","axios/"+ja,!1);const{onUploadProgress:j,onDownloadProgress:I}=e,P=e.maxRate;let T,A;if(ji.isSpecCompliantForm(a)){const e=O.getContentType(/boundary=([-_\w\d]{10,70})/i);a=((e,t,n)=>{const{tag:i="form-data-boundary",size:a=25,boundary:r=i+"-"+Zi.generateString(a,Da)}=n||{};if(!ji.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const o=_a.encode("--"+r+$a),s=_a.encode("--"+r+"--"+$a);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new Ma(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=ji.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),Ta.Readable.from(async function*(){for(const e of p)yield o,yield*e.encode();yield s}())})(a,(e=>{O.set(e)}),{tag:`axios-${ja}-boundary`,boundary:e&&e[1]||void 0})}else if(ji.isFormData(a)&&ji.isFunction(a.getHeaders)){if(O.set(a.getHeaders()),!O.hasContentLength())try{const e=await xa.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&O.setContentLength(e)}catch(e){}}else if(ji.isBlob(a)||ji.isFile(a))a.size&&O.setContentType(a.type||"application/octet-stream"),O.setContentLength(a.size||0),a=Ta.Readable.from(Ra(a));else if(a&&!ji.isStream(a)){if(Buffer.isBuffer(a));else if(ji.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!ji.isString(a))return n(new Ai("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",Ai.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(O.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new Ai("Request body larger than maxBodyLength limit",Ai.ERR_BAD_REQUEST,e))}const S=ji.toFiniteNumber(O.getContentLength());let E,k;ji.isArray(P)?(T=P[0],A=P[1]):T=A=P,a&&(j||T)&&(ji.isStream(a)||(a=Ta.Readable.from(a,{objectMode:!1})),a=Ta.pipeline([a,new Ea({maxRate:ji.toFiniteNumber(T)})],ji.noop),j&&a.on("progress",Qa(a,Ba(S,La(Na(j),!1,3))))),e.auth&&(E=(e.auth.username||"")+":"+(e.auth.password||"")),!E&&x.username&&(E=x.username+":"+x.password),E&&O.delete("authorization");try{k=qi(x.pathname+x.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const i=new Error(t.message);return i.config=e,i.url=e.url,i.exists=!0,n(i)}O.set("Accept-Encoding","gzip, compress, deflate"+(Ka?", br":""),!1);const C={path:k,method:u,headers:O.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:E,protocol:w,family:o,beforeRedirect:Za,beforeRedirects:{},http2Options:c};let R;!ji.isUndefined(r)&&(C.lookup=r),e.socketPath?C.socketPath=e.socketPath:(C.hostname=x.hostname.startsWith("[")?x.hostname.slice(1,-1):x.hostname,C.port=x.port,er(C,e.proxy,w+"//"+x.hostname+(x.port?":"+x.port:"")+C.path));const D=Ga.test(C.protocol);if(C.agent=D?e.httpsAgent:e.httpAgent,y?R=ir:e.transport?R=e.transport:0===e.maxRedirects?R=D?ba:ha:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),e.beforeRedirect&&(C.beforeRedirects.config=e.beforeRedirect),R=D?Xa:Ha),e.maxBodyLength>-1?C.maxBodyLength=e.maxBodyLength:C.maxBodyLength=1/0,e.insecureHTTPParser&&(C.insecureHTTPParser=e.insecureHTTPParser),m=R.request(C,(function(i){if(m.destroyed)return;const a=[i],r=ji.toFiniteNumber(i.headers["content-length"]);if(I||A){const e=new Ea({maxRate:ji.toFiniteNumber(A)});I&&e.on("progress",Qa(e,Ba(r,La(Na(I),!0,3)))),a.push(e)}let o=i;const s=i.req||m;if(!1!==e.decompress&&i.headers["content-encoding"])switch("HEAD"!==u&&204!==i.statusCode||delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(Oa.createUnzip(Wa)),delete i.headers["content-encoding"];break;case"deflate":a.push(new qa),a.push(Oa.createUnzip(Wa)),delete i.headers["content-encoding"];break;case"br":Ka&&(a.push(Oa.createBrotliDecompress(Va)),delete i.headers["content-encoding"])}o=a.length>1?Ta.pipeline(a,ji.noop):a[0];const c={status:i.statusCode,statusText:i.statusMessage,headers:new pa(i.headers),config:e,request:s};if("stream"===p)c.data=o,fa(t,n,c);else{const i=[];let a=0;o.on("data",(function(t){i.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(f=!0,o.destroy(),h(new Ai("maxContentLength size of "+e.maxContentLength+" exceeded",Ai.ERR_BAD_RESPONSE,e,s)))})),o.on("aborted",(function(){if(f)return;const t=new Ai("stream has been aborted",Ai.ERR_BAD_RESPONSE,e,s);o.destroy(t),n(t)})),o.on("error",(function(t){m.destroyed||n(Ai.from(t,null,e,s))})),o.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==p&&(e=e.toString(l),l&&"utf8"!==l||(e=ji.stripBOM(e))),c.data=e}catch(t){return n(Ai.from(t,null,e,c.request,c))}fa(t,n,c)}))}v.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),v.once("abort",(e=>{m.close?m.close():m.destroy(e)})),m.on("error",(function(t){n(Ai.from(t,null,e,m))})),m.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void h(new Ai("error trying to parse `config.timeout` to int",Ai.ERR_BAD_OPTION_VALUE,e,m));m.setTimeout(t,(function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||Li;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),h(new Ai(t,n.clarifyTimeoutError?Ai.ETIMEDOUT:Ai.ECONNABORTED,e,m))}))}else m.setTimeout(0);if(ji.isStream(a)){let t=!1,n=!1;a.on("end",(()=>{t=!0})),a.once("error",(e=>{n=!0,m.destroy(e)})),a.on("close",(()=>{t||n||h(new ma("Request stream has been aborted",e,m))})),a.pipe(m)}else a&&m.write(a),m.end()},new Promise(((e,n)=>{let i,a;const r=(e,t)=>{a||(a=!0,i&&i(e,t))},o=e=>{r(e,!0),n(e)};t((t=>{r(t),e(t)}),o,(e=>i=e)).catch(o)}));var t},rr=Zi.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Zi.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Zi.origin),Zi.navigator&&/(msie|trident)/i.test(Zi.navigator.userAgent)):()=>!0,or=Zi.hasStandardBrowserEnv?{write(e,t,n,i,a,r,o){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ji.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),ji.isString(i)&&s.push(`path=${i}`),ji.isString(a)&&s.push(`domain=${a}`),!0===r&&s.push("secure"),ji.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},sr=e=>e instanceof pa?{...e}:e;function cr(e,t){t=t||{};const n={};function i(e,t,n,i){return ji.isPlainObject(e)&&ji.isPlainObject(t)?ji.merge.call({caseless:i},e,t):ji.isPlainObject(t)?ji.merge({},t):ji.isArray(t)?t.slice():t}function a(e,t,n,a){return ji.isUndefined(t)?ji.isUndefined(e)?void 0:i(void 0,e,0,a):i(e,t,0,a)}function r(e,t){if(!ji.isUndefined(t))return i(void 0,t)}function o(e,t){return ji.isUndefined(t)?ji.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,a,r){return r in t?i(n,a):r in e?i(void 0,n):void 0}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>a(sr(e),sr(t),0,!0)};return ji.forEach(Object.keys({...e,...t}),(function(i){const r=c[i]||a,o=r(e[i],t[i],i);ji.isUndefined(o)&&r!==s||(n[i]=o)})),n}const pr=e=>{const t=cr({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:r,headers:o,auth:s}=t;if(t.headers=o=pa.from(o),t.url=qi(ya(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),ji.isFormData(n))if(Zi.hasStandardBrowserEnv||Zi.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(ji.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)}))}if(Zi.hasStandardBrowserEnv&&(i&&ji.isFunction(i)&&(i=i(t)),i||!1!==i&&rr(t.url))){const e=a&&r&&or.read(r);e&&o.set(a,e)}return t},lr="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=pr(e);let a=i.data;const r=pa.from(i.headers).normalize();let o,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function f(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let y=new XMLHttpRequest;function v(){if(!y)return;const i=pa.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());fa((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:i,config:e,request:y}),y=null}y.open(i.method.toUpperCase(),i.url,!0),y.timeout=i.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new Ai("Request aborted",Ai.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const i=t&&t.message?t.message:"Network Error",a=new Ai(i,Ai.ERR_NETWORK,e,y);a.event=t||null,n(a),y=null},y.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const a=i.transitional||Li;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new Ai(t,a.clarifyTimeoutError?Ai.ETIMEDOUT:Ai.ECONNABORTED,e,y)),y=null},void 0===a&&r.setContentType(null),"setRequestHeader"in y&&ji.forEach(r.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),ji.isUndefined(i.withCredentials)||(y.withCredentials=!!i.withCredentials),u&&"json"!==u&&(y.responseType=i.responseType),m&&([c,l]=La(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=La(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(o=t=>{y&&(n(!t||t.type?new ma(null,e,y):t),y.abort(),y=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const h=Ia(i.url);h&&-1===Zi.protocols.indexOf(h)?n(new Ai("Unsupported protocol "+h+":",Ai.ERR_BAD_REQUEST,e)):y.send(a||null)}))},ur=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const a=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof Ai?t:new ma(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{r=null,a(new Ai(`timeout ${t} of ms exceeded`,Ai.ETIMEDOUT))}),t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:s}=i;return s.unsubscribe=()=>ji.asap(o),s}},dr=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,a=0;for(;a<n;)i=a+t,yield e.slice(a,i),a=i},mr=(e,t,n,i)=>{const a=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*dr(n,t)}(e,t);let r,o=0,s=e=>{r||(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await a.next();if(t)return s(),void e.close();let r=i.byteLength;if(n){let e=o+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:fr}=ji,yr=(({Request:e,Response:t})=>({Request:e,Response:t}))(ji.global),{ReadableStream:vr,TextEncoder:hr}=ji.global,br=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},gr=e=>{e=ji.merge.call({skipUndefined:!0},yr,e);const{fetch:t,Request:n,Response:i}=e,a=t?fr(t):"function"==typeof fetch,r=fr(n),o=fr(i);if(!a)return!1;const s=a&&fr(vr),c=a&&("function"==typeof hr?(p=new hr,e=>p.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var p;const l=r&&s&&br((()=>{let e=!1;const t=new n(Zi.origin,{body:new vr,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),u=o&&s&&br((()=>ji.isReadableStream(new i("").body))),d={stream:u&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!d[e]&&(d[e]=(t,n)=>{let i=t&&t[e];if(i)return i.call(t);throw new Ai(`Response type '${e}' is not supported`,Ai.ERR_NOT_SUPPORT,n)})}));return async e=>{let{url:a,method:o,data:s,signal:p,cancelToken:m,timeout:f,onDownloadProgress:y,onUploadProgress:v,responseType:h,headers:b,withCredentials:g="same-origin",fetchOptions:x}=pr(e),w=t||fetch;h=h?(h+"").toLowerCase():"text";let O=ur([p,m&&m.toAbortSignal()],f),j=null;const I=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let P;try{if(v&&l&&"get"!==o&&"head"!==o&&0!==(P=await(async(e,t)=>{const i=ji.toFiniteNumber(e.getContentLength());return null==i?(async e=>{if(null==e)return 0;if(ji.isBlob(e))return e.size;if(ji.isSpecCompliantForm(e)){const t=new n(Zi.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ji.isArrayBufferView(e)||ji.isArrayBuffer(e)?e.byteLength:(ji.isURLSearchParams(e)&&(e+=""),ji.isString(e)?(await c(e)).byteLength:void 0)})(t):i})(b,s))){let e,t=new n(a,{method:"POST",body:s,duplex:"half"});if(ji.isFormData(s)&&(e=t.headers.get("content-type"))&&b.setContentType(e),t.body){const[e,n]=Ba(P,La(Na(v)));s=mr(t.body,65536,e,n)}}ji.isString(g)||(g=g?"include":"omit");const t=r&&"credentials"in n.prototype,p={...x,signal:O,method:o.toUpperCase(),headers:b.normalize().toJSON(),body:s,duplex:"half",credentials:t?g:void 0};j=r&&new n(a,p);let m=await(r?w(j,x):w(a,p));const f=u&&("stream"===h||"response"===h);if(u&&(y||f&&I)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=m[t]}));const t=ji.toFiniteNumber(m.headers.get("content-length")),[n,a]=y&&Ba(t,La(Na(y),!0))||[];m=new i(mr(m.body,65536,n,(()=>{a&&a(),I&&I()})),e)}h=h||"text";let T=await d[ji.findKey(d,h)||"text"](m,e);return!f&&I&&I(),await new Promise(((t,n)=>{fa(t,n,{data:T,headers:pa.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:j})}))}catch(t){if(I&&I(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Ai("Network Error",Ai.ERR_NETWORK,e,j),{cause:t.cause||t});throw Ai.from(t,t&&t.code,e,j)}}},xr=new Map,wr=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:a}=t,r=[i,a,n];let o,s,c=r.length,p=xr;for(;c--;)o=r[c],s=p.get(o),void 0===s&&p.set(o,s=c?new Map:gr(t)),p=s;return s},Or=(wr(),{http:ar,xhr:lr,fetch:{get:wr}});ji.forEach(Or,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const jr=e=>`- ${e}`,Ir=e=>ji.isFunction(e)||null===e||!1===e,Pr=function(e,t){e=ji.isArray(e)?e:[e];const{length:n}=e;let i,a;const r={};for(let o=0;o<n;o++){let n;if(i=e[o],a=i,!Ir(i)&&(a=Or[(n=String(i)).toLowerCase()],void 0===a))throw new Ai(`Unknown adapter '${n}'`);if(a&&(ji.isFunction(a)||(a=a.get(t))))break;r[n||"#"+o]=a}if(!a){const e=Object.entries(r).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(jr).join("\n"):" "+jr(e[0]):"as no adapter specified";throw new Ai("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return a};function Tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ma(null,e)}function Ar(e){return Tr(e),e.headers=pa.from(e.headers),e.data=la.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pr(e.adapter||na.adapter,e)(e).then((function(t){return Tr(e),t.data=la.call(e,e.transformResponse,t),t.headers=pa.from(t.headers),t}),(function(t){return ua(t)||(Tr(e),t&&t.response&&(t.response.data=la.call(e,e.transformResponse,t.response),t.response.headers=pa.from(t.response.headers))),Promise.reject(t)}))}const Sr={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Sr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Er={};Sr.transitional=function(e,t,n){function i(e,t){return"[Axios v"+ja+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,r)=>{if(!1===e)throw new Ai(i(a," has been removed"+(t?" in "+t:"")),Ai.ERR_DEPRECATED);return t&&!Er[a]&&(Er[a]=!0,console.warn(i(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,r)}},Sr.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const kr={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ai("options must be an object",Ai.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const r=i[a],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new Ai("option "+r+" must be "+n,Ai.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ai("Unknown option "+r,Ai.ERR_BAD_OPTION)}},validators:Sr},Cr=kr.validators;class Rr{constructor(e){this.defaults=e||{},this.interceptors={request:new Ui,response:new Ui}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=cr(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:a}=t;void 0!==n&&kr.assertOptions(n,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),null!=i&&(ji.isFunction(i)?t.paramsSerializer={serialize:i}:kr.assertOptions(i,{encode:Cr.function,serialize:Cr.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),kr.assertOptions(t,{baseUrl:Cr.spelling("baseURL"),withXsrfToken:Cr.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=a&&ji.merge(a.common,a[t.method]);a&&ji.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=pa.concat(r,a);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[Ar.bind(this),void 0];for(e.unshift(...o),e.push(...c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=Ar.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return qi(ya((e=cr(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ji.forEach(["delete","get","head","options"],(function(e){Rr.prototype[e]=function(t,n){return this.request(cr(n||{},{method:e,url:t,data:(n||{}).data}))}})),ji.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,a){return this.request(cr(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Rr.prototype[e]=t(),Rr.prototype[e+"Form"]=t(!0)}));const Dr=Rr;class _r{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,a){n.reason||(n.reason=new ma(e,i,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new _r((function(t){e=t})),cancel:e}}}const $r=_r,zr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(zr).forEach((([e,t])=>{zr[t]=e}));const Mr=zr,Fr=function e(t){const n=new Dr(t),i=Dn(Dr.prototype.request,n);return ji.extend(i,Dr.prototype,n,{allOwnKeys:!0}),ji.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(cr(t,n))},i}(na);Fr.Axios=Dr,Fr.CanceledError=ma,Fr.CancelToken=$r,Fr.isCancel=ua,Fr.VERSION=ja,Fr.toFormData=Di,Fr.AxiosError=Ai,Fr.Cancel=Fr.CanceledError,Fr.all=function(e){return Promise.all(e)},Fr.spread=function(e){return function(t){return e.apply(null,t)}},Fr.isAxiosError=function(e){return ji.isObject(e)&&!0===e.isAxiosError},Fr.mergeConfig=cr,Fr.AxiosHeaders=pa,Fr.formToJSON=e=>ea(ji.isHTMLForm(e)?new FormData(e):e),Fr.getAdapter=Pr,Fr.HttpStatusCode=Mr,Fr.default=Fr;const qr=Fr;function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){Br(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Br(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function Wr(e,t,n){return e.get(t,Lr({baseURL:Nr(e)},n)).then((e=>e.data),Rn)}function Vr(e,t,n,i){return e.patch(t,n,Lr({baseURL:Nr(e)},i)).then((e=>e.data),Rn)}function Kr(e,t,n,i){return e.post(t,n,Lr({baseURL:Nr(e)},i)).then((e=>e.data),Rn)}function Hr(e,t,n,i){return e.put(t,n,Lr({baseURL:Nr(e)},i)).then((e=>e.data),Rn)}function Xr(e,t,n){return e.delete(t,Lr({baseURL:Nr(e)},n)).then((e=>e.data),Rn)}const Gr=["sys"];function Jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jr(Object(n),!0).forEach((function(t){Yr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zr=(e,t,n)=>Wr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,{headers:n}),eo=(e,t,n)=>Wr(e,`/spaces/${t.spaceId}/ai/actions`,{params:t.query,headers:n}),to=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/ai/actions`,n,{headers:i}),no=(e,t,n,i)=>{var a;const r=fn(n),{sys:o}=r,s=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,Gr);return Hr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,s,{headers:Qr({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},io=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}`,{headers:n}),ao=(e,t,n,i)=>Hr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}/published`,null,{headers:Qr({"X-Contentful-Version":t.version},i)}),ro=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/ai/actions/${t.aiActionId}/published`,{headers:n}),oo=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/ai/actions/${t.aiActionId}/invoke`,n,{headers:i}),so=(e,t,n)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/ai/actions/${t.aiActionId}/invocations/${t.invocationId}`,{headers:n}),co=(e,t)=>Wr(e,`/users/me/access_tokens/${t.tokenId}`),po=(e,t)=>Wr(e,"/users/me/access_tokens",{params:t.query}),lo=(e,t,n,i)=>Kr(e,"/users/me/access_tokens",n,{headers:i}),uo=(e,t)=>Hr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),mo=(e,t)=>Wr(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query});function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ho=(e,t)=>Wr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),bo=(e,t)=>Wr(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),go=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:i}),xo=(e,t,n,i)=>Hr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:i}),wo=(e,t,n,i)=>{var a;const r=fn(n);return"accessToken"in r&&delete r.accessToken,"preview_api_key"in r&&delete r.preview_api_key,"policies"in r&&delete r.policies,delete r.sys,Hr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,r,{headers:yo({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Oo=(e,t)=>Xr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),jo=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}}),Io=["spaceId"];function Po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(n),!0).forEach((function(t){Ao(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ao(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function So(e){return e&&e.select&&!/sys/i.test(e.select)?To(To({},e),{},{select:e.select+",sys"}):e}function Eo(e){if(e&&e.spaceId){const{spaceId:t}=e;return To(To({},function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,Io)),{},{"sys.space.sys.id[in]":t})}return e}const ko=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,Co=e=>`${ko(e)}/${e.appActionId}`,Ro=(e,t)=>Wr(e,Co(t)),Do=(e,t)=>Wr(e,ko(t),{params:So(t.query)}),_o=(e,t)=>Wr(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:So(t.query)}),$o=(e,t)=>Xr(e,Co(t)),zo=(e,t,n)=>Kr(e,ko(t),n),Mo=(e,t,n)=>Hr(e,Co(t),n),Fo=["pagePrev","pageNext"];function qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(n),!0).forEach((function(t){Lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bo=e=>(t,n,...i)=>{const a=kn(fn(n));return a.items=a.items.map((n=>e(t,n,...i))),a},No=e=>(t,n,...i)=>{const a=kn(fn(n));return a.items=a.items.map((n=>e(t,n,...i))),a};function Wo(e){return e<300}async function Vo(e=1e3){return new Promise((t=>setTimeout(t,e)))}function Ko(e){const{pagePrev:t,pageNext:n}=e;return Uo(Uo(Uo({},function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,Fo)),{},{cursor:!0},t?{pagePrev:t}:null),n?{pageNext:n}:null)}function Ho(e,t){var n;if(!t)return;const i=t.indexOf("?");if(-1===i)return;const a=t.slice(i+1);return null!==(n=new URLSearchParams(a).get(e))&&void 0!==n?n:void 0}const Xo={prev:"pagePrev",next:"pageNext"},Go=["prev","next"];function Jo(e){const t={};for(const i of Go){var n;const a=Ho(Xo[i],null===(n=e.pages)||void 0===n?void 0:n[i]);a&&(t[i]=a)}return Uo(Uo({},e),{},{pages:t})}function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach((function(t){Zo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const es=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),ts=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),ns=async(e,t,n)=>async function(e,t,{callId:n}){let i=1;const a=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{var p,l;const d=await ts(e,Yo(Yo({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!Wo(null==d||null===(l=d.response)||void 0===l?void 0:l.statusCode)){const e=new Error("App action not found or lambda fails");s(e)}else if(Wo(d.statusCode))o(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&i<r)i++,await Vo(a),c();else{const e=new Error("The app action response is taking longer than expected to process.");s(e)}}catch(e){if(i++,i>r)return void s(new Error("The app action response is taking longer than expected to process."));await Vo(a),c()}var u};c()}))}(e,t,{callId:(await Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),is=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls/${t.callId}`),as=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls/${t.callId}/response`),rs=async(e,t,n)=>async function(e,t,{callId:n}){let i=1;const a=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{const p=await is(e,Yo(Yo({},t),{},{callId:n}));"succeeded"===(null==p?void 0:p.sys.status)||"failed"===(null==p?void 0:p.sys.status)?o(p):"processing"===(null==p?void 0:p.sys.status)&&i<r?(i++,await Vo(a),c()):s(new Error("The app action result is taking longer than expected to process."))}catch(e){if(i++,i>r)return void s(new Error("The app action result is taking longer than expected to process."));await Vo(a),c()}};c()}))}(e,t,{callId:(await Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),os=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,ss=e=>`${os(e)}/${e.appBundleId}`,cs=(e,t)=>Wr(e,ss(t)),ps=(e,t)=>Wr(e,os(t),{params:So(t.query)}),ls=(e,t)=>Xr(e,ss(t)),us=(e,t,n)=>{const{appUploadId:i,comment:a,actions:r,functions:o}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:i}},comment:a,actions:r,functions:o};return Kr(e,os(t),s)};function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ms(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ds(Object(n),!0).forEach((function(t){fs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fs(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ys=e=>`/organizations/${e.organizationId}/app_definitions`,vs=e=>ys(e)+`/${e.appDefinitionId}`,hs=(e,t)=>Wr(e,vs(t),{params:So(t.query)}),bs=(e,t)=>Wr(e,ys(t),{params:t.query}),gs=(e,t,n)=>{const i=fn(n);return Kr(e,ys(t),i)},xs=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,vs(t),r,{headers:ms({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},ws=(e,t)=>Xr(e,vs(t)),Os=(e,t)=>Wr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:ms(ms({},Eo(So(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),js=(e,t)=>Wr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Is=(e,t,n)=>Hr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),Ps=(e,t)=>Xr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Ts=(e,t)=>Wr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),As=(e,t,n)=>Hr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),Ss=(e,t)=>Xr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`);function Es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Es(Object(n),!0).forEach((function(t){Cs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Es(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cs(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rs=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,Ds=e=>Rs(e)+`/${e.appDefinitionId}`,_s=(e,t)=>Wr(e,Ds(t),{params:So(t.query)}),$s=(e,t)=>Wr(e,Rs(t),{params:So(t.query)}),zs=(e,t,n,i)=>{const a=fn(n);return Hr(e,Ds(t),a,{headers:ks(ks({},i),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},Ms=(e,t)=>Xr(e,Ds(t)),Fs=(e,t)=>Wr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:ks(ks({},Eo(So(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),qs=(e,t)=>Wr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Us=(e,t)=>Wr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),Ls=(e,t,n)=>Kr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),Bs=(e,t)=>Xr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Ns=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),Ws=(e,t)=>Wr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),Vs=(e,t,n)=>Hr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),Ks=(e,t)=>Xr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`);function Hs(e,t){var n;const{hostUpload:i,defaultHostnameUpload:a,timeout:r}=e.httpClientParams;return e.cloneWithNewParams({host:i||a,timeout:null!==(n=null!=r?r:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const Xs=e=>`/organizations/${e.organizationId}/app_uploads`,Gs=e=>`${Xs(e)}/${e.appUploadId}`,Js=(e,t)=>Wr(Hs(e),Gs(t)),Qs=(e,t)=>Xr(Hs(e),Gs(t)),Ys=(e,t,n)=>{const i=Hs(e),{file:a}=n;return Kr(i,Xs(t),a,{headers:{"Content-Type":"application/octet-stream"}})},Zs=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},ec=e=>Zs(e)+`/${e.uploadId}`,tc=(e,t,n)=>{const i=Hs(e),{file:a}=n;return a?Kr(i,Zs(t),a,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},nc=(e,t)=>Xr(Hs(e),ec(t)),ic=(e,t)=>Wr(Hs(e),ec(t)),ac=["asset","locale","options"],rc=["asset","options"];function oc(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function sc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function cc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(n),!0).forEach((function(t){pc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lc=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,{params:So(t.query),headers:i?cc({},i):void 0}),uc=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets`,{params:So(t.query),headers:i?cc({},i):void 0}),dc=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,r,{headers:cc({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},mc=(e,t,n,i)=>{const a=fn(n);return Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets`,a,{headers:i})},fc=(e,t,n,i)=>{const a=fn(n);return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/assets/${t.assetId}`,a,{headers:i})},yc=async(e,t,n)=>{const i=Hs(e,{uploadTimeout:t.uploadTimeout}),{file:a}=n.fields;return Promise.all(Object.keys(a).map((async e=>{const{contentType:n,fileName:r}=a[e];return tc(i,t,a[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((i=>{const a=i.reduce(((e,t)=>cc(cc({},e),t)),{}),r=cc(cc({},n),{},{fields:cc(cc({},n.fields),{},{file:a})});return mc(e,t,r,{})})).catch(Rn)};async function vc(e,t,{resolve:n,reject:i,locale:a,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return lc(e,t).then((c=>{if(c.fields.file[a].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",i(e)}else s++,setTimeout((()=>vc(e,t,{resolve:n,reject:i,locale:a,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const hc=async(e,t)=>{let{asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}={}}=t,o=oc(t,ac);return Hr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/releases/${n.sys.release.sys.id}/assets/${n.sys.id}/files/${i}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>vc(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id,releaseId:n.sys.release.sys.id},{resolve:t,reject:s,locale:i,processingCheckWait:r,processingCheckRetries:a})))))},bc=async(e,t)=>{let{asset:n,options:i={}}=t,a=oc(t,rc);const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>hc(e,cc(cc({},a),{},{asset:n,locale:t,options:i})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))},gc=["asset","locale","options"],xc=["asset","options"];function wc(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Oc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oc(Object(n),!0).forEach((function(t){Ic(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ic(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pc=(e,t,n,i)=>t.releaseId?lc(e,t):Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:So(t.query),headers:i?jc({},i):void 0}),Tc=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:So(t.query),headers:i?jc({},i):void 0}),Ac=(e,t,n,i)=>t.releaseId?uc(e,t):Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:So(t.query),headers:i?jc({},i):void 0}),Sc=(e,t,n,i)=>{var a;if(t.releaseId)return dc(e,t,n,null!=i?i:{});const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,r,{headers:jc({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Ec=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),kc=(e,t,n)=>{var i,a;const r=null!==(i=t.locales)&&void 0!==i&&i.length?{add:{fields:{"*":t.locales}}}:null;return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,r,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},Cc=(e,t,n)=>{var i;if(null!==(i=t.locales)&&void 0!==i&&i.length){const i={remove:{fields:{"*":t.locales}}};return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,i,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`)},Rc=(e,t)=>Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Dc=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),_c=(e,t,n)=>{if(t.releaseId)return mc(e,t,n,{});const i=fn(n);return Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,i)},$c=(e,t,n)=>{if(t.releaseId)return fc(e,t,n,{});const i=fn(n);return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,i)},zc=async(e,t,n)=>{if(t.releaseId)return yc(e,t,n,{});const i=Hs(e,{uploadTimeout:t.uploadTimeout}),{file:a}=n.fields;return Promise.all(Object.keys(a).map((async e=>{const{contentType:n,fileName:r}=a[e];return tc(i,t,a[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((i=>{const a=i.reduce(((e,t)=>jc(jc({},e),t)),{}),r=jc(jc({},n),{},{fields:jc(jc({},n.fields),{},{file:a})});return _c(e,t,r)})).catch(Rn)};async function Mc(e,t,{resolve:n,reject:i,locale:a,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return Pc(e,t).then((c=>{if(c.fields.file[a].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",i(e)}else s++,setTimeout((()=>Mc(e,t,{resolve:n,reject:i,locale:a,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const Fc=async(e,t)=>{let{asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}={}}=t,o=wc(t,gc);return n.sys.release?hc(e,jc({asset:n,locale:i,options:{processingCheckRetries:a,processingCheckWait:r}},o)):Hr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/assets/${n.sys.id}/files/${i}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Mc(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:i,processingCheckWait:r,processingCheckRetries:a})))))},qc=async(e,t)=>{let{asset:n,options:i={}}=t,a=wc(t,xc);if(n.sys.release)return bc(e,jc({asset:n,options:i},a));const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>Fc(e,jc(jc({},a),{},{asset:n,locale:t,options:i})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))};class Uc extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const Lc=(e,t,n)=>{const i=n.expiresAt,a=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new Uc(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new Uc(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new Uc(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",i,{maximum:a+172800,now:a});const r={expiresAt:i};return Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,r)},Bc=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),Nc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),Wc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),Vc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),Kc=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/${t.bulkActionId}`),Hc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),Xc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),Gc=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions`,n),Jc=["version"];function Qc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qc(Object(n),!0).forEach((function(t){Zc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ep="X-Contentful-Version",tp="x-contentful-comment-body-format",np="x-contentful-parent-entity-reference",ip="x-contentful-parent-id",ap=e=>`${rp(e)}/${e.commentId}`,rp=e=>{const t="entryId"in e?{spaceId:e.spaceId,environmentId:e.environmentId,parentEntityType:"Entry",parentEntityId:e.entryId}:e,{parentEntityId:n,parentEntityType:i}=t,a=function(e){switch(e){case"ContentType":return"content_types";case"Entry":return"entries";case"Workflow":return"workflows"}}(i),r="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${a}/${n}${r}/comments`},op=(e,t)=>Wr(e,ap(t),{headers:"rich-text"===t.bodyFormat?{[tp]:t.bodyFormat}:{}}),sp=(e,t)=>Wr(e,rp(t),{params:So(t.query),headers:"rich-text"===t.bodyFormat?{[tp]:t.bodyFormat}:{}}),cp=(e,t,n)=>{const i=fn(n);return Kr(e,rp(t),i,{headers:Yc(Yc(Yc({},"string"!=typeof n.body?{[tp]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[np]:t.parentEntityReference}:{}),t.parentCommentId?{[ip]:t.parentCommentId}:{})})},pp=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,ap(t),r,{headers:Yc(Yc({[ep]:null!==(a=n.sys.version)&&void 0!==a?a:0},"string"!=typeof n.body?{[tp]:"rich-text"}:{}),i)})},lp=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,Jc);return Xr(e,ap(i),{headers:{[ep]:n}})},up=sp;function dp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dp(Object(n),!0).forEach((function(t){fp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yp(e){return`/organizations/${e}/taxonomy/concepts`}const vp=(e,t,n)=>Kr(e,yp(t.organizationId),n),hp=(e,t,n)=>Hr(e,`${yp(t.organizationId)}/${t.conceptId}`,n),bp=(e,t,n,i)=>Vr(e,`${yp(t.organizationId)}/${t.conceptId}`,n,{headers:mp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),gp=(e,t,n,i)=>Vr(e,`${yp(t.organizationId)}/${t.conceptId}`,n,{headers:mp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),xp=(e,t,n,i)=>Hr(e,`${yp(t.organizationId)}/${t.conceptId}`,n,{headers:mp({"X-Contentful-Version":t.version},i)}),wp=(e,t)=>Wr(e,`${yp(t.organizationId)}/${t.conceptId}`),Op=(e,t,n)=>{var i;return Xr(e,`${yp(t.organizationId)}/${t.conceptId}`,{headers:mp({"X-Contentful-Version":null!==(i=t.version)&&void 0!==i?i:0},n)})},jp=(e,t)=>{const{url:n,queryParams:i}=Ap("",t);return Wr(e,n,{params:i})},Ip=(e,t)=>{const{url:n,queryParams:i}=Ap(`/${t.conceptId}/descendants`,t);return Wr(e,n,{params:i})},Pp=(e,t)=>{const{url:n,queryParams:i}=Ap(`/${t.conceptId}/ancestors`,t);return Wr(e,n,{params:i})},Tp=(e,t)=>Wr(e,`${yp(t.organizationId)}/total`);function Ap(e,t){var n,i;return null!==(n=t.query)&&void 0!==n&&n.pageUrl?{url:null===(i=t.query)||void 0===i?void 0:i.pageUrl}:{url:`${yp(t.organizationId)}${e}`,queryParams:t.query}}function Sp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ep(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sp(Object(n),!0).forEach((function(t){kp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cp(e){return`/organizations/${e}/taxonomy/concept-schemes`}const Rp=(e,t)=>Wr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`),Dp=(e,t,n)=>Xr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`,{headers:Ep({"X-Contentful-Version":t.version},n)}),_p=(e,t)=>{var n,i,a;return Wr(e,null!==(n=null===(i=t.query)||void 0===i?void 0:i.pageUrl)&&void 0!==n?n:Cp(t.organizationId),{params:null!==(a=t.query)&&void 0!==a&&a.pageUrl?void 0:t.query})},$p=(e,t)=>Wr(e,`${Cp(t.organizationId)}/total`),zp=(e,t,n)=>Kr(e,Cp(t.organizationId),n),Mp=(e,t,n)=>Hr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`,n),Fp=(e,t,n,i)=>Vr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:Ep({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),qp=(e,t,n,i)=>Vr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:Ep({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),Up=(e,t,n,i)=>Hr(e,`${Cp(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:Ep({"X-Contentful-Version":t.version},i)});function Lp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lp(Object(n),!0).forEach((function(t){Np(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Np(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wp=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types`,Vp=e=>Wp(e)+`/${e.contentTypeId}`,Kp=(e,t,n)=>Wr(e,Vp(t),{params:So(t.query),headers:n}),Hp=(e,t,n)=>Wr(e,Wp(t),{params:t.query,headers:n}),Xp=(e,t,n,i)=>{const a=fn(n);return Kr(e,Wp(t),a,{headers:i})},Gp=(e,t,n,i)=>{const a=fn(n);return Hr(e,Vp(t),a,{headers:i})},Jp=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,Vp(t),r,{headers:Bp({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Qp=(e,t,n)=>Xr(e,Vp(t),{headers:n}),Yp=(e,t,n,i)=>Hr(e,Vp(t)+"/published",null,{headers:Bp({"X-Contentful-Version":n.sys.version},i)}),Zp=(e,t,n)=>Xr(e,Vp(t)+"/published",{headers:n});function el(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function tl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?el(Object(n),!0).forEach((function(t){nl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):el(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const il=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,al=(e,t)=>Wr(e,il(t)),rl=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),ol=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,il(t),r,{headers:tl({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})};function sl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function cl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sl(Object(n),!0).forEach((function(t){pl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ll=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,{params:So(t.query),headers:cl({},i)}),ul=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries`,{params:So(t.query),headers:cl({},i)}),dl=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,r,{headers:cl({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},ml=(e,t,n,i)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,n,{headers:cl({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),fl=(e,t,n,i)=>{const a=fn(n);return Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries`,a,{headers:cl({"X-Contentful-Content-Type":t.contentTypeId},i)})},yl=(e,t,n,i)=>{const a=fn(n);return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/entries/${t.entryId}`,a,{headers:cl({"X-Contentful-Content-Type":t.contentTypeId},i)})};function vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function hl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vl(Object(n),!0).forEach((function(t){bl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gl=(e,t,n,i)=>t.releaseId?ll(e,t):Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:So(t.query),headers:hl({},i)}),xl=(e,t,n,i)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:So(t.query),headers:hl({},i)}),wl=(e,t,n,i)=>t.releaseId?ul(e,t):Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:So(t.query),headers:hl({},i)}),Ol=(e,t,n,i)=>t.releaseId?ml(e,t,n,null!=i?i:{}):Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:hl({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},i)}),jl=(e,t,n,i)=>{var a;if(t.releaseId)return dl(e,t,n,null!=i?i:{});const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,r,{headers:hl({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Il=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),Pl=(e,t,n)=>{var i;const a=null!==(i=t.locales)&&void 0!==i&&i.length?{add:{fields:{"*":t.locales}}}:null;return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,a,{headers:{"X-Contentful-Version":n.sys.version}})},Tl=(e,t,n)=>{var i;if(null!==(i=t.locales)&&void 0!==i&&i.length){const i={remove:{fields:{"*":t.locales}}};return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,i,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`)},Al=(e,t)=>Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),Sl=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),El=(e,t,n)=>{if(t.releaseId)return fl(e,t,n,{});const i=fn(n);return Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,i,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},kl=(e,t,n)=>{if(t.releaseId)return yl(e,t,n,{});const i=fn(n);return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,i,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},Cl=(e,t)=>{const{spaceId:n,environmentId:i,entryId:a,include:r}=t;return Wr(e,`/spaces/${n}/environments/${i}/entries/${a}/references?include=${r||2}`)};function Rl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Dl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rl(Object(n),!0).forEach((function(t){_l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _l(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $l=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),zl=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),Ml=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,r,{headers:Dl(Dl({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Fl=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),ql=(e,t,n,i)=>{const a=fn(n);return Kr(e,`/spaces/${t.spaceId}/environments`,a,{headers:i})},Ul=(e,t,n,i)=>{const a=fn(n);return Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,a,{headers:Dl(Dl({},i),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function Ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(n),!0).forEach((function(t){Nl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ll(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wl=e=>`/spaces/${e.spaceId}/environment_aliases`,Vl=e=>Wl(e)+`/${e.environmentAliasId}`,Kl=(e,t)=>Wr(e,Vl(t)),Hl=(e,t)=>Wr(e,Wl(t),{params:t.query}),Xl=(e,t,n,i)=>{const a=fn(n);return Hr(e,Vl(t),a,{headers:i})},Gl=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,Vl(t),r,{headers:Bl(Bl({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Jl=(e,t)=>Xr(e,Vl(t));function Ql(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Yl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ql(Object(n),!0).forEach((function(t){Zl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ql(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eu=(e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),tu=(e,{organizationId:t,environmentTemplateId:n,version:i,query:a={}},r)=>Wr(e,i?eu(t,n,"versions",i):eu(t,n),{params:a,headers:r}),nu=(e,{organizationId:t,query:n={}},i)=>Wr(e,eu(t),{params:n,headers:i}),iu=(e,{organizationId:t},n,i)=>Kr(e,eu(t),n,{headers:i}),au=(e,{organizationId:t,environmentTemplateId:n},i,a)=>{var r;const o=fn(i);return delete o.sys,Hr(e,eu(t,n),o,{headers:Yl({"X-Contentful-Version":null!==(r=i.sys.version)&&void 0!==r?r:0},a)})},ru=(e,{organizationId:t,version:n,environmentTemplateId:i},a,r)=>Vr(e,eu(t,i,"versions",n),a,{headers:r}),ou=(e,{organizationId:t,environmentTemplateId:n},i)=>Xr(e,eu(t,n),{headers:i}),su=(e,{organizationId:t,environmentTemplateId:n,query:i={}},a)=>Wr(e,eu(t,n,"versions"),{params:i,headers:a}),cu=(e,{spaceId:t,environmentId:n,environmentTemplateId:i,version:a},r,o)=>Hr(e,a?`/spaces/${t}/environments/${n}/template_installations/${i}/versions/${a}/validated`:`/spaces/${t}/environments/${n}/template_installations/${i}/validated`,r,{headers:o}),pu=(e,{spaceId:t,environmentId:n,environmentTemplateId:i},a,r)=>Kr(e,`/spaces/${t}/environments/${n}/template_installations/${i}/versions`,a,{headers:r}),lu=(e,{spaceId:t,environmentId:n,environmentTemplateId:i},a)=>Xr(e,`/spaces/${t}/environments/${n}/template_installations/${i}`,{headers:a}),uu=["organizationId","environmentTemplateId","spaceId","environmentId"],du=["spaceId","environmentId","environmentTemplateId","installationId"];function mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mu(Object(n),!0).forEach((function(t){yu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const hu=(e,t,n)=>{let{organizationId:i,environmentTemplateId:a,spaceId:r,environmentId:o}=t,s=vu(t,uu);return Wr(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(i,a,"template_installations"),{params:fu(fu(fu({},s),o&&{"environment.sys.id":o}),r&&{"space.sys.id":r}),headers:n})},bu=(e,t,n)=>{let{spaceId:i,environmentId:a,environmentTemplateId:r,installationId:o}=t,s=vu(t,du);return Wr(e,`/spaces/${i}/environments/${a}/template_installations/${r}`,{params:fu(fu({},o&&{"sys.id":o}),s),headers:n})};function gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function xu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ou=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,ju=e=>Ou(e)+`/${e.extensionId}`,Iu=(e,t)=>Wr(e,ju(t),{params:So(t.query)}),Pu=(e,t)=>Wr(e,Ou(t),{params:So(t.query)}),Tu=(e,t,n,i)=>Kr(e,Ou(t),n,{headers:i}),Au=(e,t,n,i)=>{const a=fn(n);return Hr(e,ju(t),a,{headers:i})},Su=async(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,ju(t),r,{headers:xu({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Eu=(e,t)=>Xr(e,ju(t)),ku=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/functions`,Cu=(e,t)=>Wr(e,(e=>`${ku(e)}/${e.functionId}`)(t)),Ru=(e,t)=>Wr(e,ku(t),{params:t.query}),Du=(e,t)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions`)(t),{params:t.query});function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach((function(t){zu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mu={"x-contentful-enable-alpha-feature":"function-logs"},Fu=(e,t)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs/${e.logId}`)(t),{headers:$u({},Mu)}),qu=(e,t)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs`)(t),{params:t.query,headers:$u({},Mu)}),Uu=(e,{url:t,config:n})=>Wr(e,t,n),Lu=(e,{url:t,config:n},i)=>Kr(e,t,i,n),Bu=(e,{url:t,config:n},i)=>Hr(e,t,i,n),Nu=(e,{url:t,config:n},i)=>Vr(e,t,i,n),Wu=(e,{url:t,config:n})=>Xr(e,t,n),Vu=(e,{url:t,config:n})=>function(e,t,n){return e(t,Lr({baseURL:Nr(e)},n)).then((e=>e.data),Rn)}(e,t,n);function Ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ku(Object(n),!0).forEach((function(t){Xu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ku(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gu=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Ju=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:So(t.query)}),Qu=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:i}),Yu=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,delete r.default,Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,r,{headers:Hu(Hu({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},Zu=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),ed=(e,t)=>Wr(e,"/organizations",{params:null==t?void 0:t.query}),td=(e,t)=>ed(e,{query:{limit:100}}).then((e=>{const n=e.items.find((e=>e.sys.id===t.organizationId));if(!n){const n=new Error(`No organization was found with the ID ${t.organizationId} instead got ${JSON.stringify(e)}`);return n.status=404,n.statusText="Not Found",Promise.reject(n)}return n}));function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function id(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nd(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ad(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rd={"x-contentful-enable-alpha-feature":"organization-user-management-api"},od={"x-contentful-enable-alpha-feature":"pending-org-membership"},sd=(e,t,n,i)=>Kr(e,`/organizations/${t.organizationId}/invitations`,n,{headers:id(id({},od),i)}),cd=(e,t,n)=>Wr(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:id(id({},rd),n)});function pd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pd(Object(n),!0).forEach((function(t){ud(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ud(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dd=e=>`/organizations/${e.organizationId}/organization_memberships`,md=e=>`${dd(e)}/${e.organizationMembershipId}`,fd=(e,t)=>Wr(e,md(t)),yd=(e,t)=>Wr(e,dd(t),{params:t.query}),vd=(e,t,n,i)=>{var a;const r=fn(n);delete r.sys;const{role:o}=r;return Hr(e,md(t),{role:o},{headers:ld(ld({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},hd=(e,t)=>Xr(e,md(t)),bd=(e,t)=>Wr(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),gd=(e,t)=>Wr(e,`/users/${t.userId}/oauth_applications`,{params:t.query}),xd=(e,t,n,i)=>Kr(e,`/users/${t.userId}/oauth_applications`,n,{headers:i}),wd=(e,t,n,i)=>Hr(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`,n,{headers:i}),Od=(e,t)=>Xr(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),jd=(e,t)=>Wr(e,`/users/me/access_tokens/${t.tokenId}`),Id=(e,t)=>Wr(e,"/users/me/access_tokens",{params:t.query}),Pd=(e,t,n,i)=>Kr(e,"/users/me/access_tokens",n,{headers:i}),Td=(e,t)=>Hr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),Ad=(e,t)=>Wr(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),Sd=(e,t)=>Wr(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function Ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ed(Object(n),!0).forEach((function(t){Cd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rd=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),Dd=(e,t)=>{var n,i,a;const r=null!==(n=null!==(i=null===(a=t.query)||void 0===a?void 0:a["sys.schemaVersion"])&&void 0!==i?i:t.releaseSchemaVersion)&&void 0!==n?n:void 0;return void 0!==r&&(t.query=kd(kd({},t.query),{},{"sys.schemaVersion":r})),Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query})},_d=(e,t,n)=>{var i,a;return"Release.v2"===(null!==(i=null===(a=n.sys)||void 0===a?void 0:a.schemaVersion)&&void 0!==i?i:t.releaseSchemaVersion)&&(n.sys=kd(kd({},n.sys),{},{type:"Release",schemaVersion:"Release.v2"})),Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n)},$d=(e,t,n,i)=>{var a,r;return"Release.v2"===(null!==(a=null===(r=n.sys)||void 0===r?void 0:r.schemaVersion)&&void 0!==a?a:t.releaseSchemaVersion)&&(n.sys=kd(kd({},n.sys),{},{type:"Release",schemaVersion:"Release.v2"})),Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:kd({"X-Contentful-Version":t.version},i)})},zd=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),Md=(e,t,n)=>Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:kd({"X-Contentful-Version":t.version},n)}),Fd=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:kd({"X-Contentful-Version":t.version},n)}),qd=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),Ud=(e,t)=>Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),Ld=(e,t)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function Bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Nd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bd(Object(n),!0).forEach((function(t){Wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Vd=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),Kd=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Hd=(e,t)=>Wr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Nd({"sys.release.sys.id[in]":t.releaseId},t.query)}),Xd=(e,t)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types/${e.resourceTypeId}/resources`)(t),{params:t.query}),Gd=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Jd=(e,t)=>Wr(e,Gd(t)),Qd=(e,t,n,i)=>Hr(e,Gd(t),n,{headers:i}),Yd=(e,t)=>Xr(e,Gd(t)),Zd=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider/resource_types`,em=e=>`${Zd(e)}/${e.resourceTypeId}`,tm=(e,t)=>Wr(e,em(t)),nm=(e,t,n,i)=>{const a=fn(n);return Hr(e,em(t),a,{headers:i})},im=(e,t)=>Xr(e,em(t)),am=(e,t)=>Wr(e,Zd(t)),rm=(e,t)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types`)(t));function om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function sm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?om(Object(n),!0).forEach((function(t){cm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):om(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pm=(e,t)=>Wr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),lm=(e,t)=>Wr(e,`/spaces/${t.spaceId}/roles`,{params:So(t.query)}),um=(e,t)=>Wr(e,`/organizations/${t.organizationId}/roles`,{params:So(t.query)}),dm=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/roles`,n,{headers:i}),mm=(e,t,n,i)=>Hr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:i}),fm=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,r,{headers:sm(sm({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},ym=(e,t)=>Xr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),vm=(e,t)=>Wr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),hm=(e,t)=>Wr(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:So(t.query)}),bm=(e,t,n)=>Kr(e,`/spaces/${t.spaceId}/scheduled_actions`,n),gm=(e,t)=>Xr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),xm=(e,t,n)=>{var i;return Hr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,n,{params:{"environment.sys.id":null===(i=n.environment)||void 0===i?void 0:i.sys.id},headers:{"X-Contentful-Version":t.version}})},wm=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/semantic/duplicates`,n,{headers:i}),Om=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/semantic/recommendations`,n,{headers:i}),jm=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/semantic/reference-suggestions`,n,{headers:i}),Im=(e,t,n,i)=>Kr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/semantic/search`,n,{headers:i}),Pm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,Tm=(e,t)=>Wr(e,Pm(t),{params:So(t.query)}),Am=(e,t)=>Wr(e,(e=>Pm(e)+`/${e.snapshotId}`)(t)),Sm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,Em=(e,t)=>Wr(e,Sm(t),{params:So(t.query)}),km=(e,t)=>Wr(e,(e=>Sm(e)+`/${e.snapshotId}`)(t));function Cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Rm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cm(Object(n),!0).forEach((function(t){Dm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _m=(e,t)=>Wr(e,`/spaces/${t.spaceId}`),$m=(e,t)=>Wr(e,"/spaces",{params:t.query}),zm=(e,t)=>Wr(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),Mm=(e,t,n,i)=>Kr(e,"/spaces",n,{headers:t.organizationId?Rm(Rm({},i),{},{"X-Contentful-Organization":t.organizationId}):i}),Fm=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,`/spaces/${t.spaceId}`,r,{headers:Rm({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},qm=(e,t)=>Xr(e,`/spaces/${t.spaceId}`),Um=(e,t)=>Wr(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),Lm=(e,t)=>Wr(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function Bm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Nm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bm(Object(n),!0).forEach((function(t){Wm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vm(){console.warn("The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)")}const Km=e=>`/spaces/${e.spaceId}/space_memberships`,Hm=e=>`${Km(e)}/${e.spaceMembershipId}`,Xm=(e,t)=>(Vm(),Wr(e,Hm(t))),Gm=(e,t)=>(Vm(),Wr(e,Km(t),{params:t.query})),Jm=(e,t)=>Wr(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),Qm=(e,t)=>Wr(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Ym=(e,t,n,i)=>(Vm(),Kr(e,Km(t),n,{headers:i})),Zm=(e,t,n,i)=>(Vm(),Hr(e,Hm(t),n,{headers:i})),ef=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,Hm(t),r,{headers:Nm(Nm({},i),{},{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0})})},tf=(e,t)=>Xr(e,Hm(t)),nf=["version"];function af(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function rf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?af(Object(n),!0).forEach((function(t){of(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):af(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function of(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const sf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,cf=e=>sf(e)+`/${e.tagId}`,pf=(e,t)=>Wr(e,cf(t)),lf=(e,t)=>Wr(e,sf(t),{params:t.query}),uf=(e,t,n)=>{var i;const a=fn(n);return Hr(e,cf(t),a,{headers:{"X-Contentful-Tag-Visibility":null!==(i=n.sys.visibility)&&void 0!==i?i:"private"}})},df=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,cf(t),r,{headers:rf({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},mf=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,nf);return Xr(e,cf(i),{headers:{"X-Contentful-Version":n}})},ff=["version"];function yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yf(Object(n),!0).forEach((function(t){hf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/tasks`,gf=e=>`${bf(e)}/${e.taskId}`,xf=(e,t)=>Wr(e,gf(t)),wf=(e,t)=>Wr(e,bf(t),{params:So(t.query)}),Of=wf,jf=(e,t,n)=>{const i=fn(n);return Kr(e,bf(t),i)},If=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,gf(t),r,{headers:vf({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Pf=(e,t)=>{let{version:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,ff);return Xr(e,gf(i),{headers:{"X-Contentful-Version":n}})};function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Af(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tf(Object(n),!0).forEach((function(t){Sf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ef=e=>`/organizations/${e.organizationId}/teams`,kf=e=>`${Ef(e)}/${e.teamId}`,Cf=(e,t)=>Wr(e,kf(t)),Rf=(e,t)=>Wr(e,Ef(t),{params:So(t.query)}),Df=(e,t)=>Wr(e,`/spaces/${t.spaceId}/teams`,{params:So(t.query)}),_f=(e,t,n,i)=>Kr(e,Ef(t),n,{headers:i}),$f=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,kf(t),r,{headers:Af({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},zf=(e,t)=>Xr(e,kf(t));function Mf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ff(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mf(Object(n),!0).forEach((function(t){qf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Uf=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,Lf=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,Bf=(e,t)=>Wr(e,Lf(t)),Nf=(e,t)=>Wr(e,`/organizations/${t.organizationId}/team_memberships`,{params:So(t.query)}),Wf=(e,t)=>Wr(e,Uf(t),{params:So(t.query)}),Vf=(e,t,n,i)=>Kr(e,Uf(t),n,{headers:i}),Kf=(e,t,n,i)=>{const a=fn(n);return delete a.sys,Hr(e,Lf(t),a,{headers:Ff({"X-Contentful-Version":n.sys.version||0},i)})},Hf=(e,t)=>Xr(e,Lf(t));function Xf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Gf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xf(Object(n),!0).forEach((function(t){Jf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qf=e=>`/spaces/${e.spaceId}/team_space_memberships`,Yf=e=>`${Qf(e)}/${e.teamSpaceMembershipId}`,Zf=(e,t)=>Wr(e,Yf(t)),ey=(e,t)=>Wr(e,Qf(t),{params:t.query}),ty=(e,t)=>Wr(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),ny=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),Wr(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},iy=(e,t,n,i)=>Kr(e,Qf(t),n,{headers:Gf({"x-contentful-team":t.teamId},i)}),ay=(e,t,n,i)=>{const a=fn(n);return delete a.sys,Hr(e,Yf(t),a,{headers:Gf({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},i)})},ry=(e,t)=>Xr(e,Yf(t)),oy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,sy=(e,t)=>Wr(e,oy(t)),cy=(e,t,n)=>{var i;const a=fn(n);return delete a.sys,Hr(e,oy(t),a,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})},py=(e,t)=>{const n=Hs(e),i=(e=>{var t;return`/spaces/${e.spaceId}/environments/${null!==(t=e.environmentId)&&void 0!==t?t:"master"}/upload_credentials`})(t);return Kr(n,i)},ly=(e,t)=>Wr(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),uy=(e,t)=>Wr(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),dy=(e,t)=>Wr(e,`/spaces/${t.spaceId}/users/${t.userId}`),my=(e,t)=>Wr(e,"/users/me",{params:null==t?void 0:t.query}),fy=(e,t)=>Wr(e,`/spaces/${t.spaceId}/users`,{params:t.query}),yy=(e,t)=>Wr(e,`/organizations/${t.organizationId}/users/${t.userId}`),vy=(e,t)=>Wr(e,`/organizations/${t.organizationId}/users`,{params:t.query}),hy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,by=(e,t)=>Wr(e,hy(t)),gy=(e,t,n)=>{var i;const a=fn(n);return delete a.sys,Hr(e,hy(t),a,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})},xy=(e,t,n)=>Wr(e,`/organizations/${t.organizationId}/semantic/vectorization-status`,{headers:n}),wy=(e,t,n,i)=>Kr(e,`/organizations/${t.organizationId}/semantic/vectorization-status`,n,{headers:i});function Oy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function jy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oy(Object(n),!0).forEach((function(t){Iy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Iy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Py=e=>`/spaces/${e.spaceId}/webhook_definitions`,Ty=e=>`/spaces/${e.spaceId}/webhooks`,Ay=e=>`${Py(e)}/${e.webhookDefinitionId}`,Sy=e=>`/spaces/${e.spaceId}/webhook_settings`,Ey=e=>`${Sy(e)}/signing_secret`,ky=e=>`${Sy(e)}/retry_policy`,Cy=(e,t)=>Wr(e,Ay(t)),Ry=(e,t)=>Wr(e,(e=>`${Ty(e)}/${e.webhookDefinitionId}/calls`)(t),{params:So(t.query)}),Dy=(e,t)=>Wr(e,(e=>`${Ty(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),_y=(e,t)=>Wr(e,(e=>`${Ty(e)}/${e.webhookDefinitionId}/health`)(t)),$y=(e,t)=>Wr(e,Py(t),{params:So(t.query)}),zy=(e,t)=>Wr(e,Ey(t)),My=(e,t)=>Wr(e,ky(t)),Fy=(e,t,n,i)=>{const a=fn(n);return Kr(e,Py(t),a,{headers:i})},qy=(e,t,n,i)=>{const a=fn(n);return Hr(e,Ay(t),a,{headers:i})},Uy=async(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,Ay(t),r,{headers:jy({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},Ly=async(e,t,n)=>{const i=fn(n);return Hr(e,Ey(t),i)},By=async(e,t,n)=>{const i=fn(n);return Hr(e,ky(t),i)},Ny=(e,t)=>Xr(e,Ay(t)),Wy=async(e,t)=>Xr(e,Ey(t)),Vy=async(e,t)=>Xr(e,ky(t)),Ky=["version"],Hy=["version"];function Xy(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Gy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Jy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gy(Object(n),!0).forEach((function(t){Qy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yy=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,Zy=e=>`${Yy(e)}/${e.workflowId}`,ev=(e,t,n)=>Wr(e,Yy(t),{headers:n,params:t.query}),tv=(e,t,n)=>Wr(e,Zy(t),{headers:n}),nv=(e,t,n,i)=>{const a=fn(n);return Kr(e,Yy(t),a,{headers:i})},iv=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,Zy(t),r,{headers:Jy({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},av=(e,t,n)=>{let{version:i}=t,a=Xy(t,Ky);return Xr(e,Zy(a),{headers:Jy({"X-Contentful-Version":i},n)})},rv=(e,t,n)=>{let{version:i}=t;return Hr(e,(a=Xy(t,Hy),`${Zy(a)}/complete`),null,{headers:Jy({"X-Contentful-Version":i},n)});var a},ov=["version"];function sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sv(Object(n),!0).forEach((function(t){pv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lv=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,uv=e=>`${lv(e)}/${e.workflowDefinitionId}`,dv=(e,t,n)=>Wr(e,uv(t),{headers:n}),mv=(e,t,n)=>Wr(e,lv(t),{headers:n,params:t.query}),fv=(e,t,n,i)=>{const a=fn(n);return Kr(e,lv(t),a,{headers:i})},yv=(e,t,n,i)=>{var a;const r=fn(n);return delete r.sys,Hr(e,uv(t),r,{headers:cv({"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0},i)})},vv=(e,t,n)=>{let{version:i}=t,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,ov);return Xr(e,uv(a),{headers:cv({"X-Contentful-Version":i},n)})},hv=(e,t,n)=>Wr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),bv={AiAction:t,AiActionInvocation:a,ApiKey:o,AppAction:c,AppActionCall:p,AppBundle:l,AppDefinition:u,AppInstallation:f,AppUpload:b,AppSignedRequest:v,AppSigningSecret:h,AppEventSubscription:m,AppKey:y,AppAccessToken:s,AppDetails:d,Asset:w,AssetKey:O,BulkAction:j,Comment:I,Concept:P,ConceptScheme:T,ContentType:A,EditorInterface:S,Entry:k,Environment:C,EnvironmentAlias:R,EnvironmentTemplate:D,EnvironmentTemplateInstallation:_,Extension:$,Function:z,FunctionLog:M,Http:F,Locale:q,Organization:U,OrganizationInvitation:L,OrganizationMembership:B,OAuthApplication:N,PersonalAccessToken:W,AccessToken:r,PreviewApiKey:V,Release:K,ReleaseAsset:x,ReleaseEntry:E,ReleaseAction:H,Resource:X,ResourceProvider:G,ResourceType:J,Role:Q,ScheduledAction:Y,SemanticDuplicates:Z,SemanticRecommendations:ee,SemanticReferenceSuggestions:te,SemanticSearch:ne,Snapshot:ie,Space:ae,SpaceMember:re,SpaceMembership:oe,Tag:se,Task:ce,Team:pe,TeamMembership:le,TeamSpaceMembership:ue,UIConfig:de,Upload:g,UploadCredential:me,Usage:fe,User:ye,UserUIConfig:ve,VectorizationStatus:he,Webhook:be,WorkflowDefinition:xe,Workflow:ge,WorkflowsChangelog:we};function gv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function xv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gv(Object(n),!0).forEach((function(t){wv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ov=async({axiosInstance:e,entityType:t,action:n,params:i,payload:a,headers:r,userAgent:o})=>{var s;const c=null===(s=bv[t])||void 0===s?void 0:s["delete"===n?"del":n];if(void 0===c)throw new Error("Unknown endpoint");return await c(e,i,a,xv(xv({},r),o?{"X-Contentful-User-Agent":o}:{}))};function jv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Iv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jv(Object(n),!0).forEach((function(t){Pv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Tv={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class Av{constructor(e){if(Pv(this,"params",void 0),Pv(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");const t=fn(e);t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,this.params=Iv(Iv({},Tv),t),this.axiosInstance=Pn(qr,Iv(Iv({},this.params),{},{headers:Iv(Iv({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest(e){return Ov(Iv(Iv({},e),{},{axiosInstance:this.axiosInstance}))}}function Sv(e,t){return Object.keys(t).reduce(((e,n)=>(Object.defineProperty(e,n,{enumerable:!1,configurable:!0,writable:!1,value:t[n]}),e)),e)}const Ev={RichText:"RichText",Markdown:"Markdown",PlainText:"PlainText"};function kv(e,t){return Sn(kn(fn(t)))}const Cv=Bo(kv);function Rv(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,aiActionId:e.sys.id});return{update:function(){return e({entityType:"AiAction",action:"update",params:t(this),payload:this}).then((t=>Rv(e,t)))},delete:function(){return e({entityType:"AiAction",action:"delete",params:t(this)})},publish:function(){const t=this;return e({entityType:"AiAction",action:"publish",params:{aiActionId:t.sys.id,spaceId:t.sys.space.sys.id,version:t.sys.version}}).then((t=>Rv(e,t)))},unpublish:function(){return e({entityType:"AiAction",action:"unpublish",params:t(this)}).then((t=>Rv(e,t)))},invoke:function(t,n){return e({entityType:"AiAction",action:"invoke",params:{spaceId:this.sys.space.sys.id,environmentId:t,aiActionId:this.sys.id},payload:n}).then((e=>kv(0,e)))}}}(e));return Sn(n)}const Dv=Bo(Rv);function _v(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>{var t,n;return{spaceId:null!==(t=null===(n=e.sys.space)||void 0===n?void 0:n.sys.id)&&void 0!==t?t:"",apiKeyId:e.sys.id}};return{update:function(){return e({entityType:"ApiKey",action:"update",params:t(this),payload:this,headers:{}}).then((t=>_v(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return Sn(n)}const $v=Bo(_v);function zv(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appActionId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Mv=Bo(zv);function Fv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function qv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fv(Object(n),!0).forEach((function(t){Uv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lv(e,t){return{createWithResponse:function(n,i){return e({entityType:"AppActionCall",action:"createWithResponse",params:qv(qv({},n),t),payload:i}).then((t=>Nv(e,t)))},getCallDetails:function(t){return e({entityType:"AppActionCall",action:"getCallDetails",params:t}).then((t=>Nv(e,t)))},get:function(t){return e({entityType:"AppActionCall",action:"get",params:t}).then((t=>Bv(e,t)))},createWithResult:function(n,i){return e({entityType:"AppActionCall",action:"createWithResult",params:qv(qv({},n),t),payload:i}).then((t=>Bv(e,t)))}}}function Bv(e,t){return Sv(kn(fn(t)),Lv(e))}function Nv(e,t,n){return Sv(kn(fn(t)),Lv(e,n))}function Wv(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appBundleId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppBundle",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Vv=Bo(Wv);function Kv(e,t){const n=Sv(kn(fn(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=rx.appBundle,{wrapResourceProvider:i}=rx.resourceProvider,a=e=>({appDefinitionId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"update",params:a(t),headers:{},payload:t}).then((t=>Kv(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"delete",params:a(t)})},getAppBundle(n){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"get",params:{appBundleId:n,appDefinitionId:i.sys.id,organizationId:i.sys.organization.sys.id}}).then((n=>t(e,n)))},getAppBundles(t={}){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"getMany",params:{organizationId:i.sys.organization.sys.id,appDefinitionId:i.sys.id,query:t}}).then((t=>n(e,t)))},createAppBundle(n){const i=this.toPlainObject();return e({entityType:"AppBundle",action:"create",params:{appDefinitionId:i.sys.id,organizationId:i.sys.organization.sys.id},payload:n}).then((n=>t(e,n)))},getInstallationsForOrg(t={}){const n=this.toPlainObject();return e({entityType:"AppDefinition",action:"getInstallationsForOrg",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id,query:t}})},upsertResourceProvider(t){const n=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id},payload:t}).then((t=>i(e,t)))},getResourceProvider(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"get",params:{appDefinitionId:t.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>i(e,t)))}}}(e));return Sn(n)}const Hv=Bo(Kv);function Xv(e,t){return Sv(kn(fn(t)),function(e){return{delete:function(){return e({entityType:"AppDetails",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Gv(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,appDefinitionId:e.sys.appDefinition.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:t(n),headers:{},payload:n}).then((t=>Gv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Jv=Bo(Gv);function Qv(e,t){return kn(fn(t))}function Yv(e,t){return Sv(kn(fn(t)),function(e){return{delete:function(){return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Zv(e,t){return Sv(kn(fn(t)),function(e){return{delete:function(){return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function eh(e,t){return Sv(kn(fn(t)),function(e){return{delete:function(){return e({entityType:"AppKey",action:"delete",params:(t=this,{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,fingerprint:t.sys.id})});var t}}}(e))}const th=Bo(eh);function nh(e,t){return Sn(kn(fn(t)))}function ih(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appUploadId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"delete",params:t(n)})}}}(e));return Sn(n)}const ah=Bo(ih),rh=e=>!!e.sys.publishedVersion,oh=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),sh=e=>!e.sys.publishedVersion,ch=e=>!!e.sys.archivedVersion;function ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function lh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ph(Object(n),!0).forEach((function(t){uh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ph(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dh(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,assetId:e.sys.id});return{processForLocale:function(n,i){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForLocale",params:lh(lh({},t(a)),{},{locale:n,options:i,asset:a})}).then((t=>dh(e,t)))},processForAllLocales:function(n){const i=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:lh(lh({},t(i)),{},{asset:i,options:n})}).then((t=>dh(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>dh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"delete",params:t(n)})},publish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"publish",params:t(n),payload:n}).then((t=>dh(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>dh(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>dh(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>dh(e,t)))},isPublished:function(){const e=this.toPlainObject();return rh(e)},isUpdated:function(){const e=this.toPlainObject();return oh(e)},isDraft:function(){const e=this.toPlainObject();return sh(e)},isArchived:function(){const e=this.toPlainObject();return ch(e)}}}(e));return Sn(n)}const mh=Bo(dh),fh=No(dh);function yh(e,t){return kn(fn(t))}function vh(e){return new Promise((t=>setTimeout(t,e)))}const hh=30,bh=1e3,gh=2e3;class xh extends Error{constructor(e,t){var n,i,a;super(e),n=this,a=void 0,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="action"))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,this.action=t,this.name=this.constructor.name}}class wh extends xh{}async function Oh(e,t){var n,i,a,r,o;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:hh,u=null!==(i=null==t?void 0:t.retryIntervalMs)&&void 0!==i?i:gh,d=null!==(a=null==t?void 0:t.initialDelayMs)&&void 0!==a?a:bh,m=null===(r=null==t?void 0:t.throwOnFailedExecution)||void 0===r||r;for(await vh(d);c<l&&!p;){if(s=await e(),s&&["succeeded","failed"].includes(s.sys.status)){if(p=!0,"failed"===s.sys.status&&m)throw new wh(`${s.sys.type} failed to execute.`,s);return s}await vh(u),c+=1}throw new xh(`${null===(o=s)||void 0===o?void 0:o.sys.type} didn't finish processing within the expected timeframe.`,s)}let jh=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function Ih(e,t){const n=Sv(kn(fn(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,bulkActionId:e.sys.id}})();return e({entityType:"BulkAction",action:"get",params:t}).then((t=>Ih(e,t)))},async waitProcessing(e){return Oh((async()=>this.get()),e)}}}(e));return Sn(n)}function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Th(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(n),!0).forEach((function(t){Ah(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ah(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.values(jh);let Sh=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function Eh(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,commentId:e.sys.id});return{update:async function(){const n=this.toPlainObject(),i=await e({entityType:"Comment",action:"update",params:t(n),payload:n});return kh(e,i)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:Th(Th({},t(n)),{},{version:n.sys.version})})}}}function kh(e,t){return Sn(Sv(kn(fn(t)),Eh(e)))}const Ch=Bo(kh);function Rh(e,t){const n=Sv(kn(fn(t)),function(e){return{update:function(){const t=this,n=t.toPlainObject();return e({entityType:"EditorInterface",action:"update",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.contentType.sys.id},payload:n}).then((t=>Rh(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return Sn(n)}const Dh=Bo(Rh);function _h(e,t){return Sn(Sv(kn(fn(t)),{}))}const $h=Bo(_h),zh=["fieldId"],Mh=function(e,t,n){const i=e.fields.find((e=>e.id===t));return i?(i[n]=!0,Promise.resolve(e)):Promise.reject(new Error(`Tried to omitAndDeleteField on a nonexistent field, ${t}, on the content type ${e.name}.`))},Fh=(e,t,n)=>{let{fieldId:i}=t,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,zh);return Mh(n,i,"omitted").then((t=>e({entityType:"ContentType",action:"update",params:a,payload:t}))).then((t=>e({entityType:"ContentType",action:"publish",params:a,payload:t}))).then((e=>Mh(e,i,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:a,payload:t})))};function qh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Uh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qh(Object(n),!0).forEach((function(t){Lh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bh(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>{const t=e.toPlainObject();return{raw:t,params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.id}}};return{update:function(){const{raw:n,params:i}=t(this);return e({entityType:"ContentType",action:"update",params:i,payload:n}).then((t=>Bh(e,t)))},delete:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"delete",params:n}).then((()=>{}))},publish:function(){const{raw:n,params:i}=t(this);return e({entityType:"ContentType",action:"publish",params:i,payload:n}).then((t=>Bh(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>Bh(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>Rh(e,t)))},getSnapshots:function(n={}){const{params:i}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:Uh(Uh({},i),{},{query:n})}).then((t=>$h(e,t)))},getSnapshot:function(n){const{params:i}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:Uh(Uh({},i),{},{snapshotId:n})}).then((e=>_h(0,e)))},isPublished:function(){return rh(this)},isUpdated:function(){return oh(this)},isDraft:function(){return sh(this)},omitAndDeleteField:function(n){const{raw:i,params:a}=t(this);return Fh(e,Uh(Uh({},a),{},{fieldId:n}),i).then((t=>Bh(e,t)))}}}(e));return Sn(n)}const Nh=Bo(Bh),Wh=No(Bh);function Vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Kh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(n),!0).forEach((function(t){Hh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh(e,t){const n=Sv(kn(fn(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=rx.entry,{wrapSnapshot:i,wrapSnapshotCollection:a}=rx.snapshot,{wrapTask:r,wrapTaskCollection:o}=rx.task,{wrapComment:s,wrapCommentCollection:c}=rx.comment,p=e=>{const t=e.toPlainObject();return{params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,entryId:t.sys.id},raw:t}};return{update:function(){const{raw:n,params:i}=p(this);return e({entityType:"Entry",action:"update",params:i,payload:n}).then((n=>t(e,n)))},patch:function(n){const{raw:i,params:a}=p(this);return e({entityType:"Entry",action:"patch",params:Kh(Kh({},a),{},{version:i.sys.version}),payload:n}).then((n=>t(e,n)))},delete:function(){const{params:t}=p(this);return e({entityType:"Entry",action:"delete",params:t})},publish:function(){const{raw:n,params:i}=p(this);return e({entityType:"Entry",action:"publish",params:i,payload:n}).then((n=>t(e,n)))},unpublish:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unpublish",params:n}).then((n=>t(e,n)))},archive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"archive",params:n}).then((n=>t(e,n)))},unarchive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unarchive",params:n}).then((n=>t(e,n)))},getSnapshots:function(t={}){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getManyForEntry",params:Kh(Kh({},n),{},{query:t})}).then((t=>a(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:Kh(Kh({},n),{},{snapshotId:t})}).then((t=>i(e,t)))},createComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"create",params:{spaceId:n.spaceId,environmentId:n.environmentId,parentEntityId:n.entryId,parentEntityType:"Entry"},payload:t}).then((t=>s(e,t)))},getComments:function(){const{params:t}=p(this);return e({entityType:"Comment",action:"getMany",params:t}).then((t=>c(e,t)))},getComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"get",params:Kh(Kh({},n),{},{commentId:t})}).then((t=>s(e,t)))},createTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"create",params:n,payload:t}).then((t=>r(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:Kh(Kh({},n),{},{query:t})}).then((t=>o(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:Kh(Kh({},n),{},{taskId:t})}).then((t=>r(e,t)))},isPublished:function(){const e=this.toPlainObject();return rh(e)},isUpdated:function(){const e=this.toPlainObject();return oh(e)},isDraft:function(){const e=this.toPlainObject();return sh(e)},isArchived:function(){const e=this.toPlainObject();return ch(e)},references:function(t){const i=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.environment.sys.id,entryId:i.sys.id,include:null==t?void 0:t.include}}).then((t=>n(e,t)))}}}(e));return Sn(n)}const Gh=Bo(Xh),Jh=No(Xh);function Qh(e,t){const n=Sv(kn(fn(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,releaseId:e.sys.release.sys.id,actionId:e.sys.id}})();return e({entityType:"ReleaseAction",action:"get",params:t}).then((t=>Qh(e,t)))},async waitProcessing(e){return Oh((async()=>this.get()),e)}}}(e));return Sn(n)}const Yh=Bo(Qh);let Zh=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const eb=Zh;function tb(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>{const t=e.toPlainObject();return{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,releaseId:t.sys.id,version:t.sys.version}};return{async archive(){const n=t(this);return e({entityType:"Release",action:"archive",params:n}).then((t=>tb(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>tb(e,t)))},async update(n){const i=t(this);return e({entityType:"Release",action:"update",params:i,payload:n}).then((t=>tb(e,t)))},async delete(){const n=t(this);await e({entityType:"Release",action:"delete",params:n})},async publish(n){const i=t(this);return e({entityType:"Release",action:"publish",params:i}).then((t=>Qh(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const i=t(this);return e({entityType:"Release",action:"unpublish",params:i}).then((t=>Qh(e,t))).then((e=>e.waitProcessing(n)))},async validate(n){const i=t(this);return e({entityType:"Release",action:"validate",params:i,payload:null==n?void 0:n.payload}).then((t=>Qh(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return Sn(n)}const nb=No(tb);function ib(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ab(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ib(Object(n),!0).forEach((function(t){rb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ib(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ob(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,tagId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"update",params:t(n),payload:n}).then((t=>sb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:ab(ab({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function sb(e,t){return Sn(Sv(kn(fn(t)),ob(e)))}const cb=Bo(sb);function pb(e,t){const n=Sv(kn(fn(t)),function(e){const{wrapUIConfig:t}=rx.uiConfig;return{update:async function(){const{raw:n,params:i}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),a=await e({entityType:"UIConfig",action:"update",params:i,payload:n});return t(e,a)}}}(e));return Sn(n)}function lb(e,t){const n=Sv(kn(fn(t)),function(e){const{wrapUserUIConfig:t}=rx.userUIConfig;return{update:async function(){const{raw:n,params:i}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),a=await e({entityType:"UserUIConfig",action:"update",params:i,payload:n});return t(e,a)}}}(e));return Sn(n)}function ub(e,t){return Sn(kn(fn(t)))}const db=No(ub);function mb(e,t){const n=Sv(kn(fn(t)),function(e){return{getFunction:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,functionId:t.sys.id}}).then((t=>mb(e,t)))},getManyFunctions:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{appDefinitionId:t.sys.appDefinition.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>fb(e,t)))},getManyFunctionsForEnvironment:(t,n,i)=>e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:t,environmentId:n,appInstallationId:i}}).then((t=>fb(e,t)))}}(e));return Sn(n)}const fb=Bo(mb);function yb(e,t){return Sn(kn(fn(t)))}const vb=Bo(yb),hb=["installationId"];function bb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function gb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bb(Object(n),!0).forEach((function(t){xb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wb(e,t){return Sn(Sv(kn(fn(t)),function(e){const{wrapEnvironment:t}=rx.environment,{wrapContentType:n,wrapContentTypeCollection:i,wrapContentTypeCursorPaginatedCollection:a}=rx.contentType,{wrapEntry:r,wrapEntryCollection:o,wrapEntryTypeCursorPaginatedCollection:s}=rx.entry,{wrapAsset:c,wrapAssetCollection:p,wrapAssetTypeCursorPaginatedCollection:l}=rx.asset,{wrapAssetKey:u}=rx.assetKey,{wrapLocale:d,wrapLocaleCollection:m}=rx.locale,{wrapSnapshotCollection:f}=rx.snapshot,{wrapEditorInterface:y,wrapEditorInterfaceCollection:v}=rx.editorInterface,{wrapUpload:h}=rx.upload,{wrapExtension:b,wrapExtensionCollection:g}=rx.extension,{wrapAppInstallation:x,wrapAppInstallationCollection:w}=rx.appInstallation,{wrapAppSignedRequest:O}=rx.appSignedRequest,{wrapAppActionCall:j}=rx.appActionCall,{wrapBulkAction:I}=rx.bulkAction,{wrapAppAccessToken:P}=rx.appAccessToken,{wrapResourceTypesForEnvironmentCollection:T}=rx.resourceType,{wrapResourceCollection:A}=rx.resource,{wrapSemanticDuplicates:S}=rx.semanticDuplicates,{wrapSemanticRecommendations:E}=rx.semanticRecommendations,{wrapSemanticReferenceSuggestions:k}=rx.semanticReferenceSuggestions,{wrapSemanticSearch:C}=rx.semanticSearch;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Environment",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((()=>{}))},update:function(){const n=this.toPlainObject();return e({entityType:"Environment",action:"update",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:n}).then((n=>t(e,n)))},getEntryFromData:t=>r(e,t),getAssetFromData:t=>c(e,t),getBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,bulkActionId:t}}).then((t=>I(e,t)))},createPublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"publish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},createValidateBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"validate",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},createUnpublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"unpublish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>I(e,t)))},getContentType(t){const i=this.toPlainObject();return e({entityType:"ContentType",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t}}).then((t=>n(e,t)))},getContentTypes(t={}){const n=this.toPlainObject();return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>i(e,t)))},getContentTypesWithCursor(t={}){const n=this.toPlainObject(),i=Ko(t);return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:i}).params}}).then((t=>a(e,Jo(t))))},createContentType(t){const i=this.toPlainObject();return e({entityType:"ContentType",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id},payload:t}).then((t=>n(e,t)))},createContentTypeWithId(t,i){const a=this.toPlainObject();return e({entityType:"ContentType",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t},payload:i}).then((t=>n(e,t)))},getEditorInterfaceForContentType(t){const n=this.toPlainObject();return e({entityType:"EditorInterface",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,contentTypeId:t}}).then((t=>y(e,t)))},getEditorInterfaces(){const t=this.toPlainObject();return e({entityType:"EditorInterface",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>v(e,t)))},getEntry(t,n={}){const i=this.toPlainObject();return e({entityType:"Entry",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,query:Tn({query:n}).params}}).then((t=>r(e,t)))},deleteEntry(t){const n=this.toPlainObject();return e({entityType:"Entry",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,entryId:t}}).then((()=>{}))},getEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>o(e,t)))},getEntriesWithCursor(t={}){const n=this.toPlainObject(),i=Ko(t);return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:i}).params}}).then((t=>s(e,Jo(t))))},getPublishedEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>o(e,t)))},getPublishedEntriesWithCursor(t={}){const n=this.toPlainObject(),i=Ko(t);return e({entityType:"Entry",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:i}).params}}).then((t=>s(e,Jo(t))))},createEntry(t,n){const i=this.toPlainObject();return e({entityType:"Entry",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t},payload:n}).then((t=>r(e,t)))},createEntryWithId(t,n,i){const a=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:n,contentTypeId:t},payload:i}).then((t=>r(e,t)))},getEntryReferences(t,n){const i=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,include:null==n?void 0:n.include}}).then((t=>o(e,t)))},getAsset(t,n={}){const i=this.toPlainObject();return e({entityType:"Asset",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,assetId:t,query:Tn({query:n}).params}}).then((t=>c(e,t)))},getAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>p(e,t)))},getAssetsWithCursor(t={}){const n=this.toPlainObject(),i=Ko(t);return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:i}).params}}).then((t=>l(e,Jo(t))))},getPublishedAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>p(e,t)))},getPublishedAssetsWithCursor(t={}){const n=this.toPlainObject(),i=Ko(t);return e({entityType:"Asset",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:i}).params}}).then((t=>l(e,Jo(t))))},createAsset(t){const n=this.toPlainObject();return e({entityType:"Asset",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>c(e,t)))},createAssetWithId(t,n){const i=this.toPlainObject();return e({entityType:"Asset",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,assetId:t},payload:n}).then((t=>c(e,t)))},createAssetFromFiles(t,n){const i=this.toPlainObject();return e({entityType:"Asset",action:"createFromFiles",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,uploadTimeout:null==n?void 0:n.uploadTimeout},payload:t}).then((t=>c(e,t)))},createAssetKey(t){const n=this.toPlainObject();return e({entityType:"AssetKey",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>u(e,t)))},getUpload(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,uploadId:t}}).then((t=>h(e,t)))},createUpload:function(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>h(e,t)))},getLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,localeId:t}}).then((t=>d(e,t)))},getLocales(t={}){const n=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>m(e,t)))},createLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>d(e,t)))},getUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,extensionId:t}}).then((t=>b(e,t)))},getUiExtensions(){const t=this.toPlainObject();return e({entityType:"Extension",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>g(e,t)))},createUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>b(e,t)))},createUiExtensionWithId(t,n){const i=this.toPlainObject();return e({entityType:"Extension",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,extensionId:t},payload:n}).then((t=>b(e,t)))},createAppInstallation(t,n,{acceptAllTerms:i}={}){const a=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,acceptAllTerms:i},payload:n}).then((t=>x(e,t)))},getAppInstallation(t){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,appDefinitionId:t}}).then((t=>x(e,t)))},getAppInstallations(){const t=this.toPlainObject();return e({entityType:"AppInstallation",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>w(e,t)))},createAppActionCall(t,n,i){const a=this.toPlainObject();return e({entityType:"AppActionCall",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,appActionId:n},payload:i}).then((t=>j(e,t)))},getAppActionCallResponse(t,n,i){const a=this.toPlainObject();return e({entityType:"AppActionCall",action:"getResponse",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t,appActionId:n,callId:i}})},createAppSignedRequest(t,n){const i=this.toPlainObject();return e({entityType:"AppSignedRequest",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},createAppAccessToken(t,n){const i=this.toPlainObject();return e({entityType:"AppAccessToken",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>P(e,t)))},getFunctionsForEnvironment(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,query:n}}).then((t=>fb(e,t)))},getFunctionLogs(t,n,i){const a=this.toPlainObject();return e({entityType:"FunctionLog",action:"getMany",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,functionId:n,query:i?Tn({query:i}).params:void 0}}).then((t=>vb(e,t)))},getFunctionLog(t,n,i){const a=this.toPlainObject();return e({entityType:"FunctionLog",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,functionId:n,logId:i}}).then((e=>yb(0,e)))},getEntrySnapshots(t,n={}){const i=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForEntry",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,entryId:t,query:n}}).then((t=>f(e,t)))},getContentTypeSnapshots(t,n={}){const i=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForContentType",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t,query:n}}).then((t=>f(e,t)))},createTag(t,n,i){const a=this.toPlainObject();return e({entityType:"Tag",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,tagId:t},payload:{name:n,sys:{visibility:null!=i?i:"private"}}}).then((t=>sb(e,t)))},getTags(t={}){const n=this.toPlainObject();return e({entityType:"Tag",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:Tn({query:t}).params}}).then((t=>cb(e,t)))},getTag(t){const n=this.toPlainObject();return e({entityType:"Tag",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,tagId:t}}).then((t=>sb(e,t)))},getRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}}).then((t=>tb(e,t)))},getReleases(t){const n=this.toPlainObject();return e({entityType:"Release",action:"query",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>nb(e,t)))},createRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>tb(e,t)))},updateRelease({releaseId:t,payload:n,version:i}){const a=this.toPlainObject();return e({entityType:"Release",action:"update",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:i},payload:n}).then((t=>tb(e,t)))},deleteRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}})},publishRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"publish",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>Qh(e,t)))},unpublishRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"unpublish",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>Qh(e,t)))},validateRelease({releaseId:t,payload:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"validate",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t},payload:n}).then((t=>Qh(e,t)))},archiveRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"archive",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>tb(e,t)))},unarchiveRelease({releaseId:t,version:n}){const i=this.toPlainObject();return e({entityType:"Release",action:"unarchive",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:n}}).then((t=>tb(e,t)))},getReleaseAction({actionId:t,releaseId:n}){const i=this.toPlainObject();return e({entityType:"ReleaseAction",action:"get",params:{actionId:t,spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:n}}).then((t=>Qh(e,t)))},getReleaseActions({query:t}){const n=this.toPlainObject();return e({entityType:"ReleaseAction",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>Yh(e,t)))},async getUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return pb(e,n)},async getUserUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UserUIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return lb(e,n)},async getEnvironmentTemplateInstallations(t,n={}){let{installationId:i}=n,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,hb);const r=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:gb(gb({environmentTemplateId:t},i&&{installationId:i}),{},{query:gb({},Tn({query:a}).params),spaceId:r.sys.space.sys.id,environmentId:r.sys.id})}).then((t=>db(e,t)))},async getResourceTypes(t){const n=this.toPlainObject();return e({entityType:"ResourceType",action:"getForEnvironment",params:{query:t,spaceId:n.sys.space.sys.id,environmentId:n.sys.id}}).then((t=>T(e,t)))},async getResourcesForResourceType(t,n){const i=this.toPlainObject();return e({entityType:"Resource",action:"getMany",params:{query:n,spaceId:i.sys.space.sys.id,environmentId:i.sys.id,resourceTypeId:t}}).then((t=>A(e,t)))},invokeAiAction(t,n){const i=this.toPlainObject();return e({entityType:"AiAction",action:"invoke",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,aiActionId:t},payload:n}).then((e=>kv(0,e)))},getAiActionInvocation({aiActionId:t,invocationId:n}){const i=this.toPlainObject();return e({entityType:"AiActionInvocation",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,aiActionId:t,invocationId:n}}).then((e=>kv(0,e)))},getSemanticDuplicates(t){const n=this.toPlainObject();return e({entityType:"SemanticDuplicates",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>S(e,t)))},getSemanticRecommendations(t){const n=this.toPlainObject();return e({entityType:"SemanticRecommendations",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>E(e,t)))},getSemanticReferenceSuggestions(t){const n=this.toPlainObject();return e({entityType:"SemanticReferenceSuggestions",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>k(e,t)))},getSemanticSearch(t){const n=this.toPlainObject();return e({entityType:"SemanticSearch",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>C(e,t)))}}}(e)))}const Ob=Bo(wb);function jb(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentAliasId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"update",params:t(n),payload:n}).then((t=>jb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return Sn(n)}const Ib=Bo(jb),Pb=["spaceId","environmentId","latestOnly"];function Tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ab(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tb(Object(n),!0).forEach((function(t){Sb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eb(e,t,n){return Sn(Sv(kn(fn(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:i}=rx.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:a}=rx.environmentTemplateInstallation;return{update:function(){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"update",params:{organizationId:t,environmentTemplateId:i.sys.id},payload:i}).then((i=>n(e,i,t)))},updateVersion:function({versionName:i,versionDescription:a}){const r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:r.sys.id,version:r.sys.version},payload:{versionName:i,versionDescription:a}}).then((i=>n(e,i,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"delete",params:{organizationId:t,environmentTemplateId:n.sys.id}})},getVersions:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versions",params:{organizationId:t,environmentTemplateId:n.sys.id}}).then((n=>i(e,n,t)))},getInstallations:function(n={}){let{spaceId:i,environmentId:r,latestOnly:o}=n,s=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,Pb);const c=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:c.sys.id,query:Ab({},Tn({query:s}).params),spaceId:i,environmentId:r,latestOnly:o}}).then((t=>a(e,t)))},validate:function({spaceId:t,environmentId:n,version:i,takeover:a,changeSet:r}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:i,environmentId:n,environmentTemplateId:o.sys.id},payload:Ab(Ab({},a&&{takeover:a}),r&&{changeSet:r})})},install:function({spaceId:t,environmentId:n,installation:i}){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"install",params:{spaceId:t,environmentId:n,environmentTemplateId:a.sys.id},payload:i})},disconnect:function({spaceId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"disconnect",params:{spaceId:t,environmentId:n,environmentTemplateId:i.sys.id}})}}}(e,n)))}const kb=No(Eb);function Cb(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,extensionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"update",params:t(n),payload:n}).then((t=>Cb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Rb=Bo(Cb);function Db(e,t){delete t.internal_code;const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,localeId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"update",params:t(n),payload:n}).then((t=>Db(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return Sn(n)}const _b=Bo(Db);let $b=function(e){return e.Read="content_management_read",e.Manage="content_management_manage",e}({});function zb(e,t,n){const i=Sv(kn(fn(t)),function(e,t){const n=e=>({userId:t,oauthApplicationId:e.sys.id});return{async update(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"update",params:n(t),payload:t})},async delete(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"delete",params:n(t)})}}}(e,n));return Sn(i)}const Mb=No(zb);function Fb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function qb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fb(Object(n),!0).forEach((function(t){Ub(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ub(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lb(e,t){const n=kn(fn(t)),i=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=rx.appDefinition,{wrapUser:i,wrapUserCollection:a}=rx.user,{wrapOrganizationMembership:r,wrapOrganizationMembershipCollection:o}=rx.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=rx.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=rx.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=rx.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=rx.spaceMembership,{wrapOrganizationInvitation:y}=rx.organizationInvitation,{wrapAppUpload:v}=rx.appUpload,{wrapAppSigningSecret:h}=rx.appSigningSecret,{wrapAppEventSubscription:b}=rx.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=rx.appKey,{wrapAppDetails:w}=rx.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=rx.appAction,{wrapFunction:I,wrapFunctionCollection:P}=rx.func,{wrapRoleCollection:T}=rx.role,{wrapSpaceCollection:A}=rx.space,{wrapVectorizationStatus:S}=rx.vectorizationStatus;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:Tn({query:t}).params}}).then((t=>A(e,t)))},getUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForOrganization",params:{organizationId:n.sys.id,userId:t}}).then((t=>i(e,t)))},getUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:Tn({query:t}).params}}).then((t=>a(e,t)))},getOrganizationMembership(t){const n=this.toPlainObject().sys.id;return e({entityType:"OrganizationMembership",action:"get",params:{organizationId:n,organizationMembershipId:t}}).then((t=>r(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:qb({organizationId:n.sys.id},t)}).then((t=>o(e,t,n.sys.id)))},createTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>u(e,t)))},getTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"get",params:{organizationId:n.sys.id,teamId:t}}).then((t=>u(e,t)))},getTeams(t={}){const n=this.toPlainObject();return e({entityType:"Team",action:"getMany",params:{organizationId:n.sys.id,query:Tn({query:t}).params}}).then((t=>d(e,t)))},createTeamMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamMembership",action:"create",params:{organizationId:i.sys.id,teamId:t},payload:n}).then((t=>s(e,t)))},getTeamMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamMembership",action:"get",params:{organizationId:i.sys.id,teamId:t,teamMembershipId:n}}).then((t=>s(e,t)))},getTeamMemberships(t={}){const{teamId:n,query:i={}}=t,a=this.toPlainObject();return n?e({entityType:"TeamMembership",action:"getManyForTeam",params:{organizationId:a.sys.id,teamId:n,query:Tn({query:i}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:a.sys.id,query:Tn({query:i}).params}}).then((t=>c(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:Tn({query:t.query||{}}).params,teamId:t.teamId}}).then((t=>l(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>p(e,t)))},getOrganizationSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,spaceMembershipId:t}}).then((t=>m(e,t)))},getOrganizationSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:Tn({query:t}).params}}).then((t=>f(e,t)))},getOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"get",params:{organizationId:n.sys.id,invitationId:t}}).then((t=>y(e,t)))},createOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>y(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:Tn({query:t}).params}}).then((t=>T(e,t)))},createAppDefinition(n){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"create",params:{organizationId:i.sys.id},payload:n}).then((n=>t(e,n)))},getAppDefinitions(t={}){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"getMany",params:{organizationId:i.sys.id,query:t}}).then((t=>n(e,t)))},getAppDefinition(n){const i=this.toPlainObject();return e({entityType:"AppDefinition",action:"get",params:{organizationId:i.sys.id,appDefinitionId:n}}).then((n=>t(e,n)))},getAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"get",params:{organizationId:n.sys.id,appUploadId:t}}).then((t=>v(e,t)))},createAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"create",params:{organizationId:n.sys.id},payload:{file:t}}).then((t=>v(e,t)))},upsertAppSigningSecret(t,n){const i=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>h(e,t)))},getAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>h(e,t)))},deleteAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},upsertAppEventSubscription(t,n){const i=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>b(e,t)))},getAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},deleteAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"create",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},getAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,fingerprint:n}}).then((t=>g(e,t)))},getAppKeys(t,n={}){const i=this.toPlainObject();return e({entityType:"AppKey",action:"getMany",params:{organizationId:i.sys.id,appDefinitionId:t,query:Tn({query:n}).params}}).then((t=>x(e,t)))},deleteAppKey(t,n){const i=this.toPlainObject();return e({entityType:"AppKey",action:"delete",params:{organizationId:i.sys.id,appDefinitionId:t,fingerprint:n}}).then((()=>{}))},upsertAppDetails(t,n){const i=this.toPlainObject();return e({entityType:"AppDetails",action:"upsert",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>w(e,t)))},getAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>w(e,t)))},deleteAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"create",params:{organizationId:i.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},updateAppAction(t,n,i){const a=this.toPlainObject();return e({entityType:"AppAction",action:"update",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n},payload:i}).then((t=>O(e,t)))},deleteAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n}}).then((()=>{}))},getAppAction(t,n){const i=this.toPlainObject();return e({entityType:"AppAction",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n}}).then((t=>O(e,t)))},getAppActions(t){const n=this.toPlainObject();return e({entityType:"AppAction",action:"getMany",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>j(e,t)))},getFunction(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:i.sys.id,appDefinitionId:t,functionId:n}}).then((t=>I(e,t)))},getFunctions(t,n){const i=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{organizationId:i.sys.id,appDefinitionId:t,query:n}}).then((t=>P(e,t)))},getVectorizationStatus(){const t=this.toPlainObject().sys.id;return e({entityType:"VectorizationStatus",action:"get",params:{organizationId:t}}).then((t=>S(e,t)))},updateVectorizationStatus(t){const n=this.toPlainObject().sys.id;return e({entityType:"VectorizationStatus",action:"update",params:{organizationId:n},payload:t}).then((t=>S(e,t)))}}}(e);return Sn(Sv(n,i))}const Bb=Bo(Lb);function Nb(e,t){return Sn(kn(fn(t)))}function Wb(e,t,n){const i=Sv(kn(fn(t)),function(e,t){const n=e=>({organizationMembershipId:e.sys.id,organizationId:t});return{update:function(){const i=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"update",params:n(i),payload:i}).then((n=>Wb(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return Sn(i)}const Vb=Bo(Wb);function Kb(e,t){return Sn(Sv(kn(fn(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>Kb(e,t)))}}))}const Hb=Bo(Kb);function Xb(e,t){return Sn(Sv(kn(fn(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>Xb(e,t)))}}))}const Gb=Bo(Xb);function Jb(e,t){return Sn(Sv(kn(fn(t)),{}))}const Qb=Bo(Jb);function Yb(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,roleId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"update",params:t(n),payload:n}).then((t=>Yb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Zb=Bo(Yb),eg=["sys"];let tg=function(e){return e.scheduled="scheduled",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e.canceled="canceled",e}({});function ng(e){const t=e=>{var t;const n=e.toPlainObject();return{spaceId:n.sys.space.sys.id,environmentId:null===(t=n.environment)||void 0===t?void 0:t.sys.id,scheduledActionId:n.sys.id,version:n.sys.version}};return{async delete(){const n=t(this);return e({entityType:"ScheduledAction",action:"delete",params:n}).then((t=>ig(e,t)))},async update(){const n=t(this),i=this.toPlainObject(),{sys:a}=i,r=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(i,eg);return e({entityType:"ScheduledAction",action:"update",params:n,payload:r}).then((t=>ig(e,t)))}}}function ig(e,t){return Sn(Sv(kn(fn(t)),ng(e)))}const ag=Bo(ig);function rg(e,t){return Sn(kn(fn(t)))}function og(e,t){return Sn(kn(fn(t)))}function sg(e,t){return Sn(kn(fn(t)))}function cg(e,t){return Sn(kn(fn(t)))}function pg(e,t){const n=kn(fn(t)),i=function(e){const{wrapSpace:t}=rx.space,{wrapEnvironment:n,wrapEnvironmentCollection:i}=rx.environment,{wrapWebhook:a,wrapWebhookCollection:r}=rx.webhook,{wrapRole:o,wrapRoleCollection:s}=rx.role,{wrapUser:c,wrapUserCollection:p}=rx.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=rx.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=rx.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=rx.teamSpaceMembership,{wrapTeamCollection:v}=rx.team,{wrapApiKey:h,wrapApiKeyCollection:b}=rx.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=rx.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=rx.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=rx.scheduledAction,{wrapAiAction:P,wrapAiActionCollection:T}=rx.aiAction,{wrapAiActionInvocation:A,wrapAiActionInvocationCollection:S}=rx.aiActionInvocation;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Space",action:"delete",params:{spaceId:t.sys.id}})},update:function(){const n=this.toPlainObject();return e({entityType:"Space",action:"update",params:{spaceId:n.sys.id},payload:n,headers:{}}).then((n=>t(e,n)))},getEnvironment(t){const i=this.toPlainObject();return e({entityType:"Environment",action:"get",params:{spaceId:i.sys.id,environmentId:t}}).then((t=>n(e,t)))},getEnvironments(t={}){const n=this.toPlainObject();return e({entityType:"Environment",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>i(e,t)))},createEnvironment(t={}){const i=this.toPlainObject();return e({entityType:"Environment",action:"create",params:{spaceId:i.sys.id},payload:t}).then((t=>n(e,t)))},createEnvironmentWithId(t,i,a){const r=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:r.sys.id,environmentId:t,sourceEnvironmentId:a},payload:i}).then((t=>n(e,t)))},getWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"get",params:{spaceId:n.sys.id,webhookDefinitionId:t}}).then((t=>a(e,t)))},getWebhooks(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>r(e,t)))},getWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getSigningSecret",params:{spaceId:t.sys.id}})},getWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getRetryPolicy",params:{spaceId:t.sys.id}})},createWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>a(e,t)))},createWebhookWithId(t,n){const i=this.toPlainObject();return e({entityType:"Webhook",action:"createWithId",params:{spaceId:i.sys.id,webhookDefinitionId:t},payload:n}).then((t=>a(e,t)))},upsertWebhookSigningSecret:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertSigningSecret",params:{spaceId:n.sys.id},payload:t})},upsertWebhookRetryPolicy:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertRetryPolicy",params:{spaceId:n.sys.id},payload:t})},deleteWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteSigningSecret",params:{spaceId:t.sys.id}})},deleteWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteRetryPolicy",params:{spaceId:t.sys.id}})},getRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"get",params:{spaceId:n.sys.id,roleId:t}}).then((t=>o(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>s(e,t)))},createRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>o(e,t)))},createRoleWithId(t,n){const i=this.toPlainObject();return e({entityType:"Role",action:"createWithId",params:{spaceId:i.sys.id,roleId:t},payload:n}).then((t=>o(e,t)))},getSpaceUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForSpace",params:{spaceId:n.sys.id,userId:t}}).then((t=>c(e,t)))},getSpaceUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForSpace",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>p(e,t)))},getTeams(t={limit:100}){const n=this.toPlainObject();return e({entityType:"Team",action:"getManyForSpace",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>v(e,t)))},getSpaceMember(t){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"get",params:{spaceId:n.sys.id,spaceMemberId:t}}).then((t=>l(e,t)))},getSpaceMembers(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"getMany",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>u(e,t)))},getSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"get",params:{spaceId:n.sys.id,spaceMembershipId:t}}).then((t=>d(e,t)))},getSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>m(e,t)))},createSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>d(e,t)))},createSpaceMembershipWithId(t,n){const i=this.toPlainObject();return e({entityType:"SpaceMembership",action:"createWithId",params:{spaceId:i.sys.id,spaceMembershipId:t},payload:n}).then((t=>d(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"get",params:{spaceId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>f(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:Tn({query:t}).params}}).then((t=>y(e,t)))},createTeamSpaceMembership(t,n){const i=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"create",params:{spaceId:i.sys.id,teamId:t},payload:n}).then((t=>f(e,t)))},getApiKey(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"get",params:{spaceId:n.sys.id,apiKeyId:t}}).then((t=>h(e,t)))},getApiKeys(){const t=this.toPlainObject();return e({entityType:"ApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>b(e,t)))},getPreviewApiKeys(){const t=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>O(e,t)))},getPreviewApiKey(t){const n=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"get",params:{spaceId:n.sys.id,previewApiKeyId:t}}).then((t=>w(e,t)))},createApiKey:function(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>h(e,t)))},createApiKeyWithId(t,n){const i=this.toPlainObject();return e({entityType:"ApiKey",action:"createWithId",params:{spaceId:i.sys.id,apiKeyId:t},payload:n}).then((t=>h(e,t)))},createEnvironmentAliasWithId(t,n){const i=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"createWithId",params:{spaceId:i.sys.id,environmentAliasId:t},payload:n}).then((t=>g(e,t)))},getEnvironmentAlias(t){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"get",params:{spaceId:n.sys.id,environmentAliasId:t}}).then((t=>g(e,t)))},getEnvironmentAliases(){const t=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>x(e,t)))},getScheduledActions(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>I(e,t)))},getScheduledAction({scheduledActionId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"get",params:{spaceId:i.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},createScheduledAction(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>j(e,t)))},updateScheduledAction({scheduledActionId:t,payload:n,version:i}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"update",params:{spaceId:a.sys.id,version:i,scheduledActionId:t},payload:n}).then((t=>j(e,t)))},deleteScheduledAction({scheduledActionId:t,environmentId:n}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"delete",params:{spaceId:i.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},getAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"get",params:{spaceId:n.sys.id,aiActionId:t}}).then((t=>P(e,t)))},getAiActions(t={}){const n=this.toPlainObject();return e({entityType:"AiAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>T(e,t)))},createAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>P(e,t)))},updateAiAction(t,n){var i;const a=this.toPlainObject();return e({entityType:"AiAction",action:"update",params:{spaceId:a.sys.id,aiActionId:t},payload:n,headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}}).then((t=>P(e,t)))},publishAiAction(t,{version:n}){const i=this.toPlainObject();return e({entityType:"AiAction",action:"publish",params:{spaceId:i.sys.id,aiActionId:t,version:n}}).then((t=>P(e,t)))},unpublishAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"unpublish",params:{spaceId:n.sys.id,aiActionId:t}}).then((t=>P(e,t)))},deleteAiAction(t){const n=this.toPlainObject();return e({entityType:"AiAction",action:"delete",params:{spaceId:n.sys.id,aiActionId:t}})}}}(e);return Sn(Sv(n,i))}const lg=Bo(pg);function ug(e,t){return Sn(kn(fn(t)))}const dg=Bo(ug);function mg(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,spaceMembershipId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"update",params:t(n),payload:n}).then((t=>mg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return Sn(n)}const fg=Bo(mg);function yg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yg(Object(n),!0).forEach((function(t){hg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bg(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,taskId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"update",params:t(n),payload:n}).then((t=>gg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:vg(vg({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function gg(e,t){return Sn(Sv(kn(fn(t)),bg(e)))}const xg=Bo(gg);function wg(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({teamId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"update",params:t(n),payload:n}).then((t=>wg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Og=Bo(wg);function jg(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({teamMembershipId:e.sys.id,teamId:e.sys.team.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"update",params:t(n),payload:n}).then((t=>jg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Ig=Bo(jg);function Pg(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({teamSpaceMembershipId:e.sys.id,spaceId:e.sys.space.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Pg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return Sn(n)}const Tg=Bo(Pg);function Ag(e,t){const n=Sv(kn(fn(t)),function(e){return{delete:async function(){const t=this.toPlainObject();await e({entityType:"Upload",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id,uploadId:t.sys.id}})}}}(e));return Sn(n)}function Sg(e,t){return Sn(Sv(kn(fn(t)),{}))}const Eg=Bo(Sg);function kg(e,t){return Sn(Sv(kn(fn(t)),{}))}const Cg=Bo(kg);let Rg=function(e){return e.ACTIVE="ACTIVE",e.PENDING="PENDING",e.ERROR="ERROR",e.DISABLED="DISABLED",e.DELETING="DELETING",e}({});function Dg(e,t){return Sn(kn(fn(t)))}function _g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_g(Object(n),!0).forEach((function(t){zg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mg(e,t){const n=Sv(kn(fn(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,webhookDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"update",params:t(n),payload:n}).then((t=>Mg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"delete",params:t(n)})},getCalls:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getManyCallDetails",params:t(n)})},getCall:function(n){const i=this.toPlainObject();return e({entityType:"Webhook",action:"getCallDetails",params:$g($g({},t(i)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return Sn(n)}const Fg=Bo(Mg);function qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ug(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qg(Object(n),!0).forEach((function(t){Lg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let Bg=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),Ng=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),Wg=function(e){return e.Allow="allow",e.Deny="deny",e}({}),Vg=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function Kg(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,workflowDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"update",params:t(n),payload:n}).then((t=>Hg(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:Ug(Ug({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Hg(e,t){return Sn(Sv(kn(fn(t)),Kg(e)))}const Xg=Bo(Hg),Gg=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),Jg=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function Qg(e,t){const n=Sv(kn(fn(t)),function(e){const{wrapResourceType:t}=rx.resourceType;return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:Gg(t),headers:{},payload:Jg(t)}).then((t=>Qg(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:Gg(t)})},getResourceType:function(n){return e({entityType:"ResourceType",action:"get",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n}}).then((n=>t(e,n)))},upsertResourceType:function(n,i){return e({entityType:"ResourceType",action:"upsert",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n},headers:{},payload:i}).then((n=>t(e,n)))},getResourceTypes:function(){return e({entityType:"ResourceType",action:"getMany",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}}).then((n=>(n.items=n.items.map((n=>t(e,n))),n)))}}}(e));return Sn(n)}const Yg=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,resourceTypeId:e.sys.id}),Zg=e=>({name:e.name,defaultFieldMapping:e.defaultFieldMapping});function ex(e,t){const n=Sv(kn(fn(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"upsert",params:Yg(t),headers:{},payload:Zg(t)}).then((t=>ex(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"delete",params:Yg(t)})}}}(e));return Sn(n)}function tx(e,t){return Sn(kn(t))}const nx=No(tx);function ix(e,t){return Sn(kn(t))}const ax=No(ix),rx={aiAction:je,aiActionInvocation:Oe,accessToken:pt,appAction:Pe,appActionCall:Te,appBundle:Ae,apiKey:Ie,appDefinition:Se,appInstallation:ke,appUpload:ze,appDetails:Ee,appSignedRequest:Ce,appSigningSecret:Re,appEventSubscription:De,appKey:_e,appAccessToken:$e,asset:Me,assetKey:Fe,bulkAction:qe,comment:Ue,concept:kt,conceptScheme:Ct,contentType:Ne,editorInterface:Le,entry:We,environment:Ze,environmentAlias:et,environmentTemplate:tt,environmentTemplateInstallation:Je,extension:nt,func:Qe,functionLog:Ye,locale:it,oauthApplication:at,organization:rt,organizationInvitation:ot,organizationMembership:st,personalAccessToken:ct,previewApiKey:lt,release:Ke,releaseAction:Ve,resourceProvider:Rt,resourceType:Dt,resource:_t,role:ut,scheduledAction:dt,semanticDuplicates:mt,semanticRecommendations:ft,semanticReferenceSuggestions:yt,semanticSearch:vt,snapshot:Be,space:ht,spaceMember:bt,spaceMembership:gt,tag:He,task:xt,team:wt,teamMembership:Ot,teamSpaceMembership:jt,uiConfig:Xe,upload:It,usage:Pt,user:Tt,userUIConfig:Ge,vectorizationStatus:At,webhook:St,workflowDefinition:Et},ox=["url"];function sx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function cx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sx(Object(n),!0).forEach((function(t){px(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function px(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lx=({makeRequest:e,defaults:t},n,i)=>(a,r,o)=>e({entityType:n,action:i,params:cx(cx({},t),a),payload:r,headers:o});function ux(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function dx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ux(Object(n),!0).forEach((function(t){mx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ux(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fx=(e,t)=>{const n={makeRequest:e,defaults:t};return{raw:{getDefaultParams:()=>t,get:(t,n)=>e({entityType:"Http",action:"get",params:{url:t,config:n}}),patch:(t,n,i)=>e({entityType:"Http",action:"patch",params:{url:t,config:i},payload:n}),post:(t,n,i)=>e({entityType:"Http",action:"post",params:{url:t,config:i},payload:n}),put:(t,n,i)=>e({entityType:"Http",action:"put",params:{url:t,config:i},payload:n}),delete:(t,n)=>e({entityType:"Http",action:"delete",params:{url:t,config:n}}),http:(t,n)=>e({entityType:"Http",action:"request",params:{url:t,config:n}})},aiAction:{get:lx(n,"AiAction","get"),getMany:lx(n,"AiAction","getMany"),create:lx(n,"AiAction","create"),update:lx(n,"AiAction","update"),delete:lx(n,"AiAction","delete"),publish:lx(n,"AiAction","publish"),unpublish:lx(n,"AiAction","unpublish"),invoke:lx(n,"AiAction","invoke")},aiActionInvocation:{get:lx(n,"AiActionInvocation","get")},appAction:{get:lx(n,"AppAction","get"),getMany:lx(n,"AppAction","getMany"),getManyForEnvironment:lx(n,"AppAction","getManyForEnvironment"),delete:lx(n,"AppAction","delete"),create:lx(n,"AppAction","create"),update:lx(n,"AppAction","update")},appActionCall:{create:lx(n,"AppActionCall","create"),getCallDetails:lx(n,"AppActionCall","getCallDetails"),createWithResponse:lx(n,"AppActionCall","createWithResponse"),get:lx(n,"AppActionCall","get"),createWithResult:lx(n,"AppActionCall","createWithResult"),getResponse:lx(n,"AppActionCall","getResponse")},appBundle:{get:lx(n,"AppBundle","get"),getMany:lx(n,"AppBundle","getMany"),delete:lx(n,"AppBundle","delete"),create:lx(n,"AppBundle","create")},appDetails:{upsert:lx(n,"AppDetails","upsert"),get:lx(n,"AppDetails","get"),delete:lx(n,"AppDetails","delete")},appEventSubscription:{upsert:lx(n,"AppEventSubscription","upsert"),get:lx(n,"AppEventSubscription","get"),delete:lx(n,"AppEventSubscription","delete")},appKey:{create:lx(n,"AppKey","create"),get:lx(n,"AppKey","get"),getMany:lx(n,"AppKey","getMany"),delete:lx(n,"AppKey","delete")},appSignedRequest:{create:lx(n,"AppSignedRequest","create")},appSigningSecret:{upsert:lx(n,"AppSigningSecret","upsert"),get:lx(n,"AppSigningSecret","get"),delete:lx(n,"AppSigningSecret","delete")},appAccessToken:{create:lx(n,"AppAccessToken","create")},concept:{create:lx(n,"Concept","create"),createWithId:lx(n,"Concept","createWithId"),get:lx(n,"Concept","get"),delete:lx(n,"Concept","delete"),patch:lx(n,"Concept","patch"),update:lx(n,"Concept","update"),updatePut:lx(n,"Concept","updatePut"),getMany:lx(n,"Concept","getMany"),getDescendants:lx(n,"Concept","getDescendants"),getAncestors:lx(n,"Concept","getAncestors"),getTotal:lx(n,"Concept","getTotal")},conceptScheme:{get:lx(n,"ConceptScheme","get"),getMany:lx(n,"ConceptScheme","getMany"),getTotal:lx(n,"ConceptScheme","getTotal"),delete:lx(n,"ConceptScheme","delete"),create:lx(n,"ConceptScheme","create"),createWithId:lx(n,"ConceptScheme","createWithId"),patch:lx(n,"ConceptScheme","patch"),update:lx(n,"ConceptScheme","update"),updatePut:lx(n,"ConceptScheme","updatePut")},function:{get:lx(n,"Function","get"),getMany:lx(n,"Function","getMany"),getManyForEnvironment:lx(n,"Function","getManyForEnvironment")},functionLog:{get:lx(n,"FunctionLog","get"),getMany:lx(n,"FunctionLog","getMany")},editorInterface:{get:lx(n,"EditorInterface","get"),getMany:lx(n,"EditorInterface","getMany"),update:lx(n,"EditorInterface","update")},space:{get:lx(n,"Space","get"),getMany:lx(n,"Space","getMany"),getManyForOrganization:lx(n,"Space","getManyForOrganization"),update:lx(n,"Space","update"),delete:lx(n,"Space","delete"),create:lx(n,"Space","create")},environment:{get:lx(n,"Environment","get"),getMany:lx(n,"Environment","getMany"),create:lx(n,"Environment","create"),createWithId:lx(n,"Environment","createWithId"),update:lx(n,"Environment","update"),delete:lx(n,"Environment","delete")},environmentAlias:{get:lx(n,"EnvironmentAlias","get"),getMany:lx(n,"EnvironmentAlias","getMany"),createWithId:lx(n,"EnvironmentAlias","createWithId"),update:lx(n,"EnvironmentAlias","update"),delete:lx(n,"EnvironmentAlias","delete")},environmentTemplate:{get:lx(n,"EnvironmentTemplate","get"),getMany:lx(n,"EnvironmentTemplate","getMany"),create:lx(n,"EnvironmentTemplate","create"),versionUpdate:lx(n,"EnvironmentTemplate","versionUpdate"),update:lx(n,"EnvironmentTemplate","update"),install:lx(n,"EnvironmentTemplate","install"),versions:lx(n,"EnvironmentTemplate","versions"),validate:lx(n,"EnvironmentTemplate","validate"),disconnect:lx(n,"EnvironmentTemplate","disconnect"),delete:lx(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:lx(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:lx(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:lx(n,"BulkAction","get"),publish:lx(n,"BulkAction","publish"),unpublish:lx(n,"BulkAction","unpublish"),validate:lx(n,"BulkAction","validate"),getV2:lx(n,"BulkAction","getV2"),publishV2:lx(n,"BulkAction","publishV2"),unpublishV2:lx(n,"BulkAction","unpublishV2"),validateV2:lx(n,"BulkAction","validateV2")},comment:{get:lx(n,"Comment","get"),getMany:lx(n,"Comment","getMany"),create:lx(n,"Comment","create"),update:lx(n,"Comment","update"),delete:lx(n,"Comment","delete")},contentType:{get:lx(n,"ContentType","get"),getMany:lx(n,"ContentType","getMany"),getManyWithCursor:lx(n,"ContentType","getManyWithCursor"),update:lx(n,"ContentType","update"),delete:lx(n,"ContentType","delete"),publish:lx(n,"ContentType","publish"),unpublish:lx(n,"ContentType","unpublish"),create:lx(n,"ContentType","create"),createWithId:lx(n,"ContentType","createWithId"),omitAndDeleteField:(n,i,a)=>Fh(e,dx(dx({},dx(dx({},t),n)),{},{fieldId:a}),i)},user:{getManyForSpace:lx(n,"User","getManyForSpace"),getForSpace:lx(n,"User","getForSpace"),getCurrent:lx(n,"User","getCurrent"),getForOrganization:lx(n,"User","getForOrganization"),getManyForOrganization:lx(n,"User","getManyForOrganization")},task:{get:lx(n,"Task","get"),getMany:lx(n,"Task","getMany"),create:lx(n,"Task","create"),update:lx(n,"Task","update"),delete:lx(n,"Task","delete")},entry:{getPublished:lx(n,"Entry","getPublished"),getPublishedWithCursor:lx(n,"Entry","getPublishedWithCursor"),getMany:lx(n,"Entry","getMany"),getManyWithCursor:lx(n,"Entry","getManyWithCursor"),get:lx(n,"Entry","get"),update:lx(n,"Entry","update"),patch:lx(n,"Entry","patch"),delete:lx(n,"Entry","delete"),publish:lx(n,"Entry","publish"),unpublish:lx(n,"Entry","unpublish"),archive:lx(n,"Entry","archive"),unarchive:lx(n,"Entry","unarchive"),create:lx(n,"Entry","create"),createWithId:lx(n,"Entry","createWithId"),references:lx(n,"Entry","references")},asset:{getPublished:lx(n,"Asset","getPublished"),getPublishedWithCursor:lx(n,"Asset","getPublishedWithCursor"),getMany:lx(n,"Asset","getMany"),getManyWithCursor:lx(n,"Asset","getManyWithCursor"),get:lx(n,"Asset","get"),update:lx(n,"Asset","update"),delete:lx(n,"Asset","delete"),publish:lx(n,"Asset","publish"),unpublish:lx(n,"Asset","unpublish"),archive:lx(n,"Asset","archive"),unarchive:lx(n,"Asset","unarchive"),create:lx(n,"Asset","create"),createWithId:lx(n,"Asset","createWithId"),createFromFiles:lx(n,"Asset","createFromFiles"),processForAllLocales:(n,i,a)=>e({entityType:"Asset",action:"processForAllLocales",params:dx(dx({},dx(dx({},t),n)),{},{options:a,asset:i})}),processForLocale:(n,i,a,r)=>e({entityType:"Asset",action:"processForLocale",params:dx(dx({},dx(dx({},t),n)),{},{locale:a,asset:i,options:r})})},appUpload:{get:lx(n,"AppUpload","get"),delete:lx(n,"AppUpload","delete"),create:lx(n,"AppUpload","create")},assetKey:{create:lx(n,"AssetKey","create")},upload:{get:lx(n,"Upload","get"),create:lx(n,"Upload","create"),delete:lx(n,"Upload","delete")},uploadCredential:{create:lx(n,"UploadCredential","create")},locale:{get:lx(n,"Locale","get"),getMany:lx(n,"Locale","getMany"),delete:lx(n,"Locale","delete"),update:lx(n,"Locale","update"),create:lx(n,"Locale","create")},personalAccessToken:{get:lx(n,"PersonalAccessToken","get"),getMany:lx(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:lx(n,"PersonalAccessToken","revoke")},accessToken:{get:lx(n,"AccessToken","get"),getMany:lx(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:lx(n,"AccessToken","revoke"),getManyForOrganization:lx(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:lx(n,"Usage","getManyForSpace"),getManyForOrganization:lx(n,"Usage","getManyForOrganization")},release:{asset:{get:lx(n,"ReleaseAsset","get"),getMany:lx(n,"ReleaseAsset","getMany"),update:lx(n,"ReleaseAsset","update"),create:lx(n,"ReleaseAsset","create"),createWithId:lx(n,"ReleaseAsset","createWithId"),createFromFiles:lx(n,"ReleaseAsset","createFromFiles"),processForAllLocales:(n,i,a)=>e({entityType:"ReleaseAsset",action:"processForAllLocales",params:dx(dx({},dx(dx({},t),n)),{},{options:a,asset:i})}),processForLocale:(n,i,a,r)=>e({entityType:"ReleaseAsset",action:"processForLocale",params:dx(dx({},dx(dx({},t),n)),{},{locale:a,asset:i,options:r})})},entry:{get:lx(n,"ReleaseEntry","get"),getMany:lx(n,"ReleaseEntry","getMany"),update:lx(n,"ReleaseEntry","update"),patch:lx(n,"ReleaseEntry","patch"),create:lx(n,"ReleaseEntry","create"),createWithId:lx(n,"ReleaseEntry","createWithId")},archive:lx(n,"Release","archive"),get:lx(n,"Release","get"),query:lx(n,"Release","query"),create:lx(n,"Release","create"),update:lx(n,"Release","update"),delete:lx(n,"Release","delete"),publish:lx(n,"Release","publish"),unarchive:lx(n,"Release","unarchive"),unpublish:lx(n,"Release","unpublish"),validate:lx(n,"Release","validate")},releaseAction:{get:lx(n,"ReleaseAction","get"),getMany:lx(n,"ReleaseAction","getMany"),queryForRelease:lx(n,"ReleaseAction","queryForRelease")},role:{get:lx(n,"Role","get"),getMany:lx(n,"Role","getMany"),getManyForOrganization:lx(n,"Role","getManyForOrganization"),create:lx(n,"Role","create"),createWithId:lx(n,"Role","createWithId"),update:lx(n,"Role","update"),delete:lx(n,"Role","delete")},scheduledActions:{get:lx(n,"ScheduledAction","get"),getMany:lx(n,"ScheduledAction","getMany"),create:lx(n,"ScheduledAction","create"),delete:lx(n,"ScheduledAction","delete"),update:lx(n,"ScheduledAction","update")},previewApiKey:{get:lx(n,"PreviewApiKey","get"),getMany:lx(n,"PreviewApiKey","getMany")},apiKey:{get:lx(n,"ApiKey","get"),getMany:lx(n,"ApiKey","getMany"),create:lx(n,"ApiKey","create"),createWithId:lx(n,"ApiKey","createWithId"),update:lx(n,"ApiKey","update"),delete:lx(n,"ApiKey","delete")},appDefinition:{get:lx(n,"AppDefinition","get"),getMany:lx(n,"AppDefinition","getMany"),create:lx(n,"AppDefinition","create"),update:lx(n,"AppDefinition","update"),delete:lx(n,"AppDefinition","delete"),getInstallationsForOrg:lx(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:lx(n,"AppInstallation","get"),getMany:lx(n,"AppInstallation","getMany"),getForOrganization:lx(n,"AppInstallation","getForOrganization"),upsert:lx(n,"AppInstallation","upsert"),delete:lx(n,"AppInstallation","delete")},resource:{getMany:lx(n,"Resource","getMany")},resourceProvider:{get:lx(n,"ResourceProvider","get"),upsert:lx(n,"ResourceProvider","upsert"),delete:lx(n,"ResourceProvider","delete")},resourceType:{get:lx(n,"ResourceType","get"),getMany:lx(n,"ResourceType","getMany"),upsert:lx(n,"ResourceType","upsert"),delete:lx(n,"ResourceType","delete"),getForEnvironment:lx(n,"ResourceType","getForEnvironment")},extension:{get:lx(n,"Extension","get"),getMany:lx(n,"Extension","getMany"),create:lx(n,"Extension","create"),createWithId:lx(n,"Extension","createWithId"),update:lx(n,"Extension","update"),delete:lx(n,"Extension","delete")},webhook:{get:lx(n,"Webhook","get"),getMany:lx(n,"Webhook","getMany"),getHealthStatus:lx(n,"Webhook","getHealthStatus"),getCallDetails:lx(n,"Webhook","getCallDetails"),getSigningSecret:lx(n,"Webhook","getSigningSecret"),getRetryPolicy:lx(n,"Webhook","getRetryPolicy"),getManyCallDetails:lx(n,"Webhook","getManyCallDetails"),create:lx(n,"Webhook","create"),update:lx(n,"Webhook","update"),upsertSigningSecret:lx(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:lx(n,"Webhook","upsertRetryPolicy"),delete:lx(n,"Webhook","delete"),deleteSigningSecret:lx(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:lx(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:lx(n,"Snapshot","getManyForEntry"),getForEntry:lx(n,"Snapshot","getForEntry"),getManyForContentType:lx(n,"Snapshot","getManyForContentType"),getForContentType:lx(n,"Snapshot","getForContentType")},tag:{get:lx(n,"Tag","get"),getMany:lx(n,"Tag","getMany"),createWithId:lx(n,"Tag","createWithId"),update:lx(n,"Tag","update"),delete:lx(n,"Tag","delete")},organization:{getAll:lx(n,"Organization","getMany"),get:lx(n,"Organization","get")},organizationInvitation:{get:lx(n,"OrganizationInvitation","get"),create:lx(n,"OrganizationInvitation","create")},organizationMembership:{get:lx(n,"OrganizationMembership","get"),getMany:lx(n,"OrganizationMembership","getMany"),update:lx(n,"OrganizationMembership","update"),delete:lx(n,"OrganizationMembership","delete")},oauthApplication:{get:lx(n,"OAuthApplication","get"),getManyForUser:lx(n,"OAuthApplication","getManyForUser"),update:lx(n,"OAuthApplication","update"),delete:lx(n,"OAuthApplication","delete"),create:lx(n,"OAuthApplication","create")},semanticDuplicates:{get:lx(n,"SemanticDuplicates","get")},semanticRecommendations:{get:lx(n,"SemanticRecommendations","get")},semanticReferenceSuggestions:{get:lx(n,"SemanticReferenceSuggestions","get")},semanticSearch:{get:lx(n,"SemanticSearch","get")},spaceMember:{get:lx(n,"SpaceMember","get"),getMany:lx(n,"SpaceMember","getMany")},spaceMembership:{get:lx(n,"SpaceMembership","get"),getMany:lx(n,"SpaceMembership","getMany"),getForOrganization:lx(n,"SpaceMembership","getForOrganization"),getManyForOrganization:lx(n,"SpaceMembership","getManyForOrganization"),create:lx(n,"SpaceMembership","create"),createWithId:lx(n,"SpaceMembership","createWithId"),update:lx(n,"SpaceMembership","update"),delete:lx(n,"SpaceMembership","delete")},team:{get:lx(n,"Team","get"),getMany:lx(n,"Team","getMany"),getManyForSpace:lx(n,"Team","getManyForSpace"),create:lx(n,"Team","create"),update:lx(n,"Team","update"),delete:lx(n,"Team","delete")},teamMembership:{get:lx(n,"TeamMembership","get"),getManyForOrganization:lx(n,"TeamMembership","getManyForOrganization"),getManyForTeam:lx(n,"TeamMembership","getManyForTeam"),create:lx(n,"TeamMembership","create"),update:lx(n,"TeamMembership","update"),delete:lx(n,"TeamMembership","delete")},teamSpaceMembership:{get:lx(n,"TeamSpaceMembership","get"),getMany:lx(n,"TeamSpaceMembership","getMany"),getForOrganization:lx(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:lx(n,"TeamSpaceMembership","getManyForOrganization"),create:lx(n,"TeamSpaceMembership","create"),update:lx(n,"TeamSpaceMembership","update"),delete:lx(n,"TeamSpaceMembership","delete")},uiConfig:{get:lx(n,"UIConfig","get"),update:lx(n,"UIConfig","update")},userUIConfig:{get:lx(n,"UserUIConfig","get"),update:lx(n,"UserUIConfig","update")},vectorizationStatus:{get:lx(n,"VectorizationStatus","get"),update:lx(n,"VectorizationStatus","update")},workflowDefinition:{get:lx(n,"WorkflowDefinition","get"),getMany:lx(n,"WorkflowDefinition","getMany"),create:lx(n,"WorkflowDefinition","create"),update:lx(n,"WorkflowDefinition","update"),delete:lx(n,"WorkflowDefinition","delete")},workflow:{get:lx(n,"Workflow","get"),getMany:lx(n,"Workflow","getMany"),create:lx(n,"Workflow","create"),update:lx(n,"Workflow","update"),delete:lx(n,"Workflow","delete"),complete:lx(n,"Workflow","complete")},workflowsChangelog:{getMany:lx(n,"WorkflowsChangelog","getMany")}}};let yx=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const vx={widgetId:"publication-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},hx={widgetId:"releases-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},bx={widgetId:"content-preview-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},gx={widgetId:"incoming-links-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},xx={widgetId:"translation-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},wx={widgetId:"versions-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},Ox={widgetId:"users-widget",widgetNamespace:yx.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},jx=[vx,hx,bx,gx,xx,wx,Ox],Ix=[vx,hx,gx,xx,Ox],Px="Editor",Tx="References",Ax="reference-tree",Sx="Tags",Ex="tags-editor",kx=[{widgetId:"default-editor",widgetNamespace:yx.EDITOR_BUILTIN,name:Px},{widgetId:Ax,widgetNamespace:yx.EDITOR_BUILTIN,name:Tx},{widgetId:Ex,widgetNamespace:yx.EDITOR_BUILTIN,name:Sx}];function Cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Rx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cx(Object(n),!0).forEach((function(t){Dx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _x=["Text","Symbol","Integer","Number","Boolean"],$x={Symbol:{type:"Symbol"},Text:{type:"Text"},RichText:{type:"RichText"},Integer:{type:"Integer"},Number:{type:"Number"},Boolean:{type:"Boolean"},Date:{type:"Date"},Location:{type:"Location"},Object:{type:"Object"},File:{type:"File"},Entry:{type:"Link",linkType:"Entry"},Asset:{type:"Link",linkType:"Asset"},Resource:{type:"ResourceLink"},Symbols:{type:"Array",items:{type:"Symbol"}},Entries:{type:"Array",items:{type:"Link",linkType:"Entry"}},Assets:{type:"Array",items:{type:"Link",linkType:"Asset"}},Resources:{type:"Array",items:{type:"ResourceLink"}}},zx=Object.keys($x),Mx={Text:{widgetId:"markdown"},Symbol:{widgetId:"singleLine"},Integer:{widgetId:"numberEditor"},Number:{widgetId:"numberEditor"},Boolean:{widgetId:"boolean"},Date:{widgetId:"datePicker"},Location:{widgetId:"locationEditor"},Object:{widgetId:"objectEditor"},RichText:{widgetId:"richTextEditor"},Entry:{widgetId:"entryLinkEditor"},Asset:{widgetId:"assetLinkEditor"},Symbols:{widgetId:"tagEditor"},Entries:{widgetId:"entryLinksEditor"},Assets:{widgetId:"assetLinksEditor"},File:{widgetId:"fileEditor"},Resource:{widgetId:"resourceLinkEditor"},Resources:{widgetId:"resourceLinksEditor"}},Fx={Boolean:{falseLabel:"No",helpText:null,trueLabel:"Yes"},Date:{helpText:null,ampm:"24",format:"timeZ"},Entry:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Asset:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Entries:{helpText:null,bulkEditing:!1,showCreateEntityAction:!0,showLinkEntityAction:!0},Assets:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0}},qx={SidebarEntryConfiguration:jx,SidebarAssetConfiguration:Ix,EntryConfiguration:kx,getDefaultControlOfField:function(e){const t=(n=e,zx.find((e=>{const t=$x[e],i={type:n.type,linkType:n.linkType,items:n.items};return i.items&&(i.items={type:i.items.type,linkType:i.items.linkType}),"Link"===t.type?t.linkType===i.linkType:"Array"===t.type&&t.items&&i.items?"Link"===t.items.type?t.items.linkType===i.items.linkType:t.items.type===i.items.type:t.type===i.type})));var n;if(!t)throw new Error("Invalid field type");return(e.validations||[]).find((e=>"in"in e))&&_x.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=Rx(Rx({},Mx[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in Fx&&(n.settings=Rx(Rx({},n.settings),Fx[e])),n}(t,e.id)}};function Ux(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Lx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ux(Object(n),!0).forEach((function(t){Bx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ux(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Nx=(e,t)=>({[Symbol.asyncIterator](){let n=fn(t);const i=()=>e(fn(n));let a=i();return{current:0,async next(){const{total:e=0,items:t=[],skip:r=0,limit:o=100}=await a;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-r],c=this.current%o==0,p=this.current===e;return c&&!p&&(n=Lx(Lx({},n),{},{query:Lx(Lx({},n.query),{},{skip:r+o})}),a=i()),{done:!1,value:s}}}}});function Wx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Vx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wx(Object(n),!0).forEach((function(t){Kx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function Hx(e,t){const n=await e(Vx({},t));if("total"in n){const{total:a,limit:r,items:o}=n;if(!(a>o.length))return o;const s=Math.ceil(a/r),c=(i=s,Array.from(Array(Math.abs(i-1)),((e,t)=>1+t))).map((n=>e(Vx(Vx({},t),{},{query:Vx(Vx({},t.query),{},{limit:r,skip:n*r})})).then((e=>e.items)))),p=await Promise.all(c);return[...o,...p.flat(1)]}var i;if("pages"in n){const{pages:i,items:a}=n;if(!i.next)return a;const r=function(e){const t=e.indexOf("?");if(t<0)return null;const n=e.slice(t+1);return new URLSearchParams(n).get("pageNext")}(i.next);if(!r)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...a,...await Hx(e,Vx(Vx({},t),{},{query:Vx(Vx({},t.query),{},{pageNext:r})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}function Xx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Gx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xx(Object(n),!0).forEach((function(t){Jx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jx(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qx(e,t={}){const n=function(e,t,n,i){const a=[];t&&a.push(`app ${t}`),n&&a.push(`integration ${n}`),i&&a.push("feature "+i),a.push(`sdk ${e}`);let r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=En(),a.push("platform ReactNative")):void 0===yn||yn.browser?(r=En(),a.push("platform browser")):(r=function(){const e=yn.platform||"linux",t=yn.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}(),a.push(`platform node.js/${yn.versions&&yn.versions.node?`v${yn.versions.node}`:yn.version}`))}catch(e){r=null}return r&&a.push(`os ${r}`),`${a.filter((e=>""!==e)).join("; ")};`}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/0.0.0-determined-by-semantic-release",e.application,e.integration,e.feature),i=function(e){return"apiAdapter"in e?e.apiAdapter:new Av(e)}(Gx(Gx({},e),{},{userAgent:n})),a=e=>i.makeRequest(Gx(Gx({},e),{},{userAgent:n}));return"plain"===t.type?fx(a,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=rx.space,{wrapUser:i}=rx.user,{wrapPersonalAccessToken:a,wrapPersonalAccessTokenCollection:r}=rx.personalAccessToken,{wrapAccessToken:o,wrapAccessTokenCollection:s}=rx.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=rx.organization,{wrapUsageCollection:l}=rx.usage,{wrapAppDefinition:u}=rx.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=rx.environmentTemplate,{wrapOAuthApplication:f,wrapOAuthApplicationCollection:y}=rx.oauthApplication;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:Tn({query:n}).params}}).then((n=>m(e,n,t)))},getEnvironmentTemplate:function({organizationId:t,environmentTemplateId:n,version:i,query:a={}}){return e({entityType:"EnvironmentTemplate",action:"get",params:{organizationId:t,environmentTemplateId:n,version:i,query:Tn({query:a}).params}}).then((n=>d(e,n,t)))},createEnvironmentTemplate:function(t,n){return e({entityType:"EnvironmentTemplate",action:"create",params:{organizationId:t},payload:n}).then((n=>d(e,n,t)))},getSpaces:function(t={}){return e({entityType:"Space",action:"getMany",params:{query:Tn({query:t}).params}}).then((t=>n(e,t)))},getSpace:function(n){return e({entityType:"Space",action:"get",params:{spaceId:n}}).then((n=>t(e,n)))},createSpace:function(n,i){return e({entityType:"Space",action:"create",params:{organizationId:i},payload:n}).then((n=>t(e,n)))},getOrganization:function(t){return e({entityType:"Organization",action:"get",params:{organizationId:t}}).then((t=>c(e,t)))},getOrganizations:function(t={}){return e({entityType:"Organization",action:"getMany",params:{query:Tn({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>i(e,t)))},getOAuthApplication:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"get",params:t}).then((t=>f(e,t,n)))},getOAuthApplications:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"getManyForUser",params:t}).then((t=>y(e,t,n)))},createOAuthApplication:function(t,n){const{userId:i}=t;return e({entityType:"OAuthApplication",action:"create",params:t,payload:n}).then((t=>f(e,t,i)))},getAppDefinition:function(t){return e({entityType:"AppDefinition",action:"get",params:t}).then((t=>u(e,t)))},createPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"create",params:{},payload:t}).then((t=>a(e,t)))},getPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"get",params:{tokenId:t}}).then((t=>a(e,t)))},getPersonalAccessTokens:function(){return e({entityType:"PersonalAccessToken",action:"getMany",params:{}}).then((t=>r(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>o(e,t)))},getAccessTokens:function(){return e({entityType:"AccessToken",action:"getMany",params:{}}).then((t=>s(e,t)))},getOrganizationAccessTokens:function(t,n={}){return e({entityType:"AccessToken",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>s(e,t)))},getOrganizationUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},getSpaceUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForSpace",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},rawRequest:function(t){let{url:n}=t,i=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,ox);return e({entityType:"Http",action:"request",params:{url:n,config:i}})}}}(a)}})(),module.exports=i})();