UNPKG

84.1 kBJavaScriptView Raw
1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.contentfulManagement=e():t.contentfulManagement=e()}(window,(function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(e){return t[e]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=34)}([function(t,e,n){"use strict";(function(t){function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?o(Object(e),!0).forEach((function(n){r(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function s(){return void 0!==t&&!t.browser}function c(){return t.versions&&t.versions.node?"v".concat(t.versions.node):t.version}function f(t,e){var n=i({},{insecure:!1,retryOnError:!0,logHandler:function(t,e){if("error"===t&&e){var n=[e.name,e.message].filter((function(t){return t})).join(" - ");return console.error("[error] ".concat(n)),void console.error(e)}console.log("[".concat(t,"] ").concat(e))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:"",adapter:!1,maxContentLength:1073741824},{},e);if(!n.accessToken){var r=new TypeError("Expected parameter accessToken");throw n.logHandler("error",r),r}var o=n.insecure?"http":"https",u=n.space?"".concat(n.space,"/"):"",p=n.defaultHostname,l=n.insecure?80:443;if(n.host&&P.test(n.host)){var d=n.host.split(":");if(2===d.length){var h=a(d,2);p=h[0],l=h[1]}else p=d[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var y=e.baseURL||"".concat(o,"://").concat(p,":").concat(l).concat(n.basePath,"/spaces/").concat(u);n.headers.Authorization||(n.headers.Authorization="Bearer "+n.accessToken),s()&&(n.headers["user-agent"]="node.js/"+c(),n.headers["Accept-Encoding"]="gzip");var b={baseURL:y,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:g.a.stringify,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},m=t.create(b);return m.httpClientParams=e,m.cloneWithNewParams=function(n){return f(t,i({},v()(e),{},n))},function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5,n=t.defaults,r=n.responseLogger,o=void 0===r?function(){}:r,i=n.requestLogger,a=void 0===i?function(){}:i;t.interceptors.request.use((function(t){return a(t),t}),(function(t){return Promise.reject(t)})),t.interceptors.response.use((function(t){return o(t),t}),(function(n){var r=Math.pow,o=n.response,i=n.config;if(!i||!t.defaults.retryOnError)return Promise.reject(n);var a=null,u=0;if(o)_=0;else{if(a="Connection",++_>e)return n.attempts=_,Promise.reject(n);u=r(Math.SQRT2,_),o={}}if(500<=o.status&&600>o.status){a="Server ".concat(o.status);var s=(o.headers||{})["x-contentful-request-id"]||null;if(x[s]=x[s]||0,x[s]++,x[s]>e||!s)return n.attempts=x[s],Promise.reject(n);u=r(Math.SQRT2,x[s])}else 429===o.status&&(a="Rate limit",o.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(u=o.headers["x-contentful-ratelimit-reset"]));return a?(u=Math.floor(1e3*u+200*Math.random()+500),t.defaults.logHandler("warning","".concat(a," error occurred. Waiting for ").concat(u," ms before retrying...")),delete i.httpAgent,delete i.httpsAgent,function(t){return new Promise((function(e){setTimeout(e,t)}))}(u).then((function(){return t(i)}))):Promise.reject(n)}))}(m,n.retryLimit),m}function p(t){var e=t.query,n={};return delete e.resolveLinks,n.params=v()(e),n}function l(t){return function t(e){return Object.keys(e).forEach((function(n){var r=e[n];O()(r)&&t(r)})),Object.freeze(e)}(t.sys||{}),t}function d(){if(!window)return null;var t=window.navigator.userAgent,e=window.navigator.platform,n=null;return-1===["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?-1===["iPhone","iPad","iPod"].indexOf(e)?-1===["Win32","Win64","Windows","WinCE"].indexOf(e)?/Android/.test(t)?n="Android":/Linux/.test(e)&&(n="Linux"):n="Windows":n="iOS":n="macOS",n}function h(t,e,n,r){var o=[];e&&o.push("app ".concat(e)),n&&o.push("integration ".concat(n)),r&&o.push("feature "+r),o.push("sdk ".concat(t));var i=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=d(),o.push("platform ReactNative")):s()?(i=function(){var t=Object(j.platform)()||"linux",e=Object(j.release)()||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return t in n?"".concat(n[t]||"Linux","/").concat(e):null}(),o.push("platform node.js/".concat(c()))):(i=d(),o.push("platform browser"))}catch(e){i=null}return i&&o.push("os ".concat(i)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function y(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return v()(this)}})}n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return y}));var b=n(1),v=n.n(b),m=n(32),g=n.n(m),w=n(3),O=n.n(w),j=n(12),x=(n.n(j),{}),_=0,P=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/}).call(this,n(14))},function(t,e,n){var r=n(35);t.exports=function(t){return r(t,5)}},function(t,e,n){"use strict";function r(t){return"[object Array]"===c.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&"object"==typeof t}function a(t){return"[object Function]"===c.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var s=n(24),c=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:function(t){return"[object ArrayBuffer]"===c.call(t)},isBuffer:function(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:i,isUndefined:o,isDate:function(t){return"[object Date]"===c.call(t)},isFile:function(t){return"[object File]"===c.call(t)},isBlob:function(t){return"[object Blob]"===c.call(t)},isFunction:a,isStream:function(t){return i(t)&&a(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function t(){function e(e,r){n[r]="object"==typeof n[r]&&"object"==typeof e?t(n[r],e):e}for(var n={},r=0,o=arguments.length;r<o;r++)u(arguments[r],e);return n},deepMerge:function t(){function e(e,r){n[r]="object"==typeof n[r]&&"object"==typeof e?t(n[r],e):"object"==typeof e?t({},e):e}for(var n={},r=0,o=arguments.length;r<o;r++)u(arguments[r],e);return n},extend:function(t,e,n){return u(e,(function(e,r){t[r]=n&&"function"==typeof e?s(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){var r=n(88),o=n(22),i=n(89),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,f=s.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==f}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(37),i=n(38),a=n(39),u=n(40),s=n(41);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e,n){var r=n(15);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(9)(Object,"create");t.exports=r},function(t,e,n){var r=n(58);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(18),o=n(19);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var u=-1,s=e.length;++u<s;){var c=e[u],f=i?i(n[c],t[c],c,n,t):void 0;void 0===f&&(f=t[c]),a?o(n,c,f):r(n,c,f)}return n}},function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t){"use strict";var e=Object.prototype.hasOwnProperty,n=Array.isArray,r=function(){for(var t=[],e=0;256>e;++e)t.push("%"+((16>e?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t){for(;1<t.length;){var e=t.pop(),r=e.obj[e.prop];if(n(r)){for(var o=[],i=0;i<r.length;++i)void 0!==r[i]&&o.push(r[i]);e.obj[e.prop]=o}}},i=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:i,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],u=Object.keys(a),s=0;s<u.length;++s){var c=u[s],f=a[c];"object"==typeof f&&null!==f&&-1===n.indexOf(f)&&(e.push({obj:a,prop:c}),n.push(f))}return o(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(t,e,n){if(0===t.length)return t;var o=t;if("symbol"==typeof t?o=Symbol.prototype.toString.call(t):"string"!=typeof t&&(o=t+""),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var i,a="",u=0;u<o.length;++u)45===(i=o.charCodeAt(u))||46===i||95===i||126===i||48<=i&&57>=i||65<=i&&90>=i||97<=i&&122>=i?a+=o.charAt(u):128>i?a+=r[i]:2048>i?a+=r[192|i>>6]+r[128|63&i]:55296>i||57344<=i?a+=r[224|i>>12]+r[128|63&i>>6]+r[128|63&i]:(u+=1,i=65536+((1023&i)<<10|1023&o.charCodeAt(u)),a+=r[240|i>>18]+r[128|63&i>>12]+r[128|63&i>>6]+r[128|63&i]);return a},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(n(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(r,o,a){if(!o)return r;if("object"!=typeof o){if(n(r))r.push(o);else{if(!r||"object"!=typeof r)return[r,o];(a&&(a.plainObjects||a.allowPrototypes)||!e.call(Object.prototype,o))&&(r[o]=!0)}return r}if(!r||"object"!=typeof r)return[r].concat(o);var u=r;return n(r)&&!n(o)&&(u=i(r,a)),n(r)&&n(o)?(o.forEach((function(n,o){if(e.call(r,o)){var i=r[o];i&&"object"==typeof i&&n&&"object"==typeof n?r[o]=t(i,n,a):r.push(n)}else r[o]=n})),r):Object.keys(o).reduce((function(n,r){var i=o[r];return n[r]=e.call(n,r)?t(n[r],i,a):i,n}),u)}}},function(){},function(t,e,n){var r=n(90);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},function(t){function e(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(t){if(s===setTimeout)return setTimeout(t,0);if((s===e||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}function o(){d&&p&&(d=!1,p.length?l=p.concat(l):h=-1,l.length&&i())}function i(){if(!d){var t=r(o);d=!0;for(var e=l.length;e;){for(p=l,l=[];++h<e;)p&&p[h].run();h=-1,e=l.length}p=null,d=!1,function(t){if(c===clearTimeout)return clearTimeout(t);if((c===n||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(t);try{c(t)}catch(e){try{return c.call(null,t)}catch(e){return c.call(this,t)}}}(t)}}function a(t,e){this.fun=t,this.array=e}function u(){}var s,c,f=t.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:e}catch(t){s=e}try{c="function"==typeof clearTimeout?clearTimeout:n}catch(t){c=n}}();var p,l=[],d=!1,h=-1;f.nextTick=function(t){var e=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new a(t,e)),1!==l.length||d||r(i)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(){return[]},f.binding=function(){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(9)(n(17),"Map");t.exports=r},function(t,e,n){var r=n(47),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(19),o=n(15),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(63);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(10)(Object.keys,Object);t.exports=r},function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(10)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(11),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return t+""}}},a)},function(t){"use strict";t.exports=function(t,e){return function(){for(var n=Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(2);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,(function(t,e){null==t||(o.isArray(t)?e+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),i=a.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(2),i=n(96),a={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"==typeof XMLHttpRequest?void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(28)):t=n(28),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return 200<=t&&300>t},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){u.headers[t]=o.merge(a)})),t.exports=u}).call(this,n(14))},function(t,e,n){"use strict";var r=n(2),o=n(97),i=n(25),a=n(99),u=n(102),s=n(103),c=n(29);t.exports=function(t){return new Promise((function(e,f){var p=t.data,l=t.headers;r.isFormData(p)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",y=t.auth.password||"";l.Authorization="Basic "+btoa(h+":"+y)}var b=a(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),i(b,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};o(e,f,r),d=null}},d.onabort=function(){d&&(f(c("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(c("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(c(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var v=n(104),m=(t.withCredentials||s(b))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;m&&(l[t.xsrfHeaderName]=m)}if("setRequestHeader"in d&&r.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),f(t),d=null)})),void 0===p&&(p=null),d.send(p)}))}},function(t,e,n){"use strict";var r=n(98);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(t){void 0!==e[t]&&(n[t]=e[t])})),r.forEach(i,(function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0===e[o]?r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o]):n[o]=e[o]})),r.forEach(a,(function(r){void 0===e[r]?void 0!==t[r]&&(n[r]=t[r]):n[r]=e[r]}));var u=o.concat(i).concat(a),s=Object.keys(e).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(s,(function(r){void 0===e[r]?void 0!==t[r]&&(n[r]=t[r]):n[r]=e[r]})),n}},function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},function(t,e,n){"use strict";var r=n(86),o=n(87),i=n(23);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){t.exports=n(91)},function(t,e,n){t.exports=n(107)},function(t,e,n){var r=n(36),o=n(62),i=n(18),a=n(64),u=n(65),s=n(67),c=n(69),f=n(70),p=n(72),l=n(74),d=n(75),h=n(76),y=n(77),b=n(78),v=n(79),m=n(82),g=n(83),w=n(84),O=n(21),j=n(85),x=n(20),_=1,P=2,C=4,A="[object Arguments]",E="[object Function]",S="[object GeneratorFunction]",T="[object Object]",k={};k[A]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[T]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[E]=k["[object WeakMap]"]=!1,t.exports=function t(e,n,U,M,L,R){var z,D=n&_,N=n&P;if(U&&(z=L?U(e,M,L,R):U(e)),void 0!==z)return z;if(!O(e))return e;var I=m(e);if(I){if(z=y(e),!D)return c(e,z)}else{var q=h(e),F=q==E||q==S;if(g(e))return s(e,D);if(q==T||q==A||F&&!L){if(z=N||F?{}:v(e),!D)return N?p(e,u(z,e)):f(e,a(z,e))}else{if(!k[q])return L?e:{};z=b(e,q,D)}}R||(R=new r);var W=R.get(e);if(W)return W;R.set(e,z),j(e)?e.forEach((function(r){z.add(t(r,n,U,r,e,R))})):w(e)&&e.forEach((function(r,o){z.set(o,t(r,n,U,o,e,R))}));var B=n&C?N?d:l:N?keysIn:x,V=I?void 0:B(e);return o(V||e,(function(r,o){V&&(r=e[o=r]),i(z,o,t(r,n,U,o,e,R))})),z}},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(4),i=n(42),a=n(43),u=n(44),s=n(45),c=n(46);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,t.exports=r},function(t){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(5),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(0>n)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},function(t,e,n){var r=n(5);t.exports=function(t){var e=this.__data__,n=r(e,t);return 0>n?void 0:e[n][1]}},function(t,e,n){var r=n(5);t.exports=function(t){return-1<r(this.__data__,t)}},function(t,e,n){var r=n(5);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return 0>o?(++this.size,n.push([t,e])):n[o][1]=e,this}},function(t,e,n){var r=n(4);t.exports=function(){this.__data__=new r,this.size=0}},function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t){t.exports=function(t){return this.__data__.get(t)}},function(t){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(4),o=n(16),i=n(49);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(48))},function(t){var e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(50),i=n(57),a=n(59),u=n(60),s=n(61);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e,n){var r=n(51),o=n(4),i=n(16);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(52),i=n(53),a=n(54),u=n(55),s=n(56);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e,n){var r=n(6);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(6),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(6),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},function(t,e,n){var r=n(6);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var r=n(7);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(7);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(7);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(7);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},function(t,e,n){var r=n(9),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){var r=n(8),o=n(20);t.exports=function(t,e){return t&&r(e,o(e),t)}},function(t,e,n){var r=n(8),o=n(66);t.exports=function(t,e){return t&&r(e,o(e),t)}},function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){(function(t){var r=n(17),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=u?u(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(68)(t))},function(t){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],!t.children&&(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},function(t,e,n){var r=n(8),o=n(71);t.exports=function(t,e){return r(t,o(t),e)}},function(t){t.exports=function(){return[]}},function(t,e,n){var r=n(8),o=n(73);t.exports=function(t,e){return r(t,o(t),e)}},function(t){t.exports=function(){return[]}},function(t,e,n){var r=n(10)(Object.keys,Object);t.exports=r},function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},function(t){t.exports=function(t){return t}},function(t,e,n){var r=n(80),o=n(22),i=n(81);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},function(t,e,n){var r=n(21),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t){t.exports=function(){return!1}},function(t){var e=Array.isArray;t.exports=e},function(t){t.exports=function(){return!1}},function(t){t.exports=function(){return!1}},function(t){t.exports=function(){return!1}},function(t,e,n){"use strict";var r=n(11),o=n(23),i=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,s=Array.prototype.push,c=function(t,e){s.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,p=o.default,l={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,n,o,i,a,s,f,p,d,h,y,b,v){var m=e;if("function"==typeof f?m=f(n,m):m instanceof Date?m=h(m):"comma"===o&&u(m)&&(m=r.maybeMap(m,(function(t){return t instanceof Date?h(t):t})).join(",")),null===m){if(i)return s&&!b?s(n,l.encoder,v,"key"):n;m=""}if(function(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"symbol"==typeof t||"bigint"==typeof t}(m)||r.isBuffer(m))return s?[y(b?n:s(n,l.encoder,v,"key"))+"="+y(s(m,l.encoder,v,"value"))]:[y(n)+"="+y(m+"")];var g,w=[];if(void 0===m)return w;if(u(f))g=f;else{var O=Object.keys(m);g=p?O.sort(p):O}for(var j=0;j<g.length;++j){var x=g[j],_=m[x];if(!a||null!==_){var P=u(m)?"function"==typeof o?o(n,x):n:n+(d?"."+x:"["+x+"]");c(w,t(_,P,o,i,a,s,f,p,d,h,y,b,v))}}return w},h=function(t){if(!t)return l;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||l.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!i.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],a=l.filter;return("function"==typeof t.filter||u(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:l.addQueryPrefix,allowDots:void 0===t.allowDots?l.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:l.charsetSentinel,delimiter:void 0===t.delimiter?l.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:l.encode,encoder:"function"==typeof t.encoder?t.encoder:l.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:l.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:l.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:l.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:l.strictNullHandling}};t.exports=function(t,e){var n,r=t,o=h(e);"function"==typeof o.filter?r=(0,o.filter)("",r):u(o.filter)&&(n=o.filter);var i=[];if("object"!=typeof r||null===r)return"";var s=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices",f=a[s];n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var p,l=0;l<n.length;++l)p=n[l],(!o.skipNulls||null!==r[p])&&c(i,d(r[p],p,f,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.formatter,o.encodeValuesOnly,o.charset));var y=i.join(o.delimiter),b=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),0<y.length?b+y:""}},function(t,e,n){"use strict";var r=n(11),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e){return t&&"string"==typeof t&&e.comma&&-1<t.indexOf(",")?t.split(","):t},c=function(t,e){var n,c={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,l=f.split(e.delimiter,p),d=-1,h=e.charset;if(e.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?h="utf-8":"utf8=%26%2310003%3B"===l[n]&&(h="iso-8859-1"),d=n,n=l.length);for(n=0;n<l.length;++n)if(n!==d){var y,b,v=l[n],m=v.indexOf("]="),g=-1===m?v.indexOf("="):m+1;-1===g?(y=e.decoder(v,a.decoder,h,"key"),b=e.strictNullHandling?null:""):(y=e.decoder(v.slice(0,g),a.decoder,h,"key"),b=r.maybeMap(s(v.slice(g+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),b&&e.interpretNumericEntities&&"iso-8859-1"===h&&(b=u(b)),-1<v.indexOf("[]=")&&(b=i(b)?[b]:b),c[y]=o.call(c,y)?r.combine(c[y],b):b}return c},f=function(t,e,n,r){for(var o=r?e:s(e,n),i=t.length-1;0<=i;--i){var a,u=t[i];if("[]"===u&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,f=parseInt(c,10);n.parseArrays||""!==c?!isNaN(f)&&u!==c&&f+""===c&&0<=f&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=o:a[c]=o:a={0:o}}o=a}return o},p=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,u=0<n.depth&&/(\[[^[\]]*])/.exec(i),s=u?i.slice(0,u.index):i,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var p=0;0<n.depth&&null!==(u=a.exec(i))&&p<n.depth;){if(p+=1,!n.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),f(c,e,n,r)}},l=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var n=l(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof t?c(t,n):t,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),u=0;u<a.length;++u){var s=a[u],f=p(s,o[s],n,"string"==typeof t);i=r.merge(i,f,n)}return r.compact(i)}},function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(2),i=n(24),a=n(92),u=n(30),s=r(n(27));s.Axios=a,s.create=function(t){return r(u(s.defaults,t))},s.Cancel=n(31),s.CancelToken=n(105),s.isCancel=n(26),s.all=function(t){return Promise.all(t)},s.spread=n(106),t.exports=s,t.exports.default=s},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=n(2),i=n(25),a=n(93),u=n(94),s=n(30);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method=t.method?t.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var e=[u,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},r.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}})),o.forEach(["post","put","patch"],(function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(2),i=n(95),a=n(26),u=n(27);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||u.adapter)(t).then((function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(29);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(100),o=n(101);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(2),o=["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"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&0<=o.indexOf(e))return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(2);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new o(t),e(n.reason))}))}var o=n(31);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";function r(t){var e,n=t.config,r=t.response;if(n.headers&&n.headers.Authorization){var o="...".concat(n.headers.Authorization.substr(-5));n.headers.Authorization="Bearer ".concat(o)}if(!Bt()(r)||!Bt()(n))throw t;var i=null==r?void 0:r.data,a={status:null==r?void 0:r.status,statusText:null==r?void 0:r.statusText,message:"",details:{}};Bt()(n)&&(a.request={url:n.url,headers:n.headers,method:n.method,payloadData:n.data}),i&&Bt()(i)&&("requestId"in i&&(a.requestId=i.requestId||"UNKNOWN"),"message"in i&&(a.message=i.message||""),"details"in i&&(a.details=i.details||{}),"sys"in i&&"id"in i.sys&&(e=i.sys.id));var u=new Error;throw u.name=e&&"Unknown"!==e?e:"".concat(null==r?void 0:r.status," ").concat(null==r?void 0:r.statusText),u.message=JSON.stringify(a,null," "),u}function o(t,e){return Object.keys(e).reduce((function(t,n){return Object.defineProperty(t,n,{enumerable:!1,configurable:!0,writable:!1,value:e[n]}),t}),t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?i(Object(e),!0).forEach((function(n){u(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod,i=t.headers;return function(){var t=this,u=t.toPlainObject(),s=Ht()(u);return delete s.sys,e.put(n+"/"+t.sys.id,s,{headers:a({"X-Contentful-Version":t.sys.version||0},i)}).then((function(t){return o(e,t.data)}),r)}}function c(t){var e=t.http,n=t.entityPath;return function(){return e.delete(n+"/"+this.sys.id).then((function(){}),r)}}function f(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod;return function(){return e.put(n+"/"+this.sys.id+"/published",null,{headers:{"X-Contentful-Version":this.sys.version}}).then((function(t){return o(e,t.data)}),r)}}function p(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod;return function(){return e.delete(n+"/"+this.sys.id+"/published").then((function(t){return o(e,t.data)}),r)}}function l(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod;return function(){return e.put(n+"/"+this.sys.id+"/archived").then((function(t){return o(e,t.data)}),r)}}function d(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod;return function(){return e.delete(n+"/"+this.sys.id+"/archived").then((function(t){return o(e,t.data)}),r)}}function h(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:Xt,wrapperMethod:h}),delete:c({http:t,entityPath:Xt})}}(t));return Object(Ft.c)(n)}function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?y(Object(e),!0).forEach((function(n){v(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){console.warn(["Deprecated: Space.".concat(t,"() will be removed in future major versions."),null,"Please migrate your code to use Environment.".concat(t,"():"),"https://contentful.github.io/contentful-management.js/contentful-management/latest/ContentfulEnvironmentAPI.html#.".concat(t),null].join("\n"))}function g(){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)")}function w(t){function e(t){return i.post("assets",t).then((function(t){return j(i,t.data)}),r)}function n(t){m("createUpload");var e=t.file;return e?a.post("uploads",e,{headers:{"Content-Type":"application/octet-stream"}}).then((function(t){return Z(a,t.data)})).catch(r):Promise.reject(new Error("Unable to locate a file to upload."))}function o(t){t.select&&!/sys/i.test(t.select)&&(t.select+=",sys")}var i=t.http,a=t.httpUpload,u=Ce.space.wrapSpace,s=Ce.environment,c=s.wrapEnvironment,f=s.wrapEnvironmentCollection,p=Ce.contentType,l=p.wrapContentType,d=p.wrapContentTypeCollection,h=Ce.entry,y=h.wrapEntry,w=h.wrapEntryCollection,O=Ce.asset,j=O.wrapAsset,x=O.wrapAssetCollection,_=Ce.locale,P=_.wrapLocale,C=_.wrapLocaleCollection,A=Ce.webhook,E=A.wrapWebhook,S=A.wrapWebhookCollection,T=Ce.role,k=T.wrapRole,U=T.wrapRoleCollection,M=Ce.user,L=M.wrapUser,R=M.wrapUserCollection,z=Ce.spaceMember,D=z.wrapSpaceMember,N=z.wrapSpaceMemberCollection,I=Ce.spaceMembership,q=I.wrapSpaceMembership,F=I.wrapSpaceMembershipCollection,W=Ce.teamSpaceMembership,B=W.wrapTeamSpaceMembership,V=W.wrapTeamSpaceMembershipCollection,H=Ce.apiKey,K=H.wrapApiKey,X=H.wrapApiKeyCollection,Q=Ce.previewApiKey,$=Q.wrapPreviewApiKey,J=Q.wrapPreviewApiKeyCollection,G=Ce.snapshot.wrapSnapshotCollection,Y=Ce.editorInterface.wrapEditorInterface,Z=Ce.upload.wrapUpload,tt=Ce.uiExtension,et=tt.wrapUiExtension,nt=tt.wrapUiExtensionCollection,rt=Ce.environmentAlias,ot=rt.wrapEnvironmentAlias,it=rt.wrapEnvironmentAliasCollection;return{delete:function(){return i.delete("").then((function(){}),r)},update:function(){var t=this.toPlainObject(),e=Ht()(t);return delete e.sys,i.put("",e,{headers:{"X-Contentful-Version":t.sys.version}}).then((function(t){return u(i,t.data)}),r)},getEnvironment:function(t){return i.get("environments/"+t).then((function(t){return c(i,t.data)}),r)},getEnvironments:function(){return i.get("environments").then((function(t){return f(i,t.data)}),r)},createEnvironment:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.post("environments",t).then((function(t){return c(i,t.data)}),r)},createEnvironmentWithId:function(t,e,n){return i.put("environments/"+t,e,{headers:n?{"X-Contentful-Source-Environment":n}:{}}).then((function(t){return c(i,t.data)}),r)},getContentType:function(t){return m("getContentType"),i.get("content_types/"+t).then((function(t){return l(i,t.data)}),r)},getContentTypes:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return m("getContentTypes"),i.get("content_types",Object(Ft.b)({query:t})).then((function(t){return d(i,t.data)}),r)},createContentType:function(t){return m("createContentType"),i.post("content_types",t).then((function(t){return l(i,t.data)}),r)},createContentTypeWithId:function(t,e){return m("createContentTypeWithId"),i.put("content_types/"+t,e).then((function(t){return l(i,t.data)}),r)},getEditorInterfaceForContentType:function(t){return m("getEditorInterfaceForContentType"),i.get("content_types/"+t+"/editor_interface").then((function(t){return Y(i,t.data)}),r)},getEntry:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return m("getEntry"),o(e),i.get("entries/"+t,Object(Ft.b)({query:e})).then((function(t){return y(i,t.data)}),r)},getEntries:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return m("getEntries"),o(t),i.get("entries",Object(Ft.b)({query:t})).then((function(t){return w(i,t.data)}),r)},createEntry:function(t,e){return m("createEntry"),i.post("entries",e,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return y(i,t.data)}),r)},createEntryWithId:function(t,e,n){return m("createEntryWithId"),i.put("entries/"+e,n,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return y(i,t.data)}),r)},createUpload:n,createAsset:e,getAsset:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return m("getAsset"),o(e),i.get("assets/"+t,Object(Ft.b)({query:e})).then((function(t){return j(i,t.data)}),r)},getAssets:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return m("getAssets"),o(t),i.get("assets",Object(Ft.b)({query:t})).then((function(t){return x(i,t.data)}),r)},createAssetWithId:function(t,e){return m("createAssetWithId"),i.put("assets/"+t,e).then((function(t){return j(i,t.data)}),r)},createAssetFromFiles:function(t){m("createAssetFromFiles");var o=t.fields.file;return Promise.all(Object.keys(o).map((function(t){var e=o[t],r=e.contentType,i=e.fileName;return n(o[t]).then((function(e){return v({},t,{contentType:r,fileName:i,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:e.sys.id}}})}))}))).then((function(n){return t.fields.file=n.reduce((function(t,e){return b(b({},t),e)}),{}),e(t)})).catch(r)},getUpload:function(t){return m("getUpload"),a.get("uploads/"+t).then((function(t){return Z(i,t.data)})).catch(r)},getLocale:function(t){return m("getLocale"),i.get("locales/"+t).then((function(t){return P(i,t.data)}),r)},getLocales:function(){return m("getLocales"),i.get("locales").then((function(t){return C(i,t.data)}),r)},createLocale:function(t){return m("createLocale"),i.post("locales",t).then((function(t){return P(i,t.data)}),r)},getWebhook:function(t){return i.get("webhook_definitions/"+t).then((function(t){return E(i,t.data)}),r)},getWebhooks:function(){return i.get("webhook_definitions").then((function(t){return S(i,t.data)}),r)},createWebhook:function(t){return i.post("webhook_definitions",t).then((function(t){return E(i,t.data)}),r)},createWebhookWithId:function(t,e){return i.put("webhook_definitions/"+t,e).then((function(t){return E(i,t.data)}),r)},getRole:function(t){return i.get("roles/"+t).then((function(t){return k(i,t.data)}),r)},getRoles:function(){return i.get("roles").then((function(t){return U(i,t.data)}),r)},createRole:function(t){return i.post("roles",t).then((function(t){return k(i,t.data)}),r)},createRoleWithId:function(t,e){return i.put("roles/"+t,e).then((function(t){return k(i,t.data)}),r)},getSpaceUser:function(t){return i.get("users/"+t).then((function(t){return L(i,t.data)}),r)},getSpaceUsers:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("users/",Object(Ft.b)({query:t})).then((function(t){return R(i,t.data)}),r)},getSpaceMember:function(t){return i.get("space_members/"+t).then((function(t){return D(i,t.data)}),r)},getSpaceMembers:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("space_members",Object(Ft.b)({query:t})).then((function(t){return N(i,t.data)}),r)},getSpaceMembership:function(t){return g(),i.get("space_memberships/"+t).then((function(t){return q(i,t.data)}),r)},getSpaceMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return g(),i.get("space_memberships",Object(Ft.b)({query:t})).then((function(t){return F(i,t.data)}),r)},createSpaceMembership:function(t){return g(),i.post("space_memberships",t).then((function(t){return q(i,t.data)}),r)},createSpaceMembershipWithId:function(t,e){return g(),i.put("space_memberships/"+t,e).then((function(t){return q(i,t.data)}),r)},getTeamSpaceMembership:function(t){return i.get("team_space_memberships/"+t).then((function(t){return B(i,t.data)}),r)},getTeamSpaceMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("team_space_memberships",Object(Ft.b)({query:t})).then((function(t){return V(i,t.data)}),r)},createTeamSpaceMembership:function(t,e){return i.post("team_space_memberships",e,{headers:{"x-contentful-team":t}}).then((function(t){return B(i,t.data)}),r)},getApiKey:function(t){return i.get("api_keys/"+t).then((function(t){return K(i,t.data)}),r)},getApiKeys:function(){return i.get("api_keys").then((function(t){return X(i,t.data)}),r)},getPreviewApiKeys:function(){return i.get("preview_api_keys").then((function(t){return J(i,t.data)}),r)},getPreviewApiKey:function(t){return i.get("preview_api_keys/"+t).then((function(t){return $(i,t.data)}),r)},createApiKey:function(t){return i.post("api_keys",t).then((function(t){return K(i,t.data)}),r)},createApiKeyWithId:function(t,e){return i.put("api_keys/"+t,e).then((function(t){return K(i,t.data)}),r)},getUiExtension:function(t){return m("getUiExtension"),i.get("extensions/"+t).then((function(t){return et(i,t.data)}),r)},getUiExtensions:function(){return m("getUiExtensions"),i.get("extensions").then((function(t){return nt(i,t.data)}),r)},createUiExtension:function(t){return m("createUiExtension"),i.post("extensions",t).then((function(t){return et(i,t.data)}),r)},createUiExtensionWithId:function(t,e){return m("createUiExtensionWithId"),i.put("extensions/"+t,e).then((function(t){return et(i,t.data)}),r)},getEntrySnapshots:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return m("getEntrySnapshots"),i.get("entries/".concat(t,"/snapshots"),Object(Ft.b)({query:e})).then((function(t){return G(i,t.data)}),r)},getContentTypeSnapshots:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return m("getContentTypeSnapshots"),i.get("content_types/".concat(t,"/snapshots"),Object(Ft.b)({query:e})).then((function(t){return G(i,t.data)}),r)},getEnvironmentAlias:function(t){return i.get("environment_aliases/"+t).then((function(t){return ot(i,t.data)}),r)},getEnvironmentAliases:function(){return i.get("environment_aliases").then((function(t){return it(i,t.data)}),r)}}}function O(t,e){var n=t,r=Object(Ft.e)(Ht()(e)),i=n.httpClientParams,a=i.hostUpload,u=i.defaultHostnameUpload,s=o(r,w({http:n.cloneWithNewParams({space:r.sys.id}),httpUpload:n.cloneWithNewParams({space:r.sys.id,host:a||u})}));return Object(Ft.c)(s)}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?j(Object(e),!0).forEach((function(n){_(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):j(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function P(t){function e(t){return i.post("assets",t).then((function(t){return y(i,t.data)}),r)}function n(t){var e=t.file;return e?a.post("uploads",e,{headers:{"Content-Type":"application/octet-stream"}}).then((function(t){return j(a,t.data)})).catch(r):Promise.reject(new Error("Unable to locate a file to upload."))}function o(t){t.select&&!/sys/i.test(t.select)&&(t.select+=",sys")}var i=t.http,a=t.httpUpload,u=Ce.environment.wrapEnvironment,s=Ce.contentType,c=s.wrapContentType,f=s.wrapContentTypeCollection,p=Ce.entry,l=p.wrapEntry,d=p.wrapEntryCollection,h=Ce.asset,y=h.wrapAsset,b=h.wrapAssetCollection,v=Ce.locale,m=v.wrapLocale,g=v.wrapLocaleCollection,w=Ce.snapshot.wrapSnapshotCollection,O=Ce.editorInterface.wrapEditorInterface,j=Ce.upload.wrapUpload,P=Ce.uiExtension,C=P.wrapUiExtension,A=P.wrapUiExtensionCollection,E=Ce.appInstallation,S=E.wrapAppInstallation,T=E.wrapAppInstallationCollection;return{delete:function(){return i.delete("").then((function(){}),r)},update:function(){var t=this.toPlainObject(),e=Ht()(t);return delete e.sys,i.put("",e,{headers:{"X-Contentful-Version":t.sys.version}}).then((function(t){return u(i,t.data)}),r)},getEntryFromData:function(t){return l(i,t)},getAssetFromData:function(t){return y(i,t)},getContentType:function(t){return i.get("content_types/"+t).then((function(t){return c(i,t.data)}),r)},getContentTypes:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("content_types",Object(Ft.b)({query:t})).then((function(t){return f(i,t.data)}),r)},createContentType:function(t){return i.post("content_types",t).then((function(t){return c(i,t.data)}),r)},createContentTypeWithId:function(t,e){return i.put("content_types/"+t,e).then((function(t){return c(i,t.data)}),r)},getEditorInterfaceForContentType:function(t){return i.get("content_types/"+t+"/editor_interface").then((function(t){return O(i,t.data)}),r)},getEntry:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return o(e),i.get("entries/"+t,Object(Ft.b)({query:e})).then((function(t){return l(i,t.data)}),r)},getEntries:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return o(t),i.get("entries",Object(Ft.b)({query:t})).then((function(t){return d(i,t.data)}),r)},createEntry:function(t,e){return i.post("entries",e,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return l(i,t.data)}),r)},createEntryWithId:function(t,e,n){return i.put("entries/"+e,n,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return l(i,t.data)}),r)},getAsset:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return o(e),i.get("assets/"+t,Object(Ft.b)({query:e})).then((function(t){return y(i,t.data)}),r)},getAssets:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return o(t),i.get("assets",Object(Ft.b)({query:t})).then((function(t){return b(i,t.data)}),r)},createAsset:e,createAssetWithId:function(t,e){return i.put("assets/"+t,e).then((function(t){return y(i,t.data)}),r)},createAssetFromFiles:function(t){var o=t.fields.file;return Promise.all(Object.keys(o).map((function(t){var e=o[t],r=e.contentType,i=e.fileName;return n(o[t]).then((function(e){return _({},t,{contentType:r,fileName:i,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:e.sys.id}}})}))}))).then((function(n){var r=n.reduce((function(t,e){return x(x({},t),e)}),{});return e(x(x({},t),{},{fields:x(x({},t.fields),{},{file:r})}))})).catch(r)},getUpload:function(t){return a.get("uploads/"+t).then((function(t){return j(i,t.data)})).catch(r)},createUpload:n,getLocale:function(t){return i.get("locales/"+t).then((function(t){return m(i,t.data)}),r)},getLocales:function(){return i.get("locales").then((function(t){return g(i,t.data)}),r)},createLocale:function(t){return i.post("locales",t).then((function(t){return m(i,t.data)}),r)},getUiExtension:function(t){return i.get("extensions/"+t).then((function(t){return C(i,t.data)}),r)},getUiExtensions:function(){return i.get("extensions").then((function(t){return A(i,t.data)}),r)},createUiExtension:function(t){return i.post("extensions",t).then((function(t){return C(i,t.data)}),r)},createUiExtensionWithId:function(t,e){return i.put("extensions/"+t,e).then((function(t){return C(i,t.data)}),r)},createAppInstallation:function(t,e){return i.put("app_installations/"+t,e).then((function(t){return S(i,t.data)}),r)},getAppInstallation:function(t){return i.get("app_installations/"+t).then((function(t){return S(i,t.data)}),r)},getAppInstallations:function(){return i.get("app_installations").then((function(t){return T(i,t.data)}),r)},getEntrySnapshots:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.get("entries/".concat(t,"/snapshots"),Object(Ft.b)({query:e})).then((function(t){return w(i,t.data)}),r)},getContentTypeSnapshots:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.get("content_types/".concat(t,"/snapshots"),Object(Ft.b)({query:e})).then((function(t){return w(i,t.data)}),r)}}}function C(t,e){var n=t,r=Object(Ft.e)(Ht()(e)),i=n.httpClientParams,a=i.hostUpload,u=i.defaultHostnameUpload,s=o(r,P({http:n.cloneWithNewParams({baseURL:t.defaults.baseURL+"environments/"+r.sys.id}),httpUpload:n.cloneWithNewParams({space:r.sys.space.sys.id,host:a||u})}));return Object(Ft.c)(s)}function A(t,e){var n=o(Object(Ft.e)(Ht()(e)),{});return Object(Ft.c)(n)}function E(t){return{update:s({http:t,entityPath:"entries",wrapperMethod:S}),delete:c({http:t,entityPath:"entries"}),publish:f({http:t,entityPath:"entries",wrapperMethod:S}),unpublish:p({http:t,entityPath:"entries",wrapperMethod:S}),archive:l({http:t,entityPath:"entries",wrapperMethod:S}),unarchive:d({http:t,entityPath:"entries",wrapperMethod:S}),getSnapshots:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t.get("entries/".concat(this.sys.id,"/snapshots"),Object(Ft.b)({query:e})).then((function(e){return Gt(t,e.data)}),r)},getSnapshot:function(e){return t.get("entries/".concat(this.sys.id,"/snapshots/").concat(e)).then((function(t){return A(0,t.data)}),r)},isPublished:function(){return!!this.sys.publishedVersion},isUpdated:function(){var t=this;return!!(t.sys.publishedVersion&&t.sys.version>t.sys.publishedVersion+1)},isDraft:function(){return!this.sys.publishedVersion},isArchived:function(){return!!this.sys.archivedVersion}}}function S(t,e){var n=o(Object(Ft.e)(Ht()(e)),E(t));return Object(Ft.c)(n)}function T(t){function e(n){var o=n.resolve,i=n.reject,a=n.id,u=n.locale,s=n.processingCheckWait,c=void 0===s?Zt:s,f=n.processingCheckRetries,p=void 0===f?te:f,l=n.checkCount,d=void 0===l?0:l;t.get("assets/"+a).then((function(e){return k(t,e.data)}),r).then((function(t){if(t.fields.file[u].url)o(t);else if(d===p){var n=new Error;n.name="AssetProcessingTimeout",n.message="Asset is taking longer then expected to process.",i(n)}else d++,setTimeout((function(){return e({resolve:o,reject:i,id:a,locale:u,checkCount:d,processingCheckWait:c,processingCheckRetries:p})}),c)}))}function n(n){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=o.processingCheckWait,a=o.processingCheckRetries,u=this.sys.id;return t.put("assets/"+this.sys.id+"/files/"+n+"/process",null,{headers:{"X-Contentful-Version":this.sys.version}}).then((function(){return new Promise((function(t,r){return e({resolve:t,reject:r,id:u,locale:n,processingCheckWait:i,processingCheckRetries:a})}))}),r)}return{update:s({http:t,entityPath:"assets",wrapperMethod:k}),delete:c({http:t,entityPath:"assets"}),publish:f({http:t,entityPath:"assets",wrapperMethod:k}),unpublish:p({http:t,entityPath:"assets",wrapperMethod:k}),archive:l({http:t,entityPath:"assets",wrapperMethod:k}),unarchive:d({http:t,entityPath:"assets",wrapperMethod:k}),processForLocale:n,processForAllLocales:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=this,r=Object.keys(this.fields.file||{}),o=void 0,i=r.map((function(r){return n.call(e,r,t).then((function(t){o=t}))}));return Promise.all(i).then((function(){return o}))},isPublished:function(){return!!this.sys.publishedVersion},isUpdated:function(){var t=this;return!!(t.sys.publishedVersion&&t.sys.version>t.sys.publishedVersion+1)},isDraft:function(){return!this.sys.publishedVersion},isArchived:function(){return!!this.sys.archivedVersion}}}function k(t,e){var n=o(Object(Ft.e)(Ht()(e)),T(t));return Object(Ft.c)(n)}function U(t){return{update:function(){var e=this,n=e.toPlainObject(),o=Ht()(n);return delete o.sys,t.put("content_types/".concat(e.sys.contentType.sys.id,"/editor_interface"),o,{headers:{"X-Contentful-Version":e.sys.version}}).then((function(e){return M(t,e.data)}),r)},getControlForField:function(t){var e=this.controls.filter((function(e){return e.fieldId===t}));return e&&0<e.length?e[0]:null}}}function M(t,e){var n=o(Object(Ft.e)(Ht()(e)),U(t));return Object(Ft.c)(n)}function L(t){return{update:s({http:t,entityPath:"content_types",wrapperMethod:R}),delete:c({http:t,entityPath:"content_types"}),publish:f({http:t,entityPath:"content_types",wrapperMethod:R}),unpublish:p({http:t,entityPath:"content_types",wrapperMethod:R}),getEditorInterface:function(){return t.get("content_types/"+this.sys.id+"/editor_interface").then((function(e){return M(t,e.data)}),r)},getSnapshots:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t.get("content_types/".concat(this.sys.id,"/snapshots"),Object(Ft.b)({query:e})).then((function(e){return Gt(t,e.data)}),r)},getSnapshot:function(e){return t.get("content_types/".concat(this.sys.id,"/snapshots/").concat(e)).then((function(t){return A(0,t.data)}),r)},isPublished:function(){return!!this.sys.publishedVersion},isUpdated:function(){var t=this;return!!(t.sys.publishedVersion&&t.sys.version>t.sys.publishedVersion+1)},isDraft:function(){return!this.sys.publishedVersion},omitAndDeleteField:function(t){return ne(this,t,"omitted",!0).then((function(e){return ne(e,t,"deleted",!0)})).catch(r)}}}function R(t,e){var n=o(Object(Ft.e)(Ht()(e)),L(t));return Object(Ft.c)(n)}function z(t,e){delete e.internal_code;var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:function(){return delete this.default,s({http:t,entityPath:"locales",wrapperMethod:z}).call(this)},delete:c({http:t,entityPath:"locales"})}}(t));return Object(Ft.c)(n)}function D(t){return{update:s({http:t,entityPath:ie,wrapperMethod:N}),delete:c({http:t,entityPath:ie}),getCalls:function(){return t.get("webhooks/"+this.sys.id+"/calls").then((function(t){return t.data}),r)},getCall:function(e){return t.get("webhooks/"+this.sys.id+"/calls/"+e).then((function(t){return t.data}),r)},getHealth:function(){return t.get("webhooks/"+this.sys.id+"/health").then((function(t){return t.data}),r)}}}function N(t,e){var n=o(Object(Ft.e)(Ht()(e)),D(t));return Object(Ft.c)(n)}function I(t,e){var n=Object(Ft.e)(Ht()(e));return Object(Ft.c)(n)}function q(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:"space_memberships",wrapperMethod:q}),delete:c({http:t,entityPath:"space_memberships"})}}(t));return Object(Ft.c)(n)}function F(t){return{update:function(){var e=this.toPlainObject(),n=Ht()(e);return delete n.sys,t.put("team_space_memberships/"+this.sys.id,n,{headers:{"X-Contentful-Version":this.sys.version||0,"x-contentful-team":this.sys.team.sys.id}}).then((function(e){return W(t,e.data)}),r)},delete:c({http:t,entityPath:"team_space_memberships"})}}function W(t,e){var n=o(Object(Ft.e)(Ht()(e)),F(t));return Object(Ft.c)(n)}function B(t){return{update:function(){var e=this,n=e.toPlainObject().role;return t.put("organization_memberships/"+e.sys.id,{role:n},{headers:{"X-Contentful-Version":e.sys.version||0}}).then((function(e){return V(t,e.data)}),r)},delete:c({http:t,entityPath:"organization_memberships"})}}function V(t,e){var n=o(Object(Ft.e)(Ht()(e)),B(t));return Object(Ft.c)(n)}function H(t,e){var n=Object(Ft.e)(Ht()(e));return Object(Ft.c)(n)}function K(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:"roles",wrapperMethod:K}),delete:c({http:t,entityPath:"roles"})}}(t));return Object(Ft.c)(n)}function X(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:function(){var e=this;return"accessToken"in e&&delete e.accessToken,"preview_api_key"in e&&delete e.preview_api_key,"policies"in e&&delete e.policies,s({http:t,entityPath:"api_keys",wrapperMethod:X}).call(e)},delete:c({http:t,entityPath:"api_keys"})}}(t));return Object(Ft.c)(n)}function Q(t,e){var n=o(Object(Ft.e)(Ht()(e)),{});return Object(Ft.c)(n)}function $(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{delete:c({http:t,entityPath:"uploads"})}}(t));return Object(Ft.c)(n)}function J(t){var e=t.http,n=Ce.appDefinition,o=n.wrapAppDefinition,i=n.wrapAppDefinitionCollection,a=Ce.user,u=a.wrapUser,s=a.wrapUserCollection,c=Ce.organizationMembership,f=c.wrapOrganizationMembership,p=c.wrapOrganizationMembershipCollection,l=Ce.teamMembership,d=l.wrapTeamMembership,h=l.wrapTeamMembershipCollection,y=Ce.teamSpaceMembership,b=y.wrapTeamSpaceMembership,v=y.wrapTeamSpaceMembershipCollection,m=Ce.team,g=m.wrapTeam,w=m.wrapTeamCollection,O=Ce.spaceMembership,j=O.wrapSpaceMembership,x=O.wrapSpaceMembershipCollection,_=Ce.organizationInvitation.wrapOrganizationInvitation,P={"x-contentful-enable-alpha-feature":"organization-user-management-api"};return{getUser:function(t){return e.get("users/"+t).then((function(t){return u(e,t.data)}),r)},getUsers:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("users",Object(Ft.b)({query:t})).then((function(t){return s(e,t.data)}),r)},getOrganizationMembership:function(t){return e.get("organization_memberships/"+t).then((function(t){return f(e,t.data)}),r)},getOrganizationMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("organization_memberships",Object(Ft.b)({query:t})).then((function(t){return p(e,t.data)}),r)},createTeam:function(t){return e.post("teams",t).then((function(t){return g(e,t.data)}),r)},getTeam:function(t){return e.get("teams/"+t).then((function(t){return g(e,t.data)}),r)},getTeams:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("teams",Object(Ft.b)({query:t})).then((function(t){return w(e,t.data)}),r)},createTeamMembership:function(t,n){return e.post("teams/"+t+"/team_memberships",n).then((function(t){return d(e,t.data)}),r)},getTeamMembership:function(t,n){return e.get("teams/"+t+"/team_memberships/"+n).then((function(t){return d(e,t.data)}),r)},getTeamMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=ye()(t,"query",{});return t.teamId?e.get("teams/"+t.teamId+"/team_memberships",Object(Ft.b)({query:n})).then((function(t){return h(e,t.data)}),r):e.get("team_memberships",Object(Ft.b)({query:n})).then((function(t){return h(e,t.data)}),r)},getTeamSpaceMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=ye()(t,"query",{});return t.teamId&&(n["sys.team.sys.id"]=t.teamId),e.get("team_space_memberships",Object(Ft.b)({query:n})).then((function(t){return v(e,t.data)}),r)},getTeamSpaceMembership:function(t){return e.get("team_space_memberships/"+t).then((function(t){return b(e,t.data)}),r)},getOrganizationSpaceMembership:function(t){return e.get("space_memberships/"+t).then((function(t){return j(e,t.data)}),r)},getOrganizationSpaceMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("space_memberships",Object(Ft.b)({query:t})).then((function(t){return x(e,t.data)}),r)},getOrganizationInvitation:function(t){return e.get("invitations/"+t,{headers:P}).then((function(t){return _(e,t.data)}),r)},createOrganizationInvitation:function(t){return e.post("invitations",t,{headers:{"x-contentful-enable-alpha-feature":"pending-org-membership"}}).then((function(t){return _(e,t.data)}),r)},createAppDefinition:function(t){return e.post("app_definitions",t).then((function(t){return o(e,t.data)}),r)},getAppDefinitions:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("app_definitions",Object(Ft.b)({query:t})).then((function(t){return i(e,t.data)}),r)},getAppDefinition:function(t){return e.get("app_definitions/"+t).then((function(t){return o(e,t.data)}),r)}}}function G(t,e){var n=Object(Ft.e)(Ht()(e)),r=(t.defaults.baseURL||"").replace("/spaces/","/organizations/")+n.sys.id+"/",i=o(n,J({http:t.cloneWithNewParams({baseURL:r})}));return Object(Ft.c)(i)}function Y(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:"extensions",wrapperMethod:Y}),delete:c({http:t,entityPath:"extensions"})}}(t));return Object(Ft.c)(n)}function Z(t){return{update:function(){var e=this.toPlainObject(),n=Ht()(e);return delete n.sys,t.put("app_installations/".concat(this.sys.appDefinition.sys.id),n).then((function(e){return tt(t,e.data)}),r)},delete:c({http:t,entityPath:"app_installations"})}}function tt(t,e){var n=o(Object(Ft.e)(Ht()(e)),Z(t));return Object(Ft.c)(n)}function et(t,e){var n=o(Object(Ft.e)(Ht()(e)),{});return Object(Ft.c)(n)}function nt(t){return{revoke:function(){var e=(t.defaults.baseURL||"").replace("/spaces/","/users/me/access_tokens");return t.put("".concat(this.sys.id,"/revoked"),null,{baseURL:e}).then((function(t){return t.data}),r)}}}function rt(t,e){var n=o(Object(Ft.e)(Ht()(e)),nt(t));return Object(Ft.c)(n)}function ot(t,e){var n=o(Object(Ft.e)(Ht()(e)),{});return Object(Ft.c)(n)}function it(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:"environment_aliases",wrapperMethod:it})}}(t));return Object(Ft.c)(n)}function at(t,e){var n=o(Object(Ft.e)(Ht()(e)),function(t){return{update:s({http:t,entityPath:xe,wrapperMethod:at}),delete:c({http:t,entityPath:xe})}}(t));return Object(Ft.c)(n)}function ut(t){return{update:function(){var e=this.toPlainObject(),n=e.sys.team.sys.id;return t.put("teams/"+n+"/team_memberships/"+this.sys.id,e,{headers:{"X-Contentful-Version":this.sys.version||0}}).then((function(e){return st(t,e.data)}),r)},delete:function(){var e=this.toPlainObject().sys.team.sys.id;return t.delete("teams/"+e+"/team_memberships/"+this.sys.id).then((function(){}),r)}}}function st(t,e){var n=o(Object(Ft.e)(Ht()(e)),ut(t));return Object(Ft.c)(n)}function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ft(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?ct(Object(e),!0).forEach((function(n){pt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ct(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lt(t){return function(t){var e=t.http,n=Ce.space,o=n.wrapSpace,i=n.wrapSpaceCollection,a=Ce.user.wrapUser,u=Ce.personalAccessToken,s=u.wrapPersonalAccessToken,c=u.wrapPersonalAccessTokenCollection,f=Ce.organization,p=f.wrapOrganization,l=f.wrapOrganizationCollection,d=Ce.usage.wrapUsageCollection;return{getSpaces:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("",Object(Ft.b)({query:t})).then((function(t){return i(e,t.data)}),r)},getSpace:function(t){return e.get(t).then((function(t){return o(e,t.data)}),r)},createSpace:function(t,n){return e.post("",t,{headers:n?{"X-Contentful-Organization":n}:{}}).then((function(t){return o(e,t.data)}),r)},getOrganization:function(t){var n,o,i=null===(n=e.defaults)||void 0===n||null===(o=n.baseURL)||void 0===o?void 0:o.replace("/spaces/","/organizations/");return e.get("",{baseURL:i}).then((function(n){var r=n.data.items.find((function(e){return e.sys.id===t}));if(!r){var o=new Error("No organization was found with the ID ".concat(t," instead got ").concat(JSON.stringify(n)));return o.status=404,o.statusText="Not Found",Promise.reject(o)}return p(e,r)}),r)},getOrganizations:function(){var t,n,o=null===(t=e.defaults)||void 0===t||null===(n=t.baseURL)||void 0===n?void 0:n.replace("/spaces/","/organizations/");return e.get("",{baseURL:o}).then((function(t){return l(e,t.data)}),r)},getCurrentUser:function(){var t,n,o=null===(t=e.defaults)||void 0===t||null===(n=t.baseURL)||void 0===n?void 0:n.replace("/spaces/","/users/me/");return e.get("",{baseURL:o}).then((function(t){return a(e,t.data)}),r)},createPersonalAccessToken:function(t){var n,o,i=null===(n=e.defaults)||void 0===n||null===(o=n.baseURL)||void 0===o?void 0:o.replace("/spaces/","/users/me/access_tokens");return e.post("",t,{baseURL:i}).then((function(t){return s(e,t.data)}),r)},getPersonalAccessToken:function(t){var n,o,i=null===(n=e.defaults)||void 0===n||null===(o=n.baseURL)||void 0===o?void 0:o.replace("/spaces/","/users/me/access_tokens");return e.get(t,{baseURL:i}).then((function(t){return s(e,t.data)}),r)},getPersonalAccessTokens:function(){var t,n,o=null===(t=e.defaults)||void 0===t||null===(n=t.baseURL)||void 0===n?void 0:n.replace("/spaces/","/users/me/access_tokens");return e.get("",{baseURL:o}).then((function(t){return c(e,t.data)}),r)},getOrganizationUsage:function(t){var n,o,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=null===(n=e.defaults)||void 0===n||null===(o=n.baseURL)||void 0===o?void 0:o.replace("/spaces/","/organizations/".concat(t,"/organization_periodic_usages"));return e.get("",{baseURL:a,params:i}).then((function(t){return d(e,t.data)}),r)},getSpaceUsage:function(t){var n,o,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=null===(n=e.defaults)||void 0===n||null===(o=n.baseURL)||void 0===o?void 0:o.replace("/spaces/","/organizations/".concat(t,"/space_periodic_usages"));return e.get("",{baseURL:a,params:i}).then((function(t){return d(e,t.data)}),r)},rawRequest:function(t){return e(t).then((function(t){return t.data}),r)}}}({http:function(t){var e=Object(Ft.d)("contentful-management.js/".concat("5.27.1"),t.application,t.integration,t.feature);if(!(t=ft(ft({},{defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"}),Ht()(t))).accessToken)throw new TypeError("Expected parameter accessToken");return t.headers=ft(ft({},t.headers),{"Content-Type":"application/vnd.contentful.management.v1+json","X-Contentful-User-Agent":e}),Object(Ft.a)(Ee.a,t)}(t)})}n.r(e),n.d(e,"createClient",(function(){return lt}));var dt={};n.r(dt),n.d(dt,"wrapAppDefinition",(function(){return h})),n.d(dt,"wrapAppDefinitionCollection",(function(){return Qt}));var ht={};n.r(ht),n.d(ht,"wrapSpace",(function(){return O})),n.d(ht,"wrapSpaceCollection",(function(){return $t}));var yt={};n.r(yt),n.d(yt,"wrapEnvironment",(function(){return C})),n.d(yt,"wrapEnvironmentCollection",(function(){return Jt}));var bt={};n.r(bt),n.d(bt,"wrapSnapshot",(function(){return A})),n.d(bt,"wrapSnapshotCollection",(function(){return Gt}));var vt={};n.r(vt),n.d(vt,"wrapEntry",(function(){return S})),n.d(vt,"wrapEntryCollection",(function(){return Yt}));var mt={};n.r(mt),n.d(mt,"wrapAsset",(function(){return k})),n.d(mt,"wrapAssetCollection",(function(){return ee}));var gt={};n.r(gt),n.d(gt,"wrapEditorInterface",(function(){return M}));var wt={};n.r(wt),n.d(wt,"wrapContentType",(function(){return R})),n.d(wt,"wrapContentTypeCollection",(function(){return re}));var Ot={};n.r(Ot),n.d(Ot,"wrapLocale",(function(){return z})),n.d(Ot,"wrapLocaleCollection",(function(){return oe}));var jt={};n.r(jt),n.d(jt,"wrapWebhook",(function(){return N})),n.d(jt,"wrapWebhookCollection",(function(){return ae}));var xt={};n.r(xt),n.d(xt,"wrapSpaceMember",(function(){return I})),n.d(xt,"wrapSpaceMemberCollection",(function(){return ue}));var _t={};n.r(_t),n.d(_t,"wrapSpaceMembership",(function(){return q})),n.d(_t,"wrapSpaceMembershipCollection",(function(){return se}));var Pt={};n.r(Pt),n.d(Pt,"wrapTeamSpaceMembership",(function(){return W})),n.d(Pt,"wrapTeamSpaceMembershipCollection",(function(){return ce}));var Ct={};n.r(Ct),n.d(Ct,"wrapOrganizationMembership",(function(){return V})),n.d(Ct,"wrapOrganizationMembershipCollection",(function(){return fe}));var At={};n.r(At),n.d(At,"wrapOrganizationInvitation",(function(){return H}));var Et={};n.r(Et),n.d(Et,"wrapRole",(function(){return K})),n.d(Et,"wrapRoleCollection",(function(){return pe}));var St={};n.r(St),n.d(St,"wrapApiKey",(function(){return X})),n.d(St,"wrapApiKeyCollection",(function(){return le}));var Tt={};n.r(Tt),n.d(Tt,"wrapPreviewApiKey",(function(){return Q})),n.d(Tt,"wrapPreviewApiKeyCollection",(function(){return de}));var kt={};n.r(kt),n.d(kt,"wrapUpload",(function(){return $}));var Ut={};n.r(Ut),n.d(Ut,"wrapOrganization",(function(){return G})),n.d(Ut,"wrapOrganizationCollection",(function(){return be}));var Mt={};n.r(Mt),n.d(Mt,"wrapUiExtension",(function(){return Y})),n.d(Mt,"wrapUiExtensionCollection",(function(){return ve}));var Lt={};n.r(Lt),n.d(Lt,"wrapAppInstallation",(function(){return tt})),n.d(Lt,"wrapAppInstallationCollection",(function(){return me}));var Rt={};n.r(Rt),n.d(Rt,"wrapUser",(function(){return et})),n.d(Rt,"wrapUserCollection",(function(){return ge}));var zt={};n.r(zt),n.d(zt,"wrapPersonalAccessToken",(function(){return rt})),n.d(zt,"wrapPersonalAccessTokenCollection",(function(){return we}));var Dt={};n.r(Dt),n.d(Dt,"wrapUsage",(function(){return ot})),n.d(Dt,"wrapUsageCollection",(function(){return Oe}));var Nt={};n.r(Nt),n.d(Nt,"wrapEnvironmentAlias",(function(){return it})),n.d(Nt,"wrapEnvironmentAliasCollection",(function(){return je}));var It={};n.r(It),n.d(It,"wrapTeam",(function(){return at})),n.d(It,"wrapTeamCollection",(function(){return _e}));var qt={};n.r(qt),n.d(qt,"wrapTeamMembership",(function(){return st})),n.d(qt,"wrapTeamMembershipCollection",(function(){return Pe}));var Ft=n(0),Wt=n(3),Bt=n.n(Wt),Vt=n(1),Ht=n.n(Vt),Kt=function(t){return function(e,n){var r=Object(Ft.e)(Ht()(n));return r.items=r.items.map((function(n){return t(e,n)})),r}},Xt="app_definitions",Qt=Kt(h),$t=Kt(O),Jt=Kt(C),Gt=Kt(A),Yt=Kt(S),Zt=3e3,te=10,ee=Kt(k),ne=function(t,e,n,r){var o=t.fields.find((function(t){return t.id===e}));return o?(o[n]=r,t.update()):Promise.reject(new Error("Tried to omitAndDeleteField on a nonexistent field, ".concat(e,", on the content type ").concat(t.name,".")))},re=Kt(R),oe=Kt(z),ie="webhook_definitions",ae=Kt(N),ue=Kt(I),se=Kt(q),ce=Kt(W),fe=Kt(V),pe=Kt(K),le=Kt(X),de=Kt(Q),he=n(13),ye=n.n(he),be=Kt(G),ve=Kt(Y),me=Kt(tt),ge=Kt(et),we=Kt(rt),Oe=Kt(ot),je=Kt(it),xe="teams",_e=Kt(at),Pe=Kt(st),Ce={appDefinition:dt,space:ht,environment:yt,entry:vt,asset:mt,contentType:wt,editorInterface:gt,locale:Ot,webhook:jt,spaceMember:xt,spaceMembership:_t,teamSpaceMembership:Pt,organizationMembership:Ct,organizationInvitation:At,role:Et,apiKey:St,previewApiKey:Tt,upload:kt,organization:Ut,uiExtension:Mt,appInstallation:Lt,snapshot:bt,user:Rt,personalAccessToken:zt,usage:Dt,environmentAlias:Nt,team:It,teamMembership:qt},Ae=n(33),Ee=n.n(Ae)}])}));
\No newline at end of file