@next-bricks/nav 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +1 -1
- package/dist/chunks/2133.a864bc9a.js +2 -0
- package/dist/chunks/{2133.57afe59f.js.map → 2133.a864bc9a.js.map} +1 -1
- package/dist/chunks/2252.c51caba0.js +3 -0
- package/dist/chunks/{2252.a4907dbe.js.map → 2252.c51caba0.js.map} +1 -1
- package/dist/chunks/4837.0712728d.js +2 -0
- package/dist/chunks/{4837.4de613c0.js.map → 4837.0712728d.js.map} +1 -1
- package/dist/chunks/{5009.21202648.js → 5009.5b5536f9.js} +3 -3
- package/dist/chunks/5009.5b5536f9.js.map +1 -0
- package/dist/chunks/6595.754e3f21.js +2 -0
- package/dist/chunks/{6595.582896fb.js.map → 6595.754e3f21.js.map} +1 -1
- package/dist/chunks/7218.bce02c3c.js +2 -0
- package/dist/chunks/{7218.99c42e66.js.map → 7218.bce02c3c.js.map} +1 -1
- package/dist/chunks/8518.e38f6f0a.js +2 -0
- package/dist/chunks/{8518.4a921b6e.js.map → 8518.e38f6f0a.js.map} +1 -1
- package/dist/chunks/884.37bae7a3.js +2 -0
- package/dist/chunks/{884.57ecb139.js.map → 884.37bae7a3.js.map} +1 -1
- package/dist/chunks/9149.d05cd9d9.js +2 -0
- package/dist/chunks/{9149.6ca3f62d.js.map → 9149.d05cd9d9.js.map} +1 -1
- package/dist/chunks/easyops-navbar-alerts.c8d38d79.js +2 -0
- package/dist/chunks/{easyops-navbar-alerts.af2663da.js.map → easyops-navbar-alerts.c8d38d79.js.map} +1 -1
- package/dist/chunks/eo-directory-tree.32611088.js +2 -0
- package/dist/chunks/{eo-directory-tree.719990de.js.map → eo-directory-tree.32611088.js.map} +1 -1
- package/dist/chunks/eo-directory.a8adaba7.js +3 -0
- package/dist/chunks/{eo-directory.8ba6c6d0.js.map → eo-directory.a8adaba7.js.map} +1 -1
- package/dist/chunks/eo-frame-breadcrumb.ee0adefe.js +2 -0
- package/dist/chunks/{eo-frame-breadcrumb.83f52c77.js.map → eo-frame-breadcrumb.ee0adefe.js.map} +1 -1
- package/dist/chunks/eo-launchpad-button-v2.8a30fa5f.js +3 -0
- package/dist/chunks/{eo-launchpad-button-v2.07be5183.js.map → eo-launchpad-button-v2.8a30fa5f.js.map} +1 -1
- package/dist/chunks/eo-nav-menu.bbdb4e1c.js +2 -0
- package/dist/chunks/{eo-nav-menu.f2e0363a.js.map → eo-nav-menu.bbdb4e1c.js.map} +1 -1
- package/dist/chunks/eo-sidebar-menu-group.22728bed.js +3 -0
- package/dist/chunks/{eo-sidebar-menu-group.972dc19f.js.map → eo-sidebar-menu-group.22728bed.js.map} +1 -1
- package/dist/chunks/eo-sidebar-menu-submenu.d651961c.js +3 -0
- package/dist/chunks/{eo-sidebar-menu-submenu.1dc3020e.js.map → eo-sidebar-menu-submenu.d651961c.js.map} +1 -1
- package/dist/chunks/eo-sidebar-menu.29795c99.js +2 -0
- package/dist/chunks/{eo-sidebar-menu.090d1998.js.map → eo-sidebar-menu.29795c99.js.map} +1 -1
- package/dist/chunks/eo-sidebar-sub-menu.49ecd2a6.js +3 -0
- package/dist/chunks/{eo-sidebar-sub-menu.d9d77c4d.js.map → eo-sidebar-sub-menu.49ecd2a6.js.map} +1 -1
- package/dist/chunks/eo-sidebar.558ae6fc.js +3 -0
- package/dist/chunks/{eo-sidebar.37543a7e.js.map → eo-sidebar.558ae6fc.js.map} +1 -1
- package/dist/chunks/launchpad-config.d485dd51.js +3 -0
- package/dist/chunks/{launchpad-config.246a5be8.js.map → launchpad-config.d485dd51.js.map} +1 -1
- package/dist/chunks/main.520ea26e.js +2 -0
- package/dist/chunks/{main.c675ac30.js.map → main.520ea26e.js.map} +1 -1
- package/dist/chunks/nav-logo.2255b1bb.js +2 -0
- package/dist/chunks/{nav-logo.53e00cac.js.map → nav-logo.2255b1bb.js.map} +1 -1
- package/dist/chunks/poll-announce.5acc5c97.js +3 -0
- package/dist/chunks/{poll-announce.66b095cb.js.map → poll-announce.5acc5c97.js.map} +1 -1
- package/dist/index.a175e854.js +2 -0
- package/dist/index.a175e854.js.map +1 -0
- package/package.json +2 -2
- package/dist/chunks/2133.57afe59f.js +0 -2
- package/dist/chunks/2252.a4907dbe.js +0 -3
- package/dist/chunks/4837.4de613c0.js +0 -2
- package/dist/chunks/5009.21202648.js.map +0 -1
- package/dist/chunks/6595.582896fb.js +0 -2
- package/dist/chunks/7218.99c42e66.js +0 -2
- package/dist/chunks/8518.4a921b6e.js +0 -2
- package/dist/chunks/884.57ecb139.js +0 -2
- package/dist/chunks/9149.6ca3f62d.js +0 -2
- package/dist/chunks/easyops-navbar-alerts.af2663da.js +0 -2
- package/dist/chunks/eo-directory-tree.719990de.js +0 -2
- package/dist/chunks/eo-directory.8ba6c6d0.js +0 -3
- package/dist/chunks/eo-frame-breadcrumb.83f52c77.js +0 -2
- package/dist/chunks/eo-launchpad-button-v2.07be5183.js +0 -3
- package/dist/chunks/eo-nav-menu.f2e0363a.js +0 -2
- package/dist/chunks/eo-sidebar-menu-group.972dc19f.js +0 -3
- package/dist/chunks/eo-sidebar-menu-submenu.1dc3020e.js +0 -3
- package/dist/chunks/eo-sidebar-menu.090d1998.js +0 -2
- package/dist/chunks/eo-sidebar-sub-menu.d9d77c4d.js +0 -3
- package/dist/chunks/eo-sidebar.37543a7e.js +0 -3
- package/dist/chunks/launchpad-config.246a5be8.js +0 -3
- package/dist/chunks/main.c675ac30.js +0 -2
- package/dist/chunks/nav-logo.53e00cac.js +0 -2
- package/dist/chunks/poll-announce.66b095cb.js +0 -3
- package/dist/index.066a83be.js +0 -2
- package/dist/index.066a83be.js.map +0 -1
- /package/dist/chunks/{2252.a4907dbe.js.LICENSE.txt → 2252.c51caba0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5009.21202648.js.LICENSE.txt → 5009.5b5536f9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-directory.8ba6c6d0.js.LICENSE.txt → eo-directory.a8adaba7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-launchpad-button-v2.07be5183.js.LICENSE.txt → eo-launchpad-button-v2.8a30fa5f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-sidebar-menu-group.972dc19f.js.LICENSE.txt → eo-sidebar-menu-group.22728bed.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-sidebar-menu-submenu.1dc3020e.js.LICENSE.txt → eo-sidebar-menu-submenu.d651961c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-sidebar-sub-menu.d9d77c4d.js.LICENSE.txt → eo-sidebar-sub-menu.49ecd2a6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-sidebar.37543a7e.js.LICENSE.txt → eo-sidebar.558ae6fc.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{launchpad-config.246a5be8.js.LICENSE.txt → launchpad-config.d485dd51.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{poll-announce.66b095cb.js.LICENSE.txt → poll-announce.5acc5c97.js.LICENSE.txt} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-directory.8ba6c6d0.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[7257,1369,2052],{5370:(t,e,i)=>{"use strict";i.r(e),i.d(e,{EoDirectory:()=>H,EoDirectoryComponent:()=>ot});var r,n=i(9575),o=i(4635),s=i(918),c=i(6902),a=i(5536),u=i(6121),l=i(829),d=i(2740),f=i(8769),m=i.n(f),p=i(4782),h=i(1389),y=i(4047),v=(i(6477),i(2763)),g=i(3373),b=i.n(g);let A,x,k,w,E,S,j,B,I,T,C,O,M,N,W,z,P,R,D,K,$;const{defineElement:_,property:U,event:q}=(0,p.createDecorators)(),F=(0,h.wrapBrick)("eo-icon"),G=(0,h.wrapBrick)("eo-tooltip");let H;var J=new WeakMap,L=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakMap,Z=new WeakMap,tt=new WeakSet,et=new WeakMap,it=new WeakMap,rt=new WeakMap;class nt extends h.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,tt),(0,s.A)(this,J,x(this,"fixed")),(0,s.A)(this,L,(k(this),w(this))),(0,s.A)(this,Q,(E(this),S(this,[]))),(0,s.A)(this,V,(j(this),B(this,!1))),(0,s.A)(this,X,(I(this),T(this))),(0,s.A)(this,Y,(C(this),O(this))),(0,s.A)(this,Z,(M(this),N(this))),(0,s.A)(this,et,(P(this),R(this))),(0,s.A)(this,it,($(this),t=>{(0,a.A)(tt,this,W).emit(t)})),(0,s.A)(this,rt,(t=>{(0,a.A)(tt,this,D).emit({key:t})}))}get position(){return(0,l.A)(J,this)}set position(t){(0,u.A)(J,this,t)}get directoryTitle(){return(0,l.A)(L,this)}set directoryTitle(t){(0,u.A)(L,this,t)}get menuItems(){return(0,l.A)(Q,this)}set menuItems(t){(0,u.A)(Q,this,t)}get hideRightBorder(){return(0,l.A)(V,this)}set hideRightBorder(t){(0,u.A)(V,this,t)}get suffixBrick(){return(0,l.A)(X,this)}set suffixBrick(t){(0,u.A)(X,this,t)}get defaultSelectedKeys(){return(0,l.A)(Y,this)}set defaultSelectedKeys(t){(0,u.A)(Y,this,t)}render(){return m().createElement(ot,{menuItems:this.menuItems,directoryTitle:this.directoryTitle,hideRightBorder:this.hideRightBorder,suffixIconClick:(0,l.A)(rt,this),menuItemClick:(0,l.A)(it,this),defaultSelectedKeys:this.defaultSelectedKeys,suffixBrick:this.suffixBrick})}}function ot(t){const{menuItems:e,directoryTitle:i,hideRightBorder:r,menuItemClick:o,suffixIconClick:s,defaultSelectedKeys:c,suffixBrick:a}=t;return m().createElement("div",{className:b()("directory-container",{"directory-container-not-border":r})},i&&m().createElement("div",{className:"directory-title",title:i},i),m().createElement("div",{className:"directory-menu-list"},e.map(((t,e)=>{var i;return m().createElement("div",{className:b()("menu-item",`menu-item-${t.type}`),key:`${t.key}-${e}`},m().createElement("div",{className:b()(`menu-item-title-${t.type}`),onClick:()=>"item"===t.type&&(null==o?void 0:o({data:t}))},m().createElement("span",{className:b()("menu-title-text",{"menu-title-text-active":null==c?void 0:c.includes(t.key)})},t.title),null!=a&&a.useBrick?m().createElement(y.ReactUseMultipleBricks,{useBrick:a.useBrick,data:{data:t}}):null,t.suffixIcon&&m().createElement(G,{content:t.suffixIconTooltip,placement:"top"},m().createElement(F,(0,n.A)({},t.suffixIcon,{className:b()("menu-item-title-suffix-icon",{"menu-item-title-suffix-icon-disabled":t.suffixIconDisabled}),onClick:e=>{e.stopPropagation(),t.suffixIconDisabled?e.preventDefault():null==s||s(t.key)}})))),"group"===t.type&&!(null===(i=t.children)||void 0===i||!i.length)&&t.children.map(((e,i)=>m().createElement("div",{className:"menu-item-title-item",onClick:()=>null==o?void 0:o({data:e,groupKey:t.key}),key:`${e.key}-${i}`},m().createElement("span",{className:b()("menu-title-text",{"menu-title-text-active":null==c?void 0:c.includes(e.key)})},e.title)))))}))))}r=nt,({e:[x,k,w,E,S,j,B,I,T,C,O,M,N,W,z,P,R,D,K,$],c:[H,A]}=(0,d.A)(r,[_("eo-directory",{styleTexts:[v.A]})],[[U(),1,"position"],[U(),1,"directoryTitle"],[U({attribute:!1}),1,"menuItems"],[U({type:Boolean}),1,"hideRightBorder"],[U({attribute:!1}),1,"suffixBrick"],[U({attribute:!1}),1,"defaultSelectedKeys"],[q({type:"menu.item.click"}),1,"menuItemClickEvent",t=>(0,l.A)(Z,t),(t,e)=>(0,u.A)(Z,t,e)],[q({type:"suffix.icon.click"}),1,"suffixIconClickEvent",t=>(0,l.A)(et,t),(t,e)=>(0,u.A)(et,t,e)]],0,(t=>rt.has((0,c.A)(t))),h.ReactNextElement)),A()},2763:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(6758),n=i.n(r),o=i(935),s=i.n(o)()(n());s.push([t.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 c=s.toString()},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",r=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),r&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),r&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,r,n,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(s[a]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},6758:t=>{"use strict";t.exports=function(t){return t[1]}},3373:(t,e)=>{var i;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=s(t,o(i)))}return t}function o(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)r.call(t,i)&&t[i]&&(e=s(e,i));return e}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):void 0===(i=function(){return n}.apply(e,[]))||(t.exports=i)}()},2740:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(7545),n=i(6902);function o(t,e,i){"symbol"==(0,r.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:i?i+" "+e:e})}catch(t){}return t}var s=i(1369);function c(t,e,i,c,a,u){var l,d,f,m,p,h,y,v=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,b=Object.create,A=[b(null),b(null)],x=e.length;function k(e,i,r){return function(n,o){i&&(o=n,n=t);for(var s=0;s<e.length;s++)o=e[s].apply(n,r?[o]:[]);return r?o:n}}function w(t,e,i,r){if("function"!=typeof t&&(r||void 0!==t))throw new TypeError(e+" must "+(i||"be")+" a function"+(r?"":" or undefined"));return t}function E(t,e,i,n,s,c,a,u,f,m,p){function h(t){if(!p(t))throw new TypeError("Attempted to access private element on non-instance")}var y=[].concat(e[0]),v=e[3],b=!a,x=1===s,E=3===s,S=4===s,j=2===s;function B(e,i,r){return function(n,o){return i&&(o=n,n=t),r&&r(n),I[e].call(n,o)}}if(!b){var I={},T=[],C=E?"get":S||x?"set":"value";if(f?(m||x?I={get:o((function(){return v(this)}),n,"get"),set:function(t){e[4](this,t)}}:I[C]=v,m||o(I[C],n,j?"":C)):m||(I=Object.getOwnPropertyDescriptor(t,n)),!m&&!f){if((d=A[+u][n])&&7!=(d^s))throw Error("Decorating two elements with the same name ("+I[C].name+") is not supported yet");A[+u][n]=s<3?1:s}}for(var O=t,M=y.length-1;M>=0;M-=i?2:1){var N=w(y[M],"A decorator","be",!0),W=i?y[M-1]:void 0,z={},P={kind:["field","accessor","method","getter","setter","class"][s],name:n,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");w(e,"An initializer","be",!0),c.push(e)}.bind(null,z)};if(b)d=N.call(W,O,P),z.v=1,w(d,"class decorators","return")&&(O=d);else if(P.static=u,P.private=f,d=P.access={has:f?p.bind():function(t){return n in t}},S||(d.get=f?j?function(t){return h(t),I.value}:B("get",0,h):function(t){return t[n]}),j||E||(d.set=f?B("set",0,h):function(t,e){t[n]=e}),O=N.call(W,x?{get:I.get,set:I.set}:I[C],P),z.v=1,x){if("object"==(0,r.A)(O)&&O)(d=w(O.get,"accessor.get"))&&(I.get=d),(d=w(O.set,"accessor.set"))&&(I.set=d),(d=w(O.init,"accessor.init"))&&T.unshift(d);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else w(O,(m?"field":"method")+" decorators","return")&&(m?T.unshift(O):I[C]=O)}return s<2&&a.push(k(T,u,1),k(c,u,0)),m||b||(f?x?a.splice(-1,0,B("get",u),B("set",u)):a.push(j?I[C]:w.call.bind(I[C])):g(t,n,I)),O}function S(t){return g(t,v,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[v]),l=b(null==l?null:l),p=[],h=function(t){t&&p.push(k(t))},y=function(e,r){for(var o=0;o<i.length;o++){var c=i[o],u=c[1],l=7&u;if((8&u)==e&&!l==r){var d=c[2],h=!!c[3],y=16&u;E(e?t:t.prototype,c,y,h?"#"+d:(0,s.A)(d),l,l<2?[]:e?m=m||[]:f=f||[],p,!!e,h,r,e&&h?function(e){return(0,n.A)(e)===t}:a)}}},y(8,0),y(0,0),y(8,1),y(0,1),h(f),h(m),d=p,x||S(t),{e:d,get c(){var i=[];return x&&[S(t=E(t,[e],c,t.name,5,i)),k(i,1)]}}}},2559:(t,e,i)=>{"use strict";function r(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}i.d(e,{A:()=>r})},6902:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(7545);function n(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,r.A)(t):"null"));return t}},2016:(t,e,i)=>{"use strict";function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}i.d(e,{A:()=>r})},829:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e){return t.get((0,r.A)(t,e))}},918:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2016);function n(t,e,i){(0,r.A)(t,e),e.set(t,i)}},6121:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e,i){return t.set((0,r.A)(t,e),i),i}},5536:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e,i){return i((0,r.A)(t,e))}},4635:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2016);function n(t,e){(0,r.A)(t,e),e.add(t)}},9575:(t,e,i)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},r.apply(this,arguments)}i.d(e,{A:()=>r})},1369:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(7545);function n(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.A)(e)?e:e+""}},7545:(t,e,i)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}i.d(e,{A:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-directory.8ba6c6d0.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[8339,1369,2052],{8738:(e,t,r)=>{r.r(t),r.d(t,{EoFrameBreadcrumb:()=>S,EoFrameBreadcrumbComponent:()=>B});var n,o=r(9575),i=r(918),a=r(6121),c=r(829),u=r(2740),l=r(8769),s=r.n(l),f=r(4782),p=r(1389),m=r(4047),d=(r(6477),r(2689));let b,h,v,g,y,A,w;const{defineElement:E,property:x}=(0,f.createDecorators)(),j=(0,p.wrapBrick)("eo-breadcrumb"),k=(0,p.wrapBrick)("eo-breadcrumb-item"),C=(0,p.wrapBrick)("eo-icon");let S;var T=new WeakMap,O=new WeakMap,N=new WeakMap;class P extends p.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,T,h(this)),(0,i.A)(this,O,(v(this),g(this))),(0,i.A)(this,N,(y(this),A(this))),w(this)}get breadcrumb(){return(0,c.A)(T,this)}set breadcrumb(e){(0,a.A)(T,this,e)}get noCurrentApp(){return(0,c.A)(O,this)}set noCurrentApp(e){(0,a.A)(O,this,e)}get menu(){return(0,c.A)(N,this)}set menu(e){(0,a.A)(N,this,e)}render(){return s().createElement(B,{breadcrumb:this.breadcrumb,noCurrentApp:this.noCurrentApp,menu:this.menu})}}function B(e){var t;const{menu:r}=e,n=(0,m.useNavConfig)(),i=(0,m.useCurrentApp)(),a=null==i?void 0:i.breadcrumb,c=null==a?void 0:a.items,u=null!==(t=e.breadcrumb)&&void 0!==t&&t.length?e.breadcrumb:null==n?void 0:n.breadcrumb,l=e.noCurrentApp??(null==a?void 0:a.noCurrentApp),f=null==a?void 0:a.useCurrentMenuTitle;return s().createElement(j,null,s().createElement("span",{slot:"separator"},"/"),null==c?void 0:c.map(((e,t)=>s().createElement(k,{key:t,url:e.to},e.icon?s().createElement(C,(0,o.A)({className:"breadcrumb-item-prefix-icon",slot:"prefix"},e.icon)):0===t&&s().createElement(C,{className:"breadcrumb-item-prefix-icon",slot:"prefix",lib:"antd",icon:"home",theme:"outlined"}),e.text))),i&&!l?s().createElement(k,{url:null!=u&&u.length&&i.homepage&&!i.internal?i.homepage:void 0},!(null!=c&&c.length)&&s().createElement(C,(0,o.A)({},i.menuIcon,{slot:"prefix",className:"breadcrumb-item-prefix-icon"})),i.localeName):null,f&&r?s().createElement(k,{url:r.link},r.icon&&s().createElement(C,(0,o.A)({},r.icon,{className:"breadcrumb-item-prefix-icon",slot:"prefix"})),r.title):null,null==u?void 0:u.map(((e,t)=>s().createElement(k,{key:t,url:e.to},e.text))))}n=P,({e:[h,v,g,y,A,w],c:[S,b]}=(0,u.A)(n,[E("eo-frame-breadcrumb",{styleTexts:[d.A]})],[[x({attribute:!1}),1,"breadcrumb"],[x({type:Boolean}),1,"noCurrentApp"],[x({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),b()},2689:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([e.id,":host{display:flex;height:22px;align-items:center}:host([hidden]){display:none}.breadcrumb-item-prefix-icon{font-size:14px}",""]);const c=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);n&&a[s[0]]||(void 0!==i&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=i),r&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=r):s[2]=r),o&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=o):s[4]="".concat(o)),t.push(s))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(7545),o=r(6902);function i(e,t,r){"symbol"==(0,n.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}var a=r(1369);function c(e,t,r,c,u,l){var s,f,p,m,d,b,h,v=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,A=[y(null),y(null)],w=t.length;function E(t,r,n){return function(o,i){r&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,n?[i]:[]);return n?i:o}}function x(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function j(e,t,r,o,a,c,u,l,p,m,d){function b(e){if(!d(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],y=!u,w=1===a,j=3===a,k=4===a,C=2===a;function S(t,r,n){return function(o,i){return r&&(i=o,o=e),n&&n(o),T[t].call(o,i)}}if(!y){var T={},O=[],N=j?"get":k||w?"set":"value";if(p?(m||w?T={get:i((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:T[N]=v,m||i(T[N],o,C?"":N)):m||(T=Object.getOwnPropertyDescriptor(e,o)),!m&&!p){if((f=A[+l][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+T[N].name+") is not supported yet");A[+l][o]=a<3?1:a}}for(var P=e,B=h.length-1;B>=0;B-=r?2:1){var _=x(h[B],"A decorator","be",!0),z=r?h[B-1]:void 0,M={},D={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:s,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),c.push(t)}.bind(null,M)};if(y)f=_.call(z,P,D),M.v=1,x(f,"class decorators","return")&&(P=f);else if(D.static=l,D.private=p,f=D.access={has:p?d.bind():function(e){return o in e}},k||(f.get=p?C?function(e){return b(e),T.value}:S("get",0,b):function(e){return e[o]}),C||j||(f.set=p?S("set",0,b):function(e,t){e[o]=t}),P=_.call(z,w?{get:T.get,set:T.set}:T[N],D),M.v=1,w){if("object"==(0,n.A)(P)&&P)(f=x(P.get,"accessor.get"))&&(T.get=f),(f=x(P.set,"accessor.set"))&&(T.set=f),(f=x(P.init,"accessor.init"))&&O.unshift(f);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(P,(m?"field":"method")+" decorators","return")&&(m?O.unshift(P):T[N]=P)}return a<2&&u.push(E(O,l,1),E(c,l,0)),m||y||(p?w?u.splice(-1,0,S("get",l),S("set",l)):u.push(C?T[N]:x.call.bind(T[N])):g(e,o,T)),P}function k(e){return g(e,v,{configurable:!0,enumerable:!0,value:s})}return void 0!==l&&(s=l[v]),s=y(null==s?null:s),d=[],b=function(e){e&&d.push(E(e))},h=function(t,n){for(var i=0;i<r.length;i++){var c=r[i],l=c[1],s=7&l;if((8&l)==t&&!s==n){var f=c[2],b=!!c[3],h=16&l;j(t?e:e.prototype,c,h,b?"#"+f:(0,a.A)(f),s,s<2?[]:t?m=m||[]:p=p||[],d,!!t,b,n,t&&b?function(t){return(0,o.A)(t)===e}:u)}}},h(8,0),h(0,0),h(8,1),h(0,1),b(p),b(m),f=d,w||k(e),{e:f,get c(){var r=[];return w&&[k(e=j(e,[t],c,e.name,5,r)),E(r,1)]}}}},2559:(e,t,r)=>{function n(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r.d(t,{A:()=>n})},6902:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.A)(e):"null"));return e}},2016:(e,t,r)=>{function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{A:()=>n})},829:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(2559);function o(e,t){return e.get((0,n.A)(e,t))}},918:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(2016);function o(e,t,r){(0,n.A)(e,t),t.set(e,r)}},6121:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(2559);function o(e,t,r){return e.set((0,n.A)(e,t),r),r}},9575:(e,t,r)=>{function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},1369:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(7545);function o(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},7545:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})}}]);
|
|
2
|
-
//# sourceMappingURL=eo-frame-breadcrumb.83f52c77.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-launchpad-button-v2.07be5183.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[470],{797:(e,t,n)=>{n.r(t),n.d(t,{EoLaunchpadButtonV2:()=>k,EoLaunchpadButtonV2Component:()=>C});var r,i=n(2740),a=n(8769),c=n.n(a),l=n(4782),o=n(1389),u=n(279),s=(n(6477),n(8581)),d=n(6674),h=n(3373),p=n.n(h),f=n(2240),v=n(5924),m=n(3693),E=n(9302),b=n(2133),x=n(8776);let y;n(9262);const{defineElement:A}=(0,l.createDecorators)(),g=(0,u.unwrapProvider)("basic.lock-body-scroll");let k;class w extends o.ReactNextElement{disconnectedCallback(){super.disconnectedCallback(),g(this,!1)}render(){return c().createElement(C,{host:this})}}function C(e){let{host:t}=e;const[n,r]=(0,a.useState)(!1),[i,l]=(0,a.useState)(!1),o=()=>{l((e=>!e))};return(0,a.useEffect)((()=>(0,s.getHistory)().listen((()=>{l(!1)}))),[]),(0,a.useEffect)((()=>{i&&!n&&r(!0)}),[i,n]),(0,a.useEffect)((()=>(d.A.filter=function(){return!0},(0,d.A)("alt+l",(e=>{e.preventDefault(),l((e=>!e))})),(0,d.A)("esc",(()=>{l(!1)})),()=>{d.A.unbind("alt+l"),d.A.unbind("esc")})),[]),(0,a.useEffect)((()=>{g(t,i)}),[i,t]),(0,a.useEffect)((()=>{var e;b.ir.schedulePrefetch(),b.fm.schedulePrefetch(),(null===(e=(0,s.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["launchpad-show-platform-category"])&&b.pU.schedulePrefetch()}),[]),c().createElement(c().Fragment,null,c().createElement("a",{role:"button",className:p()("launchpad-button",{active:i}),onClick:o},c().createElement(f.A,null)),c().createElement("div",{className:p()("mask",{active:i}),onClick:o}),n&&c().createElement(E.r,{active:i}))}r=w,[k,y]=(0,i.A)(r,[A("eo-launchpad-button-v2",{styleTexts:[v.A,m.A,x.A]})],[],0,void 0,o.ReactNextElement).c,y()},2240:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(9575),i=n(8769);const a=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16"},e),i.createElement("g",{fill:"currentColor",fillRule:"nonzero"},i.createElement("path",{d:"M0 0h4v4H0zM0 6h4v4H0zM6 0h4v4H6zM6 6h4v4H6zM12 0h4v4h-4zM12 6h4v4h-4zM0 12h4v4H0zM6 12h4v4H6zM12 12h4v4h-4z"})))},1675:(e,t,n)=>{n.d(t,{A:()=>v});var r=n(7502),i=n(9575),a=n(2474),c=n(9140),l=n(8769),o=n.n(l),u=n(9548);function s(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function d(e,t,n){return null!=n[t]?n[t]:e.props[t]}function h(e,t,n){var r=s(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),a=[];for(var c in e)c in t?a.length&&(i[c]=a,a=[]):a.push(c);var l={};for(var o in t){if(i[o])for(r=0;r<i[o].length;r++){var u=i[o][r];l[i[o][r]]=n(u)}l[o]=n(o)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(i).forEach((function(a){var c=i[a];if((0,l.isValidElement)(c)){var o=a in t,u=a in r,s=t[a],h=(0,l.isValidElement)(s)&&!s.props.in;!u||o&&!h?u||!o||h?u&&o&&(0,l.isValidElement)(s)&&(i[a]=(0,l.cloneElement)(c,{onExited:n.bind(null,c),in:s.props.in,exit:d(c,"exit",e),enter:d(c,"enter",e)})):i[a]=(0,l.cloneElement)(c,{in:!1}):i[a]=(0,l.cloneElement)(c,{onExited:n.bind(null,c),in:!0,exit:d(c,"exit",e),enter:d(c,"enter",e)})}})),i}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,a.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,c.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,s(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:d(e,"appear",n),enter:d(e,"enter",n),exit:d(e,"exit",n)})}))):h(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=s(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.A)(e,["component","childFactory"]),a=this.state.contextValue,c=p(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?o().createElement(u.A.Provider,{value:a},c):o().createElement(u.A.Provider,{value:a},o().createElement(t,i,c))},t}(o().Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const v=f},2474:(e,t,n)=>{function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},8406:(e,t,n)=>{n.d(t,{y:()=>a});var r=n(6330),i=n(3496),a=function(){var e=(0,r.A)((function*(e,t,n){return(yield i.http.post("api/gateway/cmdb.instance.PostSearchV3/v3/object/".concat(e,"/instance/_search"),t,n)).data}));return function(t,n,r){return e.apply(this,arguments)}}()},2824:(e,t,n)=>{n.d(t,{k:()=>a});var r=n(6330),i=n(6730),a=function(){var e=(0,r.A)((function*(e,t){return(yield i.http.post("api/gateway/user_service.launchpad.CreateCollectionV2/api/v2/launchpad/collection",e,t)).data}));return function(t,n){return e.apply(this,arguments)}}()},2887:(e,t,n)=>{n.d(t,{r:()=>i});var r=n(6730),i=(e,t)=>r.http.delete("api/gateway/user_service.launchpad.DeleteCollectionV2/api/v2/launchpad/collection/".concat(e),t)},7296:(e,t,n)=>{n.d(t,{K:()=>c});var r=n(9740),i=n(6330),a=n(6730),c=function(){var e=(0,i.A)((function*(e,t){return(yield a.http.get("api/gateway/user_service.launchpad.ListCollectionV2/api/v2/launchpad/collection",(0,r.A)((0,r.A)({},t),{},{params:e}))).data}));return function(t,n){return e.apply(this,arguments)}}()}}]);
|
|
3
|
-
//# sourceMappingURL=eo-launchpad-button-v2.07be5183.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[5821],{816:(e,t,n)=>{n.r(t),n.d(t,{NavMenu:()=>P});var i,l=n(918),a=n(6121),o=n(829),r=n(2740),s=n(9575),m=n(8769),c=n.n(m),u=n(4782),d=n(8581),h=n(1389),p=n(6370),y=n(9527),g=n(764),v=(n(6477),n(3373)),w=n.n(v),b=n(1283),f=n(9044),T=n(9998),E=n(839),k=n(1122);let M,x,S,N,A,K,D;n(4211);const{defineElement:I,property:C}=(0,u.createDecorators)(),R=(0,h.wrapBrick)("eo-menu-item"),_=(0,h.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",beforeVisibleChange:"before.visible.change"});function W(e){const{item:t}=e;return(0,y.Wf)(t,e.topData)?c().createElement(V,(0,s.A)({},e,{item:t})):(0,y.IZ)(t)?c().createElement(B,(0,s.A)({},e,{item:t})):c().createElement(G,(0,s.A)({},e,{item:t}))}function G(e){const{item:t,index:n,hidden:i,showTooltip:l,selectedKey:a=[]}=e;return c().createElement(R,{"data-index":n,className:i?"overflow-menu-item":"",key:t.key,title:l?t.text:"",active:!!t.key&&a.includes(t.key)},(0,y.q5)(t,{width:"100%"},e.mainMenuTitleStyle))}let F;const L=e=>{const t=F??(F=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 V(e){var t;let{index:n,hidden:i,item:l,topData:a,showTooltip:o,selectedKey:r=[],overflow:s,mainMenuTitleStyle:m}=e;return(null===(t=l.items)||void 0===t?void 0:t.length)>0?c().createElement(_,{"data-index":n,className:w()("popover",{subprime:!a,"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:a?"bottom-start":"right-start",distance:0,anchorDisplay:"block",strategy:"fixed"},c().createElement(R,{className:"sub-menu-item-label 22",key:l.key,slot:"anchor",title:o?l.title:""},(0,y.Gn)(l,!a,{...m})),c().createElement("div",{className:w()("sub-menu-wrapper",{"overflow-menu-wrapper":s})},l.items.map((e=>c().createElement(c().Fragment,{key:e.key},c().createElement(W,{item:e,selectedKey:r,showTooltip:o})))))):null}function B(e){var t;let{item:n,showTooltip:i,selectedKey:l=[]}=e;return(null===(t=n.items)||void 0===t?void 0:t.length)>0?"category"===n.childLayout?c().createElement(O,{item:n,selectedKey:l,showTooltip:i,placement:"right-start",anchorDisplay:"block"}):"siteMap"===n.childLayout?c().createElement(J,{item:n,selectedKey:l,showTooltip:i,placement:"right-start",anchorDisplay:"block",topData:!1}):c().createElement(c().Fragment,null,c().createElement("div",{className:"group-label"},n.title),c().createElement("div",{className:"group-wrapper"},n.items.map((e=>c().createElement(c().Fragment,{key:e.key},c().createElement(W,{item:e,showTooltip:i,selectedKey:l})))))):null}function O(e){var t;let{index:n,hidden:i,item:l,selectedKey:a=[],showTooltip:o,placement:r="bottom-start",anchorDisplay:s,mainMenuTitleStyle:m}=e;return(null===(t=l.items)||void 0===t?void 0:t.length)>0?c().createElement(_,{"data-index":n,className:w()("three-level-menu-popover","popover",{"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:r,distance:0,key:l.key,strategy:"fixed",anchorDisplay:s,beforeVisibleChange:L},c().createElement(R,{className:"sub-menu-item-label",key:l.key,slot:"anchor",title:o?l.title:""},(0,y.Gn)(l,!1,m)),c().createElement("div",{className:"sub-menu-wrapper"},c().createElement(b.s,{menuItem:l,selectedKey:a}))):null}function J(e){var t;let{index:n,hidden:i,item:l,selectedKey:a=[],showTooltip:o,placement:r="bottom-start",anchorDisplay:s,topData:u,mainMenuTitleStyle:d}=e;const[h,p]=(0,m.useState)();return(null===(t=l.items)||void 0===t?void 0:t.length)>0?c().createElement(_,{"data-index":n,className:w()("popover",{"overflow-menu-item":i}),trigger:"hover",placement:r,distance:0,key:l.key,strategy:"fixed",arrow:!1,anchorDisplay:s,beforeVisibleChange:e=>{p(e.detail),L(e)}},c().createElement(R,{className:"sub-menu-item-label",key:l.key,slot:"anchor",title:o?l.title:""},(0,y.Gn)(l,!1,d)),c().createElement("div",{className:w()("sub-menu-sit-map-wrapper",{"in-group-site-map":!u}),onClick:e=>e.stopPropagation()},c().createElement(f.bw,{menuGroup:l,selectedKey:a,visible:h}))):null}let P;var q=new WeakMap,z=new WeakMap,H=new WeakMap;class X extends h.ReactNextElement{constructor(){super(...arguments),(0,l.A)(this,q,x(this)),(0,l.A)(this,z,(S(this),N(this))),(0,l.A)(this,H,(A(this),K(this))),D(this)}get menu(){return(0,o.A)(q,this)}set menu(e){(0,a.A)(q,this,e)}get mainMenuTitleStyle(){return(0,o.A)(z,this)}set mainMenuTitleStyle(e){(0,a.A)(z,this,e)}get showTooltip(){return(0,o.A)(H,this)}set showTooltip(e){(0,a.A)(H,this,e)}render(){return c().createElement(Z,{menu:this.menu,showTooltip:this.showTooltip,mainMenuTitleStyle:this.mainMenuTitleStyle})}}function Z(e){const{menu:t,showTooltip:n}=e,i=(0,d.getHistory)(),l=(0,m.useRef)(null),[a,o]=(0,m.useState)(i.location),[r,s]=(0,m.useState)(Number.MAX_SAFE_INTEGER),{pathname:u,search:h}=a,p=(0,m.useMemo)((()=>((null==t?void 0:t.menuItems)??[]).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,m.useMemo)((()=>{const{selectedKeys:e}=(0,g.LP)(p??[],u,h,"");return e}),[p,u,h]);(0,m.useEffect)((()=>{const e=i.listen((e=>{o(e)}));return e}),[]),(0,m.useEffect)((()=>{if(l.current){const e=new ResizeObserver((()=>{if(l.current){const{width:e}=l.current.getClientRects()[0]??{},t=l.current.childNodes;if(t.length&&e){let n=e,i=t.length;for(let e=0;e<t.length;e++){const{width:l,height:a}=t[e].getClientRects()[0];if(!a&&n-40<0){i=e-1;break}if(n=n-l-(e>0?8:0),n<0){i=e;break}}s(i<0?0:i)}}}));return e.observe(l.current),()=>{e.disconnect()}}}),[]);const w=(0,m.useMemo)((()=>({type:"subMenu",title:"···",items:p.slice(r,p.length)})),[p,r]);return c().createElement("div",{ref:l,className:"nav-menu-wrapper"},p.map(((t,i)=>{var l;const a=r<=i;return c().createElement(c().Fragment,{key:t.key},(0,y.Wf)(t,!0)&&"category"===t.childLayout&&null!==(l=t.items)&&void 0!==l&&l.length?c().createElement(O,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,mainMenuTitleStyle:e.mainMenuTitleStyle}):"group"===t.type&&"siteMap"===t.childLayout?c().createElement(J,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}):c().createElement(W,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:v,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))})),c().createElement(W,{hidden:r>p.length,item:w,showTooltip:n,selectedKey:v,overflow:!0,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))}i=X,({e:[x,S,N,A,K,D],c:[P,M]}=(0,r.A)(i,[I("eo-nav-menu",{styleTexts:[T.A,E.A,k.A,p.A]})],[[C({attribute:!1}),1,"menu"],[C({attribute:!1}),1,"mainMenuTitleStyle"],[C({type:Boolean}),1,"showTooltip"]],0,void 0,h.ReactNextElement)),M()},4612:(e,t,n)=>{n.d(t,{G:()=>i});class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}}}]);
|
|
2
|
-
//# sourceMappingURL=eo-nav-menu.f2e0363a.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-sidebar-menu-group.972dc19f.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[62,1369,2052],{7144:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarMenuGroup:()=>j,EoSidebarMenuGroupComponent:()=>P});var r,o=n(918),i=n(6121),a=n(829),s=n(2740),l=n(8769),c=n.n(l),u=n(4782),p=n(1389),d=(n(6477),n(8619)),m=n(3352),f=n(3373),h=n.n(f);let g,b,v,y,w,E,x,A,k;const{defineElement:S,property:C}=(0,u.createDecorators)();let j;var z=new WeakMap,O=new WeakMap,K=new WeakMap,N=new WeakMap,B=new WeakMap;class M extends p.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,z,b(this)),(0,o.A)(this,O,(v(this),y(this))),(0,o.A)(this,K,(w(this),E(this))),(0,o.A)(this,N,(x(this),A(this))),(0,o.A)(this,B,(k(this),e=>{this.collapsed=e}))}get collapsable(){return(0,a.A)(z,this)}set collapsable(e){(0,i.A)(z,this,e)}get collapsed(){return(0,a.A)(O,this)}set collapsed(e){(0,i.A)(O,this,e)}get selected(){return(0,a.A)(K,this)}set selected(e){(0,i.A)(K,this,e)}get menuCollapsed(){return(0,a.A)(N,this)}set menuCollapsed(e){(0,i.A)(N,this,e)}render(){return c().createElement(P,{collapsable:this.collapsable,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,a.A)(B,this)})}}function P(e){const{collapsable:t=!1,collapsed:n,menuCollapsed:r,onCollapseChange:o}=e,[i]=(0,m.mK)(r),a=(0,l.useRef)(null),s=(0,l.useCallback)((()=>{!r&&(null==o||o(!n))}),[r,o,n]);return(0,l.useEffect)((()=>{const e=a.current;return null==e||e.addEventListener("click",s),()=>{null==e||e.removeEventListener("click",s)}}),[s]),c().createElement("div",{className:h()("menu-group",{"menu-group-collapsed":!!r||n})},c().createElement("div",{className:"menu-group-title",ref:a},c().createElement("span",{className:"menu-group-title-icon-container"},c().createElement("span",{className:"menu-group-title-icon"})),c().createElement("div",{className:"menu-group-title-text"},c().createElement("slot",{name:"title"})),t&&c().createElement("span",{className:"menu-group-arrow"})),c().createElement("div",{className:"menu-group-list"},c().createElement("div",{className:"menu-group-list-inner"},c().createElement("slot",{ref:i}))))}r=M,({e:[b,v,y,w,E,x,A,k],c:[j,g]}=(0,s.A)(r,[S("eo-sidebar-menu-group",{styleTexts:[d.A]})],[[C({type:Boolean}),1,"collapsable"],[C({type:Boolean}),1,"collapsed"],[C({type:Boolean}),1,"selected"],[C({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),g()},3352:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>d,VI:()=>h,Wb:()=>p,i2:()=>g,k_:()=>m,mK:()=>u,wZ:()=>C,zD:()=>f});var r=n(9575),o=n(8769),i=n.n(o),a=n(8581),s=n(1389);const l=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),c=e=>l.has(e.tagName);function u(e){const t=(0,o.useRef)(null),n=(0,o.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{c(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,o.useEffect)((()=>{n()}),[e,n]),(0,o.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const p="side-bar-has-been-used",d="side-bar-expand-state",m="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const h=parseInt((0,a.getCssPropertyValue)("--side-bar-width",document.body),10)||220,g=parseInt((0,a.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,b=(0,o.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),v=(0,s.wrapBrick)("eo-sidebar-menu"),y=(0,s.wrapBrick)("eo-sidebar-menu-item"),w=(0,s.wrapBrick)("eo-sidebar-menu-group"),E=(0,s.wrapBrick)("eo-sidebar-menu-submenu");function x(e){const{to:t,href:n,target:r,icon:a,text:s,id:l,inSubmenu:c}=e,{selectedKeys:u}=(0,o.useContext)(b);return i().createElement(y,{url:t,href:n,target:r,icon:a,inSubmenu:c,selected:u.includes(l)},s)}function A(e){const{title:t,items:n,id:a,top:s,inSubmenu:l}=e,{matchedKeys:c}=(0,o.useContext)(b),u=a&&c.includes(a);return(null==n?void 0:n.length)>0?i().createElement(w,{selected:!!u,collapsable:!s},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:l}))))):null}function k(e){const{title:t,icon:n,items:a,id:s}=e,{openedKeys:l,matchedKeys:c}=(0,o.useContext)(b),u=s&&c.includes(s);return(null==a?void 0:a.length)>0?i().createElement(E,{icon:n,collapsed:!l.includes(s),selected:!!u},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function S(e){return"subMenu"===e.type?i().createElement(k,e):"group"===e.type?i().createElement(A,e):i().createElement(x,e)}function C(e){var t;const{menu:n,expandedState:o,selectedKeys:a,openedKeys:s,matchedKeys:l}=e;return i().createElement(b.Provider,{value:{selectedKeys:a||[],openedKeys:s||[],matchedKeys:l||[]}},i().createElement(v,{menuCollapsed:o===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},8619:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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 s=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,l,c){var u,p,d,m,f,h,g,b=Symbol.metadata||Symbol.for("Symbol.metadata"),v=Object.defineProperty,y=Object.create,w=[y(null),y(null)],E=t.length;function x(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,a,s,l,c,d,m,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),b=t[3],y=!l,E=1===a,k=3===a,S=4===a,C=2===a;function j(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),z[t].call(o,i)}}if(!y){var z={},O=[],K=k?"get":S||E?"set":"value";if(d?(m||E?z={get:i((function(){return b(this)}),o,"get"),set:function(e){t[4](this,e)}}:z[K]=b,m||i(z[K],o,C?"":K)):m||(z=Object.getOwnPropertyDescriptor(e,o)),!m&&!d){if((p=w[+c][o])&&7!=(p^a))throw Error("Decorating two elements with the same name ("+z[K].name+") is not supported yet");w[+c][o]=a<3?1:a}}for(var N=e,B=g.length-1;B>=0;B-=n?2:1){var M=A(g[B],"A decorator","be",!0),P=n?g[B-1]:void 0,T={},I={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),s.push(t)}.bind(null,T)};if(y)p=M.call(P,N,I),T.v=1,A(p,"class decorators","return")&&(N=p);else if(I.static=c,I.private=d,p=I.access={has:d?f.bind():function(e){return o in e}},S||(p.get=d?C?function(e){return h(e),z.value}:j("get",0,h):function(e){return e[o]}),C||k||(p.set=d?j("set",0,h):function(e,t){e[o]=t}),N=M.call(P,E?{get:z.get,set:z.set}:z[K],I),T.v=1,E){if("object"==(0,r.A)(N)&&N)(p=A(N.get,"accessor.get"))&&(z.get=p),(p=A(N.set,"accessor.set"))&&(z.set=p),(p=A(N.init,"accessor.init"))&&O.unshift(p);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(N,(m?"field":"method")+" decorators","return")&&(m?O.unshift(N):z[K]=N)}return a<2&&l.push(x(O,c,1),x(s,c,0)),m||y||(d?E?l.splice(-1,0,j("get",c),j("set",c)):l.push(C?z[K]:A.call.bind(z[K])):v(e,o,z)),N}function S(e){return v(e,b,{configurable:!0,enumerable:!0,value:u})}return void 0!==c&&(u=c[b]),u=y(null==u?null:u),f=[],h=function(e){e&&f.push(x(e))},g=function(t,r){for(var i=0;i<n.length;i++){var s=n[i],c=s[1],u=7&c;if((8&c)==t&&!u==r){var p=s[2],h=!!s[3],g=16&c;k(t?e:e.prototype,s,g,h?"#"+p:(0,a.A)(p),u,u<2?[]:t?m=m||[]:d=d||[],f,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),h(d),h(m),p=f,E||S(e),{e:p,get c(){var n=[];return E&&[S(e=k(e,[t],s,e.name,5,n)),x(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-sidebar-menu-group.972dc19f.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-sidebar-menu-submenu.1dc3020e.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[7544,1369,2052],{986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarMenuSubmenu:()=>O,EoSidebarMenuSubmenuComponent:()=>I});var r,o=n(9575),s=n(918),i=n(6121),a=n(829),u=n(2740),l=n(8769),c=n.n(l),m=n(4782),d=n(1389),p=(n(6477),n(8797)),f=n(3373),b=n.n(f),h=n(3352);let v,g,y,w,E,x,A,k,S;const{defineElement:C,property:j}=(0,m.createDecorators)(),z=(0,d.wrapBrick)("eo-icon");let O;var K=new WeakMap,N=new WeakMap,B=new WeakMap,M=new WeakMap,P=new WeakMap;class T extends d.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,K,g(this)),(0,s.A)(this,N,(y(this),w(this))),(0,s.A)(this,B,(E(this),x(this))),(0,s.A)(this,M,(A(this),k(this))),(0,s.A)(this,P,(S(this),e=>{this.collapsed=e}))}get icon(){return(0,a.A)(K,this)}set icon(e){(0,i.A)(K,this,e)}get selected(){return(0,a.A)(N,this)}set selected(e){(0,i.A)(N,this,e)}get collapsed(){return(0,a.A)(B,this)}set collapsed(e){(0,i.A)(B,this,e)}get menuCollapsed(){return(0,a.A)(M,this)}set menuCollapsed(e){(0,i.A)(M,this,e)}render(){return c().createElement(I,{icon:this.icon,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,a.A)(P,this)})}}function I(e){const{icon:t,collapsed:n,menuCollapsed:r,onCollapseChange:s}=e,[i]=(0,h.mK)(r),a=(0,l.useRef)(null),u=(0,l.useCallback)((()=>{!r&&(null==s||s(!n))}),[r,s,n]);return(0,l.useEffect)((()=>{const e=a.current;return null==e||e.addEventListener("click",u),()=>{null==e||e.removeEventListener("click",u)}}),[u]),c().createElement("div",{className:b()("menu-submenu",{"menu-submenu-collapsed":!!r||n})},c().createElement("div",{className:"menu-submenu-title",ref:a},c().createElement("span",{className:"menu-submenu-title-icon-container"},c().createElement(z,(0,o.A)({},t,{className:"menu-submenu-title-icon"}))),c().createElement("span",{className:"menu-submenu-title-text"},c().createElement("slot",{name:"title"})),c().createElement("span",{className:"menu-submenu-arrow"})),c().createElement("div",{className:"menu-sub"},c().createElement("div",{className:"menu-sub-inner"},c().createElement("slot",{ref:i}))))}r=T,({e:[g,y,w,E,x,A,k,S],c:[O,v]}=(0,u.A)(r,[C("eo-sidebar-menu-submenu",{styleTexts:[p.A]})],[[j({attribute:!1}),1,"icon"],[j({type:Boolean}),1,"selected"],[j({type:Boolean}),1,"collapsed"],[j({type:Boolean}),1,"menuCollapsed"]],0,void 0,d.ReactNextElement)),v()},3352:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>d,VI:()=>b,Wb:()=>m,i2:()=>h,k_:()=>p,mK:()=>c,wZ:()=>C,zD:()=>f});var r=n(9575),o=n(8769),s=n.n(o),i=n(8581),a=n(1389);const u=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),l=e=>u.has(e.tagName);function c(e){const t=(0,o.useRef)(null),n=(0,o.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{l(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,o.useEffect)((()=>{n()}),[e,n]),(0,o.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const m="side-bar-has-been-used",d="side-bar-expand-state",p="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const b=parseInt((0,i.getCssPropertyValue)("--side-bar-width",document.body),10)||220,h=parseInt((0,i.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,v=(0,o.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),g=(0,a.wrapBrick)("eo-sidebar-menu"),y=(0,a.wrapBrick)("eo-sidebar-menu-item"),w=(0,a.wrapBrick)("eo-sidebar-menu-group"),E=(0,a.wrapBrick)("eo-sidebar-menu-submenu");function x(e){const{to:t,href:n,target:r,icon:i,text:a,id:u,inSubmenu:l}=e,{selectedKeys:c}=(0,o.useContext)(v);return s().createElement(y,{url:t,href:n,target:r,icon:i,inSubmenu:l,selected:c.includes(u)},a)}function A(e){const{title:t,items:n,id:i,top:a,inSubmenu:u}=e,{matchedKeys:l}=(0,o.useContext)(v),c=i&&l.includes(i);return(null==n?void 0:n.length)>0?s().createElement(w,{selected:!!c,collapsable:!a},s().createElement("span",{slot:"title"},t),e.items.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:u}))))):null}function k(e){const{title:t,icon:n,items:i,id:a}=e,{openedKeys:u,matchedKeys:l}=(0,o.useContext)(v),c=a&&l.includes(a);return(null==i?void 0:i.length)>0?s().createElement(E,{icon:n,collapsed:!u.includes(a),selected:!!c},s().createElement("span",{slot:"title"},t),e.items.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function S(e){return"subMenu"===e.type?s().createElement(k,e):"group"===e.type?s().createElement(A,e):s().createElement(x,e)}function C(e){var t;const{menu:n,expandedState:o,selectedKeys:i,openedKeys:a,matchedKeys:u}=e;return s().createElement(v.Provider,{value:{selectedKeys:i||[],openedKeys:a||[],matchedKeys:u||[]}},s().createElement(g,{menuCollapsed:o===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>s().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},8797:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6758),o=n.n(r),s=n(935),i=n.n(s)()(o());i.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-submenu-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--larger-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-title-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}.menu-submenu-title-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap}.menu-submenu-arrow{position:absolute;top:50%;right:12px;width:10px;color:var(--left-sidebar-item-arrow-color);transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before,\n.menu-submenu-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-submenu-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-submenu-collapsed .menu-submenu-arrow{transform:translateY(-50%)}.menu-submenu-collapsed .menu-submenu-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-submenu-collapsed .menu-submenu-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-submenu-title:hover{background:var(--left-sidebar-item-hover-bg)}.menu-sub{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-collapsed .menu-sub{grid-template-rows:0fr;opacity:0}.menu-sub-inner{overflow:hidden}.menu-sub-inner slot::slotted(*){margin-top:2px}:host([menu-collapsed]) .menu-submenu-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-submenu-title-text{opacity:0}:host([menu-collapsed]) .menu-submenu-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-submenu-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}:host([selected]):host([menu-collapsed]) .menu-submenu-title, :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,\n :host([selected]):host([collapsed]) .menu-submenu-title-icon-container,\n :host([selected]):host([menu-collapsed]) .menu-submenu-arrow,\n :host([selected]):host([collapsed]) .menu-submenu-arrow{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-submenu-title-text{font-weight:var(--font-weight-500)}',""]);const a=i.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var u=this[a][0];null!=u&&(i[u]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&i[c[0]]||(void 0!==s&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7545),o=n(6902);function s(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(1369);function a(e,t,n,a,u,l){var c,m,d,p,f,b,h,v=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,w=[y(null),y(null)],E=t.length;function x(t,n,r){return function(o,s){n&&(s=o,o=e);for(var i=0;i<t.length;i++)s=t[i].apply(o,r?[s]:[]);return r?s:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,i,a,u,l,d,p,f){function b(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],y=!u,E=1===i,k=3===i,S=4===i,C=2===i;function j(t,n,r){return function(o,s){return n&&(s=o,o=e),r&&r(o),z[t].call(o,s)}}if(!y){var z={},O=[],K=k?"get":S||E?"set":"value";if(d?(p||E?z={get:s((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:z[K]=v,p||s(z[K],o,C?"":K)):p||(z=Object.getOwnPropertyDescriptor(e,o)),!p&&!d){if((m=w[+l][o])&&7!=(m^i))throw Error("Decorating two elements with the same name ("+z[K].name+") is not supported yet");w[+l][o]=i<3?1:i}}for(var N=e,B=h.length-1;B>=0;B-=n?2:1){var M=A(h[B],"A decorator","be",!0),P=n?h[B-1]:void 0,T={},I={kind:["field","accessor","method","getter","setter","class"][i],name:o,metadata:c,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),a.push(t)}.bind(null,T)};if(y)m=M.call(P,N,I),T.v=1,A(m,"class decorators","return")&&(N=m);else if(I.static=l,I.private=d,m=I.access={has:d?f.bind():function(e){return o in e}},S||(m.get=d?C?function(e){return b(e),z.value}:j("get",0,b):function(e){return e[o]}),C||k||(m.set=d?j("set",0,b):function(e,t){e[o]=t}),N=M.call(P,E?{get:z.get,set:z.set}:z[K],I),T.v=1,E){if("object"==(0,r.A)(N)&&N)(m=A(N.get,"accessor.get"))&&(z.get=m),(m=A(N.set,"accessor.set"))&&(z.set=m),(m=A(N.init,"accessor.init"))&&O.unshift(m);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(N,(p?"field":"method")+" decorators","return")&&(p?O.unshift(N):z[K]=N)}return i<2&&u.push(x(O,l,1),x(a,l,0)),p||y||(d?E?u.splice(-1,0,j("get",l),j("set",l)):u.push(C?z[K]:A.call.bind(z[K])):g(e,o,z)),N}function S(e){return g(e,v,{configurable:!0,enumerable:!0,value:c})}return void 0!==l&&(c=l[v]),c=y(null==c?null:c),f=[],b=function(e){e&&f.push(x(e))},h=function(t,r){for(var s=0;s<n.length;s++){var a=n[s],l=a[1],c=7&l;if((8&l)==t&&!c==r){var m=a[2],b=!!a[3],h=16&l;k(t?e:e.prototype,a,h,b?"#"+m:(0,i.A)(m),c,c<2?[]:t?p=p||[]:d=d||[],f,!!t,b,r,t&&b?function(t){return(0,o.A)(t)===e}:u)}}},h(8,0),h(0,0),h(8,1),h(0,1),b(d),b(p),m=f,E||S(e),{e:m,get c(){var n=[];return E&&[S(e=k(e,[t],a,e.name,5,n)),x(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=eo-sidebar-menu-submenu.1dc3020e.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[4612,1369,2052],{7846:(e,t,n)=>{n.r(t),n.d(t,{EoSidebarMenu:()=>g,EoSidebarMenuComponent:()=>w});var r,o=n(918),i=n(6121),a=n(829),s=n(2740),c=n(8769),u=n.n(c),l=n(4782),d=n(1389),p=(n(6477),n(2469)),m=n(3352);let f,h,b;const{defineElement:v,property:y}=(0,l.createDecorators)();let g;var E=new WeakMap;class A extends d.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,E,h(this)),b(this)}get menuCollapsed(){return(0,a.A)(E,this)}set menuCollapsed(e){(0,i.A)(E,this,e)}render(){return u().createElement(w,{menuCollapsed:this.menuCollapsed})}}function w(e){const{menuCollapsed:t}=e,[n]=(0,m.mK)(t);return u().createElement("div",{className:"sidebar-menu"},u().createElement("div",{className:"sidebar-menu-item-list"},u().createElement("slot",{ref:n})))}r=A,({e:[h,b],c:[g,f]}=(0,s.A)(r,[v("eo-sidebar-menu",{styleTexts:[p.A]})],[[y({type:Boolean}),1,"menuCollapsed"]],0,void 0,d.ReactNextElement)),f()},3352:(e,t,n)=>{n.d(t,{Bb:()=>p,VI:()=>h,Wb:()=>d,i2:()=>b,k_:()=>m,mK:()=>l,wZ:()=>x,zD:()=>f});var r=n(9575),o=n(8769),i=n.n(o),a=n(8581),s=n(1389);const c=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),u=e=>c.has(e.tagName);function l(e){const t=(0,o.useRef)(null),n=(0,o.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{u(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,o.useEffect)((()=>{n()}),[e,n]),(0,o.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const d="side-bar-has-been-used",p="side-bar-expand-state",m="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const h=parseInt((0,a.getCssPropertyValue)("--side-bar-width",document.body),10)||220,b=parseInt((0,a.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,v=(0,o.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),y=(0,s.wrapBrick)("eo-sidebar-menu"),g=(0,s.wrapBrick)("eo-sidebar-menu-item"),E=(0,s.wrapBrick)("eo-sidebar-menu-group"),A=(0,s.wrapBrick)("eo-sidebar-menu-submenu");function w(e){const{to:t,href:n,target:r,icon:a,text:s,id:c,inSubmenu:u}=e,{selectedKeys:l}=(0,o.useContext)(v);return i().createElement(g,{url:t,href:n,target:r,icon:a,inSubmenu:u,selected:l.includes(c)},s)}function S(e){const{title:t,items:n,id:a,top:s,inSubmenu:c}=e,{matchedKeys:u}=(0,o.useContext)(v),l=a&&u.includes(a);return(null==n?void 0:n.length)>0?i().createElement(E,{selected:!!l,collapsable:!s},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(C,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:c}))))):null}function k(e){const{title:t,icon:n,items:a,id:s}=e,{openedKeys:c,matchedKeys:u}=(0,o.useContext)(v),l=s&&u.includes(s);return(null==a?void 0:a.length)>0?i().createElement(A,{icon:n,collapsed:!c.includes(s),selected:!!l},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(C,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function C(e){return"subMenu"===e.type?i().createElement(k,e):"group"===e.type?i().createElement(S,e):i().createElement(w,e)}function x(e){var t;const{menu:n,expandedState:o,selectedKeys:a,openedKeys:s,matchedKeys:c}=e;return i().createElement(v.Provider,{value:{selectedKeys:a||[],openedKeys:s||[],matchedKeys:c||[]}},i().createElement(y,{menuCollapsed:o===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>i().createElement(C,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},2469:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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 s=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,c,u){var l,d,p,m,f,h,b,v=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,E=[g(null),g(null)],A=t.length;function w(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function S(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,a,s,c,u,p,m,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var b=[].concat(t[0]),v=t[3],g=!c,A=1===a,k=3===a,C=4===a,x=2===a;function j(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),K[t].call(o,i)}}if(!g){var K={},O=[],P=k?"get":C||A?"set":"value";if(p?(m||A?K={get:i((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:K[P]=v,m||i(K[P],o,x?"":P)):m||(K=Object.getOwnPropertyDescriptor(e,o)),!m&&!p){if((d=E[+u][o])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+K[P].name+") is not supported yet");E[+u][o]=a<3?1:a}}for(var T=e,B=b.length-1;B>=0;B-=n?2:1){var I=S(b[B],"A decorator","be",!0),M=n?b[B-1]:void 0,N={},z={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");S(t,"An initializer","be",!0),s.push(t)}.bind(null,N)};if(g)d=I.call(M,T,z),N.v=1,S(d,"class decorators","return")&&(T=d);else if(z.static=u,z.private=p,d=z.access={has:p?f.bind():function(e){return o in e}},C||(d.get=p?x?function(e){return h(e),K.value}:j("get",0,h):function(e){return e[o]}),x||k||(d.set=p?j("set",0,h):function(e,t){e[o]=t}),T=I.call(M,A?{get:K.get,set:K.set}:K[P],z),N.v=1,A){if("object"==(0,r.A)(T)&&T)(d=S(T.get,"accessor.get"))&&(K.get=d),(d=S(T.set,"accessor.set"))&&(K.set=d),(d=S(T.init,"accessor.init"))&&O.unshift(d);else if(void 0!==T)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(T,(m?"field":"method")+" decorators","return")&&(m?O.unshift(T):K[P]=T)}return a<2&&c.push(w(O,u,1),w(s,u,0)),m||g||(p?A?c.splice(-1,0,j("get",u),j("set",u)):c.push(x?K[P]:S.call.bind(K[P])):y(e,o,K)),T}function C(e){return y(e,v,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[v]),l=g(null==l?null:l),f=[],h=function(e){e&&f.push(w(e))},b=function(t,r){for(var i=0;i<n.length;i++){var s=n[i],u=s[1],l=7&u;if((8&u)==t&&!l==r){var d=s[2],h=!!s[3],b=16&u;k(t?e:e.prototype,s,b,h?"#"+d:(0,a.A)(d),l,l<2?[]:t?m=m||[]:p=p||[],f,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:c)}}},b(8,0),b(0,0),b(8,1),b(0,1),h(p),h(m),d=f,A||C(e),{e:d,get c(){var n=[];return A&&[C(e=k(e,[t],s,e.name,5,n)),w(n,1)]}}}},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},9575:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=eo-sidebar-menu.090d1998.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-sidebar-sub-menu.d9d77c4d.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1131,1369,2052],{9982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarSubMenu:()=>N,EoSidebarSubMenuComponent:()=>I});var r,o=n(918),i=n(6121),a=n(829),c=n(2740),u=n(8769),s=n.n(u),l=n(4782),m=n(1389),d=n(8581),p=(n(6477),n(764)),f=n(1409),h=n(3373),v=n.n(h);let b,y,g;const x=(0,m.wrapBrick)("eo-icon"),w=(0,m.wrapBrick)("eo-menu"),k=(0,m.wrapBrick)("eo-menu-group"),A=(0,m.wrapBrick)("eo-menu-item-sub-menu"),E=(0,m.wrapBrick)("eo-menu-item"),S=(0,m.wrapBrick)("eo-link"),{defineElement:j,property:P}=(0,l.createDecorators)();let N;var O=new WeakMap;class T extends m.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,O,y(this)),g(this)}get menu(){return(0,a.A)(O,this)}set menu(e){(0,i.A)(O,this,e)}render(){return s().createElement(I,{menu:this.menu})}}function I(e){const{menu:t}=e,n=(0,d.getHistory)(),[r,o]=(0,u.useState)(n.location),{pathname:i,search:a}=r,[c,l]=(0,u.useState)([]),[m,f]=(0,u.useState)([]),h=(0,u.useCallback)((()=>{const{selectedKeys:e,openedKeys:n}=(0,p.LP)((null==t?void 0:t.menuItems)??[],i,a,"");l(e),f(n)}),[null==t?void 0:t.menuItems,i,a]);(0,u.useEffect)((()=>{const e=n.listen((e=>{o(e)}));return h(),e}),[n,h]);const b=(0,u.useCallback)((e=>{var t;return 16*((null===(t=e.key)||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t.length)-1)}),[]);function y(e,t){return(0,p.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(A,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:b(e)},bodyStyle:{paddingLeft:b(e)/2},collapsed:!m.includes(e.key)},s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e,{inSubmenu:!0})))))})(e):(0,p.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(k,null,s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e)))))})(e):((e,t)=>s().createElement(E,{className:v()("menu-item",{"in-submenu":null==t?void 0:t.inSubmenu}),style:{paddingLeft:b(e)||16},icon:e.icon,active:!!e.key&&c.includes(e.key)},s().createElement(S,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},s().createElement("span",{className:v()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return s().createElement(w,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&s().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&s().createElement(x,null==t?void 0:t.icon),s().createElement("span",{className:"title"},null==t?void 0:t.title)),s().createElement("div",{className:"content"},null==t?void 0:t.menuItems.map((e=>s().createElement(s().Fragment,{key:e.key},y(e))))))}r=T,({e:[y,g],c:[N,b]}=(0,c.A)(r,[j("eo-sidebar-sub-menu",{styleTexts:[f.A]})],[[P({attribute:!1}),1,"menu"]],0,void 0,m.ReactNextElement)),b()},1409:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,":host{display:block}:host([hidden]){display:none}.menu-container{box-sizing:border-box;background:var(--third-menu-default-bg);border:1px solid var(--stroke-color-default);border-width:0 1px 0 0;border-radius:0px;padding:20px 0px;height:100%}.menu-container .header{display:flex;gap:10px;align-items:center;font-size:var(--title-font-size);padding:0 20px 16px 20px;line-height:26px;color:var(--color-header-text)}.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,\n .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),\n .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,\n .menu-container .menu-group-text,\n .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 c=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,u,s){var l,m,d,p,f,h,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,x=[g(null),g(null)],w=t.length;function k(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,o,a,c,u,s,d,p,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),b=t[3],g=!u,w=1===a,E=3===a,S=4===a,j=2===a;function P(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),N[t].call(o,i)}}if(!g){var N={},O=[],T=E?"get":S||w?"set":"value";if(d?(p||w?N={get:i((function(){return b(this)}),o,"get"),set:function(e){t[4](this,e)}}:N[T]=b,p||i(N[T],o,j?"":T)):p||(N=Object.getOwnPropertyDescriptor(e,o)),!p&&!d){if((m=x[+s][o])&&7!=(m^a))throw Error("Decorating two elements with the same name ("+N[T].name+") is not supported yet");x[+s][o]=a<3?1:a}}for(var I=e,K=v.length-1;K>=0;K-=n?2:1){var z=A(v[K],"A decorator","be",!0),B=n?v[K-1]:void 0,L={},C={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),c.push(t)}.bind(null,L)};if(g)m=z.call(B,I,C),L.v=1,A(m,"class decorators","return")&&(I=m);else if(C.static=s,C.private=d,m=C.access={has:d?f.bind():function(e){return o in e}},S||(m.get=d?j?function(e){return h(e),N.value}:P("get",0,h):function(e){return e[o]}),j||E||(m.set=d?P("set",0,h):function(e,t){e[o]=t}),I=z.call(B,w?{get:N.get,set:N.set}:N[T],C),L.v=1,w){if("object"==(0,r.A)(I)&&I)(m=A(I.get,"accessor.get"))&&(N.get=m),(m=A(I.set,"accessor.set"))&&(N.set=m),(m=A(I.init,"accessor.init"))&&O.unshift(m);else if(void 0!==I)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(I,(p?"field":"method")+" decorators","return")&&(p?O.unshift(I):N[T]=I)}return a<2&&u.push(k(O,s,1),k(c,s,0)),p||g||(d?w?u.splice(-1,0,P("get",s),P("set",s)):u.push(j?N[T]:A.call.bind(N[T])):y(e,o,N)),I}function S(e){return y(e,b,{configurable:!0,enumerable:!0,value:l})}return void 0!==s&&(l=s[b]),l=g(null==l?null:l),f=[],h=function(e){e&&f.push(k(e))},v=function(t,r){for(var i=0;i<n.length;i++){var c=n[i],s=c[1],l=7&s;if((8&s)==t&&!l==r){var m=c[2],h=!!c[3],v=16&s;E(t?e:e.prototype,c,v,h?"#"+m:(0,a.A)(m),l,l<2?[]:t?p=p||[]:d=d||[],f,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:u)}}},v(8,0),v(0,0),v(8,1),v(0,1),h(d),h(p),m=f,w||S(e),{e:m,get c(){var n=[];return w&&[S(e=E(e,[t],c,e.name,5,n)),k(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},764:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>a,LP:()=>u,Wf:()=>c});var r=n(1201),o=n(8581),i=n(1030);function a(e){return"group"===e.type}function c(e,t){return Boolean("subMenu"===e.type||t&&"group"===e.type)}function u(e,t,n,l){const m=[],d=[],p=[];let f=0;return e&&e.forEach((e=>{if(e.key=""===l?`${f}`:`${l}.${f}`,a(e)||c(e)){const r=u(e.items,t,n,e.key);m.push(...r.selectedKeys),(r.selectedKeys.length||e.defaultExpanded)&&d.push(e.key),d.push(...r.openedKeys),p.push(...r.matchedKeys)}else if(function(e,t,n){if(!e.to)return!1;const a="object"==typeof e.to?e.to:(0,r.parsePath)(e.to),c=a.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let u=!!(0,o.matchPath)(t,{path:c,exact:e.exact});if(u&&e.activeMatchSearch&&(u=s(n,a.search)),!u&&Array.isArray(e.activeIncludes))for(const a of e.activeIncludes){let e,c=!0;(0,i.isObject)(a)?(e=Array.isArray(a.path)?a.path:[a.path],c=a.exact):e=[a];for(const i of e){var l;let e;const a=i.includes("?");if(a&&(e=(0,r.parsePath)(i)),u=!!(0,o.matchPath)(t,{path:a?e.pathname:i,exact:c}),u&&null!==(l=e)&&void 0!==l&&l.search&&(u=s(n,e.search)),u)break}if(u)break}if(u&&Array.isArray(e.activeExcludes))for(const n of e.activeExcludes){let e,r=!0;(0,i.isObject)(n)?(e=Array.isArray(n.path)?n.path:[n.path],r=n.exact):e=[n];for(const n of e)if(u=!(0,o.matchPath)(t,{path:n,exact:r}),!u)break;if(!u)break}return u}(e,t,n)){m.push(String(e.key));const t=e.key.split(".");for(let e=0;e<t.length;e++)p.push(t.slice(0,e+1).join("."))}f+=1})),m.length&&""!==l&&d.push(l),{selectedKeys:m,openedKeys:d,matchedKeys:p}}function s(e,t){const n=new URLSearchParams(e),r=new URLSearchParams(t);for(const[e,t]of r.entries())if((n.get(e)??"")!==t)return!1;return!0}}}]);
|
|
3
|
-
//# sourceMappingURL=eo-sidebar-sub-menu.d9d77c4d.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see eo-sidebar.37543a7e.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[5532,1369,2052],{793:(e,t,n)=>{"use strict";n.d(t,{I:()=>a,K:()=>r,NS:()=>i});let r=function(e){return e.CLICK_TO_FIX_NAVIGATION="CLICK_TO_FIX_NAVIGATION",e.UNPIN_NAVIGATION="UNPIN_NAVIGATION",e.FIXED_NAVIGATION="FIXED_NAVIGATION",e}({});const i="bricks/nav/eo-sidebar",a={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}}"}}},7120:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebar:()=>J,EoSidebarComponent:()=>ce});var r,i=n(9575),a=n(4635),o=n(918),s=n(6902),c=n(5536),l=n(6121),d=n(829),u=n(2740),p=n(8769),h=n.n(p),f=n(4782),m=n(1389),v=(n(6477),n(3694)),g=n(4730),b=n(3995),y=n(7290),x=n(4612),A=n(3352),E=n(6419),I=n(793),w=n(3373),N=n.n(w),S=n(764),k=n(8581),O=n(4047);let z,C,K,_,D,T,P,V,j,F,G,M,L,B,R,W,U;(0,E.initializeReactI18n)(I.NS,I.I);const{defineElement:X,property:H,event:$}=(0,f.createDecorators)(),q=(0,m.wrapBrick)("eo-tooltip"),Z=(0,m.wrapBrick)("eo-icon");let J;var Q=new WeakMap,Y=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakSet,ie=new WeakMap,ae=new WeakMap,oe=new WeakMap;class se extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,re),(0,o.A)(this,Q,C(this)),(0,o.A)(this,Y,(K(this),_(this))),(0,o.A)(this,ee,(D(this),T(this))),(0,o.A)(this,te,(P(this),V(this))),(0,o.A)(this,ne,(j(this),F(this))),(0,o.A)(this,ie,(L(this),e=>{(0,c.A)(re,this,G).emit(e)})),(0,o.A)(this,ae,B(this)),(0,o.A)(this,oe,(U(this),e=>{this.expandedState=e,(0,c.A)(re,this,R).emit(e)}))}get menu(){return(0,d.A)(Q,this)}set menu(e){(0,l.A)(Q,this,e)}get hiddenFixedIcon(){return(0,d.A)(Y,this)}set hiddenFixedIcon(e){(0,l.A)(Y,this,e)}get expandedState(){return(0,d.A)(ee,this)}set expandedState(e){(0,l.A)(ee,this,e)}get position(){return(0,d.A)(te,this)}set position(e){(0,l.A)(te,this,e)}render(){return h().createElement(ce,{menu:this.menu,expandedState:this.expandedState,hiddenFixedIcon:this.hiddenFixedIcon,position:this.position,onActualWidthChange:(0,d.A)(ie,this),onExpandedStateChange:(0,d.A)(oe,this)})}}function ce(e){const{t}=(0,E.useTranslation)(I.NS),{menu:n,hiddenFixedIcon:r,position:a,onActualWidthChange:o,onExpandedStateChange:s}=e,c=h().useMemo((()=>{var e;return null===(e=(0,k.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["sidebar-show-user-defined-icon"]}),[]),l=(0,p.useMemo)((()=>new x.G(localStorage)),[]),d=(0,k.getHistory)(),u=(0,O.useCurrentApp)(),[f,m]=(0,p.useState)(d.location),{pathname:v,search:w}=f,[z,C]=(0,p.useState)(!l.getItem(A.Wb)),[K,_]=(0,p.useState)(),[D,T]=(0,p.useState)(),[P,V]=(0,p.useState)(e.expandedState||l.getItem(A.Bb)||A.zD.Collapsed),j=c?null==n?void 0:n.icon:null==u?void 0:u.menuIcon,{selectedKeys:F,openedKeys:G,matchedKeys:M}=(0,p.useMemo)((()=>(0,S.LP)((null==n?void 0:n.menuItems)??[],v,w,"")),[null==n?void 0:n.menuItems,v,w]);(0,p.useEffect)((()=>{const e=d.listen((e=>{m(e)}));return e}),[d]);const L=(0,p.useRef)(null);(0,p.useEffect)((()=>{if(L.current){const e=new IntersectionObserver((e=>{e.forEach((e=>{e.target===L.current&&_(!e.isIntersecting)}))}),{threshold:1});return e.observe(L.current),()=>{e.disconnect()}}}),[]),(0,p.useEffect)((()=>{V(e.expandedState||l.getItem(A.Bb)||A.zD.Collapsed)}),[e.expandedState]),(0,p.useEffect)((()=>{l.setItem(A.Bb,P===A.zD.Expanded?A.zD.Expanded:A.zD.Collapsed)}),[P]);const[B,R]=(0,p.useState)((()=>{let e=parseInt(l.getItem(A.k_),10);return(e<A.VI||Number.isNaN(e))&&(e=A.VI),e}));(0,p.useEffect)((()=>{l.setItem(A.k_,B)}),[B]);const W=(0,p.useRef)(null),U=()=>{V((e=>{const t=e===A.zD.Expanded?A.zD.Expanded:A.zD.Hovered;return t!==e&&(null==s||s(t)),t}))},X=()=>{V((e=>{const t=e===A.zD.Expanded?A.zD.Expanded:A.zD.Collapsed;return t!==e&&(null==s||s(t)),t}))},H=(0,p.useMemo)((()=>P===A.zD.Expanded?B:A.i2),[P,B]);(0,p.useEffect)((()=>{null==o||o(H)}),[o,H]);const $=e=>"static"===a?P===A.zD.Expanded||e&&P===A.zD.Hovered?B:A.i2:P===A.zD.Collapsed?A.i2:B;return(0,p.useEffect)((()=>{const e=W.current;return null==e||e.addEventListener("mouseenter",U),null==e||e.addEventListener("mouseleave",X),()=>{null==e||e.removeEventListener("mouseenter",U),null==e||e.removeEventListener("mouseleave",X)}}),[]),h().createElement("div",{className:N()("sidebar-container",`state-${P}`,{dragging:D}),style:{width:$()},ref:W,"data-testid":"side-bar"},h().createElement("div",{className:"inner",style:{width:$(!0)}},h().createElement("div",{className:"header"},h().createElement("div",{className:"menu-title"},h().createElement("div",{className:N()("menu-title-icon-container")},j?h().createElement(Z,(0,i.A)({},j,{className:"menu-title-icon"})):h().createElement("span",{className:"menu-title-point"})),h().createElement("div",{className:"menu-title-text",title:null==n?void 0:n.title},null==n?void 0:n.title))),h().createElement("div",{className:N()("content",{"show-shadow":K})},h().createElement(A.wZ,{selectedKeys:F,openedKeys:G,matchedKeys:M,menu:n,expandedState:P}),h().createElement("div",{ref:L})),h().createElement("div",{className:"footer"},!r&&h().createElement(q,{content:P===A.zD.Expanded?z?t(I.K.CLICK_TO_FIX_NAVIGATION,{action:t(I.K.UNPIN_NAVIGATION)}):t(I.K.UNPIN_NAVIGATION):z?t(I.K.CLICK_TO_FIX_NAVIGATION,{action:t(I.K.FIXED_NAVIGATION)}):t(I.K.FIXED_NAVIGATION)},h().createElement("i",{className:"fixed-icon",onClick:()=>{C(!1),l.setItem(A.Wb,!0),V((e=>{const t=e===A.zD.Expanded?A.zD.Collapsed:A.zD.Expanded;return t!==e&&(null==s||s(t)),t}))}},h().createElement(g.A,{style:{display:P===A.zD.Expanded?void 0:"none"}}),h().createElement(b.A,{style:{display:P===A.zD.Expanded?"none":void 0}})))),P===A.zD.Expanded&&h().createElement("span",{className:"resize-line",onMouseDown:e=>{var t;T(!0),e.cancelable&&e.preventDefault();const n=(null===(t=W.current)||void 0===t?void 0:t.getBoundingClientRect().left)??0,r=(0,y.G)((e=>{const t=e.clientX-n,r=t>=A.VI?t:A.VI;R(r)})),i=e=>{T(!1),e.preventDefault(),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",i)};window.addEventListener("mousemove",r,{passive:!0}),window.addEventListener("mouseup",i)}})))}r=se,({e:[C,K,_,D,T,P,V,j,F,G,M,L,B,R,W,U],c:[J,z]}=(0,u.A)(r,[X("eo-sidebar",{styleTexts:[v.A]})],[[H({attribute:!1}),1,"menu"],[H({type:Boolean}),1,"hiddenFixedIcon"],[H(),1,"expandedState"],[H(),1,"position"],[$({type:"actual.width.change"}),1,"actualWidthChangeEvent",e=>(0,d.A)(ne,e),(e,t)=>(0,l.A)(ne,e,t)],[$({type:"expanded.state.change"}),1,"expandedStateChangeEvent",e=>(0,d.A)(ae,e),(e,t)=>(0,l.A)(ae,e,t)]],0,(e=>oe.has((0,s.A)(e))),m.ReactNextElement)),z()},3352:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>p,VI:()=>m,Wb:()=>u,i2:()=>v,k_:()=>h,mK:()=>d,wZ:()=>S,zD:()=>f});var r=n(9575),i=n(8769),a=n.n(i),o=n(8581),s=n(1389);const c=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),l=e=>c.has(e.tagName);function d(e){const t=(0,i.useRef)(null),n=(0,i.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{l(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,i.useEffect)((()=>{n()}),[e,n]),(0,i.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const u="side-bar-has-been-used",p="side-bar-expand-state",h="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const m=parseInt((0,o.getCssPropertyValue)("--side-bar-width",document.body),10)||220,v=parseInt((0,o.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,g=(0,i.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),b=(0,s.wrapBrick)("eo-sidebar-menu"),y=(0,s.wrapBrick)("eo-sidebar-menu-item"),x=(0,s.wrapBrick)("eo-sidebar-menu-group"),A=(0,s.wrapBrick)("eo-sidebar-menu-submenu");function E(e){const{to:t,href:n,target:r,icon:o,text:s,id:c,inSubmenu:l}=e,{selectedKeys:d}=(0,i.useContext)(g);return a().createElement(y,{url:t,href:n,target:r,icon:o,inSubmenu:l,selected:d.includes(c)},s)}function I(e){const{title:t,items:n,id:o,top:s,inSubmenu:c}=e,{matchedKeys:l}=(0,i.useContext)(g),d=o&&l.includes(o);return(null==n?void 0:n.length)>0?a().createElement(x,{selected:!!d,collapsable:!s},a().createElement("span",{slot:"title"},t),e.items.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:c}))))):null}function w(e){const{title:t,icon:n,items:o,id:s}=e,{openedKeys:c,matchedKeys:l}=(0,i.useContext)(g),d=s&&l.includes(s);return(null==o?void 0:o.length)>0?a().createElement(A,{icon:n,collapsed:!c.includes(s),selected:!!d},a().createElement("span",{slot:"title"},t),e.items.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function N(e){return"subMenu"===e.type?a().createElement(w,e):"group"===e.type?a().createElement(I,e):a().createElement(E,e)}function S(e){var t;const{menu:n,expandedState:i,selectedKeys:o,openedKeys:s,matchedKeys:c}=e;return a().createElement(g.Provider,{value:{selectedKeys:o||[],openedKeys:s||[],matchedKeys:c||[]}},a().createElement(b,{menuCollapsed:i===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},4730:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9575),i=n(8769);const a=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 0h20v20H0z"}),i.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"})))},3995:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9575),i=n(8769);const a=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 0h20v20H0z"}),i.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"})))},3694:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6758),i=n.n(r),a=n(935),o=n.n(a)()(i());o.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 s=o.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);r&&o[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7545),i=n(6902);function a(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var o=n(1369);function s(e,t,n,s,c,l){var d,u,p,h,f,m,v,g=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,x=[y(null),y(null)],A=t.length;function E(t,n,r){return function(i,a){n&&(a=i,i=e);for(var o=0;o<t.length;o++)a=t[o].apply(i,r?[a]:[]);return r?a:i}}function I(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function w(e,t,n,i,o,s,c,l,p,h,f){function m(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),g=t[3],y=!c,A=1===o,w=3===o,N=4===o,S=2===o;function k(t,n,r){return function(i,a){return n&&(a=i,i=e),r&&r(i),O[t].call(i,a)}}if(!y){var O={},z=[],C=w?"get":N||A?"set":"value";if(p?(h||A?O={get:a((function(){return g(this)}),i,"get"),set:function(e){t[4](this,e)}}:O[C]=g,h||a(O[C],i,S?"":C)):h||(O=Object.getOwnPropertyDescriptor(e,i)),!h&&!p){if((u=x[+l][i])&&7!=(u^o))throw Error("Decorating two elements with the same name ("+O[C].name+") is not supported yet");x[+l][i]=o<3?1:o}}for(var K=e,_=v.length-1;_>=0;_-=n?2:1){var D=I(v[_],"A decorator","be",!0),T=n?v[_-1]:void 0,P={},V={kind:["field","accessor","method","getter","setter","class"][o],name:i,metadata:d,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");I(t,"An initializer","be",!0),s.push(t)}.bind(null,P)};if(y)u=D.call(T,K,V),P.v=1,I(u,"class decorators","return")&&(K=u);else if(V.static=l,V.private=p,u=V.access={has:p?f.bind():function(e){return i in e}},N||(u.get=p?S?function(e){return m(e),O.value}:k("get",0,m):function(e){return e[i]}),S||w||(u.set=p?k("set",0,m):function(e,t){e[i]=t}),K=D.call(T,A?{get:O.get,set:O.set}:O[C],V),P.v=1,A){if("object"==(0,r.A)(K)&&K)(u=I(K.get,"accessor.get"))&&(O.get=u),(u=I(K.set,"accessor.set"))&&(O.set=u),(u=I(K.init,"accessor.init"))&&z.unshift(u);else if(void 0!==K)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else I(K,(h?"field":"method")+" decorators","return")&&(h?z.unshift(K):O[C]=K)}return o<2&&c.push(E(z,l,1),E(s,l,0)),h||y||(p?A?c.splice(-1,0,k("get",l),k("set",l)):c.push(S?O[C]:I.call.bind(O[C])):b(e,i,O)),K}function N(e){return b(e,g,{configurable:!0,enumerable:!0,value:d})}return void 0!==l&&(d=l[g]),d=y(null==d?null:d),f=[],m=function(e){e&&f.push(E(e))},v=function(t,r){for(var a=0;a<n.length;a++){var s=n[a],l=s[1],d=7&l;if((8&l)==t&&!d==r){var u=s[2],m=!!s[3],v=16&l;w(t?e:e.prototype,s,v,m?"#"+u:(0,o.A)(u),d,d<2?[]:t?h=h||[]:p=p||[],f,!!t,m,r,t&&m?function(t){return(0,i.A)(t)===e}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),m(p),m(h),u=f,A||N(e),{e:u,get c(){var n=[];return A&&[N(e=w(e,[t],s,e.name,5,n)),E(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},4612:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}},7290:(e,t,n)=>{"use strict";function r(e){let t;const n=()=>cancelAnimationFrame(t),r=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t&&n(),t=requestAnimationFrame((()=>{e(...i)}))};return r.cancel=n,r}n.d(t,{G:()=>r})},764:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>o,LP:()=>c,Wf:()=>s});var r=n(1201),i=n(8581),a=n(1030);function o(e){return"group"===e.type}function s(e,t){return Boolean("subMenu"===e.type||t&&"group"===e.type)}function c(e,t,n,d){const u=[],p=[],h=[];let f=0;return e&&e.forEach((e=>{if(e.key=""===d?`${f}`:`${d}.${f}`,o(e)||s(e)){const r=c(e.items,t,n,e.key);u.push(...r.selectedKeys),(r.selectedKeys.length||e.defaultExpanded)&&p.push(e.key),p.push(...r.openedKeys),h.push(...r.matchedKeys)}else if(function(e,t,n){if(!e.to)return!1;const o="object"==typeof e.to?e.to:(0,r.parsePath)(e.to),s=o.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let c=!!(0,i.matchPath)(t,{path:s,exact:e.exact});if(c&&e.activeMatchSearch&&(c=l(n,o.search)),!c&&Array.isArray(e.activeIncludes))for(const o of e.activeIncludes){let e,s=!0;(0,a.isObject)(o)?(e=Array.isArray(o.path)?o.path:[o.path],s=o.exact):e=[o];for(const a of e){var d;let e;const o=a.includes("?");if(o&&(e=(0,r.parsePath)(a)),c=!!(0,i.matchPath)(t,{path:o?e.pathname:a,exact:s}),c&&null!==(d=e)&&void 0!==d&&d.search&&(c=l(n,e.search)),c)break}if(c)break}if(c&&Array.isArray(e.activeExcludes))for(const n of e.activeExcludes){let e,r=!0;(0,a.isObject)(n)?(e=Array.isArray(n.path)?n.path:[n.path],r=n.exact):e=[n];for(const n of e)if(c=!(0,i.matchPath)(t,{path:n,exact:r}),!c)break;if(!c)break}return c}(e,t,n)){u.push(String(e.key));const t=e.key.split(".");for(let e=0;e<t.length;e++)h.push(t.slice(0,e+1).join("."))}f+=1})),u.length&&""!==d&&p.push(d),{selectedKeys:u,openedKeys:p,matchedKeys:h}}function l(e,t){const n=new URLSearchParams(e),r=new URLSearchParams(t);for(const[e,t]of r.entries())if((n.get(e)??"")!==t)return!1;return!0}}}]);
|
|
3
|
-
//# sourceMappingURL=eo-sidebar.37543a7e.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see launchpad-config.246a5be8.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[4344,1369,2052],{9248:(e,t,n)=>{"use strict";n.d(t,{r:()=>p});var r=n(9575),i=n(8769),o=n.n(i),a=n(1030),c=n(3373),l=n.n(c),u=n(8581),s=n(10),m=n(6659);function p(e){let{data:t,actions:n,onActionClick:r}=e;const{name:a,items:c}=t,[m,p]=(0,i.useState)(!1),h=(0,i.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"group"})))),[n]),g=(0,i.useCallback)((e=>{null==r||r({data:t,action:e.detail})}),[t,r]);return o().createElement("li",{className:l()("menu-group",{empty:0===c.length})},o().createElement("div",{className:"menu-group-label-wrapper"},o().createElement("span",{className:"menu-group-label"},a),o().createElement(s.qb,{actions:h,onVisibleChange:e=>{p(e.detail)},onActionClick:g},o().createElement(s.Bj,{lib:"fa",icon:"gear",className:l()("menu-config",{active:m})}))),o().createElement("ul",{className:"menu"},c.map((e=>"dir"===e.type?o().createElement(d,{key:e.instanceId,data:e,actions:n,onActionClick:r}):o().createElement(f,{key:`${e.type}-${e.id}`,data:e,actions:n,onActionClick:r})))))}function f(e){var t;let{data:n,actions:c,onActionClick:p}=e;const f=(0,i.useMemo)((()=>"app"===n.type?(0,m.F)(n.locales,n.name):n.name),[n]),[d,h]=(0,i.useState)(!1),g=(0,i.useMemo)((()=>null==c?void 0:c.filter((e=>(0,u.checkIfByTransform)(e,n)))),[c,n]),b=(0,i.useCallback)((e=>{null==p||p({data:n,action:e.detail})}),[n,p]);return o().createElement("li",{className:"menu-item"},o().createElement(s.EM,null,o().createElement(s.Bj,(0,r.A)({className:"menu-icon",lib:"easyops",icon:"micro-app-center"},null!==(t=n.menuIcon)&&void 0!==t&&t.lib&&n.menuIcon.icon?(0,a.pick)(n.menuIcon,["lib","icon","theme","category","prefix"]):null)),o().createElement("span",{className:"menu-item-label"},f)),o().createElement(s.qb,{actions:g,onVisibleChange:e=>{h(e.detail)},onActionClick:b},o().createElement(s.Bj,{lib:"fa",icon:"gear",className:l()("menu-config",{active:d})})))}function d(e){let{data:t,actions:n,onActionClick:r}=e;const{name:a,items:c}=t,[m,p]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),g=(0,i.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"dir"})))),[n]),b=(0,i.useCallback)((()=>{h((e=>!e))}),[]),v=(0,i.useCallback)((e=>{null==r||r({data:t,action:e.detail})}),[t,r]);return o().createElement("li",{className:l()("menu-item folder",{empty:0===c.length})},o().createElement("div",{className:"menu-folder-label-wrapper"},o().createElement(s.EM,{onClick:b},o().createElement(s.Bj,{lib:"fa",prefix:"far",icon:"folder-open",className:"menu-icon"}),o().createElement("span",{className:"menu-item-label"},a),o().createElement(s.Bj,{lib:"antd",icon:d?"up":"down",className:"menu-item-toggle"})),o().createElement(s.qb,{actions:g,onVisibleChange:e=>{p(e.detail)},onActionClick:v},o().createElement(s.Bj,{lib:"fa",icon:"gear",className:l()("menu-config",{active:m})}))),o().createElement("ul",{className:l()("sub-menu",{expanded:d})},c.map((e=>o().createElement(f,{key:e.instanceId,data:e,actions:n,onActionClick:r})))))}},5658:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LaunchpadConfig:()=>O,LaunchpadConfigComponent:()=>G});var r,i=n(4635),o=n(918),a=n(6902),c=n(5536),l=n(6121),u=n(829),s=n(2740),m=n(8769),p=n.n(m),f=n(4782),d=n(1389),h=(n(6477),n(9248)),g=n(4081);let b,v,y,w,k,A,x,E,C;const{defineElement:j,property:S,event:N}=(0,f.createDecorators)();let O;var T=new WeakMap,B=new WeakMap,I=new WeakMap,M=new WeakSet,P=new WeakMap;class z extends d.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,M),(0,o.A)(this,T,v(this)),(0,o.A)(this,B,(y(this),w(this))),(0,o.A)(this,I,(k(this),A(this))),(0,o.A)(this,P,(C(this),e=>{(0,c.A)(M,this,x).emit(e)}))}get menuGroups(){return(0,u.A)(T,this)}set menuGroups(e){(0,l.A)(T,this,e)}get actions(){return(0,u.A)(B,this)}set actions(e){(0,l.A)(B,this,e)}render(){return p().createElement(G,{menuGroups:this.menuGroups,actions:this.actions,onActionClick:(0,u.A)(P,this)})}}function G(e){let{menuGroups:t,actions:n,onActionClick:r}=e;return p().createElement("ul",{className:"menu-groups"},null==t?void 0:t.map((e=>p().createElement(h.r,{key:e.instanceId,data:e,actions:n,onActionClick:r}))))}r=z,({e:[v,y,w,k,A,x,E,C],c:[O,b]}=(0,s.A)(r,[j("nav.launchpad-config",{styleTexts:[g.A]})],[[S({attribute:!1}),1,"menuGroups"],[S({attribute:!1}),1,"actions"],[N({type:"action.click"}),1,"actionClickEvent",e=>(0,u.A)(I,e),(e,t)=>(0,l.A)(I,e,t)]],0,(e=>P.has((0,a.A)(e))),d.ReactNextElement)),b()},10:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>o,EM:()=>a,qb:()=>c});var r=n(1389),i=n(279);const o=(0,r.wrapBrick)("eo-icon"),a=(0,r.wrapBrick)("eo-link"),c=(0,r.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"});(0,i.unwrapProvider)("basic.show-dialog")},6659:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(7318);function i(e,t){if(!e)return t;const n=Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return n.name})).map((e=>{let[t,n]=e;return[t,n.name]})));return(0,r.i18nText)(n)??t}},4081:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:block;--local-menu-icon-color:#8c8c8c}:host([hidden]){display:none;--local-menu-icon-color:rgba(255,255,255,0.45)}ul{list-style:none;margin:0;padding:0}.menu-groups{display:grid;gap:32px 16px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.menu,\n.sub-menu{display:flex;flex-direction:column;gap:14px}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{display:block}.menu-folder-label-wrapper > eo-link::part(link),\n.menu-item > eo-link::part(link){height:20px;display:flex;align-items:center;gap:8px;color:var(--color-header-text)}.menu-group-label-wrapper,\n.menu-folder-label-wrapper,\n.menu-item:not(.folder){display:flex;gap:8px;align-items:center}.menu-group-label-wrapper{gap:3px}.menu-group:not(.empty) .menu-group-label-wrapper{margin-bottom:14px}.menu-group-label,\n.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-group-label{font-size:var(--card-title-font-size);font-weight:500;color:var(--color-header-text)}.menu-icon{color:var(--local-menu-icon-color)}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{max-width:100%;width:-moz-fit-content;width:fit-content;min-width:0}.sub-menu:not(.expanded){display:none}.sub-menu{margin-left:8px;border-left:1px solid var(--color-text-divider-line);padding-left:15px}.menu-item:not(.empty) .sub-menu{margin-top:14px}.menu-item-toggle{color:var(--color-secondary-text)}.menu-config{visibility:hidden;color:var(--color-brand);cursor:pointer;display:flex;justify-content:center;align-items:center;height:24px;width:0}.menu-config.active,\n.menu-group-label-wrapper:hover .menu-config,\n.menu-item:not(.folder):hover .menu-config,\n.menu-folder-label-wrapper:hover .menu-config{visibility:visible;width:24px}.menu-config:hover,\n.menu-item > eo-link:hover::part(link),\n.menu-item > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover::part(link),\n.menu-folder-label-wrapper > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover .menu-item-toggle{color:var(--color-brand-hover)}@supports not (inset: 0){.sub-menu,\n .menu,\n .menu-group-label-wrapper,\n .menu-folder-label-wrapper,\n .menu-item:not(.folder),\n .menu-item > eo-link::part(link){gap:0}.menu > :not(:first-child),\n .sub-menu > :not(:first-child){margin-top:14px}.menu-icon{margin-right:8px}eo-dropdown-actions,\n .menu-item-toggle{margin-left:8px}}",""]);const c=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var s=[].concat(e[u]);r&&a[s[0]]||(void 0!==o&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=o),n&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=n):s[2]=n),i&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=i):s[4]="".concat(i)),t.push(s))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,l,u){var s,m,p,f,d,h,g,b=Symbol.metadata||Symbol.for("Symbol.metadata"),v=Object.defineProperty,y=Object.create,w=[y(null),y(null)],k=t.length;function A(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function x(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,i,a,c,l,u,p,f,d){function h(e){if(!d(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),b=t[3],y=!l,k=1===a,E=3===a,C=4===a,j=2===a;function S(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),N[t].call(i,o)}}if(!y){var N={},O=[],T=E?"get":C||k?"set":"value";if(p?(f||k?N={get:o((function(){return b(this)}),i,"get"),set:function(e){t[4](this,e)}}:N[T]=b,f||o(N[T],i,j?"":T)):f||(N=Object.getOwnPropertyDescriptor(e,i)),!f&&!p){if((m=w[+u][i])&&7!=(m^a))throw Error("Decorating two elements with the same name ("+N[T].name+") is not supported yet");w[+u][i]=a<3?1:a}}for(var B=e,I=g.length-1;I>=0;I-=n?2:1){var M=x(g[I],"A decorator","be",!0),P=n?g[I-1]:void 0,z={},G={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:s,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),c.push(t)}.bind(null,z)};if(y)m=M.call(P,B,G),z.v=1,x(m,"class decorators","return")&&(B=m);else if(G.static=u,G.private=p,m=G.access={has:p?d.bind():function(e){return i in e}},C||(m.get=p?j?function(e){return h(e),N.value}:S("get",0,h):function(e){return e[i]}),j||E||(m.set=p?S("set",0,h):function(e,t){e[i]=t}),B=M.call(P,k?{get:N.get,set:N.set}:N[T],G),z.v=1,k){if("object"==(0,r.A)(B)&&B)(m=x(B.get,"accessor.get"))&&(N.get=m),(m=x(B.set,"accessor.set"))&&(N.set=m),(m=x(B.init,"accessor.init"))&&O.unshift(m);else if(void 0!==B)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(B,(f?"field":"method")+" decorators","return")&&(f?O.unshift(B):N[T]=B)}return a<2&&l.push(A(O,u,1),A(c,u,0)),f||y||(p?k?l.splice(-1,0,S("get",u),S("set",u)):l.push(j?N[T]:x.call.bind(N[T])):v(e,i,N)),B}function C(e){return v(e,b,{configurable:!0,enumerable:!0,value:s})}return void 0!==u&&(s=u[b]),s=y(null==s?null:s),d=[],h=function(e){e&&d.push(A(e))},g=function(t,r){for(var o=0;o<n.length;o++){var c=n[o],u=c[1],s=7&u;if((8&u)==t&&!s==r){var m=c[2],h=!!c[3],g=16&u;E(t?e:e.prototype,c,g,h?"#"+m:(0,a.A)(m),s,s<2?[]:t?f=f||[]:p=p||[],d,!!t,h,r,t&&h?function(t){return(0,i.A)(t)===e}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),h(p),h(f),m=d,k||C(e),{e:m,get c(){var n=[];return k&&[C(e=E(e,[t],c,e.name,5,n)),A(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=launchpad-config.246a5be8.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e,t,r,n,a,o,l,i,c,d,s,f,u,h,p,m,b,v,x,g,y,P={7934:(e,t,r)=>{Promise.all([r.e(6256),r.e(2140),r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(4047),r.e(2133),r.e(9435),r.e(6419),r.e(9422),r.e(1201),r.e(6595),r.e(8518),r.e(9149),r.e(6238),r.e(884)]).then(r.bind(r,884))}},k={};function w(e){var t=k[e];if(void 0!==t)return t.exports;var r=k[e]={id:e,loaded:!1,exports:{}};return P[e].call(r.exports,r,r.exports,w),r.loaded=!0,r.exports}w.m=P,w.c=k,w.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return w.d(t,{a:t}),t},w.d=(e,t)=>{for(var r in t)w.o(t,r)&&!w.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((t,r)=>(w.f[r](e,t),t)),[])),w.u=e=>"chunks/"+e+"."+{114:"7a9769ca",279:"7b8f468e",726:"1d2dd9fa",871:"18bf8ba5",877:"b3dc24bb",884:"57ecb139",1030:"d8e8567f",1045:"28eda4d4",1122:"1aad3c8d",1201:"80a215f1",1302:"4e7b8030",1369:"f2a1f366",1370:"cbe87896",1389:"53cae425",1760:"d76df08c",1889:"812b9ca5",1940:"331476af",2052:"14b1b2e4",2133:"57afe59f",2140:"2e870601",2252:"a4907dbe",2277:"c3c05c79",3144:"7f10ba4c",3171:"9a7353cd",3278:"083af081",3496:"bc6d70f3",3751:"93edf303",3933:"60d63951",4041:"c7de4a6d",4047:"7862931d",4285:"bf5b4682",4658:"8ad6f823",4741:"3a33a9de",4782:"59780f1f",4837:"4de613c0",5009:"21202648",5250:"12cae457",5294:"92b3255a",5384:"a93e34e9",5399:"59a46cfe",5552:"8f9cb147",6238:"20472d9f",6256:"5623ff67",6314:"b8e5fb22",6419:"f02424ec",6477:"7640bcd5",6519:"88149886",6595:"582896fb",6688:"1e945a77",6730:"3dc604ed",6773:"b8de20f0",7218:"99c42e66",7318:"2a3be93f",7721:"a4d4ce25",7733:"1c59f07a",7960:"0be883da",8097:"6a2a9c6c",8518:"4a921b6e",8581:"6df96692",8679:"e1a32966",8769:"88911f42",8897:"bb153cb4",8946:"2f9754e4",8989:"a9efa9f5",9149:"6ca3f62d",9422:"55f60551",9435:"075ce1bc",9515:"df23b98d",9559:"23b9be5b",9755:"df6d6486",9844:"b58a111c"}[e]+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/nav:",w.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var s=c[d];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==t+a){l=s;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,w.nc&&l.setAttribute("nonce",w.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(u);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},u=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),i&&document.head.appendChild(l)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},t={};w.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];w.o(w.S,r)||(w.S[r]={});var o=w.S[r],l="@next-bricks/nav",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.25.3",(()=>w.e(6773).then((()=>()=>w(6773))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([w.e(4741),w.e(1030),w.e(6688)]).then((()=>()=>w(4741))))),i("@next-core/cook","2.4.8",(()=>Promise.all([w.e(1122),w.e(1760)]).then((()=>()=>w(8741))))),i("@next-core/easyops-runtime","0.12.17",(()=>Promise.all([w.e(2252),w.e(1030),w.e(8581),w.e(279),w.e(7318),w.e(6730),w.e(3496),w.e(4285),w.e(9422),w.e(8897),w.e(877),w.e(8679),w.e(1369)]).then((()=>()=>w(2252))))),i("@next-core/element","1.2.11",(()=>w.e(1045).then((()=>()=>w(1045))))),i("@next-core/http","1.2.6",(()=>w.e(8989).then((()=>()=>w(8989))))),i("@next-core/i18n/react","1.0.62",(()=>Promise.all([w.e(7318),w.e(8097)]).then((()=>()=>w(8097))))),i("@next-core/i18n","1.0.62",(()=>Promise.all([w.e(279),w.e(7318),w.e(9755),w.e(5552)]).then((()=>()=>w(5552))))),i("@next-core/inject","1.0.41",(()=>Promise.all([w.e(1030),w.e(4285),w.e(2277)]).then((()=>()=>w(2277))))),i("@next-core/loader","1.6.7",(()=>w.e(5399).then((()=>()=>w(5399))))),i("@next-core/pipes","2.0.24",(()=>w.e(6519).then((()=>()=>w(6519))))),i("@next-core/react-element","1.0.30",(()=>Promise.all([w.e(8769),w.e(4782),w.e(9435),w.e(114)]).then((()=>()=>w(114))))),i("@next-core/react-runtime","1.6.34",(()=>Promise.all([w.e(8769),w.e(1389),w.e(1030),w.e(8581),w.e(4837)]).then((()=>()=>w(4837))))),i("@next-core/runtime","1.54.11",(()=>Promise.all([w.e(5009),w.e(1030),w.e(279),w.e(7318),w.e(9422),w.e(8897),w.e(877),w.e(1302),w.e(8946)]).then((()=>()=>w(5009))))),i("@next-core/supply","2.1.20",(()=>Promise.all([w.e(1030),w.e(4285),w.e(1302),w.e(9559)]).then((()=>()=>w(9559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([w.e(1889),w.e(2052)]).then((()=>()=>w(1889))))),i("@next-core/utils/general","1.7.20",(()=>w.e(871).then((()=>()=>w(871))))),i("@next-core/utils/storyboard","1.7.20",(()=>Promise.all([w.e(279),w.e(8897),w.e(3933)]).then((()=>()=>w(3933))))),i("history","4.10.1",(()=>w.e(5384).then((()=>()=>w(5384))))),i("i18next-browser-languagedetector","7.2.1",(()=>w.e(726).then((()=>()=>w(726))))),i("i18next","22.5.1",(()=>w.e(3278).then((()=>()=>w(3278))))),i("js-yaml","3.14.1",(()=>w.e(9515).then((()=>()=>w(9515))))),i("lodash","4.17.21",(()=>w.e(5250).then((()=>()=>w(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(1329))))),i("moment","2.30.1",(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([w.e(3144),w.e(8769)]).then((()=>()=>w(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([w.e(5294),w.e(8769)]).then((()=>()=>w(5294))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>w.e(4041).then((()=>()=>w(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var t=w.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e+"../"})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var d,s,f=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(s=(typeof(d=t[l]))[0]))return!c||("u"==f?i>n&&!a:""==f!=a);if("u"==s){if(!c||"u"!=f)return!1}else if(c)if(f==s)if(i<=n){if(d!=e[i])return!1}else{if(a?d>e[i]:d<e[i])return!1;d!=e[i]&&(c=!1)}else if("s"!=f&&"n"!=f){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||s<f!=a)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,i--)}}var u=[],h=u.pop.bind(u);for(l=1;l<e.length;l++){var p=e[l];u.push(1==p?h()|h():2==p?h()&h():p?o(p,t):!h())}return!!h()},l=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&n(e,t)?t:e),0)},i=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",c=(e,t,r,n)=>{var a=l(e,r);return u(e[r][a])},d=(e,t,r,n)=>{var a=l(e,r);return o(n,a)||f(i(e,r,a,n)),u(e[r][a])},s=(e,t,r)=>{var a=e[t];return(t=Object.keys(a).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&a[t]},f=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},u=e=>(e.loaded=1,e.get()),p=(h=e=>function(t,r,n,a){var o=w.I(t);return o&&o.then?o.then(e.bind(e,t,w.S[t],r,n,a)):e(t,w.S[t],r,n,a)})(((e,t,r,n)=>t&&w.o(t,r)?c(t,0,r):n())),m=h(((e,t,r,n,a)=>t&&w.o(t,r)?d(t,0,r,n):a())),b=h(((e,t,r,n,a)=>{var o=t&&w.o(t,r)&&s(t,r,n);return o?u(o):a()})),v={},x={8769:()=>b("default","react",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>w.e(4041).then((()=>()=>w(4041))))),4782:()=>b("default","@next-core/element",[1,1,2,11],(()=>w.e(1045).then((()=>()=>w(1045))))),1389:()=>b("default","@next-core/react-element",[1,1,0,30],(()=>Promise.all([w.e(4782),w.e(9435),w.e(7733)]).then((()=>()=>w(114))))),6477:()=>m("default","@next-core/theme",[1,1,5,4],(()=>w.e(1889).then((()=>()=>w(1889))))),1030:()=>m("default","lodash",[1,4,17,21],(()=>w.e(5250).then((()=>()=>w(5250))))),8581:()=>m("default","@next-core/runtime",[1,1,54,11],(()=>Promise.all([w.e(5009),w.e(1030),w.e(279),w.e(7318),w.e(9422),w.e(8897),w.e(877),w.e(1302),w.e(8946)]).then((()=>()=>w(5009))))),279:()=>m("default","@next-core/utils/general",[1,1,7,20],(()=>w.e(871).then((()=>()=>w(871))))),7318:()=>m("default","@next-core/i18n",[1,1,0,62],(()=>Promise.all([w.e(279),w.e(9755),w.e(3171)]).then((()=>()=>w(5552))))),6730:()=>m("default","@next-core/http",[1,1,0,0],(()=>w.e(1370).then((()=>()=>w(8989))))),3496:()=>m("default","@next-core/http",[1,1,0,6],(()=>w.e(1370).then((()=>()=>w(8989))))),7960:()=>m("default","@next-core/easyops-runtime",[2,0,12,17],(()=>Promise.all([w.e(2252),w.e(1030),w.e(279),w.e(7318),w.e(6730),w.e(3496),w.e(4285),w.e(9422),w.e(8897),w.e(877),w.e(8679)]).then((()=>()=>w(2252))))),4047:()=>b("default","@next-core/react-runtime",[1,1,6,34],(()=>Promise.all([w.e(1030),w.e(8581),w.e(7218)]).then((()=>()=>w(4837))))),9435:()=>b("default","react-dom",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>w.e(3144).then((()=>()=>w(3144))))),6419:()=>m("default","@next-core/i18n/react",[1,1,0,62],(()=>Promise.all([w.e(7318),w.e(8097)]).then((()=>()=>w(8097))))),9422:()=>m("default","@next-core/http",[1,1,2,6],(()=>w.e(3751).then((()=>()=>w(8989))))),1201:()=>m("default","history",[1,4,7,11],(()=>w.e(5384).then((()=>()=>w(5384))))),6238:()=>p("default","moment",(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(9420))))),1204:()=>m("default","js-yaml",[1,3,14,0],(()=>w.e(9515).then((()=>()=>w(9515))))),8297:()=>m("default","moment",[1,2,27,0],(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(9420))))),1760:()=>m("default","@babel/parser",[1,7,24,7],(()=>w.e(6773).then((()=>()=>w(6773))))),4285:()=>m("default","@next-core/pipes",[1,2,0,24],(()=>w.e(6519).then((()=>()=>w(6519))))),8897:()=>m("default","@next-core/cook",[1,2,4,8],(()=>Promise.all([w.e(1122),w.e(1760)]).then((()=>()=>w(8741))))),877:()=>m("default","@next-core/utils/storyboard",[1,1,7,20],(()=>w.e(6314).then((()=>()=>w(3933))))),8679:()=>m("default","js-yaml",[1,3,14,1],(()=>w.e(9515).then((()=>()=>w(9515))))),7825:()=>m("default","react-i18next",[1,12,3,1],(()=>Promise.all([w.e(5294),w.e(8769)]).then((()=>()=>w(5294))))),2350:()=>m("default","i18next",[1,22,5,1],(()=>w.e(3278).then((()=>()=>w(3278))))),7072:()=>m("default","i18next-browser-languagedetector",[1,7,2,1],(()=>w.e(726).then((()=>()=>w(726))))),161:()=>m("default","@easyops-cn/brick-next-pipes",[2,0,6,0],(()=>Promise.all([w.e(4741),w.e(1030),w.e(6688)]).then((()=>()=>w(4741))))),1302:()=>m("default","moment",[1,2,30,1],(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(9420))))),1680:()=>m("default","@next-core/supply",[1,2,1,20],(()=>Promise.all([w.e(4285),w.e(1940)]).then((()=>()=>w(9559))))),2890:()=>m("default","history",[1,4,10,1],(()=>w.e(5384).then((()=>()=>w(5384))))),6036:()=>m("default","moment/locale/zh-cn.js",[1,2,30,1],(()=>Promise.all([w.e(7721),w.e(9844)]).then((()=>()=>w(1329))))),7043:()=>m("default","@next-core/loader",[1,1,6,7],(()=>w.e(5399).then((()=>()=>w(5399))))),8965:()=>m("default","@next-core/inject",[1,1,0,41],(()=>Promise.all([w.e(4285),w.e(4658)]).then((()=>()=>w(2277)))))},g={279:[279],877:[877],1030:[1030],1201:[1201],1302:[1302],1389:[1389],1760:[1760],3496:[3496],4047:[4047],4285:[4285],4782:[4782],6238:[6238],6419:[6419],6477:[6477],6519:[161],6688:[1204,8297],6730:[6730],7318:[7318],7960:[7960],8097:[7825],8581:[8581],8679:[8679],8769:[8769],8897:[8897],8946:[1680,2890,6036,7043,8965],9422:[9422],9435:[9435],9755:[2350,7072]},y={},w.f.consumes=(e,t)=>{w.o(g,e)&&g[e].forEach((e=>{if(w.o(v,e))return t.push(v[e]);if(!y[e]){var r=t=>{v[e]=0,w.m[e]=r=>{delete w.c[e],r.exports=t()}};y[e]=!0;var n=t=>{delete v[e],w.m[e]=r=>{throw delete w.c[e],t}};try{var a=x[e]();a.then?t.push(v[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={8792:0};w.f.j=(t,r)=>{var n=w.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(030|201|302|389|760)|4(047|285|782)|6(238|419|477|688|730)|8(581|679|769|77|897|946)|9(422|435|755)|279|3496|7318|7960)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=w.p+w.u(t),l=new Error;w.l(o,(r=>{if(w.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)w.o(l,n)&&(w.m[n]=l[n]);i&&i(w)}for(t&&t(r);c<o.length;c++)a=o[c],w.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),w.nc=void 0,w(7934)})();
|
|
2
|
-
//# sourceMappingURL=main.c675ac30.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[5350,1369,2052],{7587:(e,t,n)=>{n.r(t),n.d(t,{NavLogo:()=>v,NavLogoComponent:()=>h,WrappedIcon:()=>d,WrappedLink:()=>m});var r,o=n(2740),i=n(8769),a=n.n(i),c=n(4782),l=n(1389),s=(n(6477),n(5367)),u=n(8581);let f;const{defineElement:p}=(0,c.createDecorators)(),d=(0,l.wrapBrick)("eo-icon"),m=(0,l.wrapBrick)("eo-link");let v;class g extends l.ReactNextElement{render(){return a().createElement(h,null)}}function h(){const e=(0,u.getRuntime)().getBrandSettings(),t=(0,i.useMemo)((()=>e.menu_bar_logo_url?a().createElement("img",{src:e.menu_bar_logo_url,className:"personalized-logo"}):a().createElement(d,{category:"blueprint",icon:"easyops",lib:"easyops",className:"easyops-icon"})),[e.menu_bar_logo_url]);return a().createElement("div",{className:"logo-container"},"true"===e.menu_bar_logo_no_link?t:a().createElement(m,{type:"plain",url:"/",className:"logo-link"},t))}r=g,[v,f]=(0,o.A)(r,[p("nav.nav-logo",{styleTexts:[s.A]})],[],0,void 0,l.ReactNextElement).c,f()},5367:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,":host{display: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 c=a.toString()},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(a[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2740:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,l,s){var u,f,p,d,m,v,g,h=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,w=[y(null),y(null)],_=t.length;function A(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function k(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,o,a,c,l,s,p,d,m){function v(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),h=t[3],y=!l,_=1===a,E=3===a,S=4===a,j=2===a;function x(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),N[t].call(o,i)}}if(!y){var N={},T=[],z=E?"get":S||_?"set":"value";if(p?(d||_?N={get:i((function(){return h(this)}),o,"get"),set:function(e){t[4](this,e)}}:N[z]=h,d||i(N[z],o,j?"":z)):d||(N=Object.getOwnPropertyDescriptor(e,o)),!d&&!p){if((f=w[+s][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+N[z].name+") is not supported yet");w[+s][o]=a<3?1:a}}for(var O=e,P=g.length-1;P>=0;P-=n?2:1){var B=k(g[P],"A decorator","be",!0),C=n?g[P-1]:void 0,D={},I={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");k(t,"An initializer","be",!0),c.push(t)}.bind(null,D)};if(y)f=B.call(C,O,I),D.v=1,k(f,"class decorators","return")&&(O=f);else if(I.static=s,I.private=p,f=I.access={has:p?m.bind():function(e){return o in e}},S||(f.get=p?j?function(e){return v(e),N.value}:x("get",0,v):function(e){return e[o]}),j||E||(f.set=p?x("set",0,v):function(e,t){e[o]=t}),O=B.call(C,_?{get:N.get,set:N.set}:N[z],I),D.v=1,_){if("object"==(0,r.A)(O)&&O)(f=k(O.get,"accessor.get"))&&(N.get=f),(f=k(O.set,"accessor.set"))&&(N.set=f),(f=k(O.init,"accessor.init"))&&T.unshift(f);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else k(O,(d?"field":"method")+" decorators","return")&&(d?T.unshift(O):N[z]=O)}return a<2&&l.push(A(T,s,1),A(c,s,0)),d||y||(p?_?l.splice(-1,0,x("get",s),x("set",s)):l.push(j?N[z]:k.call.bind(N[z])):b(e,o,N)),O}function S(e){return b(e,h,{configurable:!0,enumerable:!0,value:u})}return void 0!==s&&(u=s[h]),u=y(null==u?null:u),m=[],v=function(e){e&&m.push(A(e))},g=function(t,r){for(var i=0;i<n.length;i++){var c=n[i],s=c[1],u=7&s;if((8&s)==t&&!u==r){var f=c[2],v=!!c[3],g=16&s;E(t?e:e.prototype,c,g,v?"#"+f:(0,a.A)(f),u,u<2?[]:t?d=d||[]:p=p||[],m,!!t,v,r,t&&v?function(t){return(0,o.A)(t)===e}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),v(p),v(d),f=m,_||S(e),{e:f,get c(){var n=[];return _&&[S(e=E(e,[t],c,e.name,5,n)),A(n,1)]}}}},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=nav-logo.53e00cac.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see poll-announce.66b095cb.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[7352,1369,2052],{6276:(e,t,n)=>{n.d(t,{I:()=>i,K:()=>r,NS:()=>o});let r=function(e){return e.VIEW_DETAILS="VIEW_DETAILS",e.DISMISS="DISMISS",e}({});const o="bricks/nav/poll-announce",i={en:{VIEW_DETAILS:"View details",DISMISS:"Dismiss"},zh:{VIEW_DETAILS:"查看详情",DISMISS:"忽略"}}},8266:(e,t,n)=>{n.r(t),n.d(t,{PollAnnounce:()=>q,PollAnnounceComponent:()=>Z});var r,o=n(4635),i=n(918),a=n(6902),s=n(5536),c=n(6121),l=n(829),u=n(2740),f=n(8769),p=n.n(f),d=n(4782),h=n(1389),v=n(8581),m=n(279),y=(n(6477),n(7318)),g=n(6419),b=n(9896),A=n(8627),w=n(7439),S=n(6276),E=n(6651),I=n(5782);let T,x,M,k,_,C,j,D,P,L,W,N,O;(0,g.initializeReactI18n)(S.NS,S.I);const{defineElement:$,property:V,event:z}=(0,d.createDecorators)(),F=(0,m.unwrapProvider)("basic.show-notification"),R=new Set;let q;var K=new WeakMap,B=new WeakMap,H=new WeakMap,U=new WeakSet,J=new WeakMap,G=new WeakMap,Q=new WeakMap;class X extends h.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,U),(0,i.A)(this,K,x(this)),(0,i.A)(this,B,(M(this),k(this))),(0,i.A)(this,H,(_(this),C(this))),(0,i.A)(this,J,(P(this),()=>{(0,s.A)(U,this,j).emit()})),(0,i.A)(this,G,L(this)),(0,i.A)(this,Q,(O(this),()=>{(0,s.A)(U,this,W).emit()}))}get pollEnabled(){return(0,l.A)(K,this)}set pollEnabled(e){(0,c.A)(K,this,e)}get realTimeMessage(){return(0,l.A)(B,this)}set realTimeMessage(e){(0,c.A)(B,this,e)}render(){return p().createElement(Z,{pollEnabled:this.pollEnabled,realTimeMessage:this.realTimeMessage,onOpen:(0,l.A)(Q,this),onClose:(0,l.A)(J,this)})}}async function Y(e,t){let{title:n,data:r,instanceId:o}=e;const i=r.replace(/<[^>]+>| /gim,"\r\n").replace(/“/gim,"“").replace(/”/gim,"”"),a=i.length>100?i.slice(0,100):i;try{await F({placement:"topRight",icon:{lib:"antd",theme:"filled",icon:"sound",style:{color:"var(--theme-orange-color)"}},title:n,htmlMessage:`<div class="${I.A.message}">${a}</div>`,closable:!0,showConfirm:!0,confirmText:y.i18n.t(`${S.NS}:${S.K.VIEW_DETAILS}`),confirmLink:{url:`/announcement-management/announcement-front/content?instanceId=${o}`,target:"_blank"},showCancel:!0,cancelText:y.i18n.t(`${S.NS}:${S.K.DISMISS}`)})}catch{}finally{if(!R.has(o)){R.add(o);try{await(0,b.w)({instanceIds:[o]}),t()}catch(e){console.error("ignore announce failed:",e)}}}}function Z(e){let{pollEnabled:t,realTimeMessage:n,onOpen:r,onClose:o}=e;return(0,f.useEffect)((()=>{(async()=>{const e=(await(0,A.F)({})).list;e.length&&e.filter((e=>e.isPopup)).reverse().forEach((e=>{Y(e,o)}))})()}),[]),(0,f.useEffect)((()=>{!t&&n&&Y(n,o)}),[o,t,n]),(0,f.useEffect)((()=>{if(!t)return;let e=!1;const n=async()=>{if(!e)try{Y(await(0,w.$)({interceptorParams:{ignoreLoadingBar:!0}}),o),r(),n()}catch(e){var t;const r=(0,v.httpErrorToString)(e);null!=r&&null!==(t=r.toLowerCase())&&void 0!==t&&t.includes("timeout")&&n()}};return n(),()=>{e=!0}}),[o,r,t]),null}r=X,({e:[x,M,k,_,C,j,D,P,L,W,N,O],c:[q,T]}=(0,u.A)(r,[$("nav.poll-announce",{styleTexts:[E.A]})],[[V({type:Boolean}),1,"pollEnabled"],[V({attribute:!1}),1,"realTimeMessage"],[z({type:"notification.close"}),1,"closeEvent",e=>(0,l.A)(H,e),(e,t)=>(0,c.A)(H,e,t)],[z({type:"notification.open"}),1,"openEvent",e=>(0,l.A)(G,e),(e,t)=>(0,c.A)(G,e,t)]],0,(e=>Q.has((0,a.A)(e))),h.ReactNextElement)),T()},6651:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,":host{display:inline-block}:host([hidden]){display:none}",""]);const s=a.toString()},1784:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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}",""]),a.locals={message:"message--Fxvh9j9V"};const s=a},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{e.exports=function(e){return e[1]}},5782:(e,t,n)=>{n.d(t,{A:()=>y});var r=n(2591),o=n.n(r),i=n(1740),a=n.n(i),s=n(8128),c=n.n(s),l=n(855),u=n.n(l),f=n(3051),p=n.n(f),d=n(3656),h=n.n(d),v=n(1784),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),o()(v.A,m);const y=v.A&&v.A.locals?v.A.locals:void 0},2591:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var c=e[s],l=r.base?c[0]+r.base:c[0],u=i[l]||0,f="".concat(l," ").concat(u);i[l]=u+1;var p=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var h=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:h,references:1})}a.push(f)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var c=r(e,o),l=0;l<i.length;l++){var u=n(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=c}}},8128:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},3051:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2740:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,c,l){var u,f,p,d,h,v,m,y=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,b=Object.create,A=[b(null),b(null)],w=t.length;function S(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function E(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function I(e,t,n,o,a,s,c,l,p,d,h){function v(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var m=[].concat(t[0]),y=t[3],b=!c,w=1===a,I=3===a,T=4===a,x=2===a;function M(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),k[t].call(o,i)}}if(!b){var k={},_=[],C=I?"get":T||w?"set":"value";if(p?(d||w?k={get:i((function(){return y(this)}),o,"get"),set:function(e){t[4](this,e)}}:k[C]=y,d||i(k[C],o,x?"":C)):d||(k=Object.getOwnPropertyDescriptor(e,o)),!d&&!p){if((f=A[+l][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+k[C].name+") is not supported yet");A[+l][o]=a<3?1:a}}for(var j=e,D=m.length-1;D>=0;D-=n?2:1){var P=E(m[D],"A decorator","be",!0),L=n?m[D-1]:void 0,W={},N={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");E(t,"An initializer","be",!0),s.push(t)}.bind(null,W)};if(b)f=P.call(L,j,N),W.v=1,E(f,"class decorators","return")&&(j=f);else if(N.static=l,N.private=p,f=N.access={has:p?h.bind():function(e){return o in e}},T||(f.get=p?x?function(e){return v(e),k.value}:M("get",0,v):function(e){return e[o]}),x||I||(f.set=p?M("set",0,v):function(e,t){e[o]=t}),j=P.call(L,w?{get:k.get,set:k.set}:k[C],N),W.v=1,w){if("object"==(0,r.A)(j)&&j)(f=E(j.get,"accessor.get"))&&(k.get=f),(f=E(j.set,"accessor.set"))&&(k.set=f),(f=E(j.init,"accessor.init"))&&_.unshift(f);else if(void 0!==j)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else E(j,(d?"field":"method")+" decorators","return")&&(d?_.unshift(j):k[C]=j)}return a<2&&c.push(S(_,l,1),S(s,l,0)),d||b||(p?w?c.splice(-1,0,M("get",l),M("set",l)):c.push(x?k[C]:E.call.bind(k[C])):g(e,o,k)),j}function T(e){return g(e,y,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[y]),u=b(null==u?null:u),h=[],v=function(e){e&&h.push(S(e))},m=function(t,r){for(var i=0;i<n.length;i++){var s=n[i],l=s[1],u=7&l;if((8&l)==t&&!u==r){var f=s[2],v=!!s[3],m=16&l;I(t?e:e.prototype,s,m,v?"#"+f:(0,a.A)(f),u,u<2?[]:t?d=d||[]:p=p||[],h,!!t,v,r,t&&v?function(t){return(0,o.A)(t)===e}:c)}}},m(8,0),m(0,0),m(8,1),m(0,1),v(p),v(d),f=h,w||T(e),{e:f,get c(){var n=[];return w&&[T(e=I(e,[t],s,e.name,5,n)),S(n,1)]}}}},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t){(0,r.A)(e,t),t.add(e)}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},9896:(e,t,n)=>{n.d(t,{w:()=>o});var r=n(9422);const o=(e,t)=>r.http.post("api/gateway/sys_setting.announce.IgnoreAnnounce/api/sys_setting/v1/announce/ignore",e,t)},8627:(e,t,n)=>{n.d(t,{F:()=>o});var r=n(9422);const o=async(e,t)=>(await r.http.get("api/gateway/sys_setting.announce.ListEffectiveAnnounce/api/sys_setting/v1/announce/effective",{...t,params:e})).data},7439:(e,t,n)=>{n.d(t,{$:()=>o});var r=n(9422);const o=async e=>(await r.http.get("api/gateway/sys_setting.announce.PollAnnounce/api/sys_setting/v1/announce/poll",e)).data}}]);
|
|
3
|
-
//# sourceMappingURL=poll-announce.66b095cb.js.map
|
package/dist/index.066a83be.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e,t,r,n,a,o,l,i,s,c,d,u,h,f,m,p,b,v,P,x,g,y={3829:(e,t,r)=>{var n={"./eo-nav-menu":()=>Promise.all([r.e(5764),r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(6730),r.e(6419),r.e(1201),r.e(8518),r.e(5821)]).then((()=>()=>r(816))),"./eo-launchpad-button":()=>Promise.all([r.e(6256),r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(9435),r.e(6419),r.e(6595),r.e(8649)]).then((()=>()=>r(3827))),"./eo-launchpad-button-v2":()=>Promise.all([r.e(6256),r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(2133),r.e(9435),r.e(9149),r.e(470)]).then((()=>()=>r(797))),"./launchpad-config":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(4344)]).then((()=>()=>r(5658))),"./easyops-navbar-alerts":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(7960),r.e(4047),r.e(6238),r.e(1890)]).then((()=>()=>r(3028))),"./eo-launchpad-quick-access":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(2133),r.e(8533)]).then((()=>()=>r(6300))),"./eo-search-launchpad":()=>Promise.all([r.e(3703),r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(2133),r.e(131)]).then((()=>()=>r(306))),"./eo-launchpad-recent-visits":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(279),r.e(7318),r.e(6730),r.e(3496),r.e(7960),r.e(2133),r.e(5929)]).then((()=>()=>r(9666))),"./eo-app-bar-wrapper":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(3927)]).then((()=>()=>r(6736))),"./app-bar-wrapper":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(3927)]).then((()=>()=>r(6736))),"./eo-frame-breadcrumb":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(4047),r.e(8339)]).then((()=>()=>r(8738))),"./eo-sidebar-menu-item":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(4444)]).then((()=>()=>r(1718))),"./eo-sidebar-menu-group":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(62)]).then((()=>()=>r(7144))),"./eo-sidebar-menu-submenu":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(7544)]).then((()=>()=>r(986))),"./eo-sidebar-menu":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(4612)]).then((()=>()=>r(7846))),"./eo-sidebar":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(4047),r.e(6419),r.e(1201),r.e(5532)]).then((()=>()=>r(7120))),"./eo-sidebar-sub-menu":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(8581),r.e(1201),r.e(1131)]).then((()=>()=>r(9982))),"./eo-directory":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(4047),r.e(7257)]).then((()=>()=>r(5370))),"./eo-directory-tree":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(1030),r.e(4047),r.e(2130)]).then((()=>()=>r(5215))),"./eo-directory-tree-leaf":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(2251)]).then((()=>()=>r(4373))),"./eo-directory-tree-internal-node":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(7825)]).then((()=>()=>r(9443))),"./nav-logo":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(5350)]).then((()=>()=>r(7587))),"./poll-announce":()=>Promise.all([r.e(8769),r.e(4782),r.e(1389),r.e(6477),r.e(8581),r.e(279),r.e(7318),r.e(6419),r.e(9422),r.e(7352)]).then((()=>()=>r(8266)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var n="default",a=r.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)}};r.d(t,{get:()=>a,init:()=>o})}},w={};function k(e){var t=w[e];if(void 0!==t)return t.exports;var r=w[e]={id:e,loaded:!1,exports:{}};return y[e].call(r.exports,r,r.exports,k),r.loaded=!0,r.exports}k.m=y,k.c=w,k.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return k.d(t,{a:t}),t},k.d=(e,t)=>{for(var r in t)k.o(t,r)&&!k.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},k.f={},k.e=e=>Promise.all(Object.keys(k.f).reduce(((t,r)=>(k.f[r](e,t),t)),[])),k.u=e=>"chunks/"+({62:"eo-sidebar-menu-group",131:"eo-search-launchpad",470:"eo-launchpad-button-v2",1131:"eo-sidebar-sub-menu",1890:"easyops-navbar-alerts",2130:"eo-directory-tree",2251:"eo-directory-tree-leaf",3927:"eo-app-bar-wrapper",4344:"launchpad-config",4444:"eo-sidebar-menu-item",4612:"eo-sidebar-menu",5350:"nav-logo",5532:"eo-sidebar",5821:"eo-nav-menu",5929:"eo-launchpad-recent-visits",7257:"eo-directory",7352:"poll-announce",7544:"eo-sidebar-menu-submenu",7825:"eo-directory-tree-internal-node",8339:"eo-frame-breadcrumb",8533:"eo-launchpad-quick-access",8649:"eo-launchpad-button"}[e]||e)+"."+{62:"972dc19f",114:"7a9769ca",131:"48d73660",279:"7b8f468e",470:"07be5183",726:"1d2dd9fa",871:"18bf8ba5",877:"b3dc24bb",1030:"d8e8567f",1045:"28eda4d4",1122:"1aad3c8d",1131:"d9d77c4d",1201:"80a215f1",1302:"4e7b8030",1369:"f2a1f366",1370:"cbe87896",1389:"53cae425",1760:"d76df08c",1889:"812b9ca5",1890:"af2663da",1940:"331476af",2052:"14b1b2e4",2130:"719990de",2133:"57afe59f",2251:"2dfd7780",2252:"a4907dbe",2277:"c3c05c79",3144:"7f10ba4c",3171:"9a7353cd",3278:"083af081",3496:"bc6d70f3",3703:"029f16d4",3751:"93edf303",3927:"38e94371",3933:"60d63951",4041:"c7de4a6d",4047:"7862931d",4285:"bf5b4682",4344:"246a5be8",4444:"1f42471f",4612:"090d1998",4658:"8ad6f823",4741:"3a33a9de",4782:"59780f1f",4837:"4de613c0",5009:"21202648",5250:"12cae457",5294:"92b3255a",5350:"53e00cac",5384:"a93e34e9",5399:"59a46cfe",5532:"37543a7e",5552:"8f9cb147",5764:"962abddb",5821:"f2e0363a",5929:"43d73d3e",6238:"20472d9f",6256:"5623ff67",6314:"b8e5fb22",6419:"f02424ec",6477:"7640bcd5",6519:"88149886",6595:"582896fb",6688:"1e945a77",6730:"3dc604ed",6773:"b8de20f0",7218:"99c42e66",7257:"8ba6c6d0",7318:"2a3be93f",7352:"66b095cb",7544:"1dc3020e",7721:"a4d4ce25",7733:"1c59f07a",7825:"3ef1eca7",7960:"0be883da",8097:"6a2a9c6c",8339:"83f52c77",8518:"4a921b6e",8533:"89f73b54",8581:"6df96692",8649:"e103d796",8679:"e1a32966",8769:"88911f42",8897:"bb153cb4",8946:"2f9754e4",8989:"a9efa9f5",9149:"6ca3f62d",9422:"55f60551",9435:"075ce1bc",9515:"df23b98d",9559:"23b9be5b",9755:"df6d6486",9844:"b58a111c"}[e]+".js",k.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),k.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/nav:",k.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var d=s[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,k.nc&&l.setAttribute("nonce",k.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var u=(t,n)=>{l.onerror=l.onload=null,clearTimeout(h);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},k.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},k.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{k.S={};var e={},t={};k.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];k.o(k.S,r)||(k.S[r]={});var o=k.S[r],l="@next-bricks/nav",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},s=[];return"default"===r&&(i("@babel/parser","7.25.3",(()=>k.e(6773).then((()=>()=>k(6773))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([k.e(4741),k.e(1030),k.e(6688)]).then((()=>()=>k(4741))))),i("@next-core/cook","2.4.8",(()=>Promise.all([k.e(1122),k.e(1760)]).then((()=>()=>k(8741))))),i("@next-core/easyops-runtime","0.12.17",(()=>Promise.all([k.e(2252),k.e(1030),k.e(8581),k.e(279),k.e(7318),k.e(6730),k.e(3496),k.e(4285),k.e(9422),k.e(8897),k.e(877),k.e(8679),k.e(1369)]).then((()=>()=>k(2252))))),i("@next-core/element","1.2.11",(()=>k.e(1045).then((()=>()=>k(1045))))),i("@next-core/http","1.2.6",(()=>k.e(8989).then((()=>()=>k(8989))))),i("@next-core/i18n/react","1.0.62",(()=>Promise.all([k.e(7318),k.e(8097)]).then((()=>()=>k(8097))))),i("@next-core/i18n","1.0.62",(()=>Promise.all([k.e(279),k.e(7318),k.e(9755),k.e(5552)]).then((()=>()=>k(5552))))),i("@next-core/inject","1.0.41",(()=>Promise.all([k.e(1030),k.e(4285),k.e(2277)]).then((()=>()=>k(2277))))),i("@next-core/loader","1.6.7",(()=>k.e(5399).then((()=>()=>k(5399))))),i("@next-core/pipes","2.0.24",(()=>k.e(6519).then((()=>()=>k(6519))))),i("@next-core/react-element","1.0.30",(()=>Promise.all([k.e(8769),k.e(4782),k.e(9435),k.e(114)]).then((()=>()=>k(114))))),i("@next-core/react-runtime","1.6.34",(()=>Promise.all([k.e(8769),k.e(1389),k.e(1030),k.e(8581),k.e(4837)]).then((()=>()=>k(4837))))),i("@next-core/runtime","1.54.11",(()=>Promise.all([k.e(5009),k.e(1030),k.e(279),k.e(7318),k.e(9422),k.e(8897),k.e(877),k.e(1302),k.e(8946)]).then((()=>()=>k(5009))))),i("@next-core/supply","2.1.20",(()=>Promise.all([k.e(1030),k.e(4285),k.e(1302),k.e(9559)]).then((()=>()=>k(9559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([k.e(1889),k.e(2052)]).then((()=>()=>k(1889))))),i("@next-core/utils/general","1.7.20",(()=>k.e(871).then((()=>()=>k(871))))),i("@next-core/utils/storyboard","1.7.20",(()=>Promise.all([k.e(279),k.e(8897),k.e(3933)]).then((()=>()=>k(3933))))),i("history","4.10.1",(()=>k.e(5384).then((()=>()=>k(5384))))),i("i18next-browser-languagedetector","7.2.1",(()=>k.e(726).then((()=>()=>k(726))))),i("i18next","22.5.1",(()=>k.e(3278).then((()=>()=>k(3278))))),i("js-yaml","3.14.1",(()=>k.e(9515).then((()=>()=>k(9515))))),i("lodash","4.17.21",(()=>k.e(5250).then((()=>()=>k(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(1329))))),i("moment","2.30.1",(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([k.e(3144),k.e(8769)]).then((()=>()=>k(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([k.e(5294),k.e(8769)]).then((()=>()=>k(5294))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>k.e(4041).then((()=>()=>k(4041)))))),e[r]=s.length?Promise.all(s).then((()=>e[r]=1)):1}}})(),(()=>{var e;k.g.importScripts&&(e=k.g.location+"");var t=k.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),k.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+s()+")":1===i?"("+s()+" || "+s()+")":2===i?l.pop()+" "+l.pop():a(i))}return s();function s(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,s=!0;;i++,l++){var c,d,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(c=t[l]))[0]))return!s||("u"==u?i>n&&!a:""==u!=a);if("u"==d){if(!s||"u"!=u)return!1}else if(s)if(u==d)if(i<=n){if(c!=e[i])return!1}else{if(a?c>e[i]:c<e[i])return!1;c!=e[i]&&(s=!1)}else if("s"!=u&&"n"!=u){if(a||i<=n)return!1;s=!1,i--}else{if(i<=n||d<u!=a)return!1;s=!1}else"s"!=u&&"n"!=u&&(s=!1,i--)}}var h=[],f=h.pop.bind(h);for(l=1;l<e.length;l++){var m=e[l];h.push(1==m?f()|f():2==m?f()&f():m?o(m,t):!f())}return!!f()},l=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&n(e,t)?t:e),0)},i=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",s=(e,t,r,n)=>{var a=l(e,r);return h(e[r][a])},c=(e,t,r,n)=>{var a=l(e,r);return o(n,a)||u(i(e,r,a,n)),h(e[r][a])},d=(e,t,r)=>{var a=e[t];return(t=Object.keys(a).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&a[t]},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=e=>(e.loaded=1,e.get()),m=(f=e=>function(t,r,n,a){var o=k.I(t);return o&&o.then?o.then(e.bind(e,t,k.S[t],r,n,a)):e(t,k.S[t],r,n,a)})(((e,t,r,n)=>t&&k.o(t,r)?s(t,0,r):n())),p=f(((e,t,r,n,a)=>t&&k.o(t,r)?c(t,0,r,n):a())),b=f(((e,t,r,n,a)=>{var o=t&&k.o(t,r)&&d(t,r,n);return o?h(o):a()})),v={},P={1030:()=>p("default","lodash",[1,4,17,21],(()=>k.e(5250).then((()=>()=>k(5250))))),1204:()=>p("default","js-yaml",[1,3,14,0],(()=>k.e(9515).then((()=>()=>k(9515))))),8297:()=>p("default","moment",[1,2,27,0],(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(9420))))),1760:()=>p("default","@babel/parser",[1,7,24,7],(()=>k.e(6773).then((()=>()=>k(6773))))),8581:()=>p("default","@next-core/runtime",[1,1,54,11],(()=>Promise.all([k.e(5009),k.e(1030),k.e(279),k.e(7318),k.e(9422),k.e(8897),k.e(877),k.e(1302),k.e(8946)]).then((()=>()=>k(5009))))),279:()=>p("default","@next-core/utils/general",[1,1,7,20],(()=>k.e(871).then((()=>()=>k(871))))),7318:()=>p("default","@next-core/i18n",[1,1,0,62],(()=>Promise.all([k.e(279),k.e(9755),k.e(3171)]).then((()=>()=>k(5552))))),6730:()=>p("default","@next-core/http",[1,1,0,0],(()=>k.e(1370).then((()=>()=>k(8989))))),3496:()=>p("default","@next-core/http",[1,1,0,6],(()=>k.e(1370).then((()=>()=>k(8989))))),4285:()=>p("default","@next-core/pipes",[1,2,0,24],(()=>k.e(6519).then((()=>()=>k(6519))))),9422:()=>p("default","@next-core/http",[1,1,2,6],(()=>k.e(3751).then((()=>()=>k(8989))))),8897:()=>p("default","@next-core/cook",[1,2,4,8],(()=>Promise.all([k.e(1122),k.e(1760)]).then((()=>()=>k(8741))))),877:()=>p("default","@next-core/utils/storyboard",[1,1,7,20],(()=>k.e(6314).then((()=>()=>k(3933))))),8679:()=>p("default","js-yaml",[1,3,14,1],(()=>k.e(9515).then((()=>()=>k(9515))))),7825:()=>p("default","react-i18next",[1,12,3,1],(()=>Promise.all([k.e(5294),k.e(8769)]).then((()=>()=>k(5294))))),2350:()=>p("default","i18next",[1,22,5,1],(()=>k.e(3278).then((()=>()=>k(3278))))),7072:()=>p("default","i18next-browser-languagedetector",[1,7,2,1],(()=>k.e(726).then((()=>()=>k(726))))),161:()=>p("default","@easyops-cn/brick-next-pipes",[2,0,6,0],(()=>Promise.all([k.e(4741),k.e(1030),k.e(6688)]).then((()=>()=>k(4741))))),8769:()=>b("default","react",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>k.e(4041).then((()=>()=>k(4041))))),4782:()=>b("default","@next-core/element",[1,1,2,11],(()=>k.e(1045).then((()=>()=>k(1045))))),9435:()=>b("default","react-dom",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>k.e(3144).then((()=>()=>k(3144))))),1389:()=>b("default","@next-core/react-element",[1,1,0,30],(()=>Promise.all([k.e(4782),k.e(9435),k.e(7733)]).then((()=>()=>k(114))))),1302:()=>p("default","moment",[1,2,30,1],(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(9420))))),1680:()=>p("default","@next-core/supply",[1,2,1,20],(()=>Promise.all([k.e(4285),k.e(1940)]).then((()=>()=>k(9559))))),2890:()=>p("default","history",[1,4,10,1],(()=>k.e(5384).then((()=>()=>k(5384))))),6036:()=>p("default","moment/locale/zh-cn.js",[1,2,30,1],(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(1329))))),7043:()=>p("default","@next-core/loader",[1,1,6,7],(()=>k.e(5399).then((()=>()=>k(5399))))),8965:()=>p("default","@next-core/inject",[1,1,0,41],(()=>Promise.all([k.e(4285),k.e(4658)]).then((()=>()=>k(2277))))),6477:()=>p("default","@next-core/theme",[1,1,5,4],(()=>k.e(1889).then((()=>()=>k(1889))))),6419:()=>p("default","@next-core/i18n/react",[1,1,0,62],(()=>Promise.all([k.e(7318),k.e(8097)]).then((()=>()=>k(8097))))),1201:()=>p("default","history",[1,4,7,11],(()=>k.e(5384).then((()=>()=>k(5384))))),7960:()=>p("default","@next-core/easyops-runtime",[2,0,12,17],(()=>Promise.all([k.e(2252),k.e(1030),k.e(279),k.e(7318),k.e(6730),k.e(3496),k.e(4285),k.e(9422),k.e(8897),k.e(877),k.e(8679)]).then((()=>()=>k(2252))))),4047:()=>b("default","@next-core/react-runtime",[1,1,6,34],(()=>Promise.all([k.e(1030),k.e(8581),k.e(7218)]).then((()=>()=>k(4837))))),6238:()=>m("default","moment",(()=>Promise.all([k.e(7721),k.e(9844)]).then((()=>()=>k(9420)))))},x={279:[279],877:[877],1030:[1030],1201:[1201],1302:[1302],1389:[1389],1760:[1760],3496:[3496],4047:[4047],4285:[4285],4782:[4782],6238:[6238],6419:[6419],6477:[6477],6519:[161],6688:[1204,8297],6730:[6730],7318:[7318],7960:[7960],8097:[7825],8581:[8581],8679:[8679],8769:[8769],8897:[8897],8946:[1680,2890,6036,7043,8965],9422:[9422],9435:[9435],9755:[2350,7072]},g={},k.f.consumes=(e,t)=>{k.o(x,e)&&x[e].forEach((e=>{if(k.o(v,e))return t.push(v[e]);if(!g[e]){var r=t=>{v[e]=0,k.m[e]=r=>{delete k.c[e],r.exports=t()}};g[e]=!0;var n=t=>{delete v[e],k.m[e]=r=>{throw delete k.c[e],t}};try{var a=P[e]();a.then?t.push(v[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={2219:0};k.f.j=(t,r)=>{var n=k.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(030|201|302|389|760)|4(047|285|782)|6(238|419|477|688|730)|8(581|679|769|77|897|946)|9(422|435|755)|279|3496|7318|7960)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=k.p+k.u(t),l=new Error;k.l(o,(r=>{if(k.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,s=0;if(o.some((t=>0!==e[t]))){for(n in l)k.o(l,n)&&(k.m[n]=l[n]);i&&i(k)}for(t&&t(r);s<o.length;s++)a=o[s],k.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),k.nc=void 0;var j=k(3829);window["bricks/nav"]=j})();
|
|
2
|
-
//# sourceMappingURL=index.066a83be.js.map
|