@next-bricks/nav 1.22.9 → 1.23.0

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 (69) hide show
  1. package/dist/bricks.json +26 -26
  2. package/dist/chunks/2133.8c2de8bf.js +2 -0
  3. package/dist/chunks/2133.8c2de8bf.js.map +1 -0
  4. package/dist/chunks/2241.f4e16879.js +3 -0
  5. package/dist/chunks/2241.f4e16879.js.map +1 -0
  6. package/dist/chunks/4433.37b5f4d3.js +2 -0
  7. package/dist/chunks/4433.37b5f4d3.js.map +1 -0
  8. package/dist/chunks/4691.5e4633d7.js +3 -0
  9. package/dist/chunks/4691.5e4633d7.js.map +1 -0
  10. package/dist/chunks/9149.447c2c4f.js +2 -0
  11. package/dist/chunks/9149.447c2c4f.js.map +1 -0
  12. package/dist/chunks/9363.e198a81d.js +3 -0
  13. package/dist/chunks/9363.e198a81d.js.map +1 -0
  14. package/dist/chunks/{eo-launchpad-button-v2.927f72d2.js → eo-launchpad-button-v2.2924d210.js} +3 -3
  15. package/dist/chunks/eo-launchpad-button-v2.2924d210.js.map +1 -0
  16. package/dist/chunks/eo-launchpad-button.ca77a7df.js +3 -0
  17. package/dist/chunks/eo-launchpad-button.ca77a7df.js.map +1 -0
  18. package/dist/chunks/eo-launchpad-quick-access.d6349d06.js +3 -0
  19. package/dist/chunks/eo-launchpad-quick-access.d6349d06.js.map +1 -0
  20. package/dist/chunks/eo-launchpad-recent-visits.49228467.js +3 -0
  21. package/dist/chunks/eo-launchpad-recent-visits.49228467.js.map +1 -0
  22. package/dist/chunks/{eo-search-launchpad.3c5eb6d6.js → eo-search-launchpad.393d7776.js} +2 -2
  23. package/dist/chunks/eo-search-launchpad.393d7776.js.map +1 -0
  24. package/dist/chunks/launchpad-config.b5571d5c.js +3 -0
  25. package/dist/chunks/launchpad-config.b5571d5c.js.map +1 -0
  26. package/dist/chunks/{main.5f7d6c2d.js → main.687699fb.js} +2 -2
  27. package/dist/chunks/{main.5f7d6c2d.js.map → main.687699fb.js.map} +1 -1
  28. package/dist/examples.json +3 -3
  29. package/dist/index.682ed3ce.js +2 -0
  30. package/dist/index.682ed3ce.js.map +1 -0
  31. package/dist/manifest.json +51 -51
  32. package/dist/types.json +161 -161
  33. package/dist-types/launchpad-button-v2/i18n.d.ts +26 -0
  34. package/dist-types/launchpad-button-v2/interfaces.d.ts +12 -9
  35. package/dist-types/launchpad-config/interfaces.d.ts +1 -1
  36. package/dist-types/shared/getLocaleName.d.ts +1 -1
  37. package/package.json +2 -2
  38. package/dist/chunks/2133.a757ee32.js +0 -2
  39. package/dist/chunks/2133.a757ee32.js.map +0 -1
  40. package/dist/chunks/3796.3de4054c.js +0 -3
  41. package/dist/chunks/3796.3de4054c.js.map +0 -1
  42. package/dist/chunks/4433.14cd7c8d.js +0 -2
  43. package/dist/chunks/4433.14cd7c8d.js.map +0 -1
  44. package/dist/chunks/4691.0ea6af77.js +0 -3
  45. package/dist/chunks/4691.0ea6af77.js.map +0 -1
  46. package/dist/chunks/9149.1010c337.js +0 -2
  47. package/dist/chunks/9149.1010c337.js.map +0 -1
  48. package/dist/chunks/9363.ef03e062.js +0 -3
  49. package/dist/chunks/9363.ef03e062.js.map +0 -1
  50. package/dist/chunks/eo-launchpad-button-v2.927f72d2.js.map +0 -1
  51. package/dist/chunks/eo-launchpad-button.350d864f.js +0 -3
  52. package/dist/chunks/eo-launchpad-button.350d864f.js.map +0 -1
  53. package/dist/chunks/eo-launchpad-quick-access.d31fac62.js +0 -3
  54. package/dist/chunks/eo-launchpad-quick-access.d31fac62.js.map +0 -1
  55. package/dist/chunks/eo-launchpad-recent-visits.e9d9813f.js +0 -3
  56. package/dist/chunks/eo-launchpad-recent-visits.e9d9813f.js.map +0 -1
  57. package/dist/chunks/eo-search-launchpad.3c5eb6d6.js.map +0 -1
  58. package/dist/chunks/launchpad-config.48bac834.js +0 -3
  59. package/dist/chunks/launchpad-config.48bac834.js.map +0 -1
  60. package/dist/index.b95ce968.js +0 -2
  61. package/dist/index.b95ce968.js.map +0 -1
  62. /package/dist/chunks/{3796.3de4054c.js.LICENSE.txt → 2241.f4e16879.js.LICENSE.txt} +0 -0
  63. /package/dist/chunks/{4691.0ea6af77.js.LICENSE.txt → 4691.5e4633d7.js.LICENSE.txt} +0 -0
  64. /package/dist/chunks/{9363.ef03e062.js.LICENSE.txt → 9363.e198a81d.js.LICENSE.txt} +0 -0
  65. /package/dist/chunks/{eo-launchpad-button-v2.927f72d2.js.LICENSE.txt → eo-launchpad-button-v2.2924d210.js.LICENSE.txt} +0 -0
  66. /package/dist/chunks/{eo-launchpad-button.350d864f.js.LICENSE.txt → eo-launchpad-button.ca77a7df.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{eo-launchpad-quick-access.d31fac62.js.LICENSE.txt → eo-launchpad-quick-access.d6349d06.js.LICENSE.txt} +0 -0
  68. /package/dist/chunks/{eo-launchpad-recent-visits.e9d9813f.js.LICENSE.txt → eo-launchpad-recent-visits.49228467.js.LICENSE.txt} +0 -0
  69. /package/dist/chunks/{launchpad-config.48bac834.js.LICENSE.txt → launchpad-config.b5571d5c.js.LICENSE.txt} +0 -0
@@ -1,3 +0,0 @@
1
- /*! For license information please see 3796.3de4054c.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,2052,3796],{63:(t,e,r)=>{"use strict";r.d(e,{IZ:()=>a,LP:()=>s,Wf:()=>c});var n=r(1732),o=r(3081),i=r(1030);function a(t){return"group"===t.type}function c(t,e){return Boolean("subMenu"===t.type||e&&"group"===t.type)}function s(t,e,r,f){const l=[],p=[],d=[];let h=0;return t&&t.forEach((t=>{if(t.key=""===f?`${h}`:`${f}.${h}`,a(t)||c(t)){const n=s(t.items,e,r,t.key);l.push(...n.selectedKeys),(n.selectedKeys.length||t.defaultExpanded)&&p.push(t.key),p.push(...n.openedKeys),d.push(...n.matchedKeys)}else if(function(t,e,r){if(!t.to)return!1;const a="object"==typeof t.to?t.to:(0,n.parsePath)(t.to),c=a.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let s=!!(0,o.matchPath)(e,{path:c,exact:t.exact});if(s&&t.activeMatchSearch&&(s=u(r,a.search)),!s&&Array.isArray(t.activeIncludes))for(const a of t.activeIncludes){let t,c=!0;(0,i.isObject)(a)?(t=Array.isArray(a.path)?a.path:[a.path],c=a.exact):t=[a];for(const i of t){var f;let t;const a=i.includes("?");if(a&&(t=(0,n.parsePath)(i)),s=!!(0,o.matchPath)(e,{path:a?t.pathname:i,exact:c}),s&&null!==(f=t)&&void 0!==f&&f.search&&(s=u(r,t.search)),s)break}if(s)break}if(s&&Array.isArray(t.activeExcludes))for(const a of t.activeExcludes){let t,c=!0;(0,i.isObject)(a)?(t=Array.isArray(a.path)?a.path:[a.path],c=a.exact):t=[a];for(const i of t){let t;if(i.includes("?")&&(t=(0,n.parsePath)(i)),s=!((0,o.matchPath)(e,{path:t?t.pathname:i,exact:c})&&(!t||u(r,t.search))),!s)break}if(!s)break}return s}(t,e,r)){l.push(String(t.key));const e=t.key.split(".");for(let t=0;t<e.length;t++)d.push(e.slice(0,t+1).join("."))}h+=1})),l.length&&""!==f&&p.push(f),{selectedKeys:l,openedKeys:p,matchedKeys:d}}function u(t,e){const r=new URLSearchParams(t),n=new URLSearchParams(e);for(const[t,e]of n.entries()){var o;if((null!==(o=r.get(t))&&void 0!==o?o:"")!==e)return!1}return!0}},829:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2559);function o(t,e){return t.get((0,n.A)(t,e))}},855:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},918:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2016);function o(t,e,r){(0,n.A)(t,e),e.set(t,r)}},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<t.length;u++){var f=[].concat(t[u]);n&&a[f[0]]||(void 0!==i&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},1369:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(7545);function o(t){var e=function(t){if("object"!=(0,n.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=(0,n.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},1740:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},2016:(t,e,r)=>{"use strict";function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{A:()=>n})},2559:(t,e,r)=>{"use strict";function n(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r.d(e,{A:()=>n})},2591:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var i={},a=[],c=0;c<t.length;c++){var s=t[c],u=n.base?s[0]+n.base:s[0],f=i[u]||0,l="".concat(u," ").concat(f);i[u]=f+1;var p=r(l),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)e[p].references++,e[p].updater(d);else{var h=o(d,n);n.byIndex=c,e.splice(c,0,{identifier:l,updater:h,references:1})}a.push(l)}return a}function o(t,e){var r=e.domAPI(e);return r.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var i=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var c=r(i[a]);e[c].references--}for(var s=n(t,o),u=0;u<i.length;u++){var f=r(i[u]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}i=s}}},2740:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(7545),o=r(6902);function i(t,e,r){"symbol"==(0,n.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:r?r+" "+e:e})}catch(t){}return t}var a=r(1369);function c(t,e,r,c,s,u){var f,l,p,d,h,v,y,m=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,g=Object.create,A=[g(null),g(null)],w=e.length;function j(e,r,n){return function(o,i){r&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,n?[i]:[]);return n?i:o}}function O(t,e,r,n){if("function"!=typeof t&&(n||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return t}function x(t,e,r,o,a,c,s,u,p,d,h){function v(t){if(!h(t))throw new TypeError("Attempted to access private element on non-instance")}var y=[].concat(e[0]),m=e[3],g=!s,w=1===a,x=3===a,P=4===a,S=2===a;function E(e,r,n){return function(o,i){return r&&(i=o,o=t),n&&n(o),k[e].call(o,i)}}if(!g){var k={},I=[],T=x?"get":P||w?"set":"value";if(p?(d||w?k={get:i((function(){return m(this)}),o,"get"),set:function(t){e[4](this,t)}}:k[T]=m,d||i(k[T],o,S?"":T)):d||(k=Object.getOwnPropertyDescriptor(t,o)),!d&&!p){if((l=A[+u][o])&&7!=(l^a))throw Error("Decorating two elements with the same name ("+k[T].name+") is not supported yet");A[+u][o]=a<3?1:a}}for(var _=t,C=y.length-1;C>=0;C-=r?2:1){var M=O(y[C],"A decorator","be",!0),D=r?y[C-1]:void 0,K={},L={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:f,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");O(e,"An initializer","be",!0),c.push(e)}.bind(null,K)};if(g)l=M.call(D,_,L),K.v=1,O(l,"class decorators","return")&&(_=l);else if(L.static=u,L.private=p,l=L.access={has:p?h.bind():function(t){return o in t}},P||(l.get=p?S?function(t){return v(t),k.value}:E("get",0,v):function(t){return t[o]}),S||x||(l.set=p?E("set",0,v):function(t,e){t[o]=e}),_=M.call(D,w?{get:k.get,set:k.set}:k[T],L),K.v=1,w){if("object"==(0,n.A)(_)&&_)(l=O(_.get,"accessor.get"))&&(k.get=l),(l=O(_.set,"accessor.set"))&&(k.set=l),(l=O(_.init,"accessor.init"))&&I.unshift(l);else if(void 0!==_)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else O(_,(d?"field":"method")+" decorators","return")&&(d?I.unshift(_):k[T]=_)}return a<2&&s.push(j(I,u,1),j(c,u,0)),d||g||(p?w?s.splice(-1,0,E("get",u),E("set",u)):s.push(S?k[T]:O.call.bind(k[T])):b(t,o,k)),_}function P(t){return b(t,m,{configurable:!0,enumerable:!0,value:f})}return void 0!==u&&(f=u[m]),f=g(null==f?null:f),h=[],v=function(t){t&&h.push(j(t))},y=function(e,n){for(var i=0;i<r.length;i++){var c=r[i],u=c[1],f=7&u;if((8&u)==e&&!f==n){var l=c[2],v=!!c[3],y=16&u;x(e?t:t.prototype,c,y,v?"#"+l:(0,a.A)(l),f,f<2?[]:e?d=d||[]:p=p||[],h,!!e,v,n,e&&v?function(e){return(0,o.A)(e)===t}:s)}}},y(8,0),y(0,0),y(8,1),y(0,1),v(p),v(d),l=h,w||P(t),{e:l,get c(){var r=[];return w&&[P(t=x(t,[e],c,t.name,5,r)),j(r,1)]}}}},3051:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3373:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=a(t,i(r)))}return t}function i(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=a(e,r));return e}function a(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},3656:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},4156:(t,e,r)=>{"use strict";r.d(e,{B:()=>o});var n=r(1361),o=(t,e)=>n.http.post("api/gateway/user_service.my_collection.UpsertMyCollection/api/v1/user_service/my_collection/upsert_collections",t,e)},4586:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(1369);function o(t,e,r){return(e=(0,n.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},5343:(t,e,r)=>{"use strict";r.d(e,{Q:()=>a});var n=r(9740),o=r(6330),i=r(1361),a=function(){var t=(0,o.A)((function*(t,e){return(yield i.http.get("api/gateway/user_service.my_collection.ListMyCollection/api/v1/user_service/my_collection/collections",(0,n.A)((0,n.A)({},e),{},{params:t}))).data}));return function(e,r){return t.apply(this,arguments)}}()},6121:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2559);function o(t,e,r){return t.set((0,n.A)(t,e),r),r}},6330:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))}}r.d(e,{A:()=>o})},6758:t=>{"use strict";t.exports=function(t){return t[1]}},6902:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(7545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.A)(t):"null"));return t}},7137:(t,e,r)=>{"use strict";r.d(e,{G:()=>n});class n{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=t,this.prefix=e}setItem(t,e){this.storage.setItem(this.prefix+t,JSON.stringify(e))}getItem(t){return JSON.parse(this.storage.getItem(this.prefix+t))}removeItem(t){return this.storage.removeItem(this.prefix+t)}clear(){return this.storage.clear()}}},7545:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})},8128:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9575:(t,e,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}r.d(e,{A:()=>n})},9740:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(4586);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){(0,n.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}}}]);
3
- //# sourceMappingURL=3796.3de4054c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/3796.3de4054c.js","mappings":";8MAGO,SAASA,EAAQC,GACtB,MAAqB,UAAdA,EAAKC,IACd,CACO,SAASC,EAAUF,EAAMG,GAC9B,OAAOC,QAAsB,YAAdJ,EAAKC,MAAsBE,GAAgC,UAAdH,EAAKC,KACnE,CACO,SAASI,EAAoCC,EAAWC,EAAUC,EAAQC,GAC/E,MAAMC,EAAe,GACfC,EAAa,GACbC,EAAc,GACpB,IAAIC,EAAS,EA0Bb,OAzBAP,GAAaA,EAAUQ,SAAQd,IAG7B,GADAA,EAAKe,IAAuB,KAAjBN,EAAsB,GA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7K,EAAGI,GAClB,IAAIL,EAAIwD,OAAOuH,KAAK9K,GACpB,GAAIuD,OAAOwH,sBAAuB,CAChC,IAAIpH,EAAIJ,OAAOwH,sBAAsB/K,GACrCI,IAAMuD,EAAIA,EAAEqH,QAAO,SAAU5K,GAC3B,OAAOmD,OAAO4B,yBAAyBnF,EAAGI,GAAG8F,UAC/C,KAAKnG,EAAEvE,KAAK2F,MAAMpB,EAAG4D,EACvB,CACA,OAAO5D,CACT,CACe,SAASkL,EAAejL,GACrC,IAAK,IAAII,EAAI,EAAGA,EAAIwB,UAAUnG,OAAQ2E,IAAK,CACzC,IAAIL,EAAI,MAAQ6B,UAAUxB,GAAKwB,UAAUxB,GAAK,CAAC,EAC/CA,EAAI,EAAIyK,EAAQtH,OAAOxD,IAAI,GAAI3E,SAAQ,SAAUgF,IAC/C,OAAeJ,EAAGI,EAAGL,EAAEK,GACzB,IAAKmD,OAAO2H,0BAA4B3H,OAAO4H,iBAAiBnL,EAAGuD,OAAO2H,0BAA0BnL,IAAM8K,EAAQtH,OAAOxD,IAAI3E,SAAQ,SAAUgF,GAC7ImD,OAAOC,eAAexD,EAAGI,EAAGmD,OAAO4B,yBAAyBpF,EAAGK,GACjE,GACF,CACA,OAAOJ,CACT","sources":["webpack:///../../node_modules/@next-shared/general/dist/esm/menu.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2311.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/classnames/index.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/@next-api-sdk/user-service-sdk/dist/esm/api/user_service/my_collection/upsertMyCollection.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@next-api-sdk/user-service-sdk/dist/esm/api/user_service/my_collection/listMyCollection.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.js","webpack:///../../node_modules/@next-shared/general/dist/esm/JsonStorage.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["import { parsePath } from \"history\";\nimport { matchPath } from \"@next-core/runtime\";\nimport { isObject } from \"lodash\";\nexport function isGroup(item) {\n return item.type === \"group\";\n}\nexport function isSubMenu(item, groupAsSubMenu) {\n return Boolean(item.type === \"subMenu\" || groupAsSubMenu && item.type === \"group\");\n}\nexport function initMenuItemAndMatchCurrentPathKeys(menuItems, pathname, search, parentCursor) {\n const selectedKeys = [];\n const openedKeys = [];\n const matchedKeys = [];\n let cursor = 0;\n menuItems && menuItems.forEach(item => {\n // key的格式最终为0,1,2,0.1,0.2,0.1.1,0.1.2\n item.key = parentCursor === \"\" ? `${cursor}` : `${parentCursor}.${cursor}`;\n if (isGroup(item) || isSubMenu(item)) {\n const tmp = initMenuItemAndMatchCurrentPathKeys(item.items, pathname, search, item.key);\n selectedKeys.push(...tmp.selectedKeys);\n if (tmp.selectedKeys.length || item.defaultExpanded) {\n openedKeys.push(item.key);\n }\n openedKeys.push(...tmp.openedKeys);\n matchedKeys.push(...tmp.matchedKeys);\n } else {\n if (matchMenuItem(item, pathname, search)) {\n selectedKeys.push(String(item.key));\n const keyPath = item.key.split(\".\");\n for (let i = 0; i < keyPath.length; i++) {\n matchedKeys.push(keyPath.slice(0, i + 1).join(\".\"));\n }\n }\n }\n cursor += 1;\n });\n if (selectedKeys.length && parentCursor !== \"\") {\n openedKeys.push(parentCursor);\n }\n return {\n selectedKeys: selectedKeys,\n openedKeys: openedKeys,\n matchedKeys: matchedKeys\n };\n}\nfunction getMatchOfSearch(currentSearch, toSearch) {\n const current = new URLSearchParams(currentSearch);\n const to = new URLSearchParams(toSearch);\n for (const [key, value] of to.entries()) {\n var _current$get;\n // Allow `?k=` to match `?` (when `k` doesn't exist)\n if (((_current$get = current.get(key)) !== null && _current$get !== void 0 ? _current$get : \"\") !== value) {\n return false;\n }\n }\n return true;\n}\nexport function matchMenuItem(item, pathname, search) {\n if (!item.to) return false;\n const to = typeof item.to === \"object\" ? item.to : parsePath(item.to);\n\n // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202\n const escapedPath = to.pathname.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n let match = !!matchPath(pathname, {\n path: escapedPath,\n exact: item.exact\n });\n if (match && item.activeMatchSearch) {\n match = getMatchOfSearch(search, to.search);\n }\n if (!match && Array.isArray(item.activeIncludes)) {\n for (const include of item.activeIncludes) {\n let paths;\n let exact = true;\n if (isObject(include)) {\n paths = Array.isArray(include.path) ? include.path : [include.path];\n exact = include.exact;\n } else {\n paths = [include];\n }\n for (const path of paths) {\n var _parsedPath;\n let parsedPath;\n const hasSearch = path.includes(\"?\");\n if (hasSearch) {\n parsedPath = parsePath(path);\n }\n match = !!matchPath(pathname, {\n path: hasSearch ? parsedPath.pathname : path,\n exact\n });\n if (match && (_parsedPath = parsedPath) !== null && _parsedPath !== void 0 && _parsedPath.search) {\n match = getMatchOfSearch(search, parsedPath.search);\n }\n if (match) {\n break;\n }\n }\n if (match) {\n break;\n }\n }\n }\n if (match && Array.isArray(item.activeExcludes)) {\n for (const include of item.activeExcludes) {\n let paths;\n let exact = true;\n if (isObject(include)) {\n paths = Array.isArray(include.path) ? include.path : [include.path];\n exact = include.exact;\n } else {\n paths = [include];\n }\n for (const path of paths) {\n let parsedPathWithSearch;\n if (path.includes(\"?\")) {\n parsedPathWithSearch = parsePath(path);\n }\n match = !(matchPath(pathname, {\n path: parsedPathWithSearch ? parsedPathWithSearch.pathname : path,\n exact\n }) && (!parsedPathWithSearch || getMatchOfSearch(search, parsedPathWithSearch.search)));\n if (!match) {\n break;\n }\n }\n if (!match) {\n break;\n }\n }\n }\n return match;\n}\n//# sourceMappingURL=menu.js.map","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import _typeof from \"./typeof.js\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2311(e, t, n, r, o, i) {\n var a,\n c,\n u,\n s,\n f,\n l,\n p,\n d = Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"),\n m = Object.defineProperty,\n h = Object.create,\n y = [h(null), h(null)],\n v = t.length;\n function g(t, n, r) {\n return function (o, i) {\n n && (i = o, o = e);\n for (var a = 0; a < t.length; a++) i = t[a].apply(o, r ? [i] : []);\n return r ? i : o;\n };\n }\n function b(e, t, n, r) {\n if (\"function\" != typeof e && (r || void 0 !== e)) throw new TypeError(t + \" must \" + (n || \"be\") + \" a function\" + (r ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, n, r, o, i, u, s, f, l, p) {\n function d(e) {\n if (!p(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var h = [].concat(t[0]),\n v = t[3],\n w = !u,\n D = 1 === o,\n S = 3 === o,\n j = 4 === o,\n E = 2 === o;\n function I(t, n, r) {\n return function (o, i) {\n return n && (i = o, o = e), r && r(o), P[t].call(o, i);\n };\n }\n if (!w) {\n var P = {},\n k = [],\n F = S ? \"get\" : j || D ? \"set\" : \"value\";\n if (f ? (l || D ? P = {\n get: setFunctionName(function () {\n return v(this);\n }, r, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : P[F] = v, l || setFunctionName(P[F], r, E ? \"\" : F)) : l || (P = Object.getOwnPropertyDescriptor(e, r)), !l && !f) {\n if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error(\"Decorating two elements with the same name (\" + P[F].name + \") is not supported yet\");\n y[+s][r] = o < 3 ? 1 : o;\n }\n }\n for (var N = e, O = h.length - 1; O >= 0; O -= n ? 2 : 1) {\n var z = b(h[O], \"A decorator\", \"be\", !0),\n A = n ? h[O - 1] : void 0,\n H = {},\n K = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: r,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw Error(\"attempted to call addInitializer after decoration was finished\");\n b(t, \"An initializer\", \"be\", !0), i.push(t);\n }.bind(null, H)\n };\n if (w) c = z.call(A, N, K), H.v = 1, b(c, \"class decorators\", \"return\") && (N = c);else if (K[\"static\"] = s, K[\"private\"] = f, c = K.access = {\n has: f ? p.bind() : function (e) {\n return r in e;\n }\n }, j || (c.get = f ? E ? function (e) {\n return d(e), P.value;\n } : I(\"get\", 0, d) : function (e) {\n return e[r];\n }), E || S || (c.set = f ? I(\"set\", 0, d) : function (e, t) {\n e[r] = t;\n }), N = z.call(A, D ? {\n get: P.get,\n set: P.set\n } : P[F], K), H.v = 1, D) {\n if (\"object\" == _typeof(N) && N) (c = b(N.get, \"accessor.get\")) && (P.get = c), (c = b(N.set, \"accessor.set\")) && (P.set = c), (c = b(N.init, \"accessor.init\")) && k.unshift(c);else if (void 0 !== N) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or undefined\");\n } else b(N, (l ? \"field\" : \"method\") + \" decorators\", \"return\") && (l ? k.unshift(N) : P[F] = N);\n }\n return o < 2 && u.push(g(k, s, 1), g(i, s, 0)), l || w || (f ? D ? u.splice(-1, 0, I(\"get\", s), I(\"set\", s)) : u.push(E ? P[F] : b.call.bind(P[F])) : m(e, r, P)), N;\n }\n function w(e) {\n return m(e, d, {\n configurable: !0,\n enumerable: !0,\n value: a\n });\n }\n return void 0 !== i && (a = i[d]), a = h(null == a ? null : a), f = [], l = function l(e) {\n e && f.push(g(e));\n }, p = function p(t, r) {\n for (var i = 0; i < n.length; i++) {\n var a = n[i],\n c = a[1],\n l = 7 & c;\n if ((8 & c) == t && !l == r) {\n var p = a[2],\n d = !!a[3],\n m = 16 & c;\n applyDec(t ? e : e.prototype, a, m, d ? \"#\" + p : toPropertyKey(p), l, l < 2 ? [] : t ? s = s || [] : u = u || [], f, !!t, d, r, t && d ? function (t) {\n return checkInRHS(t) === e;\n } : o);\n }\n }\n }, p(8, 0), p(0, 0), p(8, 1), p(0, 1), l(u), l(s), c = f, v || w(e), {\n e: c,\n get c() {\n var n = [];\n return v && [w(e = applyDec(e, [t], r, e.name, 5, n)), g(n, 1)];\n }\n };\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import { http } from \"@next-core/http\";\n/**\n * @description 更新/新增我的收藏,这个接口用于全量更新单实例\n * @endpoint POST /api/v1/user_service/my_collection/upsert_collections\n */\nexport var MyCollectionApi_upsertMyCollection = (data, options) => /**! @contract easyops.api.user_service.my_collection.UpsertMyCollection@1.0.0 */http.post(\"api/gateway/user_service.my_collection.UpsertMyCollection/api/v1/user_service/my_collection/upsert_collections\", data, options);\n//# sourceMappingURL=upsertMyCollection.js.map","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { http } from \"@next-core/http\";\n/**\n * @description 获取我的收藏列表\n * @endpoint GET /api/v1/user_service/my_collection/collections\n */\nexport var MyCollectionApi_listMyCollection = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator(function* (params, options) {\n return (/**! @contract easyops.api.user_service.my_collection.ListMyCollection@1.0.0 */(yield http.get(\"api/gateway/user_service.my_collection.ListMyCollection/api/v1/user_service/my_collection/collections\", _objectSpread(_objectSpread({}, options), {}, {\n params\n }))).data\n );\n });\n return function MyCollectionApi_listMyCollection(_x, _x2) {\n return _ref.apply(this, arguments);\n };\n}();\n//# sourceMappingURL=listMyCollection.js.map","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\n}","export 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));\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","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}"],"names":["isGroup","item","type","isSubMenu","groupAsSubMenu","Boolean","initMenuItemAndMatchCurrentPathKeys","menuItems","pathname","search","parentCursor","selectedKeys","openedKeys","matchedKeys","cursor","forEach","key","tmp","items","push","length","defaultExpanded","to","parsePath","escapedPath","replace","match","matchPath","path","exact","activeMatchSearch","getMatchOfSearch","Array","isArray","activeIncludes","include","paths","isObject","_parsedPath","parsedPath","hasSearch","includes","activeExcludes","parsedPathWithSearch","matchMenuItem","String","keyPath","split","i","slice","join","currentSearch","toSearch","current","URLSearchParams","value","entries","_current$get","get","_classPrivateFieldGet2","s","a","module","exports","styleElement","nonce","setAttribute","_classPrivateFieldInitSpec","obj","privateMap","set","cssWithMappingToString","list","toString","this","map","content","needLayer","concat","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","toPropertyKey","t","e","Symbol","toPrimitive","call","r","TypeError","options","document","update","remove","insertStyleElement","css","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","_checkPrivateRedeclaration","privateCollection","has","_assertClassBrand","n","arguments","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","domAPI","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","setFunctionName","description","Object","defineProperty","configurable","applyDecs2311","o","c","u","f","l","p","d","metadata","m","h","create","y","v","g","b","applyDec","w","D","S","j","E","I","P","F","getOwnPropertyDescriptor","Error","name","N","O","z","A","H","K","kind","addInitializer","bind","access","init","unshift","enumerable","prototype","checkInRHS","element","createElement","setAttributes","attributes","insert","hasOwn","hasOwnProperty","classNames","classes","arg","appendClass","parseValue","newClass","default","styleSheet","cssText","firstChild","appendChild","createTextNode","MyCollectionApi_upsertMyCollection","data","http","post","_defineProperty","writable","MyCollectionApi_listMyCollection","_ref","params","_x","_x2","_classPrivateFieldSet2","asyncGeneratorStep","gen","resolve","reject","_next","_throw","info","error","done","Promise","then","_asyncToGenerator","fn","self","args","err","_checkInRHS","JsonStorage","constructor","storage","prefix","setItem","getItem","parse","removeItem","clear","_typeof","iterator","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","_extends","assign","source","ownKeys","keys","getOwnPropertySymbols","filter","_objectSpread2","getOwnPropertyDescriptors","defineProperties"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[4433],{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)}.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)}.menu-container .menu-item:hover .menu-item-text{color:var(--color-header-text);font-weight:var(--font-weight-400)}.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()},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},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()},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()},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()},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()},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()},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-group.blocked .menu-group-label,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-item-label,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-icon,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-item-toggle,\n.menu-item.disabled > eo-link::part(link),\n.menu-item.disabled .menu-icon{color:var(--color-disabled-text)}.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):not(.disabled):hover .menu-config,\n.menu-item:not(.folder):not(.blocked):hover .menu-config,\n.menu-folder-label-wrapper:hover .menu-config{visibility:visible;width:24px}.menu-config:hover,\n.menu-item:not(.disabled) > eo-link:hover::part(link),\n.menu-item:not(.disabled) > 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()},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()},4433:(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),u=n(7921),m=n(3081),p=n(1280),h=n(6370),g=n(9527),f=n(63),v=(n(5168),n(3373)),b=n.n(v),x=n(1283),y=n(9044),k=n(9998),w=n(839),A=n(1122);let E,N,S,C,I,M,T;n(4211);const{defineElement:B,property:W}=(0,u.createDecorators)(),R=(0,p.wrapBrick)("eo-menu-item"),z=(0,p.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",onBeforeVisibleChange:"before.visible.change"});function K(e){const{item:t}=e;return(0,g.Wf)(t,e.topData)?d().createElement(F,(0,s.A)({},e,{item:t})):(0,g.IZ)(t)?d().createElement(L,(0,s.A)({},e,{item:t})):d().createElement(D,(0,s.A)({},e,{item:t}))}function D(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 P=e=>{const t=null!=_?_:_=window.innerWidth-document.body.clientWidth;document.body.style.paddingRight=e.detail?t+"px":"",document.body.style.overflow=e.detail?"hidden":"",document.body.style.touchAction=e.detail?"none":""};function F(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(z,{"data-index":n,className:b()("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:b()("sub-menu-wrapper",{"overflow-menu-wrapper":s})},r.items.map((e=>d().createElement(d().Fragment,{key:e.key},d().createElement(K,{item:e,selectedKey:o,showTooltip:l})))))):null}function L(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(U,{item:n,selectedKey:r,showTooltip:i,placement:"right-start",anchorDisplay:"block"}):"siteMap"===n.childLayout?d().createElement(V,{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(K,{item:e,showTooltip:i,selectedKey:r})))))):null}function U(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(z,{"data-index":n,className:b()("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:P},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(x.s,{menuItem:r,selectedKey:a}))):null}function V(e){var t;let{index:n,hidden:i,item:r,selectedKey:a=[],showTooltip:l,placement:o="bottom-start",anchorDisplay:s,topData:u,mainMenuTitleStyle:m}=e;const[p,h]=(0,c.useState)();return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(z,{"data-index":n,className:b()("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),P(e)}},d().createElement(R,{className:"sub-menu-item-label",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!1,m)),d().createElement("div",{className:b()("sub-menu-sit-map-wrapper",{"in-group-site-map":!u}),onClick:e=>e.stopPropagation()},d().createElement(y.bw,{menuGroup:r,selectedKey:a,visible:p}))):null}let G;var $=new WeakMap,O=new WeakMap,j=new WeakMap;class q extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,$,N(this)),(0,r.A)(this,O,(S(this),C(this))),(0,r.A)(this,j,(I(this),M(this))),T(this)}get menu(){return(0,l.A)($,this)}set menu(e){(0,a.A)($,this,e)}get mainMenuTitleStyle(){return(0,l.A)(O,this)}set mainMenuTitleStyle(e){(0,a.A)(O,this,e)}get showTooltip(){return(0,l.A)(j,this)}set showTooltip(e){(0,a.A)(j,this,e)}render(){return d().createElement(X,{menu:this.menu,showTooltip:this.showTooltip,mainMenuTitleStyle:this.mainMenuTitleStyle})}}function X(e){const{menu:t,showTooltip:n}=e,i=(0,m.getHistory)(),r=(0,c.useRef)(null),[a,l]=(0,c.useState)(i.location),[o,s]=(0,c.useState)(Number.MAX_SAFE_INTEGER),{pathname:u,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]),v=(0,c.useMemo)((()=>{const{selectedKeys:e}=(0,f.LP)(null!=h?h:[],u,p,"");return e}),[h,u,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 b=(0,c.useMemo)((()=>({type:"subMenu",title:"···",items:h.slice(o,h.length).map((e=>({...e,type:"group"===e.type&&e.items.length?"subMenu":e.type})))})),[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(U,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,mainMenuTitleStyle:e.mainMenuTitleStyle}):"group"===t.type&&"siteMap"===t.childLayout?d().createElement(V,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}):d().createElement(K,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))})),d().createElement(K,{hidden:o>h.length,item:b,showTooltip:n,selectedKey:v,overflow:!0,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}),d().createElement("slot",{name:"afterMenu"}))}i=q,({e:[N,S,C,I,M,T],c:[G,E]}=(0,o.A)(i,[B("eo-nav-menu",{styleTexts:[k.A,w.A,A.A,h.A]})],[[W({attribute:!1}),1,"menu"],[W({attribute:!1}),1,"mainMenuTitleStyle"],[W({type:Boolean}),1,"showTooltip"]],0,void 0,p.ReactNextElement)),E();var H,Y=n(6293),Z=n(6934),Q=n(9929),J=n(1);let ee;(0,Z.initializeReactI18n)(Q.NS,Q.I);const{defineElement:te}=(0,u.createDecorators)();let ne;class ie extends p.ReactNextElement{render(){return d().createElement(Y.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(7732),le=n(6674),oe=n(2240),se=n(5924),ce=n(3693),de=n(9302),ue=n(2133),me=n(8776);let pe;n(9262);const{defineElement:he}=(0,u.createDecorators)(),ge=(0,ae.unwrapProvider)("basic.lock-body-scroll");let fe;class ve extends p.ReactNextElement{disconnectedCallback(){super.disconnectedCallback(),ge(this,!1)}render(){return d().createElement(be,{host:this})}}function be(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,m.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;ue.ir.schedulePrefetch(),ue.fm.schedulePrefetch(),(null===(e=(0,m.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["launchpad-show-platform-category"])&&ue.pU.schedulePrefetch()}),[]),d().createElement(d().Fragment,null,d().createElement("a",{role:"button",className:b()("launchpad-button",{active:r}),onClick:l},d().createElement(oe.A,null)),d().createElement("div",{className:b()("mask",{active:r}),onClick:l}),n&&d().createElement(de.r,{active:r}))}re=ve,[fe,pe]=(0,o.A)(re,[he("eo-launchpad-button-v2",{styleTexts:[se.A,ce.A,me.A]})],[],0,void 0,p.ReactNextElement).c,pe();var xe=n(4635),ye=n(6902),ke=n(5536),we=n(9384),Ae=n(1030);const Ee=(0,p.wrapBrick)("eo-icon"),Ne=(0,p.wrapBrick)("eo-link"),Se=(0,p.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"});(0,ae.unwrapProvider)("basic.show-dialog");var Ce=n(6659);function Ie(e){var t;let{data:n,actions:i,variant:r,urlTemplate:a,customUrlTemplate:l,onMenuItemClick:o,onActionClick:s}=e;null!==(t=n.type)&&void 0!==t||(n.type="group");const{name:u,items:p}=n,[h,g]=(0,c.useState)(!1),f=(0,c.useMemo)((()=>m.__secret_internals.legacyDoTransform(n,null==i?void 0:i.filter((e=>(0,m.checkIfByTransform)(e,n))))),[i,n]),v=(0,c.useCallback)((e=>{null==s||s({data:n,action:e.detail})}),[n,s]);return d().createElement("li",{className:b()("menu-group",{empty:0===p.length,blocked:n.allBlocked})},d().createElement("div",{className:"menu-group-label-wrapper"},d().createElement("span",{className:"menu-group-label"},u),"menu-config"!==r&&!(null==f||!f.length)&&d().createElement(Se,{actions:f,onVisibleChange:e=>{g(e.detail)},onActionClick:v},d().createElement(Ee,{lib:"fa",icon:"gear",className:b()("menu-config",{active:h})}))),d().createElement("ul",{className:"menu"},p.map((e=>"dir"===e.type?d().createElement(Te,{key:e.instanceId,data:e,actions:i,variant:r,urlTemplate:a,customUrlTemplate:l,onMenuItemClick:o,onActionClick:s}):d().createElement(Me,{key:`${e.type}-${e.id}`,data:e,actions:i,variant:r,urlTemplate:a,customUrlTemplate:l,onClick:t=>{null==o||o({...e,...t})},onActionClick:s})))))}function Me(e){var t;let{data:n,actions:i,variant:r,urlTemplate:a,customUrlTemplate:l,onClick:o,onActionClick:u}=e;const p=(0,c.useMemo)((()=>"app"===n.type?(0,Ce.F)(n.locales,n.name):n.name),[n]),[h,g]=(0,c.useState)(!1),f=(0,c.useMemo)((()=>m.__secret_internals.legacyDoTransform(n,null==i?void 0:i.filter((e=>(0,m.checkIfByTransform)(e,n))))),[i,n]),v=(0,c.useCallback)((e=>{null==u||u({data:n,action:e.detail})}),[n,u]);let x,y=!1,k="";if("launchpad-config"===r||"menu-config"===r)if("app"===n.type)k=Be(a,n,"");else{const e=new URL(n.url,location.origin);x=e.pathname,y=e.origin!==location.origin,k=y?"":Be(l,{...n,__pathname:x},"")}return d().createElement("li",{className:b()("menu-item",{disabled:y||n.allBlocked}),onClick:()=>{null==o||o({__pathname:x})}},d().createElement(Ne,{tooltip:y?"该菜单项为外链,不支持配置":"",url:k},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"},p)),"menu-config"!==r&&!(null==f||!f.length)&&d().createElement(Se,{actions:f,onVisibleChange:e=>{g(e.detail)},onClick:e=>{e.stopPropagation()},onActionClick:v,"data-testid":`menu-item-actions-${n.id}`},d().createElement(Ee,{lib:"fa",icon:"gear",className:b()("menu-config",{active:h})})))}function Te(e){let{data:t,actions:n,variant:i,urlTemplate:r,customUrlTemplate:a,onMenuItemClick:l,onActionClick:o}=e;const{name:s,items:u}=t,[p,h]=(0,c.useState)(!1),[g,f]=(0,c.useState)(!1),v=(0,c.useMemo)((()=>m.__secret_internals.legacyDoTransform(t,null==n?void 0:n.filter((e=>(0,m.checkIfByTransform)(e,t))))),[n,t]),x=(0,c.useCallback)((()=>{f((e=>!e))}),[]),y=(0,c.useCallback)((e=>{null==o||o({data:t,action:e.detail})}),[t,o]);return d().createElement("li",{className:b()("menu-item folder",{empty:0===u.length,blocked:t.allBlocked})},d().createElement("div",{className:"menu-folder-label-wrapper"},d().createElement(Ne,{onClick:x},d().createElement(Ee,{lib:"fa",prefix:"far",icon:"folder-open",className:"menu-icon"}),d().createElement("span",{className:"menu-item-label"},s),d().createElement(Ee,{lib:"antd",icon:g?"up":"down",className:"menu-item-toggle"})),"menu-config"!==i&&!(null==v||!v.length)&&d().createElement(Se,{actions:v,onVisibleChange:e=>{h(e.detail)},onActionClick:y},d().createElement(Ee,{lib:"fa",icon:"gear",className:b()("menu-config",{active:p})}))),d().createElement("ul",{className:b()("sub-menu",{expanded:g})},u.map((e=>d().createElement(Me,{key:e.instanceId,data:e,actions:n,variant:i,urlTemplate:r,customUrlTemplate:a,onClick:t=>{null==l||l({...e,...t})},onActionClick:o})))))}function Be(e,t,n){var i;return null!==(i=null==e?void 0:e.replace(/{{(.*?)}}/g,((e,n)=>encodeURIComponent(String((0,Ae.get)(t,n.trim()))))))&&void 0!==i?i:n}var We,Re=n(4081);let ze,Ke,De,_e,Pe,Fe,Le,Ue,Ve,Ge,$e,Oe,je,qe,Xe,He,Ye,Ze,Qe,Je,et;const{defineElement:tt,property:nt,event:it}=(0,u.createDecorators)(),rt="/next/";let at;var lt=new WeakMap,ot=new WeakMap,st=new WeakMap,ct=new WeakMap,dt=new WeakMap,ut=new WeakMap,mt=new WeakMap,pt=new WeakSet,ht=new WeakMap,gt=new WeakMap,ft=new WeakMap;class vt extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,pt),(0,r.A)(this,lt,Ke(this)),(0,r.A)(this,ot,(De(this),_e(this))),(0,r.A)(this,st,(Pe(this),Fe(this))),(0,r.A)(this,ct,(Le(this),Ue(this))),(0,r.A)(this,dt,(Ve(this),Ge(this))),(0,r.A)(this,ut,($e(this),Oe(this))),(0,r.A)(this,mt,(je(this),qe(this))),(0,r.A)(this,ht,(Ye(this),Ze(this))),(0,r.A)(this,gt,(et(this),e=>{(0,ke.A)(pt,this,Xe).emit(e)})),(0,r.A)(this,ft,(e=>{(0,ke.A)(pt,this,Qe).emit(e)}))}get menuGroups(){return(0,l.A)(lt,this)}set menuGroups(e){(0,a.A)(lt,this,e)}get actions(){return(0,l.A)(ot,this)}set actions(e){(0,a.A)(ot,this,e)}get variant(){return(0,l.A)(st,this)}set variant(e){(0,a.A)(st,this,e)}get urlTemplate(){return(0,l.A)(ct,this)}set urlTemplate(e){(0,a.A)(ct,this,e)}get customUrlTemplate(){return(0,l.A)(dt,this)}set customUrlTemplate(e){(0,a.A)(dt,this,e)}get blacklist(){return(0,l.A)(ut,this)}set blacklist(e){(0,a.A)(ut,this,e)}render(){var e;return d().createElement(bt,{menuGroups:this.menuGroups,actions:this.actions,variant:null!==(e=this.variant)&&void 0!==e?e:"launchpad-config",urlTemplate:this.urlTemplate,customUrlTemplate:this.customUrlTemplate,blacklist:this.blacklist,onMenuItemClick:(0,l.A)(gt,this),onActionClick:(0,l.A)(ft,this)})}}function bt(e){let{menuGroups:t,actions:n,variant:i,urlTemplate:r,customUrlTemplate:a,blacklist:l,onMenuItemClick:o,onActionClick:s}=e;const u=(0,c.useMemo)((()=>{return"blacklist-config"===i?null==t?void 0:t.map((e=>{const t=e.items.map((e=>yt(e,l))),n=t.some((e=>e.blockable)),i=n&&t.some((e=>e.hasBlocked)),r=n&&t.some((e=>e.hasUnblocked)),a=t.length>0&&t.every((e=>e.allBlocked)),o=t.flatMap((e=>{var t,n;return e.blockable?null!==(t=null!==(n=e.blockableUrls)&&void 0!==n?n:e.blockableUrl)&&void 0!==t?t:e.url:[]}));return{...e,type:"group",items:t,blockable:n,hasBlocked:i,hasUnblocked:r,allBlocked:a,blockableUrls:o}})):"launchpad-config"===i?null===(e=function(e){return null==e?void 0:e.map((e=>{const t=e.items.map((e=>xt(e))).filter(Boolean);return t.length>0?{...e,items:t}:null})).filter(Boolean)}(t))||void 0===e?void 0:e.filter(Boolean):t;var e}),[i,t,l]);return d().createElement("ul",{className:"menu-groups"},null==u?void 0:u.map((e=>d().createElement(Ie,{key:e.instanceId,data:e,actions:n,variant:i,urlTemplate:r,customUrlTemplate:a,onMenuItemClick:o,onActionClick:s}))))}function xt(e){if("dir"===e.type){const t=e.items.map((e=>xt(e))).filter(Boolean);return t.length>0?{...e,items:t}:null}return"app"===e.type?e.url&&we.auth.isBlockedPath(e.url)?null:e:e.url&&we.auth.isBlockedHref(e.url)?null:e}function yt(e,t){if("dir"===e.type){const n=e.items.map((e=>yt(e,t))),i=n.some((e=>e.blockable)),r=n.some((e=>e.hasBlocked)),a=i&&n.some((e=>e.hasUnblocked)),l=n.length>0&&n.every((e=>e.allBlocked)),o=n.flatMap((e=>{var t,n;return e.blockable?null!==(t=null!==(n=e.blockableUrls)&&void 0!==n?n:e.blockableUrl)&&void 0!==t?t:e.url:[]}));return{...e,items:n,blockable:i,hasBlocked:r,hasUnblocked:a,allBlocked:l,blockableUrls:o}}if("app"===e.type){const n=!!e.url,i=n&&(null==t?void 0:t.includes(e.url)),r=n&&!i;return{...e,blockable:n,hasBlocked:i,hasUnblocked:r,allBlocked:i}}const{blockable:n,blockableUrl:i}=function(e){let t,n=!(null==e||!e.startsWith(rt));if(n){const i=new URL(e,location.origin);i.origin===location.origin&&i.pathname.startsWith(rt)?t=i.pathname.substring(5):(n=!1,t=void 0)}return{blockable:n,blockableUrl:t}}(e.url),r=n&&(null==t?void 0:t.includes(i)),a=n&&!r;return{...e,blockable:n,hasBlocked:r,hasUnblocked:a,allBlocked:r,blockableUrl:i}}We=vt,({e:[Ke,De,_e,Pe,Fe,Le,Ue,Ve,Ge,$e,Oe,je,qe,Xe,He,Ye,Ze,Qe,Je,et],c:[at,ze]}=(0,o.A)(We,[tt("nav.launchpad-config",{styleTexts:[Re.A]})],[[nt({attribute:!1}),1,"menuGroups"],[nt({attribute:!1}),1,"actions"],[nt(),1,"variant"],[nt(),1,"urlTemplate"],[nt(),1,"customUrlTemplate"],[nt({attribute:!1}),1,"blacklist"],[it({type:"menu-item.click"}),1,"menuItemClickEvent",e=>(0,l.A)(mt,e),(e,t)=>(0,a.A)(mt,e,t)],[it({type:"action.click"}),1,"actionClickEvent",e=>(0,l.A)(ht,e),(e,t)=>(0,a.A)(ht,e,t)]],0,(e=>ft.has((0,ye.A)(e))),p.ReactNextElement)),ze();var kt,wt=n(4273),At=n(7137),Et=n(1916),Nt=n.n(Et),St=n(7061);let Ct;const It=(0,p.wrapBrick)("eo-icon"),Mt=(0,p.wrapBrick)("eo-link"),{defineElement:Tt}=(0,u.createDecorators)();let Bt;class Wt extends p.ReactNextElement{render(){return d().createElement(zt,null)}}kt=Wt,[Bt,Ct]=(0,o.A)(kt,[Tt("nav.easyops-navbar-alerts",{styleTexts:[St.A]})],[],0,void 0,p.ReactNextElement).c,Ct();const Rt=new At.G(localStorage);function zt(){const[e,t]=(0,c.useState)(!1),[n,i]=(0,c.useState)(null),r=(0,wt.useCurrentApp)(),a=(0,c.useMemo)((()=>`license:${we.auth.getAuth().org}`),[]),l=(0,c.useMemo)((()=>{var t;const n=we.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=Rt.getItem(a),!r||Nt()().unix()>r)?i:null}),[a,e]);(0,c.useEffect)((()=>{const e=e=>{const t=e.detail.renderTime,{loadTime:n,loadInfoPage:a}=(0,m.getRuntime)().getMiscSettings();null!=r&&r.isBuildPush&&n>0&&t>n&&i({renderTime:Dt(t),suggestTime:Dt(n),suggestUrl:a})};return window.addEventListener("route.render",e),()=>{window.removeEventListener("route.render",e)}}),[r]);const o=(0,c.useCallback)((()=>{Rt.setItem(a,Nt()().unix()+86400),t(!0)}),[a]);return d().createElement(d().Fragment,null,n&&d().createElement(Kt,{text:`您的页面存在性能问题, 当前页面渲染时间 ${n.renderTime} 秒, 规定阈值为: ${n.suggestTime} 秒, 您已超过。请您针对该页面进行性能优化!`,type:"warning",link:n.suggestUrl?{label:"建议解决思路",url:n.suggestUrl}:void 0}),null!==l&&d().createElement(Kt,{text:`离 License 过期还有 ${l} 天`,type:"info",closable:!0,onClose:o}))}function Kt(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(Mt,{className:"link",href:r.url,target:"_blank"},r.label),i&&d().createElement(It,{lib:"antd",icon:"close",className:"icon",role:"button",onClick:a}))}function Dt(e){return Math.floor(100*e)/1e5}var _t,Pt=n(8119),Ft=n(8356),Lt=n(8839);let Ut,Vt,Gt,$t,Ot;const{defineElement:jt,property:qt}=(0,u.createDecorators)();let Xt;var Ht=new WeakMap,Yt=new WeakMap;class Zt extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ht,Vt(this)),(0,r.A)(this,Yt,(Gt(this),$t(this))),Ot(this)}get readonly(){return(0,l.A)(Ht,this)}set readonly(e){(0,a.A)(Ht,this,e)}get target(){return(0,l.A)(Yt,this)}set target(e){(0,a.A)(Yt,this,e)}render(){return d().createElement(Qt,{readonly:this.readonly,target:this.target})}}function Qt(e){let{readonly:t,target:n}=e;const{favorites:i,loadingFavorites:r,pushRecentVisit:a,toggleStar:l,isStarred:o}=(0,ue.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(Lt.F,{key:t,target:n,item:e})))))}_t=Zt,({e:[Vt,Gt,$t,Ot],c:[Xt,Ut]}=(0,o.A)(_t,[jt("eo-launchpad-quick-access",{styleTexts:[Pt.A]})],[[qt({type:Boolean}),1,"readonly"],[qt(),1,"target"]],0,void 0,p.ReactNextElement)),Ut();var Jt,en=n(3873),tn=n(2591),nn=n.n(tn),rn=n(1740),an=n.n(rn),ln=n(8128),on=n.n(ln),sn=n(855),cn=n.n(sn),dn=n(3051),un=n.n(dn),mn=n(3656),pn=n.n(mn),hn=n(7839),gn={};let fn,vn,bn;gn.styleTagTransform=pn(),gn.setAttributes=cn(),gn.insert=on().bind(null,"head"),gn.domAPI=an(),gn.insertStyleElement=un(),nn()(hn.A,gn),hn.A&&hn.A.locals&&hn.A.locals;const xn=(0,p.wrapBrick)("eo-icon"),{defineElement:yn,property:kn}=(0,u.createDecorators)();let wn;var An=new WeakMap;class En extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,An,vn(this)),bn(this)}get readonly(){return(0,l.A)(An,this)}set readonly(e){(0,a.A)(An,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:u,loadingFavorites:m,pushRecentVisit:p,toggleStar:h,isStarred:g}=(0,ue.sZ)(r),f=!!o,v=(0,c.useCallback)((e=>{s(e.target.value)}),[s]),x=(0,c.useCallback)((()=>{s("")}),[s]);return d().createElement(Ft.z.Provider,{value:{searching:f,loadingFavorites:m,readonly:t,pushRecentVisit:p,toggleStar:h,isStarred:g}},d().createElement("div",{className:"container"},d().createElement("div",{className:"search-box",onClick:i},d().createElement(xn,{lib:"fa",icon:"magnifying-glass",className:"search-icon"}),d().createElement("input",{ref:n,placeholder:"搜索产品/微应用",value:o,onChange:v,className:"search-input",onFocus:()=>a(!0),onBlur:()=>a(!1)}),d().createElement(xn,{lib:"antd",theme:"filled",icon:"close-circle",className:b()("search-clear",{searching:f}),onClick:x,onMouseDown:e=>e.preventDefault()})),d().createElement("div",{className:b()("dropdown",{"dropdown-active":r}),onMouseDown:e=>e.preventDefault()},d().createElement("div",{className:b()("dropdown-content",{loading:l})},d().createElement(Sn,{loading:l}),d().createElement("ul",{className:"menu-groups"},u.map((e=>d().createElement(Lt.r,{key:e.name,name:e.name,items:e.items}))))))))}function Sn(e){let{loading:t}=e;return t&&d().createElement("div",{className:"spinner"},d().createElement(xn,{lib:"fa",icon:"spinner",spinning:!0}))}Jt=En,({e:[vn,bn],c:[wn,fn]}=(0,o.A)(Jt,[yn("eo-search-launchpad",{styleTexts:[en.A]})],[[kn({type:Boolean}),1,"readonly"]],0,void 0,p.ReactNextElement)),fn();var Cn,In=n(6859);let Mn,Tn,Bn;const Wn=(0,p.wrapBrick)("eo-link"),{defineElement:Rn,property:zn}=(0,u.createDecorators)();let Kn;var Dn=new WeakMap;class _n extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Dn,Tn(this)),Bn(this)}get target(){return(0,l.A)(Dn,this)}set target(e){(0,a.A)(Dn,this,e)}render(){return d().createElement(Pn,{target:this.target})}}function Pn(e){let{target:t}=e;const{recentVisits:n,pushRecentVisit:i}=(0,ue.sZ)(!0);return d().createElement("ul",{className:"recent-visits"},n.map(((e,n)=>d().createElement("li",{key:n},d().createElement(Wn,(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))))))}Cn=_n,({e:[Tn,Bn],c:[Kn,Mn]}=(0,o.A)(Cn,[Rn("eo-launchpad-recent-visits",{styleTexts:[In.A]})],[[zn({attribute:!1}),1,"target"]],0,void 0,p.ReactNextElement)),Mn();var Fn,Ln=n(6405);let Un,Vn,Gn,$n,On,jn,qn,Xn,Hn;const{defineElement:Yn,property:Zn}=(0,u.createDecorators)();let Qn;var Jn=new WeakMap,ei=new WeakMap,ti=new WeakMap,ni=new WeakMap;class ii extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Jn,Vn(this)),(0,r.A)(this,ei,(Gn(this),$n(this))),(0,r.A)(this,ti,(On(this),jn(this))),(0,r.A)(this,ni,(qn(this),Xn(this))),Hn(this)}get isFixed(){return(0,l.A)(Jn,this)}set isFixed(e){(0,a.A)(Jn,this,e)}get position(){return(0,l.A)(ei,this)}set position(e){(0,a.A)(ei,this,e)}get displayCenter(){return(0,l.A)(ti,this)}set displayCenter(e){(0,a.A)(ti,this,e)}get extraAppBarContentStyle(){return(0,l.A)(ni,this)}set extraAppBarContentStyle(e){(0,a.A)(ni,this,e)}render(){return d().createElement(ri,{displayCenter:this.displayCenter,isFixed:this.isFixed,position:this.position,extraAppBarContentStyle:this.extraAppBarContentStyle})}}function ri(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:b()("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=ii,({e:[Vn,Gn,$n,On,jn,qn,Xn,Hn],c:[Qn,Un]}=(0,o.A)(Fn,[Yn("eo-app-bar-wrapper",{styleTexts:[Ln.A],alias:["basic.app-bar-wrapper"]})],[[Zn({type:Boolean}),1,"isFixed"],[Zn(),1,"position"],[Zn({type:Boolean}),1,"displayCenter"],[Zn({attribute:!1}),1,"extraAppBarContentStyle"]],0,void 0,p.ReactNextElement)),Un();var ai,li=n(2689);let oi,si,ci,di,ui,mi,pi;const{defineElement:hi,property:gi}=(0,u.createDecorators)(),fi=(0,p.wrapBrick)("eo-breadcrumb"),vi=(0,p.wrapBrick)("eo-breadcrumb-item"),bi=(0,p.wrapBrick)("eo-icon");let xi;var yi=new WeakMap,ki=new WeakMap,wi=new WeakMap;class Ai extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,yi,si(this)),(0,r.A)(this,ki,(ci(this),di(this))),(0,r.A)(this,wi,(ui(this),mi(this))),pi(this)}get breadcrumb(){return(0,l.A)(yi,this)}set breadcrumb(e){(0,a.A)(yi,this,e)}get noCurrentApp(){return(0,l.A)(ki,this)}set noCurrentApp(e){(0,a.A)(ki,this,e)}get menu(){return(0,l.A)(wi,this)}set menu(e){(0,a.A)(wi,this,e)}render(){return d().createElement(Ei,{breadcrumb:this.breadcrumb,noCurrentApp:this.noCurrentApp,menu:this.menu})}}function Ei(e){var t,n;const{menu:i}=e,r=(0,wt.useNavConfig)(),a=(0,wt.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,u=null!==(n=e.noCurrentApp)&&void 0!==n?n:null==l?void 0:l.noCurrentApp,m=null==l?void 0:l.useCurrentMenuTitle;return d().createElement(fi,null,d().createElement("span",{slot:"separator"},"/"),null==o?void 0:o.map(((e,t)=>d().createElement(vi,{key:t,url:e.to},e.icon?d().createElement(bi,(0,s.A)({className:"breadcrumb-item-prefix-icon",slot:"prefix"},e.icon)):0===t&&d().createElement(bi,{className:"breadcrumb-item-prefix-icon",slot:"prefix",lib:"antd",icon:"home",theme:"outlined"}),e.text))),a&&!u?d().createElement(vi,{url:null!=c&&c.length&&a.homepage&&!a.internal?a.homepage:void 0},!(null!=o&&o.length)&&d().createElement(bi,(0,s.A)({},a.menuIcon,{slot:"prefix",className:"breadcrumb-item-prefix-icon"})),a.localeName):null,m&&i?d().createElement(vi,{url:i.link},i.icon&&d().createElement(bi,(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(vi,{key:t,url:e.to},e.text))))}ai=Ai,({e:[si,ci,di,ui,mi,pi],c:[xi,oi]}=(0,o.A)(ai,[hi("eo-frame-breadcrumb",{styleTexts:[li.A]})],[[gi({attribute:!1}),1,"breadcrumb"],[gi({type:Boolean}),1,"noCurrentApp"],[gi({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),oi();var Ni,Si=n(4239);let Ci,Ii,Mi,Ti,Bi,Wi,Ri,zi,Ki,Di,_i,Pi,Fi,Li,Ui;const{defineElement:Vi,property:Gi}=(0,u.createDecorators)(),$i=(0,p.wrapBrick)("eo-link"),Oi=(0,p.wrapBrick)("eo-icon");let ji;var qi=new WeakMap,Xi=new WeakMap,Hi=new WeakMap,Yi=new WeakMap,Zi=new WeakMap,Qi=new WeakMap,Ji=new WeakMap;class er extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,qi,Ii(this)),(0,r.A)(this,Xi,(Mi(this),Ti(this))),(0,r.A)(this,Hi,(Bi(this),Wi(this))),(0,r.A)(this,Yi,(Ri(this),zi(this))),(0,r.A)(this,Zi,(Ki(this),Di(this))),(0,r.A)(this,Qi,(_i(this),Pi(this))),(0,r.A)(this,Ji,(Fi(this),Li(this))),Ui(this)}get url(){return(0,l.A)(qi,this)}set url(e){(0,a.A)(qi,this,e)}get href(){return(0,l.A)(Xi,this)}set href(e){(0,a.A)(Xi,this,e)}get target(){return(0,l.A)(Hi,this)}set target(e){(0,a.A)(Hi,this,e)}get icon(){return(0,l.A)(Yi,this)}set icon(e){(0,a.A)(Yi,this,e)}get selected(){return(0,l.A)(Zi,this)}set selected(e){(0,a.A)(Zi,this,e)}get inSubmenu(){return(0,l.A)(Qi,this)}set inSubmenu(e){(0,a.A)(Qi,this,e)}get menuCollapsed(){return(0,l.A)(Ji,this)}set menuCollapsed(e){(0,a.A)(Ji,this,e)}render(){return d().createElement(tr,{url:this.url,href:this.href,target:this.target,icon:this.icon,selected:this.selected})}}function tr(e){const{url:t,href:n,target:i,icon:r,selected:a}=e;return d().createElement($i,{type:"plain",url:t,href:n,target:i},d().createElement("div",{className:"menu-item"},d().createElement("span",{className:"menu-item-icon-container"},d().createElement(Oi,(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))))}Ni=er,({e:[Ii,Mi,Ti,Bi,Wi,Ri,zi,Ki,Di,_i,Pi,Fi,Li,Ui],c:[ji,Ci]}=(0,o.A)(Ni,[Vi("eo-sidebar-menu-item",{styleTexts:[Si.A]})],[[Gi({attribute:!1}),1,"url"],[Gi(),1,"href"],[Gi(),1,"target"],[Gi({attribute:!1}),1,"icon"],[Gi({type:Boolean}),1,"selected"],[Gi({type:Boolean}),1,"inSubmenu"],[Gi({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),Ci();var nr=n(8619);const ir=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]);function rr(e){const t=(0,c.useRef)(null),n=(0,c.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{var n;n=t,ir.has(n.tagName)&&(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 ar="side-bar-has-been-used",lr="side-bar-expand-state",or="side-bar-resize-width";let sr=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const cr=parseInt((0,m.getCssPropertyValue)("--side-bar-width",document.body),10)||220,dr=parseInt((0,m.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,ur=(0,c.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),mr=(0,p.wrapBrick)("eo-sidebar-menu"),pr=(0,p.wrapBrick)("eo-sidebar-menu-item"),hr=(0,p.wrapBrick)("eo-sidebar-menu-group"),gr=(0,p.wrapBrick)("eo-sidebar-menu-submenu");function fr(e){const{to:t,href:n,target:i,icon:r,text:a,id:l,inSubmenu:o}=e,{selectedKeys:s}=(0,c.useContext)(ur);return d().createElement(pr,{url:t,href:n,target:i,icon:r,inSubmenu:o,selected:s.includes(l)},a)}function vr(e){const{title:t,items:n,id:i,top:r,inSubmenu:a}=e,{matchedKeys:l}=(0,c.useContext)(ur),o=i&&l.includes(i);return(null==n?void 0:n.length)>0?d().createElement(hr,{selected:!!o,collapsable:!r},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(xr,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:a}))))):null}function br(e){const{title:t,icon:n,items:i,id:r}=e,{openedKeys:a,matchedKeys:l}=(0,c.useContext)(ur),o=r&&l.includes(r);return(null==i?void 0:i.length)>0?d().createElement(gr,{icon:n,collapsed:!a.includes(r),selected:!!o},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(xr,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function xr(e){return"subMenu"===e.type?d().createElement(br,e):"group"===e.type?d().createElement(vr,e):d().createElement(fr,e)}function yr(e){var t;const{menu:n,expandedState:i,selectedKeys:r,openedKeys:a,matchedKeys:l}=e;return d().createElement(ur.Provider,{value:{selectedKeys:r||[],openedKeys:a||[],matchedKeys:l||[]}},d().createElement(mr,{menuCollapsed:i===sr.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>d().createElement(xr,(0,s.A)({key:e.key},e,{id:e.key,top:!0}))))))}var kr;let wr,Ar,Er,Nr,Sr,Cr,Ir,Mr,Tr;const{defineElement:Br,property:Wr}=(0,u.createDecorators)();let Rr;var zr=new WeakMap,Kr=new WeakMap,Dr=new WeakMap,_r=new WeakMap,Pr=new WeakMap;class Fr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,zr,Ar(this)),(0,r.A)(this,Kr,(Er(this),Nr(this))),(0,r.A)(this,Dr,(Sr(this),Cr(this))),(0,r.A)(this,_r,(Ir(this),Mr(this))),(0,r.A)(this,Pr,(Tr(this),e=>{this.collapsed=e}))}get collapsable(){return(0,l.A)(zr,this)}set collapsable(e){(0,a.A)(zr,this,e)}get collapsed(){return(0,l.A)(Kr,this)}set collapsed(e){(0,a.A)(Kr,this,e)}get selected(){return(0,l.A)(Dr,this)}set selected(e){(0,a.A)(Dr,this,e)}get menuCollapsed(){return(0,l.A)(_r,this)}set menuCollapsed(e){(0,a.A)(_r,this,e)}render(){return d().createElement(Lr,{collapsable:this.collapsable,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(Pr,this)})}}function Lr(e){const{collapsable:t=!1,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=rr(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:b()("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}))))}kr=Fr,({e:[Ar,Er,Nr,Sr,Cr,Ir,Mr,Tr],c:[Rr,wr]}=(0,o.A)(kr,[Br("eo-sidebar-menu-group",{styleTexts:[nr.A]})],[[Wr({type:Boolean}),1,"collapsable"],[Wr({type:Boolean}),1,"collapsed"],[Wr({type:Boolean}),1,"selected"],[Wr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),wr();var Ur,Vr=n(8797);let Gr,$r,Or,jr,qr,Xr,Hr,Yr,Zr;const{defineElement:Qr,property:Jr}=(0,u.createDecorators)(),ea=(0,p.wrapBrick)("eo-icon");let ta;var na=new WeakMap,ia=new WeakMap,ra=new WeakMap,aa=new WeakMap,la=new WeakMap;class oa extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,na,$r(this)),(0,r.A)(this,ia,(Or(this),jr(this))),(0,r.A)(this,ra,(qr(this),Xr(this))),(0,r.A)(this,aa,(Hr(this),Yr(this))),(0,r.A)(this,la,(Zr(this),e=>{this.collapsed=e}))}get icon(){return(0,l.A)(na,this)}set icon(e){(0,a.A)(na,this,e)}get selected(){return(0,l.A)(ia,this)}set selected(e){(0,a.A)(ia,this,e)}get collapsed(){return(0,l.A)(ra,this)}set collapsed(e){(0,a.A)(ra,this,e)}get menuCollapsed(){return(0,l.A)(aa,this)}set menuCollapsed(e){(0,a.A)(aa,this,e)}render(){return d().createElement(sa,{icon:this.icon,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(la,this)})}}function sa(e){const{icon:t,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=rr(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:b()("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(ea,(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}))))}Ur=oa,({e:[$r,Or,jr,qr,Xr,Hr,Yr,Zr],c:[ta,Gr]}=(0,o.A)(Ur,[Qr("eo-sidebar-menu-submenu",{styleTexts:[Vr.A]})],[[Jr({attribute:!1}),1,"icon"],[Jr({type:Boolean}),1,"selected"],[Jr({type:Boolean}),1,"collapsed"],[Jr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),Gr();var ca,da=n(2469);let ua,ma,pa;const{defineElement:ha,property:ga}=(0,u.createDecorators)();let fa;var va=new WeakMap;class ba extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,va,ma(this)),pa(this)}get menuCollapsed(){return(0,l.A)(va,this)}set menuCollapsed(e){(0,a.A)(va,this,e)}render(){return d().createElement(xa,{menuCollapsed:this.menuCollapsed})}}function xa(e){const{menuCollapsed:t}=e,[n]=rr(t);return d().createElement("div",{className:"sidebar-menu"},d().createElement("div",{className:"sidebar-menu-item-list"},d().createElement("slot",{ref:n})))}ca=ba,({e:[ma,pa],c:[fa,ua]}=(0,o.A)(ca,[ha("eo-sidebar-menu",{styleTexts:[da.A]})],[[ga({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),ua();var ya=n(3694);const ka=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"}))),wa=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"})));var Aa=n(8013);let Ea=function(e){return e.CLICK_TO_FIX_NAVIGATION="CLICK_TO_FIX_NAVIGATION",e.UNPIN_NAVIGATION="UNPIN_NAVIGATION",e.FIXED_NAVIGATION="FIXED_NAVIGATION",e}({});const Na="bricks/nav/eo-sidebar";var Sa;let Ca,Ia,Ma,Ta,Ba,Wa,Ra,za,Ka,Da,_a,Pa,Fa,La,Ua,Va,Ga;(0,Z.initializeReactI18n)(Na,{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:$a,property:Oa,event:ja}=(0,u.createDecorators)(),qa=(0,p.wrapBrick)("eo-tooltip"),Xa=(0,p.wrapBrick)("eo-icon");let Ha;var Ya=new WeakMap,Za=new WeakMap,Qa=new WeakMap,Ja=new WeakMap,el=new WeakMap,tl=new WeakSet,nl=new WeakMap,il=new WeakMap,rl=new WeakMap;class al extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,tl),(0,r.A)(this,Ya,Ia(this)),(0,r.A)(this,Za,(Ma(this),Ta(this))),(0,r.A)(this,Qa,(Ba(this),Wa(this))),(0,r.A)(this,Ja,(Ra(this),za(this))),(0,r.A)(this,el,(Ka(this),Da(this))),(0,r.A)(this,nl,(Fa(this),e=>{(0,ke.A)(tl,this,_a).emit(e)})),(0,r.A)(this,il,La(this)),(0,r.A)(this,rl,(Ga(this),e=>{this.expandedState=e,(0,ke.A)(tl,this,Ua).emit(e)}))}get menu(){return(0,l.A)(Ya,this)}set menu(e){(0,a.A)(Ya,this,e)}get hiddenFixedIcon(){return(0,l.A)(Za,this)}set hiddenFixedIcon(e){(0,a.A)(Za,this,e)}get expandedState(){return(0,l.A)(Qa,this)}set expandedState(e){(0,a.A)(Qa,this,e)}get position(){return(0,l.A)(Ja,this)}set position(e){(0,a.A)(Ja,this,e)}render(){return d().createElement(ll,{menu:this.menu,expandedState:this.expandedState,hiddenFixedIcon:this.hiddenFixedIcon,position:this.position,onActualWidthChange:(0,l.A)(nl,this),onExpandedStateChange:(0,l.A)(rl,this)})}}function ll(e){const{t}=(0,Z.useTranslation)(Na),{menu:n,hiddenFixedIcon:i,position:r,onActualWidthChange:a,onExpandedStateChange:l}=e,o=d().useMemo((()=>{var e;return null===(e=(0,m.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["sidebar-show-user-defined-icon"]}),[]),u=(0,c.useMemo)((()=>new At.G(localStorage)),[]),p=(0,m.getHistory)(),h=(0,wt.useCurrentApp)(),[g,v]=(0,c.useState)(p.location),{pathname:x,search:y}=g,[k,w]=(0,c.useState)(!u.getItem(ar)),[A,E]=(0,c.useState)(),[N,S]=(0,c.useState)(),[C,I]=(0,c.useState)(e.expandedState||u.getItem(lr)||sr.Collapsed),M=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,f.LP)(null!==(e=null==n?void 0:n.menuItems)&&void 0!==e?e:[],x,y,"")}),[null==n?void 0:n.menuItems,x,y]);(0,c.useEffect)((()=>{const e=p.listen((e=>{v(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&&E(!e.isIntersecting)}))}),{threshold:1});return e.observe(R.current),()=>{e.disconnect()}}}),[]),(0,c.useEffect)((()=>{I(e.expandedState||u.getItem(lr)||sr.Collapsed)}),[e.expandedState]),(0,c.useEffect)((()=>{u.setItem(lr,C===sr.Expanded?sr.Expanded:sr.Collapsed)}),[C]);const[z,K]=(0,c.useState)((()=>{let e=parseInt(u.getItem(or),10);return(e<cr||Number.isNaN(e))&&(e=cr),e}));(0,c.useEffect)((()=>{u.setItem(or,z)}),[z]);const D=(0,c.useRef)(null),_=()=>{I((e=>{const t=e===sr.Expanded?sr.Expanded:sr.Hovered;return t!==e&&(null==l||l(t)),t}))},P=()=>{I((e=>{const t=e===sr.Expanded?sr.Expanded:sr.Collapsed;return t!==e&&(null==l||l(t)),t}))},F=(0,c.useMemo)((()=>C===sr.Expanded?z:dr),[C,z]);(0,c.useEffect)((()=>{null==a||a(F)}),[a,F]);const L=e=>"static"===r?C===sr.Expanded||e&&C===sr.Hovered?z:dr:C===sr.Collapsed?dr:z;return(0,c.useEffect)((()=>{const e=D.current;return null==e||e.addEventListener("mouseenter",_),null==e||e.addEventListener("mouseleave",P),()=>{null==e||e.removeEventListener("mouseenter",_),null==e||e.removeEventListener("mouseleave",P)}}),[]),d().createElement("div",{className:b()("sidebar-container",`state-${C}`,{dragging:N}),style:{width:L()},ref:D,"data-testid":"side-bar"},d().createElement("div",{className:"inner",style:{width:L(!0)}},d().createElement("div",{className:"header"},d().createElement("div",{className:"menu-title"},d().createElement("div",{className:b()("menu-title-icon-container")},M?d().createElement(Xa,(0,s.A)({},M,{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:b()("content",{"show-shadow":A})},d().createElement(yr,{selectedKeys:T,openedKeys:B,matchedKeys:W,menu:n,expandedState:C}),d().createElement("div",{ref:R})),d().createElement("div",{className:"footer"},!i&&d().createElement(qa,{content:C===sr.Expanded?k?t(Ea.CLICK_TO_FIX_NAVIGATION,{action:t(Ea.UNPIN_NAVIGATION)}):t(Ea.UNPIN_NAVIGATION):k?t(Ea.CLICK_TO_FIX_NAVIGATION,{action:t(Ea.FIXED_NAVIGATION)}):t(Ea.FIXED_NAVIGATION)},d().createElement("i",{className:"fixed-icon",onClick:()=>{w(!1),u.setItem(ar,!0),I((e=>{const t=e===sr.Expanded?sr.Collapsed:sr.Expanded;return t!==e&&(null==l||l(t)),t}))}},d().createElement(ka,{style:{display:C===sr.Expanded?void 0:"none"}}),d().createElement(wa,{style:{display:C===sr.Expanded?"none":void 0}})))),C===sr.Expanded&&d().createElement("span",{className:"resize-line",onMouseDown:e=>{var t,n;S(!0),e.cancelable&&e.preventDefault();const i=null!==(t=null===(n=D.current)||void 0===n?void 0:n.getBoundingClientRect().left)&&void 0!==t?t:0,r=(0,Aa.G)((e=>{const t=e.clientX-i;K(t>=cr?t:cr)})),a=e=>{S(!1),e.preventDefault(),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)};window.addEventListener("mousemove",r,{passive:!0}),window.addEventListener("mouseup",a)}})))}Sa=al,({e:[Ia,Ma,Ta,Ba,Wa,Ra,za,Ka,Da,_a,Pa,Fa,La,Ua,Va,Ga],c:[Ha,Ca]}=(0,o.A)(Sa,[$a("eo-sidebar",{styleTexts:[ya.A]})],[[Oa({attribute:!1}),1,"menu"],[Oa({type:Boolean}),1,"hiddenFixedIcon"],[Oa(),1,"expandedState"],[Oa(),1,"position"],[ja({type:"actual.width.change"}),1,"actualWidthChangeEvent",e=>(0,l.A)(el,e),(e,t)=>(0,a.A)(el,e,t)],[ja({type:"expanded.state.change"}),1,"expandedStateChangeEvent",e=>(0,l.A)(il,e),(e,t)=>(0,a.A)(il,e,t)]],0,(e=>rl.has((0,ye.A)(e))),p.ReactNextElement)),Ca();var ol,sl=n(1409);let cl,dl,ul;const ml=(0,p.wrapBrick)("eo-icon"),pl=(0,p.wrapBrick)("eo-menu"),hl=(0,p.wrapBrick)("eo-menu-group"),gl=(0,p.wrapBrick)("eo-menu-item-sub-menu"),fl=(0,p.wrapBrick)("eo-menu-item"),vl=(0,p.wrapBrick)("eo-link"),{defineElement:bl,property:xl}=(0,u.createDecorators)();let yl;var kl=new WeakMap;class wl extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,kl,dl(this)),ul(this)}get menu(){return(0,l.A)(kl,this)}set menu(e){(0,a.A)(kl,this,e)}render(){return d().createElement(Al,{menu:this.menu})}}function Al(e){const{menu:t}=e,n=(0,m.getHistory)(),[i,r]=(0,c.useState)(n.location),{pathname:a,search:l}=i,[o,s]=(0,c.useState)([]),[u,p]=(0,c.useState)([]),h=(0,c.useCallback)((()=>{var e;const{selectedKeys:n,openedKeys:i}=(0,f.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 v(e,t){return(0,f.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(gl,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:g(e)},bodyStyle:{paddingLeft:g(e)/2},collapsed:!u.includes(e.key)},d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},v(e,{inSubmenu:!0})))))})(e):(0,f.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(hl,null,d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},v(e)))))})(e):((e,t)=>d().createElement(fl,{className:b()("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(vl,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},d().createElement("span",{className:b()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return d().createElement(pl,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&d().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&d().createElement(ml,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},v(e))))))}ol=wl,({e:[dl,ul],c:[yl,cl]}=(0,o.A)(ol,[bl("eo-sidebar-sub-menu",{styleTexts:[sl.A]})],[[xl({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),cl();var El,Nl=n(2763);let Sl,Cl,Il,Ml,Tl,Bl,Wl,Rl,zl,Kl,Dl,_l,Pl,Fl,Ll,Ul,Vl,Gl,$l,Ol,jl;const{defineElement:ql,property:Xl,event:Hl}=(0,u.createDecorators)(),Yl=(0,p.wrapBrick)("eo-icon"),Zl=(0,p.wrapBrick)("eo-tooltip");let Ql;var Jl=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap,io=new WeakMap,ro=new WeakMap,ao=new WeakMap,lo=new WeakSet,oo=new WeakMap,so=new WeakMap,co=new WeakMap;class uo extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,lo),(0,r.A)(this,Jl,Cl(this,"fixed")),(0,r.A)(this,eo,(Il(this),Ml(this))),(0,r.A)(this,to,(Tl(this),Bl(this,[]))),(0,r.A)(this,no,(Wl(this),Rl(this,!1))),(0,r.A)(this,io,(zl(this),Kl(this))),(0,r.A)(this,ro,(Dl(this),_l(this))),(0,r.A)(this,ao,(Pl(this),Fl(this))),(0,r.A)(this,oo,(Vl(this),Gl(this))),(0,r.A)(this,so,(jl(this),e=>{(0,ke.A)(lo,this,Ll).emit(e)})),(0,r.A)(this,co,(e=>{(0,ke.A)(lo,this,$l).emit({key:e})}))}get position(){return(0,l.A)(Jl,this)}set position(e){(0,a.A)(Jl,this,e)}get directoryTitle(){return(0,l.A)(eo,this)}set directoryTitle(e){(0,a.A)(eo,this,e)}get menuItems(){return(0,l.A)(to,this)}set menuItems(e){(0,a.A)(to,this,e)}get hideRightBorder(){return(0,l.A)(no,this)}set hideRightBorder(e){(0,a.A)(no,this,e)}get suffixBrick(){return(0,l.A)(io,this)}set suffixBrick(e){(0,a.A)(io,this,e)}get defaultSelectedKeys(){return(0,l.A)(ro,this)}set defaultSelectedKeys(e){(0,a.A)(ro,this,e)}render(){return d().createElement(mo,{menuItems:this.menuItems,directoryTitle:this.directoryTitle,hideRightBorder:this.hideRightBorder,suffixIconClick:(0,l.A)(co,this),menuItemClick:(0,l.A)(so,this),defaultSelectedKeys:this.defaultSelectedKeys,suffixBrick:this.suffixBrick})}}function mo(e){const{menuItems:t,directoryTitle:n,hideRightBorder:i,menuItemClick:r,suffixIconClick:a,defaultSelectedKeys:l,suffixBrick:o}=e;return d().createElement("div",{className:b()("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:b()("menu-item",`menu-item-${e.type}`),key:`${e.key}-${t}`},d().createElement("div",{className:b()(`menu-item-title-${e.type}`),onClick:()=>"item"===e.type&&(null==r?void 0:r({data:e}))},d().createElement("span",{className:b()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(e.key)})},e.title),null!=o&&o.useBrick?d().createElement(wt.ReactUseMultipleBricks,{useBrick:o.useBrick,data:{data:e}}):null,e.suffixIcon&&d().createElement(Zl,{content:e.suffixIconTooltip,placement:"top"},d().createElement(Yl,(0,s.A)({},e.suffixIcon,{className:b()("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:b()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(t.key)})},t.title)))))}))))}El=uo,({e:[Cl,Il,Ml,Tl,Bl,Wl,Rl,zl,Kl,Dl,_l,Pl,Fl,Ll,Ul,Vl,Gl,$l,Ol,jl],c:[Ql,Sl]}=(0,o.A)(El,[ql("eo-directory",{styleTexts:[Nl.A]})],[[Xl(),1,"position"],[Xl(),1,"directoryTitle"],[Xl({attribute:!1}),1,"menuItems"],[Xl({type:Boolean}),1,"hideRightBorder"],[Xl({attribute:!1}),1,"suffixBrick"],[Xl({attribute:!1}),1,"defaultSelectedKeys"],[Hl({type:"menu.item.click"}),1,"menuItemClickEvent",e=>(0,l.A)(ao,e),(e,t)=>(0,a.A)(ao,e,t)],[Hl({type:"suffix.icon.click"}),1,"suffixIconClickEvent",e=>(0,l.A)(oo,e),(e,t)=>(0,a.A)(oo,e,t)]],0,(e=>co.has((0,ye.A)(e))),p.ReactNextElement)),Sl();var po=n(6384);const ho=d().createContext({expandedKeysSet:new Set,selectedKeysSet:new Set,onExpand:()=>{},onSelect:()=>{}}),go=()=>d().useContext(ho),fo=(0,p.wrapBrick)("eo-directory-tree-leaf",{onSelect:"select"}),vo=(0,p.wrapBrick)("eo-directory-tree-internal-node",{onExpand:"expand",onSelect:"select"});function bo(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{selectedKeysSet:a,onSelect:l,suffixBrick:o}=go(),s=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(fo,{depth:r,selected:a.has(n.key),icon:n.icon,faded:n.faded,onSelect:()=>{const e=[n.key];l({keys:e,node:s})},className:b()({"show-suffix-when-hover":"hover"===(null==o?void 0:o.when)})},d().createElement("span",{title:n.title},n.title),(null==o?void 0:o.useBrick)&&d().createElement("div",{className:"suffix",slot:"suffix"},d().createElement(wt.ReactUseMultipleBricks,{useBrick:o.useBrick,data:s})))}function xo(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{expandedKeysSet:a,onExpand:l,selectedKeysSet:o,onSelect:s,internalNodeSelectable:u,suffixBrick:m}=go(),p=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(vo,{depth:r,selectable:u,icon:n.icon,faded:n.faded,expanded:a.has(n.key),selected:o.has(n.key),onExpand:e=>{e.detail?a.add(n.key):a.delete(n.key);const t=[...a];l({keys:t,node:p})},onSelect:()=>{const e=[n.key];s({keys:e,node:p})},className:b()({"show-suffix-when-hover":"hover"===(null==m?void 0:m.when)})},d().createElement("span",{slot:"label",title:n.title},n.title),(null==m?void 0:m.useBrick)&&d().createElement("div",{className:"suffix",slot:"suffix"},d().createElement(wt.ReactUseMultipleBricks,{useBrick:m.useBrick,data:p})))}function yo(e){const{treeData:t}=e;return Array.isArray(t.children)?d().createElement(xo,{treeData:t}):d().createElement(bo,{treeData:t})}function ko(e){const{treeData:t}=e;return t.map((e=>d().createElement(yo,{key:e.key,treeData:e})))}function wo(e){return e.reduce(((e,t)=>{if(!Array.isArray(t.children))return e;{const n=[t.key].concat(wo(t.children));return e.concat(n)}}),[])}function Ao(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=Ao(n.children,t),l=a.concat(r||a.length?[n.key]:[]);return e.concat(l)}}),[])}function Eo(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=Eo(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 So;let Co,Io,Mo,To,Bo,Wo,Ro,zo,Ko,Do,_o,Po,Fo,Lo,Uo,Vo,Go,$o,Oo,jo,qo,Xo,Ho,Yo,Zo,Qo,Jo,es;const{defineElement:ts,property:ns,method:is,event:rs}=(0,u.createDecorators)(),as=(0,p.wrapBrick)("eo-search",{onChange:"change",onSearch:"search"});let ls;var os=new WeakMap,ss=new WeakMap,cs=new WeakMap,ds=new WeakMap,us=new WeakMap,ms=new WeakMap,ps=new WeakMap,hs=new WeakMap,gs=new WeakMap,fs=new WeakMap,vs=new WeakSet,bs=new WeakMap,xs=new WeakMap,ys=new WeakMap;class ks extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,vs),(0,r.A)(this,os,(Co(this),Mo(this,[]))),(0,r.A)(this,ss,(To(this),Bo(this))),(0,r.A)(this,cs,(Wo(this),Ro(this))),(0,r.A)(this,ds,(zo(this),Ko(this))),(0,r.A)(this,us,(Do(this),_o(this))),(0,r.A)(this,ms,(Po(this),Fo(this))),(0,r.A)(this,ps,(Lo(this),Uo(this))),(0,r.A)(this,hs,(Vo(this),Go(this))),(0,r.A)(this,gs,($o(this),Oo(this))),(0,r.A)(this,fs,(jo(this),qo(this))),(0,r.A)(this,bs,(Yo(this),e=>{this.expandedKeys=e.keys,(0,ke.A)(vs,this,Xo).emit(e)})),(0,r.A)(this,xs,Zo(this)),(0,r.A)(this,ys,(es(this),e=>{this.selectedKeys=e.keys,(0,ke.A)(vs,this,Qo).emit(e)}))}get data(){return(0,l.A)(os,this)}set data(e){(0,a.A)(os,this,e)}get directoryTitle(){return(0,l.A)(ss,this)}set directoryTitle(e){(0,a.A)(ss,this,e)}get internalNodeSelectable(){return(0,l.A)(cs,this)}set internalNodeSelectable(e){(0,a.A)(cs,this,e)}get searchable(){return(0,l.A)(ds,this)}set searchable(e){(0,a.A)(ds,this,e)}get placeholder(){return(0,l.A)(us,this)}set placeholder(e){(0,a.A)(us,this,e)}get searchFields(){return(0,l.A)(ms,this)}set searchFields(e){(0,a.A)(ms,this,e)}get suffixBrick(){return(0,l.A)(ps,this)}set suffixBrick(e){(0,a.A)(ps,this,e)}get selectedKeys(){return(0,l.A)(hs,this)}set selectedKeys(e){(0,a.A)(hs,this,e)}get expandedKeys(){return(0,l.A)(gs,this)}set expandedKeys(e){(0,a.A)(gs,this,e)}expandAll(){this.expandedKeys=wo(this.data)}collapseAll(){this.expandedKeys=[]}expandAccordingToSelectedKeys(){this.expandedKeys=Ao(this.data,new Set(this.selectedKeys))}render(){return d().createElement(ws,{element:this,data:this.data,directoryTitle:this.directoryTitle,internalNodeSelectable:this.internalNodeSelectable,placeholder:this.placeholder,searchable:this.searchable,searchFields:this.searchFields,suffixBrick:this.suffixBrick,selectedKeys:this.selectedKeys,expandedKeys:this.expandedKeys,onExpand:(0,l.A)(bs,this),onSelect:(0,l.A)(ys,this)})}}function ws(e){const{element:t,data:n,directoryTitle:i,internalNodeSelectable:r,searchable:a,searchFields:l,placeholder:o,suffixBrick:s,onSelect:u,onExpand:m}=e,p=(0,c.useMemo)((()=>new Set(e.expandedKeys)),[e.expandedKeys]),h=(0,c.useMemo)((()=>new Set(e.selectedKeys)),[e.selectedKeys]),[g,f]=(0,c.useState)(""),v=(0,c.useMemo)((()=>{const e=Eo(n,g,(l||[]).concat("title"));return g&&(t.expandedKeys=e.expandedKeys),e.data}),[n,g,l]),b=(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,p)),[v,p]);return d().createElement(ho.Provider,{value:{expandedKeysSet:p,selectedKeysSet:h,internalNodeSelectable:r,onSelect:u,onExpand:m,suffixBrick:s}},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"}))),a&&d().createElement(as,{className:"directory-search",trim:!0,placeholder:o,onSearch:e=>{f(e.detail)}}),d().createElement("div",{className:"tree"},d().createElement(ko,{treeData:b}))))}So=ks,({e:[Mo,To,Bo,Wo,Ro,zo,Ko,Do,_o,Po,Fo,Lo,Uo,Vo,Go,$o,Oo,jo,qo,Xo,Ho,Yo,Zo,Qo,Jo,es,Co],c:[ls,Io]}=(0,o.A)(So,[ts("eo-directory-tree",{styleTexts:[po.A]})],[[ns({attribute:!1}),1,"data"],[ns(),1,"directoryTitle"],[ns({type:Boolean}),1,"internalNodeSelectable"],[ns({type:Boolean}),1,"searchable"],[ns(),1,"placeholder"],[ns({attribute:!1}),1,"searchFields"],[ns({attribute:!1}),1,"suffixBrick"],[ns({attribute:!1}),1,"selectedKeys"],[ns({attribute:!1}),1,"expandedKeys"],[is(),2,"expandAll"],[is(),2,"collapseAll"],[is(),2,"expandAccordingToSelectedKeys"],[rs({type:"expand"}),1,"expandEvent",e=>(0,l.A)(fs,e),(e,t)=>(0,a.A)(fs,e,t)],[rs({type:"select"}),1,"selectEvent",e=>(0,l.A)(xs,e),(e,t)=>(0,a.A)(xs,e,t)]],0,(e=>ys.has((0,ye.A)(e))),p.ReactNextElement)),Io();var As,Es=n(8114);let Ns,Ss,Cs,Is,Ms,Ts,Bs,Ws,Rs,zs,Ks,Ds,_s;const{defineElement:Ps,property:Fs,event:Ls}=(0,u.createDecorators)(),Us=(0,p.wrapBrick)("eo-icon");let Vs;var Gs=new WeakMap,$s=new WeakMap,Os=new WeakMap,js=new WeakMap,qs=new WeakMap,Xs=new WeakSet,Hs=new WeakMap;class Ys extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,Xs),(0,r.A)(this,Gs,Ss(this,0)),(0,r.A)(this,$s,(Cs(this),Is(this))),(0,r.A)(this,Os,(Ms(this),Ts(this))),(0,r.A)(this,js,(Bs(this),Ws(this))),(0,r.A)(this,qs,(Rs(this),zs(this))),(0,r.A)(this,Hs,(_s(this),()=>{(0,ke.A)(Xs,this,Ks).emit()}))}get depth(){return(0,l.A)(Gs,this)}set depth(e){(0,a.A)(Gs,this,e)}get selected(){return(0,l.A)($s,this)}set selected(e){(0,a.A)($s,this,e)}get icon(){return(0,l.A)(Os,this)}set icon(e){(0,a.A)(Os,this,e)}get faded(){return(0,l.A)(js,this)}set faded(e){(0,a.A)(js,this,e)}render(){return d().createElement(Zs,{depth:this.depth,icon:this.icon,onSelect:(0,l.A)(Hs,this)})}}function Zs(e){let{depth:t,icon:n,onSelect:i}=e;const r=(0,c.useRef)(null),a=(0,c.useRef)(null);return(0,c.useEffect)((()=>{const e=r.current,t=()=>{i()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[i]),(0,c.useEffect)((()=>{const e=a.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:10*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button"}),n&&d().createElement(Us,(0,s.A)({},n,{className:"tree-item-icon"})),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",null))),d().createElement("div",{className:"tree-item-suffix",ref:a},d().createElement("slot",{name:"suffix"})))}As=Ys,({e:[Ss,Cs,Is,Ms,Ts,Bs,Ws,Rs,zs,Ks,Ds,_s],c:[Vs,Ns]}=(0,o.A)(As,[Ps("eo-directory-tree-leaf",{styleTexts:[Es.A]})],[[Fs({type:Number}),1,"depth"],[Fs({type:Boolean}),1,"selected"],[Fs({attribute:!1}),1,"icon"],[Fs({type:Boolean,render:!1}),1,"faded"],[Ls({type:"select"}),1,"selectEvent",e=>(0,l.A)(qs,e),(e,t)=>(0,a.A)(qs,e,t)]],0,(e=>Hs.has((0,ye.A)(e))),p.ReactNextElement)),Ns();var Qs=n(9010);const Js=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 ec;let tc,nc,ic,rc,ac,lc,oc,sc,cc,dc,uc,mc,pc,hc,gc,fc,vc,bc,xc,yc,kc;const{defineElement:wc,property:Ac,event:Ec}=(0,u.createDecorators)(),Nc=(0,p.wrapBrick)("eo-icon");let Sc;var Cc=new WeakMap,Ic=new WeakMap,Mc=new WeakMap,Tc=new WeakMap,Bc=new WeakMap,Wc=new WeakMap,Rc=new WeakMap,zc=new WeakSet,Kc=new WeakMap,Dc=new WeakMap,_c=new WeakMap;class Pc extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,zc),(0,r.A)(this,Cc,nc(this,0)),(0,r.A)(this,Ic,(ic(this),rc(this))),(0,r.A)(this,Mc,(ac(this),lc(this))),(0,r.A)(this,Tc,(oc(this),sc(this))),(0,r.A)(this,Bc,(cc(this),dc(this))),(0,r.A)(this,Wc,(uc(this),mc(this))),(0,r.A)(this,Rc,(pc(this),hc(this))),(0,r.A)(this,Kc,(vc(this),()=>{(0,ke.A)(zc,this,gc).emit(!this.expanded)})),(0,r.A)(this,Dc,bc(this)),(0,r.A)(this,_c,(kc(this),()=>{(0,ke.A)(zc,this,xc).emit()}))}get depth(){return(0,l.A)(Cc,this)}set depth(e){(0,a.A)(Cc,this,e)}get expanded(){return(0,l.A)(Ic,this)}set expanded(e){(0,a.A)(Ic,this,e)}get selectable(){return(0,l.A)(Mc,this)}set selectable(e){(0,a.A)(Mc,this,e)}get selected(){return(0,l.A)(Tc,this)}set selected(e){(0,a.A)(Tc,this,e)}get icon(){return(0,l.A)(Bc,this)}set icon(e){(0,a.A)(Bc,this,e)}get faded(){return(0,l.A)(Wc,this)}set faded(e){(0,a.A)(Wc,this,e)}render(){return d().createElement(Fc,{depth:this.depth,selectable:this.selectable,expanded:this.expanded,icon:this.icon,onExpand:(0,l.A)(Kc,this),onSelect:(0,l.A)(_c,this)})}}function Fc(e){let{depth:t,selectable:n,icon:i,onExpand:r,onSelect:a}=e;const l=(0,c.useRef)(null),o=(0,c.useRef)(null),u=(0,c.useRef)(null);return(0,c.useEffect)((()=>{if(n){const e=l.current,t=o.current,n=()=>{a()},i=e=>{e.stopPropagation(),r()};return null==e||e.addEventListener("click",n),null==t||t.addEventListener("click",i),()=>{null==e||e.removeEventListener("click",n),null==t||t.removeEventListener("click",i)}}{const e=l.current,t=()=>{r()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}}),[n,a,r]),(0,c.useEffect)((()=>{const e=u.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:l},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:o},d().createElement(Js,{className:"tree-item-expand-arrow"})),i&&d().createElement(Nc,(0,s.A)({},i,{className:"tree-item-icon"})),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",{name:"label"}))),d().createElement("div",{className:"tree-item-suffix",ref:u},d().createElement("slot",{name:"suffix"}))),d().createElement("div",{className:"tree-item-children"},d().createElement("div",{className:"tree-item-inner"},d().createElement("slot",null))))}ec=Pc,({e:[nc,ic,rc,ac,lc,oc,sc,cc,dc,uc,mc,pc,hc,gc,fc,vc,bc,xc,yc,kc],c:[Sc,tc]}=(0,o.A)(ec,[wc("eo-directory-tree-internal-node",{styleTexts:[Qs.A]})],[[Ac({type:Number}),1,"depth"],[Ac({type:Boolean}),1,"expanded"],[Ac({type:Boolean}),1,"selectable"],[Ac({type:Boolean}),1,"selected"],[Ac({attribute:!1}),1,"icon"],[Ac({type:Boolean,render:!1}),1,"faded"],[Ec({type:"expand"}),1,"expandEvent",e=>(0,l.A)(Rc,e),(e,t)=>(0,a.A)(Rc,e,t)],[Ec({type:"select"}),1,"selectEvent",e=>(0,l.A)(Dc,e),(e,t)=>(0,a.A)(Dc,e,t)]],0,(e=>_c.has((0,ye.A)(e))),p.ReactNextElement)),tc();var Lc,Uc=n(5367);let Vc;const{defineElement:Gc}=(0,u.createDecorators)(),$c=(0,p.wrapBrick)("eo-icon"),Oc=(0,p.wrapBrick)("eo-link");let jc;class qc extends p.ReactNextElement{render(){return d().createElement(Xc,null)}}function Xc(){const e=(0,m.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($c,{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(Oc,{type:"plain",url:"/",className:"logo-link"},t))}Lc=qc,[jc,Vc]=(0,o.A)(Lc,[Gc("nav.nav-logo",{styleTexts:[Uc.A]})],[],0,void 0,p.ReactNextElement).c,Vc();var Hc=n(79),Yc=n(9896),Zc=n(8627),Qc=n(7439);let Jc=function(e){return e.VIEW_DETAILS="VIEW_DETAILS",e.DISMISS="DISMISS",e}({});const ed="bricks/nav/poll-announce";var td=n(6651),nd=n(1784),id={};id.styleTagTransform=pn(),id.setAttributes=cn(),id.insert=on().bind(null,"head"),id.domAPI=an(),id.insertStyleElement=un(),nn()(nd.A,id);const rd=nd.A&&nd.A.locals?nd.A.locals:void 0;var ad;let ld,od,sd,cd,dd,ud,md,pd,hd,gd,fd,vd,bd;(0,Z.initializeReactI18n)(ed,{en:{VIEW_DETAILS:"View details",DISMISS:"Dismiss"},zh:{VIEW_DETAILS:"查看详情",DISMISS:"忽略"}});const{defineElement:xd,property:yd,event:kd}=(0,u.createDecorators)(),wd=(0,ae.unwrapProvider)("basic.show-notification"),Ad=new Set;let Ed;var Nd=new WeakMap,Sd=new WeakMap,Cd=new WeakMap,Id=new WeakSet,Md=new WeakMap,Td=new WeakMap,Bd=new WeakMap;class Wd extends p.ReactNextElement{constructor(){super(...arguments),(0,xe.A)(this,Id),(0,r.A)(this,Nd,od(this)),(0,r.A)(this,Sd,(sd(this),cd(this))),(0,r.A)(this,Cd,(dd(this),ud(this))),(0,r.A)(this,Md,(hd(this),()=>{(0,ke.A)(Id,this,md).emit()})),(0,r.A)(this,Td,gd(this)),(0,r.A)(this,Bd,(bd(this),()=>{(0,ke.A)(Id,this,fd).emit()}))}get pollEnabled(){return(0,l.A)(Nd,this)}set pollEnabled(e){(0,a.A)(Nd,this,e)}get realTimeMessage(){return(0,l.A)(Sd,this)}set realTimeMessage(e){(0,a.A)(Sd,this,e)}render(){return d().createElement(zd,{pollEnabled:this.pollEnabled,realTimeMessage:this.realTimeMessage,onOpen:(0,l.A)(Bd,this),onClose:(0,l.A)(Md,this)})}}async function Rd(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 wd({placement:"topRight",icon:{lib:"antd",theme:"filled",icon:"sound",style:{color:"var(--theme-orange-color)"}},title:n,htmlMessage:`<div class="${rd.message}">${l}</div>`,closable:!0,showConfirm:!0,confirmText:Hc.i18n.t(`${ed}:${Jc.VIEW_DETAILS}`),confirmLink:{url:`/announcement-management/announcement-front/content?instanceId=${r}`,target:"_blank"},showCancel:!0,cancelText:Hc.i18n.t(`${ed}:${Jc.DISMISS}`)})}catch{}finally{if(!Ad.has(r)){Ad.add(r);try{await(0,Yc.w)({instanceIds:[r]}),t()}catch(e){console.error("ignore announce failed:",e)}}}}function zd(e){let{pollEnabled:t,realTimeMessage:n,onOpen:i,onClose:r}=e;return(0,c.useEffect)((()=>{(async()=>{const e=(await(0,Zc.F)({})).list;e.length&&e.filter((e=>e.isPopup)).reverse().forEach((e=>{Rd(e,r)}))})()}),[]),(0,c.useEffect)((()=>{!t&&n&&Rd(n,r)}),[r,t,n]),(0,c.useEffect)((()=>{if(!t)return;let e=!1;const n=async()=>{if(!e)try{Rd(await(0,Qc.$)({interceptorParams:{ignoreLoadingBar:!0}}),r),i(),n()}catch(e){var t;const i=(0,m.httpErrorToString)(e);null!=i&&null!==(t=i.toLowerCase())&&void 0!==t&&t.includes("timeout")&&n()}};return n(),()=>{e=!0}}),[r,i,t]),null}ad=Wd,({e:[od,sd,cd,dd,ud,md,pd,hd,gd,fd,vd,bd],c:[Ed,ld]}=(0,o.A)(ad,[xd("nav.poll-announce",{styleTexts:[td.A]})],[[yd({type:Boolean}),1,"pollEnabled"],[yd({attribute:!1}),1,"realTimeMessage"],[kd({type:"notification.close"}),1,"closeEvent",e=>(0,l.A)(Cd,e),(e,t)=>(0,a.A)(Cd,e,t)],[kd({type:"notification.open"}),1,"openEvent",e=>(0,l.A)(Td,e),(e,t)=>(0,a.A)(Td,e,t)]],0,(e=>Bd.has((0,ye.A)(e))),p.ReactNextElement)),ld();var Kd=n(1321),Dd=n(4167),_d=n(102);const Pd=new Set(["name","id","homepage","localeName"]);function Fd(e,t,n){if("string"==typeof e){if((0,Kd.isEvaluable)(e)){let i;const r={usedProperties:new Set,hasNonStaticUsage:!1};try{i=(0,Kd.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:(0,_d.beforeVisitGlobalMember)(r,["APP"])}})}catch(t){console.error(`Parse menu title expression "${e}" failed:`,t)}if(i&&(!i.attemptToVisitGlobals.has("APP")||n&&!r.hasNonStaticUsage&&[...r.usedProperties].every((e=>Pd.has(e))))){const r={};for(const e of i.attemptToVisitGlobals)switch(e){case"I18N":r[e]=Hc.i18n.getFixedT(null,[t].filter(Boolean));break;case"APP":r[e]={...n,localeName:null==n?void 0:n.name}}const a=(0,Dd.supply)(i.attemptToVisitGlobals,r);let l=!0;for(const e of i.attemptToVisitGlobals)if(!(0,ae.hasOwnProperty)(a,e)){l=!1;break}if(l)try{const t=(0,Kd.cook)(i.expression,i.source,{globalVariables:a});if("string"==typeof t)return t;console.error(`The result of menu title expression "${e}" is not a string:`,t)}catch(t){console.error(`Evaluate menu title expression "${e}" failed:`,t)}}}else if(n)return e.replace(/\$\{\s*APP\s*\.\s*(?:name|localeName)\s*\}/g,(()=>n.name));return e}}function Ld(e){const t=new WeakMap,n=[];for(const n of e){var i;const e=`customize-menu/${n.menuId}~${n.app[0].appId}+${n.instanceId}`;Object.entries(null!==(i=n.i18n)&&void 0!==i?i:{}).forEach((t=>{let[n,i]=t;Hc.i18n.addResourceBundle(n,e,i)})),t.set(n,e)}return{menuWithI18n:t,dispose:()=>{for(const[e,t]of n)Hc.i18n.removeResourceBundle(e,t)}}}const Ud=Symbol("menuI18nNamespace"),Vd=Symbol("overrideApp"),Gd={lib:"fa",icon:"bars"};function $d(e){return null!=e&&e.imgSrc?Gd:null!=e?e:Gd}function Od(e,t,n,i){return null==e?void 0:e.map((e=>{var r;const a=e.groupId&&n.get(e.groupId);return a&&n.delete(e.groupId),{...e,children:(null!==(r=Od(e.children,t,n,i))&&void 0!==r?r:[]).concat(a?a.flatMap((e=>Od(e.items,e,n,i))):[]),[Vd]:t.overrideApp,[Ud]:i.get(t)}}))}function jd(e){return function(e){return(0,Ae.sortBy)(e,(e=>{var t;return null!==(t=e.sort)&&void 0!==t?t:-1/0}),"text")}(e).map((e=>({...e,children:jd(e.children)})))}customElements.define("nav.get-menu-config-tree",(0,ae.createProviderClass)((async function(e){var t;const n=[],i=e.find((e=>"main"===e.type));if(!i)return[];const r=[],a=new Map,{menuWithI18n:l,dispose:o}=Ld(e);for(const t of e){var s;if((!t.dynamicItems||!t.itemsResolve)&&null!==(s=t.items)&&void 0!==s&&s.length)if("inject"===t.type&&t.injectMenuGroupId){let e=a.get(t.injectMenuGroupId);e||(e=[],a.set(t.injectMenuGroupId,e)),e.push(t)}else r.push(t)}n.push("0");const c=jd(r.flatMap((e=>Od(e.items,e,a,l)))),d=[{key:"0",__keys:n,title:null!==(t=Fd(i.title,l.get(i),i.overrideApp))&&void 0!==t?t:i.menuId,data:i,icon:$d(i.icon),children:function e(t,i){const r=null==t?void 0:t.map(((t,r)=>{var a;const l=`${i}-${r}`;return n.push(l),{key:l,title:null!==(a=Fd(t.text,t[Ud],t[Vd]))&&void 0!==a?a:"",data:t,icon:$d(t.icon),faded:t.hidden,children:e(t.children,l)}}));return null!=r&&r.length?r:void 0}(c,"0")}];return o(),d}))),customElements.define("nav.get-menu-config-options",(0,ae.createProviderClass)((async function(e){const t=[],{menuWithI18n:n,dispose:i}=Ld(e);for(const i of e){var r;t.push({label:`${null!==(r=Fd(i.title,n.get(i),i.overrideApp))&&void 0!==r?r:""} (${i.menuId})`,value:i.menuId})}return i(),t})));const qd="bricks/nav/query-search";Hc.i18n.getFixedT(null,qd);var Xd=n(9139),Hd=n(3748),Yd=n(6768),Zd=n(5862),Qd=n(5694),Jd=n(8406);let eu;var tu,nu,iu;(0,Hc.initializeI18n)(qd,{en:{},zh:{}});const{defineElement:ru}=(0,u.createDecorators)(),au=`querier-search-recent-visits:${null===(tu=we.auth.getAuth())||void 0===tu?void 0:tu.org}`,lu=`querier-search-querier:${null===(nu=we.auth.getAuth())||void 0===nu?void 0:nu.org}`,ou=new At.G(localStorage),su="search/result?q=%{q}%",cu="search/new/ipSearch?q=%{q}%",du=(0,p.wrapBrick)("eo-icon"),uu=(0,p.wrapBrick)("eo-button"),mu=((0,p.wrapBrick)("eo-search",{onChange:"change",onSearch:"search"}),(0,p.wrapBrick)("eo-tooltip"));let pu;class hu extends p.ReactNextElement{render(){return d().createElement(fu,{shadowRoot:this.shadowRoot})}}iu=hu,[pu,eu]=(0,o.A)(iu,[ru("nav.query-search",{styleTexts:[Xd.A]})],[],0,void 0,p.ReactNextElement).c,eu();var gu=function(e){return e.fullText="fullText",e.instanceSearch="instanceSearch",e.relationSearch="relationSearch",e.link="link",e.ipSearch="ipSearch",e}(gu||{});function fu(e){var t,n;const{shadowRoot:i}=e,r=(0,c.useRef)(null),a=(0,c.useRef)(null),l=(null===(t=(0,m.getRuntime)().getCurrentApp())||void 0===t?void 0:t.id)||"",[o,s]=(0,c.useState)([]),u=(0,wt.useCurrentTheme)(),[p,h]=(0,c.useState)(),[g,f]=(0,c.useState)(),[v,x]=(0,c.useState)([]),[y,k]=(0,c.useState)([]),[w,A]=(0,c.useState)(),E=()=>{var e;return document.documentElement.clientWidth-((null==i||null===(e=i.host)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.clientWidth)||0)-500<200},N=(0,c.useMemo)((()=>(0,Qd.VC)()),[]),S=e=>{var t;const n=p?(null==w||null===(t=w.config)||void 0===t?void 0:t.url)||"":cu,i=(n.startsWith("/")?n:"/"+n).replaceAll("%{q}%",e||g||"");(0,m.getHistory)().push(i)};return(0,c.useEffect)((()=>{var e;p&&(null===(e=r.current)||void 0===e||e.focus());const t=e=>{p&&a.current&&!e.composedPath().includes(a.current)&&h(!1)},n=e=>{const t=/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"metaKey":"ctrlKey";!p&&e[t]&&"k"===e.key?(e.preventDefault(),E()?S():h(!0)):"Escape"!==e.key&&"Esc"!==e.key||!p||h(!1)};return window.addEventListener("click",t,!0),window.addEventListener("keydown",n),()=>{window.removeEventListener("click",t),window.removeEventListener("keydown",n)}}),[p]),(0,c.useEffect)((()=>{!v.length&&p&&(async()=>{const e=[{type:gu.fullText,name:"全文搜索",config:{url:su}},{type:gu.ipSearch,name:"ip搜索",config:{url:cu}},{type:gu.link,name:"工单搜索",config:{url:"/itsc-ticket-center/ticket-list?q=%{q}%",searchPlaceholde:"输入工单编号/标题等关键字"}}];try{var t;const n=(null===(t=(await(0,Jd.y)("QUERIER_CONFIG@EASYOPS",{page:1,page_size:100,fields:["name","type","disabled","config","showInApps"]})).list)||void 0===t?void 0:t.map((e=>{const t=e,n=t.config||{url:""};return t.type===gu.fullText?n.url=su:t.type===gu.ipSearch&&(n.url=cu),{...t,config:n}})))||[];x((null==n?void 0:n.length)>0?n:e)}catch{x(e)}})()}),[p]),(0,c.useEffect)((()=>{const e=v.filter((e=>{var t,n;return!e.disabled&&(!(null!==(t=e.showInApps)&&void 0!==t&&t.length)||(null===(n=e.showInApps)||void 0===n?void 0:n.length)&&e.showInApps.includes(l))})).map((e=>({...e,label:e.name,value:e.name})));k(e),A(e.find((e=>e.name===ou.getItem(lu)))||e.find((e=>e.type===gu.ipSearch))||e[0])}),[v]),(0,c.useEffect)((()=>{var e;s(null!==(e=ou.getItem(`${au}-${null==w?void 0:w.name}`))&&void 0!==e?e:[])}),[w]),d().createElement(Hd.Ay,{theme:{algorithm:"dark-v2"===u?Yd.A.darkAlgorithm:Yd.A.defaultAlgorithm}},d().createElement(Qd.N7,{container:i,cache:N,hashPriority:"high"},d().createElement("div",{style:{position:"relative"},ref:a},d().createElement("div",{className:b()("container",{containerShowInput:p,inputContentSlideout:!1===p}),onClick:e=>{e.stopPropagation()}},d().createElement("div",{className:b()("inputContent",{inputContentSlidein:p,inputContentSlideout:!1===p})},d().createElement("div",{className:b()("input-addon-wrapper")},d().createElement("span",{className:"input-affix-wrapper"},d().createElement("span",{className:"input-before-addon"},d().createElement(Zd.A,{value:null==w?void 0:w.value,getPopupContainer:e=>e.parentElement,showSearch:!0,variant:"borderless",style:{width:"100px"},options:y,onChange:e=>{ou.setItem(lu,e),A(y.find((t=>t.name===e)))}})),d().createElement("input",{placeholder:(null==w||null===(n=w.config)||void 0===n?void 0:n.searchPlaceholder)||((null==w?void 0:w.type)===gu.ipSearch?"输入IP查询主机关联的应用、系统等资源":(null==w?void 0:w.type)===gu.fullText?'搜索应用、主机等信息,支持""精确搜索':""),ref:r,value:g,onChange:e=>{f(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&g&&(ou.setItem(`${au}-${null==w?void 0:w.name}`,(0,Ae.uniq)([g,...o].slice(0,5))),S())}}),!!g&&d().createElement("span",{className:"input-suffix"},d().createElement(du,{className:"input-clear-icon",lib:"antd",icon:"close-circle",theme:"filled",onClick:()=>{f("")}}))))),!p&&d().createElement(mu,{content:"IP搜索",placement:"left"},d().createElement(uu,{onClick:()=>{E()?S():h(!0)},className:b()("button",{buttonSildeint:!1===p}),shape:"circle",type:"ghost",buttonStyle:{border:"none",background:"none",fontSize:"16px"},icon:{icon:"search",theme:"outlined",lib:"antd"}}))),d().createElement("div",{className:b()("historySearchContainer",{historySearchContainerSlidein:p,historySearchContainerSlideout:!1===p})},d().createElement("div",{className:"historySearchContent"},d().createElement("div",{className:"latestSearchText"},"最近搜索"),d().createElement("div",{className:"latestSearchTagContainer"},o.map((e=>d().createElement("span",{key:e,className:"latestSearchTagContent",onClick:()=>{ou.setItem(`${au}-${null==w?void 0:w.name}`,(0,Ae.uniq)([e,...o].slice(0,5))),S(e)}},d().createElement("span",{className:"latestSearchTagText",title:e},e)))),!o.length&&d().createElement("div",{className:"emptyText"},"暂无搜索记录"))),d().createElement("div",{className:"quickSearchTip"},"快捷搜索(Cmd/Ctrl+K)")))))}},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()},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}.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}.show-suffix-when-hover:not(:hover) .suffix{display:none}",""]);const o=l.toString()},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()},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()},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()},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()},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},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-indentation{flex-shrink:0}.tree-item-content{min-width:0;flex:1;display:flex;align-items:center}.tree-item-icon,\n.tree-item-expand-button{padding:3px;width:12px;height:12px;font-size:12px;flex-shrink:0}.tree-item-icon,\n.tree-item-label{color:var(--color-header-text)}.tree-item-icon{margin-right:4px}.tree-item-expand-button{margin:0 4px}.tree-item-label{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item-suffix{flex-shrink:0}:host([selected]) .tree-item{background-color:var(--palette-blue-1)}:host([faded]) .tree-item-icon,:host([faded]) .tree-item-label{color:var(--color-disabled-text)}:host(:not([selected])) .tree-item:hover .tree-item-icon{color:var(--palette-blue-4)}:host(:not([selected])) .tree-item:hover .tree-item-label{color:var(--palette-blue-4)}",""]);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()},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()},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}:host([selected]):host([menu-collapsed]) .menu-submenu-title{background:var(--left-sidebar-item-selected-bg);color:var(--left-sidebar-item-selected-color)}:host([selected]):host([collapsed]) .menu-submenu-title{background:var(--left-sidebar-item-selected-bg);color:var(--left-sidebar-item-selected-color)}:host([selected]):host([menu-collapsed]) .menu-submenu-title-icon-container{color:var(--left-sidebar-item-selected-color)}:host([selected]):host([collapsed]) .menu-submenu-title-icon-container{color:var(--left-sidebar-item-selected-color)}:host([selected]):host([menu-collapsed]) .menu-submenu-arrow{color:var(--left-sidebar-item-selected-color)}: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()},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-indentation{flex-shrink:0}.tree-item-content{min-width:0;flex:1;display:flex;align-items:center}.tree-item-icon,\n.tree-item-expand-button{padding:3px;position:relative;width:12px;height:12px;font-size:12px;flex-shrink:0}.tree-item-icon,\n.tree-item-label{color:var(--color-header-text)}.tree-item-icon{margin-right:4px}.tree-item-expand-button{margin:0 4px}.tree-item-expand-button .tree-item-expand-arrow{color:var(--color-header-text);width:12px;height:12px;position:absolute;left:50%;top:50%;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.tree-item-label{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.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}.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([faded]) .tree-item-icon,:host([faded]) .tree-item-label{color:var(--color-disabled-text)}:host(:not([selected])) .tree-item:hover .tree-item-icon{color:var(--palette-blue-4)}:host(:not([selected])) .tree-item:hover .tree-item-label{color:var(--palette-blue-4)}",""]);const o=l.toString()},9139:(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}.container{position:relative;width:32px;height:32px}.containerShowInput{width:500px}.inputContent{background:rgba(204,209,219,0.3);border-radius:3px;height:30px;position:absolute;right:0;width:0px;overflow:hidden}.inputContentSlidein{overflow:visible;animation:slidein 0.4s ease-in-out forwards}.inputContentSlideout{width:500px;animation:slideout 0.4s 0.2s ease-in-out forwards}input{flex:1;padding:0;margin:0;border:none;outline:none;font-size:14px;line-height:20px;color:inherit;background-color:transparent;cursor:inherit;width:100%}select{border:none;outline:none;width:150px;background:transparent}input:focus{border:none!important}input::placeholder{color:var(--color-disabled-text)}.button{position:absolute;right:0;top:0}.buttonSildeint{opacity:0;animation:btnSlidein 0.1ms 0.6s ease-in-out forwards}@keyframes btnSlidein{from{opacity:0}to{opacity:1}}@keyframes slidein{from{width:0px}to{width:500px}}@keyframes slideout{from{width:500px}to{width:0px}}.input-addon-wrapper{display:table;width:100%;line-height:22px}.input-affix-wrapper{display:inline-flex;position:relative;padding-bottom:4px;width:100%;transition:border-color 0.3s,box-shadow 0.3s;overflow:visible}.input-suffix,\n.input-before-addon{display:flex;flex:none;align-items:center;margin-left:4px;margin-right:4px;width:16px}.input-before-addon{width:100px}.input-clear-icon{margin-left:4px;font-size:12px;color:var(--text-color-disabled);cursor:pointer}.input-clear-icon:hover{color:var(--antd-text-color-secondary)}.historySearchContainer{width:500px;height:160px;box-shadow:0px 2px 6px 0px rgba(0,0,0,0.15);background-color:var(--antd-dropdown-menu-bg);top:35px;position:absolute;height:0px;right:0;overflow:hidden;border-radius:6px;z-index:1000}.historySearchContainerSlidein{top:35px;animation:historySlidein 0.4s 0.2s ease-in-out forwards}.historySearchContainerSlideout{animation:historySlideout 0.4s ease-in-out forwards}@keyframes historySlidein{from{height:0px}to{height:160px}}@keyframes historySlideout{from{height:160px}to{height:0px}}.quickSearchTip{width:140px;height:17px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px;color:var(--color-auxiliary-text);line-height:17px;text-align:left;font-style:normal;padding:8px 16px 8px 16px;width:484px;border-top:1px solid var(--color-border-divider-line)}.historySearchContent{height:103px;padding:16px 16px 8px 16px;overflow:auto}.latestSearchText{width:56px;height:20px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:var(--local-card-description-color);line-height:20px;text-align:left;font-style:normal;margin-bottom:10px}.latestSearchTagText{height:17px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:var(--color-strong-text);line-height:17px;text-align:center;font-style:normal;white-space:nowrap}.latestSearchTagContainer{display:flex;flex-wrap:wrap;row-gap:8px;column-gap:10px}.latestSearchTagContent{height:20px;background:var(--color-fill-bg-base-1);border-radius:3px;padding:1.5px 8px;cursor:pointer;max-width:480px;overflow:hidden;text-overflow:ellipsis}.emptyText{color:var(--text-color-secondary);text-align:center;width:100%}",""]);const o=l.toString()}}]);
2
- //# sourceMappingURL=4433.14cd7c8d.js.map