UNPKG

103 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(){var t=Math.min,e=Math.floor;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=78)}([function(t,n,r){"use strict";(function(t){function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,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){o(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){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 c(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)?c(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 c(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(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5,r=t.defaults,o=r.responseLogger,i=void 0===o?function(){}:o,a=r.requestLogger,u=void 0===a?function(){}:a;t.interceptors.request.use((function(t){return u(t),t}),(function(t){return Promise.reject(t)})),t.interceptors.response.use((function(t){return i(t),t}),(function(r){var o=Math.pow,i=r.response,a=r.config;if(!a||!t.defaults.retryOnError)return Promise.reject(r);var u=null,c=0;if(i)S=0;else{if(u="Connection",++S>n)return r.attempts=S,Promise.reject(r);c=o(Math.SQRT2,S),i={}}if(500<=i.status&&600>i.status){u="Server ".concat(i.status);var s=(i.headers||{})["x-contentful-request-id"]||null;if(P[s]=P[s]||0,P[s]++,P[s]>n||!s)return r.attempts=P[s],Promise.reject(r);c=o(Math.SQRT2,P[s])}else 429===i.status&&(u="Rate limit",i.headers&&r.response.headers["x-contentful-ratelimit-reset"]&&(c=i.headers["x-contentful-ratelimit-reset"]));return u?(c=e(1e3*c+200*Math.random()+500),t.defaults.logHandler("warning","".concat(u," error occurred. Waiting for ").concat(c," ms before retrying...")),delete a.httpAgent,delete a.httpsAgent,function(t){return new Promise((function(e){setTimeout(e,t)}))}(c).then((function(){return t(a)}))):Promise.reject(r)}))}function f(){return void 0!==t&&!t.browser}function p(){return t.versions&&t.versions.node?"v".concat(t.versions.node):t.version}function l(t,e){var n=a({},{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",i=n.space?"".concat(n.space,"/"):"",c=n.defaultHostname,d=n.insecure?80:443;if(n.host&&C.test(n.host)){var h=n.host.split(":");if(2===h.length){var v=u(h,2);c=v[0],d=v[1]}else c=h[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var y=e.baseURL||"".concat(o,"://").concat(c,":").concat(d).concat(n.basePath,"/spaces/").concat(i);n.headers.Authorization||(n.headers.Authorization="Bearer "+n.accessToken),f()&&(n.headers["user-agent"]="node.js/"+p(),n.headers["Accept-Encoding"]="gzip");var m={baseURL:y,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:O.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},b=t.create(m);return b.httpClientParams=e,b.cloneWithNewParams=function(n){return l(t,a({},g()(e),{},n))},s(b,n.retryLimit),b}function d(t){var e=t.query,n={};return delete e.resolveLinks,n.params=g()(e),n}function h(t){return function t(e){return Object.keys(e).forEach((function(n){var r=e[n];x()(r)&&t(r)})),Object.freeze(e)}(t.sys||{}),t}function v(){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 y(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=v(),o.push("platform ReactNative")):f()?(i=function(){var t=Object(_.platform)()||"linux",e=Object(_.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(p()))):(i=v(),o.push("platform browser"))}catch(e){i=null}return i&&o.push("os ".concat(i)),"".concat(o.filter((function(t){return""!==t})).join("; "),";")}function m(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return g()(this)}})}r.d(n,"a",(function(){return l})),r.d(n,"b",(function(){return d})),r.d(n,"c",(function(){return h})),r.d(n,"d",(function(){return y})),r.d(n,"e",(function(){return m}));var b=r(1),g=r.n(b),w=r(76),O=r.n(w),j=r(7),x=r.n(j),_=r(43),P=(r.n(_),{}),S=0,C=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/}).call(this,r(58))},function(t,e,n){var r=n(114);t.exports=function(t){return r(t,5)}},function(t,e,n){var r=n(25)("wks"),o=n(27),i=n(3).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,e,n){"use strict";function r(t){return"[object Array]"===s.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&"object"==typeof t}function a(t){return"[object Function]"===s.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 c=n(68),s=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:function(t){return"[object ArrayBuffer]"===s.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]"===s.call(t)},isFile:function(t){return"[object File]"===s.call(t)},isBlob:function(t){return"[object Blob]"===s.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?c(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,e,n){var r=n(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(167),o=n(66),i=n(168),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,f=c.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=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},function(t,e,n){var r=n(12),o=n(30);t.exports=n(9)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(28)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(5),i=n(8),a=n(11),u=n(14),c="prototype",s=function(t,e,n){var f,p,l,d,h=t&s.F,v=t&s.G,y=t&s.S,m=t&s.P,b=t&s.B,g=v?r:y?r[e]||(r[e]={}):(r[e]||{})[c],w=v?o:o[e]||(o[e]={}),O=w[c]||(w[c]={});for(f in v&&(n=e),n)l=((p=!h&&g&&void 0!==g[f])?g:n)[f],d=b&&p?u(l,r):m&&"function"==typeof l?u(Function.call,l):l,g&&a(g,f,l,t&s.U),w[f]!=l&&i(w,f,d),m&&O[f]!=l&&(O[f]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(3),o=n(8),i=n(17),a=n(27)("src"),u=n(83),c="toString",s=(""+u).split(c);n(5).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]===n||(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:s.join(e+""))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||u.call(this)}))},function(t,e,n){var r=n(6),o=n(81),i=n(82),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(18);t.exports=function(t,e,n){return r(t),void 0===e?t:1===n?function(n){return t.call(e,n)}:2===n?function(n,r){return t.call(e,n,r)}:3===n?function(n,r,o){return t.call(e,n,r,o)}:function(){return t.apply(e,arguments)}}},function(t){t.exports={}},function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},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(116),i=n(117),a=n(118),u=n(119),c=n(120);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){var r=n(59);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(40)(Object,"create");t.exports=r},function(t,e,n){var r=n(137);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(62),o=n(63);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var s=e[u],f=i?i(n[s],t[s],s,n,t):void 0;void 0===f&&(f=t[s]),a?o(n,s,f):r(n,s,f)}return n}},function(t,e,n){var r=n(16),o=n(2)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(e){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(5),o=n(3),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0===e?{}:e)})("versions",[]).push({version:r.version,mode:n(26)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t){t.exports=!1},function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),o=n(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t){var n=Math.ceil;t.exports=function(t){return isNaN(t=+t)?0:(0<t?e:n)(t)}},function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(88),o=n(48);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(47),o=n(32);t.exports=function(t){return r(o(t))}},function(e,n,r){var o=r(31);e.exports=function(e){return 0<e?t(o(e),9007199254740991):0}},function(t,e,n){var r=n(25)("keys"),o=n(27);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(12).f,o=n(17),i=n(2)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(32);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=o(e),this.reject=o(n)}var o=n(18);t.exports.f=function(t){return new r(t)}},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),c=0;c<u.length;++c){var s=u[c],f=a[s];"object"==typeof f&&null!==f&&-1===n.indexOf(f)&&(e.push({obj:a,prop:s}),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(169);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},function(t,e,n){"use strict";var r=n(84)(!0);n(46)(String,"String",(function(t){this._t=t+"",this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(26),o=n(10),i=n(11),a=n(8),u=n(15),c=n(85),s=n(37),f=n(91),p=n(2)("iterator"),l=!([].keys&&"next"in[].keys()),d="keys",h="values",v=function(){return this};t.exports=function(t,e,n,y,m,b,g){c(n,e,y);var w,O,j,x=function(t){return!l&&t in C?C[t]:function(){return new n(this,t)}},_=e+" Iterator",P=m==h,S=!1,C=t.prototype,A=C[p]||C["@@iterator"]||m&&C[m],E=A||x(m),T=m?P?x("entries"):E:void 0,k="Array"==e&&C.entries||A;if(k&&((j=f(k.call(new t)))!==Object.prototype&&j.next&&(s(j,_,!0),!r&&"function"!=typeof j[p]&&a(j,p,v))),P&&A&&A.name!==h&&(S=!0,E=function(){return A.call(this)}),(!r||g)&&(l||S||!C[p])&&a(C,p,E),u[e]=E,u[_]=v,m)if(w={values:P?E:x(h),keys:b?E:x(d),entries:T},g)for(O in w)O in C||i(C,O,w[O]);else o(o.P+o.F*(l||S),e,w);return w}},function(t,e,n){var r=n(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(6);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,e,n){var r=n(15),o=n(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(24),o=n(2)("iterator"),i=n(15);t.exports=n(5).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(6),o=n(18),i=n(2)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r,o,i,a=n(14),u=n(99),c=n(49),s=n(29),f=n(3),p=f.process,l=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},b="onreadystatechange",g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){g.call(t.data)};l&&d||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete m[t]},"process"==n(16)(p)?r=function(t){p.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):r=b in s("script")?function(t){c.appendChild(s("script"))[b]=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:l,clear:d}},function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(6),o=n(13),i=n(39);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(2)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(e){}return n}},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(c===setTimeout)return setTimeout(t,0);if((c===e||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.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(s===clearTimeout)return clearTimeout(t);if((s===n||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(t);try{s(t)}catch(e){try{return s.call(null,t)}catch(e){return s.call(this,t)}}}(t)}}function a(t,e){this.fun=t,this.array=e}function u(){}var c,s,f=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:e}catch(t){c=e}try{s="function"==typeof clearTimeout?clearTimeout:n}catch(t){s=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(40)(n(61),"Map");t.exports=r},function(t,e,n){var r=n(126),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(63),o=n(59),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(142);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(41)(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(41)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(42),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(4);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(4),i=n(175),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(72)):t=n(72),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(58))},function(t,e,n){"use strict";var r=n(4),o=n(176),i=n(69),a=n(178),u=n(181),c=n(182),s=n(73);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||"",v=t.auth.password||"";l.Authorization="Basic "+btoa(h+":"+v)}var y=a(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),i(y,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(s("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(s("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(s(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var m=n(183),b=(t.withCredentials||c(y))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;b&&(l[t.xsrfHeaderName]=b)}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(177);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(4);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),c=Object.keys(e).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(c,(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(165),o=n(166),i=n(67);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){t.exports=n(170)},function(t,e,n){n(79),n(106),n(111),t.exports=n(186)},function(t,e,n){n(80),n(45),n(92),n(96),n(104),n(105),t.exports=n(5).Promise},function(t,e,n){"use strict";var r=n(24);({})[n(2)("toStringTag")]="z",n(11)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){t.exports=!n(9)&&!n(28)((function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(13);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports=n(25)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(31),o=n(32);t.exports=function(t){return function(e,n){var i,a,u=o(e)+"",c=r(n),s=u.length;return 0>c||c>=s?t?"":void 0:55296>(i=u.charCodeAt(c))||56319<i||c+1===s||56320>(a=u.charCodeAt(c+1))||57343<a?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(86),o=n(30),i=n(37),a={};n(8)(a,n(2)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(6),o=n(87),i=n(48),a=n(36)("IE_PROTO"),u=function(){},c="prototype",s=function(){var t,e=n(29)("iframe"),r=i.length;for(e.style.display="none",n(49).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s[c][i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null===t?n=s():(u[c]=r(t),n=new u,u[c]=null,n[a]=t),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(12),o=n(6),i=n(33);t.exports=n(9)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(17),o=n(34),i=n(89)(!1),a=n(36)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;e.length>c;)r(u,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(34),o=n(35),i=n(90);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(e,n,r){var o=r(31),i=Math.max;e.exports=function(e,n){return 0>(e=o(e))?i(e+n,0):t(e,n)}},function(t,e,n){var r=n(17),o=n(38),i=n(36)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){for(var r=n(93),o=n(33),i=n(11),a=n(3),u=n(8),c=n(15),s=n(2),f=s("iterator"),p=s("toStringTag"),l=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v<h.length;v++){var y,m=h[v],b=d[m],g=a[m],w=g&&g.prototype;if(w&&(w[f]||u(w,f,l),w[p]||u(w,p,m),c[m]=l,b))for(y in r)w[y]||i(w,y,r[y],!0)}},function(t,e,n){"use strict";var r=n(94),o=n(95),i=n(15),a=n(34);t.exports=n(46)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(2)("unscopables"),o=Array.prototype;null==o[r]&&n(8)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r,o,i,a,u=n(26),c=n(3),s=n(14),f=n(24),p=n(10),l=n(13),d=n(18),h=n(97),v=n(98),y=n(53),m=n(54).set,b=n(100)(),g=n(39),w=n(55),O=n(101),j=n(56),x="Promise",_=c.TypeError,P=c.process,S=P&&P.versions,C=S&&S.v8||"",A=c[x],E="process"==f(P),T=function(){},k=o=g.f,M=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(2)("species")]=function(t){t(T,T)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==C.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(e){}}(),L=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},U=function(t,e){if(!t._n){t._n=!0;var n=t._c;b((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(!o&&(2==t._h&&N(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),a=!0)),n===e.promise?s(_("Promise-chain cycle")):(i=L(n))?i.call(n,c,s):c(n)):s(r)}catch(e){f&&!a&&f.exit(),s(e)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)}))}},R=function(t){m.call(c,(function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=w((function(){E?P.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=E||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(c,(function(){var e;E?P.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},z=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,!e._a&&(e._a=e._c.slice()),U(e,!0))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=L(t))?b((function(){var r={_w:n,_d:!1};try{e.call(t,s(I,r,1),s(z,r,1))}catch(t){z.call(r,t)}})):(n._v=t,n._s=1,U(n,!1))}catch(e){z.call({_w:n,_d:!1},e)}}};M||(A=function(t){h(this,A,x,"_h"),d(t),r.call(this);try{t(s(I,this,1),s(z,this,1))}catch(t){z.call(this,t)}},(r=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(102)(A.prototype,{then:function(t,e){var n=k(y(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&U(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(z,t,1)},g.f=k=function(t){return t===A||t===a?new i(t):o(t)}),p(p.G+p.W+p.F*!M,{Promise:A}),n(37)(A,x),n(103)(x),a=n(5)[x],p(p.S+p.F*!M,x,{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(u||!M),x,{resolve:function(t){return j(u&&this===a?A:this,t)}}),p(p.S+p.F*!(M&&n(57)((function(t){A.all(t).catch(T)}))),x,{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(t,!1,(function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[u]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=k(e),r=n.reject,o=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(14),o=n(50),i=n(51),a=n(6),u=n(35),c=n(52),s={},f={};(e=t.exports=function(t,e,n,p,l){var d,h,v,y,m=l?function(){return t}:c(t),b=r(n,p,e?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=u(t.length);d>g;g++)if((y=e?b(a(h=t[g])[0],h[1]):b(t[g]))===s||y===f)return y}else for(v=m.call(t);!(h=v.next()).done;)if((y=o(v,b,h.value,e))===s||y===f)return y}).BREAK=s,e.RETURN=f},function(t){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(3),o=n(54).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(16)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var p=!0,l=document.createTextNode("");new i(s).observe(l,{characterData:!0}),n=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){var r=n(3).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(9),a=n(2)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(10),o=n(5),i=n(3),a=n(53),u=n(56);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(10),o=n(39),i=n(55);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(107),t.exports=n(5).Object.assign},function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(108)})},function(t,e,n){"use strict";var r=n(9),o=n(33),i=n(109),a=n(110),u=n(38),c=n(47),s=Object.assign;t.exports=!s||n(28)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r}))?function(t){for(var e=u(t),n=arguments.length,s=1,f=i.f,p=a.f;n>s;)for(var l,d=c(arguments[s++]),h=f?o(d).concat(f(d)):o(d),v=h.length,y=0;v>y;)l=h[y++],(!r||p.call(d,l))&&(e[l]=d[l]);return e}:s},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){n(45),n(112),t.exports=n(5).Array.from},function(t,e,n){"use strict";var r=n(14),o=n(10),i=n(38),a=n(50),u=n(51),c=n(35),s=n(113),f=n(52);o(o.S+o.F*!n(57)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,p,l=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=1<h?arguments[1]:void 0,y=void 0!==v,m=0,b=f(l);if(y&&(v=r(v,2<h?arguments[2]:void 0,2)),null==b||d==Array&&u(b))for(n=new d(e=c(l.length));e>m;m++)s(n,m,y?v(l[m],m):l[m]);else for(p=b.call(l),n=new d;!(o=p.next()).done;m++)s(n,m,y?a(p,v,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(12),o=n(30);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(115),o=n(141),i=n(62),a=n(143),u=n(144),c=n(146),s=n(148),f=n(149),p=n(151),l=n(153),d=n(154),h=n(155),v=n(156),y=n(157),m=n(158),b=n(161),g=n(162),w=n(163),O=n(65),j=n(164),x=n(64),_=1,P=2,S=4,C="[object Arguments]",A="[object Function]",E="[object GeneratorFunction]",T="[object Object]",k={};k[C]=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[A]=k["[object WeakMap]"]=!1,t.exports=function t(e,n,M,L,U,R){var D,N=n&_,z=n&P;if(M&&(D=U?M(e,L,U,R):M(e)),void 0!==D)return D;if(!O(e))return e;var I=b(e);if(I){if(D=v(e),!N)return s(e,D)}else{var F=h(e),q=F==A||F==E;if(g(e))return c(e,N);if(F==T||F==C||q&&!U){if(D=z||q?{}:m(e),!N)return z?p(e,u(D,e)):f(e,a(D,e))}else{if(!k[F])return U?e:{};D=y(e,F,N)}}R||(R=new r);var W=R.get(e);if(W)return W;R.set(e,D),j(e)?e.forEach((function(r){D.add(t(r,n,M,r,e,R))})):w(e)&&e.forEach((function(r,o){D.set(o,t(r,n,M,o,e,R))}));var B=n&S?z?d:l:z?keysIn:x,V=I?void 0:B(e);return o(V||e,(function(r,o){V&&(r=e[o=r]),i(D,o,t(r,n,M,o,e,R))})),D}},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(19),i=n(121),a=n(122),u=n(123),c=n(124),s=n(125);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(20),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(20);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(20);t.exports=function(t){return-1<r(this.__data__,t)}},function(t,e,n){var r=n(20);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(19);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(19),o=n(60),i=n(128);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(127))},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(129),i=n(136),a=n(138),u=n(139),c=n(140);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){var r=n(130),o=n(19),i=n(60);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(131),i=n(132),a=n(133),u=n(134),c=n(135);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){var r=n(21);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(21),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(21),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(21);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(22);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(22);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(22);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(22);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(40),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){var r=n(23),o=n(64);t.exports=function(t,e){return t&&r(e,o(e),t)}},function(t,e,n){var r=n(23),o=n(145);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(61),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(147)(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(23),o=n(150);t.exports=function(t,e){return r(t,o(t),e)}},function(t){t.exports=function(){return[]}},function(t,e,n){var r=n(23),o=n(152);t.exports=function(t,e){return r(t,o(t),e)}},function(t){t.exports=function(){return[]}},function(t,e,n){var r=n(41)(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(159),o=n(66),i=n(160);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},function(t,e,n){var r=n(65),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(42),o=n(67),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,c=Array.prototype.push,s=function(t,e){c.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,c,f,p,d,h,v,y,m){var b=e;if("function"==typeof f?b=f(n,b):b instanceof Date?b=h(b):"comma"===o&&u(b)&&(b=r.maybeMap(b,(function(t){return t instanceof Date?h(t):t})).join(",")),null===b){if(i)return c&&!y?c(n,l.encoder,m,"key"):n;b=""}if(function(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"symbol"==typeof t||"bigint"==typeof t}(b)||r.isBuffer(b))return c?[v(y?n:c(n,l.encoder,m,"key"))+"="+v(c(b,l.encoder,m,"value"))]:[v(n)+"="+v(b+"")];var g,w=[];if(void 0===b)return w;if(u(f))g=f;else{var O=Object.keys(b);g=p?O.sort(p):O}for(var j=0;j<g.length;++j){var x=g[j],_=b[x];if(!a||null!==_){var P=u(b)?"function"==typeof o?o(n,x):n:n+(d?"."+x:"["+x+"]");s(w,t(_,P,o,i,a,c,f,p,d,h,v,y,m))}}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 c=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices",f=a[c];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])&&s(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 v=i.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),0<v.length?y+v:""}},function(t,e,n){"use strict";var r=n(42),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))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&-1<t.indexOf(",")?t.split(","):t},s=function(t,e){var n,s={},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 v,y,m=l[n],b=m.indexOf("]="),g=-1===b?m.indexOf("="):b+1;-1===g?(v=e.decoder(m,a.decoder,h,"key"),y=e.strictNullHandling?null:""):(v=e.decoder(m.slice(0,g),a.decoder,h,"key"),y=r.maybeMap(c(m.slice(g+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),y&&e.interpretNumericEntities&&"iso-8859-1"===h&&(y=u(y)),-1<m.indexOf("[]=")&&(y=i(y)?[y]:y),s[v]=o.call(s,v)?r.combine(s[v],y):y}return s},f=function(t,e,n,r){for(var o=r?e:c(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 s="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,f=parseInt(s,10);n.parseArrays||""!==s?!isNaN(f)&&u!==s&&f+""===s&&0<=f&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=o:a[s]=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),c=u?i.slice(0,u.index):i,s=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}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;s.push(u[1])}return u&&s.push("["+i.slice(u.index)+"]"),f(s,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?s(t,n):t,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),u=0;u<a.length;++u){var c=a[u],f=p(c,o[c],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(4),i=n(68),a=n(171),u=n(74),c=r(n(71));c.Axios=a,c.create=function(t){return r(u(c.defaults,t))},c.Cancel=n(75),c.CancelToken=n(184),c.isCancel=n(70),c.all=function(t){return Promise.all(t)},c.spread=n(185),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=n(4),i=n(69),a=n(172),u=n(173),c=n(74);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(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=c(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(4);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(4),i=n(174),a=n(70),u=n(71);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(4);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(4);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(73);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(179),o=n(180);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(4),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(4);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(4);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(75);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 c(t){var e=t.http,n=t.entityPath,o=t.wrapperMethod,i=t.headers;return function(){var t=this,u=t.toPlainObject(),c=Ht()(u);return delete c.sys,e.put(n+"/"+t.sys.id,c,{headers:a({"X-Contentful-Version":t.sys.version||0},i)}).then((function(t){return o(e,t.data)}),r)}}function s(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(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:Xt,wrapperMethod:h}),delete:s({http:t,entityPath:Xt})}}(t));return Object(qt.c)(n)}function v(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 y(t){for(var e,n=1;n<arguments.length;n++)e=null==arguments[n]?{}:arguments[n],n%2?v(Object(e),!0).forEach((function(n){m(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}));return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b(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){b("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=Se.space.wrapSpace,c=Se.environment,s=c.wrapEnvironment,f=c.wrapEnvironmentCollection,p=Se.contentType,l=p.wrapContentType,d=p.wrapContentTypeCollection,h=Se.entry,v=h.wrapEntry,w=h.wrapEntryCollection,O=Se.asset,j=O.wrapAsset,x=O.wrapAssetCollection,_=Se.locale,P=_.wrapLocale,S=_.wrapLocaleCollection,C=Se.webhook,A=C.wrapWebhook,E=C.wrapWebhookCollection,T=Se.role,k=T.wrapRole,M=T.wrapRoleCollection,L=Se.user,U=L.wrapUser,R=L.wrapUserCollection,D=Se.spaceMember,N=D.wrapSpaceMember,z=D.wrapSpaceMemberCollection,I=Se.spaceMembership,F=I.wrapSpaceMembership,q=I.wrapSpaceMembershipCollection,W=Se.teamSpaceMembership,B=W.wrapTeamSpaceMembership,V=W.wrapTeamSpaceMembershipCollection,H=Se.apiKey,K=H.wrapApiKey,X=H.wrapApiKeyCollection,Q=Se.previewApiKey,G=Q.wrapPreviewApiKey,$=Q.wrapPreviewApiKeyCollection,J=Se.snapshot.wrapSnapshotCollection,Y=Se.editorInterface.wrapEditorInterface,Z=Se.upload.wrapUpload,tt=Se.uiExtension,et=tt.wrapUiExtension,nt=tt.wrapUiExtensionCollection,rt=Se.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 s(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 s(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 s(i,t.data)}),r)},getContentType:function(t){return b("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 b("getContentTypes"),i.get("content_types",Object(qt.b)({query:t})).then((function(t){return d(i,t.data)}),r)},createContentType:function(t){return b("createContentType"),i.post("content_types",t).then((function(t){return l(i,t.data)}),r)},createContentTypeWithId:function(t,e){return b("createContentTypeWithId"),i.put("content_types/"+t,e).then((function(t){return l(i,t.data)}),r)},getEditorInterfaceForContentType:function(t){return b("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 b("getEntry"),o(e),i.get("entries/"+t,Object(qt.b)({query:e})).then((function(t){return v(i,t.data)}),r)},getEntries:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return b("getEntries"),o(t),i.get("entries",Object(qt.b)({query:t})).then((function(t){return w(i,t.data)}),r)},createEntry:function(t,e){return b("createEntry"),i.post("entries",e,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return v(i,t.data)}),r)},createEntryWithId:function(t,e,n){return b("createEntryWithId"),i.put("entries/"+e,n,{headers:{"X-Contentful-Content-Type":t}}).then((function(t){return v(i,t.data)}),r)},createUpload:n,createAsset:e,getAsset:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return b("getAsset"),o(e),i.get("assets/"+t,Object(qt.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 b("getAssets"),o(t),i.get("assets",Object(qt.b)({query:t})).then((function(t){return x(i,t.data)}),r)},createAssetWithId:function(t,e){return b("createAssetWithId"),i.put("assets/"+t,e).then((function(t){return j(i,t.data)}),r)},createAssetFromFiles:function(t){b("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 m({},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 y(y({},t),e)}),{}),e(t)})).catch(r)},getUpload:function(t){return b("getUpload"),a.get("uploads/"+t).then((function(t){return Z(i,t.data)})).catch(r)},getLocale:function(t){return b("getLocale"),i.get("locales/"+t).then((function(t){return P(i,t.data)}),r)},getLocales:function(){return b("getLocales"),i.get("locales").then((function(t){return S(i,t.data)}),r)},createLocale:function(t){return b("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 A(i,t.data)}),r)},getWebhooks:function(){return i.get("webhook_definitions").then((function(t){return E(i,t.data)}),r)},createWebhook:function(t){return i.post("webhook_definitions",t).then((function(t){return A(i,t.data)}),r)},createWebhookWithId:function(t,e){return i.put("webhook_definitions/"+t,e).then((function(t){return A(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 M(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 U(i,t.data)}),r)},getSpaceUsers:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("users/",Object(qt.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 N(i,t.data)}),r)},getSpaceMembers:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("space_members",Object(qt.b)({query:t})).then((function(t){return z(i,t.data)}),r)},getSpaceMembership:function(t){return g(),i.get("space_memberships/"+t).then((function(t){return F(i,t.data)}),r)},getSpaceMemberships:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return g(),i.get("space_memberships",Object(qt.b)({query:t})).then((function(t){return q(i,t.data)}),r)},createSpaceMembership:function(t){return g(),i.post("space_memberships",t).then((function(t){return F(i,t.data)}),r)},createSpaceMembershipWithId:function(t,e){return g(),i.put("space_memberships/"+t,e).then((function(t){return F(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(qt.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 $(i,t.data)}),r)},getPreviewApiKey:function(t){return i.get("preview_api_keys/"+t).then((function(t){return G(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 b("getUiExtension"),i.get("extensions/"+t).then((function(t){return et(i,t.data)}),r)},getUiExtensions:function(){return b("getUiExtensions"),i.get("extensions").then((function(t){return nt(i,t.data)}),r)},createUiExtension:function(t){return b("createUiExtension"),i.post("extensions",t).then((function(t){return et(i,t.data)}),r)},createUiExtensionWithId:function(t,e){return b("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 b("getEntrySnapshots"),i.get("entries/".concat(t,"/snapshots"),Object(qt.b)({query:e})).then((function(t){return J(i,t.data)}),r)},getContentTypeSnapshots:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return b("getContentTypeSnapshots"),i.get("content_types/".concat(t,"/snapshots"),Object(qt.b)({query:e})).then((function(t){return J(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(qt.e)(Ht()(e)),i=n.httpClientParams,a=i.hostUpload,u=i.defaultHostnameUpload,c=o(r,w({http:n.cloneWithNewParams({space:r.sys.id}),httpUpload:n.cloneWithNewParams({space:r.sys.id,host:a||u})}));return Object(qt.c)(c)}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 v(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=Se.environment.wrapEnvironment,c=Se.contentType,s=c.wrapContentType,f=c.wrapContentTypeCollection,p=Se.entry,l=p.wrapEntry,d=p.wrapEntryCollection,h=Se.asset,v=h.wrapAsset,y=h.wrapAssetCollection,m=Se.locale,b=m.wrapLocale,g=m.wrapLocaleCollection,w=Se.snapshot.wrapSnapshotCollection,O=Se.editorInterface.wrapEditorInterface,j=Se.upload.wrapUpload,P=Se.uiExtension,S=P.wrapUiExtension,C=P.wrapUiExtensionCollection,A=Se.appInstallation,E=A.wrapAppInstallation,T=A.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 v(i,t)},getContentType:function(t){return i.get("content_types/"+t).then((function(t){return s(i,t.data)}),r)},getContentTypes:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i.get("content_types",Object(qt.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 s(i,t.data)}),r)},createContentTypeWithId:function(t,e){return i.put("content_types/"+t,e).then((function(t){return s(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(qt.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(qt.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(qt.b)({query:e})).then((function(t){return v(i,t.data)}),r)},getAssets:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return o(t),i.get("assets",Object(qt.b)({query:t})).then((function(t){return y(i,t.data)}),r)},createAsset:e,createAssetWithId:function(t,e){return i.put("assets/"+t,e).then((function(t){return v(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 b(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 b(i,t.data)}),r)},getUiExtension:function(t){return i.get("extensions/"+t).then((function(t){return S(i,t.data)}),r)},getUiExtensions:function(){return i.get("extensions").then((function(t){return C(i,t.data)}),r)},createUiExtension:function(t){return i.post("extensions",t).then((function(t){return S(i,t.data)}),r)},createUiExtensionWithId:function(t,e){return i.put("extensions/"+t,e).then((function(t){return S(i,t.data)}),r)},createAppInstallation:function(t,e){return i.put("app_installations/"+t,e).then((function(t){return E(i,t.data)}),r)},getAppInstallation:function(t){return i.get("app_installations/"+t).then((function(t){return E(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(qt.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(qt.b)({query:e})).then((function(t){return w(i,t.data)}),r)}}}function S(t,e){var n=t,r=Object(qt.e)(Ht()(e)),i=n.httpClientParams,a=i.hostUpload,u=i.defaultHostnameUpload,c=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(qt.c)(c)}function C(t,e){var n=o(Object(qt.e)(Ht()(e)),{});return Object(qt.c)(n)}function A(t){return{update:c({http:t,entityPath:"entries",wrapperMethod:E}),delete:s({http:t,entityPath:"entries"}),publish:f({http:t,entityPath:"entries",wrapperMethod:E}),unpublish:p({http:t,entityPath:"entries",wrapperMethod:E}),archive:l({http:t,entityPath:"entries",wrapperMethod:E}),unarchive:d({http:t,entityPath:"entries",wrapperMethod:E}),getSnapshots:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t.get("entries/".concat(this.sys.id,"/snapshots"),Object(qt.b)({query:e})).then((function(e){return Jt(t,e.data)}),r)},getSnapshot:function(e){return t.get("entries/".concat(this.sys.id,"/snapshots/").concat(e)).then((function(t){return C(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 E(t,e){var n=o(Object(qt.e)(Ht()(e)),A(t));return Object(qt.c)(n)}function T(t){function e(n){var o=n.resolve,i=n.reject,a=n.id,u=n.locale,c=n.processingCheckWait,s=void 0===c?Zt:c,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:s,processingCheckRetries:p})}),s)}))}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:c({http:t,entityPath:"assets",wrapperMethod:k}),delete:s({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(qt.e)(Ht()(e)),T(t));return Object(qt.c)(n)}function M(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 L(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 L(t,e){var n=o(Object(qt.e)(Ht()(e)),M(t));return Object(qt.c)(n)}function U(t){return{update:c({http:t,entityPath:"content_types",wrapperMethod:R}),delete:s({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 L(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(qt.b)({query:e})).then((function(e){return Jt(t,e.data)}),r)},getSnapshot:function(e){return t.get("content_types/".concat(this.sys.id,"/snapshots/").concat(e)).then((function(t){return C(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(qt.e)(Ht()(e)),U(t));return Object(qt.c)(n)}function D(t,e){delete e.internal_code;var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:function(){return delete this.default,c({http:t,entityPath:"locales",wrapperMethod:D}).call(this)},delete:s({http:t,entityPath:"locales"})}}(t));return Object(qt.c)(n)}function N(t){return{update:c({http:t,entityPath:ie,wrapperMethod:z}),delete:s({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 z(t,e){var n=o(Object(qt.e)(Ht()(e)),N(t));return Object(qt.c)(n)}function I(t,e){var n=Object(qt.e)(Ht()(e));return Object(qt.c)(n)}function F(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:"space_memberships",wrapperMethod:F}),delete:s({http:t,entityPath:"space_memberships"})}}(t));return Object(qt.c)(n)}function q(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:s({http:t,entityPath:"team_space_memberships"})}}function W(t,e){var n=o(Object(qt.e)(Ht()(e)),q(t));return Object(qt.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:s({http:t,entityPath:"organization_memberships"})}}function V(t,e){var n=o(Object(qt.e)(Ht()(e)),B(t));return Object(qt.c)(n)}function H(t,e){var n=Object(qt.e)(Ht()(e));return Object(qt.c)(n)}function K(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:"roles",wrapperMethod:K}),delete:s({http:t,entityPath:"roles"})}}(t));return Object(qt.c)(n)}function X(t,e){var n=o(Object(qt.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,c({http:t,entityPath:"api_keys",wrapperMethod:X}).call(e)},delete:s({http:t,entityPath:"api_keys"})}}(t));return Object(qt.c)(n)}function Q(t,e){var n=o(Object(qt.e)(Ht()(e)),{});return Object(qt.c)(n)}function G(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{delete:s({http:t,entityPath:"uploads"})}}(t));return Object(qt.c)(n)}function $(t){var e=t.http,n=Se.appDefinition,o=n.wrapAppDefinition,i=n.wrapAppDefinitionCollection,a=Se.user,u=a.wrapUser,c=a.wrapUserCollection,s=Se.organizationMembership,f=s.wrapOrganizationMembership,p=s.wrapOrganizationMembershipCollection,l=Se.teamMembership,d=l.wrapTeamMembership,h=l.wrapTeamMembershipCollection,v=Se.teamSpaceMembership,y=v.wrapTeamSpaceMembership,m=v.wrapTeamSpaceMembershipCollection,b=Se.team,g=b.wrapTeam,w=b.wrapTeamCollection,O=Se.spaceMembership,j=O.wrapSpaceMembership,x=O.wrapSpaceMembershipCollection,_=Se.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(qt.b)({query:t})).then((function(t){return c(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(qt.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(qt.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=ve()(t,"query",{});return t.teamId?e.get("teams/"+t.teamId+"/team_memberships",Object(qt.b)({query:n})).then((function(t){return h(e,t.data)}),r):e.get("team_memberships",Object(qt.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=ve()(t,"query",{});return t.teamId&&(n["sys.team.sys.id"]=t.teamId),e.get("team_space_memberships",Object(qt.b)({query:n})).then((function(t){return m(e,t.data)}),r)},getTeamSpaceMembership:function(t){return e.get("team_space_memberships/"+t).then((function(t){return y(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(qt.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(qt.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 J(t,e){var n=Object(qt.e)(Ht()(e)),r=(t.defaults.baseURL||"").replace("/spaces/","/organizations/")+n.sys.id+"/",i=o(n,$({http:t.cloneWithNewParams({baseURL:r})}));return Object(qt.c)(i)}function Y(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:"extensions",wrapperMethod:Y}),delete:s({http:t,entityPath:"extensions"})}}(t));return Object(qt.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:s({http:t,entityPath:"app_installations"})}}function tt(t,e){var n=o(Object(qt.e)(Ht()(e)),Z(t));return Object(qt.c)(n)}function et(t,e){var n=o(Object(qt.e)(Ht()(e)),{});return Object(qt.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(qt.e)(Ht()(e)),nt(t));return Object(qt.c)(n)}function ot(t,e){var n=o(Object(qt.e)(Ht()(e)),{});return Object(qt.c)(n)}function it(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:"environment_aliases",wrapperMethod:it})}}(t));return Object(qt.c)(n)}function at(t,e){var n=o(Object(qt.e)(Ht()(e)),function(t){return{update:c({http:t,entityPath:xe,wrapperMethod:at}),delete:s({http:t,entityPath:xe})}}(t));return Object(qt.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 ct(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 ct(t,e){var n=o(Object(qt.e)(Ht()(e)),ut(t));return Object(qt.c)(n)}function st(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?st(Object(e),!0).forEach((function(n){pt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):st(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=Se.space,o=n.wrapSpace,i=n.wrapSpaceCollection,a=Se.user.wrapUser,u=Se.personalAccessToken,c=u.wrapPersonalAccessToken,s=u.wrapPersonalAccessTokenCollection,f=Se.organization,p=f.wrapOrganization,l=f.wrapOrganizationCollection,d=Se.usage.wrapUsageCollection;return{getSpaces:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.get("",Object(qt.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 c(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 c(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 s(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(qt.d)("contentful-management.js/".concat("5.27.2"),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(qt.a)(Ae.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 Gt}));var vt={};n.r(vt),n.d(vt,"wrapEnvironment",(function(){return S})),n.d(vt,"wrapEnvironmentCollection",(function(){return $t}));var yt={};n.r(yt),n.d(yt,"wrapSnapshot",(function(){return C})),n.d(yt,"wrapSnapshotCollection",(function(){return Jt}));var mt={};n.r(mt),n.d(mt,"wrapEntry",(function(){return E})),n.d(mt,"wrapEntryCollection",(function(){return Yt}));var bt={};n.r(bt),n.d(bt,"wrapAsset",(function(){return k})),n.d(bt,"wrapAssetCollection",(function(){return ee}));var gt={};n.r(gt),n.d(gt,"wrapEditorInterface",(function(){return L}));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 D})),n.d(Ot,"wrapLocaleCollection",(function(){return oe}));var jt={};n.r(jt),n.d(jt,"wrapWebhook",(function(){return z})),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 F})),n.d(_t,"wrapSpaceMembershipCollection",(function(){return ce}));var Pt={};n.r(Pt),n.d(Pt,"wrapTeamSpaceMembership",(function(){return W})),n.d(Pt,"wrapTeamSpaceMembershipCollection",(function(){return se}));var St={};n.r(St),n.d(St,"wrapOrganizationMembership",(function(){return V})),n.d(St,"wrapOrganizationMembershipCollection",(function(){return fe}));var Ct={};n.r(Ct),n.d(Ct,"wrapOrganizationInvitation",(function(){return H}));var At={};n.r(At),n.d(At,"wrapRole",(function(){return K})),n.d(At,"wrapRoleCollection",(function(){return pe}));var Et={};n.r(Et),n.d(Et,"wrapApiKey",(function(){return X})),n.d(Et,"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 G}));var Mt={};n.r(Mt),n.d(Mt,"wrapOrganization",(function(){return J})),n.d(Mt,"wrapOrganizationCollection",(function(){return ye}));var Lt={};n.r(Lt),n.d(Lt,"wrapUiExtension",(function(){return Y})),n.d(Lt,"wrapUiExtensionCollection",(function(){return me}));var Ut={};n.r(Ut),n.d(Ut,"wrapAppInstallation",(function(){return tt})),n.d(Ut,"wrapAppInstallationCollection",(function(){return be}));var Rt={};n.r(Rt),n.d(Rt,"wrapUser",(function(){return et})),n.d(Rt,"wrapUserCollection",(function(){return ge}));var Dt={};n.r(Dt),n.d(Dt,"wrapPersonalAccessToken",(function(){return rt})),n.d(Dt,"wrapPersonalAccessTokenCollection",(function(){return we}));var Nt={};n.r(Nt),n.d(Nt,"wrapUsage",(function(){return ot})),n.d(Nt,"wrapUsageCollection",(function(){return Oe}));var zt={};n.r(zt),n.d(zt,"wrapEnvironmentAlias",(function(){return it})),n.d(zt,"wrapEnvironmentAliasCollection",(function(){return je}));var It={};n.r(It),n.d(It,"wrapTeam",(function(){return at})),n.d(It,"wrapTeamCollection",(function(){return _e}));var Ft={};n.r(Ft),n.d(Ft,"wrapTeamMembership",(function(){return ct})),n.d(Ft,"wrapTeamMembershipCollection",(function(){return Pe}));var qt=n(0),Wt=n(7),Bt=n.n(Wt),Vt=n(1),Ht=n.n(Vt),Kt=function(t){return function(e,n){var r=Object(qt.e)(Ht()(n));return r.items=r.items.map((function(n){return t(e,n)})),r}},Xt="app_definitions",Qt=Kt(h),Gt=Kt(O),$t=Kt(S),Jt=Kt(C),Yt=Kt(E),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(D),ie="webhook_definitions",ae=Kt(z),ue=Kt(I),ce=Kt(F),se=Kt(W),fe=Kt(V),pe=Kt(K),le=Kt(X),de=Kt(Q),he=n(44),ve=n.n(he),ye=Kt(J),me=Kt(Y),be=Kt(tt),ge=Kt(et),we=Kt(rt),Oe=Kt(ot),je=Kt(it),xe="teams",_e=Kt(at),Pe=Kt(ct),Se={appDefinition:dt,space:ht,environment:vt,entry:mt,asset:bt,contentType:wt,editorInterface:gt,locale:Ot,webhook:jt,spaceMember:xt,spaceMembership:_t,teamSpaceMembership:Pt,organizationMembership:St,organizationInvitation:Ct,role:At,apiKey:Et,previewApiKey:Tt,upload:kt,organization:Mt,uiExtension:Lt,appInstallation:Ut,snapshot:yt,user:Rt,personalAccessToken:Dt,usage:Nt,environmentAlias:zt,team:It,teamMembership:Ft},Ce=n(77),Ae=n.n(Ce)}])}));
\No newline at end of file