@next-bricks/nav 1.14.8 → 1.14.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/bricks.json +10 -10
  2. package/dist/chunks/1122.2174d8eb.js +2 -0
  3. package/dist/chunks/1122.2174d8eb.js.map +1 -0
  4. package/dist/chunks/1491.97fa1ded.js +3 -0
  5. package/dist/chunks/1491.97fa1ded.js.map +1 -0
  6. package/dist/chunks/1889.e4ee6503.js +2 -0
  7. package/dist/chunks/1889.e4ee6503.js.map +1 -0
  8. package/dist/chunks/1940.c77fc820.js +2 -0
  9. package/dist/chunks/1940.c77fc820.js.map +1 -0
  10. package/dist/chunks/2133.49a735c2.js +2 -0
  11. package/dist/chunks/{2133.6c54ee2c.js.map → 2133.49a735c2.js.map} +1 -1
  12. package/dist/chunks/{2140.389d0f1b.js → 2140.2e870601.js} +3 -3
  13. package/dist/chunks/{2140.389d0f1b.js.map → 2140.2e870601.js.map} +1 -1
  14. package/dist/chunks/2252.ea991945.js +3 -0
  15. package/dist/chunks/2252.ea991945.js.map +1 -0
  16. package/dist/chunks/2277.d774e4c4.js +2 -0
  17. package/dist/chunks/2277.d774e4c4.js.map +1 -0
  18. package/dist/chunks/3171.bf134c77.js +2 -0
  19. package/dist/chunks/3171.bf134c77.js.map +1 -0
  20. package/dist/chunks/{3703.37244032.js → 3703.029f16d4.js} +3 -3
  21. package/dist/chunks/{3703.37244032.js.map → 3703.029f16d4.js.map} +1 -1
  22. package/dist/chunks/3933.a7d045ca.js +2 -0
  23. package/dist/chunks/3933.a7d045ca.js.map +1 -0
  24. package/dist/chunks/4658.226b7328.js +2 -0
  25. package/dist/chunks/4658.226b7328.js.map +1 -0
  26. package/dist/chunks/4837.129ff052.js +2 -0
  27. package/dist/chunks/4837.129ff052.js.map +1 -0
  28. package/dist/chunks/5399.9f6a36a0.js +2 -0
  29. package/dist/chunks/5399.9f6a36a0.js.map +1 -0
  30. package/dist/chunks/5552.a395e3e7.js +2 -0
  31. package/dist/chunks/5552.a395e3e7.js.map +1 -0
  32. package/dist/chunks/{5764.e74e76af.js → 5764.962abddb.js} +3 -3
  33. package/dist/chunks/{5764.e74e76af.js.map → 5764.962abddb.js.map} +1 -1
  34. package/dist/chunks/6314.72a8afba.js +2 -0
  35. package/dist/chunks/6314.72a8afba.js.map +1 -0
  36. package/dist/chunks/6595.f55f1474.js +2 -0
  37. package/dist/chunks/{6595.7e2acb0f.js.map → 6595.f55f1474.js.map} +1 -1
  38. package/dist/chunks/7218.5a7eb066.js +2 -0
  39. package/dist/chunks/7218.5a7eb066.js.map +1 -0
  40. package/dist/chunks/{8097.97a89ad6.js → 8097.d19b8f60.js} +2 -2
  41. package/dist/chunks/{8097.97a89ad6.js.map → 8097.d19b8f60.js.map} +1 -1
  42. package/dist/chunks/{8518.cc5952ec.js → 8518.cadb4ae4.js} +2 -2
  43. package/dist/chunks/{8518.cc5952ec.js.map → 8518.cadb4ae4.js.map} +1 -1
  44. package/dist/chunks/{871.18bf8ba5.js → 871.dd7f6814.js} +2 -2
  45. package/dist/chunks/871.dd7f6814.js.map +1 -0
  46. package/dist/chunks/884.b3c85cf8.js +2 -0
  47. package/dist/chunks/{884.2d6b1603.js.map → 884.b3c85cf8.js.map} +1 -1
  48. package/dist/chunks/{9149.606acdd4.js → 9149.5afa9dc4.js} +2 -2
  49. package/dist/chunks/{9149.606acdd4.js.map → 9149.5afa9dc4.js.map} +1 -1
  50. package/dist/chunks/9559.3956978c.js +2 -0
  51. package/dist/chunks/9559.3956978c.js.map +1 -0
  52. package/dist/chunks/easyops-navbar-alerts.f058179c.js +2 -0
  53. package/dist/chunks/{easyops-navbar-alerts.57620305.js.map → easyops-navbar-alerts.f058179c.js.map} +1 -1
  54. package/dist/chunks/eo-directory-tree-internal-node.eb2044aa.js +2 -0
  55. package/dist/chunks/{eo-directory-tree-internal-node.a400a546.js.map → eo-directory-tree-internal-node.eb2044aa.js.map} +1 -1
  56. package/dist/chunks/eo-directory-tree-leaf.8fc6c903.js +2 -0
  57. package/dist/chunks/{eo-directory-tree-leaf.c2052cb2.js.map → eo-directory-tree-leaf.8fc6c903.js.map} +1 -1
  58. package/dist/chunks/{eo-directory-tree.36dc5eb8.js → eo-directory-tree.875e9246.js} +2 -2
  59. package/dist/chunks/{eo-directory-tree.36dc5eb8.js.map → eo-directory-tree.875e9246.js.map} +1 -1
  60. package/dist/chunks/{eo-directory.129e54a1.js → eo-directory.173acb10.js} +3 -3
  61. package/dist/chunks/{eo-directory.129e54a1.js.map → eo-directory.173acb10.js.map} +1 -1
  62. package/dist/chunks/{eo-frame-breadcrumb.67ebb525.js → eo-frame-breadcrumb.10dc9e7c.js} +2 -2
  63. package/dist/chunks/{eo-frame-breadcrumb.67ebb525.js.map → eo-frame-breadcrumb.10dc9e7c.js.map} +1 -1
  64. package/dist/chunks/{eo-launchpad-button-v2.cb95bd13.js → eo-launchpad-button-v2.4f0d4076.js} +3 -3
  65. package/dist/chunks/{eo-launchpad-button-v2.cb95bd13.js.map → eo-launchpad-button-v2.4f0d4076.js.map} +1 -1
  66. package/dist/chunks/{eo-launchpad-button.24496f06.js → eo-launchpad-button.f1433197.js} +3 -3
  67. package/dist/chunks/{eo-launchpad-button.24496f06.js.map → eo-launchpad-button.f1433197.js.map} +1 -1
  68. package/dist/chunks/{eo-launchpad-quick-access.787d5827.js → eo-launchpad-quick-access.a82ceb9b.js} +3 -3
  69. package/dist/chunks/{eo-launchpad-quick-access.787d5827.js.map → eo-launchpad-quick-access.a82ceb9b.js.map} +1 -1
  70. package/dist/chunks/{eo-launchpad-recent-visits.3db45e88.js → eo-launchpad-recent-visits.bea0828f.js} +3 -3
  71. package/dist/chunks/{eo-launchpad-recent-visits.3db45e88.js.map → eo-launchpad-recent-visits.bea0828f.js.map} +1 -1
  72. package/dist/chunks/{eo-nav-menu.dfd381c7.js → eo-nav-menu.a17bd52a.js} +2 -2
  73. package/dist/chunks/{eo-nav-menu.dfd381c7.js.map → eo-nav-menu.a17bd52a.js.map} +1 -1
  74. package/dist/chunks/{eo-sidebar-menu-group.fe402f05.js → eo-sidebar-menu-group.19c9b720.js} +3 -3
  75. package/dist/chunks/{eo-sidebar-menu-group.fe402f05.js.map → eo-sidebar-menu-group.19c9b720.js.map} +1 -1
  76. package/dist/chunks/eo-sidebar-menu-submenu.c0afedee.js +3 -0
  77. package/dist/chunks/{eo-sidebar-menu-submenu.5500ea32.js.map → eo-sidebar-menu-submenu.c0afedee.js.map} +1 -1
  78. package/dist/chunks/{eo-sidebar-menu.3653ab99.js → eo-sidebar-menu.2e1bf36a.js} +2 -2
  79. package/dist/chunks/{eo-sidebar-menu.3653ab99.js.map → eo-sidebar-menu.2e1bf36a.js.map} +1 -1
  80. package/dist/chunks/eo-sidebar-sub-menu.3963d157.js +3 -0
  81. package/dist/chunks/{eo-sidebar-sub-menu.4142bdb5.js.map → eo-sidebar-sub-menu.3963d157.js.map} +1 -1
  82. package/dist/chunks/{eo-sidebar.e2444da0.js → eo-sidebar.cfbcaab8.js} +3 -3
  83. package/dist/chunks/{eo-sidebar.e2444da0.js.map → eo-sidebar.cfbcaab8.js.map} +1 -1
  84. package/dist/chunks/{launchpad-config.4da1406e.js → launchpad-config.044a21bf.js} +3 -3
  85. package/dist/chunks/{launchpad-config.4da1406e.js.map → launchpad-config.044a21bf.js.map} +1 -1
  86. package/dist/chunks/main.84bb7e92.js +2 -0
  87. package/dist/chunks/{main.6382f486.js.map → main.84bb7e92.js.map} +1 -1
  88. package/dist/chunks/{nav-logo.401babfb.js → nav-logo.ddf8ef91.js} +2 -2
  89. package/dist/chunks/{nav-logo.401babfb.js.map → nav-logo.ddf8ef91.js.map} +1 -1
  90. package/dist/chunks/{poll-announce.8b5ec80c.js → poll-announce.10652f30.js} +3 -3
  91. package/dist/chunks/{poll-announce.8b5ec80c.js.map → poll-announce.10652f30.js.map} +1 -1
  92. package/dist/examples.json +3 -3
  93. package/dist/index.13d3a4bd.js +2 -0
  94. package/dist/index.13d3a4bd.js.map +1 -0
  95. package/dist/manifest.json +17 -17
  96. package/package.json +3 -3
  97. package/dist/chunks/1122.46c08d5f.js +0 -2
  98. package/dist/chunks/1122.46c08d5f.js.map +0 -1
  99. package/dist/chunks/1491.44fbb12e.js +0 -3
  100. package/dist/chunks/1491.44fbb12e.js.map +0 -1
  101. package/dist/chunks/1889.812b9ca5.js +0 -2
  102. package/dist/chunks/1889.812b9ca5.js.map +0 -1
  103. package/dist/chunks/1940.ea2c72ec.js +0 -2
  104. package/dist/chunks/1940.ea2c72ec.js.map +0 -1
  105. package/dist/chunks/2133.6c54ee2c.js +0 -2
  106. package/dist/chunks/2252.03e37978.js +0 -3
  107. package/dist/chunks/2252.03e37978.js.map +0 -1
  108. package/dist/chunks/2277.d2d6504b.js +0 -2
  109. package/dist/chunks/2277.d2d6504b.js.map +0 -1
  110. package/dist/chunks/3171.1db1673f.js +0 -2
  111. package/dist/chunks/3171.1db1673f.js.map +0 -1
  112. package/dist/chunks/3933.7a137140.js +0 -2
  113. package/dist/chunks/3933.7a137140.js.map +0 -1
  114. package/dist/chunks/4658.caf2d3b4.js +0 -2
  115. package/dist/chunks/4658.caf2d3b4.js.map +0 -1
  116. package/dist/chunks/4837.a9164f03.js +0 -2
  117. package/dist/chunks/4837.a9164f03.js.map +0 -1
  118. package/dist/chunks/5399.77e45ce2.js +0 -2
  119. package/dist/chunks/5399.77e45ce2.js.map +0 -1
  120. package/dist/chunks/5552.0ff35510.js +0 -2
  121. package/dist/chunks/5552.0ff35510.js.map +0 -1
  122. package/dist/chunks/6314.2b837619.js +0 -2
  123. package/dist/chunks/6314.2b837619.js.map +0 -1
  124. package/dist/chunks/6595.7e2acb0f.js +0 -2
  125. package/dist/chunks/7218.5667890b.js +0 -2
  126. package/dist/chunks/7218.5667890b.js.map +0 -1
  127. package/dist/chunks/871.18bf8ba5.js.map +0 -1
  128. package/dist/chunks/884.2d6b1603.js +0 -2
  129. package/dist/chunks/9559.1f660b3f.js +0 -2
  130. package/dist/chunks/9559.1f660b3f.js.map +0 -1
  131. package/dist/chunks/easyops-navbar-alerts.57620305.js +0 -2
  132. package/dist/chunks/eo-directory-tree-internal-node.a400a546.js +0 -2
  133. package/dist/chunks/eo-directory-tree-leaf.c2052cb2.js +0 -2
  134. package/dist/chunks/eo-sidebar-menu-submenu.5500ea32.js +0 -3
  135. package/dist/chunks/eo-sidebar-sub-menu.4142bdb5.js +0 -3
  136. package/dist/chunks/main.6382f486.js +0 -2
  137. package/dist/index.6d1f79df.js +0 -2
  138. package/dist/index.6d1f79df.js.map +0 -1
  139. /package/dist/chunks/{1491.44fbb12e.js.LICENSE.txt → 1491.97fa1ded.js.LICENSE.txt} +0 -0
  140. /package/dist/chunks/{2140.389d0f1b.js.LICENSE.txt → 2140.2e870601.js.LICENSE.txt} +0 -0
  141. /package/dist/chunks/{2252.03e37978.js.LICENSE.txt → 2252.ea991945.js.LICENSE.txt} +0 -0
  142. /package/dist/chunks/{3703.37244032.js.LICENSE.txt → 3703.029f16d4.js.LICENSE.txt} +0 -0
  143. /package/dist/chunks/{5764.e74e76af.js.LICENSE.txt → 5764.962abddb.js.LICENSE.txt} +0 -0
  144. /package/dist/chunks/{eo-directory.129e54a1.js.LICENSE.txt → eo-directory.173acb10.js.LICENSE.txt} +0 -0
  145. /package/dist/chunks/{eo-launchpad-button-v2.cb95bd13.js.LICENSE.txt → eo-launchpad-button-v2.4f0d4076.js.LICENSE.txt} +0 -0
  146. /package/dist/chunks/{eo-launchpad-button.24496f06.js.LICENSE.txt → eo-launchpad-button.f1433197.js.LICENSE.txt} +0 -0
  147. /package/dist/chunks/{eo-launchpad-quick-access.787d5827.js.LICENSE.txt → eo-launchpad-quick-access.a82ceb9b.js.LICENSE.txt} +0 -0
  148. /package/dist/chunks/{eo-launchpad-recent-visits.3db45e88.js.LICENSE.txt → eo-launchpad-recent-visits.bea0828f.js.LICENSE.txt} +0 -0
  149. /package/dist/chunks/{eo-sidebar-menu-group.fe402f05.js.LICENSE.txt → eo-sidebar-menu-group.19c9b720.js.LICENSE.txt} +0 -0
  150. /package/dist/chunks/{eo-sidebar-menu-submenu.5500ea32.js.LICENSE.txt → eo-sidebar-menu-submenu.c0afedee.js.LICENSE.txt} +0 -0
  151. /package/dist/chunks/{eo-sidebar-sub-menu.4142bdb5.js.LICENSE.txt → eo-sidebar-sub-menu.3963d157.js.LICENSE.txt} +0 -0
  152. /package/dist/chunks/{eo-sidebar.e2444da0.js.LICENSE.txt → eo-sidebar.cfbcaab8.js.LICENSE.txt} +0 -0
  153. /package/dist/chunks/{launchpad-config.4da1406e.js.LICENSE.txt → launchpad-config.044a21bf.js.LICENSE.txt} +0 -0
  154. /package/dist/chunks/{poll-announce.8b5ec80c.js.LICENSE.txt → poll-announce.10652f30.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/871.18bf8ba5.js","mappings":"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","sources":["webpack:///../../node_modules/file-saver/dist/FileSaver.min.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/createProviderClass.js","webpack:///../../node_modules/@microsoft/fetch-event-source/lib/esm/fetch.js","webpack:///../../node_modules/@microsoft/fetch-event-source/lib/esm/parse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/createSSEStream.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/deepFreeze.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/hasOwnProperty.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/isObject.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/JsonStorage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/unwrapProvider.js"],"sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open(\"GET\",a),d.responseType=\"blob\",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error(\"could not download file\")},d.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open(\"\",\"_blank\"),g&&(g.document.title=g.document.body.innerText=\"downloading...\"),\"string\"==typeof b)return c(b,d,e);var h=\"application/octet-stream\"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&\"undefined\"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,\"undefined\"!=typeof module&&(module.exports=g)});\n\n//# sourceMappingURL=FileSaver.min.js.map","import { saveAs } from \"file-saver\";\nexport function createProviderClass(api) {\n return class extends HTMLElement {\n get $$typeof() {\n return \"provider\";\n }\n resolve() {\n return api(...arguments);\n }\n async saveAs(filename) {\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 const blob = await api(...args);\n saveAs(blob, filename);\n }\n };\n}\n//# sourceMappingURL=createProviderClass.js.map","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport { getBytes, getLines, getMessages } from './parse';\r\nexport const EventStreamContentType = 'text/event-stream';\r\nconst DefaultRetryInterval = 1000;\r\nconst LastEventId = 'last-event-id';\r\nexport function fetchEventSource(input, _a) {\r\n var { signal: inputSignal, headers: inputHeaders, onopen: inputOnOpen, onmessage, onclose, onerror, openWhenHidden, fetch: inputFetch } = _a, rest = __rest(_a, [\"signal\", \"headers\", \"onopen\", \"onmessage\", \"onclose\", \"onerror\", \"openWhenHidden\", \"fetch\"]);\r\n return new Promise((resolve, reject) => {\r\n const headers = Object.assign({}, inputHeaders);\r\n if (!headers.accept) {\r\n headers.accept = EventStreamContentType;\r\n }\r\n let curRequestController;\r\n function onVisibilityChange() {\r\n curRequestController.abort();\r\n if (!document.hidden) {\r\n create();\r\n }\r\n }\r\n if (!openWhenHidden) {\r\n document.addEventListener('visibilitychange', onVisibilityChange);\r\n }\r\n let retryInterval = DefaultRetryInterval;\r\n let retryTimer = 0;\r\n function dispose() {\r\n document.removeEventListener('visibilitychange', onVisibilityChange);\r\n window.clearTimeout(retryTimer);\r\n curRequestController.abort();\r\n }\r\n inputSignal === null || inputSignal === void 0 ? void 0 : inputSignal.addEventListener('abort', () => {\r\n dispose();\r\n resolve();\r\n });\r\n const fetch = inputFetch !== null && inputFetch !== void 0 ? inputFetch : window.fetch;\r\n const onopen = inputOnOpen !== null && inputOnOpen !== void 0 ? inputOnOpen : defaultOnOpen;\r\n async function create() {\r\n var _a;\r\n curRequestController = new AbortController();\r\n try {\r\n const response = await fetch(input, Object.assign(Object.assign({}, rest), { headers, signal: curRequestController.signal }));\r\n await onopen(response);\r\n await getBytes(response.body, getLines(getMessages(id => {\r\n if (id) {\r\n headers[LastEventId] = id;\r\n }\r\n else {\r\n delete headers[LastEventId];\r\n }\r\n }, retry => {\r\n retryInterval = retry;\r\n }, onmessage)));\r\n onclose === null || onclose === void 0 ? void 0 : onclose();\r\n dispose();\r\n resolve();\r\n }\r\n catch (err) {\r\n if (!curRequestController.signal.aborted) {\r\n try {\r\n const interval = (_a = onerror === null || onerror === void 0 ? void 0 : onerror(err)) !== null && _a !== void 0 ? _a : retryInterval;\r\n window.clearTimeout(retryTimer);\r\n retryTimer = window.setTimeout(create, interval);\r\n }\r\n catch (innerErr) {\r\n dispose();\r\n reject(innerErr);\r\n }\r\n }\r\n }\r\n }\r\n create();\r\n });\r\n}\r\nfunction defaultOnOpen(response) {\r\n const contentType = response.headers.get('content-type');\r\n if (!(contentType === null || contentType === void 0 ? void 0 : contentType.startsWith(EventStreamContentType))) {\r\n throw new Error(`Expected content-type to be ${EventStreamContentType}, Actual: ${contentType}`);\r\n }\r\n}\r\n//# sourceMappingURL=fetch.js.map","export async function getBytes(stream, onChunk) {\r\n const reader = stream.getReader();\r\n let result;\r\n while (!(result = await reader.read()).done) {\r\n onChunk(result.value);\r\n }\r\n}\r\nexport function getLines(onLine) {\r\n let buffer;\r\n let position;\r\n let fieldLength;\r\n let discardTrailingNewline = false;\r\n return function onChunk(arr) {\r\n if (buffer === undefined) {\r\n buffer = arr;\r\n position = 0;\r\n fieldLength = -1;\r\n }\r\n else {\r\n buffer = concat(buffer, arr);\r\n }\r\n const bufLength = buffer.length;\r\n let lineStart = 0;\r\n while (position < bufLength) {\r\n if (discardTrailingNewline) {\r\n if (buffer[position] === 10) {\r\n lineStart = ++position;\r\n }\r\n discardTrailingNewline = false;\r\n }\r\n let lineEnd = -1;\r\n for (; position < bufLength && lineEnd === -1; ++position) {\r\n switch (buffer[position]) {\r\n case 58:\r\n if (fieldLength === -1) {\r\n fieldLength = position - lineStart;\r\n }\r\n break;\r\n case 13:\r\n discardTrailingNewline = true;\r\n case 10:\r\n lineEnd = position;\r\n break;\r\n }\r\n }\r\n if (lineEnd === -1) {\r\n break;\r\n }\r\n onLine(buffer.subarray(lineStart, lineEnd), fieldLength);\r\n lineStart = position;\r\n fieldLength = -1;\r\n }\r\n if (lineStart === bufLength) {\r\n buffer = undefined;\r\n }\r\n else if (lineStart !== 0) {\r\n buffer = buffer.subarray(lineStart);\r\n position -= lineStart;\r\n }\r\n };\r\n}\r\nexport function getMessages(onId, onRetry, onMessage) {\r\n let message = newMessage();\r\n const decoder = new TextDecoder();\r\n return function onLine(line, fieldLength) {\r\n if (line.length === 0) {\r\n onMessage === null || onMessage === void 0 ? void 0 : onMessage(message);\r\n message = newMessage();\r\n }\r\n else if (fieldLength > 0) {\r\n const field = decoder.decode(line.subarray(0, fieldLength));\r\n const valueOffset = fieldLength + (line[fieldLength + 1] === 32 ? 2 : 1);\r\n const value = decoder.decode(line.subarray(valueOffset));\r\n switch (field) {\r\n case 'data':\r\n message.data = message.data\r\n ? message.data + '\\n' + value\r\n : value;\r\n break;\r\n case 'event':\r\n message.event = value;\r\n break;\r\n case 'id':\r\n onId(message.id = value);\r\n break;\r\n case 'retry':\r\n const retry = parseInt(value, 10);\r\n if (!isNaN(retry)) {\r\n onRetry(message.retry = retry);\r\n }\r\n break;\r\n }\r\n }\r\n };\r\n}\r\nfunction concat(a, b) {\r\n const res = new Uint8Array(a.length + b.length);\r\n res.set(a);\r\n res.set(b, a.length);\r\n return res;\r\n}\r\nfunction newMessage() {\r\n return {\r\n data: '',\r\n event: '',\r\n id: '',\r\n retry: undefined,\r\n };\r\n}\r\n//# sourceMappingURL=parse.js.map","import { fetchEventSource } from \"@microsoft/fetch-event-source\";\n/**\n * 将 SSE 事件流转换为异步迭代器。\n */\nexport async function createSSEStream(url, options) {\n // Reference https://github.com/withspectrum/callback-to-async-iterator/blob/master/src/index.js\n const pushQueue = [];\n const pullQueue = [];\n let disposed = false;\n let closed = false;\n const {\n converter,\n ...fetchOptions\n } = options ?? {};\n await new Promise((resolve, reject) => {\n fetchEventSource(url, {\n ...fetchOptions,\n openWhenHidden: true,\n async onopen(response) {\n if (response.ok) {\n resolve(null);\n } else {\n // eslint-disable-next-line no-console\n console.error(\"open error\", response.statusText);\n throw new Error(response.statusText);\n }\n },\n onmessage(msg) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\") {\n // eslint-disable-next-line no-console\n console.debug(\"[EventSource]\", msg);\n }\n let data;\n let reason;\n let ok = true;\n try {\n data = (converter ?? defaultConverter)(msg.data, msg.event);\n } catch (e) {\n ok = false;\n reason = e;\n }\n if (pullQueue.length > 0) {\n const [resolve, reject] = pullQueue.shift();\n ok ? resolve(data) : reject(reason);\n } else {\n pushQueue.push(ok ? {\n ok: true,\n data: data\n } : {\n ok: false,\n reason\n });\n }\n },\n onclose() {\n closed = true;\n earlyDone();\n },\n onerror(err) {\n throw err;\n }\n }).catch(reason => {\n reject(reason);\n bailout(reason);\n });\n });\n function bailout(reason) {\n pullQueue.forEach(_ref => {\n let [_resolve, reject] = _ref;\n return reject(reason);\n });\n dispose();\n }\n function earlyDone() {\n pullQueue.forEach(_ref2 => {\n let [resolve] = _ref2;\n return resolve({\n value: undefined,\n done: true\n });\n });\n }\n function dispose() {\n disposed = true;\n pullQueue.length = 0;\n pushQueue.length = 0;\n }\n return {\n next() {\n return disposed ? this.return() : new Promise((resolve, reject) => {\n if (pushQueue.length > 0) {\n const result = pushQueue.shift();\n if (result.ok) {\n resolve(result.data);\n } else {\n reject(result.reason);\n }\n } else if (closed) {\n dispose();\n resolve({\n value: undefined,\n done: true\n });\n } else {\n pullQueue.push([resolve, reject]);\n }\n });\n },\n return() {\n earlyDone();\n dispose();\n return Promise.resolve({\n value: undefined,\n done: true\n });\n },\n throw(error) {\n earlyDone();\n dispose();\n return Promise.reject(error);\n },\n [Symbol.asyncIterator]() {\n return this;\n }\n };\n}\nfunction defaultConverter(data, event) {\n if (event === \"error\") {\n var _value;\n // eslint-disable-next-line no-console\n console.error(\"Received error event:\", data);\n let value;\n try {\n value = JSON.parse(data);\n } catch {\n // Ignore\n }\n throw new Error(typeof ((_value = value) === null || _value === void 0 ? void 0 : _value.error) === \"string\" ? value.error : data);\n }\n\n // By default, `data: [DONE]` indicates the end of the stream\n if (data === \"[DONE]\") {\n return {\n value: undefined,\n done: true\n };\n }\n if (data.startsWith(\"[ERROR]\")) {\n // eslint-disable-next-line no-console\n console.error(\"Received error message:\", data);\n throw new Error(data);\n }\n try {\n const value = JSON.parse(data);\n return {\n value,\n done: false\n };\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(\"Failed to parse message:\", data);\n throw e;\n }\n}\n//# sourceMappingURL=createSSEStream.js.map","// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n\n/** @internal */\nexport function deepFreeze(object) {\n // Retrieve the property names defined on object\n const propNames = Object.getOwnPropertyNames(object);\n\n // Freeze properties before freezing self\n\n for (const name of propNames) {\n const value = object[name];\n if (value && typeof value === \"object\") {\n deepFreeze(value);\n }\n }\n return Object.freeze(object);\n}\n//# sourceMappingURL=deepFreeze.js.map","export function hasOwnProperty(object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n}\n//# sourceMappingURL=hasOwnProperty.js.map","// Ref https://github.com/lodash/lodash/blob/4.17.11/lodash.js#L11744\nexport function isObject(value) {\n const type = typeof value;\n return value != null && (type == \"object\" || type == \"function\");\n}\n//# sourceMappingURL=isObject.js.map","// This is copied from\n// [@next-libs/storage](https://github.com/easyops-cn/next-libs/tree/master/libs/storage),\n// and the types is refined.\n// The usage of JsonStorage from @next-libs/storage should be deprecated,\n// and migrated to from @next-core/brick-utils.\nexport class JsonStorage {\n constructor(storage) {\n let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"brick-next-\";\n this.storage = storage;\n this.prefix = prefix;\n }\n setItem(name, value) {\n this.storage.setItem(this.prefix + name, JSON.stringify(value));\n }\n getItem(name) {\n return JSON.parse(this.storage.getItem(this.prefix + name) ?? \"null\");\n }\n removeItem(name) {\n return this.storage.removeItem(this.prefix + name);\n }\n clear() {\n return this.storage.clear();\n }\n}\n//# sourceMappingURL=JsonStorage.js.map","const pool = new Map();\nfunction getProviderBrick(provider) {\n let brick = pool.get(provider);\n if (brick) {\n return brick;\n }\n brick = document.createElement(provider);\n pool.set(provider, brick);\n return brick;\n}\nexport function unwrapProvider(provider) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n const brick = getProviderBrick(provider);\n return brick.resolve(...args);\n };\n}\n//# sourceMappingURL=unwrapProvider.js.map"],"names":["c","a","b","d","XMLHttpRequest","open","responseType","onload","g","response","onerror","console","error","send","status","e","dispatchEvent","MouseEvent","document","createEvent","initMouseEvent","window","f","self","global","navigator","test","userAgent","saveAs","HTMLAnchorElement","prototype","h","i","URL","webkitURL","j","createElement","name","download","rel","href","origin","location","target","createObjectURL","setTimeout","revokeObjectURL","msSaveOrOpenBlob","autoBom","warn","type","Blob","title","body","innerText","HTMLElement","safari","FileReader","k","onloadend","result","replace","readAsDataURL","l","m","module","exports","createProviderClass","api","$$typeof","resolve","arguments","filename","_len","length","args","Array","_key","blob","__rest","s","t","p","Object","hasOwnProperty","call","indexOf","getOwnPropertySymbols","propertyIsEnumerable","EventStreamContentType","DefaultRetryInterval","LastEventId","fetchEventSource","input","_a","signal","inputSignal","headers","inputHeaders","onopen","inputOnOpen","onmessage","onclose","openWhenHidden","fetch","inputFetch","rest","Promise","reject","assign","curRequestController","onVisibilityChange","abort","hidden","create","accept","addEventListener","retryInterval","retryTimer","dispose","removeEventListener","clearTimeout","defaultOnOpen","async","AbortController","stream","onChunk","reader","getReader","read","done","value","getBytes","onLine","buffer","position","fieldLength","discardTrailingNewline","arr","undefined","res","Uint8Array","set","concat","bufLength","lineStart","lineEnd","subarray","getLines","onId","onRetry","onMessage","message","data","event","id","retry","decoder","TextDecoder","line","field","decode","valueOffset","parseInt","isNaN","getMessages","err","aborted","interval","innerErr","contentType","get","startsWith","Error","createSSEStream","url","options","pushQueue","pullQueue","disposed","closed","converter","fetchOptions","earlyDone","forEach","_ref2","ok","statusText","msg","reason","defaultConverter","shift","push","catch","_ref","_resolve","bailout","next","this","return","throw","Symbol","asyncIterator","_value","JSON","parse","deepFreeze","object","propNames","getOwnPropertyNames","freeze","property","isObject","JsonStorage","constructor","storage","prefix","setItem","stringify","getItem","removeItem","clear","pool","Map","unwrapProvider","provider","brick","getProviderBrick"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[884],{884:(e,t,n)=>{var i,r=n(918),a=n(6121),l=n(829),o=n(2740),s=n(9575),c=n(8769),d=n.n(c),m=n(300),u=n(3474),p=n(4295),h=n(6370),g=n(9527),v=n(764),f=(n(6477),n(3373)),x=n.n(f),b=n(1283),y=n(9044),w=n(9998),A=n(839),E=n(1122);let k,N,S,C,M,I,T;n(4211);const{defineElement:B,property:W}=(0,m.createDecorators)(),R=(0,p.wrapBrick)("eo-menu-item"),K=(0,p.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",onBeforeVisibleChange:"before.visible.change"});function D(e){const{item:t}=e;return(0,g.Wf)(t,e.topData)?d().createElement(L,(0,s.A)({},e,{item:t})):(0,g.IZ)(t)?d().createElement(V,(0,s.A)({},e,{item:t})):d().createElement(z,(0,s.A)({},e,{item:t}))}function z(e){const{item:t,index:n,hidden:i,showTooltip:r,selectedKey:a=[]}=e;return d().createElement(R,{"data-index":n,className:i?"overflow-menu-item":"",key:t.key,title:r?t.text:"",active:!!t.key&&a.includes(t.key)},(0,g.q5)(t,{width:"100%"},e.mainMenuTitleStyle))}let _;const F=e=>{var t;const n=null!==(t=_)&&void 0!==t?t:_=window.innerWidth-document.body.clientWidth;document.body.style.paddingRight=e.detail?n+"px":"",document.body.style.overflow=e.detail?"hidden":"",document.body.style.touchAction=e.detail?"none":""};function L(e){var t;let{index:n,hidden:i,item:r,topData:a,showTooltip:l,selectedKey:o=[],overflow:s,mainMenuTitleStyle:c}=e;return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("popover",{subprime:!a,"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:a?"bottom-start":"right-start",distance:0,anchorDisplay:"block",strategy:"fixed"},d().createElement(R,{className:"sub-menu-item-label 22",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!a,{...c})),d().createElement("div",{className:x()("sub-menu-wrapper",{"overflow-menu-wrapper":s})},r.items.map((e=>d().createElement(d().Fragment,{key:e.key},d().createElement(D,{item:e,selectedKey:o,showTooltip:l})))))):null}function V(e){var t;let{item:n,showTooltip:i,selectedKey:r=[]}=e;return(null===(t=n.items)||void 0===t?void 0:t.length)>0?"category"===n.childLayout?d().createElement(O,{item:n,selectedKey:r,showTooltip:i,placement:"right-start",anchorDisplay:"block"}):"siteMap"===n.childLayout?d().createElement(G,{item:n,selectedKey:r,showTooltip:i,placement:"right-start",anchorDisplay:"block",topData:!1}):d().createElement(d().Fragment,null,d().createElement("div",{className:"group-label"},n.title),d().createElement("div",{className:"group-wrapper"},n.items.map((e=>d().createElement(d().Fragment,{key:e.key},d().createElement(D,{item:e,showTooltip:i,selectedKey:r})))))):null}function O(e){var t;let{index:n,hidden:i,item:r,selectedKey:a=[],showTooltip:l,placement:o="bottom-start",anchorDisplay:s,mainMenuTitleStyle:c}=e;return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("three-level-menu-popover","popover",{"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:o,distance:0,key:r.key,strategy:"fixed",anchorDisplay:s,onBeforeVisibleChange:F},d().createElement(R,{className:"sub-menu-item-label",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!1,c)),d().createElement("div",{className:"sub-menu-wrapper"},d().createElement(b.s,{menuItem:r,selectedKey:a}))):null}function G(e){var t;let{index:n,hidden:i,item:r,selectedKey:a=[],showTooltip:l,placement:o="bottom-start",anchorDisplay:s,topData:m,mainMenuTitleStyle:u}=e;const[p,h]=(0,c.useState)();return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("popover",{"overflow-menu-item":i}),trigger:"hover",placement:o,distance:0,key:r.key,strategy:"fixed",arrow:!1,anchorDisplay:s,onBeforeVisibleChange:e=>{h(e.detail),F(e)}},d().createElement(R,{className:"sub-menu-item-label",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!1,u)),d().createElement("div",{className:x()("sub-menu-sit-map-wrapper",{"in-group-site-map":!m}),onClick:e=>e.stopPropagation()},d().createElement(y.bw,{menuGroup:r,selectedKey:a,visible:p}))):null}let P;var $=new WeakMap,j=new WeakMap,X=new WeakMap;class U extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,$,N(this)),(0,r.A)(this,j,(S(this),C(this))),(0,r.A)(this,X,(M(this),I(this))),T(this)}get menu(){return(0,l.A)($,this)}set menu(e){(0,a.A)($,this,e)}get mainMenuTitleStyle(){return(0,l.A)(j,this)}set mainMenuTitleStyle(e){(0,a.A)(j,this,e)}get showTooltip(){return(0,l.A)(X,this)}set showTooltip(e){(0,a.A)(X,this,e)}render(){return d().createElement(q,{menu:this.menu,showTooltip:this.showTooltip,mainMenuTitleStyle:this.mainMenuTitleStyle})}}function q(e){const{menu:t,showTooltip:n}=e,i=(0,u.getHistory)(),r=(0,c.useRef)(null),[a,l]=(0,c.useState)(i.location),[o,s]=(0,c.useState)(Number.MAX_SAFE_INTEGER),{pathname:m,search:p}=a,h=(0,c.useMemo)((()=>{var e;return(null!==(e=null==t?void 0:t.menuItems)&&void 0!==e?e:[]).filter((e=>{var t;return"default"===e.type||!e.type||["group","subMenu"].includes(e.type)&&(null===(t=e.items)||void 0===t?void 0:t.length)}))}),[null==t?void 0:t.menuItems]),f=(0,c.useMemo)((()=>{const{selectedKeys:e}=(0,v.LP)(null!=h?h:[],m,p,"");return e}),[h,m,p]);(0,c.useEffect)((()=>{const e=i.listen((e=>{l(e)}));return e}),[]),(0,c.useEffect)((()=>{if(r.current){const e=new ResizeObserver((()=>{if(r.current){var e;const{width:t}=null!==(e=r.current.getClientRects()[0])&&void 0!==e?e:{},n=r.current.childNodes;if(n.length&&t){let e=t,i=n.length;for(let t=0;t<n.length;t++){const{width:r,height:a}=n[t].getClientRects()[0];if(!a&&e-40<0){i=t-1;break}if(e=e-r-(t>0?8:0),e<0){i=t;break}}s(i<0?0:i)}}}));return e.observe(r.current),()=>{e.disconnect()}}}),[]);const x=(0,c.useMemo)((()=>({type:"subMenu",title:"···",items:h.slice(o,h.length)})),[h,o]);return d().createElement("div",{ref:r,className:"nav-menu-wrapper"},h.map(((t,i)=>{var r;const a=o<=i;return d().createElement(d().Fragment,{key:t.key},(0,g.Wf)(t,!0)&&"category"===t.childLayout&&null!==(r=t.items)&&void 0!==r&&r.length?d().createElement(O,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,mainMenuTitleStyle:e.mainMenuTitleStyle}):"group"===t.type&&"siteMap"===t.childLayout?d().createElement(G,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}):d().createElement(D,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))})),d().createElement(D,{hidden:o>h.length,item:x,showTooltip:n,selectedKey:f,overflow:!0,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))}i=U,({e:[N,S,C,M,I,T],c:[P,k]}=(0,o.A)(i,[B("eo-nav-menu",{styleTexts:[w.A,A.A,E.A,h.A]})],[[W({attribute:!1}),1,"menu"],[W({attribute:!1}),1,"mainMenuTitleStyle"],[W({type:Boolean}),1,"showTooltip"]],0,void 0,p.ReactNextElement)),k();var H,Z=n(6293),Y=n(7896),Q=n(9929),J=n(1);let ee;(0,Y.initializeReactI18n)(Q.NS,Q.I);const{defineElement:te}=(0,m.createDecorators)();let ne;class ie extends p.ReactNextElement{render(){return d().createElement(Z.D,null)}}H=ie,[ne,ee]=(0,o.A)(H,[te("eo-launchpad-button",{styleTexts:[J.A]})],[],0,void 0,p.ReactNextElement).c,ee();var re,ae=n(3078),le=n(6674),oe=n(2240),se=n(5924),ce=n(3693),de=n(9302),me=n(2133),ue=n(8776);let pe;n(9262);const{defineElement:he}=(0,m.createDecorators)(),ge=(0,ae.unwrapProvider)("basic.lock-body-scroll");let ve;class fe extends p.ReactNextElement{disconnectedCallback(){super.disconnectedCallback(),ge(this,!1)}render(){return d().createElement(xe,{host:this})}}function xe(e){let{host:t}=e;const[n,i]=(0,c.useState)(!1),[r,a]=(0,c.useState)(!1),l=()=>{a((e=>!e))};return(0,c.useEffect)((()=>(0,u.getHistory)().listen((()=>{a(!1)}))),[]),(0,c.useEffect)((()=>{r&&!n&&i(!0)}),[r,n]),(0,c.useEffect)((()=>(le.A.filter=function(){return!0},(0,le.A)("alt+l",(e=>{e.preventDefault(),a((e=>!e))})),(0,le.A)("esc",(()=>{a(!1)})),()=>{le.A.unbind("alt+l"),le.A.unbind("esc")})),[]),(0,c.useEffect)((()=>{ge(t,r)}),[r,t]),(0,c.useEffect)((()=>{var e;me.ir.schedulePrefetch(),me.fm.schedulePrefetch(),(null===(e=(0,u.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["launchpad-show-platform-category"])&&me.pU.schedulePrefetch()}),[]),d().createElement(d().Fragment,null,d().createElement("a",{role:"button",className:x()("launchpad-button",{active:r}),onClick:l},d().createElement(oe.A,null)),d().createElement("div",{className:x()("mask",{active:r}),onClick:l}),n&&d().createElement(de.r,{active:r}))}re=fe,[ve,pe]=(0,o.A)(re,[he("eo-launchpad-button-v2",{styleTexts:[se.A,ce.A,ue.A]})],[],0,void 0,p.ReactNextElement).c,pe();var be=n(4635),ye=n(6902),we=n(5536),Ae=n(1030);const Ee=(0,p.wrapBrick)("eo-icon"),ke=(0,p.wrapBrick)("eo-link"),Ne=(0,p.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"});(0,ae.unwrapProvider)("basic.show-dialog");var Se=n(6659);function Ce(e){let{data:t,actions:n,onActionClick:i}=e;const{name:r,items:a}=t,[l,o]=(0,c.useState)(!1),s=(0,c.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"group"})))),[n]),m=(0,c.useCallback)((e=>{null==i||i({data:t,action:e.detail})}),[t,i]);return d().createElement("li",{className:x()("menu-group",{empty:0===a.length})},d().createElement("div",{className:"menu-group-label-wrapper"},d().createElement("span",{className:"menu-group-label"},r),d().createElement(Ne,{actions:s,onVisibleChange:e=>{o(e.detail)},onActionClick:m},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})}))),d().createElement("ul",{className:"menu"},a.map((e=>"dir"===e.type?d().createElement(Ie,{key:e.instanceId,data:e,actions:n,onActionClick:i}):d().createElement(Me,{key:`${e.type}-${e.id}`,data:e,actions:n,onActionClick:i})))))}function Me(e){var t;let{data:n,actions:i,onActionClick:r}=e;const a=(0,c.useMemo)((()=>"app"===n.type?(0,Se.F)(n.locales,n.name):n.name),[n]),[l,o]=(0,c.useState)(!1),m=(0,c.useMemo)((()=>null==i?void 0:i.filter((e=>(0,u.checkIfByTransform)(e,n)))),[i,n]),p=(0,c.useCallback)((e=>{null==r||r({data:n,action:e.detail})}),[n,r]);return d().createElement("li",{className:"menu-item"},d().createElement(ke,null,d().createElement(Ee,(0,s.A)({className:"menu-icon",lib:"easyops",icon:"micro-app-center"},null!==(t=n.menuIcon)&&void 0!==t&&t.lib&&n.menuIcon.icon?(0,Ae.pick)(n.menuIcon,["lib","icon","theme","category","prefix"]):null)),d().createElement("span",{className:"menu-item-label"},a)),d().createElement(Ne,{actions:m,onVisibleChange:e=>{o(e.detail)},onActionClick:p},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})})))}function Ie(e){let{data:t,actions:n,onActionClick:i}=e;const{name:r,items:a}=t,[l,o]=(0,c.useState)(!1),[s,m]=(0,c.useState)(!1),p=(0,c.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"dir"})))),[n]),h=(0,c.useCallback)((()=>{m((e=>!e))}),[]),g=(0,c.useCallback)((e=>{null==i||i({data:t,action:e.detail})}),[t,i]);return d().createElement("li",{className:x()("menu-item folder",{empty:0===a.length})},d().createElement("div",{className:"menu-folder-label-wrapper"},d().createElement(ke,{onClick:h},d().createElement(Ee,{lib:"fa",prefix:"far",icon:"folder-open",className:"menu-icon"}),d().createElement("span",{className:"menu-item-label"},r),d().createElement(Ee,{lib:"antd",icon:s?"up":"down",className:"menu-item-toggle"})),d().createElement(Ne,{actions:p,onVisibleChange:e=>{o(e.detail)},onActionClick:g},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})}))),d().createElement("ul",{className:x()("sub-menu",{expanded:s})},a.map((e=>d().createElement(Me,{key:e.instanceId,data:e,actions:n,onActionClick:i})))))}var Te,Be=n(4081);let We,Re,Ke,De,ze,_e,Fe,Le,Ve;const{defineElement:Oe,property:Ge,event:Pe}=(0,m.createDecorators)();let $e;var je=new WeakMap,Xe=new WeakMap,Ue=new WeakMap,qe=new WeakSet,He=new WeakMap;class Ze extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,qe),(0,r.A)(this,je,Re(this)),(0,r.A)(this,Xe,(Ke(this),De(this))),(0,r.A)(this,Ue,(ze(this),_e(this))),(0,r.A)(this,He,(Ve(this),e=>{(0,we.A)(qe,this,Fe).emit(e)}))}get menuGroups(){return(0,l.A)(je,this)}set menuGroups(e){(0,a.A)(je,this,e)}get actions(){return(0,l.A)(Xe,this)}set actions(e){(0,a.A)(Xe,this,e)}render(){return d().createElement(Ye,{menuGroups:this.menuGroups,actions:this.actions,onActionClick:(0,l.A)(He,this)})}}function Ye(e){let{menuGroups:t,actions:n,onActionClick:i}=e;return d().createElement("ul",{className:"menu-groups"},null==t?void 0:t.map((e=>d().createElement(Ce,{key:e.instanceId,data:e,actions:n,onActionClick:i}))))}Te=Ze,({e:[Re,Ke,De,ze,_e,Fe,Le,Ve],c:[$e,We]}=(0,o.A)(Te,[Oe("nav.launchpad-config",{styleTexts:[Be.A]})],[[Ge({attribute:!1}),1,"menuGroups"],[Ge({attribute:!1}),1,"actions"],[Pe({type:"action.click"}),1,"actionClickEvent",e=>(0,l.A)(Ue,e),(e,t)=>(0,a.A)(Ue,e,t)]],0,(e=>He.has((0,ye.A)(e))),p.ReactNextElement)),We();var Qe,Je=n(7008),et=n(4953),tt=n(4612),nt=n(6238),it=n.n(nt),rt=n(7061);let at;const lt=(0,p.wrapBrick)("eo-icon"),ot=(0,p.wrapBrick)("eo-link"),{defineElement:st}=(0,m.createDecorators)();let ct;class dt extends p.ReactNextElement{render(){return d().createElement(ut,null)}}Qe=dt,[ct,at]=(0,o.A)(Qe,[st("nav.easyops-navbar-alerts",{styleTexts:[rt.A]})],[],0,void 0,p.ReactNextElement).c,at();const mt=new tt.G(localStorage);function ut(){const[e,t]=(0,c.useState)(!1),[n,i]=(0,c.useState)(null),r=(0,Je.useCurrentApp)(),a=(0,c.useMemo)((()=>`license:${et.auth.getAuth().org}`),[]),l=(0,c.useMemo)((()=>{var t;const n=et.auth.getAuth(),i=null===(t=n.license)||void 0===t?void 0:t.validDaysLeft;let r;return e?null:i&&i<=15&&n.isAdmin&&(r=mt.getItem(a),!r||it()().unix()>r)?i:null}),[a,e]);(0,c.useEffect)((()=>{const e=e=>{const t=e.detail.renderTime,{loadTime:n,loadInfoPage:a}=(0,u.getRuntime)().getMiscSettings();null!=r&&r.isBuildPush&&n>0&&t>n&&i({renderTime:ht(t),suggestTime:ht(n),suggestUrl:a})};return window.addEventListener("route.render",e),()=>{window.removeEventListener("route.render",e)}}),[r]);const o=(0,c.useCallback)((()=>{mt.setItem(a,it()().unix()+86400),t(!0)}),[a]);return d().createElement(d().Fragment,null,n&&d().createElement(pt,{text:`您的页面存在性能问题, 当前页面渲染时间 ${n.renderTime} 秒, 规定阈值为: ${n.suggestTime} 秒, 您已超过。请您针对该页面进行性能优化!`,type:"warning",link:n.suggestUrl?{label:"建议解决思路",url:n.suggestUrl}:void 0}),null!==l&&d().createElement(pt,{text:`离 License 过期还有 ${l} 天`,type:"info",closable:!0,onClose:o}))}function pt(e){let{text:t,type:n,closable:i,link:r,onClose:a}=e;return d().createElement("div",{className:`alert ${n}`},d().createElement("span",{className:"text"},t),r&&d().createElement(ot,{className:"link",href:r.url,target:"_blank"},r.label),i&&d().createElement(lt,{lib:"antd",icon:"close",className:"icon",role:"button",onClick:a}))}function ht(e){return Math.floor(100*e)/1e5}var gt,vt=n(8119),ft=n(8356),xt=n(8839);let bt,yt,wt,At,Et;const{defineElement:kt,property:Nt}=(0,m.createDecorators)();let St;var Ct=new WeakMap,Mt=new WeakMap;class It extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ct,yt(this)),(0,r.A)(this,Mt,(wt(this),At(this))),Et(this)}get readonly(){return(0,l.A)(Ct,this)}set readonly(e){(0,a.A)(Ct,this,e)}get target(){return(0,l.A)(Mt,this)}set target(e){(0,a.A)(Mt,this,e)}render(){return d().createElement(Tt,{readonly:this.readonly,target:this.target})}}function Tt(e){let{readonly:t,target:n}=e;const{favorites:i,loadingFavorites:r,pushRecentVisit:a,toggleStar:l,isStarred:o}=(0,me.sZ)(!0);return d().createElement(ft.z.Provider,{value:{searching:!1,loadingFavorites:r,readonly:t,pushRecentVisit:a,toggleStar:l,isStarred:o}},d().createElement("ul",{className:"quick-access-list"},i.map(((e,t)=>d().createElement(xt.F,{key:t,target:n,item:e})))))}gt=It,({e:[yt,wt,At,Et],c:[St,bt]}=(0,o.A)(gt,[kt("eo-launchpad-quick-access",{styleTexts:[vt.A]})],[[Nt({type:Boolean}),1,"readonly"],[Nt({attribute:!1}),1,"target"]],0,void 0,p.ReactNextElement)),bt();var Bt,Wt=n(3873),Rt=n(2591),Kt=n.n(Rt),Dt=n(1740),zt=n.n(Dt),_t=n(8128),Ft=n.n(_t),Lt=n(855),Vt=n.n(Lt),Ot=n(3051),Gt=n.n(Ot),Pt=n(3656),$t=n.n(Pt),jt=n(7839),Xt={};let Ut,qt,Ht;Xt.styleTagTransform=$t(),Xt.setAttributes=Vt(),Xt.insert=Ft().bind(null,"head"),Xt.domAPI=zt(),Xt.insertStyleElement=Gt(),Kt()(jt.A,Xt),jt.A&&jt.A.locals&&jt.A.locals;const Zt=(0,p.wrapBrick)("eo-icon"),{defineElement:Yt,property:Qt}=(0,m.createDecorators)();let Jt;var en=new WeakMap;class tn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,en,qt(this)),Ht(this)}get readonly(){return(0,l.A)(en,this)}set readonly(e){(0,a.A)(en,this,e)}render(){return d().createElement(nn,{readonly:this.readonly})}}function nn(e){let{readonly:t}=e;const n=(0,c.useRef)(null),i=(0,c.useCallback)((()=>{var e;null===(e=n.current)||void 0===e||e.focus()}),[]),[r,a]=(0,c.useState)(!1),{loading:l,q:o,setQ:s,menuGroups:m,loadingFavorites:u,pushRecentVisit:p,toggleStar:h,isStarred:g}=(0,me.sZ)(r),v=!!o,f=(0,c.useCallback)((e=>{s(e.target.value)}),[s]),b=(0,c.useCallback)((()=>{s("")}),[s]);return d().createElement(ft.z.Provider,{value:{searching:v,loadingFavorites:u,readonly:t,pushRecentVisit:p,toggleStar:h,isStarred:g}},d().createElement("div",{className:"container"},d().createElement("div",{className:"search-box",onClick:i},d().createElement(Zt,{lib:"fa",icon:"magnifying-glass",className:"search-icon"}),d().createElement("input",{ref:n,placeholder:"搜索产品/微应用",value:o,onChange:f,className:"search-input",onFocus:()=>a(!0),onBlur:()=>a(!1)}),d().createElement(Zt,{lib:"antd",theme:"filled",icon:"close-circle",className:x()("search-clear",{searching:v}),onClick:b,onMouseDown:e=>e.preventDefault()})),d().createElement("div",{className:x()("dropdown",{"dropdown-active":r}),onMouseDown:e=>e.preventDefault()},d().createElement("div",{className:x()("dropdown-content",{loading:l})},d().createElement(rn,{loading:l}),d().createElement("ul",{className:"menu-groups"},m.map((e=>d().createElement(xt.r,{key:e.name,name:e.name,items:e.items}))))))))}function rn(e){let{loading:t}=e;return t&&d().createElement("div",{className:"spinner"},d().createElement(Zt,{lib:"fa",icon:"spinner",spinning:!0}))}Bt=tn,({e:[qt,Ht],c:[Jt,Ut]}=(0,o.A)(Bt,[Yt("eo-search-launchpad",{styleTexts:[Wt.A]})],[[Qt({type:Boolean}),1,"readonly"]],0,void 0,p.ReactNextElement)),Ut();var an,ln=n(6859);let on,sn,cn;const dn=(0,p.wrapBrick)("eo-link"),{defineElement:mn,property:un}=(0,m.createDecorators)();let pn;var hn=new WeakMap;class gn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,hn,sn(this)),cn(this)}get target(){return(0,l.A)(hn,this)}set target(e){(0,a.A)(hn,this,e)}render(){return d().createElement(vn,{target:this.target})}}function vn(e){let{target:t}=e;const{recentVisits:n,pushRecentVisit:i}=(0,me.sZ)(!0);return d().createElement("ul",{className:"recent-visits"},n.map(((e,n)=>d().createElement("li",{key:n},d().createElement(dn,(0,s.A)({onClick:()=>i(e)},"app"===e.type?{url:e.url,target:t}:{href:e.url,target:"_blank"}),d().createElement("span",null,e.name))))))}an=gn,({e:[sn,cn],c:[pn,on]}=(0,o.A)(an,[mn("eo-launchpad-recent-visits",{styleTexts:[ln.A]})],[[un({attribute:!1}),1,"target"]],0,void 0,p.ReactNextElement)),on();var fn,xn=n(6405);let bn,yn,wn,An,En,kn,Nn,Sn,Cn;const{defineElement:Mn,property:In}=(0,m.createDecorators)();let Tn;var Bn=new WeakMap,Wn=new WeakMap,Rn=new WeakMap,Kn=new WeakMap;class Dn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Bn,yn(this)),(0,r.A)(this,Wn,(wn(this),An(this))),(0,r.A)(this,Rn,(En(this),kn(this))),(0,r.A)(this,Kn,(Nn(this),Sn(this))),Cn(this)}get isFixed(){return(0,l.A)(Bn,this)}set isFixed(e){(0,a.A)(Bn,this,e)}get position(){return(0,l.A)(Wn,this)}set position(e){(0,a.A)(Wn,this,e)}get displayCenter(){return(0,l.A)(Rn,this)}set displayCenter(e){(0,a.A)(Rn,this,e)}get extraAppBarContentStyle(){return(0,l.A)(Kn,this)}set extraAppBarContentStyle(e){(0,a.A)(Kn,this,e)}render(){return d().createElement(zn,{displayCenter:this.displayCenter,isFixed:this.isFixed,position:this.position,extraAppBarContentStyle:this.extraAppBarContentStyle})}}function zn(e){let{isFixed:t=!0,position:n,displayCenter:i=!1,extraAppBarContentStyle:r={}}=e;return d().useEffect((()=>{const e=document.getElementById("main-mount-point"),t=document.getElementById("legacy-iframe-mount-point");e&&(e.style.marginTop=""),t&&(t.style.marginTop="")}),[]),d().createElement("div",{className:"app-bar-container"},d().createElement("div",{className:x()("app-bar","static"===n?"static":"fixed"===n||t?"fixed":"absolute")},d().createElement("div",{className:"app-bar-content",style:{justifyContent:i?"space-around":"space-between",...r}},d().createElement("div",{className:"left"},d().createElement("slot",{name:"left"})),d().createElement("div",{className:"right"},d().createElement("slot",{name:"right"})))))}fn=Dn,({e:[yn,wn,An,En,kn,Nn,Sn,Cn],c:[Tn,bn]}=(0,o.A)(fn,[Mn("eo-app-bar-wrapper",{styleTexts:[xn.A],alias:["basic.app-bar-wrapper"]})],[[In({type:Boolean}),1,"isFixed"],[In(),1,"position"],[In({type:Boolean}),1,"displayCenter"],[In({attribute:!1}),1,"extraAppBarContentStyle"]],0,void 0,p.ReactNextElement)),bn();var _n,Fn=n(2689);let Ln,Vn,On,Gn,Pn,$n,jn;const{defineElement:Xn,property:Un}=(0,m.createDecorators)(),qn=(0,p.wrapBrick)("eo-breadcrumb"),Hn=(0,p.wrapBrick)("eo-breadcrumb-item"),Zn=(0,p.wrapBrick)("eo-icon");let Yn;var Qn=new WeakMap,Jn=new WeakMap,ei=new WeakMap;class ti extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Qn,Vn(this)),(0,r.A)(this,Jn,(On(this),Gn(this))),(0,r.A)(this,ei,(Pn(this),$n(this))),jn(this)}get breadcrumb(){return(0,l.A)(Qn,this)}set breadcrumb(e){(0,a.A)(Qn,this,e)}get noCurrentApp(){return(0,l.A)(Jn,this)}set noCurrentApp(e){(0,a.A)(Jn,this,e)}get menu(){return(0,l.A)(ei,this)}set menu(e){(0,a.A)(ei,this,e)}render(){return d().createElement(ni,{breadcrumb:this.breadcrumb,noCurrentApp:this.noCurrentApp,menu:this.menu})}}function ni(e){var t,n;const{menu:i}=e,r=(0,Je.useNavConfig)(),a=(0,Je.useCurrentApp)(),l=null==a?void 0:a.breadcrumb,o=null==l?void 0:l.items,c=null!==(t=e.breadcrumb)&&void 0!==t&&t.length?e.breadcrumb:null==r?void 0:r.breadcrumb,m=null!==(n=e.noCurrentApp)&&void 0!==n?n:null==l?void 0:l.noCurrentApp,u=null==l?void 0:l.useCurrentMenuTitle;return d().createElement(qn,null,d().createElement("span",{slot:"separator"},"/"),null==o?void 0:o.map(((e,t)=>d().createElement(Hn,{key:t,url:e.to},e.icon?d().createElement(Zn,(0,s.A)({className:"breadcrumb-item-prefix-icon",slot:"prefix"},e.icon)):0===t&&d().createElement(Zn,{className:"breadcrumb-item-prefix-icon",slot:"prefix",lib:"antd",icon:"home",theme:"outlined"}),e.text))),a&&!m?d().createElement(Hn,{url:null!=c&&c.length&&a.homepage&&!a.internal?a.homepage:void 0},!(null!=o&&o.length)&&d().createElement(Zn,(0,s.A)({},a.menuIcon,{slot:"prefix",className:"breadcrumb-item-prefix-icon"})),a.localeName):null,u&&i?d().createElement(Hn,{url:i.link},i.icon&&d().createElement(Zn,(0,s.A)({},i.icon,{className:"breadcrumb-item-prefix-icon",slot:"prefix"})),i.title):null,null==c?void 0:c.map(((e,t)=>d().createElement(Hn,{key:t,url:e.to},e.text))))}_n=ti,({e:[Vn,On,Gn,Pn,$n,jn],c:[Yn,Ln]}=(0,o.A)(_n,[Xn("eo-frame-breadcrumb",{styleTexts:[Fn.A]})],[[Un({attribute:!1}),1,"breadcrumb"],[Un({type:Boolean}),1,"noCurrentApp"],[Un({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),Ln();var ii,ri=n(4239);let ai,li,oi,si,ci,di,mi,ui,pi,hi,gi,vi,fi,xi,bi;const{defineElement:yi,property:wi}=(0,m.createDecorators)(),Ai=(0,p.wrapBrick)("eo-link"),Ei=(0,p.wrapBrick)("eo-icon");let ki;var Ni=new WeakMap,Si=new WeakMap,Ci=new WeakMap,Mi=new WeakMap,Ii=new WeakMap,Ti=new WeakMap,Bi=new WeakMap;class Wi extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ni,li(this)),(0,r.A)(this,Si,(oi(this),si(this))),(0,r.A)(this,Ci,(ci(this),di(this))),(0,r.A)(this,Mi,(mi(this),ui(this))),(0,r.A)(this,Ii,(pi(this),hi(this))),(0,r.A)(this,Ti,(gi(this),vi(this))),(0,r.A)(this,Bi,(fi(this),xi(this))),bi(this)}get url(){return(0,l.A)(Ni,this)}set url(e){(0,a.A)(Ni,this,e)}get href(){return(0,l.A)(Si,this)}set href(e){(0,a.A)(Si,this,e)}get target(){return(0,l.A)(Ci,this)}set target(e){(0,a.A)(Ci,this,e)}get icon(){return(0,l.A)(Mi,this)}set icon(e){(0,a.A)(Mi,this,e)}get selected(){return(0,l.A)(Ii,this)}set selected(e){(0,a.A)(Ii,this,e)}get inSubmenu(){return(0,l.A)(Ti,this)}set inSubmenu(e){(0,a.A)(Ti,this,e)}get menuCollapsed(){return(0,l.A)(Bi,this)}set menuCollapsed(e){(0,a.A)(Bi,this,e)}render(){return d().createElement(Ri,{url:this.url,href:this.href,target:this.target,icon:this.icon,selected:this.selected})}}function Ri(e){const{url:t,href:n,target:i,icon:r,selected:a}=e;return d().createElement(Ai,{type:"plain",url:t,href:n,target:i},d().createElement("div",{className:"menu-item"},d().createElement("span",{className:"menu-item-icon-container"},d().createElement(Ei,(0,s.A)({},r,{className:"menu-item-icon"},r&&"imgSrc"in r?{imgStyle:{filter:a?"brightness(7)":void 0}}:{}))),d().createElement("span",{className:"menu-item-text"},d().createElement("slot",null))))}ii=Wi,({e:[li,oi,si,ci,di,mi,ui,pi,hi,gi,vi,fi,xi,bi],c:[ki,ai]}=(0,o.A)(ii,[yi("eo-sidebar-menu-item",{styleTexts:[ri.A]})],[[wi({attribute:!1}),1,"url"],[wi(),1,"href"],[wi(),1,"target"],[wi({attribute:!1}),1,"icon"],[wi({type:Boolean}),1,"selected"],[wi({type:Boolean}),1,"inSubmenu"],[wi({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),ai();var Ki=n(8619);const Di=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),zi=e=>Di.has(e.tagName);function _i(e){const t=(0,c.useRef)(null),n=(0,c.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{zi(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,c.useEffect)((()=>{n()}),[e,n]),(0,c.useEffect)((()=>{const e=t.current,i=()=>{n()};return null==e||e.addEventListener("slotchange",i),()=>{null==e||e.removeEventListener("slotchange",i)}}),[n]),[t]}const Fi="side-bar-has-been-used",Li="side-bar-expand-state",Vi="side-bar-resize-width";let Oi=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const Gi=parseInt((0,u.getCssPropertyValue)("--side-bar-width",document.body),10)||220,Pi=parseInt((0,u.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,$i=(0,c.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),ji=(0,p.wrapBrick)("eo-sidebar-menu"),Xi=(0,p.wrapBrick)("eo-sidebar-menu-item"),Ui=(0,p.wrapBrick)("eo-sidebar-menu-group"),qi=(0,p.wrapBrick)("eo-sidebar-menu-submenu");function Hi(e){const{to:t,href:n,target:i,icon:r,text:a,id:l,inSubmenu:o}=e,{selectedKeys:s}=(0,c.useContext)($i);return d().createElement(Xi,{url:t,href:n,target:i,icon:r,inSubmenu:o,selected:s.includes(l)},a)}function Zi(e){const{title:t,items:n,id:i,top:r,inSubmenu:a}=e,{matchedKeys:l}=(0,c.useContext)($i),o=i&&l.includes(i);return(null==n?void 0:n.length)>0?d().createElement(Ui,{selected:!!o,collapsable:!r},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:a}))))):null}function Yi(e){const{title:t,icon:n,items:i,id:r}=e,{openedKeys:a,matchedKeys:l}=(0,c.useContext)($i),o=r&&l.includes(r);return(null==i?void 0:i.length)>0?d().createElement(qi,{icon:n,collapsed:!a.includes(r),selected:!!o},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function Qi(e){return"subMenu"===e.type?d().createElement(Yi,e):"group"===e.type?d().createElement(Zi,e):d().createElement(Hi,e)}function Ji(e){var t;const{menu:n,expandedState:i,selectedKeys:r,openedKeys:a,matchedKeys:l}=e;return d().createElement($i.Provider,{value:{selectedKeys:r||[],openedKeys:a||[],matchedKeys:l||[]}},d().createElement(ji,{menuCollapsed:i===Oi.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!0}))))))}var er;let tr,nr,ir,rr,ar,lr,or,sr,cr;const{defineElement:dr,property:mr}=(0,m.createDecorators)();let ur;var pr=new WeakMap,hr=new WeakMap,gr=new WeakMap,vr=new WeakMap,fr=new WeakMap;class xr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,pr,nr(this)),(0,r.A)(this,hr,(ir(this),rr(this))),(0,r.A)(this,gr,(ar(this),lr(this))),(0,r.A)(this,vr,(or(this),sr(this))),(0,r.A)(this,fr,(cr(this),e=>{this.collapsed=e}))}get collapsable(){return(0,l.A)(pr,this)}set collapsable(e){(0,a.A)(pr,this,e)}get collapsed(){return(0,l.A)(hr,this)}set collapsed(e){(0,a.A)(hr,this,e)}get selected(){return(0,l.A)(gr,this)}set selected(e){(0,a.A)(gr,this,e)}get menuCollapsed(){return(0,l.A)(vr,this)}set menuCollapsed(e){(0,a.A)(vr,this,e)}render(){return d().createElement(br,{collapsable:this.collapsable,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(fr,this)})}}function br(e){const{collapsable:t=!1,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=_i(i),l=(0,c.useRef)(null),o=(0,c.useCallback)((()=>{!i&&(null==r||r(!n))}),[i,r,n]);return(0,c.useEffect)((()=>{const e=l.current;return null==e||e.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",o)}}),[o]),d().createElement("div",{className:x()("menu-group",{"menu-group-collapsed":!!i||n})},d().createElement("div",{className:"menu-group-title",ref:l},d().createElement("span",{className:"menu-group-title-icon-container"},d().createElement("span",{className:"menu-group-title-icon"})),d().createElement("div",{className:"menu-group-title-text"},d().createElement("slot",{name:"title"})),t&&d().createElement("span",{className:"menu-group-arrow"})),d().createElement("div",{className:"menu-group-list"},d().createElement("div",{className:"menu-group-list-inner"},d().createElement("slot",{ref:a}))))}er=xr,({e:[nr,ir,rr,ar,lr,or,sr,cr],c:[ur,tr]}=(0,o.A)(er,[dr("eo-sidebar-menu-group",{styleTexts:[Ki.A]})],[[mr({type:Boolean}),1,"collapsable"],[mr({type:Boolean}),1,"collapsed"],[mr({type:Boolean}),1,"selected"],[mr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),tr();var yr,wr=n(8797);let Ar,Er,kr,Nr,Sr,Cr,Mr,Ir,Tr;const{defineElement:Br,property:Wr}=(0,m.createDecorators)(),Rr=(0,p.wrapBrick)("eo-icon");let Kr;var Dr=new WeakMap,zr=new WeakMap,_r=new WeakMap,Fr=new WeakMap,Lr=new WeakMap;class Vr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Dr,Er(this)),(0,r.A)(this,zr,(kr(this),Nr(this))),(0,r.A)(this,_r,(Sr(this),Cr(this))),(0,r.A)(this,Fr,(Mr(this),Ir(this))),(0,r.A)(this,Lr,(Tr(this),e=>{this.collapsed=e}))}get icon(){return(0,l.A)(Dr,this)}set icon(e){(0,a.A)(Dr,this,e)}get selected(){return(0,l.A)(zr,this)}set selected(e){(0,a.A)(zr,this,e)}get collapsed(){return(0,l.A)(_r,this)}set collapsed(e){(0,a.A)(_r,this,e)}get menuCollapsed(){return(0,l.A)(Fr,this)}set menuCollapsed(e){(0,a.A)(Fr,this,e)}render(){return d().createElement(Or,{icon:this.icon,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(Lr,this)})}}function Or(e){const{icon:t,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=_i(i),l=(0,c.useRef)(null),o=(0,c.useCallback)((()=>{!i&&(null==r||r(!n))}),[i,r,n]);return(0,c.useEffect)((()=>{const e=l.current;return null==e||e.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",o)}}),[o]),d().createElement("div",{className:x()("menu-submenu",{"menu-submenu-collapsed":!!i||n})},d().createElement("div",{className:"menu-submenu-title",ref:l},d().createElement("span",{className:"menu-submenu-title-icon-container"},d().createElement(Rr,(0,s.A)({},t,{className:"menu-submenu-title-icon"}))),d().createElement("span",{className:"menu-submenu-title-text"},d().createElement("slot",{name:"title"})),d().createElement("span",{className:"menu-submenu-arrow"})),d().createElement("div",{className:"menu-sub"},d().createElement("div",{className:"menu-sub-inner"},d().createElement("slot",{ref:a}))))}yr=Vr,({e:[Er,kr,Nr,Sr,Cr,Mr,Ir,Tr],c:[Kr,Ar]}=(0,o.A)(yr,[Br("eo-sidebar-menu-submenu",{styleTexts:[wr.A]})],[[Wr({attribute:!1}),1,"icon"],[Wr({type:Boolean}),1,"selected"],[Wr({type:Boolean}),1,"collapsed"],[Wr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),Ar();var Gr,Pr=n(2469);let $r,jr,Xr;const{defineElement:Ur,property:qr}=(0,m.createDecorators)();let Hr;var Zr=new WeakMap;class Yr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Zr,jr(this)),Xr(this)}get menuCollapsed(){return(0,l.A)(Zr,this)}set menuCollapsed(e){(0,a.A)(Zr,this,e)}render(){return d().createElement(Qr,{menuCollapsed:this.menuCollapsed})}}function Qr(e){const{menuCollapsed:t}=e,[n]=_i(t);return d().createElement("div",{className:"sidebar-menu"},d().createElement("div",{className:"sidebar-menu-item-list"},d().createElement("slot",{ref:n})))}Gr=Yr,({e:[jr,Xr],c:[Hr,$r]}=(0,o.A)(Gr,[Ur("eo-sidebar-menu",{styleTexts:[Pr.A]})],[[qr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),$r();var Jr=n(3694);const ea=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 0h20v20H0z"}),c.createElement("path",{fill:"#595959",fillRule:"nonzero",d:"m14.599 11.59-1.685-1.606-.348-4.876.93-1.044s.617-.93-.62-1.045L7.323 3s-.85.657-.097 1.296l.754.755-.385 4.76-1.49 1.683s-.388.774.328 1.065l2.961-.02.668 3.887H6.388V17h7.832v-.574h-3.743l.6-3.946 3.154.097s.812-.464.368-.986"}))),ta=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 0h20v20H0z"}),c.createElement("path",{fill:"#595959",fillRule:"nonzero",d:"m13.06 3.765 3.22 3.08c.42.28.42.84.14 1.26-.42.42-.98.42-1.26.14l-.14-.14-.28-.28-3.22 4.62.98.98c.28.42.28.98-.14 1.26-.28.28-.7.28-1.12 0l-5.88-6.02q-.42-.63 0-1.26c.28-.28.84-.28 1.12 0l.98.98 4.62-3.22-.14-.14c-.42-.42-.42-.84-.14-1.26.28-.28.84-.42 1.26 0m-4.76 9.1-1.12-1.12c-.98 1.12-2.52 2.8-2.8 3.22-.42.42-.7.98-.98 1.54q1.05-.21 1.68-.84c.42-.28 2.1-1.82 3.22-2.8"})));let na=function(e){return e.CLICK_TO_FIX_NAVIGATION="CLICK_TO_FIX_NAVIGATION",e.UNPIN_NAVIGATION="UNPIN_NAVIGATION",e.FIXED_NAVIGATION="FIXED_NAVIGATION",e}({});const ia="bricks/nav/eo-sidebar";var ra;let aa,la,oa,sa,ca,da,ma,ua,pa,ha,ga,va,fa,xa,ba,ya,wa;(0,Y.initializeReactI18n)(ia,{en:{UNPIN_NAVIGATION:"Unpin navigation",FIXED_NAVIGATION:"Fixed navigation",CLICK_TO_FIX_NAVIGATION:"Click to {{action}}"},zh:{UNPIN_NAVIGATION:"取消固定",FIXED_NAVIGATION:"固定导航",CLICK_TO_FIX_NAVIGATION:"点击{{action}}"}});const{defineElement:Aa,property:Ea,event:ka}=(0,m.createDecorators)(),Na=(0,p.wrapBrick)("eo-tooltip"),Sa=(0,p.wrapBrick)("eo-icon");let Ca;var Ma=new WeakMap,Ia=new WeakMap,Ta=new WeakMap,Ba=new WeakMap,Wa=new WeakMap,Ra=new WeakSet,Ka=new WeakMap,Da=new WeakMap,za=new WeakMap;class _a extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Ra),(0,r.A)(this,Ma,la(this)),(0,r.A)(this,Ia,(oa(this),sa(this))),(0,r.A)(this,Ta,(ca(this),da(this))),(0,r.A)(this,Ba,(ma(this),ua(this))),(0,r.A)(this,Wa,(pa(this),ha(this))),(0,r.A)(this,Ka,(fa(this),e=>{(0,we.A)(Ra,this,ga).emit(e)})),(0,r.A)(this,Da,xa(this)),(0,r.A)(this,za,(wa(this),e=>{this.expandedState=e,(0,we.A)(Ra,this,ba).emit(e)}))}get menu(){return(0,l.A)(Ma,this)}set menu(e){(0,a.A)(Ma,this,e)}get hiddenFixedIcon(){return(0,l.A)(Ia,this)}set hiddenFixedIcon(e){(0,a.A)(Ia,this,e)}get expandedState(){return(0,l.A)(Ta,this)}set expandedState(e){(0,a.A)(Ta,this,e)}get position(){return(0,l.A)(Ba,this)}set position(e){(0,a.A)(Ba,this,e)}render(){return d().createElement(Fa,{menu:this.menu,expandedState:this.expandedState,hiddenFixedIcon:this.hiddenFixedIcon,position:this.position,onActualWidthChange:(0,l.A)(Ka,this),onExpandedStateChange:(0,l.A)(za,this)})}}function Fa(e){const{t}=(0,Y.useTranslation)(ia),{menu:n,hiddenFixedIcon:i,position:r,onActualWidthChange:a,onExpandedStateChange:l}=e,o=d().useMemo((()=>{var e;return null===(e=(0,u.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["sidebar-show-user-defined-icon"]}),[]),m=(0,c.useMemo)((()=>new tt.G(localStorage)),[]),p=(0,u.getHistory)(),h=(0,Je.useCurrentApp)(),[g,f]=(0,c.useState)(p.location),{pathname:b,search:y}=g,[w,A]=(0,c.useState)(!m.getItem(Fi)),[E,k]=(0,c.useState)(),[N,S]=(0,c.useState)(),[C,M]=(0,c.useState)(e.expandedState||m.getItem(Li)||Oi.Collapsed),I=o?null==n?void 0:n.icon:null==h?void 0:h.menuIcon,{selectedKeys:T,openedKeys:B,matchedKeys:W}=(0,c.useMemo)((()=>{var e;return(0,v.LP)(null!==(e=null==n?void 0:n.menuItems)&&void 0!==e?e:[],b,y,"")}),[null==n?void 0:n.menuItems,b,y]);(0,c.useEffect)((()=>{const e=p.listen((e=>{f(e)}));return e}),[p]);const R=(0,c.useRef)(null);(0,c.useEffect)((()=>{if(R.current){const e=new IntersectionObserver((e=>{e.forEach((e=>{e.target===R.current&&k(!e.isIntersecting)}))}),{threshold:1});return e.observe(R.current),()=>{e.disconnect()}}}),[]),(0,c.useEffect)((()=>{M(e.expandedState||m.getItem(Li)||Oi.Collapsed)}),[e.expandedState]),(0,c.useEffect)((()=>{m.setItem(Li,C===Oi.Expanded?Oi.Expanded:Oi.Collapsed)}),[C]);const[K,D]=(0,c.useState)((()=>{let e=parseInt(m.getItem(Vi),10);return(e<Gi||Number.isNaN(e))&&(e=Gi),e}));(0,c.useEffect)((()=>{m.setItem(Vi,K)}),[K]);const z=(0,c.useRef)(null),_=()=>{M((e=>{const t=e===Oi.Expanded?Oi.Expanded:Oi.Hovered;return t!==e&&(null==l||l(t)),t}))},F=()=>{M((e=>{const t=e===Oi.Expanded?Oi.Expanded:Oi.Collapsed;return t!==e&&(null==l||l(t)),t}))},L=(0,c.useMemo)((()=>C===Oi.Expanded?K:Pi),[C,K]);(0,c.useEffect)((()=>{null==a||a(L)}),[a,L]);const V=e=>"static"===r?C===Oi.Expanded||e&&C===Oi.Hovered?K:Pi:C===Oi.Collapsed?Pi:K;return(0,c.useEffect)((()=>{const e=z.current;return null==e||e.addEventListener("mouseenter",_),null==e||e.addEventListener("mouseleave",F),()=>{null==e||e.removeEventListener("mouseenter",_),null==e||e.removeEventListener("mouseleave",F)}}),[]),d().createElement("div",{className:x()("sidebar-container",`state-${C}`,{dragging:N}),style:{width:V()},ref:z,"data-testid":"side-bar"},d().createElement("div",{className:"inner",style:{width:V(!0)}},d().createElement("div",{className:"header"},d().createElement("div",{className:"menu-title"},d().createElement("div",{className:x()("menu-title-icon-container")},I?d().createElement(Sa,(0,s.A)({},I,{className:"menu-title-icon"})):d().createElement("span",{className:"menu-title-point"})),d().createElement("div",{className:"menu-title-text",title:null==n?void 0:n.title},null==n?void 0:n.title))),d().createElement("div",{className:x()("content",{"show-shadow":E})},d().createElement(Ji,{selectedKeys:T,openedKeys:B,matchedKeys:W,menu:n,expandedState:C}),d().createElement("div",{ref:R})),d().createElement("div",{className:"footer"},!i&&d().createElement(Na,{content:C===Oi.Expanded?w?t(na.CLICK_TO_FIX_NAVIGATION,{action:t(na.UNPIN_NAVIGATION)}):t(na.UNPIN_NAVIGATION):w?t(na.CLICK_TO_FIX_NAVIGATION,{action:t(na.FIXED_NAVIGATION)}):t(na.FIXED_NAVIGATION)},d().createElement("i",{className:"fixed-icon",onClick:()=>{A(!1),m.setItem(Fi,!0),M((e=>{const t=e===Oi.Expanded?Oi.Collapsed:Oi.Expanded;return t!==e&&(null==l||l(t)),t}))}},d().createElement(ea,{style:{display:C===Oi.Expanded?void 0:"none"}}),d().createElement(ta,{style:{display:C===Oi.Expanded?"none":void 0}})))),C===Oi.Expanded&&d().createElement("span",{className:"resize-line",onMouseDown:e=>{var t,n;S(!0),e.cancelable&&e.preventDefault();const i=null!==(t=null===(n=z.current)||void 0===n?void 0:n.getBoundingClientRect().left)&&void 0!==t?t:0,r=function(e){let t;const n=()=>cancelAnimationFrame(t),r=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];t&&n(),t=requestAnimationFrame((()=>{(e=>{const t=e.clientX-i;D(t>=Gi?t:Gi)})(...r)}))};return r.cancel=n,r}(),a=e=>{S(!1),e.preventDefault(),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)};window.addEventListener("mousemove",r,{passive:!0}),window.addEventListener("mouseup",a)}})))}ra=_a,({e:[la,oa,sa,ca,da,ma,ua,pa,ha,ga,va,fa,xa,ba,ya,wa],c:[Ca,aa]}=(0,o.A)(ra,[Aa("eo-sidebar",{styleTexts:[Jr.A]})],[[Ea({attribute:!1}),1,"menu"],[Ea({type:Boolean}),1,"hiddenFixedIcon"],[Ea(),1,"expandedState"],[Ea(),1,"position"],[ka({type:"actual.width.change"}),1,"actualWidthChangeEvent",e=>(0,l.A)(Wa,e),(e,t)=>(0,a.A)(Wa,e,t)],[ka({type:"expanded.state.change"}),1,"expandedStateChangeEvent",e=>(0,l.A)(Da,e),(e,t)=>(0,a.A)(Da,e,t)]],0,(e=>za.has((0,ye.A)(e))),p.ReactNextElement)),aa();var La,Va=n(1409);let Oa,Ga,Pa;const $a=(0,p.wrapBrick)("eo-icon"),ja=(0,p.wrapBrick)("eo-menu"),Xa=(0,p.wrapBrick)("eo-menu-group"),Ua=(0,p.wrapBrick)("eo-menu-item-sub-menu"),qa=(0,p.wrapBrick)("eo-menu-item"),Ha=(0,p.wrapBrick)("eo-link"),{defineElement:Za,property:Ya}=(0,m.createDecorators)();let Qa;var Ja=new WeakMap;class el extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ja,Ga(this)),Pa(this)}get menu(){return(0,l.A)(Ja,this)}set menu(e){(0,a.A)(Ja,this,e)}render(){return d().createElement(tl,{menu:this.menu})}}function tl(e){const{menu:t}=e,n=(0,u.getHistory)(),[i,r]=(0,c.useState)(n.location),{pathname:a,search:l}=i,[o,s]=(0,c.useState)([]),[m,p]=(0,c.useState)([]),h=(0,c.useCallback)((()=>{var e;const{selectedKeys:n,openedKeys:i}=(0,v.LP)(null!==(e=null==t?void 0:t.menuItems)&&void 0!==e?e:[],a,l,"");s(n),p(i)}),[null==t?void 0:t.menuItems,a,l]);(0,c.useEffect)((()=>{const e=n.listen((e=>{r(e)}));return h(),e}),[n,h]);const g=(0,c.useCallback)((e=>{var t;return 16*((null===(t=e.key)||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t.length)-1)}),[]);function f(e,t){return(0,v.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(Ua,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:g(e)},bodyStyle:{paddingLeft:g(e)/2},collapsed:!m.includes(e.key)},d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},f(e,{inSubmenu:!0})))))})(e):(0,v.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(Xa,null,d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},f(e)))))})(e):((e,t)=>d().createElement(qa,{className:x()("menu-item",{"in-submenu":null==t?void 0:t.inSubmenu}),style:{paddingLeft:g(e)||16},icon:e.icon,active:!!e.key&&o.includes(e.key)},d().createElement(Ha,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},d().createElement("span",{className:x()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return d().createElement(ja,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&d().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&d().createElement($a,null==t?void 0:t.icon),d().createElement("span",{className:"title"},null==t?void 0:t.title)),d().createElement("div",{className:"content"},null==t?void 0:t.menuItems.map((e=>d().createElement(d().Fragment,{key:e.key},f(e))))))}La=el,({e:[Ga,Pa],c:[Qa,Oa]}=(0,o.A)(La,[Za("eo-sidebar-sub-menu",{styleTexts:[Va.A]})],[[Ya({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),Oa();var nl,il=n(2763);let rl,al,ll,ol,sl,cl,dl,ml,ul,pl,hl,gl,vl,fl,xl,bl,yl,wl,Al,El,kl;const{defineElement:Nl,property:Sl,event:Cl}=(0,m.createDecorators)(),Ml=(0,p.wrapBrick)("eo-icon"),Il=(0,p.wrapBrick)("eo-tooltip");let Tl;var Bl=new WeakMap,Wl=new WeakMap,Rl=new WeakMap,Kl=new WeakMap,Dl=new WeakMap,zl=new WeakMap,_l=new WeakMap,Fl=new WeakSet,Ll=new WeakMap,Vl=new WeakMap,Ol=new WeakMap;class Gl extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Fl),(0,r.A)(this,Bl,al(this,"fixed")),(0,r.A)(this,Wl,(ll(this),ol(this))),(0,r.A)(this,Rl,(sl(this),cl(this,[]))),(0,r.A)(this,Kl,(dl(this),ml(this,!1))),(0,r.A)(this,Dl,(ul(this),pl(this))),(0,r.A)(this,zl,(hl(this),gl(this))),(0,r.A)(this,_l,(vl(this),fl(this))),(0,r.A)(this,Ll,(yl(this),wl(this))),(0,r.A)(this,Vl,(kl(this),e=>{(0,we.A)(Fl,this,xl).emit(e)})),(0,r.A)(this,Ol,(e=>{(0,we.A)(Fl,this,Al).emit({key:e})}))}get position(){return(0,l.A)(Bl,this)}set position(e){(0,a.A)(Bl,this,e)}get directoryTitle(){return(0,l.A)(Wl,this)}set directoryTitle(e){(0,a.A)(Wl,this,e)}get menuItems(){return(0,l.A)(Rl,this)}set menuItems(e){(0,a.A)(Rl,this,e)}get hideRightBorder(){return(0,l.A)(Kl,this)}set hideRightBorder(e){(0,a.A)(Kl,this,e)}get suffixBrick(){return(0,l.A)(Dl,this)}set suffixBrick(e){(0,a.A)(Dl,this,e)}get defaultSelectedKeys(){return(0,l.A)(zl,this)}set defaultSelectedKeys(e){(0,a.A)(zl,this,e)}render(){return d().createElement(Pl,{menuItems:this.menuItems,directoryTitle:this.directoryTitle,hideRightBorder:this.hideRightBorder,suffixIconClick:(0,l.A)(Ol,this),menuItemClick:(0,l.A)(Vl,this),defaultSelectedKeys:this.defaultSelectedKeys,suffixBrick:this.suffixBrick})}}function Pl(e){const{menuItems:t,directoryTitle:n,hideRightBorder:i,menuItemClick:r,suffixIconClick:a,defaultSelectedKeys:l,suffixBrick:o}=e;return d().createElement("div",{className:x()("directory-container",{"directory-container-not-border":i})},n&&d().createElement("div",{className:"directory-title",title:n},n),d().createElement("div",{className:"directory-menu-list"},t.map(((e,t)=>{var n;return d().createElement("div",{className:x()("menu-item",`menu-item-${e.type}`),key:`${e.key}-${t}`},d().createElement("div",{className:x()(`menu-item-title-${e.type}`),onClick:()=>"item"===e.type&&(null==r?void 0:r({data:e}))},d().createElement("span",{className:x()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(e.key)})},e.title),null!=o&&o.useBrick?d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:{data:e}}):null,e.suffixIcon&&d().createElement(Il,{content:e.suffixIconTooltip,placement:"top"},d().createElement(Ml,(0,s.A)({},e.suffixIcon,{className:x()("menu-item-title-suffix-icon",{"menu-item-title-suffix-icon-disabled":e.suffixIconDisabled}),onClick:t=>{t.stopPropagation(),e.suffixIconDisabled?t.preventDefault():null==a||a(e.key)}})))),"group"===e.type&&!(null===(n=e.children)||void 0===n||!n.length)&&e.children.map(((t,n)=>d().createElement("div",{className:"menu-item-title-item",onClick:()=>null==r?void 0:r({data:t,groupKey:e.key}),key:`${t.key}-${n}`},d().createElement("span",{className:x()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(t.key)})},t.title)))))}))))}nl=Gl,({e:[al,ll,ol,sl,cl,dl,ml,ul,pl,hl,gl,vl,fl,xl,bl,yl,wl,Al,El,kl],c:[Tl,rl]}=(0,o.A)(nl,[Nl("eo-directory",{styleTexts:[il.A]})],[[Sl(),1,"position"],[Sl(),1,"directoryTitle"],[Sl({attribute:!1}),1,"menuItems"],[Sl({type:Boolean}),1,"hideRightBorder"],[Sl({attribute:!1}),1,"suffixBrick"],[Sl({attribute:!1}),1,"defaultSelectedKeys"],[Cl({type:"menu.item.click"}),1,"menuItemClickEvent",e=>(0,l.A)(_l,e),(e,t)=>(0,a.A)(_l,e,t)],[Cl({type:"suffix.icon.click"}),1,"suffixIconClickEvent",e=>(0,l.A)(Ll,e),(e,t)=>(0,a.A)(Ll,e,t)]],0,(e=>Ol.has((0,ye.A)(e))),p.ReactNextElement)),rl();var $l=n(6384);const jl=d().createContext({expandedKeysSet:new Set,selectedKeysSet:new Set,onExpand:()=>{},onSelect:()=>{}}),Xl=()=>d().useContext(jl),Ul=(0,p.wrapBrick)("eo-directory-tree-leaf",{onSelect:"select"}),ql=(0,p.wrapBrick)("eo-directory-tree-internal-node",{onExpand:"expand",onSelect:"select"});function Hl(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{selectedKeysSet:a,onSelect:l,suffixBrick:o}=Xl(),s=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(Ul,{depth:r,selected:a.has(n.key),onSelect:()=>{const e=[n.key];l({keys:e,node:s})}},d().createElement("span",{title:n.title},n.title),(null==o?void 0:o.useBrick)&&d().createElement("div",{slot:"suffix"},d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:s})))}function Zl(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{expandedKeysSet:a,onExpand:l,suffixBrick:o}=Xl(),s=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(ql,{depth:r,expanded:a.has(n.key),onExpand:e=>{e.detail?a.add(n.key):a.delete(n.key);const t=[...a];l({keys:t,node:s})}},d().createElement("span",{slot:"label",title:n.title},n.title),(null==o?void 0:o.useBrick)&&d().createElement("div",{slot:"suffix"},d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:s})))}function Yl(e){const{treeData:t}=e;return Array.isArray(t.children)?d().createElement(Zl,{treeData:t}):d().createElement(Hl,{treeData:t})}function Ql(e){const{treeData:t}=e;return t.map((e=>d().createElement(Yl,{key:e.key,treeData:e})))}function Jl(e){return e.reduce(((e,t)=>{if(!Array.isArray(t.children))return e;{const n=[t.key].concat(Jl(t.children));return e.concat(n)}}),[])}function eo(e,t){return e.reduce(((e,n)=>{if(!Array.isArray(n.children))return e;{var i;const r=null===(i=n.children)||void 0===i?void 0:i.some((e=>t.has(e.key))),a=eo(n.children,t),l=a.concat(r||a.length?[n.key]:[]);return e.concat(l)}}),[])}function to(e,t,n){if(!t)return{data:e,expandedKeys:[]};const i=t.toLowerCase(),r=[],a=e.map((e=>{const t=function(e,t,n){if(n.flatMap((t=>no((0,Ae.get)(e,t)))).some((e=>e.toLowerCase().includes(t))))return e}(e,i,n);if(Array.isArray(e.children)){const t=to(e.children,i,n),a=t.data;if(null!=a&&a.length)return r.push(e.key,...t.expandedKeys),{...e,children:a}}if(t)return e})).filter(Boolean);return{data:a,expandedKeys:r}}function no(e){const t=[];if((0,Ae.isNil)(e));else if(Array.isArray(e))e.map((e=>t.push(no(e))));else if("[object Object]"===Object.prototype.toString.call(e))for(const n in e)t.push(String(n),no(e[n]));else t.push(String(e));return t.flat(1/0).filter(Boolean)}var io;let ro,ao,lo,oo,so,co,mo,uo,po,ho,go,vo,fo,xo,bo,yo,wo,Ao,Eo,ko,No,So,Co,Mo,Io,To;const{defineElement:Bo,property:Wo,method:Ro,event:Ko}=(0,m.createDecorators)(),Do=(0,p.wrapBrick)("eo-search",{onChange:"change",onSearch:"search"});let zo;var _o=new WeakMap,Fo=new WeakMap,Lo=new WeakMap,Vo=new WeakMap,Oo=new WeakMap,Go=new WeakMap,Po=new WeakMap,$o=new WeakMap,jo=new WeakMap,Xo=new WeakSet,Uo=new WeakMap,qo=new WeakMap,Ho=new WeakMap;class Zo extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Xo),(0,r.A)(this,_o,(ro(this),lo(this,[]))),(0,r.A)(this,Fo,(oo(this),so(this))),(0,r.A)(this,Lo,(co(this),mo(this))),(0,r.A)(this,Vo,(uo(this),po(this))),(0,r.A)(this,Oo,(ho(this),go(this))),(0,r.A)(this,Go,(vo(this),fo(this))),(0,r.A)(this,Po,(xo(this),bo(this))),(0,r.A)(this,$o,(yo(this),wo(this))),(0,r.A)(this,jo,(Ao(this),Eo(this))),(0,r.A)(this,Uo,(So(this),e=>{this.expandedKeys=e.keys,(0,we.A)(Xo,this,ko).emit(e)})),(0,r.A)(this,qo,Co(this)),(0,r.A)(this,Ho,(To(this),e=>{this.selectedKeys=e.keys,(0,we.A)(Xo,this,Mo).emit(e)}))}get data(){return(0,l.A)(_o,this)}set data(e){(0,a.A)(_o,this,e)}get directoryTitle(){return(0,l.A)(Fo,this)}set directoryTitle(e){(0,a.A)(Fo,this,e)}get searchable(){return(0,l.A)(Lo,this)}set searchable(e){(0,a.A)(Lo,this,e)}get placeholder(){return(0,l.A)(Vo,this)}set placeholder(e){(0,a.A)(Vo,this,e)}get searchFields(){return(0,l.A)(Oo,this)}set searchFields(e){(0,a.A)(Oo,this,e)}get suffixBrick(){return(0,l.A)(Go,this)}set suffixBrick(e){(0,a.A)(Go,this,e)}get selectedKeys(){return(0,l.A)(Po,this)}set selectedKeys(e){(0,a.A)(Po,this,e)}get expandedKeys(){return(0,l.A)($o,this)}set expandedKeys(e){(0,a.A)($o,this,e)}expandAll(){this.expandedKeys=Jl(this.data)}collapseAll(){this.expandedKeys=[]}expandAccordingToSelectedKeys(){this.expandedKeys=eo(this.data,new Set(this.selectedKeys))}render(){return d().createElement(Yo,{element:this,data:this.data,directoryTitle:this.directoryTitle,placeholder:this.placeholder,searchable:this.searchable,searchFields:this.searchFields,suffixBrick:this.suffixBrick,selectedKeys:this.selectedKeys,expandedKeys:this.expandedKeys,onExpand:(0,l.A)(Uo,this),onSelect:(0,l.A)(Ho,this)})}}function Yo(e){const{element:t,data:n,directoryTitle:i,searchable:r,searchFields:a,placeholder:l,suffixBrick:o,onSelect:s,onExpand:m}=e,u=(0,c.useMemo)((()=>new Set(e.expandedKeys)),[e.expandedKeys]),p=(0,c.useMemo)((()=>new Set(e.selectedKeys)),[e.selectedKeys]),[h,g]=(0,c.useState)(""),v=(0,c.useMemo)((()=>{const e=to(n,h,(a||[]).concat("title"));return h&&(t.expandedKeys=e.expandedKeys),e.data}),[n,h,a]),f=(0,c.useMemo)((()=>function(e,t){const n=[];return function e(i,r){return i.map(((i,a)=>{const l=r?`${r.pos}-${a}`:String(a),o={title:i.title,key:i.key,pos:l,depth:l.split("-").length-1,index:a,data:i,parent:r};return n.push(o),Array.isArray(i.children)?o.children=t.has(i.key)?e(i.children,o):[]:o.children=void 0,o}))}(e),n}(v,u)),[v,u]);return d().createElement(jl.Provider,{value:{expandedKeysSet:u,selectedKeysSet:p,onSelect:s,onExpand:m,suffixBrick:o}},d().createElement("div",{className:"directory-container"},i&&d().createElement("div",{className:"directory-title-container"},d().createElement("div",{className:"directory-title",title:i},i),d().createElement("div",{className:"directory-title-toolbar"},d().createElement("slot",{name:"toolbar"}))),r&&d().createElement(Do,{className:"directory-search",trim:!0,placeholder:l,onSearch:e=>{g(e.detail)}}),d().createElement("div",{className:"tree"},d().createElement(Ql,{treeData:f}))))}io=Zo,({e:[lo,oo,so,co,mo,uo,po,ho,go,vo,fo,xo,bo,yo,wo,Ao,Eo,ko,No,So,Co,Mo,Io,To,ro],c:[zo,ao]}=(0,o.A)(io,[Bo("eo-directory-tree",{styleTexts:[$l.A]})],[[Wo({attribute:!1}),1,"data"],[Wo(),1,"directoryTitle"],[Wo({type:Boolean}),1,"searchable"],[Wo(),1,"placeholder"],[Wo({attribute:!1}),1,"searchFields"],[Wo({attribute:!1}),1,"suffixBrick"],[Wo({attribute:!1}),1,"selectedKeys"],[Wo({attribute:!1}),1,"expandedKeys"],[Ro(),2,"expandAll"],[Ro(),2,"collapseAll"],[Ro(),2,"expandAccordingToSelectedKeys"],[Ko({type:"expand"}),1,"expandEvent",e=>(0,l.A)(jo,e),(e,t)=>(0,a.A)(jo,e,t)],[Ko({type:"select"}),1,"selectEvent",e=>(0,l.A)(qo,e),(e,t)=>(0,a.A)(qo,e,t)]],0,(e=>Ho.has((0,ye.A)(e))),p.ReactNextElement)),ao();var Qo,Jo=n(8114);let es,ts,ns,is,rs,as,ls,os,ss;const{defineElement:cs,property:ds,event:ms}=(0,m.createDecorators)();let us;var ps=new WeakMap,hs=new WeakMap,gs=new WeakMap,vs=new WeakSet,fs=new WeakMap;class xs extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,vs),(0,r.A)(this,ps,ts(this,0)),(0,r.A)(this,hs,(ns(this),is(this))),(0,r.A)(this,gs,(rs(this),as(this))),(0,r.A)(this,fs,(ss(this),()=>{(0,we.A)(vs,this,ls).emit()}))}get depth(){return(0,l.A)(ps,this)}set depth(e){(0,a.A)(ps,this,e)}get selected(){return(0,l.A)(hs,this)}set selected(e){(0,a.A)(hs,this,e)}render(){return d().createElement(bs,{depth:this.depth,onSelect:(0,l.A)(fs,this)})}}function bs(e){const{depth:t,onSelect:n}=e,i=(0,c.useRef)(null),r=(0,c.useRef)(null);return(0,c.useEffect)((()=>{const e=i.current,t=()=>{n()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[n]),(0,c.useEffect)((()=>{const e=r.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),d().createElement("div",{className:"tree-item",ref:i},d().createElement("div",{className:"tree-item-indentation",style:{width:10*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button"}),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",null))),d().createElement("div",{className:"tree-item-suffix",ref:r},d().createElement("slot",{name:"suffix"})))}Qo=xs,({e:[ts,ns,is,rs,as,ls,os,ss],c:[us,es]}=(0,o.A)(Qo,[cs("eo-directory-tree-leaf",{styleTexts:[Jo.A]})],[[ds({type:Number}),1,"depth"],[ds({type:Boolean}),1,"selected"],[ms({type:"select"}),1,"selectEvent",e=>(0,l.A)(gs,e),(e,t)=>(0,a.A)(gs,e,t)]],0,(e=>fs.has((0,ye.A)(e))),p.ReactNextElement)),es();var ys=n(9010);const ws=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14"},e),c.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.743 9.42-4.49-5.206a.34.34 0 0 0-.506 0L2.257 9.42c-.167.194-.016.478.253.478h8.98c.27 0 .42-.284.253-.478"}));var As;let Es,ks,Ns,Ss,Cs,Ms,Is,Ts,Bs,Ws,Rs,Ks,Ds,zs,_s,Fs,Ls;const{defineElement:Vs,property:Os,event:Gs}=(0,m.createDecorators)();let Ps;var $s=new WeakMap,js=new WeakMap,Xs=new WeakMap,Us=new WeakMap,qs=new WeakMap,Hs=new WeakSet,Zs=new WeakMap,Ys=new WeakMap,Qs=new WeakMap;class Js extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Hs),(0,r.A)(this,$s,ks(this,0)),(0,r.A)(this,js,(Ns(this),Ss(this))),(0,r.A)(this,Xs,(Cs(this),Ms(this))),(0,r.A)(this,Us,(Is(this),Ts(this))),(0,r.A)(this,qs,(Bs(this),Ws(this))),(0,r.A)(this,Zs,(Ds(this),()=>{(0,we.A)(Hs,this,Rs).emit(!this.expanded)})),(0,r.A)(this,Ys,zs(this)),(0,r.A)(this,Qs,(Ls(this),()=>{(0,we.A)(Hs,this,_s).emit()}))}get depth(){return(0,l.A)($s,this)}set depth(e){(0,a.A)($s,this,e)}get expanded(){return(0,l.A)(js,this)}set expanded(e){(0,a.A)(js,this,e)}get selectable(){return(0,l.A)(Xs,this)}set selectable(e){(0,a.A)(Xs,this,e)}get selected(){return(0,l.A)(Us,this)}set selected(e){(0,a.A)(Us,this,e)}render(){return d().createElement(ec,{depth:this.depth,selectable:this.selectable,expanded:this.expanded,onExpand:(0,l.A)(Zs,this),onSelect:(0,l.A)(Qs,this)})}}function ec(e){const{depth:t,selectable:n,onExpand:i,onSelect:r}=e,a=(0,c.useRef)(null),l=(0,c.useRef)(null),o=(0,c.useRef)(null);return(0,c.useEffect)((()=>{if(n){const e=a.current,t=l.current,n=()=>{r()},o=e=>{e.stopPropagation(),i()};return null==e||e.addEventListener("click",n),null==t||t.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",n),null==t||t.removeEventListener("click",o)}}{const e=a.current,t=()=>{i()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}}),[n,r,i]),(0,c.useEffect)((()=>{const e=o.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),d().createElement(d().Fragment,null,d().createElement("div",{className:"tree-item",ref:a},d().createElement("div",{className:"tree-item-indentation",style:{width:10*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button",ref:l},d().createElement(ws,{className:"tree-item-expand-arrow"})),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",{name:"label"}))),d().createElement("div",{className:"tree-item-suffix",ref:o},d().createElement("slot",{name:"suffix"}))),d().createElement("div",{className:"tree-item-children"},d().createElement("div",{className:"tree-item-inner"},d().createElement("slot",null))))}As=Js,({e:[ks,Ns,Ss,Cs,Ms,Is,Ts,Bs,Ws,Rs,Ks,Ds,zs,_s,Fs,Ls],c:[Ps,Es]}=(0,o.A)(As,[Vs("eo-directory-tree-internal-node",{styleTexts:[ys.A]})],[[Os({type:Number}),1,"depth"],[Os({type:Boolean}),1,"expanded"],[Os({type:Boolean}),1,"selectable"],[Os({type:Boolean}),1,"selected"],[Gs({type:"expand"}),1,"expandEvent",e=>(0,l.A)(qs,e),(e,t)=>(0,a.A)(qs,e,t)],[Gs({type:"select"}),1,"selectEvent",e=>(0,l.A)(Ys,e),(e,t)=>(0,a.A)(Ys,e,t)]],0,(e=>Qs.has((0,ye.A)(e))),p.ReactNextElement)),Es();var tc,nc=n(5367);let ic;const{defineElement:rc}=(0,m.createDecorators)(),ac=(0,p.wrapBrick)("eo-icon"),lc=(0,p.wrapBrick)("eo-link");let oc;class sc extends p.ReactNextElement{render(){return d().createElement(cc,null)}}function cc(){const e=(0,u.getRuntime)().getBrandSettings(),t=(0,c.useMemo)((()=>e.menu_bar_logo_url?d().createElement("img",{src:e.menu_bar_logo_url,className:"personalized-logo"}):d().createElement(ac,{category:"blueprint",icon:"easyops",lib:"easyops",className:"easyops-icon"})),[e.menu_bar_logo_url]);return d().createElement("div",{className:"logo-container"},"true"===e.menu_bar_logo_no_link?t:d().createElement(lc,{type:"plain",url:"/",className:"logo-link"},t))}tc=sc,[oc,ic]=(0,o.A)(tc,[rc("nav.nav-logo",{styleTexts:[nc.A]})],[],0,void 0,p.ReactNextElement).c,ic();var dc=n(6181),mc=n(9896),uc=n(8627),pc=n(7439);let hc=function(e){return e.VIEW_DETAILS="VIEW_DETAILS",e.DISMISS="DISMISS",e}({});const gc="bricks/nav/poll-announce";var vc=n(6651),fc=n(1784),xc={};xc.styleTagTransform=$t(),xc.setAttributes=Vt(),xc.insert=Ft().bind(null,"head"),xc.domAPI=zt(),xc.insertStyleElement=Gt(),Kt()(fc.A,xc);const bc=fc.A&&fc.A.locals?fc.A.locals:void 0;var yc;let wc,Ac,Ec,kc,Nc,Sc,Cc,Mc,Ic,Tc,Bc,Wc,Rc;(0,Y.initializeReactI18n)(gc,{en:{VIEW_DETAILS:"View details",DISMISS:"Dismiss"},zh:{VIEW_DETAILS:"查看详情",DISMISS:"忽略"}});const{defineElement:Kc,property:Dc,event:zc}=(0,m.createDecorators)(),_c=(0,ae.unwrapProvider)("basic.show-notification"),Fc=new Set;let Lc;var Vc=new WeakMap,Oc=new WeakMap,Gc=new WeakMap,Pc=new WeakSet,$c=new WeakMap,jc=new WeakMap,Xc=new WeakMap;class Uc extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Pc),(0,r.A)(this,Vc,Ac(this)),(0,r.A)(this,Oc,(Ec(this),kc(this))),(0,r.A)(this,Gc,(Nc(this),Sc(this))),(0,r.A)(this,$c,(Ic(this),()=>{(0,we.A)(Pc,this,Cc).emit()})),(0,r.A)(this,jc,Tc(this)),(0,r.A)(this,Xc,(Rc(this),()=>{(0,we.A)(Pc,this,Bc).emit()}))}get pollEnabled(){return(0,l.A)(Vc,this)}set pollEnabled(e){(0,a.A)(Vc,this,e)}get realTimeMessage(){return(0,l.A)(Oc,this)}set realTimeMessage(e){(0,a.A)(Oc,this,e)}render(){return d().createElement(Hc,{pollEnabled:this.pollEnabled,realTimeMessage:this.realTimeMessage,onOpen:(0,l.A)(Xc,this),onClose:(0,l.A)($c,this)})}}async function qc(e,t){let{title:n,data:i,instanceId:r}=e;const a=i.replace(/<[^>]+>|&nbsp;/gim,"\r\n").replace(/&ldquo;/gim,"“").replace(/&rdquo;/gim,"”"),l=a.length>100?a.slice(0,100):a;try{await _c({placement:"topRight",icon:{lib:"antd",theme:"filled",icon:"sound",style:{color:"var(--theme-orange-color)"}},title:n,htmlMessage:`<div class="${bc.message}">${l}</div>`,closable:!0,showConfirm:!0,confirmText:dc.i18n.t(`${gc}:${hc.VIEW_DETAILS}`),confirmLink:{url:`/announcement-management/announcement-front/content?instanceId=${r}`,target:"_blank"},showCancel:!0,cancelText:dc.i18n.t(`${gc}:${hc.DISMISS}`)})}catch{}finally{if(!Fc.has(r)){Fc.add(r);try{await(0,mc.w)({instanceIds:[r]}),t()}catch(e){console.error("ignore announce failed:",e)}}}}function Hc(e){let{pollEnabled:t,realTimeMessage:n,onOpen:i,onClose:r}=e;return(0,c.useEffect)((()=>{(async()=>{const e=(await(0,uc.F)({})).list;e.length&&e.filter((e=>e.isPopup)).reverse().forEach((e=>{qc(e,r)}))})()}),[]),(0,c.useEffect)((()=>{!t&&n&&qc(n,r)}),[r,t,n]),(0,c.useEffect)((()=>{if(!t)return;let e=!1;const n=async()=>{if(!e)try{qc(await(0,pc.$)({interceptorParams:{ignoreLoadingBar:!0}}),r),i(),n()}catch(e){var t;const i=(0,u.httpErrorToString)(e);null!=i&&null!==(t=i.toLowerCase())&&void 0!==t&&t.includes("timeout")&&n()}};return n(),()=>{e=!0}}),[r,i,t]),null}yc=Uc,({e:[Ac,Ec,kc,Nc,Sc,Cc,Mc,Ic,Tc,Bc,Wc,Rc],c:[Lc,wc]}=(0,o.A)(yc,[Kc("nav.poll-announce",{styleTexts:[vc.A]})],[[Dc({type:Boolean}),1,"pollEnabled"],[Dc({attribute:!1}),1,"realTimeMessage"],[zc({type:"notification.close"}),1,"closeEvent",e=>(0,l.A)(Gc,e),(e,t)=>(0,a.A)(Gc,e,t)],[zc({type:"notification.open"}),1,"openEvent",e=>(0,l.A)(jc,e),(e,t)=>(0,a.A)(jc,e,t)]],0,(e=>Xc.has((0,ye.A)(e))),p.ReactNextElement)),wc()},7839:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':root{--eo-search-launchpad-menu-icon-color:#8c8c8c}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--eo-search-launchpad-menu-icon-color:rgba(255,255,255,0.45)}',""]);const o=l},6405:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.app-bar-container{height:var(--app-bar-height)}.app-bar{position:relative;z-index:999;box-shadow:var(--top-nav-shadow)}.app-bar.fixed,\n.app-bar.absolute{right:0;left:0;top:0}.app-bar.fixed{position:fixed}.app-bar.absolute{position:absolute}.app-bar-content{display:flex;justify-content:space-between;align-items:center;height:var(--app-bar-height);background-color:var(--top-navigation-bg);padding:0 16px;transition:var(--launchpad-backdrop-transition)}.left{display:flex;flex:1}.right{display:flex;justify-content:end}",""]);const o=l.toString()},9010:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{margin:0 4px;padding:4px;position:relative;width:10px;height:10px;flex-shrink:0;border-radius:3px}:is(:is(.tree-item .tree-item-content) .tree-item-expand-button) .tree-item-expand-arrow{color:var(--color-header-text);width:10px;height:10px;position:absolute;left:50%;top:50%;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}.tree-item-children{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.tree-item-children .tree-item-inner{overflow:hidden}:is(.tree-item-children .tree-item-inner) slot::slotted(*){margin-top:8px}:host(:not([expanded])) .tree-item-children{grid-template-rows:0fr;opacity:0}:host([expanded]) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(180deg)}:host(:not([expanded])) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(90deg)}:host([selectable]) .tree-item-expand-button:hover{background-color:var(--color-fill-bg-base-1)}:host([selectable][selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selectable][selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const o=l.toString()},8114:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{padding:4px;margin:0 4px;width:10px;flex-shrink:0}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}:host([selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const o=l.toString()},6384:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.directory-container{background-color:var(--color-fill-global-bg-3)}.directory-container .directory-title-container{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}:is(.directory-container .directory-title-container) .directory-title{font-size:16px;color:var(--text-color-title);line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.directory-container .directory-search{display:block;margin-bottom:12px}.directory-container .tree > *:not(:last-child){margin-bottom:8px}",""]);const o=l.toString()},2763:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.directory-container{padding:20px 8px 24px 24px;background:var(--color-fill-global-bg-2);border-right:1px solid var(--color-text-divider-line);height:calc(100vh - var(--app-bar-height) - 44px);overflow-y:auto;scrollbar-width:none}.directory-container-not-border{border-right:none}.directory-title{font-size:var(--sub-menu-title-font-size);margin-bottom:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.directory-menu-list > .menu-item-group{padding-top:14px}.directory-menu-list > .menu-item-group:first-child{padding-top:0}.directory-menu-list .menu-item-title-group,\n.directory-menu-list .menu-item-title-item{display:flex;align-items:center;justify-content:space-between}.directory-menu-list .menu-item-title-group{color:#8c8c8c;font-size:12px;margin-bottom:2px}.directory-menu-list .menu-item-title-item{font-size:14px;cursor:pointer;line-height:24px;padding:3px 0}.directory-menu-list .menu-item-title-suffix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;font-size:14px;border-radius:var(--small-border-radius);cursor:pointer}.directory-menu-list\n .menu-item-title-suffix-icon:not(\n .menu-item-title-suffix-icon-disabled\n ):hover{background:var(--color-info-icon-bg);color:var(--color-brand-hover)}.directory-menu-list .menu-item-title-item > .menu-title-text:hover{color:var(--color-brand-hover)}.directory-menu-list .menu-item-title-item > .menu-title-text-active{color:var(--color-brand)}.directory-menu-list .menu-item-title-suffix-icon-disabled{color:var(--color-disabled-text);cursor:not-allowed}.directory-menu-list .menu-title-text{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]);const o=l.toString()},7061:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.alert{height:32px;padding:0 20px;display:flex;justify-content:center;align-items:center}.text{color:var(--antd-text-color);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon{margin-left:20px;cursor:pointer;color:#8c8c8c}.info{background-color:var(--palette-blue-1)}.warning{background-color:var(--palette-amber-1)}",""]);const o=l.toString()},2689:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:flex;height:22px;align-items:center}:host([hidden]){display:none}.breadcrumb-item-prefix-icon{font-size:14px}",""]);const o=l.toString()},4081:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;--local-menu-icon-color:#8c8c8c}:host([hidden]){display:none;--local-menu-icon-color:rgba(255,255,255,0.45)}ul{list-style:none;margin:0;padding:0}.menu-groups{display:grid;gap:32px 16px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.menu,\n.sub-menu{display:flex;flex-direction:column;gap:14px}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{display:block}.menu-folder-label-wrapper > eo-link::part(link),\n.menu-item > eo-link::part(link){height:20px;display:flex;align-items:center;gap:8px;color:var(--color-header-text)}.menu-group-label-wrapper,\n.menu-folder-label-wrapper,\n.menu-item:not(.folder){display:flex;gap:8px;align-items:center}.menu-group-label-wrapper{gap:3px}.menu-group:not(.empty) .menu-group-label-wrapper{margin-bottom:14px}.menu-group-label,\n.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-group-label{font-size:var(--card-title-font-size);font-weight:500;color:var(--color-header-text)}.menu-icon{color:var(--local-menu-icon-color)}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{max-width:100%;width:-moz-fit-content;width:fit-content;min-width:0}.sub-menu:not(.expanded){display:none}.sub-menu{margin-left:8px;border-left:1px solid var(--color-text-divider-line);padding-left:15px}.menu-item:not(.empty) .sub-menu{margin-top:14px}.menu-item-toggle{color:var(--color-secondary-text)}.menu-config{visibility:hidden;color:var(--color-brand);cursor:pointer;display:flex;justify-content:center;align-items:center;height:24px;width:0}.menu-config.active,\n.menu-group-label-wrapper:hover .menu-config,\n.menu-item:not(.folder):hover .menu-config,\n.menu-folder-label-wrapper:hover .menu-config{visibility:visible;width:24px}.menu-config:hover,\n.menu-item > eo-link:hover::part(link),\n.menu-item > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover::part(link),\n.menu-folder-label-wrapper > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover .menu-item-toggle{color:var(--color-brand-hover)}@supports not (inset: 0){.sub-menu,\n .menu,\n .menu-group-label-wrapper,\n .menu-folder-label-wrapper,\n .menu-item:not(.folder),\n .menu-item > eo-link::part(link){gap:0}.menu > :not(:first-child),\n .sub-menu > :not(:first-child){margin-top:14px}.menu-icon{margin-right:8px}eo-dropdown-actions,\n .menu-item-toggle{margin-left:8px}}",""]);const o=l.toString()},8119:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.quick-access-list{display:grid;gap:14px;grid-template-columns:repeat(2,1fr);list-style:none;margin:0;padding:0}.sidebar-menu-item{display:flex;align-items:center;justify-content:space-between;overflow:hidden}.sidebar-menu-item > eo-link{display:block;min-width:0}.sidebar-menu-item > eo-link::part(link){display:flex;align-items:center;height:20px;gap:8px;color:var(--color-header-text)}.sidebar-menu-icon{color:var(--left-sidebar-item-collapsed-icon-color)}.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item-remove{color:var(--color-secondary-text);cursor:pointer}.sidebar-menu-item:not(:hover) .menu-item-remove{display:none}.menu-item-remove:hover{color:var(--color-normal-text)}.menu-item-remove:active{color:var(--color-strong-text)}.sidebar-menu-item > eo-link:hover::part(link),\n.sidebar-menu-item > eo-link:hover .sidebar-menu-icon{color:var(--color-brand-hover)}@supports not (inset: 0){.sidebar-menu-item,\n .sidebar-menu-item > eo-link::part(link){gap:0}.sidebar-menu-icon{margin-right:8px}}",""]);const o=l.toString()},6859:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.recent-visits{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:56px;overflow:hidden}.recent-visits span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-visits eo-link{display:block;min-width:0}.recent-visits eo-link::part(link){background-color:var(--color-fill-bg-base-1);border-radius:3px;color:var(--color-header-text);display:flex;align-items:center;height:24px;padding:0 8px}.recent-visits eo-link:hover::part(link){color:var(--color-brand-hover)}",""]);const o=l.toString()},5367:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.logo-container{position:relative;display:flex;justify-content:flex-start;align-items:center}.logo-link{cursor:pointer}.personalized-logo{height:24px;vertical-align:top}.easyops-icon{display:block;font-size:24px;color:var(--color-brand)}",""]);const o=l.toString()},6651:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}",""]);const o=l.toString()},3873:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.container{position:relative}.dropdown{margin-top:5px;position:absolute;top:100%;left:0px;width:100%;z-index:1050;padding:20px 24px 24px;overflow:hidden;box-sizing:border-box;background-color:var(--antd-select-dropdown-bg);border-radius:4px;box-shadow:var(--antd-box-shadow-base);display:none}.dropdown-active{display:block}.search-box{border-bottom:1px solid var(--color-text-divider-line);display:flex;gap:8px;align-items:center;padding:10px 0;cursor:text}.search-icon{color:var(--color-auxiliary-text)}.search-input{padding:0;margin:0;border:none;outline:none;color:inherit;background-color:transparent;font-size:14px;line-height:22px;flex:1;min-width:0}.search-input::placeholder{color:var(--color-disabled-text);opacity:1}.search-clear{display:none;color:var(--color-secondary-text);cursor:pointer}.search-clear.searching{display:inline-block}.search-clear:hover{color:var(--color-auxiliary-text)}.dropdown-content{min-width:0;display:flex;flex-direction:column;gap:24px;max-height:260px;overflow-y:auto}.spinner{display:flex;justify-content:center;align-items:center;color:var(--theme-doderblue-color);flex:1;font-size:30px}.loading > :not(.spinner){display:none}.menu-group-label,\n.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-groups,\n.menu,\n.sub-menu{list-style:none;margin:0;padding:0}.menu,\n.sub-menu{display:flex;flex-direction:column;gap:14px}.menu-item > eo-link{display:block;min-width:0}.menu-item > eo-link::part(link){height:20px;display:flex;align-items:center;gap:8px;color:var(--color-header-text)}.menu-groups{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.menu-groups{display:grid;gap:32px 8px}.menu-group{padding-right:12px;color:var(--color-header-text)}.menu-group-label{font-size:var(--card-title-font-size);font-weight:500;color:var(--color-header-text);margin-bottom:14px}.menu-item:not(.folder){display:flex;gap:8px;align-items:center}.menu-icon{color:var(--eo-search-launchpad-menu-icon-color)}.menu-item.active,\n.menu-item.active .menu-icon{color:var(--color-brand-active)}.sub-menu:not(.expanded){display:none}.sub-menu{margin-top:14px;margin-left:8px;border-left:1px solid var(--color-text-divider-line);padding-left:15px}.menu-item-star{cursor:pointer}.menu-item-star,\n.menu-item-toggle{color:var(--color-secondary-text)}.menu-item-star{display:none}.can-star.starred > .menu-item-star,\n.can-star:hover > .menu-item-star{display:inline-block}.can-star:not(.starred) > .menu-item-star{color:var(--color-secondary-text)}.starred > .menu-item-star{color:var(--palette-yellow-6)}.menu-item > eo-link:hover::part(link),\n.menu-item > eo-link:hover .menu-icon,\n.menu-item > eo-link:hover .menu-item-toggle{color:var(--color-brand-hover)}@supports not (inset: 0){.search-box,\n .menu,\n .sub-menu,\n .menu-item:not(.folder),\n .menu-item > eo-link::part(link){gap:0}.dropdown-content{display:grid;grid-auto-flow:row}.dropdown-content:not(.loading){height:min-content}.menu > :not(:first-child),\n .sub-menu > :not(:first-child){margin-top:14px}.search-icon,\n .menu-icon{margin-right:8px}.search-clear,\n .menu-item-star,\n .menu-item-toggle{margin-left:8px}}",""]);const o=l.toString()},1409:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.menu-container{box-sizing:border-box;background:var(--third-menu-default-bg);border:1px solid var(--stroke-color-default);border-width:0 1px 0 0;border-radius:0px;padding:20px 0px;height:100%}.menu-container .header{display:flex;gap:10px;align-items:center;font-size:var(--title-font-size);padding:0 20px 16px 20px;line-height:26px;color:var(--color-header-text)}:is(.menu-container .header) .title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-wrap:break-word}.menu-container .content{padding:0 12px}.menu-container .menu-item,.menu-container .menu-sub-item::part(sub-menu-item-title){margin:0;padding-right:16px;height:40px;line-height:40px;border-radius:4px;margin-bottom:4px}.menu-container .menu-item::part(menu-item-icon),.menu-container .menu-sub-item::part(menu-item-icon){color:var(--color-secondary-text)}.menu-container .menu-item-link{width:100%;color:var(--color-secondary-text)}.menu-container .menu-item-text,.menu-container .menu-group-text,.menu-container .menu-item-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-container .menu-item-text{display:block;box-sizing:border-box;color:var(--antd-text-color)}.menu-container .menu-item:hover{background:var(--third-menu-item-hover-bg);color:var(--color-header-text)}:is(.menu-container .menu-item:hover) .menu-item-text{color:var(--color-header-text);font-weight:var(--font-weight-400)}:is(.menu-container .in-submenu) .menu-item-text{color:var(--color-normal-text)}.menu-container .menu-sub-item::part(sub-menu-item-title):hover{color:var(--color-header-text)}.menu-container .menu-item-text.item-has-icon{margin-left:6px}.menu-container .menu-item[active]{color:var(--color-brand);background-color:var(--third-menu-item-selected-bg)}.menu-container .menu-item[active] .menu-item-text{color:var(--color-brand);font-weight:var(--font-weight-500)}",""]);const o=l.toString()},8619:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-group-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-secondary-text-color);border-radius:var(--larger-border-radius);transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-title-icon-container{flex-shrink:0;margin-right:14px;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color);font-size:var(--menu-item-icon-size);transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-title-icon{width:1em;height:1em;border-bottom:2px solid var(--left-sidebar-group-border-color)}.menu-group-title-text{flex:1;font-size:12px;overflow:hidden;white-space:nowrap;margin-right:12px}.menu-group-list slot::slotted(*){margin-top:2px}.menu-group-arrow{position:absolute;top:50%;right:12px;width:10px;transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-group-arrow::before,\n.menu-group-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-group-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-group-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-group-collapsed .menu-group-arrow{transform:translateY(-50%)}.menu-group-collapsed .menu-group-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-group-collapsed .menu-group-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-group-list{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-list-inner{overflow:hidden}:host([menu-collapsed]) .menu-group-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host(:not([menu-collapsed])) .menu-group-title-icon-container{width:0;margin-right:0;opacity:0}:host([menu-collapsed]) .menu-group-title-text{opacity:0}:host([menu-collapsed]) .menu-group-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-group-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;color:#7f8ba6}:host([collapsable]) .menu-group-collapsed .menu-group-list{grid-template-rows:0fr;opacity:0}',""]);const o=l.toString()},4239:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-link{display:block}.menu-item{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--medius-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-item-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}:host([in-submenu]):host(:not([selected])) .menu-item{color:var(--left-sidebar-item-collapsed-color)}.menu-item-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-item:hover{background:var(--left-sidebar-item-hover-bg)}:host([selected]) .menu-item{color:var(--left-sidebar-item-selected-color);background:var(--left-sidebar-item-selected-bg);box-shadow:0px 2px 12px 0px rgba(26,122,255,0.30196)}:host([selected]) .menu-item-icon-container{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-item:hover{background-color:var(--left-sidebar-item-selected-hover-bg)}:host([menu-collapsed]) .menu-item{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-item-text{opacity:0}:host(:not([menu-collapsed])) .menu-item-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}",""]);const o=l.toString()},8797:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-submenu-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--larger-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-title-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}.menu-submenu-title-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap}.menu-submenu-arrow{position:absolute;top:50%;right:12px;width:10px;color:var(--left-sidebar-item-arrow-color);transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before,\n.menu-submenu-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-submenu-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-submenu-collapsed .menu-submenu-arrow{transform:translateY(-50%)}.menu-submenu-collapsed .menu-submenu-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-submenu-collapsed .menu-submenu-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-submenu-title:hover{background:var(--left-sidebar-item-hover-bg)}.menu-sub{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-collapsed .menu-sub{grid-template-rows:0fr;opacity:0}.menu-sub-inner{overflow:hidden}.menu-sub-inner slot::slotted(*){margin-top:2px}:host([menu-collapsed]) .menu-submenu-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-submenu-title-text{opacity:0}:host([menu-collapsed]) .menu-submenu-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-submenu-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title{background:var(--left-sidebar-item-selected-bg);color:var(--left-sidebar-item-selected-color)}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title-icon-container,:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-arrow{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-submenu-title-text{font-weight:var(--font-weight-500)}',""]);const o=l.toString()},2469:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;transition:width var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.sidebar-menu-item-list slot::slotted(*){margin-top:6px}",""]);const o=l.toString()},3694:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block}:host([hidden]){display:none}:host([position="static"]){height:100%}*,\n*::before,\n*::after{box-sizing:border-box}.sidebar-container{position:relative;z-index:998;height:100%}.sidebar-container,\n.inner{transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:host(:not([position="static"])) .sidebar-container{position:fixed;left:0;top:var(--app-bar-height);height:calc(100vh - var(--app-bar-height))}.inner{position:absolute;left:0;height:100%;display:flex;flex-direction:column;background-color:var(--left-menu-bg);border-right:1px solid var(--left-sidebar-border-right)}.inner:hover{background-color:var(--left-menu-hover-bg)}.inner::before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1;background:var(--sidebar-bg)}.header{padding:0 12px;margin-top:14px;height:52px;flex-shrink:0}.menu-title{height:100%;display:flex;align-items:center;color:var(--left-sidebar-large-title-color)}.menu-title-icon-container{flex-shrink:0;display:flex;justify-content:center;align-items:center;width:20px;height:20px;font-size:20px;line-height:0;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-title-icon{color:var(--left-sidebar-item-collapsed-icon-color)}.menu-title-point{width:4px;height:4px;background:var(--antd-text-color);border-radius:50%}.menu-title-text{font-size:16px;font-weight:var(--font-weight-500);color:var(--left-sidebar-large-title-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.state-collapsed .menu-title{padding:0 calc(50% - 10px)}.state-hovered .menu-title,\n.state-expanded .menu-title{padding:0 12px}.state-collapsed .menu-title-icon-container{margin-right:12px}.state-hovered .menu-title-icon-container,\n.state-expanded .menu-title-icon-container{margin-right:0;width:0;opacity:0}.content{padding:0 12px;flex:1;overflow-y:auto;scrollbar-width:none}.content::-webkit-scrollbar{width:0;background:transparent}.content.show-shadow{box-shadow:0 -17px 10px -16px rgb(0 0 0/8%) inset}.footer{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end}.fixed-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;margin-right:8px;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.fixed-icon > svg{width:100%;height:100%}.fixed-icon:hover > svg path[fill]{fill:var(--color-brand)}.state-collapsed .fixed-icon{visibility:hidden;opacity:0}.state-hovered .fixed-icon,\n.state-expanded .fixed-icon{visibility:visible;opacity:1}.state-hovered .inner{box-shadow:var(--left-sidebar-shadow)}.resize-line{position:absolute;right:-2px;height:100%;width:2px;cursor:col-resize}.resize-line:hover,\n.resize-line:active{background-color:rgba(26,122,255,1)}.dragging,\n.dragging .inner{transition:none}',""]);const o=l.toString()},1784:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,".message--Fxvh9j9V{color:var(--color-normal-text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}",""]),l.locals={message:"message--Fxvh9j9V"};const o=l}}]);
2
- //# sourceMappingURL=884.2d6b1603.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[9559,1940],{9559:(e,t,n)=>{n.r(t),n.d(t,{supply:()=>s});var r=n(1030),a=n(1302),o=n(1744);function s(e,t,n){const r={undefined:void 0};for(const a of e)if(!Object.prototype.hasOwnProperty.call(r,a))if(t&&Object.prototype.hasOwnProperty.call(t,a))r[a]=t[a];else{const e=u(a,n);void 0!==e&&(r[a]=e)}return r}const i=new Set(["fill","pull","pullAll","pullAllBy","pullAllWith","pullAt","remove","reverse","assign","assignIn","assignInWith","assignWith","defaults","defaultsDeep","merge","mergeWith","set","setWith","unset","update","updateWith","after","ary","before","bind","bindKey","curry","curryRight","debounce","defer","delay","flip","memoize","negate","once","overArgs","partial","partialRight","rearg","rest","spread","throttle","unary","wrap"]),c=new Set(["lang","langData","locale","localeData","defineLocale","updateLocale","updateOffset"]),l=new Set(["Array","Boolean","Date","Infinity","JSON","Math","NaN","Number","String","RegExp","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","isFinite","isNaN","parseFloat","parseInt","Map","Set","URL","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function u(e,t){switch(e){case"Object":return n=Object,s=["entries","fromEntries","keys","values"],Object.fromEntries(s.map((e=>[e,function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return n[e].apply(n,r)}])));case"_":return Object.fromEntries(Object.entries(r).filter((e=>!i.has(e[0]))).concat(t?[["uniqueId",e=>`${e??""}42`]]:[]));case"moment":return Object.assign((function(){return a(...arguments)}),Object.fromEntries(Object.entries(a).filter((e=>!c.has(e[0])))));case"PIPES":return o.pipes;case"TAG_URL":return p(!0);case"SAFE_TAG_URL":return p();default:if(l.has(e))return window[e]}var n,s}function p(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];const o=[];return t.forEach(((t,n)=>{o.push(t),n<r.length&&o.push(e?String(r[n]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(r[n])))})),o.join("")}}}}]);
2
- //# sourceMappingURL=9559.1f660b3f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/9559.1f660b3f.js","mappings":"oMAGO,SAASA,EAAOC,EAAuBC,EAAyBC,GACrE,MAAMC,EAAkB,CACtBC,kBAGF,IAAK,MAAMC,KAAgBL,EACzB,IAAKM,OAAOC,UAAUC,eAAeC,KAAKN,EAAiBE,GACzD,GAAIJ,GAA2BK,OAAOC,UAAUC,eAAeC,KAAKR,EAAyBI,GAC3FF,EAAgBE,GAAgBJ,EAAwBI,OACnD,CACL,MAAMK,EAAWC,EAAiBN,EAAcH,QAC/BE,IAAbM,IACFP,EAAgBE,GAAgBK,EAEpC,CAGJ,OAAOP,CACT,CACA,MAAMS,EAAqB,IAAIC,IAAI,CAGnC,OAAQ,OAAQ,UAAW,YAAa,cAAe,SAAU,SAAU,UAAW,SAAU,WAAY,eAAgB,aAAc,WAAY,eAAgB,QAAS,YAAa,MAAO,UAAW,QAAS,SAAU,aAWjO,QAAS,MAAO,SAAU,OAAQ,UAAW,QAAS,aAAc,WAAY,QAAS,QAAS,OAAQ,UAAW,SAAU,OAAQ,WAAY,UAAW,eAAgB,QAAS,OAAQ,SAAU,WAAY,QAAS,SAGxNC,EAAqB,IAAID,IAAI,CAAC,OAAQ,WAAY,SAAU,aAAc,eAAgB,eAAgB,iBAC1GE,EAAuB,IAAIF,IAAI,CAAC,QAAS,UAAW,OAAQ,WAAY,OAAQ,OAAQ,MAAO,SAAU,SAAU,SAAU,YAAa,qBAAsB,YAAa,qBAAsB,WAAY,QAAS,aAAc,WAAY,MAAO,MAAO,MAAO,kBAAmB,UAAW,UAAW,OAAQ,SAC9T,SAASF,EAAiBN,EAAcH,GACtC,OAAQG,GACN,IAAK,SAEH,OAmBmBW,EAnBIV,OAmBIW,EAnBI,CAAC,UAAW,cAAe,OAAQ,UAoB/DX,OAAOY,YAAYD,EAAQE,KAAIC,GAAU,CAACA,EAAQ,WACvD,IAAK,IAAIC,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAC/EF,EAAKE,GAAQJ,UAAUI,GAEzB,OAAOV,EAAOI,GAAQO,MAAMX,EAAQQ,EACtC,MAxBE,IAAK,IACH,OAAOlB,OAAOY,YAAYZ,OAAOsB,QAAQ,GAAQC,QAAOC,IAAUlB,EAAmBmB,IAAID,EAAM,MAAKE,OAAO9B,EAAO,CAAC,CAAC,WAAY+B,GAAU,GAAGA,GAAU,SAAW,KACpK,IAAK,SACH,OAAO3B,OAAO4B,QAAO,WACnB,OAAO,KAAUZ,UACnB,GAAGhB,OAAOY,YAAYZ,OAAOsB,QAAQ,GAAQC,QAAOC,IAAUhB,EAAmBiB,IAAID,EAAM,QAC7F,IAAK,QACH,OAAO,EAAAK,MACT,IAAK,UACH,OAAOC,GAAc,GACvB,IAAK,eACH,OAAOA,IACT,QACE,GAAIrB,EAAqBgB,IAAI1B,GAC3B,OAAOgC,OAAOhC,GAItB,IAAyBW,EAAQC,CADjC,CAiCA,SAASmB,EAAcE,GACrB,OAAO,SAAUC,GACf,IAAK,IAAIC,EAAQlB,UAAUC,OAAQkB,EAAW,IAAIhB,MAAMe,EAAQ,EAAIA,EAAQ,EAAI,GAAIE,EAAQ,EAAGA,EAAQF,EAAOE,IAC5GD,EAASC,EAAQ,GAAKpB,UAAUoB,GAElC,MAAMC,EAAS,GAOf,OANAJ,EAAQK,SAAQ,CAACC,EAAKC,KACpBH,EAAOI,KAAKF,GACRC,EAAQL,EAASlB,QACnBoB,EAAOI,KAAKT,EAAgBU,OAAOP,EAASK,IAAQG,QAAQ,UAAUC,GAAKC,mBAAmBD,KAAMC,mBAAmBH,OAAOP,EAASK,KACzI,IAEKH,EAAOS,KAAK,GACrB,CACF,C","sources":["webpack:///../../node_modules/@next-core/supply/dist/esm/index.js"],"sourcesContent":["import lodash from \"lodash\";\nimport moment from \"moment\";\nimport { pipes } from \"@next-core/pipes\";\nexport function supply(attemptToVisitGlobals, providedGlobalVariables, mock) {\n const globalVariables = {\n undefined\n };\n // Allow limited browser builtin values.\n for (const variableName of attemptToVisitGlobals) {\n if (!Object.prototype.hasOwnProperty.call(globalVariables, variableName)) {\n if (providedGlobalVariables && Object.prototype.hasOwnProperty.call(providedGlobalVariables, variableName)) {\n globalVariables[variableName] = providedGlobalVariables[variableName];\n } else {\n const variable = supplyIndividual(variableName, mock);\n if (variable !== undefined) {\n globalVariables[variableName] = variable;\n }\n }\n }\n }\n return globalVariables;\n}\nconst shouldOmitInLodash = new Set([\n// Omit all mutable methods from lodash.\n// But allow sequence methods like `_.chain`.\n\"fill\", \"pull\", \"pullAll\", \"pullAllBy\", \"pullAllWith\", \"pullAt\", \"remove\", \"reverse\", \"assign\", \"assignIn\", \"assignInWith\", \"assignWith\", \"defaults\", \"defaultsDeep\", \"merge\", \"mergeWith\", \"set\", \"setWith\", \"unset\", \"update\", \"updateWith\",\n/**\n * Ignore `Function` methods from lodash, too.\n * There are chances to invoke `Object.assign`, etc.\n *\n * E.g.:\n *\n * ```\n * _.wrap(_.method('constructor.assign',{b:2},{b:3}),(func,...a) => func(...a))({})\n * ```\n */\n\"after\", \"ary\", \"before\", \"bind\", \"bindKey\", \"curry\", \"curryRight\", \"debounce\", \"defer\", \"delay\", \"flip\", \"memoize\", \"negate\", \"once\", \"overArgs\", \"partial\", \"partialRight\", \"rearg\", \"rest\", \"spread\", \"throttle\", \"unary\", \"wrap\"]);\n\n// Omit all mutable methods from moment.\nconst shouldOmitInMoment = new Set([\"lang\", \"langData\", \"locale\", \"localeData\", \"defineLocale\", \"updateLocale\", \"updateOffset\"]);\nconst allowedGlobalObjects = new Set([\"Array\", \"Boolean\", \"Date\", \"Infinity\", \"JSON\", \"Math\", \"NaN\", \"Number\", \"String\", \"RegExp\", \"decodeURI\", \"decodeURIComponent\", \"encodeURI\", \"encodeURIComponent\", \"isFinite\", \"isNaN\", \"parseFloat\", \"parseInt\", \"Map\", \"Set\", \"URL\", \"URLSearchParams\", \"WeakMap\", \"WeakSet\", \"atob\", \"btoa\"]);\nfunction supplyIndividual(variableName, mock) {\n switch (variableName) {\n case \"Object\":\n // Do not allow mutable methods like `Object.assign`.\n return delegateMethods(Object, [\"entries\", \"fromEntries\", \"keys\", \"values\"]);\n case \"_\":\n return Object.fromEntries(Object.entries(lodash).filter(entry => !shouldOmitInLodash.has(entry[0])).concat(mock ? [[\"uniqueId\", prefix => `${prefix ?? \"\"}42`]] : []));\n case \"moment\":\n return Object.assign(function () {\n return moment(...arguments);\n }, Object.fromEntries(Object.entries(moment).filter(entry => !shouldOmitInMoment.has(entry[0]))));\n case \"PIPES\":\n return pipes;\n case \"TAG_URL\":\n return tagUrlFactory(true);\n case \"SAFE_TAG_URL\":\n return tagUrlFactory();\n default:\n if (allowedGlobalObjects.has(variableName)) {\n return window[variableName];\n }\n }\n}\nfunction delegateMethods(target, methods) {\n return Object.fromEntries(methods.map(method => [method, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return target[method].apply(target, args);\n }]));\n}\n/**\n * Pass `ignoreSlashes` as `true` to encode all tagged expressions\n * as URL components, except for `/` which maybe used in `APP.homepage`.\n *\n * Otherwise encode all tagged expressions as URL components.\n * This will encode `/` as `%2F`. So do not use it directly\n * with `APP.homepage` as in template expressions.\n *\n * @example\n *\n * ```js\n * TAG_URL`${APP.homepage}/list?q=${q}&redirect=${redirect}`\n * ```\n *\n * ```js\n * SAFE_TAG_URL`file/${path}?q=${q}`\n * // `path` will be fully transformed by `encodeURIComponent`.\n * ```\n *\n * ```js\n * // Wrap `APP.homepage` outside of `SAFE_TAG_URL`.\n * `${APP.homepage}/${SAFE_TAG_URL`file/${path}?q=${q}`}`\n * ```\n */\nfunction tagUrlFactory(ignoreSlashes) {\n return function (strings) {\n for (var _len2 = arguments.length, partials = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n partials[_key2 - 1] = arguments[_key2];\n }\n const result = [];\n strings.forEach((str, index) => {\n result.push(str);\n if (index < partials.length) {\n result.push(ignoreSlashes ? String(partials[index]).replace(/[^/]+/g, p => encodeURIComponent(p)) : encodeURIComponent(String(partials[index])));\n }\n });\n return result.join(\"\");\n };\n}\n//# sourceMappingURL=index.js.map"],"names":["supply","attemptToVisitGlobals","providedGlobalVariables","mock","globalVariables","undefined","variableName","Object","prototype","hasOwnProperty","call","variable","supplyIndividual","shouldOmitInLodash","Set","shouldOmitInMoment","allowedGlobalObjects","target","methods","fromEntries","map","method","_len","arguments","length","args","Array","_key","apply","entries","filter","entry","has","concat","prefix","assign","pipes","tagUrlFactory","window","ignoreSlashes","strings","_len2","partials","_key2","result","forEach","str","index","push","String","replace","p","encodeURIComponent","join"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1890,1369,2052],{3028:(e,t,n)=>{n.r(t),n.d(t,{EasyopsNavbarAlerts:()=>w,EasyopsNavbarAlertsComponent:()=>E,WrappedIcon:()=>h,WrappedLink:()=>b});var r,o=n(2740),i=n(8769),a=n.n(i),c=n(300),s=n(4295),l=n(3474),u=n(7008),f=n(4953),d=(n(6477),n(4612)),p=n(6238),m=n.n(p),g=n(7061);let v;const h=(0,s.wrapBrick)("eo-icon"),b=(0,s.wrapBrick)("eo-link"),{defineElement:y}=(0,c.createDecorators)();let w;class x extends s.ReactNextElement{render(){return a().createElement(E,null)}}r=x,[w,v]=(0,o.A)(r,[y("nav.easyops-navbar-alerts",{styleTexts:[g.A]})],[],0,void 0,s.ReactNextElement).c,v();const A=new d.G(localStorage);function E(){const[e,t]=(0,i.useState)(!1),[n,r]=(0,i.useState)(null),o=(0,u.useCurrentApp)(),c=(0,i.useMemo)((()=>`license:${f.auth.getAuth().org}`),[]),s=(0,i.useMemo)((()=>{var t;const n=f.auth.getAuth(),r=null===(t=n.license)||void 0===t?void 0:t.validDaysLeft;let o;return e?null:r&&r<=15&&n.isAdmin&&(o=A.getItem(c),!o||m()().unix()>o)?r:null}),[c,e]);(0,i.useEffect)((()=>{const e=e=>{const t=e.detail.renderTime,{loadTime:n,loadInfoPage:i}=(0,l.getRuntime)().getMiscSettings();null!=o&&o.isBuildPush&&n>0&&t>n&&r({renderTime:S(t),suggestTime:S(n),suggestUrl:i})};return window.addEventListener("route.render",e),()=>{window.removeEventListener("route.render",e)}}),[o]);const d=(0,i.useCallback)((()=>{A.setItem(c,m()().unix()+86400),t(!0)}),[c]);return a().createElement(a().Fragment,null,n&&a().createElement(k,{text:`您的页面存在性能问题, 当前页面渲染时间 ${n.renderTime} 秒, 规定阈值为: ${n.suggestTime} 秒, 您已超过。请您针对该页面进行性能优化!`,type:"warning",link:n.suggestUrl?{label:"建议解决思路",url:n.suggestUrl}:void 0}),null!==s&&a().createElement(k,{text:`离 License 过期还有 ${s} 天`,type:"info",closable:!0,onClose:d}))}function k(e){let{text:t,type:n,closable:r,link:o,onClose:i}=e;return a().createElement("div",{className:`alert ${n}`},a().createElement("span",{className:"text"},t),o&&a().createElement(b,{className:"link",href:o.url,target:"_blank"},o.label),r&&a().createElement(h,{lib:"antd",icon:"close",className:"icon",role:"button",onClick:i}))}function S(e){return Math.floor(100*e)/1e5}},7061:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,":host{display:block}:host([hidden]){display:none}.alert{height:32px;padding:0 20px;display:flex;justify-content:center;align-items:center}.text{color:var(--antd-text-color);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon{margin-left:20px;cursor:pointer;color:#8c8c8c}.info{background-color:var(--palette-blue-1)}.warning{background-color:var(--palette-amber-1)}",""]);const c=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,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 l=0;l<e.length;l++){var u=[].concat(e[l]);r&&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),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,s,l){var u,f,d,p,m,g,v,h=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,w=[y(null),y(null)],x=t.length;function A(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function E(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,a,c,s,l,d,p,m){function g(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),h=t[3],y=!s,x=1===a,k=3===a,S=4===a,T=2===a;function j(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),I[t].call(o,i)}}if(!y){var I={},N=[],C=k?"get":S||x?"set":"value";if(d?(p||x?I={get:i((function(){return h(this)}),o,"get"),set:function(e){t[4](this,e)}}:I[C]=h,p||i(I[C],o,T?"":C)):p||(I=Object.getOwnPropertyDescriptor(e,o)),!p&&!d){if((f=w[+l][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+I[C].name+") is not supported yet");w[+l][o]=a<3?1:a}}for(var O=e,P=v.length-1;P>=0;P-=n?2:1){var _=E(v[P],"A decorator","be",!0),L=n?v[P-1]:void 0,$={},D={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");E(t,"An initializer","be",!0),c.push(t)}.bind(null,$)};if(y)f=_.call(L,O,D),$.v=1,E(f,"class decorators","return")&&(O=f);else if(D.static=l,D.private=d,f=D.access={has:d?m.bind():function(e){return o in e}},S||(f.get=d?T?function(e){return g(e),I.value}:j("get",0,g):function(e){return e[o]}),T||k||(f.set=d?j("set",0,g):function(e,t){e[o]=t}),O=_.call(L,x?{get:I.get,set:I.set}:I[C],D),$.v=1,x){if("object"==(0,r.A)(O)&&O)(f=E(O.get,"accessor.get"))&&(I.get=f),(f=E(O.set,"accessor.set"))&&(I.set=f),(f=E(O.init,"accessor.init"))&&N.unshift(f);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else E(O,(p?"field":"method")+" decorators","return")&&(p?N.unshift(O):I[C]=O)}return a<2&&s.push(A(N,l,1),A(c,l,0)),p||y||(d?x?s.splice(-1,0,j("get",l),j("set",l)):s.push(T?I[C]:E.call.bind(I[C])):b(e,o,I)),O}function S(e){return b(e,h,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[h]),u=y(null==u?null:u),m=[],g=function(e){e&&m.push(A(e))},v=function(t,r){for(var i=0;i<n.length;i++){var c=n[i],l=c[1],u=7&l;if((8&l)==t&&!u==r){var f=c[2],g=!!c[3],v=16&l;k(t?e:e.prototype,c,v,g?"#"+f:(0,a.A)(f),u,u<2?[]:t?p=p||[]:d=d||[],m,!!t,g,r,t&&g?function(t){return(0,o.A)(t)===e}:s)}}},v(8,0),v(0,0),v(8,1),v(0,1),g(d),g(p),f=m,x||S(e),{e:f,get c(){var n=[];return x&&[S(e=k(e,[t],c,e.name,5,n)),A(n,1)]}}}},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);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+""}},7545:(e,t,n)=>{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})},4612:(e,t,n)=>{n.d(t,{G:()=>r});class r{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()}}}}]);
2
- //# sourceMappingURL=easyops-navbar-alerts.57620305.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[7825,1369,2052],{8588:(e,t,n)=>{n.d(t,{C:()=>r});const r=10},9443:(e,t,n)=>{n.r(t),n.d(t,{EoDirectoryTreeInternalNode:()=>z,EoDirectoryTreeInternalNodeComponent:()=>V});var r,i=n(4635),o=n(918),a=n(6902),s=n(5536),l=n(6121),c=n(829),d=n(2740),u=n(8769),p=n.n(u),h=n(300),m=n(4295),f=(n(6477),n(9010)),v=n(4083),b=n(8588);let g,A,y,w,x,E,k,j,S,N,T,O,L,P,W,M,C;const{defineElement:R,property:_,event:D}=(0,h.createDecorators)();let z;var B=new WeakMap,I=new WeakMap,F=new WeakMap,q=new WeakMap,G=new WeakMap,H=new WeakSet,J=new WeakMap,K=new WeakMap,Q=new WeakMap;class U extends m.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,H),(0,o.A)(this,B,A(this,0)),(0,o.A)(this,I,(y(this),w(this))),(0,o.A)(this,F,(x(this),E(this))),(0,o.A)(this,q,(k(this),j(this))),(0,o.A)(this,G,(S(this),N(this))),(0,o.A)(this,J,(L(this),()=>{(0,s.A)(H,this,T).emit(!this.expanded)})),(0,o.A)(this,K,P(this)),(0,o.A)(this,Q,(C(this),()=>{(0,s.A)(H,this,W).emit()}))}get depth(){return(0,c.A)(B,this)}set depth(e){(0,l.A)(B,this,e)}get expanded(){return(0,c.A)(I,this)}set expanded(e){(0,l.A)(I,this,e)}get selectable(){return(0,c.A)(F,this)}set selectable(e){(0,l.A)(F,this,e)}get selected(){return(0,c.A)(q,this)}set selected(e){(0,l.A)(q,this,e)}render(){return p().createElement(V,{depth:this.depth,selectable:this.selectable,expanded:this.expanded,onExpand:(0,c.A)(J,this),onSelect:(0,c.A)(Q,this)})}}function V(e){const{depth:t,selectable:n,onExpand:r,onSelect:i}=e,o=(0,u.useRef)(null),a=(0,u.useRef)(null),s=(0,u.useRef)(null);return(0,u.useEffect)((()=>{if(n){const e=o.current,t=a.current,n=()=>{i()},s=e=>{e.stopPropagation(),r()};return null==e||e.addEventListener("click",n),null==t||t.addEventListener("click",s),()=>{null==e||e.removeEventListener("click",n),null==t||t.removeEventListener("click",s)}}{const e=o.current,t=()=>{r()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}}),[n,i,r]),(0,u.useEffect)((()=>{const e=s.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),p().createElement(p().Fragment,null,p().createElement("div",{className:"tree-item",ref:o},p().createElement("div",{className:"tree-item-indentation",style:{width:b.C*t}}),p().createElement("div",{className:"tree-item-content"},p().createElement("div",{className:"tree-item-expand-button",ref:a},p().createElement(v.A,{className:"tree-item-expand-arrow"})),p().createElement("div",{className:"tree-item-label"},p().createElement("slot",{name:"label"}))),p().createElement("div",{className:"tree-item-suffix",ref:s},p().createElement("slot",{name:"suffix"}))),p().createElement("div",{className:"tree-item-children"},p().createElement("div",{className:"tree-item-inner"},p().createElement("slot",null))))}r=U,({e:[A,y,w,x,E,k,j,S,N,T,O,L,P,W,M,C],c:[z,g]}=(0,d.A)(r,[R("eo-directory-tree-internal-node",{styleTexts:[f.A]})],[[_({type:Number}),1,"depth"],[_({type:Boolean}),1,"expanded"],[_({type:Boolean}),1,"selectable"],[_({type:Boolean}),1,"selected"],[D({type:"expand"}),1,"expandEvent",e=>(0,c.A)(G,e),(e,t)=>(0,l.A)(G,e,t)],[D({type:"select"}),1,"selectEvent",e=>(0,c.A)(K,e),(e,t)=>(0,l.A)(K,e,t)]],0,(e=>Q.has((0,a.A)(e))),m.ReactNextElement)),g()},4083:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(9575),i=n(8769);const o=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.743 9.42-4.49-5.206a.34.34 0 0 0-.506 0L2.257 9.42c-.167.194-.016.478.253.478h8.98c.27 0 .42-.284.253-.478"}))},9010:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{margin:0 4px;padding:4px;position:relative;width:10px;height:10px;flex-shrink:0;border-radius:3px}:is(:is(.tree-item .tree-item-content) .tree-item-expand-button) .tree-item-expand-arrow{color:var(--color-header-text);width:10px;height:10px;position:absolute;left:50%;top:50%;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}.tree-item-children{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.tree-item-children .tree-item-inner{overflow:hidden}:is(.tree-item-children .tree-item-inner) slot::slotted(*){margin-top:8px}:host(:not([expanded])) .tree-item-children{grid-template-rows:0fr;opacity:0}:host([expanded]) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(180deg)}:host(:not([expanded])) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(90deg)}:host([selectable]) .tree-item-expand-button:hover{background-color:var(--color-fill-bg-base-1)}:host([selectable][selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selectable][selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const s=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,l,c){var d,u,p,h,m,f,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,A=Object.create,y=[A(null),A(null)],w=t.length;function x(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function E(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,i,a,s,l,c,p,h,m){function f(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),b=t[3],A=!l,w=1===a,k=3===a,j=4===a,S=2===a;function N(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),T[t].call(i,o)}}if(!A){var T={},O=[],L=k?"get":j||w?"set":"value";if(p?(h||w?T={get:o((function(){return b(this)}),i,"get"),set:function(e){t[4](this,e)}}:T[L]=b,h||o(T[L],i,S?"":L)):h||(T=Object.getOwnPropertyDescriptor(e,i)),!h&&!p){if((u=y[+c][i])&&7!=(u^a))throw Error("Decorating two elements with the same name ("+T[L].name+") is not supported yet");y[+c][i]=a<3?1:a}}for(var P=e,W=v.length-1;W>=0;W-=n?2:1){var M=E(v[W],"A decorator","be",!0),C=n?v[W-1]:void 0,R={},_={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:d,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");E(t,"An initializer","be",!0),s.push(t)}.bind(null,R)};if(A)u=M.call(C,P,_),R.v=1,E(u,"class decorators","return")&&(P=u);else if(_.static=c,_.private=p,u=_.access={has:p?m.bind():function(e){return i in e}},j||(u.get=p?S?function(e){return f(e),T.value}:N("get",0,f):function(e){return e[i]}),S||k||(u.set=p?N("set",0,f):function(e,t){e[i]=t}),P=M.call(C,w?{get:T.get,set:T.set}:T[L],_),R.v=1,w){if("object"==(0,r.A)(P)&&P)(u=E(P.get,"accessor.get"))&&(T.get=u),(u=E(P.set,"accessor.set"))&&(T.set=u),(u=E(P.init,"accessor.init"))&&O.unshift(u);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else E(P,(h?"field":"method")+" decorators","return")&&(h?O.unshift(P):T[L]=P)}return a<2&&l.push(x(O,c,1),x(s,c,0)),h||A||(p?w?l.splice(-1,0,N("get",c),N("set",c)):l.push(S?T[L]:E.call.bind(T[L])):g(e,i,T)),P}function j(e){return g(e,b,{configurable:!0,enumerable:!0,value:d})}return void 0!==c&&(d=c[b]),d=A(null==d?null:d),m=[],f=function(e){e&&m.push(x(e))},v=function(t,r){for(var o=0;o<n.length;o++){var s=n[o],c=s[1],d=7&c;if((8&c)==t&&!d==r){var u=s[2],f=!!s[3],v=16&c;k(t?e:e.prototype,s,v,f?"#"+u:(0,a.A)(u),d,d<2?[]:t?h=h||[]:p=p||[],m,!!t,f,r,t&&f?function(t){return(0,i.A)(t)===e}:l)}}},v(8,0),v(0,0),v(8,1),v(0,1),f(p),f(h),u=m,w||j(e),{e:u,get c(){var n=[];return w&&[j(e=k(e,[t],s,e.name,5,n)),x(n,1)]}}}},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},9575:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(7545);function i(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 i=n.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{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})}}]);
2
- //# sourceMappingURL=eo-directory-tree-internal-node.a400a546.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[2251,1369,2052],{8588:(e,t,n)=>{n.d(t,{C:()=>r});const r=10},4373:(e,t,n)=>{n.r(t),n.d(t,{EoDirectoryTreeLeaf:()=>P,EoDirectoryTreeLeafComponent:()=>z});var r,i=n(4635),o=n(918),a=n(6902),c=n(5536),s=n(6121),l=n(829),u=n(2740),f=n(8769),d=n.n(f),m=n(300),h=n(4295),p=(n(6477),n(8114)),v=n(8588);let b,y,g,A,w,E,x,k,S;const{defineElement:j,property:T,event:N}=(0,m.createDecorators)();let P;var C=new WeakMap,L=new WeakMap,O=new WeakMap,_=new WeakSet,D=new WeakMap;class W extends h.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,_),(0,o.A)(this,C,y(this,0)),(0,o.A)(this,L,(g(this),A(this))),(0,o.A)(this,O,(w(this),E(this))),(0,o.A)(this,D,(S(this),()=>{(0,c.A)(_,this,x).emit()}))}get depth(){return(0,l.A)(C,this)}set depth(e){(0,s.A)(C,this,e)}get selected(){return(0,l.A)(L,this)}set selected(e){(0,s.A)(L,this,e)}render(){return d().createElement(z,{depth:this.depth,onSelect:(0,l.A)(D,this)})}}function z(e){const{depth:t,onSelect:n}=e,r=(0,f.useRef)(null),i=(0,f.useRef)(null);return(0,f.useEffect)((()=>{const e=r.current,t=()=>{n()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[n]),(0,f.useEffect)((()=>{const e=i.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),d().createElement("div",{className:"tree-item",ref:r},d().createElement("div",{className:"tree-item-indentation",style:{width:v.C*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button"}),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",null))),d().createElement("div",{className:"tree-item-suffix",ref:i},d().createElement("slot",{name:"suffix"})))}r=W,({e:[y,g,A,w,E,x,k,S],c:[P,b]}=(0,u.A)(r,[j("eo-directory-tree-leaf",{styleTexts:[p.A]})],[[T({type:Number}),1,"depth"],[T({type:Boolean}),1,"selected"],[N({type:"select"}),1,"selectEvent",e=>(0,l.A)(O,e),(e,t)=>(0,s.A)(O,e,t)]],0,(e=>D.has((0,a.A)(e))),h.ReactNextElement)),b()},8114:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{padding:4px;margin:0 4px;width:10px;flex-shrink:0}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}:host([selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const c=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,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 l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,s,l){var u,f,d,m,h,p,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,A=[g(null),g(null)],w=t.length;function E(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function x(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,i,a,c,s,l,d,m,h){function p(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),b=t[3],g=!s,w=1===a,k=3===a,S=4===a,j=2===a;function T(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),N[t].call(i,o)}}if(!g){var N={},P=[],C=k?"get":S||w?"set":"value";if(d?(m||w?N={get:o((function(){return b(this)}),i,"get"),set:function(e){t[4](this,e)}}:N[C]=b,m||o(N[C],i,j?"":C)):m||(N=Object.getOwnPropertyDescriptor(e,i)),!m&&!d){if((f=A[+l][i])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+N[C].name+") is not supported yet");A[+l][i]=a<3?1:a}}for(var L=e,O=v.length-1;O>=0;O-=n?2:1){var _=x(v[O],"A decorator","be",!0),D=n?v[O-1]:void 0,W={},z={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),c.push(t)}.bind(null,W)};if(g)f=_.call(D,L,z),W.v=1,x(f,"class decorators","return")&&(L=f);else if(z.static=l,z.private=d,f=z.access={has:d?h.bind():function(e){return i in e}},S||(f.get=d?j?function(e){return p(e),N.value}:T("get",0,p):function(e){return e[i]}),j||k||(f.set=d?T("set",0,p):function(e,t){e[i]=t}),L=_.call(D,w?{get:N.get,set:N.set}:N[C],z),W.v=1,w){if("object"==(0,r.A)(L)&&L)(f=x(L.get,"accessor.get"))&&(N.get=f),(f=x(L.set,"accessor.set"))&&(N.set=f),(f=x(L.init,"accessor.init"))&&P.unshift(f);else if(void 0!==L)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(L,(m?"field":"method")+" decorators","return")&&(m?P.unshift(L):N[C]=L)}return a<2&&s.push(E(P,l,1),E(c,l,0)),m||g||(d?w?s.splice(-1,0,T("get",l),T("set",l)):s.push(j?N[C]:x.call.bind(N[C])):y(e,i,N)),L}function S(e){return y(e,b,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[b]),u=g(null==u?null:u),h=[],p=function(e){e&&h.push(E(e))},v=function(t,r){for(var o=0;o<n.length;o++){var c=n[o],l=c[1],u=7&l;if((8&l)==t&&!u==r){var f=c[2],p=!!c[3],v=16&l;k(t?e:e.prototype,c,v,p?"#"+f:(0,a.A)(f),u,u<2?[]:t?m=m||[]:d=d||[],h,!!t,p,r,t&&p?function(t){return(0,i.A)(t)===e}:s)}}},v(8,0),v(0,0),v(8,1),v(0,1),p(d),p(m),f=h,w||S(e),{e:f,get c(){var n=[];return w&&[S(e=k(e,[t],c,e.name,5,n)),E(n,1)]}}}},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},1369:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(7545);function i(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 i=n.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{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})}}]);
2
- //# sourceMappingURL=eo-directory-tree-leaf.c2052cb2.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-sidebar-menu-submenu.5500ea32.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[7544,1369,2052],{986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarMenuSubmenu:()=>O,EoSidebarMenuSubmenuComponent:()=>I});var r,o=n(9575),s=n(918),i=n(6121),a=n(829),u=n(2740),l=n(8769),c=n.n(l),d=n(300),m=n(4295),p=(n(6477),n(8797)),f=n(3373),b=n.n(f),h=n(3352);let v,g,y,w,E,x,A,k,S;const{defineElement:C,property:j}=(0,d.createDecorators)(),z=(0,m.wrapBrick)("eo-icon");let O;var K=new WeakMap,N=new WeakMap,B=new WeakMap,M=new WeakMap,P=new WeakMap;class T extends m.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,K,g(this)),(0,s.A)(this,N,(y(this),w(this))),(0,s.A)(this,B,(E(this),x(this))),(0,s.A)(this,M,(A(this),k(this))),(0,s.A)(this,P,(S(this),e=>{this.collapsed=e}))}get icon(){return(0,a.A)(K,this)}set icon(e){(0,i.A)(K,this,e)}get selected(){return(0,a.A)(N,this)}set selected(e){(0,i.A)(N,this,e)}get collapsed(){return(0,a.A)(B,this)}set collapsed(e){(0,i.A)(B,this,e)}get menuCollapsed(){return(0,a.A)(M,this)}set menuCollapsed(e){(0,i.A)(M,this,e)}render(){return c().createElement(I,{icon:this.icon,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,a.A)(P,this)})}}function I(e){const{icon:t,collapsed:n,menuCollapsed:r,onCollapseChange:s}=e,[i]=(0,h.mK)(r),a=(0,l.useRef)(null),u=(0,l.useCallback)((()=>{!r&&(null==s||s(!n))}),[r,s,n]);return(0,l.useEffect)((()=>{const e=a.current;return null==e||e.addEventListener("click",u),()=>{null==e||e.removeEventListener("click",u)}}),[u]),c().createElement("div",{className:b()("menu-submenu",{"menu-submenu-collapsed":!!r||n})},c().createElement("div",{className:"menu-submenu-title",ref:a},c().createElement("span",{className:"menu-submenu-title-icon-container"},c().createElement(z,(0,o.A)({},t,{className:"menu-submenu-title-icon"}))),c().createElement("span",{className:"menu-submenu-title-text"},c().createElement("slot",{name:"title"})),c().createElement("span",{className:"menu-submenu-arrow"})),c().createElement("div",{className:"menu-sub"},c().createElement("div",{className:"menu-sub-inner"},c().createElement("slot",{ref:i}))))}r=T,({e:[g,y,w,E,x,A,k,S],c:[O,v]}=(0,u.A)(r,[C("eo-sidebar-menu-submenu",{styleTexts:[p.A]})],[[j({attribute:!1}),1,"icon"],[j({type:Boolean}),1,"selected"],[j({type:Boolean}),1,"collapsed"],[j({type:Boolean}),1,"menuCollapsed"]],0,void 0,m.ReactNextElement)),v()},3352:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>m,VI:()=>b,Wb:()=>d,i2:()=>h,k_:()=>p,mK:()=>c,wZ:()=>C,zD:()=>f});var r=n(9575),o=n(8769),s=n.n(o),i=n(3474),a=n(4295);const u=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),l=e=>u.has(e.tagName);function c(e){const t=(0,o.useRef)(null),n=(0,o.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{l(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,o.useEffect)((()=>{n()}),[e,n]),(0,o.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const d="side-bar-has-been-used",m="side-bar-expand-state",p="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const b=parseInt((0,i.getCssPropertyValue)("--side-bar-width",document.body),10)||220,h=parseInt((0,i.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,v=(0,o.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),g=(0,a.wrapBrick)("eo-sidebar-menu"),y=(0,a.wrapBrick)("eo-sidebar-menu-item"),w=(0,a.wrapBrick)("eo-sidebar-menu-group"),E=(0,a.wrapBrick)("eo-sidebar-menu-submenu");function x(e){const{to:t,href:n,target:r,icon:i,text:a,id:u,inSubmenu:l}=e,{selectedKeys:c}=(0,o.useContext)(v);return s().createElement(y,{url:t,href:n,target:r,icon:i,inSubmenu:l,selected:c.includes(u)},a)}function A(e){const{title:t,items:n,id:i,top:a,inSubmenu:u}=e,{matchedKeys:l}=(0,o.useContext)(v),c=i&&l.includes(i);return(null==n?void 0:n.length)>0?s().createElement(w,{selected:!!c,collapsable:!a},s().createElement("span",{slot:"title"},t),e.items.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:u}))))):null}function k(e){const{title:t,icon:n,items:i,id:a}=e,{openedKeys:u,matchedKeys:l}=(0,o.useContext)(v),c=a&&l.includes(a);return(null==i?void 0:i.length)>0?s().createElement(E,{icon:n,collapsed:!u.includes(a),selected:!!c},s().createElement("span",{slot:"title"},t),e.items.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function S(e){return"subMenu"===e.type?s().createElement(k,e):"group"===e.type?s().createElement(A,e):s().createElement(x,e)}function C(e){var t;const{menu:n,expandedState:o,selectedKeys:i,openedKeys:a,matchedKeys:u}=e;return s().createElement(v.Provider,{value:{selectedKeys:i||[],openedKeys:a||[],matchedKeys:u||[]}},s().createElement(g,{menuCollapsed:o===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},8797:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6758),o=n.n(r),s=n(935),i=n.n(s)()(o());i.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-submenu-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--larger-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-title-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}.menu-submenu-title-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap}.menu-submenu-arrow{position:absolute;top:50%;right:12px;width:10px;color:var(--left-sidebar-item-arrow-color);transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before,\n.menu-submenu-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-submenu-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-submenu-collapsed .menu-submenu-arrow{transform:translateY(-50%)}.menu-submenu-collapsed .menu-submenu-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-submenu-collapsed .menu-submenu-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-submenu-title:hover{background:var(--left-sidebar-item-hover-bg)}.menu-sub{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-collapsed .menu-sub{grid-template-rows:0fr;opacity:0}.menu-sub-inner{overflow:hidden}.menu-sub-inner slot::slotted(*){margin-top:2px}:host([menu-collapsed]) .menu-submenu-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-submenu-title-text{opacity:0}:host([menu-collapsed]) .menu-submenu-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-submenu-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title{background:var(--left-sidebar-item-selected-bg);color:var(--left-sidebar-item-selected-color)}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title-icon-container,:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-arrow{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-submenu-title-text{font-weight:var(--font-weight-500)}',""]);const a=i.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var u=this[a][0];null!=u&&(i[u]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&i[c[0]]||(void 0!==s&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,s(n)))}return e}function s(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 n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7545),o=n(6902);function s(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(1369);function a(e,t,n,a,u,l){var c,d,m,p,f,b,h,v=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,w=[y(null),y(null)],E=t.length;function x(t,n,r){return function(o,s){n&&(s=o,o=e);for(var i=0;i<t.length;i++)s=t[i].apply(o,r?[s]:[]);return r?s:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,i,a,u,l,m,p,f){function b(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],y=!u,E=1===i,k=3===i,S=4===i,C=2===i;function j(t,n,r){return function(o,s){return n&&(s=o,o=e),r&&r(o),z[t].call(o,s)}}if(!y){var z={},O=[],K=k?"get":S||E?"set":"value";if(m?(p||E?z={get:s((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:z[K]=v,p||s(z[K],o,C?"":K)):p||(z=Object.getOwnPropertyDescriptor(e,o)),!p&&!m){if((d=w[+l][o])&&7!=(d^i))throw Error("Decorating two elements with the same name ("+z[K].name+") is not supported yet");w[+l][o]=i<3?1:i}}for(var N=e,B=h.length-1;B>=0;B-=n?2:1){var M=A(h[B],"A decorator","be",!0),P=n?h[B-1]:void 0,T={},I={kind:["field","accessor","method","getter","setter","class"][i],name:o,metadata:c,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),a.push(t)}.bind(null,T)};if(y)d=M.call(P,N,I),T.v=1,A(d,"class decorators","return")&&(N=d);else if(I.static=l,I.private=m,d=I.access={has:m?f.bind():function(e){return o in e}},S||(d.get=m?C?function(e){return b(e),z.value}:j("get",0,b):function(e){return e[o]}),C||k||(d.set=m?j("set",0,b):function(e,t){e[o]=t}),N=M.call(P,E?{get:z.get,set:z.set}:z[K],I),T.v=1,E){if("object"==(0,r.A)(N)&&N)(d=A(N.get,"accessor.get"))&&(z.get=d),(d=A(N.set,"accessor.set"))&&(z.set=d),(d=A(N.init,"accessor.init"))&&O.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 A(N,(p?"field":"method")+" decorators","return")&&(p?O.unshift(N):z[K]=N)}return i<2&&u.push(x(O,l,1),x(a,l,0)),p||y||(m?E?u.splice(-1,0,j("get",l),j("set",l)):u.push(C?z[K]:A.call.bind(z[K])):g(e,o,z)),N}function S(e){return g(e,v,{configurable:!0,enumerable:!0,value:c})}return void 0!==l&&(c=l[v]),c=y(null==c?null:c),f=[],b=function(e){e&&f.push(x(e))},h=function(t,r){for(var s=0;s<n.length;s++){var a=n[s],l=a[1],c=7&l;if((8&l)==t&&!c==r){var d=a[2],b=!!a[3],h=16&l;k(t?e:e.prototype,a,h,b?"#"+d:(0,i.A)(d),c,c<2?[]:t?p=p||[]:m=m||[],f,!!t,b,r,t&&b?function(t){return(0,o.A)(t)===e}:u)}}},h(8,0),h(0,0),h(8,1),h(0,1),b(m),b(p),d=f,E||S(e),{e:d,get c(){var n=[];return E&&[S(e=k(e,[t],a,e.name,5,n)),x(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);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+""}},7545:(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})}}]);
3
- //# sourceMappingURL=eo-sidebar-menu-submenu.5500ea32.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-sidebar-sub-menu.4142bdb5.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1131,1369,2052],{9982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarSubMenu:()=>N,EoSidebarSubMenuComponent:()=>I});var r,i=n(918),o=n(6121),a=n(829),c=n(2740),u=n(8769),s=n.n(u),l=n(300),m=n(4295),d=n(3474),p=(n(6477),n(764)),f=n(1409),h=n(3373),v=n.n(h);let b,y,g;const x=(0,m.wrapBrick)("eo-icon"),w=(0,m.wrapBrick)("eo-menu"),k=(0,m.wrapBrick)("eo-menu-group"),A=(0,m.wrapBrick)("eo-menu-item-sub-menu"),E=(0,m.wrapBrick)("eo-menu-item"),S=(0,m.wrapBrick)("eo-link"),{defineElement:j,property:P}=(0,l.createDecorators)();let N;var O=new WeakMap;class T extends m.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,O,y(this)),g(this)}get menu(){return(0,a.A)(O,this)}set menu(e){(0,o.A)(O,this,e)}render(){return s().createElement(I,{menu:this.menu})}}function I(e){const{menu:t}=e,n=(0,d.getHistory)(),[r,i]=(0,u.useState)(n.location),{pathname:o,search:a}=r,[c,l]=(0,u.useState)([]),[m,f]=(0,u.useState)([]),h=(0,u.useCallback)((()=>{var e;const{selectedKeys:n,openedKeys:r}=(0,p.LP)(null!==(e=null==t?void 0:t.menuItems)&&void 0!==e?e:[],o,a,"");l(n),f(r)}),[null==t?void 0:t.menuItems,o,a]);(0,u.useEffect)((()=>{const e=n.listen((e=>{i(e)}));return h(),e}),[n,h]);const b=(0,u.useCallback)((e=>{var t;return 16*((null===(t=e.key)||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t.length)-1)}),[]);function y(e,t){return(0,p.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(A,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:b(e)},bodyStyle:{paddingLeft:b(e)/2},collapsed:!m.includes(e.key)},s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e,{inSubmenu:!0})))))})(e):(0,p.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(k,null,s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e)))))})(e):((e,t)=>s().createElement(E,{className:v()("menu-item",{"in-submenu":null==t?void 0:t.inSubmenu}),style:{paddingLeft:b(e)||16},icon:e.icon,active:!!e.key&&c.includes(e.key)},s().createElement(S,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},s().createElement("span",{className:v()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return s().createElement(w,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&s().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&s().createElement(x,null==t?void 0:t.icon),s().createElement("span",{className:"title"},null==t?void 0:t.title)),s().createElement("div",{className:"content"},null==t?void 0:t.menuItems.map((e=>s().createElement(s().Fragment,{key:e.key},y(e))))))}r=T,({e:[y,g],c:[N,b]}=(0,c.A)(r,[j("eo-sidebar-sub-menu",{styleTexts:[f.A]})],[[P({attribute:!1}),1,"menu"]],0,void 0,m.ReactNextElement)),b()},1409:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:block}:host([hidden]){display:none}.menu-container{box-sizing:border-box;background:var(--third-menu-default-bg);border:1px solid var(--stroke-color-default);border-width:0 1px 0 0;border-radius:0px;padding:20px 0px;height:100%}.menu-container .header{display:flex;gap:10px;align-items:center;font-size:var(--title-font-size);padding:0 20px 16px 20px;line-height:26px;color:var(--color-header-text)}:is(.menu-container .header) .title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-wrap:break-word}.menu-container .content{padding:0 12px}.menu-container .menu-item,.menu-container .menu-sub-item::part(sub-menu-item-title){margin:0;padding-right:16px;height:40px;line-height:40px;border-radius:4px;margin-bottom:4px}.menu-container .menu-item::part(menu-item-icon),.menu-container .menu-sub-item::part(menu-item-icon){color:var(--color-secondary-text)}.menu-container .menu-item-link{width:100%;color:var(--color-secondary-text)}.menu-container .menu-item-text,.menu-container .menu-group-text,.menu-container .menu-item-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-container .menu-item-text{display:block;box-sizing:border-box;color:var(--antd-text-color)}.menu-container .menu-item:hover{background:var(--third-menu-item-hover-bg);color:var(--color-header-text)}:is(.menu-container .menu-item:hover) .menu-item-text{color:var(--color-header-text);font-weight:var(--font-weight-400)}:is(.menu-container .in-submenu) .menu-item-text{color:var(--color-normal-text)}.menu-container .menu-sub-item::part(sub-menu-item-title):hover{color:var(--color-header-text)}.menu-container .menu-item-text.item-has-icon{margin-left:6px}.menu-container .menu-item[active]{color:var(--color-brand);background-color:var(--third-menu-item-selected-bg)}.menu-container .menu-item[active] .menu-item-text{color:var(--color-brand);font-weight:var(--font-weight-500)}",""]);const c=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&a[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),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,u,s){var l,m,d,p,f,h,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,x=[g(null),g(null)],w=t.length;function k(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,i,a,c,u,s,d,p,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),b=t[3],g=!u,w=1===a,E=3===a,S=4===a,j=2===a;function P(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),N[t].call(i,o)}}if(!g){var N={},O=[],T=E?"get":S||w?"set":"value";if(d?(p||w?N={get:o((function(){return b(this)}),i,"get"),set:function(e){t[4](this,e)}}:N[T]=b,p||o(N[T],i,j?"":T)):p||(N=Object.getOwnPropertyDescriptor(e,i)),!p&&!d){if((m=x[+s][i])&&7!=(m^a))throw Error("Decorating two elements with the same name ("+N[T].name+") is not supported yet");x[+s][i]=a<3?1:a}}for(var I=e,K=v.length-1;K>=0;K-=n?2:1){var z=A(v[K],"A decorator","be",!0),B=n?v[K-1]:void 0,L={},C={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),c.push(t)}.bind(null,L)};if(g)m=z.call(B,I,C),L.v=1,A(m,"class decorators","return")&&(I=m);else if(C.static=s,C.private=d,m=C.access={has:d?f.bind():function(e){return i in e}},S||(m.get=d?j?function(e){return h(e),N.value}:P("get",0,h):function(e){return e[i]}),j||E||(m.set=d?P("set",0,h):function(e,t){e[i]=t}),I=z.call(B,w?{get:N.get,set:N.set}:N[T],C),L.v=1,w){if("object"==(0,r.A)(I)&&I)(m=A(I.get,"accessor.get"))&&(N.get=m),(m=A(I.set,"accessor.set"))&&(N.set=m),(m=A(I.init,"accessor.init"))&&O.unshift(m);else if(void 0!==I)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(I,(p?"field":"method")+" decorators","return")&&(p?O.unshift(I):N[T]=I)}return a<2&&u.push(k(O,s,1),k(c,s,0)),p||g||(d?w?u.splice(-1,0,P("get",s),P("set",s)):u.push(j?N[T]:A.call.bind(N[T])):y(e,i,N)),I}function S(e){return y(e,b,{configurable:!0,enumerable:!0,value:l})}return void 0!==s&&(l=s[b]),l=g(null==l?null:l),f=[],h=function(e){e&&f.push(k(e))},v=function(t,r){for(var o=0;o<n.length;o++){var c=n[o],s=c[1],l=7&s;if((8&s)==t&&!l==r){var m=c[2],h=!!c[3],v=16&s;E(t?e:e.prototype,c,v,h?"#"+m:(0,a.A)(m),l,l<2?[]:t?p=p||[]:d=d||[],f,!!t,h,r,t&&h?function(t){return(0,i.A)(t)===e}:u)}}},v(8,0),v(0,0),v(8,1),v(0,1),h(d),h(p),m=f,w||S(e),{e:m,get c(){var n=[];return w&&[S(e=E(e,[t],c,e.name,5,n)),k(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(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 i=n.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(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})},764:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>a,LP:()=>u,Wf:()=>c});var r=n(1201),i=n(3474),o=n(1030);function a(e){return"group"===e.type}function c(e,t){return Boolean("subMenu"===e.type||t&&"group"===e.type)}function u(e,t,n,l){const m=[],d=[],p=[];let f=0;return e&&e.forEach((e=>{if(e.key=""===l?`${f}`:`${l}.${f}`,a(e)||c(e)){const r=u(e.items,t,n,e.key);m.push(...r.selectedKeys),(r.selectedKeys.length||e.defaultExpanded)&&d.push(e.key),d.push(...r.openedKeys),p.push(...r.matchedKeys)}else if(function(e,t,n){if(!e.to)return!1;const a="object"==typeof e.to?e.to:(0,r.parsePath)(e.to),c=a.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let u=!!(0,i.matchPath)(t,{path:c,exact:e.exact});if(u&&e.activeMatchSearch&&(u=s(n,a.search)),!u&&Array.isArray(e.activeIncludes))for(const a of e.activeIncludes){let e,c=!0;(0,o.isObject)(a)?(e=Array.isArray(a.path)?a.path:[a.path],c=a.exact):e=[a];for(const o of e){var l;let e;const a=o.includes("?");if(a&&(e=(0,r.parsePath)(o)),u=!!(0,i.matchPath)(t,{path:a?e.pathname:o,exact:c}),u&&null!==(l=e)&&void 0!==l&&l.search&&(u=s(n,e.search)),u)break}if(u)break}if(u&&Array.isArray(e.activeExcludes))for(const n of e.activeExcludes){let e,r=!0;(0,o.isObject)(n)?(e=Array.isArray(n.path)?n.path:[n.path],r=n.exact):e=[n];for(const n of e)if(u=!(0,i.matchPath)(t,{path:n,exact:r}),!u)break;if(!u)break}return u}(e,t,n)){m.push(String(e.key));const t=e.key.split(".");for(let e=0;e<t.length;e++)p.push(t.slice(0,e+1).join("."))}f+=1})),m.length&&""!==l&&d.push(l),{selectedKeys:m,openedKeys:d,matchedKeys:p}}function s(e,t){const n=new URLSearchParams(e),r=new URLSearchParams(t);for(const[e,t]of r.entries()){var i;if((null!==(i=n.get(e))&&void 0!==i?i:"")!==t)return!1}return!0}}}]);
3
- //# sourceMappingURL=eo-sidebar-sub-menu.4142bdb5.js.map
@@ -1,2 +0,0 @@
1
- (()=>{var e,t,r,n,a,o,l,i,c,s,d,u,f,h,p,m,b,v,x,g,y,P,k,w,j={7934:(e,t,r)=>{Promise.all([r.e(6256),r.e(2140),r.e(8769),r.e(300),r.e(4295),r.e(6477),r.e(1030),r.e(3474),r.e(3078),r.e(6181),r.e(6730),r.e(3496),r.e(4953),r.e(7008),r.e(2133),r.e(9435),r.e(7896),r.e(1201),r.e(6595),r.e(8518),r.e(9149),r.e(6238),r.e(9422),r.e(884)]).then(r.bind(r,884))}},S={};function O(e){var t=S[e];if(void 0!==t)return t.exports;var r=S[e]={id:e,loaded:!1,exports:{}};return j[e].call(r.exports,r,r.exports,O),r.loaded=!0,r.exports}O.m=j,O.c=S,O.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return O.d(t,{a:t}),t},O.d=(e,t)=>{for(var r in t)O.o(t,r)&&!O.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},O.f={},O.e=e=>Promise.all(Object.keys(O.f).reduce(((t,r)=>(O.f[r](e,t),t)),[])),O.u=e=>"chunks/"+e+"."+{114:"05400951",300:"27df3f45",522:"cc6d0b9e",726:"1d2dd9fa",871:"18bf8ba5",884:"2d6b1603",1030:"d8e8567f",1045:"28eda4d4",1122:"46c08d5f",1201:"80a215f1",1302:"4e7b8030",1369:"f2a1f366",1370:"62ed48ee",1491:"44fbb12e",1744:"ebadbc36",1889:"812b9ca5",1940:"ea2c72ec",2052:"14b1b2e4",2133:"6c54ee2c",2140:"389d0f1b",2252:"03e37978",2277:"d2d6504b",3078:"eec3e7a6",3131:"a118c3a2",3144:"7f10ba4c",3171:"1db1673f",3278:"083af081",3340:"2a119cbc",3474:"aec0b501",3496:"bc6d70f3",3751:"625e4868",3933:"7a137140",4041:"c7de4a6d",4295:"e3461f71",4306:"543cf3ba",4658:"caf2d3b4",4837:"a9164f03",4953:"27f39abb",5250:"12cae457",5294:"92b3255a",5384:"a93e34e9",5399:"77e45ce2",5552:"0ff35510",6132:"2bc55492",6181:"5c6522e0",6238:"20472d9f",6256:"5623ff67",6314:"2b837619",6477:"7640bcd5",6519:"c702aa91",6521:"5c702db6",6595:"7e2acb0f",6688:"1e945a77",6730:"3dc604ed",6773:"b8de20f0",7008:"1812dc2f",7218:"5667890b",7721:"a4d4ce25",7733:"c358be3a",7896:"750830ad",8097:"97a89ad6",8518:"cc5952ec",8679:"e1a32966",8769:"88911f42",8989:"69bc5a2a",9149:"606acdd4",9422:"55f60551",9435:"075ce1bc",9515:"df23b98d",9559:"1f660b3f",9755:"df6d6486",9844:"b58a111c"}[e]+".js",O.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),O.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/nav:",O.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,O.nc&&l.setAttribute("nonce",O.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var u=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},O.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},O.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{O.S={};var e={},t={};O.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];O.o(O.S,r)||(O.S[r]={});var o=O.S[r],l="@next-bricks/nav",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.25.3",(()=>O.e(6773).then((()=>()=>O(6773))))),i("@easyops-cn/brick-next-pipes","0.7.1",(()=>Promise.all([O.e(4306),O.e(1030),O.e(6688)]).then((()=>()=>O(4306))))),i("@next-core/cook","2.5.2",(()=>Promise.all([O.e(1122),O.e(3340)]).then((()=>()=>O(8741))))),i("@next-core/easyops-runtime","0.12.36",(()=>Promise.all([O.e(2252),O.e(1030),O.e(3474),O.e(3078),O.e(6181),O.e(6730),O.e(3496),O.e(1744),O.e(522),O.e(3131),O.e(8679),O.e(1369)]).then((()=>()=>O(2252))))),i("@next-core/element","1.2.13",(()=>O.e(1045).then((()=>()=>O(1045))))),i("@next-core/http","1.2.8",(()=>O.e(8989).then((()=>()=>O(8989))))),i("@next-core/i18n/react","1.0.69",(()=>Promise.all([O.e(6181),O.e(8097)]).then((()=>()=>O(8097))))),i("@next-core/i18n","1.0.69",(()=>Promise.all([O.e(3078),O.e(6181),O.e(9755),O.e(5552)]).then((()=>()=>O(5552))))),i("@next-core/inject","1.0.47",(()=>Promise.all([O.e(1030),O.e(1744),O.e(2277)]).then((()=>()=>O(2277))))),i("@next-core/loader","1.6.10",(()=>O.e(5399).then((()=>()=>O(5399))))),i("@next-core/pipes","2.0.27",(()=>O.e(6519).then((()=>()=>O(6519))))),i("@next-core/react-element","1.0.32",(()=>Promise.all([O.e(8769),O.e(300),O.e(9435),O.e(114)]).then((()=>()=>O(114))))),i("@next-core/react-runtime","1.6.53",(()=>Promise.all([O.e(8769),O.e(4295),O.e(1030),O.e(3474),O.e(4837)]).then((()=>()=>O(4837))))),i("@next-core/runtime","1.57.2",(()=>Promise.all([O.e(1491),O.e(1030),O.e(3078),O.e(6181),O.e(522),O.e(3131),O.e(1302),O.e(6521)]).then((()=>()=>O(1491))))),i("@next-core/supply","2.2.2",(()=>Promise.all([O.e(1030),O.e(1744),O.e(1302),O.e(9559)]).then((()=>()=>O(9559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([O.e(1889),O.e(2052)]).then((()=>()=>O(1889))))),i("@next-core/utils/general","1.7.27",(()=>O.e(871).then((()=>()=>O(871))))),i("@next-core/utils/storyboard","1.7.27",(()=>Promise.all([O.e(3078),O.e(522),O.e(3933)]).then((()=>()=>O(3933))))),i("history","4.10.1",(()=>O.e(5384).then((()=>()=>O(5384))))),i("i18next-browser-languagedetector","7.2.1",(()=>O.e(726).then((()=>()=>O(726))))),i("i18next","22.5.1",(()=>O.e(3278).then((()=>()=>O(3278))))),i("js-yaml","3.14.1",(()=>O.e(9515).then((()=>()=>O(9515))))),i("lodash","4.17.21",(()=>O.e(5250).then((()=>()=>O(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(1329))))),i("moment","2.30.1",(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([O.e(3144),O.e(8769)]).then((()=>()=>O(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([O.e(5294),O.e(8769)]).then((()=>()=>O(5294))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>O.e(4041).then((()=>()=>O(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;O.g.importScripts&&(e=O.g.location+"");var t=O.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),O.p=e+"../"})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==u?i>n&&!a:""==u!=a);if("u"==d){if(!c||"u"!=u)return!1}else if(c)if(u==d)if(i<=n){if(s!=e[i])return!1}else{if(a?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=u&&"n"!=u){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||d<u!=a)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var p=e[l];f.push(1==p?h()|h():2==p?h()&h():p?o(p,t):!h())}return!!h()},l=(e,t)=>e&&O.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,a)=>{var l=a?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&l[t]},d=(e,t,r)=>{var a=r?c(e[t]):e[t];return Object.keys(a).reduce(((e,t)=>!e||!a[e].loaded&&n(e,t)?t:e),0)},u=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",f=(e,t,r,n,o)=>{var l=e[r];return"No satisfying version ("+a(n)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,n,a,o){var l=O.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,O.S[t],r,!1,a,o)):e(t,O.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!l(t,r))return b(e,r,o);var c=s(t,r,a,n);return c?i(c):o?o():void h(f(t,e,r,a,n))})),x=m(((e,t,r,n,a)=>{if(!l(t,r))return b(e,r,a);var o=d(t,r,n);return i(t[r][o])})),g=m(((e,t,r,n,a,c)=>{if(!l(t,r))return b(e,r,c);var s=d(t,r,n);return o(a,s)||p(u(t,r,s,a)),i(t[r][s])})),y={},P={8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>O.e(4041).then((()=>()=>O(4041))))),300:()=>v("default","@next-core/element",!1,[1,1,2,13],(()=>O.e(1045).then((()=>()=>O(1045))))),4295:()=>v("default","@next-core/react-element",!1,[1,1,0,32],(()=>Promise.all([O.e(300),O.e(9435),O.e(7733)]).then((()=>()=>O(114))))),6477:()=>g("default","@next-core/theme",!1,[1,1,5,4],(()=>O.e(1889).then((()=>()=>O(1889))))),1030:()=>g("default","lodash",!1,[1,4,17,21],(()=>O.e(5250).then((()=>()=>O(5250))))),3474:()=>g("default","@next-core/runtime",!1,[1,1,57,2],(()=>Promise.all([O.e(1491),O.e(1030),O.e(3078),O.e(6181),O.e(522),O.e(3131),O.e(1302),O.e(6521)]).then((()=>()=>O(1491))))),3078:()=>g("default","@next-core/utils/general",!1,[1,1,7,27],(()=>O.e(871).then((()=>()=>O(871))))),6181:()=>g("default","@next-core/i18n",!1,[1,1,0,69],(()=>Promise.all([O.e(3078),O.e(9755),O.e(3171)]).then((()=>()=>O(5552))))),4349:()=>g("default","@next-core/http",!1,[1,1,0,0],(()=>O.e(1370).then((()=>()=>O(8989))))),3496:()=>g("default","@next-core/http",!1,[1,1,0,6],(()=>O.e(1370).then((()=>()=>O(8989))))),4953:()=>g("default","@next-core/easyops-runtime",!1,[2,0,12,36],(()=>Promise.all([O.e(2252),O.e(1030),O.e(3078),O.e(6181),O.e(6730),O.e(3496),O.e(1744),O.e(522),O.e(3131),O.e(8679)]).then((()=>()=>O(2252))))),7008:()=>v("default","@next-core/react-runtime",!1,[1,1,6,53],(()=>Promise.all([O.e(1030),O.e(3474),O.e(7218)]).then((()=>()=>O(4837))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>O.e(3144).then((()=>()=>O(3144))))),7896:()=>g("default","@next-core/i18n/react",!1,[1,1,0,69],(()=>Promise.all([O.e(6181),O.e(8097)]).then((()=>()=>O(8097))))),1201:()=>g("default","history",!1,[1,4,7,11],(()=>O.e(5384).then((()=>()=>O(5384))))),6238:()=>x("default","moment",!1,(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(9420))))),9422:()=>g("default","@next-core/http",!1,[1,1,2,6],(()=>O.e(3751).then((()=>()=>O(8989))))),1204:()=>g("default","js-yaml",!1,[1,3,14,0],(()=>O.e(9515).then((()=>()=>O(9515))))),8297:()=>g("default","moment",!1,[1,2,27,0],(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(9420))))),3340:()=>g("default","@babel/parser",!1,[1,7,25,6],(()=>O.e(6773).then((()=>()=>O(6773))))),1744:()=>g("default","@next-core/pipes",!1,[1,2,0,27],(()=>O.e(6519).then((()=>()=>O(6519))))),522:()=>g("default","@next-core/cook",!1,[1,2,5,2],(()=>Promise.all([O.e(1122),O.e(3340)]).then((()=>()=>O(8741))))),108:()=>g("default","@next-core/http",!1,[1,1,2,8],(()=>O.e(6132).then((()=>()=>O(8989))))),4958:()=>g("default","@next-core/utils/storyboard",!1,[1,1,7,27],(()=>O.e(6314).then((()=>()=>O(3933))))),8679:()=>g("default","js-yaml",!1,[1,3,14,1],(()=>O.e(9515).then((()=>()=>O(9515))))),7825:()=>g("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([O.e(5294),O.e(8769)]).then((()=>()=>O(5294))))),2350:()=>g("default","i18next",!1,[1,22,5,1],(()=>O.e(3278).then((()=>()=>O(3278))))),7072:()=>g("default","i18next-browser-languagedetector",!1,[1,7,2,1],(()=>O.e(726).then((()=>()=>O(726))))),3669:()=>g("default","@easyops-cn/brick-next-pipes",!1,[2,0,7,1],(()=>Promise.all([O.e(4306),O.e(1030),O.e(6688)]).then((()=>()=>O(4306))))),1302:()=>g("default","moment",!1,[1,2,30,1],(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(9420))))),49:()=>g("default","@next-core/loader",!1,[1,1,6,10],(()=>O.e(5399).then((()=>()=>O(5399))))),2890:()=>g("default","history",!1,[1,4,10,1],(()=>O.e(5384).then((()=>()=>O(5384))))),3872:()=>g("default","@next-core/inject",!1,[1,1,0,47],(()=>Promise.all([O.e(1744),O.e(4658)]).then((()=>()=>O(2277))))),6036:()=>g("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([O.e(7721),O.e(9844)]).then((()=>()=>O(1329))))),9613:()=>g("default","@next-core/supply",!1,[1,2,2,2],(()=>Promise.all([O.e(1744),O.e(1940)]).then((()=>()=>O(9559)))))},k={300:[300],522:[522],1030:[1030],1201:[1201],1302:[1302],1744:[1744],3078:[3078],3131:[108,4958],3340:[3340],3474:[3474],3496:[3496],4295:[4295],4953:[4953],6181:[6181],6238:[6238],6477:[6477],6519:[3669],6521:[49,2890,3872,6036,9613],6688:[1204,8297],6730:[4349],7008:[7008],7896:[7896],8097:[7825],8679:[8679],8769:[8769],9422:[9422],9435:[9435],9755:[2350,7072]},w={},O.f.consumes=(e,t)=>{O.o(k,e)&&k[e].forEach((e=>{if(O.o(y,e))return t.push(y[e]);if(!w[e]){var r=t=>{y[e]=0,O.m[e]=r=>{delete O.c[e],r.exports=t()}};w[e]=!0;var n=t=>{delete y[e],O.m[e]=r=>{throw delete O.c[e],t}};try{var a=P[e]();a.then?t.push(y[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={8792:0};O.f.j=(t,r)=>{var n=O.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(030|201|302|744)|3(00|078|131|340|474|496)|6(181|238|477|521|688|730)|9(422|435|755)|4295|4953|522|7008|7896|8679|8769)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=O.p+O.u(t),l=new Error;O.l(o,(r=>{if(O.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)O.o(l,n)&&(O.m[n]=l[n]);i&&i(O)}for(t&&t(r);c<o.length;c++)a=o[c],O.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),O.nc=void 0,O(7934)})();
2
- //# sourceMappingURL=main.6382f486.js.map