@lotte-innovate/ui-component-test 0.2.48 → 0.2.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/lib/components/Editor/index.js +14 -83
  2. package/dist/lib/components/Editor/index.mjs +1 -1
  3. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  4. package/dist/lib/utils/useLoadTinyMCE.d.ts +1 -0
  5. package/dist/lib/utils/useLoadTinyMCE.js +139 -0
  6. package/dist/lib/utils/useLoadTinyMCE.mjs +2 -0
  7. package/dist/lib/utils/useLoadTinyMCE.mjs.map +1 -0
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/package.json +1 -1
  10. package/dist/lib/_virtual/_commonjs-dynamic-modules.mjs +0 -2
  11. package/dist/lib/_virtual/_commonjs-dynamic-modules.mjs.map +0 -1
  12. package/dist/lib/_virtual/_commonjsHelpers.mjs +0 -2
  13. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +0 -1
  14. package/dist/lib/_virtual/_interop_require_default.mjs +0 -2
  15. package/dist/lib/_virtual/_interop_require_default.mjs.map +0 -1
  16. package/dist/lib/_virtual/dynamic.mjs +0 -2
  17. package/dist/lib/_virtual/dynamic.mjs.map +0 -1
  18. package/dist/lib/_virtual/dynamic2.mjs +0 -2
  19. package/dist/lib/_virtual/dynamic2.mjs.map +0 -1
  20. package/dist/lib/_virtual/loadable-context.shared-runtime.mjs +0 -2
  21. package/dist/lib/_virtual/loadable-context.shared-runtime.mjs.map +0 -1
  22. package/dist/lib/_virtual/loadable.shared-runtime.mjs +0 -2
  23. package/dist/lib/_virtual/loadable.shared-runtime.mjs.map +0 -1
  24. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs +0 -2
  25. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs.map +0 -1
  26. package/dist/lib/node_modules/next/dist/shared/lib/dynamic.mjs +0 -2
  27. package/dist/lib/node_modules/next/dist/shared/lib/dynamic.mjs.map +0 -1
  28. package/dist/lib/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.mjs +0 -2
  29. package/dist/lib/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.mjs.map +0 -1
  30. package/dist/lib/node_modules/next/dist/shared/lib/loadable.shared-runtime.mjs +0 -2
  31. package/dist/lib/node_modules/next/dist/shared/lib/loadable.shared-runtime.mjs.map +0 -1
  32. package/dist/lib/node_modules/next/dynamic.mjs +0 -2
  33. package/dist/lib/node_modules/next/dynamic.mjs.map +0 -1
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=loadable-context.shared-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadable-context.shared-runtime.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=loadable.shared-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadable.shared-runtime.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__exports as r}from"../../../../_virtual/_interop_require_default.mjs";var e;function t(){if(e)return r;return e=1,r._=r._interop_require_default=function(r){return r&&r.__esModule?r:{default:r}},r}export{t as __require};
2
- //# sourceMappingURL=_interop_require_default.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_interop_require_default.mjs","sources":["../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs"],"sourcesContent":["\"use strict\";\n\nexports._ = exports._interop_require_default = _interop_require_default;\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n"],"names":["_interop_require_default_1","_","_interop_require_default","obj","__esModule","default"],"mappings":"0HAESA,EAAAC,EAAGD,EAAgCE,yBAC5C,SAAkCC,GAC9B,OAAOA,GAAOA,EAAIC,WAAaD,EAAM,CAAEE,QAASF,EACpD"}
@@ -1,2 +0,0 @@
1
- import{__module as e}from"../../../../../_virtual/dynamic2.mjs";import{__require as t}from"../../../../@swc/helpers/cjs/_interop_require_default.mjs";import r from"react";import{__require as l}from"./loadable.shared-runtime.mjs";var n;function o(){return n||(n=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(n,{noSSR:function(){return f},default:function(){return s}});const o=t(),u=o._(r),a=o._(l()),d="undefined"==typeof window;function i(e){return{default:(null==e?void 0:e.default)||e}}function f(e,t){if(delete t.webpack,delete t.modules,!d)return e(t);const r=t.loading;return()=>u.default.createElement(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function s(e,t){let r=a.default,l={loading:e=>{let{error:t,isLoading:r,pastDelay:l}=e;if(!l)return null;if("production"!==process.env.NODE_ENV){if(r)return null;if(t)return u.default.createElement("p",null,t.message,u.default.createElement("br",null),t.stack)}return null}};e instanceof Promise?l.loader=()=>e:"function"==typeof e?l.loader=e:"object"==typeof e&&(l={...l,...e}),l={...l,...t};const n=l.loader;return l.loadableGenerated&&(l={...l,...l.loadableGenerated},delete l.loadableGenerated),"boolean"!=typeof l.ssr||l.ssr?r({...l,loader:()=>null!=n?n().then(i):Promise.resolve(i((()=>null)))}):(delete l.webpack,delete l.modules,f(r,l))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)}(e,e.exports)),e.exports}e.exports;export{o as __require};
2
- //# sourceMappingURL=dynamic.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dynamic.mjs","sources":["../../../../../../../node_modules/next/dist/shared/lib/dynamic.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n noSSR: null,\n default: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n noSSR: function() {\n return noSSR;\n },\n default: function() {\n return dynamic;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _loadablesharedruntime = /*#__PURE__*/ _interop_require_default._(require(\"./loadable.shared-runtime\"));\nconst isServerSide = typeof window === \"undefined\";\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule(mod) {\n return {\n default: (mod == null ? void 0 : mod.default) || mod\n };\n}\nfunction noSSR(LoadableInitializer, loadableOptions) {\n // Removing webpack and modules means react-loadable won't try preloading\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n // This check is necessary to prevent react-loadable from initializing on the server\n if (!isServerSide) {\n return LoadableInitializer(loadableOptions);\n }\n const Loading = loadableOptions.loading;\n // This will only be rendered on the server side\n return ()=>/*#__PURE__*/ _react.default.createElement(Loading, {\n error: null,\n isLoading: true,\n pastDelay: false,\n timedOut: false\n });\n}\nfunction dynamic(dynamicOptions, options) {\n let loadableFn = _loadablesharedruntime.default;\n let loadableOptions = {\n // A loading component is not required, so we default it\n loading: (param)=>{\n let { error, isLoading, pastDelay } = param;\n if (!pastDelay) return null;\n if (process.env.NODE_ENV !== \"production\") {\n if (isLoading) {\n return null;\n }\n if (error) {\n return /*#__PURE__*/ _react.default.createElement(\"p\", null, error.message, /*#__PURE__*/ _react.default.createElement(\"br\", null), error.stack);\n }\n }\n return null;\n }\n };\n // Support for direct import(), eg: dynamic(import('../hello-world'))\n // Note that this is only kept for the edge case where someone is passing in a promise as first argument\n // The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))\n // To make sure we don't execute the import without rendering first\n if (dynamicOptions instanceof Promise) {\n loadableOptions.loader = ()=>dynamicOptions;\n // Support for having import as a function, eg: dynamic(() => import('../hello-world'))\n } else if (typeof dynamicOptions === \"function\") {\n loadableOptions.loader = dynamicOptions;\n // Support for having first argument being options, eg: dynamic({loader: import('../hello-world')})\n } else if (typeof dynamicOptions === \"object\") {\n loadableOptions = {\n ...loadableOptions,\n ...dynamicOptions\n };\n }\n // Support for passing options, eg: dynamic(import('../hello-world'), {loading: () => <p>Loading something</p>})\n loadableOptions = {\n ...loadableOptions,\n ...options\n };\n const loaderFn = loadableOptions.loader;\n const loader = ()=>loaderFn != null ? loaderFn().then(convertModule) : Promise.resolve(convertModule(()=>null));\n // coming from build/babel/plugins/react-loadable-plugin.js\n if (loadableOptions.loadableGenerated) {\n loadableOptions = {\n ...loadableOptions,\n ...loadableOptions.loadableGenerated\n };\n delete loadableOptions.loadableGenerated;\n }\n // support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).\n if (typeof loadableOptions.ssr === \"boolean\" && !loadableOptions.ssr) {\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n return noSSR(loadableFn, loadableOptions);\n }\n return loadableFn({\n ...loadableOptions,\n loader: loader\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=dynamic.js.map"],"names":["Object","defineProperty","exports","value","target","all","name","enumerable","get","_export","noSSR","default","dynamic","_interop_require_default","require$$0","_react","_","require$$1","_loadablesharedruntime","require$$2","isServerSide","window","convertModule","mod","LoadableInitializer","loadableOptions","webpack","modules","Loading","loading","createElement","error","isLoading","pastDelay","timedOut","dynamicOptions","options","loadableFn","param","process","env","NODE_ENV","message","stack","Promise","loader","loaderFn","loadableGenerated","ssr","then","resolve","__esModule","assign","module"],"mappings":"qRACAA,OAAOC,eAAwBC,EAAA,aAAc,CACzCC,OAAO,IAMX,SAAiBC,EAAQC,GACrB,IAAI,IAAIC,KAAQD,EAAIL,OAAOC,eAAeG,EAAQE,EAAM,CACpDC,YAAY,EACZC,IAAKH,EAAIC,IAEjB,CACA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jBW,IAAgB,MAAZC,EAAmBA,IAAWG,KAAK3B,GAAiBsB,QAAQM,QAAQ5B,GAAc,IAAI,kBAW9FG,EAAgBC,eAChBD,EAAgBE,QAChBjB,EAAM2B,EAAYZ,GAMjC,EAEgC,mBAApBvB,EAAQS,SAAsD,iBAApBT,EAAQS,SAA4C,OAApBT,EAAQS,eAA4D,IAA/BT,EAAQS,QAAQwC,aACzInD,OAAOC,eAAeC,EAAQS,QAAS,aAAc,CAAER,OAAO,IAC9DH,OAAOoD,OAAOlD,EAAQS,QAAST,GAC/BmD,EAAAnD,QAAiBA,EAAQS"}
@@ -1,2 +0,0 @@
1
- import{__exports as e}from"../../../../../_virtual/loadable-context.shared-runtime.mjs";import{__require as r}from"../../../../@swc/helpers/cjs/_interop_require_default.mjs";import t from"react";var o;function n(){return o||(o=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return o}});const o=r()._(t).default.createContext(null);"production"!==process.env.NODE_ENV&&(o.displayName="LoadableContext")}(e)),e}export{n as __require};
2
- //# sourceMappingURL=loadable-context.shared-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadable-context.shared-runtime.mjs","sources":["../../../../../../../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js"],"sourcesContent":["\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"LoadableContext\", {\n enumerable: true,\n get: function() {\n return LoadableContext;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst LoadableContext = _react.default.createContext(null);\nif (process.env.NODE_ENV !== \"production\") {\n LoadableContext.displayName = \"LoadableContext\";\n}\n\n//# sourceMappingURL=loadable-context.shared-runtime.js.map"],"names":["Object","defineProperty","exports","value","enumerable","get","LoadableContext","require$$0","_","require$$1","default","createContext","process","env","NODE_ENV","displayName"],"mappings":"iPAGAA,OAAOC,eAAwBC,EAAA,aAAc,CACzCC,OAAO,IAEXH,OAAOC,eAAeC,EAAS,kBAAmB,CAC9CE,YAAY,EACZC,IAAK,WACD,OAAOC,CACf,IAEA,MAEMA,EAF6EC,IAC7BC,EAAEC,GACzBC,QAAQC,cAAc,MACxB,eAAzBC,QAAQC,IAAIC,WACZR,EAAgBS,YAAc"}
@@ -1,2 +0,0 @@
1
- import{commonjsRequire as e}from"../../../../../_virtual/_commonjs-dynamic-modules.mjs";import{__exports as t}from"../../../../../_virtual/loadable.shared-runtime.mjs";import{__require as r}from"../../../../@swc/helpers/cjs/_interop_require_default.mjs";import o from"react";import{__require as s}from"./loadable-context.shared-runtime.mjs";var a;function i(){return a||(a=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const a=r()._(o),i=s();const l=[],n=[];let u=!1;function d(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((e=>(r.loading=!1,r.loaded=e,e))).catch((e=>{throw r.loading=!1,r.error=e,e})),r}function c(t,r){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},r),s=null;function d(){if(!s){const e=new m(t,o);s={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return s.promise()}if("undefined"==typeof window&&l.push(d),!u&&"undefined"!=typeof window){const t=o.webpack&&"function"==typeof e.resolveWeak?o.webpack():o.modules;t&&n.push((e=>{for(const r of t)if(e.includes(r))return d()}))}function c(e,t){!function(){d();const e=a.default.useContext(i.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((t=>{e(t)}))}();const r=a.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return a.default.useImperativeHandle(t,(()=>({retry:s.retry})),[]),a.default.useMemo((()=>{return r.loading||r.error?a.default.createElement(o.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:s.retry}):r.loaded?a.default.createElement((t=r.loaded)&&t.default?t.default:t,e):null;var t}),[e,r])}return c.preload=()=>d(),c.displayName="LoadableComponent",a.default.forwardRef(c)}class m{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout((()=>{this._update({pastDelay:!0})}),t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout((()=>{this._update({timedOut:!0})}),t.timeout))),this._res.promise.then((()=>{this._update({}),this._clearTimeouts()})).catch((e=>{this._update({}),this._clearTimeouts()})),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach((e=>e()))}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function _(e){return c(d,e)}function h(e,t){let r=[];for(;e.length;){let o=e.pop();r.push(o(t))}return Promise.all(r).then((()=>{if(e.length)return h(e,t)}))}_.preloadAll=()=>new Promise(((e,t)=>{h(l).then(e,t)})),_.preloadReady=e=>(void 0===e&&(e=[]),new Promise((t=>{const r=()=>(u=!0,t());h(n,e).then(r,r)}))),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=_.preloadReady);const p=_}(t)),t}export{i as __require};
2
- //# sourceMappingURL=loadable.shared-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadable.shared-runtime.mjs","sources":["../../../../../../../node_modules/next/dist/shared/lib/loadable.shared-runtime.js"],"sourcesContent":["// TODO: Remove use of `any` type.\n/**\n@copyright (c) 2017-present James Kyle <me@thejameskyle.com>\n MIT License\n Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n The above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\n*/ // https://github.com/jamiebuilds/react-loadable/blob/v5.5.0/src/index.js\n// Modified to be compatible with webpack 4 / Next.js\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _loadablecontextsharedruntime = require(\"./loadable-context.shared-runtime\");\nfunction resolve(obj) {\n return obj && obj.default ? obj.default : obj;\n}\nconst ALL_INITIALIZERS = [];\nconst READY_INITIALIZERS = [];\nlet initialized = false;\nfunction load(loader) {\n let promise = loader();\n let state = {\n loading: true,\n loaded: null,\n error: null\n };\n state.promise = promise.then((loaded)=>{\n state.loading = false;\n state.loaded = loaded;\n return loaded;\n }).catch((err)=>{\n state.loading = false;\n state.error = err;\n throw err;\n });\n return state;\n}\nfunction createLoadableComponent(loadFn, options) {\n let opts = Object.assign({\n loader: null,\n loading: null,\n delay: 200,\n timeout: null,\n webpack: null,\n modules: null\n }, options);\n /** @type LoadableSubscription */ let subscription = null;\n function init() {\n if (!subscription) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n const sub = new LoadableSubscription(loadFn, opts);\n subscription = {\n getCurrentValue: sub.getCurrentValue.bind(sub),\n subscribe: sub.subscribe.bind(sub),\n retry: sub.retry.bind(sub),\n promise: sub.promise.bind(sub)\n };\n }\n return subscription.promise();\n }\n // Server only\n if (typeof window === \"undefined\") {\n ALL_INITIALIZERS.push(init);\n }\n // Client only\n if (!initialized && typeof window !== \"undefined\") {\n // require.resolveWeak check is needed for environments that don't have it available like Jest\n const moduleIds = opts.webpack && typeof require.resolveWeak === \"function\" ? opts.webpack() : opts.modules;\n if (moduleIds) {\n READY_INITIALIZERS.push((ids)=>{\n for (const moduleId of moduleIds){\n if (ids.includes(moduleId)) {\n return init();\n }\n }\n });\n }\n }\n function useLoadableModule() {\n init();\n const context = _react.default.useContext(_loadablecontextsharedruntime.LoadableContext);\n if (context && Array.isArray(opts.modules)) {\n opts.modules.forEach((moduleName)=>{\n context(moduleName);\n });\n }\n }\n function LoadableComponent(props, ref) {\n useLoadableModule();\n const state = _react.default.useSyncExternalStore(subscription.subscribe, subscription.getCurrentValue, subscription.getCurrentValue);\n _react.default.useImperativeHandle(ref, ()=>({\n retry: subscription.retry\n }), []);\n return _react.default.useMemo(()=>{\n if (state.loading || state.error) {\n return /*#__PURE__*/ _react.default.createElement(opts.loading, {\n isLoading: state.loading,\n pastDelay: state.pastDelay,\n timedOut: state.timedOut,\n error: state.error,\n retry: subscription.retry\n });\n } else if (state.loaded) {\n return /*#__PURE__*/ _react.default.createElement(resolve(state.loaded), props);\n } else {\n return null;\n }\n }, [\n props,\n state\n ]);\n }\n LoadableComponent.preload = ()=>init();\n LoadableComponent.displayName = \"LoadableComponent\";\n return /*#__PURE__*/ _react.default.forwardRef(LoadableComponent);\n}\nclass LoadableSubscription {\n promise() {\n return this._res.promise;\n }\n retry() {\n this._clearTimeouts();\n this._res = this._loadFn(this._opts.loader);\n this._state = {\n pastDelay: false,\n timedOut: false\n };\n const { _res: res, _opts: opts } = this;\n if (res.loading) {\n if (typeof opts.delay === \"number\") {\n if (opts.delay === 0) {\n this._state.pastDelay = true;\n } else {\n this._delay = setTimeout(()=>{\n this._update({\n pastDelay: true\n });\n }, opts.delay);\n }\n }\n if (typeof opts.timeout === \"number\") {\n this._timeout = setTimeout(()=>{\n this._update({\n timedOut: true\n });\n }, opts.timeout);\n }\n }\n this._res.promise.then(()=>{\n this._update({});\n this._clearTimeouts();\n }).catch((_err)=>{\n this._update({});\n this._clearTimeouts();\n });\n this._update({});\n }\n _update(partial) {\n this._state = {\n ...this._state,\n error: this._res.error,\n loaded: this._res.loaded,\n loading: this._res.loading,\n ...partial\n };\n this._callbacks.forEach((callback)=>callback());\n }\n _clearTimeouts() {\n clearTimeout(this._delay);\n clearTimeout(this._timeout);\n }\n getCurrentValue() {\n return this._state;\n }\n subscribe(callback) {\n this._callbacks.add(callback);\n return ()=>{\n this._callbacks.delete(callback);\n };\n }\n constructor(loadFn, opts){\n this._loadFn = loadFn;\n this._opts = opts;\n this._callbacks = new Set();\n this._delay = null;\n this._timeout = null;\n this.retry();\n }\n}\nfunction Loadable(opts) {\n return createLoadableComponent(load, opts);\n}\nfunction flushInitializers(initializers, ids) {\n let promises = [];\n while(initializers.length){\n let init = initializers.pop();\n promises.push(init(ids));\n }\n return Promise.all(promises).then(()=>{\n if (initializers.length) {\n return flushInitializers(initializers, ids);\n }\n });\n}\nLoadable.preloadAll = ()=>{\n return new Promise((resolveInitializers, reject)=>{\n flushInitializers(ALL_INITIALIZERS).then(resolveInitializers, reject);\n });\n};\nLoadable.preloadReady = (ids)=>{\n if (ids === void 0) ids = [];\n return new Promise((resolvePreload)=>{\n const res = ()=>{\n initialized = true;\n return resolvePreload();\n };\n // We always will resolve, errors should be handled within loading UIs.\n flushInitializers(READY_INITIALIZERS, ids).then(res, res);\n });\n};\nif (typeof window !== \"undefined\") {\n window.__NEXT_PRELOADREADY = Loadable.preloadReady;\n}\nconst _default = Loadable;\n\n//# sourceMappingURL=loadable.shared-runtime.js.map"],"names":["Object","defineProperty","exports","value","enumerable","get","_default","_react","require$$0","_","require$$1","_loadablecontextsharedruntime","require$$2","ALL_INITIALIZERS","READY_INITIALIZERS","initialized","load","loader","promise","state","loading","loaded","error","then","catch","err","createLoadableComponent","loadFn","options","opts","assign","delay","timeout","webpack","modules","subscription","init","sub","LoadableSubscription","getCurrentValue","bind","subscribe","retry","window","push","moduleIds","require","resolveWeak","ids","moduleId","includes","LoadableComponent","props","ref","context","default","useContext","LoadableContext","Array","isArray","forEach","moduleName","useLoadableModule","useSyncExternalStore","useImperativeHandle","useMemo","createElement","isLoading","pastDelay","timedOut","obj","preload","displayName","forwardRef","this","_res","_clearTimeouts","_loadFn","_opts","_state","res","_delay","setTimeout","_update","_timeout","_err","partial","_callbacks","callback","clearTimeout","add","delete","constructor","Set","Loadable","flushInitializers","initializers","promises","length","pop","Promise","all","preloadAll","resolveInitializers","reject","preloadReady","resolvePreload","__NEXT_PRELOADREADY"],"mappings":"mYAuBAA,OAAOC,eAAwBC,EAAA,aAAc,CACzCC,OAAO,IAEXH,OAAOC,eAAeC,EAAS,UAAW,CACtCE,YAAY,EACZC,IAAK,WACD,OAAOC,CACf,IAEA,MACMC,EAD6EC,IAC7BC,EAAEC,GAClDC,EAAgCC,IAItC,MAAMC,EAAmB,GACnBC,EAAqB,GAC3B,IAAIC,GAAc,EAClB,SAASC,EAAKC,GACV,IAAIC,EAAUD,IACVE,EAAQ,CACRC,SAAS,EACTC,OAAQ,KACRC,MAAO,MAWX,OATAH,EAAMD,QAAUA,EAAQK,MAAMF,IAC1BF,EAAMC,SAAU,EAChBD,EAAME,OAASA,EACRA,KACRG,OAAOC,IAGN,MAFAN,EAAMC,SAAU,EAChBD,EAAMG,MAAQG,EACRA,CAAG,IAENN,CACX,CACA,SAASO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cAAAZ,GACIa,aAAaf,KAAKO,QAClBQ,aAAaf,KAAKU,SAC1B,CACI,eAAA7C,GACI,OAAOmC,KAAKK,MACpB,CACI,SAAAtC,CAAU+C,GAEN,OADAd,KAAKa,WAAWG,IAAIF,GACb,KACHd,KAAKa,WAAWI,OAAOH,EAAS,CAE5C,CACI,WAAAI,CAAYjE,EAAQE,GAChB6C,KAAKG,QAAUlD,EACf+C,KAAKI,MAAQjD,EACb6C,KAAKa,WAAa,IAAIM,IACtBnB,KAAKO,OAAS,KACdP,KAAKU,SAAW,KAChBV,KAAKhC,OACb,EAEA,SAASoD,EAASjE,GACd,OAAOH,EAAwBV,EAAMa,EACzC,CACA,SAASkE,EAAkBC,EAAchD,GACrC,IAAIiD,EAAW,GACf,KAAMD,EAAaE,QAAO,CACtB,IAAI9D,EAAO4D,EAAaG,MACxBF,EAASrD,KAAKR,EAAKY,GAC3B,CACI,OAAOoD,QAAQC,IAAIJ,GAAU1E,MAAK,KAC9B,GAAIyE,EAAaE,OACb,OAAOH,EAAkBC,EAAchD,EACnD,GAEA,CACA8C,EAASQ,WAAa,IACX,IAAIF,SAAQ,CAACG,EAAqBC,KACrCT,EAAkBlF,GAAkBU,KAAKgF,EAAqBC,EAAO,IAG7EV,EAASW,aAAgBzD,SACT,IAARA,IAAgBA,EAAM,IACnB,IAAIoD,SAASM,IAChB,MAAM1B,EAAM,KACRjE,GAAc,EACP2F,KAGXX,EAAkBjF,EAAoBkC,GAAKzB,KAAKyD,EAAKA,EAAI,KAG3C,oBAAXrC,SACPA,OAAOgE,oBAAsBb,EAASW,cAE1C,MAAMnG,EAAWwF"}
@@ -1,2 +0,0 @@
1
- import{__require as r}from"./dist/shared/lib/dynamic.mjs";var e,i;function a(){return i?e:(i=1,e=r())}export{a as __require};
2
- //# sourceMappingURL=dynamic.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dynamic.mjs","sources":["../../../../node_modules/next/dynamic.js"],"sourcesContent":["module.exports = require('./dist/shared/lib/dynamic')\n"],"names":["dynamic","require$$0"],"mappings":"+FAAAA,EAAiBC"}