@next-bricks/presentational 1.7.10 → 1.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +19 -18
- package/dist/chunks/114.fa787e75.js +2 -0
- package/dist/chunks/{114.24fa5213.js.map → 114.fa787e75.js.map} +1 -1
- package/dist/chunks/{1940.9690ed0e.js → 1940.022c1df7.js} +2 -2
- package/dist/chunks/{9559.ddaeba6c.js.map → 1940.022c1df7.js.map} +1 -1
- package/dist/chunks/{2277.4ae01e54.js → 2277.e9a19a01.js} +2 -2
- package/dist/chunks/{2277.4ae01e54.js.map → 2277.e9a19a01.js.map} +1 -1
- package/dist/chunks/{3171.59d5c494.js → 3171.085647ae.js} +2 -2
- package/dist/chunks/{3171.59d5c494.js.map → 3171.085647ae.js.map} +1 -1
- package/dist/chunks/3933.b6ba8c27.js +2 -0
- package/dist/chunks/{3933.946ea536.js.map → 3933.b6ba8c27.js.map} +1 -1
- package/dist/chunks/4196.ecf9cfe6.js +2 -0
- package/dist/chunks/{4196.d95f14c7.js.map → 4196.ecf9cfe6.js.map} +1 -1
- package/dist/chunks/{4658.30d06441.js → 4658.22c3d0c4.js} +2 -2
- package/dist/chunks/{4658.30d06441.js.map → 4658.22c3d0c4.js.map} +1 -1
- package/dist/chunks/4837.9ecac754.js +2 -0
- package/dist/chunks/4837.9ecac754.js.map +1 -0
- package/dist/chunks/5399.284603e5.js +2 -0
- package/dist/chunks/5399.284603e5.js.map +1 -0
- package/dist/chunks/{5552.37cfa24f.js → 5552.e27c56d9.js} +2 -2
- package/dist/chunks/{5552.37cfa24f.js.map → 5552.e27c56d9.js.map} +1 -1
- package/dist/chunks/6314.202dc3f6.js +2 -0
- package/dist/chunks/{6314.30d3296c.js.map → 6314.202dc3f6.js.map} +1 -1
- package/dist/chunks/7218.ce215713.js +2 -0
- package/dist/chunks/7218.ce215713.js.map +1 -0
- package/dist/chunks/7380.b242d2d5.js +3 -0
- package/dist/chunks/7380.b242d2d5.js.map +1 -0
- package/dist/chunks/7399.bbae0d80.js +2 -0
- package/dist/chunks/{7399.de646f71.js.map → 7399.bbae0d80.js.map} +1 -1
- package/dist/chunks/7733.859633d7.js +2 -0
- package/dist/chunks/{7733.5a4408bf.js.map → 7733.859633d7.js.map} +1 -1
- package/dist/chunks/{8097.feaa3614.js → 8097.2cc86170.js} +2 -2
- package/dist/chunks/{8097.feaa3614.js.map → 8097.2cc86170.js.map} +1 -1
- package/dist/chunks/{9559.ddaeba6c.js → 9559.9f97ae93.js} +2 -2
- package/dist/chunks/{1940.9690ed0e.js.map → 9559.9f97ae93.js.map} +1 -1
- package/dist/chunks/9780.258fe671.js +2 -0
- package/dist/chunks/{9780.0506df1e.js.map → 9780.258fe671.js.map} +1 -1
- package/dist/chunks/eo-alert.2bbe4cce.js +3 -0
- package/dist/chunks/{eo-alert.45c0d15f.js.map → eo-alert.2bbe4cce.js.map} +1 -1
- package/dist/chunks/eo-card-item.ee0dc426.js +3 -0
- package/dist/chunks/{eo-card-item.e6f57b2d.js.map → eo-card-item.ee0dc426.js.map} +1 -1
- package/dist/chunks/eo-carousel-text.e2b1c7c8.js +2 -0
- package/dist/chunks/{eo-carousel-text.9d458818.js.map → eo-carousel-text.e2b1c7c8.js.map} +1 -1
- package/dist/chunks/eo-code-display.27f3fcb5.js +2 -0
- package/dist/chunks/{eo-code-display.7e721816.js.map → eo-code-display.27f3fcb5.js.map} +1 -1
- package/dist/chunks/eo-current-time.73af81d7.js +2 -0
- package/dist/chunks/{eo-current-time.adfc7b7a.js.map → eo-current-time.73af81d7.js.map} +1 -1
- package/dist/chunks/eo-descriptions.b91a2ddf.js +3 -0
- package/dist/chunks/{eo-descriptions.b3a5699a.js.map → eo-descriptions.b91a2ddf.js.map} +1 -1
- package/dist/chunks/eo-divider.bdcc2f10.js +3 -0
- package/dist/chunks/{eo-divider.7133958b.js.map → eo-divider.bdcc2f10.js.map} +1 -1
- package/dist/chunks/eo-humanize-time.44a576db.js +2 -0
- package/dist/chunks/{eo-humanize-time.78d917c1.js.map → eo-humanize-time.44a576db.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.20e311a8.js +3 -0
- package/dist/chunks/{eo-info-card-item.18e1b64b.js.map → eo-info-card-item.20e311a8.js.map} +1 -1
- package/dist/chunks/eo-loading-step.c731fb3a.js +3 -0
- package/dist/chunks/{eo-loading-step.75dda5c1.js.map → eo-loading-step.c731fb3a.js.map} +1 -1
- package/dist/chunks/eo-pagination.c4314139.js +3 -0
- package/dist/chunks/{eo-pagination.719307dd.js.map → eo-pagination.c4314139.js.map} +1 -1
- package/dist/chunks/eo-statistics-card.4577297d.js +2 -0
- package/dist/chunks/{eo-statistics-card.3c08886f.js.map → eo-statistics-card.4577297d.js.map} +1 -1
- package/dist/chunks/main.81b11af7.js +2 -0
- package/dist/chunks/main.81b11af7.js.map +1 -0
- package/dist/examples.json +8 -8
- package/dist/index.4a02716f.js +2 -0
- package/dist/index.4a02716f.js.map +1 -0
- package/dist/manifest.json +127 -127
- package/dist/types.json +332 -332
- package/package.json +6 -5
- package/dist/chunks/114.24fa5213.js +0 -2
- package/dist/chunks/3933.946ea536.js +0 -2
- package/dist/chunks/4196.d95f14c7.js +0 -2
- package/dist/chunks/5399.fc925132.js +0 -2
- package/dist/chunks/5399.fc925132.js.map +0 -1
- package/dist/chunks/6314.30d3296c.js +0 -2
- package/dist/chunks/7041.3232d95e.js +0 -3
- package/dist/chunks/7041.3232d95e.js.map +0 -1
- package/dist/chunks/7115.3d8658a7.js +0 -2
- package/dist/chunks/7115.3d8658a7.js.map +0 -1
- package/dist/chunks/7399.de646f71.js +0 -2
- package/dist/chunks/7733.5a4408bf.js +0 -2
- package/dist/chunks/9496.fd01eeec.js +0 -2
- package/dist/chunks/9496.fd01eeec.js.map +0 -1
- package/dist/chunks/9780.0506df1e.js +0 -2
- package/dist/chunks/eo-alert.45c0d15f.js +0 -3
- package/dist/chunks/eo-card-item.e6f57b2d.js +0 -3
- package/dist/chunks/eo-carousel-text.9d458818.js +0 -2
- package/dist/chunks/eo-code-display.7e721816.js +0 -2
- package/dist/chunks/eo-current-time.adfc7b7a.js +0 -2
- package/dist/chunks/eo-descriptions.b3a5699a.js +0 -3
- package/dist/chunks/eo-divider.7133958b.js +0 -3
- package/dist/chunks/eo-humanize-time.78d917c1.js +0 -2
- package/dist/chunks/eo-info-card-item.18e1b64b.js +0 -3
- package/dist/chunks/eo-loading-step.75dda5c1.js +0 -3
- package/dist/chunks/eo-pagination.719307dd.js +0 -3
- package/dist/chunks/eo-statistics-card.3c08886f.js +0 -2
- package/dist/chunks/main.088ae63f.js +0 -2
- package/dist/chunks/main.088ae63f.js.map +0 -1
- package/dist/index.5e434643.js +0 -2
- package/dist/index.5e434643.js.map +0 -1
- /package/dist/chunks/{7041.3232d95e.js.LICENSE.txt → 7380.b242d2d5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-alert.45c0d15f.js.LICENSE.txt → eo-alert.2bbe4cce.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.e6f57b2d.js.LICENSE.txt → eo-card-item.ee0dc426.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.b3a5699a.js.LICENSE.txt → eo-descriptions.b91a2ddf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-divider.7133958b.js.LICENSE.txt → eo-divider.bdcc2f10.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.18e1b64b.js.LICENSE.txt → eo-info-card-item.20e311a8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.75dda5c1.js.LICENSE.txt → eo-loading-step.c731fb3a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.719307dd.js.LICENSE.txt → eo-pagination.c4314139.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[7115,9496],{97115:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>u,asyncWrapBrick:()=>k,useCurrentApp:()=>d,useCurrentTheme:()=>o,useNavConfig:()=>h,useProvider:()=>v,useRecentApps:()=>i,useRouteRender:()=>l});var n=t(18769),s=t(80369);let c=function(e){let{useBrick:r,data:t,errorBoundary:c,refCallback:u,ignoredCallback:a}=e;const[o,i]=(0,n.useState)(null),d=(0,n.useRef)(),[l,f]=(0,n.useState)(),p=(0,n.useRef)(0),g=(0,n.useMemo)((()=>{var e;return null===(e=s.__secret_internals.getRenderId)||void 0===e?void 0:e.call(s.__secret_internals)}),[]);(0,n.useEffect)((()=>{let e=!1;return async function(){try{const n=await s.__secret_internals.renderUseBrick(r,t,c);if(e)return;i(n),f(++p.current)}catch(e){(function(e){var r;const t=null===(r=s.__secret_internals.getRenderId)||void 0===r?void 0:r.call(s.__secret_internals);return!e||!t||e===t})(g)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,s.handleHttpError)(e))}}(),()=>{e=!0}}),[t,r,g,c]);const y=(0,n.useCallback)((e=>{e?d.current=s.__secret_internals.mountUseBrick(o,e):(s.__secret_internals.unmountUseBrick(o,d.current),d.current=void 0),null==u||u(e)}),[u,o]);if(!o)return null;const{tagName:v}=o;if(null===v)return null==a||a(),null;const m=v;return n.createElement(m,{key:l,ref:y})},u=function(e){let{useBrick:r,data:t,errorBoundary:s}=e;return Array.isArray(r)?n.createElement(n.Fragment,null,r.map(((e,r)=>n.createElement(c,{key:r,useBrick:e,data:t,errorBoundary:s})))):n.createElement(c,{useBrick:r,data:t,errorBoundary:s})};const a=(0,s.getV2RuntimeFromDll)();if(a){const{SingleBrickAsComponentFactory:e,BrickAsComponentFactory:r}=a;e&&r&&(c=e(n),u=r(n))}function o(){const[e,r]=(0,n.useState)(s.getCurrentTheme);return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function i(){const[e,r]=n.useState((()=>(0,s.getRuntime)().getRecentApps()));return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function d(){return i().currentApp}function l(){const[e,r]=n.useState(null);return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}const f={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0},p=Object.entries(f).reduce(((e,r)=>{let[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?{...e,...n}:{...e,[t]:n}}),{});var g=t(72445);const y=new Map;function v(){const{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){const s=(0,n.useMemo)((()=>"string"==typeof e?e:f.provider),[e,r]),c=(0,n.useMemo)((()=>{let t={};return(0,g.isObject)(e)?t=e:(0,g.isObject)(r)&&(t=r),{...p,...t}}),[e,r]),u=(0,n.useMemo)((()=>{const e=[...Object.keys(f),...Object.keys(f.customOptions)],{args:r=null,...t}=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{});return{options:{...t},args:r}}),[c]),a=(0,n.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:p.dependencies),[r,t]),o=c.loading||Array.isArray(a);return{provider:s,customOptions:(0,n.useMemo)((()=>({...Object.keys(f.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{}),loading:o})),[c]),requestInit:u,dependencies:a}}(...arguments),{onError:u,transform:a,suspense:o,cache:i,...d}=r,[l,v]=(0,n.useState)(d.loading),m=(0,n.useRef)("pending"),k=(0,n.useRef)(),h=(0,n.useRef)(!1),_=(0,n.useRef)(),w=(0,n.useRef)(),b=(0,n.useRef)(d.data),E=(0,n.useReducer)((()=>({})),[])[1],O=(0,n.useCallback)((async(e,r)=>{try{_.current=void 0,o||v(!0);const t=await async function(e,r,t){let n;const c=function(e){const r=e=>Object.keys(e).sort().map((r=>({[r]:e[r]})));for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];try{const t="object"!=typeof(c=n)||null===c||Array.isArray(c)?n.map((e=>function(e){return"string"==typeof e}(e)?e:r(e))):r(n);return JSON.stringify({provider:e,args:t})}catch(r){return JSON.stringify({provider:e,args:n})}var c}(e,...t);return!r&&y.has(c)&&y.delete(c),y.has(c)?n=y.get(c):(n=(0,s.fetchByProvider)(e,t),r&&y.set(c,n)),n}(e,i,r);w.current=t,b.current=a(b.current,t)}catch(e){_.current=e,b.current=void 0}return o||v(!1),_.current&&u(_.current),b.current}),[e,r,t,c,o,a,d.data,u,i]),R=(0,n.useCallback)((async(r,t)=>{let n=e,s=[];return(0,g.isString)(r)&&(n=r),(0,g.isObject)(r)?s=r:(0,g.isObject)(t)&&(s=t),o?(async()=>(k.current=O(n,s).then((e=>(m.current="success",e)),(e=>(m.current="error",e.current=e,e))),E(),await k.current))():O(n,s)}),[O]),B=(0,n.useMemo)((()=>Object.defineProperties({query:R},{loading:{get:()=>l},data:{get:()=>b.current},error:{get:()=>_.current}})),[R]);if((0,n.useEffect)((()=>(h.current=!0,Array.isArray(t)&&e&&B.query(e,c.args),()=>h.current=!1)),t),o&&k.current)switch(m.current){case"pending":throw k.current;case"error":throw _.current}return Object.assign([B,w.current,l,_.current],{request:B,...B,response:w.current,data:b.current,loading:l,error:_.current})}var m=t(35049);async function k(e,r){return await s.__secret_internals.loadBricks([e]),(0,m.wrapBrick)(e,r)}function h(){const[e,r]=(0,n.useState)((()=>(0,s.getRuntime)().getNavConfig()));return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("navConfig.change",e),()=>window.removeEventListener("navConfig.change",e)}),[]),e}}}]);
|
|
2
|
-
//# sourceMappingURL=7115.3d8658a7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/7115.3d8658a7.js","mappings":"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","sources":["webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgsDefaults.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/fetch.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProvider.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgs.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/asyncWrapBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useNavConfig.js"],"sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nlet ReactUseBrick = function ReactUseBrick(_ref) {\n let {\n useBrick,\n data,\n errorBoundary,\n refCallback,\n ignoredCallback\n } = _ref;\n const [renderResult, setRenderResult] = useState(null);\n const mountResult = useRef();\n const [renderKey, setRenderKey] = useState();\n const IdCounterRef = useRef(0);\n const initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n let ignore = false;\n async function init() {\n try {\n const newRender = await __secret_internals.renderUseBrick(useBrick, data, errorBoundary);\n if (ignore) {\n return;\n }\n setRenderResult(newRender);\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n }\n init();\n return () => {\n ignore = true;\n };\n }, [data, useBrick, initialRenderId, errorBoundary]);\n const _refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n refCallback === null || refCallback === void 0 || refCallback(element);\n }, [refCallback, renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n const {\n tagName\n } = renderResult;\n if (tagName === null) {\n ignoredCallback === null || ignoredCallback === void 0 || ignoredCallback();\n return null;\n }\n const WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: _refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n const newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nlet ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n let {\n useBrick,\n data,\n errorBoundary\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data,\n errorBoundary: errorBoundary\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data,\n errorBoundary: errorBoundary\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nconst v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n const {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n const [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n const listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n const [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n const listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n const [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n const listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map","export const useProviderArgsDefaults = {\n provider: \"\",\n customOptions: {\n onError: () => {\n /* Do nothing.. */\n },\n transform: (oldData, newData) => newData,\n data: undefined,\n loading: false,\n suspense: false,\n cache: true\n },\n dependencies: undefined\n};\nexport default Object.entries(useProviderArgsDefaults).reduce((acc, _ref) => {\n let [key, value] = _ref;\n if (Object.prototype.toString.call(value) === \"[object Object]\") return {\n ...acc,\n ...value\n };\n return {\n ...acc,\n [key]: value\n };\n}, {});\n//# sourceMappingURL=useProviderArgsDefaults.js.map","import { fetchByProvider } from \"@next-core/runtime\";\nconst cacheMap = new Map();\nfunction isObj(v) {\n return typeof v === \"object\" && v !== null && !Array.isArray(v);\n}\nfunction isString(v) {\n return typeof v === \"string\";\n}\nfunction buildSortedCacheKey(provider) {\n const sortObj = obj => Object.keys(obj).sort().map(k => ({\n [k]: obj[k]\n }));\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n try {\n const sortedArgs = isObj(args) ? sortObj(args) : args.map(arg => isString(arg) ? arg : sortObj(arg));\n return JSON.stringify({\n provider,\n args: sortedArgs\n });\n } catch (e) {\n return JSON.stringify({\n provider,\n args\n });\n }\n}\nexport default async function fetch(provider, cache, args) {\n let promise;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const cacheKey = buildSortedCacheKey(provider, ...args);\n !cache && cacheMap.has(cacheKey) && cacheMap.delete(cacheKey);\n if (cacheMap.has(cacheKey)) {\n promise = cacheMap.get(cacheKey);\n } else {\n promise = (() => {\n return fetchByProvider(provider, args);\n })();\n cache && cacheMap.set(cacheKey, promise);\n }\n return promise;\n}\n//# sourceMappingURL=fetch.js.map","import { useCallback, useEffect, useMemo, useReducer, useRef, useState } from \"react\";\nimport useProviderArgs from \"./useProviderArgs.js\";\nimport { isObject, isString } from \"lodash\";\nimport fetch from \"./fetch.js\";\nexport function useProvider() {\n const {\n provider,\n customOptions,\n dependencies,\n requestInit\n } = useProviderArgs(...arguments);\n const {\n onError,\n transform,\n suspense,\n cache,\n ...defaults\n } = customOptions;\n const [loading, setLoading] = useState(defaults.loading);\n const suspenseStatus = useRef(\"pending\");\n const suspender = useRef();\n const mounted = useRef(false);\n const error = useRef();\n const response = useRef();\n const data = useRef(defaults.data);\n const forceUpdate = useReducer(() => ({}), [])[1];\n const doFetch = useCallback(async (provider, providerArgs) => {\n try {\n error.current = undefined;\n if (!suspense) setLoading(true);\n const newRes = await fetch(provider, cache, providerArgs);\n response.current = newRes;\n data.current = transform(data.current, newRes);\n } catch (e) {\n error.current = e;\n data.current = undefined;\n }\n if (!suspense) setLoading(false);\n if (error.current) onError(error.current);\n return data.current;\n }, [provider, customOptions, dependencies, requestInit, suspense, transform, defaults.data, onError, cache]);\n const makeFetch = useCallback(async (providerOrBody, args) => {\n let providerStr = provider;\n let providerArgs = [];\n if (isString(providerOrBody)) {\n providerStr = providerOrBody;\n }\n if (isObject(providerOrBody)) {\n providerArgs = providerOrBody;\n } else if (isObject(args)) {\n providerArgs = args;\n }\n if (suspense) {\n return (async () => {\n suspender.current = doFetch(providerStr, providerArgs).then(newData => {\n suspenseStatus.current = \"success\";\n return newData;\n }, error => {\n /* istanbul ignore next */\n suspenseStatus.current = \"error\";\n error.current = error;\n return error;\n });\n forceUpdate();\n return await suspender.current;\n })();\n }\n return doFetch(providerStr, providerArgs);\n }, [doFetch]);\n const request = useMemo(() => Object.defineProperties({\n query: makeFetch\n }, {\n loading: {\n get() {\n return loading;\n }\n },\n data: {\n get() {\n return data.current;\n }\n },\n error: {\n get() {\n return error.current;\n }\n }\n }), [makeFetch]);\n\n // onMount/onUpdate\n useEffect(() => {\n mounted.current = true;\n if (Array.isArray(dependencies) && provider) {\n request.query(provider, requestInit.args);\n }\n return () => mounted.current = false;\n }, dependencies);\n if (suspense && suspender.current) {\n switch (suspenseStatus.current) {\n case \"pending\":\n throw suspender.current;\n /* istanbul ignore next */\n case \"error\":\n throw error.current;\n }\n }\n return Object.assign([request, response.current, loading, error.current], {\n request,\n ...request,\n response: response.current,\n data: data.current,\n loading,\n error: error.current\n });\n}\n//# sourceMappingURL=useProvider.js.map","import { useMemo } from \"react\";\nimport defaults, { useProviderArgsDefaults } from \"./useProviderArgsDefaults.js\";\nimport { isObject } from \"lodash\";\nexport default function useProviderArgs(providerOrParamsOrGlobalOptions, globalOptionsOrDeps, deps) {\n const provider = useMemo(() => {\n if (typeof providerOrParamsOrGlobalOptions === \"string\") {\n return providerOrParamsOrGlobalOptions;\n }\n return useProviderArgsDefaults.provider;\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n const options = useMemo(() => {\n let localOptions = {};\n if (isObject(providerOrParamsOrGlobalOptions)) {\n localOptions = providerOrParamsOrGlobalOptions;\n } else if (isObject(globalOptionsOrDeps)) {\n localOptions = globalOptionsOrDeps;\n }\n return {\n ...defaults,\n ...localOptions\n };\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n const requestInit = useMemo(() => {\n const customOptionKeys = [...Object.keys(useProviderArgsDefaults), ...Object.keys(useProviderArgsDefaults.customOptions)];\n const {\n args = null,\n ...restOptions\n } = Object.keys(options).reduce((acc, key) => {\n if (!customOptionKeys.includes(key)) acc[key] = options[key];\n return acc;\n }, {});\n return {\n options: {\n ...restOptions\n },\n args\n };\n }, [options]);\n const dependencies = useMemo(() => {\n if (Array.isArray(globalOptionsOrDeps)) return globalOptionsOrDeps;\n if (Array.isArray(deps)) return deps;\n return defaults.dependencies;\n }, [globalOptionsOrDeps, deps]);\n const loading = options.loading || Array.isArray(dependencies);\n const customOptions = useMemo(() => {\n const customOptionKeys = Object.keys(useProviderArgsDefaults.customOptions);\n const customOptions = customOptionKeys.reduce((opts, key) => {\n opts[key] = options[key];\n return opts;\n }, {});\n return {\n ...customOptions,\n loading\n };\n }, [options]);\n return {\n provider,\n customOptions,\n requestInit,\n dependencies\n };\n}\n//# sourceMappingURL=useProviderArgs.js.map","import { __secret_internals } from \"@next-core/runtime\";\nimport { wrapBrick } from \"@next-core/react-element\";\nexport async function asyncWrapBrick(brickName, eventsMapping) {\n await __secret_internals.loadBricks([brickName]);\n return wrapBrick(brickName, eventsMapping);\n}\n//# sourceMappingURL=asyncWrapBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useNavConfig() {\n const [navConfig, setNavConfig] = useState(() => getRuntime().getNavConfig());\n useEffect(() => {\n const listener = event => {\n setNavConfig(event.detail);\n };\n window.addEventListener(\"navConfig.change\", listener);\n return () => window.removeEventListener(\"navConfig.change\", listener);\n }, []);\n return navConfig;\n}\n//# sourceMappingURL=useNavConfig.js.map"],"names":["ReactUseBrick","_ref","useBrick","data","errorBoundary","refCallback","ignoredCallback","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","call","useEffect","ignore","async","newRender","renderUseBrick","current","error","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","_refCallback","useCallback","element","mountUseBrick","unmountUseBrick","undefined","tagName","WebComponent","key","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender","useProviderArgsDefaults","provider","customOptions","onError","transform","oldData","newData","loading","suspense","cache","dependencies","Object","entries","reduce","acc","value","prototype","toString","cacheMap","Map","useProvider","requestInit","providerOrParamsOrGlobalOptions","globalOptionsOrDeps","deps","options","localOptions","isObject","customOptionKeys","keys","args","restOptions","includes","opts","useProviderArgs","arguments","defaults","setLoading","suspenseStatus","suspender","mounted","response","forceUpdate","useReducer","doFetch","providerArgs","newRes","promise","cacheKey","sortObj","obj","sort","k","_len","length","_key","sortedArgs","v","arg","isString","JSON","stringify","e","buildSortedCacheKey","has","delete","get","fetchByProvider","set","fetch","makeFetch","providerOrBody","providerStr","then","request","defineProperties","query","assign","asyncWrapBrick","brickName","eventsMapping","loadBricks","wrapBrick","useNavConfig","navConfig","setNavConfig","getNavConfig"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[7399],{29002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},96488:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},55152:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},30414:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11369);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},24586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(11369);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},5405:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},93417:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,{A:()=>o})},59780:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>J,I18nextProvider:()=>be,Trans:()=>te,TransWithoutContext:()=>W,Translation:()=>ye,composeInitialProps:()=>G,date:()=>je,getDefaults:()=>C,getI18n:()=>T,getInitialProps:()=>Q,initReactI18next:()=>$,number:()=>Pe,plural:()=>Ee,select:()=>xe,selectOrdinal:()=>Se,setDefaults:()=>D,setI18n:()=>R,time:()=>we,useSSR:()=>he,useTranslation:()=>ue,withSSR:()=>Oe,withTranslation:()=>de});var r=n(24586);function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(18769),a=n(17545),c=n(29002),s=n.n(c),u=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(u),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,f=/^\s*$/,d=Object.create(null);function g(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(g,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var y={parse:function(e,t){t||(t={}),t.components||(t.components=d);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(p,(function(c,s){if(a){if(c!=="</"+n.name+">")return;a=!1}var u,p="/"!==c.charAt(1),d=c.startsWith("\x3c!--"),g=s+c.length,y=e.charAt(g);if(d){var b=l(c);return i<0?(r.push(b),r):((u=o[i]).children.push(b),r)}if(p&&(i++,"tag"===(n=l(c)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!y||"<"===y||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===i&&r.push(n),(u=o[i-1])&&u.children.push(n),o[i]=n),(!p||n.voidElement)&&(i>-1&&(n.voidElement||n.name===c.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==y&&y)){u=-1===i?r:o[i].children;var h=e.indexOf("<",g),v=e.slice(g,-1===h?void 0:h);f.test(v)&&(v=" "),(h>-1&&i+u.length>=0||" "!==v)&&u.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+g("",t)}),"")}};const b=y;function h(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var v={};function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&v[t[0]]||("string"==typeof t[0]&&(v[t[0]]=new Date),h.apply(void 0,t))}var O=function(e,t){return function(){e.isInitialized?t():e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}};function j(e,t,n){e.loadNamespaces(t,O(e,n))}function w(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((function(t){e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,O(e,r))}function P(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var x=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},S=function(e){return E[e]};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N,I={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(x,S)}};function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I=A(A({},I),e)}function C(){return I}function R(e){N=e}function T(){return N}var L=["format"],U=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function V(e){return e?e.props?e.props.children:e.children:[]}function F(e){return Array.isArray(e)?e:[e]}function H(e,t){if(!e)return"";var n="",r=F(e),c=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach((function(e,r){if("string"==typeof e)n+="".concat(e);else if((0,i.isValidElement)(e)){var s=Object.keys(e.props).length,u=c.indexOf(e.type)>-1,l=e.props.children;if(!l&&u&&0===s)n+="<".concat(e.type,"/>");else if(l||u&&0===s)if(e.props.i18nIsDynamicList)n+="<".concat(r,"></").concat(r,">");else if(u&&1===s&&"string"==typeof l)n+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var p=H(l,t);n+="<".concat(r,">").concat(p,"</").concat(r,">")}else n+="<".concat(r,"></").concat(r,">")}else if(null===e)h("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.A)(e)){var f=e.format,d=o(e,L),g=Object.keys(d);if(1===g.length){var y=f?"".concat(g[0],", ").concat(f):g[0];n+="{{".concat(y,"}}")}else h("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else h("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function W(e){var t=e.children,n=e.count,r=e.parent,c=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,y=e.i18n,h=e.t,v=e.shouldUnescape,O=o(e,U),j=y||T();if(!j)return m("You will need to pass in an i18next instance by using i18nextReactModule"),t;var w=h||j.t.bind(j)||function(e){return e};s&&(l.context=s);var P=B(B({},C()),j.options&&j.options.react),x=g||w.ns||j.options&&j.options.defaultNS;x="string"==typeof x?[x]:x||["translation"];var E=f||H(t,P)||P.transEmptyNodeValue||c,S=P.hashTransKey,k=c||(S?S(E):E),A=p?l.interpolation:{interpolation:B(B({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},N=B(B(B(B({},l),{},{count:n},p),A),{},{defaultValue:E,ns:x}),I=function(e,t,n,r,o,c){if(""===t)return[];var s=r.transKeepBasicHtmlNodesFor||[],u=t&&new RegExp(s.join("|")).test(t);if(!e&&!u)return[t];var l={};!function e(t){F(t).forEach((function(t){"string"!=typeof t&&(K(t)?e(V(t)):"object"!==(0,a.A)(t)||(0,i.isValidElement)(t)||Object.assign(l,t))}))}(e);var p=b.parse("<0>".concat(t,"</0>")),f=B(B({},l),o);function d(e,t,n){var r=V(e),o=y(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,i.isValidElement)(e)}))}(r)&&0===o.length?r:o}function g(e,t,n,r,o){e.dummy&&(e.children=t),n.push((0,i.cloneElement)(e,B(B({},e.props),{},{key:r}),o?void 0:t))}function y(t,o,l){var p=F(t);return F(o).reduce((function(t,o,b){var h,v,m,O=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,f,n.language);if("tag"===o.type){var j=p[parseInt(o.name,10)];!j&&1===l.length&&l[0][o.name]&&(j=l[0][o.name]),j||(j={});var w=0!==Object.keys(o.attrs).length?(h={props:o.attrs},(m=B({},v=j)).props=Object.assign(h.props,v.props),m):j,P=(0,i.isValidElement)(w),x=P&&K(o,!0)&&!o.voidElement,E=u&&"object"===(0,a.A)(w)&&w.dummy&&!P,S="object"===(0,a.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof w){var k=n.services.interpolator.interpolate(w,f,n.language);t.push(k)}else if(K(w)||x)g(w,d(w,o,l),t,b);else if(E){var A=y(p,o.children,l);t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b}),A))}else if(Number.isNaN(parseFloat(o.name)))if(S)g(w,d(w,o,l),t,b,o.voidElement);else if(r.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1)if(o.voidElement)t.push((0,i.createElement)(o.name,{key:"".concat(o.name,"-").concat(b)}));else{var N=y(p,o.children,l);t.push((0,i.createElement)(o.name,{key:"".concat(o.name,"-").concat(b)},N))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var I=y(p,o.children,l);t.push("<".concat(o.name,">").concat(I,"</").concat(o.name,">"))}else if("object"!==(0,a.A)(w)||P)1===o.children.length&&O?t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b}),O)):t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b})));else{var D=o.children[0]?O:null;D&&t.push(D)}}else if("text"===o.type){var C=r.transWrapTextNodes,R=c?r.unescape(n.services.interpolator.interpolate(o.content,f,n.language)):n.services.interpolator.interpolate(o.content,f,n.language);C?t.push((0,i.createElement)(C,{key:"".concat(o.name,"-").concat(b)},R)):t.push(R)}return t}),[])}return V(y([{dummy:!0,children:e||[]}],p,F(e||[]))[0])}(d||t,k?w(k,N):E,j,P,N,v),D=void 0!==r?r:P.defaultTransParent;return D?(0,i.createElement)(D,O,I):I}var _=n(55152),M=n(30414),$={type:"3rdParty",init:function(e){D(e.options.react),R(e)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=(0,i.createContext)(),Z=function(){function e(){(0,_.A)(this,e),this.usedNamespaces={}}return(0,M.A)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function G(e){return function(t){return new Promise((function(n){var r=Q();e.getInitialProps?e.getInitialProps(t).then((function(e){n(Y(Y({},e),r))})):n(r)}))}}function Q(){var e=T(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}var X=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){var t=e.children,n=e.count,a=e.parent,c=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,y=e.i18n,b=e.t,h=e.shouldUnescape,v=o(e,X),m=(0,i.useContext)(J)||{},O=m.i18n,j=m.defaultNS,w=y||O||T(),P=b||w&&w.t.bind(w);return W(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({children:t,count:n,parent:a,i18nKey:c,context:s,tOptions:l,values:p,defaults:f,components:d,ns:g||P&&P.ns||j||w&&w.options&&w.options.defaultNS,i18n:w,t:b,shouldUnescape:h},v))}var ne=n(96488),re=n(93417),oe=n(5405);function ie(e,t){return(0,ne.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||(0,re.A)(e,t)||(0,oe.A)()}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(e,t){var n=(0,i.useRef)();return(0,i.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,i.useContext)(J)||{},o=r.i18n,c=r.defaultNS,s=n||o||T();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Z),!s){m("You will need to pass in an i18next instance by using initReactI18next");var u=function(e,t){return"string"==typeof t?t:t&&"object"===(0,a.A)(t)&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},l=[u,{},!1];return l.t=u,l.i18n={},l.ready=!1,l}s.options.react&&void 0!==s.options.react.wait&&m("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=ce(ce(ce({},C()),s.options.react),t),f=p.useSuspense,d=p.keyPrefix,g=e||c||s.options&&s.options.defaultNS;g="string"==typeof g?[g]:g||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(g);var y=(s.isInitialized||s.initializedStoreOnce)&&g.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||o&&!a(i,e)))}(e,t,n):(m("i18n.languages were undefined or empty",t.languages),!0)}(e,s,p)}));function b(){return s.getFixedT(t.lng||null,"fallback"===p.nsMode?g:g[0],d)}var h=ie((0,i.useState)(b),2),v=h[0],O=h[1],P=g.join();t.lng&&(P="".concat(t.lng).concat(P));var x=se(P),E=(0,i.useRef)(!0);(0,i.useEffect)((function(){var e=p.bindI18n,n=p.bindI18nStore;function r(){E.current&&O(b)}return E.current=!0,y||f||(t.lng?w(s,t.lng,g,(function(){E.current&&O(b)})):j(s,g,(function(){E.current&&O(b)}))),y&&x&&x!==P&&E.current&&O(b),e&&s&&s.on(e,r),n&&s&&s.store.on(n,r),function(){E.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,r)})),n&&s&&n.split(" ").forEach((function(e){return s.store.off(e,r)}))}}),[s,P]);var S=(0,i.useRef)(!0);(0,i.useEffect)((function(){E.current&&!S.current&&O(b),S.current=!1}),[s,d]);var k=[v,s,y];if(k.t=v,k.i18n=s,k.ready=y,y)return k;if(!y&&!f)return k;throw new Promise((function(e){t.lng?w(s,t.lng,g,(function(){return e()})):j(s,g,(function(){return e()}))}))}var le=["forwardedRef"];function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var a=r.forwardedRef,c=o(r,le),s=ie(ue(e,fe(fe({},c),{},{keyPrefix:t.keyPrefix})),3),u=s[0],l=s[1],p=s[2],f=fe(fe({},c),{},{t:u,i18n:l,tReady:p});return t.withRef&&a?f.ref=a:!t.withRef&&a&&(f.forwardedRef=a),(0,i.createElement)(n,f)}return r.displayName="withI18nextTranslation(".concat(P(n),")"),r.WrappedComponent=n,t.withRef?(0,i.forwardRef)((function(e,t){return(0,i.createElement)(r,Object.assign({},e,{forwardedRef:t}))})):r}}var ge=["ns","children"];function ye(e){var t=e.ns,n=e.children,r=ie(ue(t,o(e,ge)),3),i=r[0],a=r[1],c=r[2];return n(i,{i18n:a,lng:a.language},c)}function be(e){var t=e.i18n,n=e.defaultNS,r=e.children,o=(0,i.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,i.createElement)(J.Provider,{value:o},r)}function he(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,i.useContext)(J)||{}).i18n,o=n||r||T();o.options&&o.options.isClone||(e&&!o.initializedStoreOnce&&(o.services.resourceStore.data=e,o.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),o.options.ns),o.initializedStoreOnce=!0,o.isInitialized=!0),t&&!o.initializedLanguageOnce&&(o.changeLanguage(t),o.initializedLanguageOnce=!0))}var ve=["initialI18nStore","initialLanguage"];function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(){return function(e){function t(t){var n=t.initialI18nStore,a=t.initialLanguage,c=o(t,ve);return he(n,a),(0,i.createElement)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c))}return t.getInitialProps=G(e),t.displayName="withI18nextSSR(".concat(P(e),")"),t.WrappedComponent=e,t}}var je=function(){return""},we=function(){return""},Pe=function(){return""},xe=function(){return""},Ee=function(){return""},Se=function(){return""}}}]);
|
|
2
|
-
//# sourceMappingURL=7399.de646f71.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[7733,114],{25873:(t,e,n)=>{var r=n(59435);e.H=r.createRoot,r.hydrateRoot},12559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},72016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},70829:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(12559);function s(t,e){return t.get((0,r.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(72016);function s(t,e,n){(0,r.A)(t,e),e.set(t,n)}},86121:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(12559);function s(t,e,n){return t.set((0,r.A)(t,e),n),n}},74635:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(72016);function s(t,e){(0,r.A)(t,e),e.add(t)}},89575:(t,e,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})},20114:(t,e,n)=>{n.r(e),n.d(e,{ReactNextElement:()=>p,wrapBrick:()=>v,wrapLocalBrick:()=>y});var r=n(74635),s=n(70918),o=n(12559),i=n(86121),a=n(70829),c=n(18769),l=n(25873),h=n(59435),d=n(3412),u=new WeakMap,f=new WeakSet;class p extends d.NextElement{constructor(){super(...arguments),(0,r.A)(this,f),(0,s.A)(this,u,void 0)}connectedCallback(){super._markConnectedCallbackCalled(),(0,o.A)(f,this,A).call(this),this._render()}disconnectedCallback(){var t;null===(t=(0,a.A)(u,this))||void 0===t||t.render(null)}_render(){const t=()=>{if(!this.isConnected||!(0,a.A)(u,this))return;const t=this.constructor;var e;t.shadowOptions?(0,a.A)(u,this).render((0,d.supportsAdoptingStyleSheets)()||null===(e=t.styleTexts)||void 0===e||!e.length?this.render():c.createElement(c.Fragment,null,c.createElement("style",null,t.styleTexts.join("\n")),this.render())):(0,a.A)(u,this).render(this.render())};window.BRICK_NEXT_VERSIONS&&!window.DISABLE_REACT_FLUSH_SYNC?(0,h.flushSync)(t):t()}}function A(){if((0,a.A)(u,this))return;const t=this.constructor;if(t.shadowOptions){const n=this.attachShadow(t.shadowOptions);var e;if((0,d.supportsAdoptingStyleSheets)()&&null!==(e=t.styleTexts)&&void 0!==e&&e.length){const e=new CSSStyleSheet;e.replaceSync(t.styleTexts.join("")),n.adoptedStyleSheets=[e]}(0,i.A)(u,this,(0,l.H)(n))}else(0,i.A)(u,this,(0,l.H)(this))}var w=n(89575);function y(t,e){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i="string"==typeof t?t:t.__tagName,a=S(o,e);return c.createElement(i,(0,w.A)({},a,{ref:r}),s)}))}function v(t,e){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i=S(o,e);return c.createElement(t,(0,w.A)({},i,{ref:r}),s)}))}function S(t,e){let n;if(e){n={};for(const[r,s]of Object.entries(t))Object.prototype.hasOwnProperty.call(e,r)?n[`on${e[r]}`]=s:n[r]=s}else n=t;return n}}}]);
|
|
2
|
-
//# sourceMappingURL=7733.5a4408bf.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[9496,7115],{97115:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>u,asyncWrapBrick:()=>k,useCurrentApp:()=>d,useCurrentTheme:()=>o,useNavConfig:()=>h,useProvider:()=>v,useRecentApps:()=>i,useRouteRender:()=>l});var n=t(18769),s=t(80369);let c=function(e){let{useBrick:r,data:t,errorBoundary:c,refCallback:u,ignoredCallback:a}=e;const[o,i]=(0,n.useState)(null),d=(0,n.useRef)(),[l,f]=(0,n.useState)(),p=(0,n.useRef)(0),g=(0,n.useMemo)((()=>{var e;return null===(e=s.__secret_internals.getRenderId)||void 0===e?void 0:e.call(s.__secret_internals)}),[]);(0,n.useEffect)((()=>{let e=!1;return async function(){try{const n=await s.__secret_internals.renderUseBrick(r,t,c);if(e)return;i(n),f(++p.current)}catch(e){(function(e){var r;const t=null===(r=s.__secret_internals.getRenderId)||void 0===r?void 0:r.call(s.__secret_internals);return!e||!t||e===t})(g)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,s.handleHttpError)(e))}}(),()=>{e=!0}}),[t,r,g,c]);const y=(0,n.useCallback)((e=>{e?d.current=s.__secret_internals.mountUseBrick(o,e):(s.__secret_internals.unmountUseBrick(o,d.current),d.current=void 0),null==u||u(e)}),[u,o]);if(!o)return null;const{tagName:v}=o;if(null===v)return null==a||a(),null;const m=v;return n.createElement(m,{key:l,ref:y})},u=function(e){let{useBrick:r,data:t,errorBoundary:s}=e;return Array.isArray(r)?n.createElement(n.Fragment,null,r.map(((e,r)=>n.createElement(c,{key:r,useBrick:e,data:t,errorBoundary:s})))):n.createElement(c,{useBrick:r,data:t,errorBoundary:s})};const a=(0,s.getV2RuntimeFromDll)();if(a){const{SingleBrickAsComponentFactory:e,BrickAsComponentFactory:r}=a;e&&r&&(c=e(n),u=r(n))}function o(){const[e,r]=(0,n.useState)(s.getCurrentTheme);return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function i(){const[e,r]=n.useState((()=>(0,s.getRuntime)().getRecentApps()));return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function d(){return i().currentApp}function l(){const[e,r]=n.useState(null);return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}const f={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0},p=Object.entries(f).reduce(((e,r)=>{let[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?{...e,...n}:{...e,[t]:n}}),{});var g=t(72445);const y=new Map;function v(){const{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){const s=(0,n.useMemo)((()=>"string"==typeof e?e:f.provider),[e,r]),c=(0,n.useMemo)((()=>{let t={};return(0,g.isObject)(e)?t=e:(0,g.isObject)(r)&&(t=r),{...p,...t}}),[e,r]),u=(0,n.useMemo)((()=>{const e=[...Object.keys(f),...Object.keys(f.customOptions)],{args:r=null,...t}=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{});return{options:{...t},args:r}}),[c]),a=(0,n.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:p.dependencies),[r,t]),o=c.loading||Array.isArray(a);return{provider:s,customOptions:(0,n.useMemo)((()=>({...Object.keys(f.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{}),loading:o})),[c]),requestInit:u,dependencies:a}}(...arguments),{onError:u,transform:a,suspense:o,cache:i,...d}=r,[l,v]=(0,n.useState)(d.loading),m=(0,n.useRef)("pending"),k=(0,n.useRef)(),h=(0,n.useRef)(!1),_=(0,n.useRef)(),w=(0,n.useRef)(),b=(0,n.useRef)(d.data),E=(0,n.useReducer)((()=>({})),[])[1],O=(0,n.useCallback)((async(e,r)=>{try{_.current=void 0,o||v(!0);const t=await async function(e,r,t){let n;const c=function(e){const r=e=>Object.keys(e).sort().map((r=>({[r]:e[r]})));for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];try{const t="object"!=typeof(c=n)||null===c||Array.isArray(c)?n.map((e=>function(e){return"string"==typeof e}(e)?e:r(e))):r(n);return JSON.stringify({provider:e,args:t})}catch(r){return JSON.stringify({provider:e,args:n})}var c}(e,...t);return!r&&y.has(c)&&y.delete(c),y.has(c)?n=y.get(c):(n=(0,s.fetchByProvider)(e,t),r&&y.set(c,n)),n}(e,i,r);w.current=t,b.current=a(b.current,t)}catch(e){_.current=e,b.current=void 0}return o||v(!1),_.current&&u(_.current),b.current}),[e,r,t,c,o,a,d.data,u,i]),R=(0,n.useCallback)((async(r,t)=>{let n=e,s=[];return(0,g.isString)(r)&&(n=r),(0,g.isObject)(r)?s=r:(0,g.isObject)(t)&&(s=t),o?(async()=>(k.current=O(n,s).then((e=>(m.current="success",e)),(e=>(m.current="error",e.current=e,e))),E(),await k.current))():O(n,s)}),[O]),B=(0,n.useMemo)((()=>Object.defineProperties({query:R},{loading:{get:()=>l},data:{get:()=>b.current},error:{get:()=>_.current}})),[R]);if((0,n.useEffect)((()=>(h.current=!0,Array.isArray(t)&&e&&B.query(e,c.args),()=>h.current=!1)),t),o&&k.current)switch(m.current){case"pending":throw k.current;case"error":throw _.current}return Object.assign([B,w.current,l,_.current],{request:B,...B,response:w.current,data:b.current,loading:l,error:_.current})}var m=t(35049);async function k(e,r){return await s.__secret_internals.loadBricks([e]),(0,m.wrapBrick)(e,r)}function h(){const[e,r]=(0,n.useState)((()=>(0,s.getRuntime)().getNavConfig()));return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("navConfig.change",e),()=>window.removeEventListener("navConfig.change",e)}),[]),e}}}]);
|
|
2
|
-
//# sourceMappingURL=9496.fd01eeec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/9496.fd01eeec.js","mappings":"oYAIA,IAAIA,EAAgB,SAAuBC,GACzC,IAAI,SACFC,EAAQ,KACRC,EAAI,cACJC,EAAa,YACbC,EAAW,gBACXC,GACEL,EACJ,MAAOM,EAAcC,IAAmB,IAAAC,UAAS,MAC3CC,GAAc,IAAAC,WACbC,EAAWC,IAAgB,IAAAJ,YAC5BK,GAAe,IAAAH,QAAO,GACtBI,GAAkB,IAAAC,UAAQ,KAC9B,IAAIC,EACJ,OAAmE,QAA3DA,EAAuB,EAAAC,mBAAmBC,mBAAkD,IAAzBF,OAAkC,EAASA,EAAqBG,KAAK,EAAAF,mBAAmB,GAClK,KACH,IAAAG,YAAU,KACR,IAAIC,GAAS,EAkBb,OAjBAC,iBACE,IACE,MAAMC,QAAkB,EAAAN,mBAAmBO,eAAevB,EAAUC,EAAMC,GAC1E,GAAIkB,EACF,OAEFd,EAAgBgB,GAChBX,IAAyBC,EA6ClBY,QA5CT,CAAE,MAAOC,IA8Cf,SAAyBZ,GACvB,IAAIa,EACJ,MAAMC,EAA2E,QAA5DD,EAAwB,EAAAV,mBAAmBC,mBAAmD,IAA1BS,OAAmC,EAASA,EAAsBR,KAAK,EAAAF,oBAChK,OAAQH,IAAoBc,GAAed,IAAoBc,CACjE,EAjDYC,CAAgBf,KAElBgB,QAAQJ,MAAM,0BAA2BzB,EAAU,aAAcC,IACjE,IAAA6B,iBAAgBL,GAEpB,CACF,CACAM,GACO,KACLX,GAAS,CAAI,CACd,GACA,CAACnB,EAAMD,EAAUa,EAAiBX,IACrC,MAAM8B,GAAe,IAAAC,cAAYC,IAC3BA,EACF1B,EAAYgB,QAAU,EAAAR,mBAAmBmB,cAEzC9B,EAAc6B,IAGd,EAAAlB,mBAAmBoB,gBAAgB/B,EAAcG,EAAYgB,SAC7DhB,EAAYgB,aAAUa,GAExBlC,SAAkDA,EAAY+B,EAAQ,GACrE,CAAC/B,EAAaE,IACjB,IAAKA,EAEH,OAAO,KAGT,MAAM,QACJiC,GACEjC,EACJ,GAAgB,OAAZiC,EAEF,OADAlC,SAA0DA,IACnD,KAET,MAAMmC,EAAeD,EACrB,OAAoB,gBAAoBC,EAAc,CACpDC,IAAK9B,EACL+B,IAAKT,GAET,EASIU,EAAyB,SAAgCC,GAC3D,IAAI,SACF3C,EAAQ,KACRC,EAAI,cACJC,GACEyC,EACJ,OAAIC,MAAMC,QAAQ7C,GACI,gBAAoB,WAAgB,KAAMA,EAAS8C,KAAI,CAACC,EAAMC,IAAuB,gBAAoBlD,EAAe,CAC1I0C,IAAKQ,EACLhD,SAAU+C,EACV9C,KAAMA,EACNC,cAAeA,OAGC,gBAAoBJ,EAAe,CACrDE,SAAUA,EACVC,KAAMA,EACNC,cAAeA,GAEnB,EAIA,MAAM+C,GAAQ,IAAAC,uBAEd,GAAID,EAAO,CACT,MAAM,8BACJE,EAA6B,wBAC7BC,GACEH,EACAE,GAAiCC,IACnCtD,EAAgBqD,EAA8B,GAC9CT,EAAyBU,EAAwB,GAErD,CCjHO,SAASC,IACd,MAAOC,EAAcC,IAAmB,IAAAhD,UAAS,EAAAiD,iBAUjD,OATA,IAAArC,YAAU,KACR,MAAMsC,EAAsBC,IAC1BH,EAAgBG,EAAMC,OAAO,EAG/B,OADAC,OAAOC,iBAAiB,eAAgBJ,GACjC,KACLG,OAAOE,oBAAoB,eAAgBL,EAAoB,CAChE,GACA,IACIH,CACT,CCZO,SAASS,IACd,MAAOC,EAAYC,GAAiB,YAAe,KAAM,IAAAC,cAAaC,kBAQtE,OAPA,aAAgB,KACd,MAAMC,EAAWV,IACfO,EAAcP,EAAMC,OAAO,EAG7B,OADAC,OAAOC,iBAAiB,aAAcO,GAC/B,IAAMR,OAAOE,oBAAoB,aAAcM,EAAS,GAC9D,IACIJ,CACT,CCIO,SAASK,IACd,OAAON,IAAgBO,UACzB,CCjBO,SAASC,IACd,MAAOC,EAAaC,GAAkB,WAAe,MAQrD,OAPA,aAAgB,KACd,MAAML,EAAWV,IACfe,EAAef,EAAMC,OAAO,EAG9B,OADAC,OAAOC,iBAAiB,eAAgBO,GACjC,IAAMR,OAAOE,oBAAoB,eAAgBM,EAAS,GAChE,IACII,CACT,CCXO,MAAME,EAA0B,CACrCC,SAAU,GACVC,cAAe,CACbC,QAAS,OAGTC,UAAW,CAACC,EAASC,IAAYA,EACjC/E,UAAMoC,EACN4C,SAAS,EACTC,UAAU,EACVC,OAAO,GAETC,kBAAc/C,GAEhB,EAAegD,OAAOC,QAAQZ,GAAyBa,QAAO,CAACC,EAAKzF,KAClE,IAAKyC,EAAKiD,GAAS1F,EACnB,MAA8C,oBAA1CsF,OAAOK,UAAUC,SAASzE,KAAKuE,GAAqC,IACnED,KACAC,GAEE,IACFD,EACH,CAAChD,GAAMiD,EACR,GACA,CAAC,G,eCvBJ,MAAMG,EAAW,IAAIC,ICGd,SAASC,IACd,MAAM,SACJnB,EAAQ,cACRC,EAAa,aACbQ,EAAY,YACZW,GCNW,SAAyBC,EAAiCC,EAAqBC,GAC5F,MAAMvB,GAAW,IAAA7D,UAAQ,IACwB,iBAApCkF,EACFA,EAEFtB,EAAwBC,UAC9B,CAACqB,EAAiCC,IAC/BE,GAAU,IAAArF,UAAQ,KACtB,IAAIsF,EAAe,CAAC,EAMpB,OALI,IAAAC,UAASL,GACXI,EAAeJ,GACN,IAAAK,UAASJ,KAClBG,EAAeH,GAEV,IACF,KACAG,EACJ,GACA,CAACJ,EAAiCC,IAC/BF,GAAc,IAAAjF,UAAQ,KAC1B,MAAMwF,EAAmB,IAAIjB,OAAOkB,KAAK7B,MAA6BW,OAAOkB,KAAK7B,EAAwBE,iBACpG,KACJ4B,EAAO,QACJC,GACDpB,OAAOkB,KAAKJ,GAASZ,QAAO,CAACC,EAAKhD,KAC/B8D,EAAiBI,SAASlE,KAAMgD,EAAIhD,GAAO2D,EAAQ3D,IACjDgD,IACN,CAAC,GACJ,MAAO,CACLW,QAAS,IACJM,GAELD,OACD,GACA,CAACL,IACEf,GAAe,IAAAtE,UAAQ,IACvB8B,MAAMC,QAAQoD,GAA6BA,EAC3CrD,MAAMC,QAAQqD,GAAcA,EACzB,EAASd,cACf,CAACa,EAAqBC,IACnBjB,EAAUkB,EAAQlB,SAAWrC,MAAMC,QAAQuC,GAYjD,MAAO,CACLT,WACAC,eAboB,IAAA9D,UAAQ,KAMrB,IALkBuE,OAAOkB,KAAK7B,EAAwBE,eACtBW,QAAO,CAACoB,EAAMnE,KACnDmE,EAAKnE,GAAO2D,EAAQ3D,GACbmE,IACN,CAAC,GAGF1B,aAED,CAACkB,IAIFJ,cACAX,eAEJ,CDnDMwB,IAAmBC,YACjB,QACJhC,EAAO,UACPC,EAAS,SACTI,EAAQ,MACRC,KACG2B,GACDlC,GACGK,EAAS8B,IAAc,IAAAxG,UAASuG,EAAS7B,SAC1C+B,GAAiB,IAAAvG,QAAO,WACxBwG,GAAY,IAAAxG,UACZyG,GAAU,IAAAzG,SAAO,GACjBgB,GAAQ,IAAAhB,UACR0G,GAAW,IAAA1G,UACXR,GAAO,IAAAQ,QAAOqG,EAAS7G,MACvBmH,GAAc,IAAAC,aAAW,KAAM,CAAG,IAAG,IAAI,GACzCC,GAAU,IAAArF,cAAYZ,MAAOsD,EAAU4C,KAC3C,IACE9F,EAAMD,aAAUa,EACX6C,GAAU6B,GAAW,GAC1B,MAAMS,QDFGnG,eAAqBsD,EAAUQ,EAAOqB,GACnD,IAAIiB,EAGJ,MAAMC,EAxBR,SAA6B/C,GAC3B,MAAMgD,EAAUC,GAAOvC,OAAOkB,KAAKqB,GAAKC,OAAO/E,KAAIgF,IAAK,CACtD,CAACA,GAAIF,EAAIE,OAEX,IAAK,IAAIC,EAAOlB,UAAUmB,OAAQxB,EAAO,IAAI5D,MAAMmF,EAAO,EAAIA,EAAO,EAAI,GAAIE,EAAO,EAAGA,EAAOF,EAAME,IAClGzB,EAAKyB,EAAO,GAAKpB,UAAUoB,GAE7B,IACE,MAAMC,EAbY,iBADPC,EAcc3B,IAbW,OAAN2B,GAAevF,MAAMC,QAAQsF,GAaV3B,EAAK1D,KAAIsF,GAX9D,SAAkBD,GAChB,MAAoB,iBAANA,CAChB,CASqEE,CAASD,GAAOA,EAAMT,EAAQS,KAA9DT,EAAQnB,GACzC,OAAO8B,KAAKC,UAAU,CACpB5D,WACA6B,KAAM0B,GAEV,CAAE,MAAOM,GACP,OAAOF,KAAKC,UAAU,CACpB5D,WACA6B,QAEJ,CAxBF,IAAe2B,CAyBf,CAKmBM,CAAoB9D,KAAa6B,GAUlD,OATCrB,GAASS,EAAS8C,IAAIhB,IAAa9B,EAAS+C,OAAOjB,GAChD9B,EAAS8C,IAAIhB,GACfD,EAAU7B,EAASgD,IAAIlB,IAEvBD,GACS,IAAAoB,iBAAgBlE,EAAU6B,GAEnCrB,GAASS,EAASkD,IAAIpB,EAAUD,IAE3BA,CACT,CCb2BsB,CAAMpE,EAAUQ,EAAOoC,GAC5CJ,EAAS3F,QAAUgG,EACnBvH,EAAKuB,QAAUsD,EAAU7E,EAAKuB,QAASgG,EACzC,CAAE,MAAOgB,GACP/G,EAAMD,QAAUgH,EAChBvI,EAAKuB,aAAUa,CACjB,CAGA,OAFK6C,GAAU6B,GAAW,GACtBtF,EAAMD,SAASqD,EAAQpD,EAAMD,SAC1BvB,EAAKuB,OAAO,GAClB,CAACmD,EAAUC,EAAeQ,EAAcW,EAAab,EAAUJ,EAAWgC,EAAS7G,KAAM4E,EAASM,IAC/F6D,GAAY,IAAA/G,cAAYZ,MAAO4H,EAAgBzC,KACnD,IAAI0C,EAAcvE,EACd4C,EAAe,GASnB,OARI,IAAAc,UAASY,KACXC,EAAcD,IAEZ,IAAA5C,UAAS4C,GACX1B,EAAe0B,GACN,IAAA5C,UAASG,KAClBe,EAAef,GAEbtB,EACK,WACL+B,EAAUzF,QAAU8F,EAAQ4B,EAAa3B,GAAc4B,MAAKnE,IAC1DgC,EAAexF,QAAU,UAClBwD,KACNvD,IAEDuF,EAAexF,QAAU,QACzBC,EAAMD,QAAUC,EACTA,KAET2F,UACaH,EAAUzF,SAXlB,GAcF8F,EAAQ4B,EAAa3B,EAAa,GACxC,CAACD,IACE8B,GAAU,IAAAtI,UAAQ,IAAMuE,OAAOgE,iBAAiB,CACpDC,MAAON,GACN,CACD/D,QAAS,CACP2D,IAAG,IACM3D,GAGXhF,KAAM,CACJ2I,IAAG,IACM3I,EAAKuB,SAGhBC,MAAO,CACLmH,IAAG,IACMnH,EAAMD,YAGf,CAACwH,IAUL,IAPA,IAAA7H,YAAU,KACR+F,EAAQ1F,SAAU,EACdoB,MAAMC,QAAQuC,IAAiBT,GACjCyE,EAAQE,MAAM3E,EAAUoB,EAAYS,MAE/B,IAAMU,EAAQ1F,SAAU,IAC9B4D,GACCF,GAAY+B,EAAUzF,QACxB,OAAQwF,EAAexF,SACrB,IAAK,UACH,MAAMyF,EAAUzF,QAElB,IAAK,QACH,MAAMC,EAAMD,QAGlB,OAAO6D,OAAOkE,OAAO,CAACH,EAASjC,EAAS3F,QAASyD,EAASxD,EAAMD,SAAU,CACxE4H,aACGA,EACHjC,SAAUA,EAAS3F,QACnBvB,KAAMA,EAAKuB,QACXyD,UACAxD,MAAOA,EAAMD,SAEjB,C,eEhHOH,eAAemI,EAAeC,EAAWC,GAE9C,aADM,EAAA1I,mBAAmB2I,WAAW,CAACF,KAC9B,IAAAG,WAAUH,EAAWC,EAC9B,CCHO,SAASG,IACd,MAAOC,EAAWC,IAAgB,IAAAxJ,WAAS,KAAM,IAAA2D,cAAa8F,iBAQ9D,OAPA,IAAA7I,YAAU,KACR,MAAMiD,EAAWV,IACfqG,EAAarG,EAAMC,OAAO,EAG5B,OADAC,OAAOC,iBAAiB,mBAAoBO,GACrC,IAAMR,OAAOE,oBAAoB,mBAAoBM,EAAS,GACpE,IACI0F,CACT,C","sources":["webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgsDefaults.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/fetch.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProvider.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgs.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/asyncWrapBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useNavConfig.js"],"sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nlet ReactUseBrick = function ReactUseBrick(_ref) {\n let {\n useBrick,\n data,\n errorBoundary,\n refCallback,\n ignoredCallback\n } = _ref;\n const [renderResult, setRenderResult] = useState(null);\n const mountResult = useRef();\n const [renderKey, setRenderKey] = useState();\n const IdCounterRef = useRef(0);\n const initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n let ignore = false;\n async function init() {\n try {\n const newRender = await __secret_internals.renderUseBrick(useBrick, data, errorBoundary);\n if (ignore) {\n return;\n }\n setRenderResult(newRender);\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n }\n init();\n return () => {\n ignore = true;\n };\n }, [data, useBrick, initialRenderId, errorBoundary]);\n const _refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n refCallback === null || refCallback === void 0 || refCallback(element);\n }, [refCallback, renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n const {\n tagName\n } = renderResult;\n if (tagName === null) {\n ignoredCallback === null || ignoredCallback === void 0 || ignoredCallback();\n return null;\n }\n const WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: _refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n const newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nlet ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n let {\n useBrick,\n data,\n errorBoundary\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data,\n errorBoundary: errorBoundary\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data,\n errorBoundary: errorBoundary\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nconst v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n const {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n const [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n const listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n const [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n const listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n const [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n const listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map","export const useProviderArgsDefaults = {\n provider: \"\",\n customOptions: {\n onError: () => {\n /* Do nothing.. */\n },\n transform: (oldData, newData) => newData,\n data: undefined,\n loading: false,\n suspense: false,\n cache: true\n },\n dependencies: undefined\n};\nexport default Object.entries(useProviderArgsDefaults).reduce((acc, _ref) => {\n let [key, value] = _ref;\n if (Object.prototype.toString.call(value) === \"[object Object]\") return {\n ...acc,\n ...value\n };\n return {\n ...acc,\n [key]: value\n };\n}, {});\n//# sourceMappingURL=useProviderArgsDefaults.js.map","import { fetchByProvider } from \"@next-core/runtime\";\nconst cacheMap = new Map();\nfunction isObj(v) {\n return typeof v === \"object\" && v !== null && !Array.isArray(v);\n}\nfunction isString(v) {\n return typeof v === \"string\";\n}\nfunction buildSortedCacheKey(provider) {\n const sortObj = obj => Object.keys(obj).sort().map(k => ({\n [k]: obj[k]\n }));\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n try {\n const sortedArgs = isObj(args) ? sortObj(args) : args.map(arg => isString(arg) ? arg : sortObj(arg));\n return JSON.stringify({\n provider,\n args: sortedArgs\n });\n } catch (e) {\n return JSON.stringify({\n provider,\n args\n });\n }\n}\nexport default async function fetch(provider, cache, args) {\n let promise;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const cacheKey = buildSortedCacheKey(provider, ...args);\n !cache && cacheMap.has(cacheKey) && cacheMap.delete(cacheKey);\n if (cacheMap.has(cacheKey)) {\n promise = cacheMap.get(cacheKey);\n } else {\n promise = (() => {\n return fetchByProvider(provider, args);\n })();\n cache && cacheMap.set(cacheKey, promise);\n }\n return promise;\n}\n//# sourceMappingURL=fetch.js.map","import { useCallback, useEffect, useMemo, useReducer, useRef, useState } from \"react\";\nimport useProviderArgs from \"./useProviderArgs.js\";\nimport { isObject, isString } from \"lodash\";\nimport fetch from \"./fetch.js\";\nexport function useProvider() {\n const {\n provider,\n customOptions,\n dependencies,\n requestInit\n } = useProviderArgs(...arguments);\n const {\n onError,\n transform,\n suspense,\n cache,\n ...defaults\n } = customOptions;\n const [loading, setLoading] = useState(defaults.loading);\n const suspenseStatus = useRef(\"pending\");\n const suspender = useRef();\n const mounted = useRef(false);\n const error = useRef();\n const response = useRef();\n const data = useRef(defaults.data);\n const forceUpdate = useReducer(() => ({}), [])[1];\n const doFetch = useCallback(async (provider, providerArgs) => {\n try {\n error.current = undefined;\n if (!suspense) setLoading(true);\n const newRes = await fetch(provider, cache, providerArgs);\n response.current = newRes;\n data.current = transform(data.current, newRes);\n } catch (e) {\n error.current = e;\n data.current = undefined;\n }\n if (!suspense) setLoading(false);\n if (error.current) onError(error.current);\n return data.current;\n }, [provider, customOptions, dependencies, requestInit, suspense, transform, defaults.data, onError, cache]);\n const makeFetch = useCallback(async (providerOrBody, args) => {\n let providerStr = provider;\n let providerArgs = [];\n if (isString(providerOrBody)) {\n providerStr = providerOrBody;\n }\n if (isObject(providerOrBody)) {\n providerArgs = providerOrBody;\n } else if (isObject(args)) {\n providerArgs = args;\n }\n if (suspense) {\n return (async () => {\n suspender.current = doFetch(providerStr, providerArgs).then(newData => {\n suspenseStatus.current = \"success\";\n return newData;\n }, error => {\n /* istanbul ignore next */\n suspenseStatus.current = \"error\";\n error.current = error;\n return error;\n });\n forceUpdate();\n return await suspender.current;\n })();\n }\n return doFetch(providerStr, providerArgs);\n }, [doFetch]);\n const request = useMemo(() => Object.defineProperties({\n query: makeFetch\n }, {\n loading: {\n get() {\n return loading;\n }\n },\n data: {\n get() {\n return data.current;\n }\n },\n error: {\n get() {\n return error.current;\n }\n }\n }), [makeFetch]);\n\n // onMount/onUpdate\n useEffect(() => {\n mounted.current = true;\n if (Array.isArray(dependencies) && provider) {\n request.query(provider, requestInit.args);\n }\n return () => mounted.current = false;\n }, dependencies);\n if (suspense && suspender.current) {\n switch (suspenseStatus.current) {\n case \"pending\":\n throw suspender.current;\n /* istanbul ignore next */\n case \"error\":\n throw error.current;\n }\n }\n return Object.assign([request, response.current, loading, error.current], {\n request,\n ...request,\n response: response.current,\n data: data.current,\n loading,\n error: error.current\n });\n}\n//# sourceMappingURL=useProvider.js.map","import { useMemo } from \"react\";\nimport defaults, { useProviderArgsDefaults } from \"./useProviderArgsDefaults.js\";\nimport { isObject } from \"lodash\";\nexport default function useProviderArgs(providerOrParamsOrGlobalOptions, globalOptionsOrDeps, deps) {\n const provider = useMemo(() => {\n if (typeof providerOrParamsOrGlobalOptions === \"string\") {\n return providerOrParamsOrGlobalOptions;\n }\n return useProviderArgsDefaults.provider;\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n const options = useMemo(() => {\n let localOptions = {};\n if (isObject(providerOrParamsOrGlobalOptions)) {\n localOptions = providerOrParamsOrGlobalOptions;\n } else if (isObject(globalOptionsOrDeps)) {\n localOptions = globalOptionsOrDeps;\n }\n return {\n ...defaults,\n ...localOptions\n };\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n const requestInit = useMemo(() => {\n const customOptionKeys = [...Object.keys(useProviderArgsDefaults), ...Object.keys(useProviderArgsDefaults.customOptions)];\n const {\n args = null,\n ...restOptions\n } = Object.keys(options).reduce((acc, key) => {\n if (!customOptionKeys.includes(key)) acc[key] = options[key];\n return acc;\n }, {});\n return {\n options: {\n ...restOptions\n },\n args\n };\n }, [options]);\n const dependencies = useMemo(() => {\n if (Array.isArray(globalOptionsOrDeps)) return globalOptionsOrDeps;\n if (Array.isArray(deps)) return deps;\n return defaults.dependencies;\n }, [globalOptionsOrDeps, deps]);\n const loading = options.loading || Array.isArray(dependencies);\n const customOptions = useMemo(() => {\n const customOptionKeys = Object.keys(useProviderArgsDefaults.customOptions);\n const customOptions = customOptionKeys.reduce((opts, key) => {\n opts[key] = options[key];\n return opts;\n }, {});\n return {\n ...customOptions,\n loading\n };\n }, [options]);\n return {\n provider,\n customOptions,\n requestInit,\n dependencies\n };\n}\n//# sourceMappingURL=useProviderArgs.js.map","import { __secret_internals } from \"@next-core/runtime\";\nimport { wrapBrick } from \"@next-core/react-element\";\nexport async function asyncWrapBrick(brickName, eventsMapping) {\n await __secret_internals.loadBricks([brickName]);\n return wrapBrick(brickName, eventsMapping);\n}\n//# sourceMappingURL=asyncWrapBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useNavConfig() {\n const [navConfig, setNavConfig] = useState(() => getRuntime().getNavConfig());\n useEffect(() => {\n const listener = event => {\n setNavConfig(event.detail);\n };\n window.addEventListener(\"navConfig.change\", listener);\n return () => window.removeEventListener(\"navConfig.change\", listener);\n }, []);\n return navConfig;\n}\n//# sourceMappingURL=useNavConfig.js.map"],"names":["ReactUseBrick","_ref","useBrick","data","errorBoundary","refCallback","ignoredCallback","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","call","useEffect","ignore","async","newRender","renderUseBrick","current","error","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","_refCallback","useCallback","element","mountUseBrick","unmountUseBrick","undefined","tagName","WebComponent","key","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender","useProviderArgsDefaults","provider","customOptions","onError","transform","oldData","newData","loading","suspense","cache","dependencies","Object","entries","reduce","acc","value","prototype","toString","cacheMap","Map","useProvider","requestInit","providerOrParamsOrGlobalOptions","globalOptionsOrDeps","deps","options","localOptions","isObject","customOptionKeys","keys","args","restOptions","includes","opts","useProviderArgs","arguments","defaults","setLoading","suspenseStatus","suspender","mounted","response","forceUpdate","useReducer","doFetch","providerArgs","newRes","promise","cacheKey","sortObj","obj","sort","k","_len","length","_key","sortedArgs","v","arg","isString","JSON","stringify","e","buildSortedCacheKey","has","delete","get","fetchByProvider","set","fetch","makeFetch","providerOrBody","providerStr","then","request","defineProperties","query","assign","asyncWrapBrick","brickName","eventsMapping","loadBricks","wrapBrick","useNavConfig","navConfig","setNavConfig","getNavConfig"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[9780,7399],{29002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},96488:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},55152:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},30414:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11369);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},24586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(11369);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},5405:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},11369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},17545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},93417:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,{A:()=>o})},59780:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>J,I18nextProvider:()=>be,Trans:()=>te,TransWithoutContext:()=>W,Translation:()=>ye,composeInitialProps:()=>G,date:()=>je,getDefaults:()=>C,getI18n:()=>R,getInitialProps:()=>Q,initReactI18next:()=>$,number:()=>Pe,plural:()=>Ee,select:()=>xe,selectOrdinal:()=>Se,setDefaults:()=>D,setI18n:()=>T,time:()=>we,useSSR:()=>ve,useTranslation:()=>ue,withSSR:()=>Oe,withTranslation:()=>de});var r=n(24586);function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(18769),a=n(17545),c=n(29002),s=n.n(c),u=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(u),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,f=/^\s*$/,d=Object.create(null);function g(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(g,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var y={parse:function(e,t){t||(t={}),t.components||(t.components=d);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(p,(function(c,s){if(a){if(c!=="</"+n.name+">")return;a=!1}var u,p="/"!==c.charAt(1),d=c.startsWith("\x3c!--"),g=s+c.length,y=e.charAt(g);if(d){var b=l(c);return i<0?(r.push(b),r):((u=o[i]).children.push(b),r)}if(p&&(i++,"tag"===(n=l(c)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!y||"<"===y||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===i&&r.push(n),(u=o[i-1])&&u.children.push(n),o[i]=n),(!p||n.voidElement)&&(i>-1&&(n.voidElement||n.name===c.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==y&&y)){u=-1===i?r:o[i].children;var v=e.indexOf("<",g),h=e.slice(g,-1===v?void 0:v);f.test(h)&&(h=" "),(v>-1&&i+u.length>=0||" "!==h)&&u.push({type:"text",content:h})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+g("",t)}),"")}};const b=y;function v(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var h={};function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&h[t[0]]||("string"==typeof t[0]&&(h[t[0]]=new Date),v.apply(void 0,t))}var O=function(e,t){return function(){e.isInitialized?t():e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}};function j(e,t,n){e.loadNamespaces(t,O(e,n))}function w(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((function(t){e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,O(e,r))}function P(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var x=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},S=function(e){return E[e]};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N,I={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(x,S)}};function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};I=A(A({},I),e)}function C(){return I}function T(e){N=e}function R(){return N}var L=["format"],U=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function V(e){return e?e.props?e.props.children:e.children:[]}function F(e){return Array.isArray(e)?e:[e]}function H(e,t){if(!e)return"";var n="",r=F(e),c=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach((function(e,r){if("string"==typeof e)n+="".concat(e);else if((0,i.isValidElement)(e)){var s=Object.keys(e.props).length,u=c.indexOf(e.type)>-1,l=e.props.children;if(!l&&u&&0===s)n+="<".concat(e.type,"/>");else if(l||u&&0===s)if(e.props.i18nIsDynamicList)n+="<".concat(r,"></").concat(r,">");else if(u&&1===s&&"string"==typeof l)n+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var p=H(l,t);n+="<".concat(r,">").concat(p,"</").concat(r,">")}else n+="<".concat(r,"></").concat(r,">")}else if(null===e)v("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.A)(e)){var f=e.format,d=o(e,L),g=Object.keys(d);if(1===g.length){var y=f?"".concat(g[0],", ").concat(f):g[0];n+="{{".concat(y,"}}")}else v("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else v("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function W(e){var t=e.children,n=e.count,r=e.parent,c=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,y=e.i18n,v=e.t,h=e.shouldUnescape,O=o(e,U),j=y||R();if(!j)return m("You will need to pass in an i18next instance by using i18nextReactModule"),t;var w=v||j.t.bind(j)||function(e){return e};s&&(l.context=s);var P=B(B({},C()),j.options&&j.options.react),x=g||w.ns||j.options&&j.options.defaultNS;x="string"==typeof x?[x]:x||["translation"];var E=f||H(t,P)||P.transEmptyNodeValue||c,S=P.hashTransKey,k=c||(S?S(E):E),A=p?l.interpolation:{interpolation:B(B({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},N=B(B(B(B({},l),{},{count:n},p),A),{},{defaultValue:E,ns:x}),I=function(e,t,n,r,o,c){if(""===t)return[];var s=r.transKeepBasicHtmlNodesFor||[],u=t&&new RegExp(s.join("|")).test(t);if(!e&&!u)return[t];var l={};!function e(t){F(t).forEach((function(t){"string"!=typeof t&&(K(t)?e(V(t)):"object"!==(0,a.A)(t)||(0,i.isValidElement)(t)||Object.assign(l,t))}))}(e);var p=b.parse("<0>".concat(t,"</0>")),f=B(B({},l),o);function d(e,t,n){var r=V(e),o=y(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,i.isValidElement)(e)}))}(r)&&0===o.length?r:o}function g(e,t,n,r,o){e.dummy&&(e.children=t),n.push((0,i.cloneElement)(e,B(B({},e.props),{},{key:r}),o?void 0:t))}function y(t,o,l){var p=F(t);return F(o).reduce((function(t,o,b){var v,h,m,O=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,f,n.language);if("tag"===o.type){var j=p[parseInt(o.name,10)];!j&&1===l.length&&l[0][o.name]&&(j=l[0][o.name]),j||(j={});var w=0!==Object.keys(o.attrs).length?(v={props:o.attrs},(m=B({},h=j)).props=Object.assign(v.props,h.props),m):j,P=(0,i.isValidElement)(w),x=P&&K(o,!0)&&!o.voidElement,E=u&&"object"===(0,a.A)(w)&&w.dummy&&!P,S="object"===(0,a.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof w){var k=n.services.interpolator.interpolate(w,f,n.language);t.push(k)}else if(K(w)||x)g(w,d(w,o,l),t,b);else if(E){var A=y(p,o.children,l);t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b}),A))}else if(Number.isNaN(parseFloat(o.name)))if(S)g(w,d(w,o,l),t,b,o.voidElement);else if(r.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1)if(o.voidElement)t.push((0,i.createElement)(o.name,{key:"".concat(o.name,"-").concat(b)}));else{var N=y(p,o.children,l);t.push((0,i.createElement)(o.name,{key:"".concat(o.name,"-").concat(b)},N))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var I=y(p,o.children,l);t.push("<".concat(o.name,">").concat(I,"</").concat(o.name,">"))}else if("object"!==(0,a.A)(w)||P)1===o.children.length&&O?t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b}),O)):t.push((0,i.cloneElement)(w,B(B({},w.props),{},{key:b})));else{var D=o.children[0]?O:null;D&&t.push(D)}}else if("text"===o.type){var C=r.transWrapTextNodes,T=c?r.unescape(n.services.interpolator.interpolate(o.content,f,n.language)):n.services.interpolator.interpolate(o.content,f,n.language);C?t.push((0,i.createElement)(C,{key:"".concat(o.name,"-").concat(b)},T)):t.push(T)}return t}),[])}return V(y([{dummy:!0,children:e||[]}],p,F(e||[]))[0])}(d||t,k?w(k,N):E,j,P,N,h),D=void 0!==r?r:P.defaultTransParent;return D?(0,i.createElement)(D,O,I):I}var _=n(55152),M=n(30414),$={type:"3rdParty",init:function(e){D(e.options.react),T(e)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=(0,i.createContext)(),Z=function(){function e(){(0,_.A)(this,e),this.usedNamespaces={}}return(0,M.A)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function G(e){return function(t){return new Promise((function(n){var r=Q();e.getInitialProps?e.getInitialProps(t).then((function(e){n(Y(Y({},e),r))})):n(r)}))}}function Q(){var e=R(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}var X=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){var t=e.children,n=e.count,a=e.parent,c=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,y=e.i18n,b=e.t,v=e.shouldUnescape,h=o(e,X),m=(0,i.useContext)(J)||{},O=m.i18n,j=m.defaultNS,w=y||O||R(),P=b||w&&w.t.bind(w);return W(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({children:t,count:n,parent:a,i18nKey:c,context:s,tOptions:l,values:p,defaults:f,components:d,ns:g||P&&P.ns||j||w&&w.options&&w.options.defaultNS,i18n:w,t:b,shouldUnescape:v},h))}var ne=n(96488),re=n(93417),oe=n(5405);function ie(e,t){return(0,ne.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||(0,re.A)(e,t)||(0,oe.A)()}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(e,t){var n=(0,i.useRef)();return(0,i.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,i.useContext)(J)||{},o=r.i18n,c=r.defaultNS,s=n||o||R();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Z),!s){m("You will need to pass in an i18next instance by using initReactI18next");var u=function(e,t){return"string"==typeof t?t:t&&"object"===(0,a.A)(t)&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},l=[u,{},!1];return l.t=u,l.i18n={},l.ready=!1,l}s.options.react&&void 0!==s.options.react.wait&&m("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=ce(ce(ce({},C()),s.options.react),t),f=p.useSuspense,d=p.keyPrefix,g=e||c||s.options&&s.options.defaultNS;g="string"==typeof g?[g]:g||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(g);var y=(s.isInitialized||s.initializedStoreOnce)&&g.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||o&&!a(i,e)))}(e,t,n):(m("i18n.languages were undefined or empty",t.languages),!0)}(e,s,p)}));function b(){return s.getFixedT(t.lng||null,"fallback"===p.nsMode?g:g[0],d)}var v=ie((0,i.useState)(b),2),h=v[0],O=v[1],P=g.join();t.lng&&(P="".concat(t.lng).concat(P));var x=se(P),E=(0,i.useRef)(!0);(0,i.useEffect)((function(){var e=p.bindI18n,n=p.bindI18nStore;function r(){E.current&&O(b)}return E.current=!0,y||f||(t.lng?w(s,t.lng,g,(function(){E.current&&O(b)})):j(s,g,(function(){E.current&&O(b)}))),y&&x&&x!==P&&E.current&&O(b),e&&s&&s.on(e,r),n&&s&&s.store.on(n,r),function(){E.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,r)})),n&&s&&n.split(" ").forEach((function(e){return s.store.off(e,r)}))}}),[s,P]);var S=(0,i.useRef)(!0);(0,i.useEffect)((function(){E.current&&!S.current&&O(b),S.current=!1}),[s,d]);var k=[h,s,y];if(k.t=h,k.i18n=s,k.ready=y,y)return k;if(!y&&!f)return k;throw new Promise((function(e){t.lng?w(s,t.lng,g,(function(){return e()})):j(s,g,(function(){return e()}))}))}var le=["forwardedRef"];function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var a=r.forwardedRef,c=o(r,le),s=ie(ue(e,fe(fe({},c),{},{keyPrefix:t.keyPrefix})),3),u=s[0],l=s[1],p=s[2],f=fe(fe({},c),{},{t:u,i18n:l,tReady:p});return t.withRef&&a?f.ref=a:!t.withRef&&a&&(f.forwardedRef=a),(0,i.createElement)(n,f)}return r.displayName="withI18nextTranslation(".concat(P(n),")"),r.WrappedComponent=n,t.withRef?(0,i.forwardRef)((function(e,t){return(0,i.createElement)(r,Object.assign({},e,{forwardedRef:t}))})):r}}var ge=["ns","children"];function ye(e){var t=e.ns,n=e.children,r=ie(ue(t,o(e,ge)),3),i=r[0],a=r[1],c=r[2];return n(i,{i18n:a,lng:a.language},c)}function be(e){var t=e.i18n,n=e.defaultNS,r=e.children,o=(0,i.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,i.createElement)(J.Provider,{value:o},r)}function ve(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,i.useContext)(J)||{}).i18n,o=n||r||R();o.options&&o.options.isClone||(e&&!o.initializedStoreOnce&&(o.services.resourceStore.data=e,o.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),o.options.ns),o.initializedStoreOnce=!0,o.isInitialized=!0),t&&!o.initializedLanguageOnce&&(o.changeLanguage(t),o.initializedLanguageOnce=!0))}var he=["initialI18nStore","initialLanguage"];function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(){return function(e){function t(t){var n=t.initialI18nStore,a=t.initialLanguage,c=o(t,he);return ve(n,a),(0,i.createElement)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c))}return t.getInitialProps=G(e),t.displayName="withI18nextSSR(".concat(P(e),")"),t.WrappedComponent=e,t}}var je=function(){return""},we=function(){return""},Pe=function(){return""},xe=function(){return""},Ee=function(){return""},Se=function(){return""}}}]);
|
|
2
|
-
//# sourceMappingURL=9780.0506df1e.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-alert.45c0d15f.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[186,7620,2052],{61951:(e,t,r)=>{"use strict";r.d(t,{$m:()=>i,nh:()=>o});let n=function(e){return e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.ERROR="error",e}({});const o={[n.SUCCESS]:{outlinedIcon:{lib:"antd",icon:"check-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"check-circle",theme:"filled"},color:"var(--theme-green-color)",bgColor:"var(--theme-green-background)"},[n.INFO]:{outlinedIcon:{lib:"antd",icon:"info-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"info-circle",theme:"filled"},color:"var(--theme-blue-color)",bgColor:"var(--theme-blue-background)"},[n.WARNING]:{outlinedIcon:{lib:"antd",icon:"exclamation-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"exclamation-circle",theme:"filled"},color:"var(--theme-orange-color)",bgColor:"var(--theme-orange-background)"},[n.ERROR]:{outlinedIcon:{lib:"antd",icon:"close-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"close-circle",theme:"filled"},color:"var(--theme-red-color)",bgColor:"var(--theme-red-background)"}},i="presentational.general-alert-hidden"},74090:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GeneralAlert:()=>W,GeneralAlertComponent:()=>H});var n,o=r(89575),i=r(70918),a=r(86121),l=r(70829),c=r(62740),s=r(18769),u=r.n(s),p=r(3412),h=r(35049),f=r(56595),d=r(4612),m=(r(44291),r(98243)),g=r(61951),v=r(53373),b=r.n(v);let y,w,A,x,S,I,k,E,N,j,O,T,C;const{defineElement:z,property:M}=(0,p.createDecorators)(),R=(0,h.wrapBrick)("eo-icon");let W;var _=new WeakMap,P=new WeakMap,U=new WeakMap,$=new WeakMap,G=new WeakMap,K=new WeakMap,B=new WeakMap;class D extends h.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,_,w(this)),(0,i.A)(this,P,(A(this),x(this))),(0,i.A)(this,U,(S(this),I(this))),(0,i.A)(this,$,(k(this),E(this))),(0,i.A)(this,G,(N(this),j(this))),(0,i.A)(this,K,(O(this),T(this))),(0,i.A)(this,B,(C(this),()=>{this.remove()}))}get type(){return(0,l.A)(_,this)}set type(e){(0,a.A)(_,this,e)}get hasTitle(){return(0,l.A)(P,this)}set hasTitle(e){(0,a.A)(P,this,e)}get showIcon(){return(0,l.A)(U,this)}set showIcon(e){(0,a.A)(U,this,e)}get closable(){return(0,l.A)($,this)}set closable(e){(0,a.A)($,this,e)}get localStorageKey(){return(0,l.A)(G,this)}set localStorageKey(e){(0,a.A)(G,this,e)}get disableUrlNamespace(){return(0,l.A)(K,this)}set disableUrlNamespace(e){(0,a.A)(K,this,e)}render(){return u().createElement(H,{type:this.type,hasTitle:this.hasTitle,showIcon:this.showIcon,closable:this.closable,localStorageKey:this.localStorageKey,disableUrlNamespace:this.disableUrlNamespace,removeHostNode:(0,l.A)(B,this)})}}function H(e){const{type:t,hasTitle:r,showIcon:n,closable:i,localStorageKey:a,disableUrlNamespace:l,removeHostNode:c}=e,p=(0,s.useMemo)((()=>new d.G(localStorage)),[]),h=(0,s.useMemo)((()=>{if(a){const e=(0,f.getHistory)().location.pathname;return l?`${g.$m}_${a}`:`${g.$m}_${a}_${e}`}return null}),[l,a]),m=(0,s.useMemo)((()=>g.nh[t]),[t]),[v,y]=(0,s.useState)((()=>!(!i||!h||!p.getItem(h))));return v?null:u().createElement("div",{className:b()("alert-wrapper",r?"alert-wrapper-has-title":"alert-wrapper-no-title"),style:{background:null==m?void 0:m.bgColor}},n&&u().createElement(R,(0,o.A)({},r?null==m?void 0:m.outlinedIcon:null==m?void 0:m.filledIcon,{className:"alert-icon",style:{color:null==m?void 0:m.color}})),u().createElement("div",{className:"alert-container"},r&&u().createElement("div",{className:"alert-title"},u().createElement("slot",{name:"title"})),u().createElement("div",{className:"alert-content"},u().createElement("slot",null))),i&&u().createElement(R,{lib:"antd",theme:"outlined",icon:"close",className:"close-icon",onClick:()=>{y(!0),p.setItem(h,!0),null==c||c()}}))}n=D,({e:[w,A,x,S,I,k,E,N,j,O,T,C],c:[W,y]}=(0,c.A)(n,[z("eo-alert",{styleTexts:[m.A],alias:["presentational.general-alert"]})],[[M({attribute:!1}),1,"type"],[M({type:Boolean}),1,"hasTitle"],[M({type:Boolean}),1,"showIcon"],[M({type:Boolean}),1,"closable"],[M(),1,"localStorageKey"],[M({type:Boolean}),1,"disableUrlNamespace"]],0,void 0,h.ReactNextElement)),y()},98243:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(36758),o=r.n(n),i=r(40935),a=r.n(i)()(o());a.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.alert-wrapper{display:flex;border-radius:var(--larger-border-radius)}.alert-container{flex:1;display:flex;flex-direction:column}.close-icon{font-size:12px;color:var(--palette-gray-8);cursor:pointer}.alert-wrapper-no-title.alert-wrapper{gap:10px;padding:10px 16px}.alert-wrapper-no-title .alert-icon{font-size:14px;margin-top:5px}.alert-wrapper-no-title .alert-content{font-size:14px;color:var(--text-color-default);line-height:24px}.alert-wrapper-no-title .close-icon{margin-top:6px}.alert-wrapper-has-title.alert-wrapper{gap:16px;padding:16px 16px 16px 24px}.alert-wrapper-has-title .alert-icon{font-size:24px}.alert-wrapper-has-title .alert-title{margin-bottom:6px;font-size:16px;font-weight:var(--font-weight-500);color:var(--text-color-default);line-height:24px}.alert-wrapper-has-title .alert-content{font-size:12px;color:var(--text-color-default);line-height:20px}",""]);const l=a.toString()},40935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(a[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},36758:e=>{"use strict";e.exports=function(e){return e[1]}},53373:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},62740:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(17545),o=r(26902);function i(e,t,r){"symbol"==(0,n.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}var a=r(11369);function l(e,t,r,l,c,s){var u,p,h,f,d,m,g,v=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,w=[y(null),y(null)],A=t.length;function x(t,r,n){return function(o,i){r&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,n?[i]:[]);return n?i:o}}function S(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function I(e,t,r,o,a,l,c,s,h,f,d){function m(e){if(!d(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),v=t[3],y=!c,A=1===a,I=3===a,k=4===a,E=2===a;function N(t,r,n){return function(o,i){return r&&(i=o,o=e),n&&n(o),j[t].call(o,i)}}if(!y){var j={},O=[],T=I?"get":k||A?"set":"value";if(h?(f||A?j={get:i((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:j[T]=v,f||i(j[T],o,E?"":T)):f||(j=Object.getOwnPropertyDescriptor(e,o)),!f&&!h){if((p=w[+s][o])&&7!=(p^a))throw Error("Decorating two elements with the same name ("+j[T].name+") is not supported yet");w[+s][o]=a<3?1:a}}for(var C=e,z=g.length-1;z>=0;z-=r?2:1){var M=S(g[z],"A decorator","be",!0),R=r?g[z-1]:void 0,W={},_={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");S(t,"An initializer","be",!0),l.push(t)}.bind(null,W)};if(y)p=M.call(R,C,_),W.v=1,S(p,"class decorators","return")&&(C=p);else if(_.static=s,_.private=h,p=_.access={has:h?d.bind():function(e){return o in e}},k||(p.get=h?E?function(e){return m(e),j.value}:N("get",0,m):function(e){return e[o]}),E||I||(p.set=h?N("set",0,m):function(e,t){e[o]=t}),C=M.call(R,A?{get:j.get,set:j.set}:j[T],_),W.v=1,A){if("object"==(0,n.A)(C)&&C)(p=S(C.get,"accessor.get"))&&(j.get=p),(p=S(C.set,"accessor.set"))&&(j.set=p),(p=S(C.init,"accessor.init"))&&O.unshift(p);else if(void 0!==C)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(C,(f?"field":"method")+" decorators","return")&&(f?O.unshift(C):j[T]=C)}return a<2&&c.push(x(O,s,1),x(l,s,0)),f||y||(h?A?c.splice(-1,0,N("get",s),N("set",s)):c.push(E?j[T]:S.call.bind(j[T])):b(e,o,j)),C}function k(e){return b(e,v,{configurable:!0,enumerable:!0,value:u})}return void 0!==s&&(u=s[v]),u=y(null==u?null:u),d=[],m=function(e){e&&d.push(x(e))},g=function(t,n){for(var i=0;i<r.length;i++){var l=r[i],s=l[1],u=7&s;if((8&s)==t&&!u==n){var p=l[2],m=!!l[3],g=16&s;I(t?e:e.prototype,l,g,m?"#"+p:(0,a.A)(p),u,u<2?[]:t?f=f||[]:h=h||[],d,!!t,m,n,t&&m?function(t){return(0,o.A)(t)===e}:c)}}},g(8,0),g(0,0),g(8,1),g(0,1),m(h),m(f),p=d,A||k(e),{e:p,get c(){var r=[];return A&&[k(e=I(e,[t],l,e.name,5,r)),x(r,1)]}}}},12559:(e,t,r)=>{"use strict";function n(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r.d(t,{A:()=>n})},26902:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(17545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.A)(e):"null"));return e}},72016:(e,t,r)=>{"use strict";function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{A:()=>n})},70829:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(12559);function o(e,t){return e.get((0,n.A)(e,t))}},70918:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(72016);function o(e,t,r){(0,n.A)(e,t),t.set(e,r)}},86121:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(12559);function o(e,t,r){return e.set((0,n.A)(e,t),r),r}},89575:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},11369:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(17545);function o(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},17545:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})},4612:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}}}]);
|
|
3
|
-
//# sourceMappingURL=eo-alert.45c0d15f.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-card-item.e6f57b2d.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[5926,7620,2052],{24845:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EoCardItem:()=>be,EoCardItemComponent:()=>Fe,TagColor:()=>fe});var a,o=r(89575),n=r(74635),c=r(70918),i=r(26902),l=r(12559),s=r(5536),d=r(86121),h=r(70829),u=r(62740),p=r(18769),g=r.n(p),v=r(3412),b=r(35049),f=(r(44291),r(52076)),m=r(53373),x=r.n(m),y=r(5664);let A,w,k,E,C,S,T,M,z,j,W,I,N,P,O,B,H,_,D,q,$,R,L,F,G,J,K,Q,U,V,X,Y,Z,ee,te,re,ae,oe,ne,ce,ie,le,se;const{defineElement:de,property:he,event:ue}=(0,v.createDecorators)(),pe=(0,b.wrapBrick)("eo-link"),ge=(0,b.wrapBrick)("eo-icon"),ve=(0,b.wrapBrick)("eo-mini-actions",{onActionClick:"action.click"});let be,fe=function(e){return e.blue="blue",e.cyan="cyan",e.geekblue="geekblue",e.grayblue="grayblue",e.gray="gray",e.green="green",e.orange="orange",e.purple="purple",e.red="red",e.yellow="yellow",e}({});var me=new WeakMap,xe=new WeakMap,ye=new WeakMap,Ae=new WeakMap,we=new WeakMap,ke=new WeakMap,Ee=new WeakMap,Ce=new WeakMap,Se=new WeakMap,Te=new WeakMap,Me=new WeakMap,ze=new WeakMap,je=new WeakMap,We=new WeakMap,Ie=new WeakMap,Ne=new WeakMap,Pe=new WeakMap,Oe=new WeakMap,Be=new WeakMap,He=new WeakMap,_e=new WeakMap,De=new WeakSet,qe=new WeakMap,$e=new WeakMap;class Re extends b.ReactNextElement{constructor(){super(...arguments),(0,n.A)(this,De),(0,c.A)(this,me,w(this)),(0,c.A)(this,xe,(k(this),E(this))),(0,c.A)(this,ye,(C(this),S(this))),(0,c.A)(this,Ae,(T(this),M(this))),(0,c.A)(this,we,(z(this),j(this))),(0,c.A)(this,ke,(W(this),I(this))),(0,c.A)(this,Ee,(N(this),P(this))),(0,c.A)(this,Ce,(O(this),B(this))),(0,c.A)(this,Se,(H(this),_(this))),(0,c.A)(this,Te,(D(this),q(this))),(0,c.A)(this,Me,($(this),R(this))),(0,c.A)(this,ze,(L(this),F(this))),(0,c.A)(this,je,(G(this),J(this))),(0,c.A)(this,We,(K(this),Q(this))),(0,c.A)(this,Ie,(U(this),V(this))),(0,c.A)(this,Ne,(X(this),Y(this))),(0,c.A)(this,Pe,(Z(this),ee(this))),(0,c.A)(this,Oe,(te(this),re(this))),(0,c.A)(this,Be,(ae(this),oe(this))),(0,c.A)(this,He,(ne(this),e=>{this.dispatchEvent(new CustomEvent(e.event))})),(0,c.A)(this,_e,ce(this)),(0,c.A)(this,qe,(se(this),()=>{(0,s.A)(De,this,ie).emit()})),(0,c.A)(this,$e,(()=>{const e=(0,l.A)(De,this,Le).call(this,"slot[name='expanded-area-1']"),t=(0,l.A)(De,this,Le).call(this,"slot[name='expanded-area-2']");null==e||e.addEventListener("slotchange",(()=>{this.hasExpandedArea1=e.assignedElements().length>0})),null==t||t.addEventListener("slotchange",(()=>{this.hasExpandedArea2=t.assignedElements().length>0}))}))}get hasHeader(){return(0,h.A)(me,this)}set hasHeader(e){(0,d.A)(me,this,e)}get cardTitle(){return(0,h.A)(xe,this)}set cardTitle(e){(0,d.A)(xe,this,e)}get description(){return(0,h.A)(ye,this)}set description(e){(0,d.A)(ye,this,e)}get auxiliaryText(){return(0,h.A)(Ae,this)}set auxiliaryText(e){(0,d.A)(Ae,this,e)}get avatar(){return(0,h.A)(we,this)}set avatar(e){(0,d.A)(we,this,e)}get href(){return(0,h.A)(ke,this)}set href(e){(0,d.A)(ke,this,e)}get url(){return(0,h.A)(Ee,this)}set url(e){(0,d.A)(Ee,this,e)}get target(){return(0,h.A)(Ce,this)}set target(e){(0,d.A)(Ce,this,e)}get actions(){return(0,h.A)(Se,this)}set actions(e){(0,d.A)(Se,this,e)}get selected(){return(0,h.A)(Te,this)}set selected(e){(0,d.A)(Te,this,e)}get styleType(){return(0,h.A)(Me,this)}set styleType(e){(0,d.A)(Me,this,e)}get hasCover(){return(0,h.A)(ze,this)}set hasCover(e){(0,d.A)(ze,this,e)}get coverImage(){return(0,h.A)(je,this)}set coverImage(e){(0,d.A)(je,this,e)}get coverColor(){return(0,h.A)(We,this)}set coverColor(e){(0,d.A)(We,this,e)}get coverImageSize(){return(0,h.A)(Ie,this)}set coverImageSize(e){(0,d.A)(Ie,this,e)}get avatarPosition(){return(0,h.A)(Ne,this)}set avatarPosition(e){(0,d.A)(Ne,this,e)}get tagConfig(){return(0,h.A)(Pe,this)}set tagConfig(e){(0,d.A)(Pe,this,e)}get hasExpandedArea1(){return(0,h.A)(Oe,this)}set hasExpandedArea1(e){(0,d.A)(Oe,this,e)}get hasExpandedArea2(){return(0,h.A)(Be,this)}set hasExpandedArea2(e){(0,d.A)(Be,this,e)}render(){return g().createElement(Fe,{hasHeader:this.hasHeader,cardTitle:this.cardTitle,description:this.description,auxiliaryText:this.auxiliaryText,avatar:this.avatar,actions:this.actions,selected:this.selected,href:this.href,url:this.url,target:this.target,callback:(0,h.A)($e,this),hasCover:this.hasCover,coverImage:this.coverImage,coverColor:this.coverColor,tagConfig:this.tagConfig,avatarPosition:this.avatarPosition,onActionClick:(0,h.A)(He,this),onTagClick:(0,h.A)(qe,this),coverImageSize:this.coverImageSize,styleType:this.styleType})}}function Le(e){var t;return null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(e)}function Fe(e){const{hasHeader:t,cardTitle:r,description:a,auxiliaryText:n,actions:c,selected:i,avatar:l,url:s,target:d,href:h,callback:u,hasCover:v,coverImage:b,coverColor:f,avatarPosition:m,tagConfig:A,styleType:w,onActionClick:k,onTagClick:E,coverImageSize:C}=e,S=(0,y.useCurrentTheme)(),T=(0,p.useCallback)((e=>{null==k||k(e.detail)}),[k]),M=(0,p.useMemo)((()=>g().createElement(ve,{onActionClick:T,onClickCapture:e=>{e.preventDefault()},className:"operator",actions:c})),[c,T]),z=(0,p.useMemo)((()=>{if(l){if("icon"in l&&l.icon){const{icon:e,shape:t="round-square",bgColor:r,color:a,size:n=("cover"===m?68:40),containerSize:c=("cover"===m?90:40)}=l;return g().createElement("div",{className:x()("card-avatar",t&&`card-avatar-${t}`),style:{background:r,width:c,height:c}},g().createElement(ge,(0,o.A)({},e,{style:{color:a,fontSize:n}})))}if("imgSrc"in l&&l.imgSrc){const{imgSrc:e,shape:t="round-square",bgColor:r,imgStyle:a,containerSize:o=("cover"===m?90:40)}=l;return g().createElement("div",{className:x()("card-avatar",t&&`card-avatar-${t}`),style:{background:r,width:o,height:o}},g().createElement("img",{src:e,width:"100%",height:"100%",style:a}))}}}),[l]),j=(0,p.useMemo)((()=>Object.values(fe).includes(null==A?void 0:A.bgColor)),[A]);return g().createElement(pe,{type:"plain",url:s,target:d,href:h},g().createElement("div",{className:x()("card-wrapper",S,w,{selected:i}),ref:u},v&&g().createElement("div",{className:"card-cover-wrapper"},g().createElement("div",{className:"card-cover-content",style:{...b&&{backgroundImage:`url(${b})`},...f&&{backgroundColor:f},...C&&{backgroundSize:C}}},M,"cover"===m&&z)),t?g().createElement("div",{className:"card-header"},g().createElement("div",{className:"auxiliary-text"},n),!v&&M):!v&&M,g().createElement("div",{className:"card-content"},"cover"!==m&&z,g().createElement("div",{className:"card-content-container"},g().createElement("div",{className:"card-title",title:r},r),g().createElement("div",{className:"card-description"},a)),A&&g().createElement("div",{className:x()("card-tag",{[`color-${A.bgColor}`]:j,"icon-tag":!A.text&&A.icon,"text-tag":A.text}),style:{...j?{}:{color:A.color,background:A.bgColor}},onClick:e=>{e.stopPropagation(),e.preventDefault(),null==E||E()}},A.text?A.text:A.icon?g().createElement(ge,A.icon):null)),g().createElement("div",{className:"card-expanded-area-1"},g().createElement("slot",{name:"expanded-area-1"})),g().createElement("div",{className:"card-expanded-area-2"},g().createElement("slot",{name:"expanded-area-2"}))))}a=Re,({e:[w,k,E,C,S,T,M,z,j,W,I,N,P,O,B,H,_,D,q,$,R,L,F,G,J,K,Q,U,V,X,Y,Z,ee,te,re,ae,oe,ne,ce,ie,le,se],c:[be,A]}=(0,u.A)(a,[de("eo-card-item",{styleTexts:[f.A]})],[[he({type:Boolean}),1,"hasHeader"],[he(),1,"cardTitle"],[he(),1,"description"],[he(),1,"auxiliaryText"],[he({attribute:!1}),1,"avatar"],[he(),1,"href"],[he({attribute:!1}),1,"url"],[he(),1,"target"],[he({attribute:!1}),1,"actions"],[he({type:Boolean}),1,"selected"],[he(),1,"styleType"],[he({type:Boolean}),1,"hasCover"],[he({attribute:!1}),1,"coverImage"],[he({attribute:!1}),1,"coverColor"],[he({attribute:!1}),1,"coverImageSize"],[he(),1,"avatarPosition"],[he({attribute:!1}),1,"tagConfig"],[he({type:Boolean}),1,"hasExpandedArea1"],[he({type:Boolean}),1,"hasExpandedArea2"],[ue({type:"tag.click"}),1,"tagClickEvent",e=>(0,h.A)(_e,e),(e,t)=>(0,d.A)(_e,e,t)]],0,(e=>$e.has((0,i.A)(e))),b.ReactNextElement)),A()},52076:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(36758),o=r.n(a),n=r(40935),c=r.n(n)()(o());c.push([e.id,":host{display:flex;flex-direction:column}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}eo-link{width:100%;height:100%}.card-wrapper{--local-card-border:1px solid var(--card-item-border-color);--local-cover-border-bottom:1px solid var(--card-item-border-color);--local-box-shadow:0 0 0 1px var(--card-item-border-color);--local-card-hovered-border:none;--local-card-selected-border-color:var(--palette-blue-6);--local-card-background-color:var(--card-item-bg);--local-cover-background-color:var(--color-fill-bg-base-3);--local-card-hovered-background-color:var(--card-item-hover-bg);--local-card-selected-background-color:var(--local-card-background-color);--local-card-hovered-box-shadow:var(--card-item-hover-shadow);--local-card-title-color:var(--text-color-title);--local-card-hovered-title-color:var(--color-brand);--local-card-description-color:var(--text-color-secondary)}.card-wrapper.grayish{--local-card-border:1px solid transparent;--local-box-shadow:0 0 0 1px transparent;--local-card-hovered-border:1px solid transparent;--local-card-selected-border-color:transparent;--local-card-background-color:#f6f8fa;--local-card-hovered-background-color:var(--color-fill-bg-container-1);--local-card-selected-background-color:var(\n --local-card-hovered-background-color\n );--local-card-hovered-box-shadow:0px 2px 12px 0px rgba(0,0,0,0.06);--local-card-title-color:var(--color-header-text);--local-card-hovered-title-color:var(--color-brand);--local-card-description-color:var(--color-secondary-text);--local-card-icon-box-shadow:0px 2px 4px 0px rgba(26,122,255,0.08);--local-card-hovered-icon-box-shadow:none;--local-card-icon-background-color:var(--color-fill-bg-container-1);--local-card-hovered-icon-background-color:var(--palette-gray-blue-1);--local-card-icon-color:var(--palette-gray-blue-6)}.card-wrapper.grayish.dark,\n.card-wrapper.grayish.dark-v2{--local-card-hovered-border:1px solid rgba(255,255,255,0.12);--local-card-selected-border-color:transparent;--local-card-background-color:rgb(255 255 255/8%);--local-card-hovered-box-shadow:none;--local-card-icon-box-shadow:none;--local-card-hovered-icon-background-color:var(--palette-blue-2)}.card-wrapper{position:relative;background:var(--local-card-background-color);border:var(--local-card-border);border-radius:var(--larger-border-radius);transition:var(--card-transition);overflow:hidden;cursor:pointer;height:100%}.card-wrapper:hover{border-color:transparent;box-shadow:var(--local-card-hovered-box-shadow);background:var(--local-card-hovered-background-color)}.card-wrapper.selected{border-color:var(--local-card-selected-border-color);background-color:var(--local-card-selected-background-color)}.card-header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 16px;height:32px}.auxiliary-text{font-size:11px;color:var(--text-color-disabled);line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host([has-cover]) .operator,\n:host(:not([has-header])) .operator{position:absolute;top:6px;right:8px}:host(:not([has-header])) .card-content{padding-top:16px}.card-content{display:flex;gap:12px;padding:0 16px 16px 16px;align-items:center}eo-tooltip::part(popup){margin-top:18px}.card-tag{position:absolute;box-sizing:border-box;width:80px;font-size:12px;text-align:center;transform:rotate(45deg);z-index:1;color:#fff;transition:transform 0.3s}.card-tag.color-blue{background-color:var(--palette-blue-6)}.card-tag.color-cyan{background-color:var(--palette-cyan-6)}.card-tag.color-geekblue{background-color:var(--palette-indigo-6)}.card-tag.color-grayblue{background-color:var(--palette-gray-blue-6)}.card-tag.color-gray{background-color:var(--palette-gray-6);color:var(--palette-gray-7)}.card-tag.color-green{background-color:var(--palette-green-6)}.card-tag.color-orange{background-color:var(--palette-orange-6)}.card-tag.color-purple{background-color:var(--palette-purple-6)}.card-tag.color-red{background-color:var(--palette-red-6)}.card-tag.color-yellow{background-color:var(--palette-yellow-6)}.card-tag.icon-tag{top:-4px;right:-32px;height:24px;line-height:32px}.card-tag.icon-tag eo-icon{transform:rotate(-45deg)}.card-tag.text-tag{line-height:22px;height:22px;top:8px;right:-24px}.card-tag:hover{transform:rotate(45deg) scale(120%)}.card-avatar{display:flex;justify-content:center;align-items:center;overflow:hidden;box-shadow:var(--local-card-icon-box-shadow);background-color:var(--local-card-icon-background-color)}.card-avatar eo-icon{color:var(--local-card-icon-color)}.card-wrapper:hover .card-avatar{box-shadow:var(--local-card-hovered-icon-box-shadow);background-color:var(--local-card-hovered-icon-background-color)}.card-avatar-circle{border-radius:50%}.card-avatar-round-square{border-radius:var(--larger-border-radius)}.card-content-container{min-width:0;flex:1}.card-title{margin-bottom:3px;font-size:var(--normal-font-size);font-weight:var(--font-weight-500);color:var(--local-card-title-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-wrapper:hover .card-title{color:var(--local-card-hovered-title-color)}.card-description{font-size:var(--sub-title-font-size-small);color:var(--local-card-description-color);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}:host(:not([has-expanded-area1])) .card-expanded-area-1{display:none}.card-expanded-area-1{display:flex;align-items:center;justify-content:space-between;padding:0 16px 16px 16px}:host(:not([has-expanded-area2])) .card-expanded-area-2{display:none}.card-expanded-area-2{display:flex;align-items:center;justify-content:space-between;padding:0 16px 10px 16px}.card-cover-wrapper{position:relative;width:100%;padding-top:56.25%;background-color:var(--local-cover-background-color);border-bottom:var(--local-cover-border-bottom)}.card-cover-content{position:absolute;top:0;left:0;width:100%;height:100%;background-size:auto 100%;background-position:center;background-repeat:no-repeat;display:flex;flex-direction:column;justify-content:center;align-items:center}",""]);const i=c.toString()},40935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(a)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(c[l]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);a&&c[d[0]]||(void 0!==n&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=n),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},36758:e=>{"use strict";e.exports=function(e){return e[1]}},53373:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=c(e,n(r)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)a.call(e,r)&&e[r]&&(t=c(t,r));return t}function c(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},62740:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(17545),o=r(26902);function n(e,t,r){"symbol"==(0,a.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}var c=r(11369);function i(e,t,r,i,l,s){var d,h,u,p,g,v,b,f=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,x=Object.create,y=[x(null),x(null)],A=t.length;function w(t,r,a){return function(o,n){r&&(n=o,o=e);for(var c=0;c<t.length;c++)n=t[c].apply(o,a?[n]:[]);return a?n:o}}function k(e,t,r,a){if("function"!=typeof e&&(a||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(a?"":" or undefined"));return e}function E(e,t,r,o,c,i,l,s,u,p,g){function v(e){if(!g(e))throw new TypeError("Attempted to access private element on non-instance")}var b=[].concat(t[0]),f=t[3],x=!l,A=1===c,E=3===c,C=4===c,S=2===c;function T(t,r,a){return function(o,n){return r&&(n=o,o=e),a&&a(o),M[t].call(o,n)}}if(!x){var M={},z=[],j=E?"get":C||A?"set":"value";if(u?(p||A?M={get:n((function(){return f(this)}),o,"get"),set:function(e){t[4](this,e)}}:M[j]=f,p||n(M[j],o,S?"":j)):p||(M=Object.getOwnPropertyDescriptor(e,o)),!p&&!u){if((h=y[+s][o])&&7!=(h^c))throw Error("Decorating two elements with the same name ("+M[j].name+") is not supported yet");y[+s][o]=c<3?1:c}}for(var W=e,I=b.length-1;I>=0;I-=r?2:1){var N=k(b[I],"A decorator","be",!0),P=r?b[I-1]:void 0,O={},B={kind:["field","accessor","method","getter","setter","class"][c],name:o,metadata:d,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");k(t,"An initializer","be",!0),i.push(t)}.bind(null,O)};if(x)h=N.call(P,W,B),O.v=1,k(h,"class decorators","return")&&(W=h);else if(B.static=s,B.private=u,h=B.access={has:u?g.bind():function(e){return o in e}},C||(h.get=u?S?function(e){return v(e),M.value}:T("get",0,v):function(e){return e[o]}),S||E||(h.set=u?T("set",0,v):function(e,t){e[o]=t}),W=N.call(P,A?{get:M.get,set:M.set}:M[j],B),O.v=1,A){if("object"==(0,a.A)(W)&&W)(h=k(W.get,"accessor.get"))&&(M.get=h),(h=k(W.set,"accessor.set"))&&(M.set=h),(h=k(W.init,"accessor.init"))&&z.unshift(h);else if(void 0!==W)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else k(W,(p?"field":"method")+" decorators","return")&&(p?z.unshift(W):M[j]=W)}return c<2&&l.push(w(z,s,1),w(i,s,0)),p||x||(u?A?l.splice(-1,0,T("get",s),T("set",s)):l.push(S?M[j]:k.call.bind(M[j])):m(e,o,M)),W}function C(e){return m(e,f,{configurable:!0,enumerable:!0,value:d})}return void 0!==s&&(d=s[f]),d=x(null==d?null:d),g=[],v=function(e){e&&g.push(w(e))},b=function(t,a){for(var n=0;n<r.length;n++){var i=r[n],s=i[1],d=7&s;if((8&s)==t&&!d==a){var h=i[2],v=!!i[3],b=16&s;E(t?e:e.prototype,i,b,v?"#"+h:(0,c.A)(h),d,d<2?[]:t?p=p||[]:u=u||[],g,!!t,v,a,t&&v?function(t){return(0,o.A)(t)===e}:l)}}},b(8,0),b(0,0),b(8,1),b(0,1),v(u),v(p),h=g,A||C(e),{e:h,get c(){var r=[];return A&&[C(e=E(e,[t],i,e.name,5,r)),w(r,1)]}}}},12559:(e,t,r)=>{"use strict";function a(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r.d(t,{A:()=>a})},26902:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(17545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.A)(e):"null"));return e}},72016:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{A:()=>a})},70829:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(12559);function o(e,t){return e.get((0,a.A)(e,t))}},70918:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(72016);function o(e,t,r){(0,a.A)(e,t),t.set(e,r)}},86121:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(12559);function o(e,t,r){return e.set((0,a.A)(e,t),r),r}},5536:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(12559);function o(e,t,r){return r((0,a.A)(e,t))}},74635:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(72016);function o(e,t){(0,a.A)(e,t),t.add(e)}},89575:(e,t,r)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},a.apply(this,arguments)}r.d(t,{A:()=>a})},11369:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(17545);function o(e){var t=function(e,t){if("object"!=(0,a.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,a.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,a.A)(t)?t:t+""}},17545:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{A:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-card-item.e6f57b2d.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[7805,7620,2052],{2873:(t,e,n)=>{n.r(e),n.d(e,{EoCarouselText:()=>C,EoCarouselTextComponent:()=>P});var r,o=n(70918),i=n(86121),a=n(70829),s=n(62740),c=n(18769),u=n.n(c),l=n(3412),f=n(35049),h=(n(44291),n(76480));let d,p,m,v,y,b,g,A,w,x,S;const{defineElement:E,property:k}=(0,l.createDecorators)();let C;var T=new WeakMap,j=new WeakMap,z=new WeakMap,W=new WeakMap,D=new WeakMap;class O extends f.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,T,p(this,"")),(0,o.A)(this,j,(m(this),v(this,"100%"))),(0,o.A)(this,z,(y(this),b(this,"14px"))),(0,o.A)(this,W,(g(this),A(this,"black"))),(0,o.A)(this,D,(w(this),x(this,3e3))),S(this)}get text(){return(0,a.A)(T,this)}set text(t){(0,i.A)(T,this,t)}get containerWidth(){return(0,a.A)(j,this)}set containerWidth(t){(0,i.A)(j,this,t)}get fontSize(){return(0,a.A)(z,this)}set fontSize(t){(0,i.A)(z,this,t)}get fontColor(){return(0,a.A)(W,this)}set fontColor(t){(0,i.A)(W,this,t)}get animationDuration(){return(0,a.A)(D,this)}set animationDuration(t){(0,i.A)(D,this,t)}render(){return u().createElement(P,{text:this.text,animationDuration:this.animationDuration,fontColor:this.fontColor,fontSize:this.fontSize,containerWidth:this.containerWidth})}}function P(t){const{text:e,animationDuration:n,fontColor:r,fontSize:o,containerWidth:i}=t;return u().createElement("div",{className:"scrollContainer",style:{width:i}},u().createElement("div",{className:"scrollText",style:{animationDuration:`${n}ms`,color:r,fontSize:o}},e))}r=O,({e:[p,m,v,y,b,g,A,w,x,S],c:[C,d]}=(0,s.A)(r,[E("eo-carousel-text",{styleTexts:[h.A]})],[[k(),1,"text"],[k(),1,"containerWidth"],[k(),1,"fontSize"],[k(),1,"fontColor"],[k(),1,"animationDuration"]],0,void 0,f.ReactNextElement)),d()},76480:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(36758),o=n.n(r),i=n(40935),a=n.n(i)()(o());a.push([t.id,":host{display:block}:host([hidden]){display:none}.scrollContainer{overflow:hidden}.scrollText{white-space:nowrap;overflow:hidden;animation:scroll 3000ms linear infinite}@keyframes scroll{0%{transform:translateX(100%)}50%{transform:translateX(0)}100%{transform:translateX(-100%)}}",""]);const s=a.toString()},40935:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},36758:t=>{t.exports=function(t){return t[1]}},62740:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(17545),o=n(26902);function i(t,e,n){"symbol"==(0,r.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:n?n+" "+e:e})}catch(t){}return t}var a=n(11369);function s(t,e,n,s,c,u){var l,f,h,d,p,m,v,y=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,g=Object.create,A=[g(null),g(null)],w=e.length;function x(e,n,r){return function(o,i){n&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,r?[i]:[]);return r?i:o}}function S(t,e,n,r){if("function"!=typeof t&&(r||void 0!==t))throw new TypeError(e+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return t}function E(t,e,n,o,a,s,c,u,h,d,p){function m(t){if(!p(t))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(e[0]),y=e[3],g=!c,w=1===a,E=3===a,k=4===a,C=2===a;function T(e,n,r){return function(o,i){return n&&(i=o,o=t),r&&r(o),j[e].call(o,i)}}if(!g){var j={},z=[],W=E?"get":k||w?"set":"value";if(h?(d||w?j={get:i((function(){return y(this)}),o,"get"),set:function(t){e[4](this,t)}}:j[W]=y,d||i(j[W],o,C?"":W)):d||(j=Object.getOwnPropertyDescriptor(t,o)),!d&&!h){if((f=A[+u][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+j[W].name+") is not supported yet");A[+u][o]=a<3?1:a}}for(var D=t,O=v.length-1;O>=0;O-=n?2:1){var P=S(v[O],"A decorator","be",!0),_=n?v[O-1]:void 0,M={},N={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");S(e,"An initializer","be",!0),s.push(e)}.bind(null,M)};if(g)f=P.call(_,D,N),M.v=1,S(f,"class decorators","return")&&(D=f);else if(N.static=u,N.private=h,f=N.access={has:h?p.bind():function(t){return o in t}},k||(f.get=h?C?function(t){return m(t),j.value}:T("get",0,m):function(t){return t[o]}),C||E||(f.set=h?T("set",0,m):function(t,e){t[o]=e}),D=P.call(_,w?{get:j.get,set:j.set}:j[W],N),M.v=1,w){if("object"==(0,r.A)(D)&&D)(f=S(D.get,"accessor.get"))&&(j.get=f),(f=S(D.set,"accessor.set"))&&(j.set=f),(f=S(D.init,"accessor.init"))&&z.unshift(f);else if(void 0!==D)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(D,(d?"field":"method")+" decorators","return")&&(d?z.unshift(D):j[W]=D)}return a<2&&c.push(x(z,u,1),x(s,u,0)),d||g||(h?w?c.splice(-1,0,T("get",u),T("set",u)):c.push(C?j[W]:S.call.bind(j[W])):b(t,o,j)),D}function k(t){return b(t,y,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[y]),l=g(null==l?null:l),p=[],m=function(t){t&&p.push(x(t))},v=function(e,r){for(var i=0;i<n.length;i++){var s=n[i],u=s[1],l=7&u;if((8&u)==e&&!l==r){var f=s[2],m=!!s[3],v=16&u;E(e?t:t.prototype,s,v,m?"#"+f:(0,a.A)(f),l,l<2?[]:e?d=d||[]:h=h||[],p,!!e,m,r,e&&m?function(e){return(0,o.A)(e)===t}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),m(h),m(d),f=p,w||k(t),{e:f,get c(){var n=[];return w&&[k(t=E(t,[e],s,t.name,5,n)),x(n,1)]}}}},12559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},26902:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(17545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,r.A)(t):"null"));return t}},72016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},70829:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(12559);function o(t,e){return t.get((0,r.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(72016);function o(t,e,n){(0,r.A)(t,e),e.set(t,n)}},86121:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(12559);function o(t,e,n){return t.set((0,r.A)(t,e),n),n}},11369:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(17545);function o(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.A)(e)?e:e+""}},17545:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=eo-carousel-text.9d458818.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[2866],{38397:(s,i,m)=>{"use strict";m.d(i,{I:()=>e,K:()=>n,NS:()=>r});let n=function(s){return s.COPY_SUCCESS="COPY_SUCCESS",s.COPY_FAILED="COPY_FAILED",s}({});const r="bricks/presentational/code-display",e={en:{COPY_SUCCESS:"Copied!",COPY_FAILED:"Copy failed!"},zh:{COPY_SUCCESS:"已复制!",COPY_FAILED:"复制失败!"}}},41319:(s,i,m)=>{"use strict";m.r(i),m.d(i,{CodeDisplay:()=>$,CodeDisplayComponent:()=>ns});var n,r=m(89575),e=m(70918),p=m(86121),t=m(70829),o=m(62740),a=m(18769),j=m.n(a),l=m(3412),c=m(35049),u=m(70729),h=m(34647),d=m(38397),y=(m(44291),m(70768)),g=m(53373),b=m.n(g),x=m(45060),f=m(77770),k=m.n(f),w=(m(32499),m(73021),m(90758),m(78198),m(86331),m(83644),m(59305),m(52371),m(95575),m(58841),m(83671),m(71803),m(83117),m(82440),m(91823),m(57981),m(55502),m(73238),m(14757),m(64190)),v=m(69761),C=m(26908);let A,E,N,L,S,q,P,_,B,z,D,M,O,F,W,Y,I;k().manual=!0,(0,h.initializeReactI18n)(d.NS,d.I);const{defineElement:T,property:U}=(0,l.createDecorators)(),H=(0,c.wrapBrick)("eo-icon"),K=(0,u.unwrapProvider)("basic.copy-to-clipboard"),R=(0,u.unwrapProvider)("basic.show-notification");let $;var G=new WeakMap,J=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakMap,Z=new WeakMap,ss=new WeakMap,is=new WeakMap;class ms extends c.ReactNextElement{constructor(){super(...arguments),(0,e.A)(this,G,E(this,"")),(0,e.A)(this,J,(N(this),L(this))),(0,e.A)(this,Q,(S(this),q(this))),(0,e.A)(this,V,(P(this),_(this))),(0,e.A)(this,X,(B(this),z(this))),(0,e.A)(this,Z,(D(this),M(this,!0))),(0,e.A)(this,ss,(O(this),F(this))),(0,e.A)(this,is,(W(this),Y(this))),I(this)}get value(){return(0,t.A)(G,this)}set value(s){(0,p.A)(G,this,s)}get language(){return(0,t.A)(J,this)}set language(s){(0,p.A)(J,this,s)}get hideLineNumber(){return(0,t.A)(Q,this)}set hideLineNumber(s){(0,p.A)(Q,this,s)}get maxLines(){return(0,t.A)(V,this)}set maxLines(s){(0,p.A)(V,this,s)}get minLines(){return(0,t.A)(X,this)}set minLines(s){(0,p.A)(X,this,s)}get showCopyButton(){return(0,t.A)(Z,this)}set showCopyButton(s){(0,p.A)(Z,this,s)}get showExportButton(){return(0,t.A)(ss,this)}set showExportButton(s){(0,p.A)(ss,this,s)}get exportFileName(){return(0,t.A)(is,this)}set exportFileName(s){(0,p.A)(is,this,s)}render(){return j().createElement(ns,{value:this.value,language:this.language,hideLineNumber:this.hideLineNumber,maxLines:this.maxLines,minLines:this.minLines,showCopyButton:this.showCopyButton,showExportButton:this.showExportButton,exportFileName:this.exportFileName})}}function ns(s){const{value:i,language:m,hideLineNumber:n,maxLines:e,minLines:p,showCopyButton:t,showExportButton:o,exportFileName:l}=s,{t:c}=(0,h.useTranslation)(d.NS),[,u]=(0,a.useState)();return(0,a.useEffect)((()=>{(0,C.r)(m).then((()=>{u(null)}),(()=>{}))}),[m]),j().createElement("div",{className:"code-wrapper"},j().createElement(w.f4,{theme:v.w,code:i,language:m,prism:k()},(s=>{let{className:i,style:m,tokens:t,getLineProps:o,getTokenProps:a}=s;return j().createElement("pre",{style:{...v.r,"--max-lines":e-0>0?e:null,"--min-lines":p-0>0?p:null},className:b()(i,n?"no-line-numbers":"line-numbers")},t.map(((s,i)=>j().createElement("div",(0,r.A)({key:i},o({line:s})),j().createElement("span",{className:"line-number"},i+1),j().createElement("span",null,s.map(((s,i)=>j().createElement("span",(0,r.A)({key:i},a({token:s}))))))))))})),j().createElement("div",{className:"tool-bar"},t&&j().createElement(H,{lib:"antd",theme:"outlined",icon:"copy",className:"copy-icon",onClick:()=>{K(i).then((()=>R({type:"success",message:c(d.K.COPY_SUCCESS)}))).catch((()=>R({type:"error",message:c(d.K.COPY_FAILED)})))}}),o&&j().createElement(H,{lib:"antd",theme:"outlined",icon:"export",className:"export-icon",onClick:()=>{(0,x.saveAs)(new Blob([i]),l)}})))}n=ms,({e:[E,N,L,S,q,P,_,B,z,D,M,O,F,W,Y,I],c:[$,A]}=(0,o.A)(n,[T("eo-code-display",{styleTexts:[y.A],alias:["presentational.code-display"]})],[[U(),1,"value"],[U(),1,"language"],[U({type:Boolean}),1,"hideLineNumber"],[U({type:Number}),1,"maxLines"],[U({type:Number}),1,"minLines"],[U({type:Boolean}),1,"showCopyButton"],[U({type:Boolean}),1,"showExportButton"],[U(),1,"exportFileName"]],0,void 0,c.ReactNextElement)),A()},69761:(s,i,m)=>{"use strict";m.d(i,{r:()=>r,w:()=>n});const n={styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#999"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","deleted"],style:{color:"#e2777a"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","number","function"],style:{color:"#f08d49"}},{types:["property","class-name","constant","symbol"],style:{color:"#f8c555"}},{types:["selector","important","atrule","keyword","builtin"],style:{color:"#cc99cd"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#7ec699"}},{types:["operator","entity","url"],style:{color:"#67cdcc"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},r={color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",MozTabSize:4,OTabSize:4,tabSize:4,WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"}},26908:(s,i,m)=>{"use strict";m.d(i,{r:()=>c});var n=m(77770),r=m.n(n),e=(m(32499),m(73021),m(90758),m(78198),m(86331),m(83644),m(59305),m(52371),m(95575),m(58841),m(83671),m(71803),m(83117),m(82440),m(91823),m(57981),m(55502),m(73238),m(14757),m(61750)),p=m(72445);const t=r().languages,o=(0,p.cloneDeep)(e.languages),a=new Map;(()=>{for(const s in o){const i=o[s];i.requireDeps=[].concat(i.require||[]),i.optionalDeps=[].concat(i.optional||[]),a.set(s,s),[].concat(i.alias||[]).forEach((i=>{a.set(i,s)}))}})();const j=s=>new Promise(((i,n)=>{m(34601)(`./prism-${s}.min.js`).then((()=>i(void 0)),(i=>{const m=`load language failed: ${s}\n reason: ${i}`;console.error(m),n(m)}))})),l=async s=>{if(t[s])return Promise.resolve();{const i=o[s],m=i.requireDeps.map((s=>l(s))),n=i.optionalDeps.map((s=>l(s)));return await Promise.all(m),Promise.all([j(s),...n])}},c=async s=>{const i=a.get(s);if(i&&o[i])return l(i);{const i="unsupported language: "+s;return console.error(i),Promise.reject(i)}}},70768:(s,i,m)=>{"use strict";m.d(i,{A:()=>t});var n=m(36758),r=m.n(n),e=m(40935),p=m.n(e)()(r());p.push([s.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.code-wrapper{position:relative}.code-wrapper .prism-code{margin:0;padding:0 12px 0 0;font-size:12px;line-height:16px;overflow:auto;white-space:pre-wrap;border-radius:var(--medius-border-radius);min-height:calc(var(--min-lines) * 16px);max-height:calc(var(--max-lines) * 16px)}.no-line-numbers.prism-code{padding-left:12px}.no-line-numbers .line-number{display:none}.token-line{display:flex;gap:0.5em}.line-number{flex-shrink:0;display:inline-block;width:3.8em;padding-right:0.8em;text-align:right;color:#999;background:#3b3b3b;letter-spacing:-1px;pointer-events:none;-webkit-user-select:none;user-select:none}.tool-bar{position:absolute;top:8px;right:8px;display:flex;gap:10px;transition:all 0.3s;z-index:1;opacity:0}.code-wrapper:hover .tool-bar{opacity:1}.copy-icon,\n.export-icon{color:var(--color-white);cursor:pointer;font-size:16px;opacity:0.5}.copy-icon:hover,\n.export-icon:hover{opacity:1}",""]);const t=p.toString()},34601:(s,i,m)=>{var n={"./prism-abap.min.js":[34589,3122],"./prism-abnf.min.js":[92e3,8467],"./prism-actionscript.min.js":[27614,6337],"./prism-ada.min.js":[51275,4058],"./prism-agda.min.js":[33552,9503],"./prism-al.min.js":[10810,3721],"./prism-antlr4.min.js":[29510,7001],"./prism-apacheconf.min.js":[4311,9168],"./prism-apex.min.js":[55647,6532],"./prism-apl.min.js":[4580,4177],"./prism-applescript.min.js":[57796,7601],"./prism-aql.min.js":[91913,3588],"./prism-arduino.min.js":[88323,6442],"./prism-arff.min.js":[31768,6475],"./prism-armasm.min.js":[75910,8169],"./prism-arturo.min.js":[25315,4987],"./prism-asciidoc.min.js":[21792,1299],"./prism-asm6502.min.js":[38183,4374],"./prism-asmatmel.min.js":[83787,6724],"./prism-aspnet.min.js":[83964,6687],"./prism-autohotkey.min.js":[65206,8593],"./prism-autoit.min.js":[49653,7674],"./prism-avisynth.min.js":[97379,2204],"./prism-avro-idl.min.js":[56661,9918],"./prism-awk.min.js":[3646,8563],"./prism-bash.min.js":[22197,4974],"./prism-basic.min.js":[16645,7504],"./prism-batch.min.js":[74023,3322],"./prism-bbcode.min.js":[68662,7597],"./prism-bbj.min.js":[47665,5104],"./prism-bicep.min.js":[76756,8329],"./prism-birb.min.js":[16374,9657],"./prism-bison.min.js":[9760,7065],"./prism-bnf.min.js":[84849,8968],"./prism-bqn.min.js":[44626,6331],"./prism-brainfuck.min.js":[55060,9565],"./prism-brightscript.min.js":[63272,1391],"./prism-bro.min.js":[34022,8723],"./prism-bsl.min.js":[48922,639],"./prism-c.min.js":[29870,7111],"./prism-cfscript.min.js":[10645,6742],"./prism-chaiscript.min.js":[99865,1798],"./prism-cil.min.js":[14895,246],"./prism-cilkc.min.js":[6921,5800],"./prism-cilkcpp.min.js":[97449,6016],"./prism-clike.min.js":[73197,4188],"./prism-clojure.min.js":[62491,2626],"./prism-cmake.min.js":[32480,8385],"./prism-cobol.min.js":[79152,1901],"./prism-coffeescript.min.js":[27820,4835],"./prism-concurnas.min.js":[68475,3934],"./prism-cooklang.min.js":[587,9476],"./prism-coq.min.js":[18650,6551],"./prism-core.min.js":[20708,3299],"./prism-cpp.min.js":[21798,5719],"./prism-crystal.min.js":[55881,5836],"./prism-csharp.min.js":[50496,6743],"./prism-cshtml.min.js":[70068,9619],"./prism-csp.min.js":[35597,4444],"./prism-css-extras.min.js":[90534,3665],"./prism-css.min.js":[20584,8809],"./prism-csv.min.js":[16475,2766],"./prism-cue.min.js":[6116,1241],"./prism-cypher.min.js":[73632,3183],"./prism-d.min.js":[64747,3762],"./prism-dart.min.js":[78986,9265],"./prism-dataweave.min.js":[29209,672],"./prism-dax.min.js":[40462,6431],"./prism-dhall.min.js":[3068,5489],"./prism-diff.min.js":[35448,1375],"./prism-django.min.js":[80340,8371],"./prism-dns-zone-file.min.js":[44906,6575],"./prism-docker.min.js":[61903,1552],"./prism-dot.min.js":[28056,905],"./prism-ebnf.min.js":[3812,9823],"./prism-editorconfig.min.js":[9072,9051],"./prism-eiffel.min.js":[49368,3020],"./prism-ejs.min.js":[14931,3942],"./prism-elixir.min.js":[94256,4415],"./prism-elm.min.js":[87979,4266],"./prism-erb.min.js":[17092,69],"./prism-erlang.min.js":[81060,303],"./prism-etlua.min.js":[11270,6303],"./prism-excel-formula.min.js":[57099,7430],"./prism-factor.min.js":[15700,5275],"./prism-false.min.js":[87224,5249],"./prism-firestore-security-rules.min.js":[41671,6032],"./prism-flow.min.js":[11223,3736],"./prism-fortran.min.js":[7681,3840],"./prism-fsharp.min.js":[74101,7250],"./prism-ftl.min.js":[27001,1332],"./prism-gap.min.js":[49095,7438],"./prism-gcode.min.js":[47623,6282],"./prism-gdscript.min.js":[54327,1224],"./prism-gedcom.min.js":[56330,7861],"./prism-gettext.min.js":[33772,7161],"./prism-gherkin.min.js":[94297,8352],"./prism-git.min.js":[98219,6778],"./prism-glsl.min.js":[63775,1988],"./prism-gml.min.js":[77143,4361],"./prism-gn.min.js":[84926,4417],"./prism-go-module.min.js":[8174,2099],"./prism-go.min.js":[41293,7514],"./prism-gradle.min.js":[51964,5715],"./prism-graphql.min.js":[85938,1775],"./prism-groovy.min.js":[35277,4030],"./prism-haml.min.js":[57153,2082],"./prism-handlebars.min.js":[8823,656],"./prism-haskell.min.js":[71675,6438],"./prism-haxe.min.js":[89527,5716],"./prism-hcl.min.js":[23408,985],"./prism-hlsl.min.js":[35208,2067],"./prism-hoon.min.js":[95895,7156],"./prism-hpkp.min.js":[78760,7683],"./prism-hsts.min.js":[84903,8756],"./prism-http.min.js":[13091,5224],"./prism-ichigojam.min.js":[73748,481],"./prism-icon.min.js":[10170,2713],"./prism-icu-message-format.min.js":[15216,1875],"./prism-idris.min.js":[81974,9807],"./prism-iecst.min.js":[86739,1590],"./prism-ignore.min.js":[61009,3778],"./prism-inform7.min.js":[57125,4544],"./prism-ini.min.js":[29017,1880],"./prism-io.min.js":[54019,980],"./prism-j.min.js":[85541,160],"./prism-java.min.js":[84872,6360],"./prism-javadoc.min.js":[30985,4008],"./prism-javadoclike.min.js":[4730,1531],"./prism-javascript.min.js":[81080,8783],"./prism-javastacktrace.min.js":[94378,7141],"./prism-jexl.min.js":[63694,173],"./prism-jolie.min.js":[79368,8761],"./prism-jq.min.js":[31366,2573],"./prism-js-extras.min.js":[24094,7907],"./prism-js-templates.min.js":[40306,641],"./prism-jsdoc.min.js":[10904,9709],"./prism-json.min.js":[67993,1650],"./prism-json5.min.js":[95126,1303],"./prism-jsonp.min.js":[6833,8796],"./prism-jsstacktrace.min.js":[66285,1846],"./prism-jsx.min.js":[5318,4011],"./prism-julia.min.js":[54790,4319],"./prism-keepalived.min.js":[11969,2198],"./prism-keyman.min.js":[90982,2913],"./prism-kotlin.min.js":[70718,8229],"./prism-kumir.min.js":[11995,7418],"./prism-kusto.min.js":[17199,5518],"./prism-latex.min.js":[94939,6666],"./prism-latte.min.js":[16201,900],"./prism-less.min.js":[52982,1217],"./prism-lilypond.min.js":[98368,9103],"./prism-linker-script.min.js":[63038,4279],"./prism-liquid.min.js":[96083,6352],"./prism-lisp.min.js":[8563,6176],"./prism-livescript.min.js":[50934,5937],"./prism-llvm.min.js":[25614,6261],"./prism-log.min.js":[72773,4132],"./prism-lolcode.min.js":[52829,9832],"./prism-lua.min.js":[56017,3636],"./prism-magma.min.js":[43522,179],"./prism-makefile.min.js":[13351,6308],"./prism-markdown.min.js":[57650,9429],"./prism-markup-templating.min.js":[67733,6048],"./prism-markup.min.js":[46343,3008],"./prism-mata.min.js":[38318,4349],"./prism-matlab.min.js":[97986,1381],"./prism-maxscript.min.js":[74106,1051],"./prism-mel.min.js":[30121,4708],"./prism-mermaid.min.js":[82516,5129],"./prism-metafont.min.js":[40127,7672],"./prism-mizar.min.js":[32752,7661],"./prism-mongodb.min.js":[64953,1316],"./prism-monkey.min.js":[18818,3729],"./prism-moonscript.min.js":[9813,242],"./prism-n1ql.min.js":[42443,3312],"./prism-n4js.min.js":[25314,4653],"./prism-nand2tetris-hdl.min.js":[24060,3689],"./prism-naniscript.min.js":[11628,9195],"./prism-nasm.min.js":[66486,4805],"./prism-neon.min.js":[60055,9736],"./prism-nevod.min.js":[40089,6008],"./prism-nginx.min.js":[22703,7566],"./prism-nim.min.js":[2375,5918],"./prism-nix.min.js":[1436,8281],"./prism-nsis.min.js":[1284,7231],"./prism-objectivec.min.js":[85979,132],"./prism-ocaml.min.js":[25423,2306],"./prism-odin.min.js":[74531,9364],"./prism-opencl.min.js":[46004,6347],"./prism-openqasm.min.js":[80329,9406],"./prism-oz.min.js":[33106,1077],"./prism-parigp.min.js":[67750,6381],"./prism-parser.min.js":[59188,8956],"./prism-pascal.min.js":[27463,9080],"./prism-pascaligo.min.js":[12838,4887],"./prism-pcaxis.min.js":[24707,3656],"./prism-peoplecode.min.js":[94117,8850],"./prism-perl.min.js":[17666,9169],"./prism-php-extras.min.js":[31851,4832],"./prism-php.min.js":[8023,7310],"./prism-phpdoc.min.js":[88221,1274],"./prism-plant-uml.min.js":[89013,4194],"./prism-plsql.min.js":[84227,3266],"./prism-powerquery.min.js":[88272,1007],"./prism-powershell.min.js":[86498,3681],"./prism-processing.min.js":[90760,1275],"./prism-prolog.min.js":[1972,2655],"./prism-promql.min.js":[10240,3975],"./prism-properties.min.js":[66570,2709],"./prism-protobuf.min.js":[84180,3675],"./prism-psl.min.js":[27256,7521],"./prism-pug.min.js":[31283,3450],"./prism-puppet.min.js":[14485,1214],"./prism-pure.min.js":[77993,9698],"./prism-purebasic.min.js":[98483,8946],"./prism-purescript.min.js":[26674,8365],"./prism-python.min.js":[99889,8454],"./prism-q.min.js":[29224,1269],"./prism-qml.min.js":[44349,4336],"./prism-qore.min.js":[51914,5029],"./prism-qsharp.min.js":[6206,2961],"./prism-r.min.js":[44237,6376],"./prism-racket.min.js":[11765,6546],"./prism-reason.min.js":[49071,5932],"./prism-regex.min.js":[17388,7617],"./prism-rego.min.js":[99428,8099],"./prism-renpy.min.js":[19133,936],"./prism-rescript.min.js":[93621,5394],"./prism-rest.min.js":[20237,6454],"./prism-rip.min.js":[46592,1573],"./prism-roboconf.min.js":[93329,4570],"./prism-robotframework.min.js":[10075,3335],"./prism-ruby.min.js":[73235,2624],"./prism-rust.min.js":[60125,5542],"./prism-sas.min.js":[88314,6931],"./prism-sass.min.js":[7393,4454],"./prism-scala.min.js":[38801,7712],"./prism-scheme.min.js":[41456,2023],"./prism-scss.min.js":[423,2124],"./prism-shell-session.min.js":[90212,7769],"./prism-smali.min.js":[72307,7650],"./prism-smalltalk.min.js":[1046,3535],"./prism-smarty.min.js":[23123,2676],"./prism-sml.min.js":[81419,4770],"./prism-solidity.min.js":[66470,2425],"./prism-solution-file.min.js":[51395,4574],"./prism-soy.min.js":[86066,5183],"./prism-sparql.min.js":[25406,4489],"./prism-splunk-spl.min.js":[75752,8459],"./prism-sqf.min.js":[39949,7152],"./prism-sql.min.js":[61767,5854],"./prism-squirrel.min.js":[83700,899],"./prism-stan.min.js":[43647,4072],"./prism-stata.min.js":[74934,9815],"./prism-stylus.min.js":[60313,8638],"./prism-supercollider.min.js":[8432,8441],"./prism-swift.min.js":[47148,6305],"./prism-systemd.min.js":[2220,1409],"./prism-t4-cs.min.js":[20214,9707],"./prism-t4-templating.min.js":[78737,2232],"./prism-t4-vb.min.js":[96280,3281],"./prism-tap.min.js":[82086,7847],"./prism-tcl.min.js":[60108,3309],"./prism-textile.min.js":[2110,3279],"./prism-toml.min.js":[9743,3995],"./prism-tremor.min.js":[40646,9093],"./prism-tsx.min.js":[86704,1601],"./prism-tt2.min.js":[47469,4504],"./prism-turtle.min.js":[90085,6062],"./prism-twig.min.js":[38746,2241],"./prism-typescript.min.js":[44776,1399],"./prism-typoscript.min.js":[49098,769],"./prism-unrealscript.min.js":[61391,1348],"./prism-uorazor.min.js":[25999,5398],"./prism-uri.min.js":[36145,7488],"./prism-v.min.js":[38329,5404],"./prism-vala.min.js":[9709,4662],"./prism-vbnet.min.js":[51388,8541],"./prism-velocity.min.js":[5080,8791],"./prism-verilog.min.js":[25529,7088],"./prism-vhdl.min.js":[75193,2058],"./prism-vim.min.js":[57807,3017],"./prism-visual-basic.min.js":[33384,4959],"./prism-warpscript.min.js":[51094,4001],"./prism-wasm.min.js":[72027,7264],"./prism-web-idl.min.js":[24775,9886],"./prism-wgsl.min.js":[81394,8477],"./prism-wiki.min.js":[46623,7588],"./prism-wolfram.min.js":[85495,6694],"./prism-wren.min.js":[18869,2142],"./prism-xeora.min.js":[30646,3680],"./prism-xml-doc.min.js":[80165,8636],"./prism-xojo.min.js":[79433,9930],"./prism-xquery.min.js":[16443,9984],"./prism-yaml.min.js":[21280,4067],"./prism-yang.min.js":[85074,2501],"./prism-zig.min.js":[29785,1796]};function r(s){if(!m.o(n,s))return Promise.resolve().then((()=>{var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}));var i=n[s],r=i[0];return m.e(i[1]).then((()=>m.t(r,23)))}r.keys=()=>Object.keys(n),r.id=34601,s.exports=r}}]);
|
|
2
|
-
//# sourceMappingURL=eo-code-display.7e721816.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[3187,7620,2052],{31974:(t,e,n)=>{n.r(e),n.d(e,{EoCurrentTime:()=>S,EoCurrentTimeComponent:()=>O});var r,o=n(89575),i=n(70918),a=n(86121),c=n(70829),s=n(62740),u=n(18769),l=n.n(u),f=n(3412),p=n(35049),h=(n(44291),n(1809)),d=n(6238),m=n.n(d);let v,y,b,g,A;const w=(0,p.wrapBrick)("eo-icon"),{defineElement:E,property:j}=(0,f.createDecorators)();let S;var T=new WeakMap,k=new WeakMap;class x extends p.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,T,y(this,"YYYY-MM-DD HH:mm:ss")),(0,i.A)(this,k,(b(this),g(this))),A(this)}get format(){return(0,c.A)(T,this)}set format(t){(0,a.A)(T,this,t)}get icon(){return(0,c.A)(k,this)}set icon(t){(0,a.A)(k,this,t)}render(){return l().createElement(O,{format:this.format,icon:this.icon})}}function O(t){let{format:e,icon:n}=t;const[r,i]=(0,u.useState)(""),[a,c]=(0,u.useState)(0);return(0,u.useEffect)((()=>{const t=setTimeout((()=>{c((t=>t+1)),i(m()(Date.now()).format(e))}),1e3);return()=>{clearTimeout(t)}}),[a]),l().createElement("div",{className:"container"},n&&r?l().createElement(w,(0,o.A)({},n,{className:"front-icon"})):null,l().createElement("span",null,r))}r=x,({e:[y,b,g,A],c:[S,v]}=(0,s.A)(r,[E("eo-current-time",{styleTexts:[h.A]})],[[j(),1,"format"],[j({attribute:!1}),1,"icon"]],0,void 0,p.ReactNextElement)),v()},1809:(t,e,n)=>{n.d(e,{A:()=>c});var r=n(36758),o=n.n(r),i=n(40935),a=n.n(i)()(o());a.push([t.id,":host{display:inline-block}:host([hidden]){display:none}.container{display:flex;justify-content:center;align-items:center}.front-icon{display:flex;height:100%;margin-right:10px}",""]);const c=a.toString()},40935:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},36758:t=>{t.exports=function(t){return t[1]}},62740:(t,e,n)=>{n.d(e,{A:()=>c});var r=n(17545),o=n(26902);function i(t,e,n){"symbol"==(0,r.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:n?n+" "+e:e})}catch(t){}return t}var a=n(11369);function c(t,e,n,c,s,u){var l,f,p,h,d,m,v,y=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,g=Object.create,A=[g(null),g(null)],w=e.length;function E(e,n,r){return function(o,i){n&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,r?[i]:[]);return r?i:o}}function j(t,e,n,r){if("function"!=typeof t&&(r||void 0!==t))throw new TypeError(e+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return t}function S(t,e,n,o,a,c,s,u,p,h,d){function m(t){if(!d(t))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(e[0]),y=e[3],g=!s,w=1===a,S=3===a,T=4===a,k=2===a;function x(e,n,r){return function(o,i){return n&&(i=o,o=t),r&&r(o),O[e].call(o,i)}}if(!g){var O={},P=[],C=S?"get":T||w?"set":"value";if(p?(h||w?O={get:i((function(){return y(this)}),o,"get"),set:function(t){e[4](this,t)}}:O[C]=y,h||i(O[C],o,k?"":C)):h||(O=Object.getOwnPropertyDescriptor(t,o)),!h&&!p){if((f=A[+u][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+O[C].name+") is not supported yet");A[+u][o]=a<3?1:a}}for(var D=t,_=v.length-1;_>=0;_-=n?2:1){var z=j(v[_],"A decorator","be",!0),M=n?v[_-1]:void 0,N={},Y={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");j(e,"An initializer","be",!0),c.push(e)}.bind(null,N)};if(g)f=z.call(M,D,Y),N.v=1,j(f,"class decorators","return")&&(D=f);else if(Y.static=u,Y.private=p,f=Y.access={has:p?d.bind():function(t){return o in t}},T||(f.get=p?k?function(t){return m(t),O.value}:x("get",0,m):function(t){return t[o]}),k||S||(f.set=p?x("set",0,m):function(t,e){t[o]=e}),D=z.call(M,w?{get:O.get,set:O.set}:O[C],Y),N.v=1,w){if("object"==(0,r.A)(D)&&D)(f=j(D.get,"accessor.get"))&&(O.get=f),(f=j(D.set,"accessor.set"))&&(O.set=f),(f=j(D.init,"accessor.init"))&&P.unshift(f);else if(void 0!==D)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else j(D,(h?"field":"method")+" decorators","return")&&(h?P.unshift(D):O[C]=D)}return a<2&&s.push(E(P,u,1),E(c,u,0)),h||g||(p?w?s.splice(-1,0,x("get",u),x("set",u)):s.push(k?O[C]:j.call.bind(O[C])):b(t,o,O)),D}function T(t){return b(t,y,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[y]),l=g(null==l?null:l),d=[],m=function(t){t&&d.push(E(t))},v=function(e,r){for(var i=0;i<n.length;i++){var c=n[i],u=c[1],l=7&u;if((8&u)==e&&!l==r){var f=c[2],m=!!c[3],v=16&u;S(e?t:t.prototype,c,v,m?"#"+f:(0,a.A)(f),l,l<2?[]:e?h=h||[]:p=p||[],d,!!e,m,r,e&&m?function(e){return(0,o.A)(e)===t}:s)}}},v(8,0),v(0,0),v(8,1),v(0,1),m(p),m(h),f=d,w||T(t),{e:f,get c(){var n=[];return w&&[T(t=S(t,[e],c,t.name,5,n)),E(n,1)]}}}},12559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},26902:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(17545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,r.A)(t):"null"));return t}},72016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},70829:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(12559);function o(t,e){return t.get((0,r.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(72016);function o(t,e,n){(0,r.A)(t,e),e.set(t,n)}},86121:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(12559);function o(t,e,n){return t.set((0,r.A)(t,e),n),n}},89575:(t,e,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})},11369:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(17545);function o(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.A)(e)?e:e+""}},17545:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=eo-current-time.adfc7b7a.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-descriptions.b3a5699a.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[7697,7620,2052],{95188:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Descriptions:()=>D,DescriptionsComponent:()=>K});var n,i=r(70918),o=r(86121),s=r(70829),a=r(62740),c=r(18769),u=r.n(c),l=r(3412),d=r(35049),p=r(2290),f=(r(44291),r(53373)),h=r.n(f),m=r(5664);let v,b,g,y,A,w,x,S,k,E,T,C,j,M,z,N,B;r(89247);const O=(0,d.wrapBrick)("eo-card"),P=(0,d.wrapBrick)("eo-grid-layout"),{defineElement:W,property:I}=(0,l.createDecorators)();let D;var G=new WeakMap,_=new WeakMap,R=new WeakMap,H=new WeakMap,L=new WeakMap,U=new WeakMap,F=new WeakMap,q=new WeakMap;class J extends d.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,G,b(this)),(0,i.A)(this,_,(g(this),y(this))),(0,i.A)(this,R,(A(this),w(this))),(0,i.A)(this,H,(x(this),S(this))),(0,i.A)(this,L,(k(this),E(this))),(0,i.A)(this,U,(T(this),C(this))),(0,i.A)(this,F,(j(this),M(this))),(0,i.A)(this,q,(z(this),N(this))),B(this)}get descriptionTitle(){return(0,s.A)(G,this)}set descriptionTitle(t){(0,o.A)(G,this,t)}get list(){return(0,s.A)(_,this)}set list(t){(0,o.A)(_,this,t)}get showCard(){return(0,s.A)(R,this)}set showCard(t){(0,o.A)(R,this,t)}get column(){return(0,s.A)(H,this)}set column(t){(0,o.A)(H,this,t)}get layout(){return(0,s.A)(L,this)}set layout(t){(0,o.A)(L,this,t)}get bordered(){return(0,s.A)(U,this)}set bordered(t){(0,o.A)(U,this,t)}get hideGroups(){return(0,s.A)(F,this)}set hideGroups(t){(0,o.A)(F,this,t)}get dataSource(){return(0,s.A)(q,this)}set dataSource(t){(0,o.A)(q,this,t)}render(){return u().createElement(K,{descriptionTitle:this.descriptionTitle,list:this.list,showCard:this.showCard,column:this.column,layout:this.layout,bordered:this.bordered,hideGroups:this.hideGroups,dataSource:this.dataSource})}}function K(t){var e;const{descriptionTitle:r,list:n,showCard:i=!0,column:o=3,layout:s="horizontal",bordered:a=!1,hideGroups:l,dataSource:d}=t,[p,f]=(0,c.useState)();return(0,c.useEffect)((()=>{if(l){const t=new Set([].concat(l).filter(Boolean));f(t)}}),[l]),u().createElement(O,{cardTitle:r,headerStyle:{border:"none",padding:"var(--description-header-padding)",color:"var(--color-header-text)",fontSize:"14px",lineHeight:"20px",fontWeight:500},background:i},u().createElement(P,{gap:"vertical"===s||a?"0":"10px",columns:o,className:h()("description-content",{bordered:a})},null==n||null===(e=n.filter((t=>!t.group||!(null!=p&&p.has(t.group)))))||void 0===e?void 0:e.map(((t,e)=>u().createElement("div",{key:e,className:h()("description-item",s,{bordered:a}),style:{...e===n.length-1?{gridColumnStart:n.length%o,gridColumnEnd:+o+1}:{}}},u().createElement("span",{className:"description-item-label"},t.label,a?"":": "),u().createElement("span",{className:"description-item-content"},(t=>t.useBrick?u().createElement(m.ReactUseMultipleBricks,{useBrick:t.useBrick,data:d??{}}):t.text)(t)))))))}n=J,({e:[b,g,y,A,w,x,S,k,E,T,C,j,M,z,N,B],c:[D,v]}=(0,a.A)(n,[W("eo-descriptions",{styleTexts:[p.A],alias:["presentational.general-descriptions"]})],[[I(),1,"descriptionTitle"],[I({attribute:!1}),1,"list"],[I({type:Boolean}),1,"showCard"],[I({attribute:!0}),1,"column"],[I(),1,"layout"],[I({type:Boolean}),1,"bordered"],[I({attribute:!1}),1,"hideGroups"],[I({attribute:!1}),1,"dataSource"]],0,void 0,d.ReactNextElement)),v()},38621:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(36758),i=r.n(n),o=r(40935),s=r.n(o)()(i());s.push([t.id,':root{--eo-descriptions-label-background:#fafafa}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--eo-descriptions-label-background:rgba(255,255,255,0.04)}',""]);const a=s},2290:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(36758),i=r.n(n),o=r(40935),s=r.n(o)()(i());s.push([t.id,":host{display:block}:host([hidden]){display:none}.description-content{padding:var(--description-content-padding)}.description-item{display:flex}.description-item-label{color:var(--antd-description-item-label-color)}.description-item-content{color:var(--antd-description-item-content-color)}.description-item.horizontal{flex-direction:inherit}.description-item.vertical{flex-direction:column;margin-bottom:10px}.description-item.horizontal > span:first-child{margin-right:12px}.description-item.vertical > span:first-child{margin-bottom:8px}.description-content.bordered{border-top:1px solid var(--antd-border-color-split);border-right:1px solid var(--antd-border-color-split)}.description-item.bordered{box-sizing:border-box;border-left:1px solid var(--antd-border-color-split);border-bottom:1px solid var(--antd-border-color-split)}.description-item.horizontal.bordered > span:first-child{margin-right:0;padding:10px;min-width:150px}.description-item.horizontal.bordered > span:last-child{padding:10px}.description-item.vertical.bordered{margin-bottom:0}.description-item.vertical.bordered > span:first-child{margin-bottom:0;padding:10px}.description-item.vertical.bordered > span:last-child{padding:10px}.description-item.bordered > span:first-child{background-color:var(--eo-descriptions-label-background)}",""]);const a=s.toString()},40935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),e.push(l))}},e}},36758:t=>{"use strict";t.exports=function(t){return t[1]}},89247:(t,e,r)=>{"use strict";var n=r(72591),i=r.n(n),o=r(1740),s=r.n(o),a=r(88128),c=r.n(a),u=r(30855),l=r.n(u),d=r(93051),p=r.n(d),f=r(73656),h=r.n(f),m=r(38621),v={};v.styleTagTransform=h(),v.setAttributes=l(),v.insert=c().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=p(),i()(m.A,v),m.A&&m.A.locals&&m.A.locals},72591:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var p=r(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(f);else{var h=i(f,n);n.byIndex=a,e.splice(a,0,{identifier:d,updater:h,references:1})}s.push(d)}return s}function i(t,e){var r=e.domAPI(e);return r.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,i){var o=n(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=r(o[s]);e[a].references--}for(var c=n(t,i),u=0;u<o.length;u++){var l=r(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=c}}},88128:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},93051:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},30855:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},1740:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},73656:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},53373:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=s(t,o(r)))}return t}function o(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return i.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=s(e,r));return e}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},62740:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(17545),i=r(26902);function o(t,e,r){"symbol"==(0,n.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:r?r+" "+e:e})}catch(t){}return t}var s=r(11369);function a(t,e,r,a,c,u){var l,d,p,f,h,m,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,A=[y(null),y(null)],w=e.length;function x(e,r,n){return function(i,o){r&&(o=i,i=t);for(var s=0;s<e.length;s++)o=e[s].apply(i,n?[o]:[]);return n?o:i}}function S(t,e,r,n){if("function"!=typeof t&&(n||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return t}function k(t,e,r,i,s,a,c,u,p,f,h){function m(t){if(!h(t))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(e[0]),b=e[3],y=!c,w=1===s,k=3===s,E=4===s,T=2===s;function C(e,r,n){return function(i,o){return r&&(o=i,i=t),n&&n(i),j[e].call(i,o)}}if(!y){var j={},M=[],z=k?"get":E||w?"set":"value";if(p?(f||w?j={get:o((function(){return b(this)}),i,"get"),set:function(t){e[4](this,t)}}:j[z]=b,f||o(j[z],i,T?"":z)):f||(j=Object.getOwnPropertyDescriptor(t,i)),!f&&!p){if((d=A[+u][i])&&7!=(d^s))throw Error("Decorating two elements with the same name ("+j[z].name+") is not supported yet");A[+u][i]=s<3?1:s}}for(var N=t,B=v.length-1;B>=0;B-=r?2:1){var O=S(v[B],"A decorator","be",!0),P=r?v[B-1]:void 0,W={},I={kind:["field","accessor","method","getter","setter","class"][s],name:i,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");S(e,"An initializer","be",!0),a.push(e)}.bind(null,W)};if(y)d=O.call(P,N,I),W.v=1,S(d,"class decorators","return")&&(N=d);else if(I.static=u,I.private=p,d=I.access={has:p?h.bind():function(t){return i in t}},E||(d.get=p?T?function(t){return m(t),j.value}:C("get",0,m):function(t){return t[i]}),T||k||(d.set=p?C("set",0,m):function(t,e){t[i]=e}),N=O.call(P,w?{get:j.get,set:j.set}:j[z],I),W.v=1,w){if("object"==(0,n.A)(N)&&N)(d=S(N.get,"accessor.get"))&&(j.get=d),(d=S(N.set,"accessor.set"))&&(j.set=d),(d=S(N.init,"accessor.init"))&&M.unshift(d);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(N,(f?"field":"method")+" decorators","return")&&(f?M.unshift(N):j[z]=N)}return s<2&&c.push(x(M,u,1),x(a,u,0)),f||y||(p?w?c.splice(-1,0,C("get",u),C("set",u)):c.push(T?j[z]:S.call.bind(j[z])):g(t,i,j)),N}function E(t){return g(t,b,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[b]),l=y(null==l?null:l),h=[],m=function(t){t&&h.push(x(t))},v=function(e,n){for(var o=0;o<r.length;o++){var a=r[o],u=a[1],l=7&u;if((8&u)==e&&!l==n){var d=a[2],m=!!a[3],v=16&u;k(e?t:t.prototype,a,v,m?"#"+d:(0,s.A)(d),l,l<2?[]:e?f=f||[]:p=p||[],h,!!e,m,n,e&&m?function(e){return(0,i.A)(e)===t}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),m(p),m(f),d=h,w||E(t),{e:d,get c(){var r=[];return w&&[E(t=k(t,[e],a,t.name,5,r)),x(r,1)]}}}},12559:(t,e,r)=>{"use strict";function n(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r.d(e,{A:()=>n})},26902:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(17545);function i(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.A)(t):"null"));return t}},72016:(t,e,r)=>{"use strict";function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{A:()=>n})},70829:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12559);function i(t,e){return t.get((0,n.A)(t,e))}},70918:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(72016);function i(t,e,r){(0,n.A)(t,e),e.set(t,r)}},86121:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(12559);function i(t,e,r){return t.set((0,n.A)(t,e),r),r}},11369:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(17545);function i(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!=(0,n.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},17545:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-descriptions.b3a5699a.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-divider.7133958b.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[9251,7620,2052],{5964:(t,e,r)=>{"use strict";r.r(e),r.d(e,{EoDivider:()=>T,EoDividerComponent:()=>N});var n,o=r(70918),i=r(86121),a=r(70829),s=r(62740),l=r(18769),c=r.n(l),u=r(3412),d=r(35049),p=(r(44291),r(66297)),f=r(53373),h=r.n(f);let v,g,m,b,y,A,x,w,S,E,k;const{defineElement:z,property:j}=(0,u.createDecorators)();let T;var C=new WeakMap,D=new WeakMap,O=new WeakMap,P=new WeakMap,_=new WeakMap;class M extends d.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,C,g(this)),(0,o.A)(this,D,(m(this),b(this))),(0,o.A)(this,O,(y(this),A(this))),(0,o.A)(this,P,(x(this),w(this))),(0,o.A)(this,_,(S(this),E(this))),k(this)}get orientation(){return(0,a.A)(C,this)}set orientation(t){(0,i.A)(C,this,t)}get dashed(){return(0,a.A)(D,this)}set dashed(t){(0,i.A)(D,this,t)}get type(){return(0,a.A)(O,this)}set type(t){(0,i.A)(O,this,t)}get proportion(){return(0,a.A)(P,this)}set proportion(t){(0,i.A)(P,this,t)}get dividerStyle(){return(0,a.A)(_,this)}set dividerStyle(t){(0,i.A)(_,this,t)}render(){return c().createElement(N,{orientation:this.orientation,dashed:this.dashed,type:this.type,proportion:this.proportion,dividerStyle:this.dividerStyle})}}function N(t){const{orientation:e="center",dashed:r,type:n="horizontal",proportion:o,dividerStyle:i={}}=t,a=(0,l.useRef)(null),[s,u]=(0,l.useState)(),d=()=>{var t;u((null===(t=a.current)||void 0===t?void 0:t.assignedNodes().length)>0)};return(0,l.useEffect)((()=>{const t=a.current;return null==t||t.addEventListener("slotchange",d),()=>{null==t||t.removeEventListener("slotchange",d)}}),[]),c().createElement("div",{className:h()("dividerContent",e,{dashed:r,hasDefaultSlot:s},n),style:i},c().createElement("slot",{ref:a}),"radiation"===n&&o&&c().createElement("span",{className:"proportionText"},c().createElement("strong",null,o[0]),o[1]&&`/${o[1]}`))}n=M,({e:[g,m,b,y,A,x,w,S,E,k],c:[T,v]}=(0,s.A)(n,[z("eo-divider",{styleTexts:[p.A]})],[[j({attribute:!1}),1,"orientation"],[j({type:Boolean}),1,"dashed"],[j(),1,"type"],[j({attribute:!1}),1,"proportion"],[j({attribute:!1}),1,"dividerStyle"]],0,void 0,d.ReactNextElement)),v()},66297:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(36758),o=r.n(n),i=r(40935),a=r.n(i)()(o());a.push([t.id,'.dividerContent{display:flex;text-align:center;margin:24px 0;font-size:16px;color:var(--antd-heading-color);white-space:nowrap}.vertical.dividerContent{display:inline-block;margin:0px 22px;height:0.9em}.vertical.hasDefaultSlot::before{margin-right:1em}.vertical.dividerContent::before{position:relative;top:-0.06em;display:inline-block;height:100%;vertical-align:middle;border-top:0;border-left:1px solid var(--color-text-divider-line);position:relative;content:""}.vertical.dividerContent.dashed::before{border-left-style:dashed}.horizontal.dividerContent::before,\n.horizontal.dividerContent::after{position:relative;top:50%;width:50%;border-top:1px solid transparent;border-top-color:var(--color-text-divider-line);border-bottom:0;transform:translateY(50%);content:"";color:var(--color-text-divider-line)}.horizontal.left::before,\n.horizontal.right::after{width:5%}.horizontal.left::after,\n.horizontal.right::before{width:95%}.horizontal.dashed::after,\n.horizontal.dashed::before{border-top-style:dashed;border-top-color:inherit}.radiation::after{content:"";position:relative;top:13px;width:95%;transform:translateY(50%);height:1px;background:var(--color-text-divider-line);-webkit-mask-image:linear-gradient(to right,#f9f9f9 6px,#979797 6px,transparent 0px);-webkit-mask-size:8px 2px}.hasDefaultSlot{margin:16px 0}.horizontal.hasDefaultSlot::before{margin-right:1em}.horizontal.hasDefaultSlot::after{margin-left:1em}.proportionText{font-size:12px;color:var(--antd-divider-radiation-proportion-normal-text-color);line-height:25px;margin-left:10px}.proportionText strong{color:var(--antd-divider-radiation-proportion-strong-text-color)}',""]);const s=a.toString()},40935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},36758:t=>{"use strict";t.exports=function(t){return t[1]}},53373:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=a(t,i(r)))}return t}function i(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=a(e,r));return e}function a(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},62740:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(17545),o=r(26902);function i(t,e,r){"symbol"==(0,n.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:r?r+" "+e:e})}catch(t){}return t}var a=r(11369);function s(t,e,r,s,l,c){var u,d,p,f,h,v,g,m=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,A=[y(null),y(null)],x=e.length;function w(e,r,n){return function(o,i){r&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,n?[i]:[]);return n?i:o}}function S(t,e,r,n){if("function"!=typeof t&&(n||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return t}function E(t,e,r,o,a,s,l,c,p,f,h){function v(t){if(!h(t))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(e[0]),m=e[3],y=!l,x=1===a,E=3===a,k=4===a,z=2===a;function j(e,r,n){return function(o,i){return r&&(i=o,o=t),n&&n(o),T[e].call(o,i)}}if(!y){var T={},C=[],D=E?"get":k||x?"set":"value";if(p?(f||x?T={get:i((function(){return m(this)}),o,"get"),set:function(t){e[4](this,t)}}:T[D]=m,f||i(T[D],o,z?"":D)):f||(T=Object.getOwnPropertyDescriptor(t,o)),!f&&!p){if((d=A[+c][o])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+T[D].name+") is not supported yet");A[+c][o]=a<3?1:a}}for(var O=t,P=g.length-1;P>=0;P-=r?2:1){var _=S(g[P],"A decorator","be",!0),M=r?g[P-1]:void 0,N={},W={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");S(e,"An initializer","be",!0),s.push(e)}.bind(null,N)};if(y)d=_.call(M,O,W),N.v=1,S(d,"class decorators","return")&&(O=d);else if(W.static=c,W.private=p,d=W.access={has:p?h.bind():function(t){return o in t}},k||(d.get=p?z?function(t){return v(t),T.value}:j("get",0,v):function(t){return t[o]}),z||E||(d.set=p?j("set",0,v):function(t,e){t[o]=e}),O=_.call(M,x?{get:T.get,set:T.set}:T[D],W),N.v=1,x){if("object"==(0,n.A)(O)&&O)(d=S(O.get,"accessor.get"))&&(T.get=d),(d=S(O.set,"accessor.set"))&&(T.set=d),(d=S(O.init,"accessor.init"))&&C.unshift(d);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(O,(f?"field":"method")+" decorators","return")&&(f?C.unshift(O):T[D]=O)}return a<2&&l.push(w(C,c,1),w(s,c,0)),f||y||(p?x?l.splice(-1,0,j("get",c),j("set",c)):l.push(z?T[D]:S.call.bind(T[D])):b(t,o,T)),O}function k(t){return b(t,m,{configurable:!0,enumerable:!0,value:u})}return void 0!==c&&(u=c[m]),u=y(null==u?null:u),h=[],v=function(t){t&&h.push(w(t))},g=function(e,n){for(var i=0;i<r.length;i++){var s=r[i],c=s[1],u=7&c;if((8&c)==e&&!u==n){var d=s[2],v=!!s[3],g=16&c;E(e?t:t.prototype,s,g,v?"#"+d:(0,a.A)(d),u,u<2?[]:e?f=f||[]:p=p||[],h,!!e,v,n,e&&v?function(e){return(0,o.A)(e)===t}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),v(p),v(f),d=h,x||k(t),{e:d,get c(){var r=[];return x&&[k(t=E(t,[e],s,t.name,5,r)),w(r,1)]}}}},12559:(t,e,r)=>{"use strict";function n(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r.d(e,{A:()=>n})},26902:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(17545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.A)(t):"null"));return t}},72016:(t,e,r)=>{"use strict";function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{A:()=>n})},70829:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(12559);function o(t,e){return t.get((0,n.A)(t,e))}},70918:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(72016);function o(t,e,r){(0,n.A)(t,e),e.set(t,r)}},86121:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(12559);function o(t,e,r){return t.set((0,n.A)(t,e),r),r}},11369:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(17545);function o(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},17545:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-divider.7133958b.js.map
|