@yinuo-ngm/server 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/lib/modules/agent-connections/agent-connections.schema.d.ts +4 -0
  2. package/lib/modules/agent-connections/agent-connections.schema.js +112 -0
  3. package/lib/modules/agent-connections/agent-connections.service.d.ts +18 -0
  4. package/lib/modules/agent-connections/agent-connections.service.js +209 -0
  5. package/lib/modules/agent-connections/agent-connections.types.d.ts +57 -0
  6. package/lib/modules/agent-connections/agent-connections.types.js +2 -0
  7. package/lib/modules/agent-connections/atomic-json-file.d.ts +8 -0
  8. package/lib/modules/agent-connections/atomic-json-file.js +44 -0
  9. package/lib/modules/agent-connections/token-mask.d.ts +1 -0
  10. package/lib/modules/agent-connections/token-mask.js +12 -0
  11. package/lib/routes/agent-connections.routes.d.ts +3 -0
  12. package/lib/routes/agent-connections.routes.js +28 -0
  13. package/lib/routes/index.js +2 -0
  14. package/package.json +7 -6
  15. package/www/3rdpartylicenses.txt +5 -5
  16. package/www/browser/chunk-2EB7UV3S.js +15 -0
  17. package/www/browser/{chunk-3I7BQCXS.js → chunk-2S6Y2RQI.js} +1 -1
  18. package/www/browser/{chunk-U3EUR236.js → chunk-2SYBXRWK.js} +1 -1
  19. package/www/browser/{chunk-OUGN4APK.js → chunk-365ZCRSD.js} +1 -1
  20. package/www/browser/{chunk-6UFDNETG.js → chunk-3MPEGFKP.js} +1 -1
  21. package/www/browser/{chunk-WCHN62X6.js → chunk-4PSSTE76.js} +1 -1
  22. package/www/browser/{chunk-DENFXXOY.js → chunk-5HVK6MON.js} +1 -1
  23. package/www/browser/{chunk-TXAXE73U.js → chunk-5Y7KNVNN.js} +1 -1
  24. package/www/browser/chunk-6L2CHHFV.js +1 -0
  25. package/www/browser/{chunk-NNOWADVM.js → chunk-6ZXQKFRQ.js} +1 -1
  26. package/www/browser/chunk-735SLX4X.js +1 -0
  27. package/www/browser/chunk-7KLACOZT.js +2 -0
  28. package/www/browser/chunk-7VJKEZTT.js +20 -0
  29. package/www/browser/{chunk-CO3CQHKV.js → chunk-7X4X4YHI.js} +1 -1
  30. package/www/browser/chunk-ACYCDF6M.js +1 -0
  31. package/www/browser/{chunk-UJKK4A7Y.js → chunk-AQYHNHJ3.js} +1 -1
  32. package/www/browser/chunk-BHKSOTOM.js +1 -0
  33. package/www/browser/{chunk-3ODVU46S.js → chunk-BXZVX5KD.js} +1 -1
  34. package/www/browser/{chunk-TCBOC5FF.js → chunk-C5DOE7UG.js} +1 -1
  35. package/www/browser/{chunk-7AKVG375.js → chunk-C6GC5OOE.js} +1 -1
  36. package/www/browser/{chunk-SSCUT2GF.js → chunk-D5W7J3FS.js} +1 -1
  37. package/www/browser/chunk-DPGKZHEW.js +1 -0
  38. package/www/browser/chunk-DRV2KPHO.js +1 -0
  39. package/www/browser/chunk-E2WRB7KQ.js +2 -0
  40. package/www/browser/{chunk-MPLGMTLT.js → chunk-EAFAHVBG.js} +1 -1
  41. package/www/browser/{chunk-WWIPELAV.js → chunk-ERH36Q6S.js} +1 -1
  42. package/www/browser/chunk-GSUKZOEV.js +1 -0
  43. package/www/browser/chunk-GYXK6ZZT.js +1 -0
  44. package/www/browser/{chunk-PDI3HSSH.js → chunk-H27FQ6OP.js} +3 -3
  45. package/www/browser/chunk-I7RTVSMK.js +1 -0
  46. package/www/browser/{chunk-SD2HFD54.js → chunk-IVX3LVU4.js} +1 -1
  47. package/www/browser/{chunk-U2YWR3HF.js → chunk-IX6UZA7J.js} +1 -1
  48. package/www/browser/{chunk-CPJTSA6E.js → chunk-JFR7U5DE.js} +1 -1
  49. package/www/browser/chunk-JIVQNGBJ.js +1 -0
  50. package/www/browser/{chunk-PY3AUTHC.js → chunk-KDMWEV46.js} +1 -1
  51. package/www/browser/{chunk-JM6DCZP6.js → chunk-LRHJZDWY.js} +1 -1
  52. package/www/browser/chunk-NVN2P466.js +1 -0
  53. package/www/browser/{chunk-NREWZQVN.js → chunk-O64FT2TA.js} +1 -1
  54. package/www/browser/{chunk-YVRGRFK2.js → chunk-OZONPLGN.js} +1 -1
  55. package/www/browser/chunk-PC7TJLCL.js +2 -0
  56. package/www/browser/{chunk-7GLWEFTM.js → chunk-PNFC3J4Z.js} +1 -1
  57. package/www/browser/chunk-PRKDURHI.js +1 -0
  58. package/www/browser/{chunk-RMIYLAEM.js → chunk-PUHSNEN6.js} +1 -1
  59. package/www/browser/{chunk-442QFABJ.js → chunk-RKKAY5CD.js} +1 -1
  60. package/www/browser/{chunk-M6NZ6C2R.js → chunk-RLH7DAA2.js} +1 -1
  61. package/www/browser/chunk-S6BY2OTR.js +1 -0
  62. package/www/browser/{chunk-KRYMOHYF.js → chunk-SIKDYQOR.js} +1 -1
  63. package/www/browser/{chunk-RKK4I2RT.js → chunk-SVRGVAFE.js} +1 -1
  64. package/www/browser/chunk-TPVKLECM.js +1 -0
  65. package/www/browser/{chunk-UPOORT3S.js → chunk-VBMHQZWH.js} +1 -1
  66. package/www/browser/chunk-WVRMU265.js +1 -0
  67. package/www/browser/chunk-X6PRUZ5G.js +1 -0
  68. package/www/browser/{chunk-PUG3VNTI.js → chunk-XQQ6PT2E.js} +1 -1
  69. package/www/browser/chunk-XUUNCF53.js +1 -0
  70. package/www/browser/{chunk-4BRW6LCZ.js → chunk-YGWA6NUS.js} +1 -1
  71. package/www/browser/{chunk-2VJVGBXG.js → chunk-YNYWN7QI.js} +1 -1
  72. package/www/browser/chunk-Z4T3LTE2.js +1 -0
  73. package/www/browser/chunk-Z7GYTPTP.js +1 -0
  74. package/www/browser/chunk-ZZN3NP7F.js +1 -0
  75. package/www/browser/index.html +1 -1
  76. package/www/browser/main-HMOP3OWL.js +38 -0
  77. package/www/browser/chunk-6J6G7JEP.js +0 -1
  78. package/www/browser/chunk-7QR6RHLA.js +0 -1
  79. package/www/browser/chunk-H2USFIYR.js +0 -1
  80. package/www/browser/chunk-HC5KLPHD.js +0 -1
  81. package/www/browser/chunk-HJAP6WBI.js +0 -1
  82. package/www/browser/chunk-K6C5ZIV2.js +0 -20
  83. package/www/browser/chunk-MBPB43C6.js +0 -1
  84. package/www/browser/chunk-PB2LGZNW.js +0 -1
  85. package/www/browser/chunk-R4HSZU2J.js +0 -1
  86. package/www/browser/chunk-RZA3IFQV.js +0 -2
  87. package/www/browser/chunk-SEJGGBE2.js +0 -1
  88. package/www/browser/chunk-TS5ZQYYY.js +0 -1
  89. package/www/browser/chunk-TVJHI463.js +0 -1
  90. package/www/browser/chunk-UKCMUTYL.js +0 -1
  91. package/www/browser/chunk-VW3S7C2Z.js +0 -1
  92. package/www/browser/chunk-VZYJ3MSW.js +0 -15
  93. package/www/browser/chunk-WUA5JFDD.js +0 -1
  94. package/www/browser/chunk-WYNERG74.js +0 -2
  95. package/www/browser/chunk-XJDJL3TQ.js +0 -1
  96. package/www/browser/chunk-YV6QPLF5.js +0 -1
  97. package/www/browser/main-7GYUOEJY.js +0 -38
@@ -1,38 +0,0 @@
1
- import{b as Bn}from"./chunk-6UFDNETG.js";import{a as Dn,b as En,c as On,d as jn,e as In,f as W}from"./chunk-XJDJL3TQ.js";import{e as Fe}from"./chunk-SSCUT2GF.js";import{a as Ln,b as Vn}from"./chunk-PY3AUTHC.js";import{a as yn,b as zn,c as Mn}from"./chunk-6J6G7JEP.js";import{a as kn,b as Fn}from"./chunk-CO3CQHKV.js";import{a as ae,b as Ie,c as ke,d as le}from"./chunk-NNOWADVM.js";import{c as ie,d as Sn,e as re,f as Tn,g as Nn,h as U}from"./chunk-RMIYLAEM.js";import{a as bn,b as Oe}from"./chunk-442QFABJ.js";import{a as wn,b as Pn}from"./chunk-SD2HFD54.js";import{h as ze,i as Me,k as be,l as Z}from"./chunk-U2YWR3HF.js";import{a as Ee,b as xn}from"./chunk-PB2LGZNW.js";import{m as oe,n as je}from"./chunk-K6C5ZIV2.js";import{$b as Se,Da as un,Db as xe,Ea as w,Fa as M,Fb as ee,Ga as fn,Ha as gn,Jb as te,L as rt,La as hn,M as mn,Ma as _n,Na as F,Oa as X,Qa as L,R as dn,Ra as V,Sa as Cn,Ta as vn,Tb as ne,Xb as we,Zb as Pe,a as pn,ac as Te,dc as Ne,fc as De}from"./chunk-VZYJ3MSW.js";import"./chunk-HFZLJHYR.js";import{a as an,b as ye,c as ln,d as sn,e as q,f as K,g as cn,h as k}from"./chunk-WUA5JFDD.js";import{i as ve,l as Xt,m as Zt,n as I,o as en,r as tn,s as nn,x as on,y as rn}from"./chunk-KRYMOHYF.js";import{$b as B,Ab as kt,Ac as Ut,Ba as de,Ca as bt,Cc as Wt,Da as xt,Dc as $t,Ec as D,Fb as C,Gb as Ft,Gc as j,Ha as b,Ia as wt,Jc as m,Kc as T,Lb as P,Lc as R,M as Q,Oc as ge,Pc as he,Qb as Lt,Qc as _e,Ra as Pt,Ub as Vt,Vb as Bt,Wb as y,Xa as St,Xc as Gt,Yb as z,Yc as Ce,Zc as nt,_b as At,a as ut,ac as A,ad as ce,b as ft,bc as d,bd as ot,cc as r,cd as it,da as ht,dc as a,dd as J,ec as p,fd as Yt,ic as E,id as N,jc as O,jd as Y,ka as _t,kb as Tt,kc as tt,lc as v,ma as Ct,na as S,nb as s,oa as vt,pd as qt,qa as yt,ra as me,rb as Nt,rc as _,sa as g,sb as Dt,sd as Qt,ta as zt,tb as Et,ua as Mt,uc as c,ud as Jt,vc as ue,wc as fe,xb as Ot,ya as u,yb as jt,yc as Rt,yd as Kt,z as gt,za as f,zb as It,zc as Ht}from"./chunk-4BRW6LCZ.js";function lo(t){let n=t;return 5}var An=["zh",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",lo];var so="@",co=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=g(de);loadingSchedulerFn=g(po,{optional:!0});_engine;constructor(e,o,i,l,h){this.doc=e,this.delegate=o,this.zone=i,this.animationType=l,this.moduleImpl=h}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-3I7BQCXS.js").then(i=>i),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(i=>{throw new _t(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:l})=>{this._engine=i(this.animationType,this.doc);let h=new l(this.delegate,this._engine,this.zone);return this.delegate=h,h})}createRenderer(e,o){let i=this.delegate.createRenderer(e,o);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let l=new at(i);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(h=>{let G=h.createRenderer(e,o);l.use(G),this.scheduler??=this.injector.get(wt,null,{optional:!0}),this.scheduler?.notify(10)}).catch(h=>{l.use(i)}),l}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(o){kt()};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),at=class{delegate;replay=[];\u0275type=1;constructor(n){this.delegate=n}use(n){if(this.delegate=n,this.replay!==null){for(let e of this.replay)e(n);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}get destroyNode(){return this.delegate.destroyNode}appendChild(n,e){this.delegate.appendChild(n,e)}insertBefore(n,e,o,i){this.delegate.insertBefore(n,e,o,i)}removeChild(n,e,o,i){this.delegate.removeChild(n,e,o,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,o,i){this.delegate.setAttribute(n,e,o,i)}removeAttribute(n,e,o){this.delegate.removeAttribute(n,e,o)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,o,i){this.delegate.setStyle(n,e,o,i)}removeStyle(n,e,o){this.delegate.removeStyle(n,e,o)}setProperty(n,e,o){this.shouldReplay(e)&&this.replay.push(i=>i.setProperty(n,e,o)),this.delegate.setProperty(n,e,o)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,o,i){return this.shouldReplay(e)&&this.replay.push(l=>l.listen(n,e,o,i)),this.delegate.listen(n,e,o,i)}shouldReplay(n){return this.replay!==null&&n.startsWith(so)}},po=new yt("");function Rn(t="animations"){return Nt("NgAsyncAnimations"),zt([{provide:Ot,useFactory:(n,e,o)=>new co(n,e,o,t),deps:[bt,tn,Et]},{provide:St,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Le=class t{currentTheme="default";constructor(){}reverseTheme(n){return n==="dark"?"default":"dark"}removeUnusedTheme(n){document.documentElement.classList.remove(n);let e=document.getElementById(n);e&&document.head.removeChild(e)}loadCss(n,e){return new Promise((o,i)=>{let l=document.createElement("link");l.rel="stylesheet",l.href=n,l.id=e,l.onload=o,l.onerror=i,document.head.append(l)})}loadTheme(n=!0){let e=this.currentTheme;return n&&document.documentElement.classList.add(e),new Promise((o,i)=>{this.loadCss(`${e}.css`,e).then(l=>{n||document.documentElement.classList.add(e),this.removeUnusedTheme(this.reverseTheme(e)),o(l)},l=>i(l))})}toggleTheme(){return this.currentTheme=this.reverseTheme(this.currentTheme),this.loadTheme(!1)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Hn={provide:Lt,useFactory:t=>()=>t.loadTheme(),deps:[Le],multi:!0};var Un=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadChildren:()=>import("./chunk-U3EUR236.js").then(t=>t.DashboardModule)},{path:"tasks",loadChildren:()=>import("./chunk-NREWZQVN.js").then(t=>t.TasksModule)},{path:"projects",loadChildren:()=>import("./chunk-TVJHI463.js").then(t=>t.ProjectsModule)},{path:"settings",loadChildren:()=>import("./chunk-H2USFIYR.js").then(t=>t.SettingModule)},{path:"configuration",loadChildren:()=>import("./chunk-PDI3HSSH.js").then(t=>t.ConfigurationModule)},{path:"dependencies",loadChildren:()=>import("./chunk-TCBOC5FF.js").then(t=>t.DependenciesModule)},{path:"rquest",loadChildren:()=>import("./chunk-UKCMUTYL.js").then(t=>t.ApiClientModule)},{path:"sprite",loadChildren:()=>import("./chunk-WYNERG74.js").then(t=>t.SpriteModule)},{path:"rd",loadChildren:()=>import("./chunk-7GLWEFTM.js").then(t=>t.RdModule)},{path:"issues",loadChildren:()=>import("./chunk-VW3S7C2Z.js").then(t=>t.IssuesModule)},{path:"nginx",loadComponent:()=>import("./chunk-JM6DCZP6.js").then(t=>t.NginxComponent)},{path:"about",loadChildren:()=>import("./chunk-SEJGGBE2.js").then(t=>t.AboutRoutingModule)},{path:"**",redirectTo:"dashboard"}];en(An);var Wn={providers:[Hn,Yt(),cn(Un),vn(Cn),Rn(),on(rn([xn])),Mt(Z),Bn()]};var lt=["*"];function mo(t,n){}function uo(t,n){if(t&1&&(r(0,"span",1),P(1,mo,0,0,"ng-template",2),p(2,"nz-icon",3),a()),t&2){let e=c(),o=D(4);d("nzDropdownMenu",e.nzOverlay),s(),d("ngTemplateOutlet",o)}}function fo(t,n){}function go(t,n){if(t&1&&P(0,fo,0,0,"ng-template",2),t&2){c();let e=D(4);d("ngTemplateOutlet",e)}}function ho(t,n){if(t&1&&(E(0),m(1),O()),t&2){let e=c(2);s(),R(" ",e.nzBreadCrumbComponent.nzSeparator," ")}}function _o(t,n){if(t&1&&(r(0,"nz-breadcrumb-separator"),P(1,ho,2,1,"ng-container",4),a()),t&2){let e=c();s(),d("nzStringTemplateOutlet",e.nzBreadCrumbComponent.nzSeparator)}}function Co(t,n){t&1&&(r(0,"span",5),fe(1),a())}var vo=(t,n)=>n.url;function yo(t,n){if(t&1){let e=v();r(0,"nz-breadcrumb-item")(1,"a",0),_("click",function(i){let l=u(e).$implicit,h=c(2);return f(h.navigate(l.url,i))}),m(2),a()()}if(t&2){let e=n.$implicit;s(),Vt("href",e.url,Tt),s(),T(e.label)}}function zo(t,n){if(t&1&&B(0,yo,3,2,"nz-breadcrumb-item",null,vo),t&2){let e=c();A(e.breadcrumbs)}}var Ve=class{},Mo=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=C({type:t,selectors:[["nz-breadcrumb-separator"]],hostAttrs:[1,"ant-breadcrumb-separator"],exportAs:["nzBreadcrumbSeparator"],ngContentSelectors:lt,decls:1,vars:0,template:function(o,i){o&1&&(ue(),fe(0))},encapsulation:2})}return t})(),Gn=(()=>{class t{nzBreadCrumbComponent=g(Ve);nzOverlay;static \u0275fac=function(o){return new(o||t)};static \u0275cmp=C({type:t,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:lt,decls:5,vars:2,consts:[["noMenuTpl",""],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nzType","down"],[4,"nzStringTemplateOutlet"],[1,"ant-breadcrumb-link"]],template:function(o,i){o&1&&(ue(),y(0,uo,3,2,"span",1)(1,go,1,1,null,2),y(2,_o,2,1,"nz-breadcrumb-separator"),P(3,Co,2,0,"ng-template",null,0,J)),o&2&&(z(i.nzOverlay?0:1),s(2),z(i.nzBreadCrumbComponent.nzSeparator?2:-1))},dependencies:[ve,Mo,le,ae,M,w,gn,fn],encapsulation:2,changeDetection:0})}return t})(),bo=(()=>{class t{injector=g(de);cdr=g(Jt);elementRef=g(Pt);renderer=g(jt);directionality=g(pn);destroyRef=g(xt);nzAutoGenerate=!1;nzSeparator="/";nzRouteLabel="breadcrumb";nzRouteLabelFn=e=>e;nzRouteFn=e=>e;breadcrumbs=[];dir="ltr";ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe(rt(this.destroyRef)).subscribe(e=>{this.dir=e,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}navigate(e,o){o.preventDefault(),this.injector.get(q).navigateByUrl(e)}registerRouterChange(){try{let e=this.injector.get(q),o=this.injector.get(ln);e.events.pipe(Q(i=>i instanceof ye),rt(this.destroyRef),ht(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(o.root),this.cdr.markForCheck()})}catch{throw new Error(`${dn} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(e,o="",i=[]){let l=e.children;if(l.length===0)return i;for(let h of l)if(h.outlet===an){let G=h.snapshot.url.map(se=>se.path).filter(se=>se).join("/"),mt=G?`${o}/${G}`:o,dt=this.nzRouteLabelFn(h.snapshot.data[this.nzRouteLabel]),ao=this.nzRouteFn(mt);if(G&&dt){let se={label:dt,params:h.snapshot.params,url:ao};i.push(se)}return this.getBreadcrumbs(h,mt,i)}return i}prepareComponentForRtl(){this.dir==="rtl"?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=C({type:t,selectors:[["nz-breadcrumb"]],hostAttrs:[1,"ant-breadcrumb"],inputs:{nzAutoGenerate:[2,"nzAutoGenerate","nzAutoGenerate",Kt],nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn",nzRouteFn:"nzRouteFn"},exportAs:["nzBreadcrumb"],features:[Gt([{provide:Ve,useExisting:Ct(()=>t)}])],ngContentSelectors:lt,decls:2,vars:1,consts:[[3,"click"]],template:function(o,i){o&1&&(ue(),fe(0),y(1,zo,2,0)),o&2&&(s(),z(i.nzAutoGenerate&&i.breadcrumbs.length?1:-1))},dependencies:[Gn],encapsulation:2,changeDetection:0})}return t})(),Yn=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=Ft({type:t});static \u0275inj=vt({imports:[bo,Gn]})}return t})();function xo(t){return t.op==="syslog.tail"}function wo(t){return t.op==="syslog.append"}function st(t,n){return n?!(n.scope!==void 0&&t?.scope!==n.scope||n.level!==void 0&&t?.level!==n.level||n.source!==void 0&&t?.source!==n.source||n.refId!==void 0&&t?.refId!==n.refId):!0}var Be=class t{constructor(n){this.ws=n;this.msgSub=this.ws.messages().pipe(Q(e=>xo(e)||wo(e))).subscribe(e=>this.onWsMessage(e)),this.wsStateSub=this.ws.stateChanges().subscribe(e=>{let o=this.lastWsState==="open",i=e==="open";!o&&i&&(this.subSentForCurrentConnection=!1,this.sendSubIfNeeded()),o&&!i&&(this.subSentForCurrentConnection=!1),this.lastWsState=e})}msgSub;wsStateSub;enabled=b(!1);filter=b({});logs=b([]);unread=b(0);drawerOpen=b(!1);capacity=2e3;tail=300;subSentForCurrentConnection=!1;lastWsState="idle";setDrawerOpen(n){this.drawerOpen.set(n),n&&this.unread.set(0)}setFilter(n){this.filter.set(n??{});let e=this.logs();if(!e.length)return;let o=e.filter(i=>st(i,this.filter()));this.logs.set(o.slice(-this.capacity))}enable(n=300){let e=Math.max(0,Math.min(5e3,n|0));if(this.tail=e,this.enabled()){this.ws.isOpen()&&(this.subSentForCurrentConnection=!1,this.sendSubIfNeeded());return}this.enabled.set(!0),this.ws.connect(),this.sendSubIfNeeded()}disable(){this.enabled.set(!1),this.subSentForCurrentConnection=!1}markRead(){this.unread.set(0)}clear(){this.logs.set([]),this.unread.set(0)}appendLocal(n,e="info",o="server"){let i={ts:Date.now(),level:e,source:"system",scope:o,text:n},l=this.logs(),h=l.length>=this.capacity?l.slice(1):l.slice();h.push(i),this.logs.set(h),this.drawerOpen()||this.unread.set(this.unread()+1)}sendSubIfNeeded(){this.enabled()&&this.ws.isOpen()&&(this.subSentForCurrentConnection||(this.ws.send({op:"sub",topic:"syslog",tail:this.tail}),this.subSentForCurrentConnection=!0))}onWsMessage(n){let e=this.filter();if(n.op==="syslog.tail"){let h=(n.entries??[]).filter(G=>st(G,e));this.logs.set(h.slice(-this.capacity));return}let o=n.entry;if(!st(o,e))return;let i=this.logs(),l=i.length>=this.capacity?i.slice(1):i.slice();l.push(o),this.logs.set(l),this.drawerOpen()||this.unread.set(this.unread()+1)}static \u0275fac=function(e){return new(e||t)(me(Ee))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var So=["logBox"],To=()=>({padding:"0px",overflow:"hidden"});function No(t,n){if(t&1&&(r(0,"nz-tag",15),m(1),ce(2,"uppercase"),a(),r(3,"div",16),m(4),a(),r(5,"div",17),m(6),ce(7,"date"),a()),t&2){let e,o,i,l,h=c();d("nzColor",h.getColor((e=h.lastLine())==null?null:e.level)),s(),R(" ",ot(2,4,(o=h.lastLine())==null?null:o.level)," "),s(3),T((i=h.lastLine())==null?null:i.text),s(2),T(it(7,6,(l=h.lastLine())==null?null:l.ts,"yyyy-MM-dd HH:mm:ss"))}}function Do(t,n){t&1&&(r(0,"nz-tag",18),m(1,"INFO"),a(),r(2,"div",16),m(3,"\u6682\u65E0\u65E5\u5FD7"),a(),r(4,"div",17),m(5,"--"),a())}function Eo(t,n){if(t&1&&m(0),t&2){let e=c().$implicit;R(" ",e.data==null?null:e.data.icon," ")}}function Oo(t,n){if(t&1&&(r(0,"div",21)(1,"nz-tag",15),m(2),ce(3,"uppercase"),a(),r(4,"span",17),m(5),ce(6,"date"),a(),r(7,"span",22),y(8,Eo,1,1),m(9),a()()),t&2){let e=n.$implicit,o=c(2);j("err",e.level==="error")("warn",e.level==="warn")("info",e.level==="info")("debug",e.level==="debug")("success",e.level==="success"),s(),d("nzColor",o.getColor(e.level)),s(),R(" ",ot(3,15,e.level)," "),s(3),T(it(6,17,e.ts,"yyyy-MM-dd HH:mm:ss")),s(3),z(e.data!=null&&e.data.icon?8:-1),s(),R(" ",e.text," ")}}function jo(t,n){if(t&1&&(E(0),r(1,"div",19,1),B(3,Oo,10,20,"div",20,Bt().trackByLine,!0),a(),O()),t&2){let e=c();s(3),A(e.lines())}}function Io(t,n){if(t&1){let e=v();r(0,"nz-space",23)(1,"button",24),_("click",function(){u(e);let i=c();return f(i.clearLog())}),p(2,"nz-icon",25),a(),r(3,"button",26),_("click",function(){u(e);let i=c();return f(i.toBottom())}),p(4,"nz-icon",27),a()()}}var Ae=class t{sysLogStream=g(Be);projectContext=g(oe);logBox=qt("logBox");autoFollow=b(!0);isOpen=b(!1);curProjectPath=N(()=>this.projectContext.currentProject()?.root||"");lines=N(()=>this.sysLogStream.logs());lastLine=N(()=>{let n=this.sysLogStream.logs();return n.length?n[n.length-1]:null});unread=N(()=>this.sysLogStream.unread());constructor(){Y(()=>{this.sysLogStream.setDrawerOpen(this.isOpen()),this.isOpen()&&queueMicrotask(()=>this.toBottom())}),Y(()=>{this.lines(),this.isOpen()&&this.autoFollow()&&queueMicrotask(()=>this.toBottom())})}ngOnInit(){this.sysLogStream.enable(300)}openLog(){this.isOpen.set(!0)}closeLog(){this.isOpen.set(!1)}clearLog(){this.sysLogStream.clear()}toBottom(){let n=this.logBox()?.nativeElement;n&&(n.scrollTop=n.scrollHeight)}trackByLine=(n,e)=>`${e.ts}-${e.refId??""}-${e.text}`;getColor(n){if(!n)return"#000000";switch(n){case"success":return"#22c55e";case"info":return"#18bdfd";case"debug":return"#94a3b8";case"error":return"#ef4444";case"warn":return"#f59e0b";default:return"#000000"}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["app-system-log"]],viewQuery:function(e,o){e&1&&Wt(o.logBox,So,5),e&2&&$t()},decls:19,vars:10,consts:[["extra",""],["logBox",""],[1,"status-bar"],[1,"project-path"],["nz-button","","nzType","text","routerLink","/projects","nz-tooltip","\u9879\u76EE\u7BA1\u7406","nzTooltipPlacement","top",1,"home"],["nzType","home","nzTheme","outline",1,"icon"],["nz-button","","nzType","text","nzTooltipPlacement","top",1,"path",3,"nz-tooltip"],["nzType","folder","nzTheme","outline",1,"icon"],["nz-tooltip","\u6253\u5F00\u65E5\u5FD7",1,"last-log",3,"click"],["nzType","profile","nzTheme","outline",1,"icon"],[1,"actions"],["nz-button","","nzType","link","routerLink","/about/feedback","nzTooltipPlacement","top","nz-tooltip","\u53CD\u9988\u4E0E\u5E2E\u52A9"],["nzType","bug","nzTheme","outline"],["nzTitle","\u65E5\u5FD7","nzPlacement","bottom",3,"nzOnClose","nzVisible","nzMaskClosable","nzMask","nzExtra","nzHeight","nzBodyStyle"],[4,"nzDrawerContent"],[1,"level-tag",3,"nzColor"],[1,"info"],[1,"time"],["nzColor","default"],[1,"log"],[1,"line",3,"err","warn","info","debug","success"],[1,"line"],[1,"msg"],["nzAlign","center"],["nz-button","","nzType","text","nz-tooltip","\u6E05\u7A7A\u65E5\u5FD7",3,"click"],["nzType","clear","nzTheme","outline"],["nz-button","","nzType","text","nz-tooltip","\u6EDA\u52A8\u5230\u5E95\u90E8",3,"click"],["nzType","vertical-align-bottom","nzTheme","outline"]],template:function(e,o){if(e&1){let i=v();r(0,"div",2)(1,"div",3)(2,"a",4),p(3,"nz-icon",5),a(),r(4,"button",6),p(5,"nz-icon",7),r(6,"span"),m(7),a()()(),r(8,"div",8),_("click",function(){return u(i),f(o.openLog())}),p(9,"nz-icon",9),y(10,No,8,9)(11,Do,6,0),a(),r(12,"div",10)(13,"a",11),p(14,"nz-icon",12),a()()(),r(15,"nz-drawer",13),_("nzOnClose",function(){return u(i),f(o.closeLog())}),P(16,jo,5,0,"ng-container",14),a(),P(17,Io,5,0,"ng-template",null,0,J)}if(e&2){let i=D(18);s(4),d("nz-tooltip",o.curProjectPath()),s(3),T(o.curProjectPath()),s(3),z(o.lastLine()?10:11),s(5),d("nzVisible",o.isOpen())("nzMaskClosable",!1)("nzMask",!1)("nzExtra",i)("nzHeight",300)("nzBodyStyle",Ce(9,To))}},dependencies:[I,Fn,kn,Mn,zn,yn,V,L,F,_n,hn,M,w,De,Ne,k,K,Xt,Zt],styles:["[_nghost-%COMP%]{display:block;position:relative;z-index:3;flex:0 0 auto}.status-bar[_ngcontent-%COMP%]{height:32px;display:flex;align-items:center;width:100%;-webkit-user-select:none;user-select:none}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;padding:0 8px;gap:4px}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%], .status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0;max-width:360px}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .home[_ngcontent-%COMP%]{justify-content:center}.status-bar[_ngcontent-%COMP%] .project-path[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{min-width:240px;justify-content:flex-start}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%]{cursor:pointer;flex:1;display:flex;align-items:center;padding:0 12px;gap:8px;width:0}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{flex:0 0 auto;opacity:.75;font-size:14px}.status-bar[_ngcontent-%COMP%] .last-log[_ngcontent-%COMP%]:hover{background:#f5f7fa}.icon[_ngcontent-%COMP%]{margin-right:8px;font-size:18px;display:inline-flex}.log[_ngcontent-%COMP%]{height:100%;overflow:auto;padding:8px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;line-height:18px}.line[_ngcontent-%COMP%]{display:flex;gap:12px;padding:2px 0;align-items:center}.line[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{flex:0 0 auto;opacity:.65;font-variant-numeric:tabular-nums}.line[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.line.err[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-weight:600}.line.warn[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-weight:500}.level-tag[_ngcontent-%COMP%]{font-size:12px;padding:0 4px;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;min-width:58px;border-radius:4px}"],changeDetection:0})};var Ue=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-footer"]],decls:2,vars:0,template:function(e,o){e&1&&(r(0,"nz-footer"),p(1,"app-system-log"),a())},dependencies:[W,En,Ae],styles:["nz-footer[_ngcontent-%COMP%]{padding:0;align-items:center;display:flex}app-system-log[_ngcontent-%COMP%]{width:100%}"]})};var We=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-header"]],decls:4,vars:0,consts:[[1,"app-header"],["nzType","disconnect","nzTheme","outline"]],template:function(e,o){e&1&&(r(0,"nz-header",0),p(1,"nz-icon",1),r(2,"span"),m(3,"\u8FDE\u63A5\u5DF2\u65AD\u5F00"),a()())},dependencies:[I,W,On,M,w],styles:["nz-header.app-header[_ngcontent-%COMP%]{padding:0;width:100%;position:relative;height:48px;line-height:48px;background:var(--header-error-background);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;gap:8px}"],changeDetection:0})};var $e=class t{isCollapsed=b(!1);static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ge=class t{projectContext=g(oe);currentMenu=b(null);router=g(q);isHubProjectValid=this.projectContext.isHubProjectValid;menus=b([{title:"\u4EEA\u8868\u76D8",path:"/dashboard",icon:"dashboard",level:1},{title:"\u4F9D\u8D56",path:"/dependencies",icon:"codepen",level:1},{title:"\u4EFB\u52A1",path:"/tasks",icon:"schedule",level:1,taskCountBadge:!0},{title:"\u914D\u7F6E",path:"/configuration",icon:"setting",level:1},{title:"API",path:"/rquest",icon:"api",level:1},{title:"Nginx",path:"/nginx",icon:"deployment-unit",level:1},{title:"\u96EA\u78A7\u56FE",path:"/sprite",icon:"smile",level:1},{title:"\u7814\u53D1\u7BA1\u7406",path:"/rd",icon:"rocket",level:1,hidden:!0},{title:"\u6D4B\u8BD5\u8DDF\u8E2A",path:"/issues",icon:"bug",level:1,hidden:!0}]);currentMenus=N(()=>this.menus());constructor(){this.syncByUrl(this.router.url),this.router.events.pipe(Q(n=>n instanceof ye)).subscribe(n=>this.syncByUrl(n.urlAfterRedirects)),Y(n=>{let e=this.isHubProjectValid();this.menus.update(o=>o.map(i=>i.path&&(i.path.includes("/rd")||i.path.includes("/issues"))?ft(ut({},i),{hidden:!e}):i)),n(()=>{})})}isActive(n){return this.router.isActive(n,{paths:"subset",queryParams:"ignored",fragment:"ignored",matrixParams:"ignored"})}clickMenu(n){n.path&&this.router.navigateByUrl(n.path),this.currentMenu.set(n)}syncByUrl(n){let e=this.normalizeUrl(n),o=this.findBestMatch(this.menus(),e);this.currentMenu.set(o)}normalizeUrl(n){return n.split("?")[0].split("#")[0]}findBestMatch(n,e){let o=this.flatten(n).filter(l=>!!l.path),i=null;for(let l of o){let h=l.path;(e===h||e.startsWith(h+"/"))&&(!i||h.length>i.path.length)&&(i=l)}return i}flatten(n){let e=[];for(let o of n)e.push(o),o.children?.length&&e.push(...this.flatten(o.children));return e}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ye=class t{api=g(bn);runtimeStore=g(Oe);async initActiveSnapshot(){let n=await gt(this.api.active());for(let e of n??[])this.runtimeStore.setRuntime(e)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var Qn=t=>({$implicit:t});function ko(t,n){t&1&&tt(0)}function Fo(t,n){if(t&1&&p(0,"nz-icon",6),t&2){let e=c(3).$implicit;d("nzType",e.icon)}}function Lo(t,n){t&1&&p(0,"nz-badge",7)}function Vo(t,n){if(t&1){let e=v();r(0,"li",5),_("click",function(){u(e);let i=c(2).$implicit,l=c(2);return f(l.menuService.clickMenu(i))}),y(1,Fo,1,1,"nz-icon",6),r(2,"span"),m(3),a(),y(4,Lo,1,0,"nz-badge",7),a()}if(t&2){let e=c(2).$implicit,o=c(2);d("nzPaddingLeft",e.level*24)("nzDisabled",e.disabled)("nzSelected",o.menuService.isActive(e.path))("nz-tooltip",e.taskCountBadge===!0&&o.runningTaskCount()>0?o.runningTaskCount()+"\u4E2A\u4EFB\u52A1\u6B63\u5728\u8FD0\u884C":null),s(),z(e.icon?1:-1),s(2),T(e.title),s(),z(e.taskCountBadge===!0&&o.runningTaskCount()>0?4:-1)}}function Bo(t,n){t&1&&tt(0)}function Ao(t,n){if(t&1&&(r(0,"li",4)(1,"ul"),P(2,Bo,1,0,"ng-container",2),a()()),t&2){let e=c(2).$implicit;c(2);let o=D(3);d("nzPaddingLeft",e.level*24)("nzOpen",e.open)("nzTitle",e.title)("nzIcon",e.icon)("nzDisabled",e.disabled),s(2),d("ngTemplateOutlet",o)("ngTemplateOutletContext",nt(7,Qn,e.children))}}function Ro(t,n){if(t&1&&y(0,Vo,5,7,"li",3)(1,Ao,3,9,"li",4),t&2){let e=c().$implicit;z(e.children?1:0)}}function Ho(t,n){if(t&1&&y(0,Ro,2,1),t&2){let e=n.$implicit;z(e!=null&&e.hidden?-1:0)}}function Uo(t,n){if(t&1&&B(0,Ho,1,1,null,null,At),t&2){let e=n.$implicit;A(e())}}var qe=class t{isCollapsed=!1;menuService=g(Ge);taskBootstrap=g(Ye);runtimeStore=g(Oe);menus=this.menuService.currentMenus;runningTaskCount=N(()=>this.runtimeStore.totalRunningCountSignal()());ngOnInit(){this.taskBootstrap.initActiveSnapshot()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-menu"]],inputs:{isCollapsed:"isCollapsed"},decls:4,vars:5,consts:[["menuTpl",""],["nz-menu","","nzMode","inline",3,"nzInlineCollapsed"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-menu-item","","nzTooltipPlacement","right",3,"nzPaddingLeft","nzDisabled","nzSelected","nz-tooltip"],["nz-submenu","",3,"nzPaddingLeft","nzOpen","nzTitle","nzIcon","nzDisabled"],["nz-menu-item","","nzTooltipPlacement","right",3,"click","nzPaddingLeft","nzDisabled","nzSelected","nz-tooltip"],["nzTheme","outline",2,"font-size","18px",3,"nzType"],["nzStatus","processing",2,"margin-left","12px"]],template:function(e,o){if(e&1&&(r(0,"ul",1),P(1,ko,1,0,"ng-container",2)(2,Uo,2,0,"ng-template",null,0,J),a()),e&2){let i=D(3);d("nzInlineCollapsed",o.isCollapsed),s(),d("ngTemplateOutlet",i)("ngTemplateOutletContext",nt(3,Qn,o.menus))}},dependencies:[ve,U,re,ie,Sn,M,w,k,De,Ne,Pn,wn],encapsulation:2})};function Go(t,n){if(t&1){let e=v();r(0,"div",3)(1,"label",4),m(2,"\u540D\u79F0"),a(),r(3,"nz-input-wrapper")(4,"input",5),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().name=i)})("keydown.enter",function(){u(e);let i=c(2);return f(i.projectState.confirmEditProject())}),a(),p(5,"nz-icon",6),a(),r(6,"div",7),m(7,"\u8F93\u5165\u65B0\u540D\u79F0\uFF0C\u5C06\u540C\u6B65\u66F4\u65B0\u9879\u76EE\u663E\u793A\u540D\u79F0\uFF08\u4E0D\u4F1A\u91CD\u547D\u540D\u78C1\u76D8\u76EE\u5F55\uFF09\u3002"),a(),r(8,"label",4),m(9,"Git\u4ED3\u5E93\u5730\u5740"),a(),r(10,"nz-input-wrapper")(11,"input",8),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().repoPageUrl=i)}),a(),p(12,"nz-icon",9),a(),r(13,"div",10),m(14,"NGM Hub V2"),a(),r(15,"label",4),m(16,"Hub \u5730\u5740"),a(),r(17,"nz-input-wrapper")(18,"input",11),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().hubV2.baseUrl=i)}),a(),p(19,"nz-icon",12),a(),r(20,"label",4),m(21,"Project Key"),a(),r(22,"nz-input-wrapper")(23,"input",13),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().hubV2.projectKey=i)}),a(),p(24,"nz-icon",14),a(),r(25,"label",4),m(26,"API Token"),a(),r(27,"nz-input-wrapper")(28,"input",15),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().hubV2.token=i)}),a(),p(29,"nz-icon",16),a(),r(30,"div",7),m(31,"\u4EE5\u4E0A\u914D\u7F6E\u4F1A\u5199\u5165\u9879\u76EE env\uFF1ANGM_HUB_V2_BASE_URL / NGM_HUB_V2_PROJECT_KEY / NGM_HUB_V2_TOKEN\u3002"),a(),r(32,"label",4),m(33,"\u63CF\u8FF0"),a(),r(34,"nz-input-wrapper")(35,"textarea",17),_("ngModelChange",function(i){u(e);let l=c(2);return f(l.projectState.editingProject().description=i)})("keydown.enter",function(){u(e);let i=c(2);return f(i.projectState.confirmEditProject())}),a()()()}if(t&2){let e=c(2);s(4),d("ngModel",e.editingProject().name),s(7),d("ngModel",e.editingProject().repoPageUrl),s(7),d("ngModel",e.editingProject().hubV2.baseUrl),s(5),d("ngModel",e.editingProject().hubV2.projectKey),s(5),d("ngModel",e.editingProject().hubV2.token),s(7),d("ngModel",e.editingProject().description)}}function Yo(t,n){if(t&1&&(E(0),y(1,Go,36,6,"div",3),O()),t&2){let e=c();s(),z(e.editingProject()?1:-1)}}function qo(t,n){if(t&1){let e=v();E(0),r(1,"button",18),_("click",function(){u(e);let i=c();return f(i.projectState.closeEditModal())}),m(2,"\u53D6\u6D88"),a(),r(3,"button",19),_("click",function(){u(e);let i=c();return f(i.projectState.confirmEditProject())}),m(4," \u786E\u5B9A "),a(),O()}if(t&2){let e,o=c();s(3),d("disabled",!(!((e=o.projectState.editingProject())==null||e.name==null)&&e.name.trim())||o.projectState.isEditSaving())("nzLoading",o.projectState.isEditSaving())}}var Qe=class t{projectState=g(Fe);editingProject=this.projectState.editingProject;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["app-project-edit-modal"]],decls:3,vars:3,consts:[["nzTitle","\u7F16\u8F91\u9879\u76EE",3,"nzOnCancel","nzClosable","nzMaskClosable","nzVisible"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"modal-body"],[1,"label"],["nz-input","","placeholder","\u8BF7\u8F93\u5165\u65B0\u540D\u79F0","autofocus","",3,"ngModelChange","keydown.enter","ngModel"],["nzInputPrefix","","nzType","folder","nzTheme","fill"],[1,"hint"],["nz-input","","placeholder","Git\u4ED3\u5E93\u5730\u5740",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","github","nzTheme","outline"],[1,"section-title"],["nz-input","","placeholder","\u4F8B\u5982\uFF1Ahttp://192.168.1.31:7008",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","link","nzTheme","outline"],["nz-input","","placeholder","\u4F8B\u5982\uFF1ANGM",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","key","nzTheme","outline"],["nz-input","","type","password","placeholder","\u7C98\u8D34 hub-v2 \u9879\u76EE token",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","safety-certificate","nzTheme","outline"],["nz-input","","rows","3","placeholder","\u8BF7\u8F93\u5165\u65B0\u63CF\u8FF0",2,"resize","none",3,"ngModelChange","keydown.enter","ngModel"],["nz-button","",3,"click"],["nz-button","","nzType","primary",3,"click","disabled","nzLoading"]],template:function(e,o){e&1&&(r(0,"nz-modal",0),_("nzOnCancel",function(){return o.projectState.closeEditModal()}),P(1,Yo,2,1,"ng-container",1)(2,qo,5,2,"ng-container",2),a()),e&2&&d("nzClosable",!1)("nzMaskClosable",!1)("nzVisible",o.projectState.isEditModalVisible())},dependencies:[I,ne,xe,ee,te,Te,Pe,Se,we,V,L,F,X,Z,be,Me,ze,M,w],styles:[".modal-body[_ngcontent-%COMP%]{display:grid;gap:12px}.section-title[_ngcontent-%COMP%]{font-size:13px;font-weight:600;opacity:.9;margin-top:4px}.hint[_ngcontent-%COMP%]{font-size:12px;opacity:.75}"]})};function Qo(t,n){if(t&1){let e=v();E(0),r(1,"div",3)(2,"label",4),m(3,"Personal Token"),a(),r(4,"nz-input-wrapper")(5,"input",5),_e("ngModelChange",function(i){u(e);let l=c();return he(l.draft,i)||(l.draft=i),f(i)}),a(),p(6,"nz-icon",6),a(),r(7,"div",7),m(8,"\u4EC5\u4FDD\u5B58\u5728\u5F53\u524D\u6D4F\u89C8\u5668\u672C\u5730\uFF0C\u7528\u4E8E webapp \u8C03\u7528 Hub V2 /api/personal\u3002"),a()(),O()}if(t&2){let e=c();s(5),ge("ngModel",e.draft)}}function Jo(t,n){if(t&1){let e=v();E(0),r(1,"button",8),_("click",function(){u(e);let i=c();return f(i.clear())}),m(2,"\u6E05\u7A7A"),a(),r(3,"button",8),_("click",function(){u(e);let i=c();return f(i.close())}),m(4,"\u53D6\u6D88"),a(),r(5,"button",9),_("click",function(){u(e);let i=c();return f(i.save())}),m(6,"\u4FDD\u5B58"),a(),O()}}var pe=class t{userStore=g(je);visible=!1;visibleChange=new Dt;draft="";open(){this.userStore.ensureUserLoaded(),this.draft=this.userStore.hubUserToken()}close(){this.visibleChange.emit(!1)}save(){this.userStore.setHubUserToken(this.draft),this.userStore.loadCurrentUser(),this.visibleChange.emit(!1)}clear(){this.userStore.setHubUserToken(""),this.draft=""}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["app-hub-v2-personal-token-modal"]],inputs:{visible:"visible"},outputs:{visibleChange:"visibleChange"},decls:3,vars:4,consts:[["nzTitle","Hub V2 Personal Token\uFF08\u5168\u5C40\uFF09",3,"nzOnCancel","nzVisible","nzClosable","nzMaskClosable","nzWidth"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"modal-body"],[1,"label"],["nz-input","","type","password","placeholder","\u7C98\u8D34 ngm_uptk_xxx",3,"ngModelChange","ngModel"],["nzInputPrefix","","nzType","safety-certificate","nzTheme","outline"],[1,"hint"],["nz-button","",3,"click"],["nz-button","","nzType","primary",3,"click"]],template:function(e,o){e&1&&(r(0,"nz-modal",0),_("nzOnCancel",function(){return o.close()}),P(1,Qo,9,1,"ng-container",1)(2,Jo,7,0,"ng-container",2),a()),e&2&&d("nzVisible",o.visible)("nzClosable",!1)("nzMaskClosable",!1)("nzWidth",560)},dependencies:[I,ne,xe,ee,te,V,L,F,X,M,w,Te,Pe,Se,we,Z,be,Me,ze],styles:[".modal-body[_ngcontent-%COMP%]{display:grid;gap:12px}.hint[_ngcontent-%COMP%]{font-size:12px;opacity:.75}"]})};var Ko=()=>({width:"100%"}),Xn=(t,n)=>n.id;function Xo(t,n){t&1&&p(0,"nz-icon",2)}function Zo(t,n){if(t&1){let e=v();r(0,"li",7),p(1,"nz-icon",12),r(2,"span"),m(3,"\u6DFB\u52A0/\u53D6\u6D88\u6536\u85CF"),a(),r(4,"nz-switch",13),_("ngModelChange",function(){let i;u(e);let l=c();return f(l.projectState.toggleFavorite((i=l.currentProject())==null?null:i.id))}),a()(),r(5,"li",14),_("click",function(){let i;u(e);let l=c();return f(l.projectState.openInEditor((i=l.currentProject())==null?null:i.id))}),p(6,"nz-icon",15),r(7,"span"),m(8,"\u5728\u7F16\u8F91\u5668\u4E2D\u6253\u5F00"),a()(),r(9,"li",14),_("click",function(){u(e);let i=c();return f(i.projectState.openEditModal(i.currentProject()))}),p(10,"nz-icon",16),r(11,"span"),m(12,"\u7F16\u8F91\u9879\u76EE"),a()(),r(13,"li",14),_("click",function(){u(e);let i=c();return f(i.openPersonalTokenModal())}),p(14,"nz-icon",17),r(15,"span"),m(16,"Hub V2 Personal Token"),a(),r(17,"span",18),m(18),a()()}if(t&2){let e,o,i,l=c();s(),d("nzTheme",(e=l.currentProject())!=null&&e.isFavorite?"fill":"outline"),s(3),d("nzDisabled",!((o=l.currentProject())!=null&&o.id))("ngModel",(i=l.currentProject())==null?null:i.isFavorite),s(13),j("ok",l.userStore.hasHubUserToken()),s(),R(" ",l.userStore.hasHubUserToken()?"\u5DF2\u914D\u7F6E":"\u672A\u914D\u7F6E"," ")}}function ei(t,n){if(t&1){let e=v();r(0,"li",14),_("click",function(){let i=u(e).$implicit,l=c();return f(l.projectState.selectProject(i))}),p(1,"nz-icon",19),r(2,"span"),m(3),a()()}if(t&2){let e=n.$implicit;s(3),T(e.name)}}function ti(t,n){if(t&1){let e=v();r(0,"li",14),_("click",function(){let i=u(e).$implicit,l=c();return f(l.projectState.selectProject(i))}),p(1,"nz-icon",12),r(2,"span"),m(3),a()()}if(t&2){let e=n.$implicit;s(),d("nzTheme",e.isFavorite?"fill":"outline"),s(2),T(e.name)}}var Je=class t{userStore=g(je);projectContext=g(oe);projectState=g(Fe);isCollapsed=Qt(!1);personalTokenModalVisible=!1;personalTokenModal;currentProject=this.projectContext.currentProject;favoriteProjects=this.projectContext.favoriteProjects;recentProjects=this.projectContext.recentProjects;curProjectName=N(()=>{let n=this.projectContext.currentProject()?.name||"\u8BF7\u9009\u62E9\u9879\u76EE";return this.isCollapsed()?n?.charAt(0).toUpperCase():n});ngOnInit(){this.projectContext.loadProjects().subscribe(),this.userStore.ensureHubUserTokenLoaded()}openPersonalTokenModal(){this.personalTokenModalVisible=!0,queueMicrotask(()=>this.personalTokenModal?.open())}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-project-nav"]],viewQuery:function(e,o){if(e&1&&Rt(pe,5),e&2){let i;Ht(i=Ut())&&(o.personalTokenModal=i.first)}},inputs:{isCollapsed:[1,"isCollapsed"]},outputs:{isCollapsed:"isCollapsedChange"},decls:24,vars:10,consts:[["menu","nzDropdownMenu"],["nz-button","","nzType","primary","nzSize","large","nz-dropdown","","nzTrigger","click",1,"project-quick-dropdown",3,"nzDropdownMenu","nzPlacement","nzOverlayStyle"],["nzType","down"],[2,"width","100%"],["nz-menu",""],["nz-menu-divider",""],["nz-menu-group","","nzTitle","\u6536\u85CF\u7684\u9879\u76EE"],["nz-menu-item","",1,"item"],["nz-menu-group","","nzTitle","\u6700\u8FD1\u4F7F\u7528"],["routerLink","/projects"],["nzType","project"],[3,"visibleChange","visible"],["nzType","star",3,"nzTheme"],[2,"margin-left","6px",3,"ngModelChange","nzDisabled","ngModel"],["nz-menu-item","",1,"item",3,"click"],["nzType","code"],["nzType","edit"],["nzType","safety-certificate"],[1,"token-status"],["nzType","star","nzTheme","fill"]],template:function(e,o){if(e&1){let i=v();r(0,"button",1)(1,"span"),m(2),a(),y(3,Xo,1,0,"nz-icon",2),a(),r(4,"nz-dropdown-menu",3,0)(6,"ul",4),y(7,Zo,19,6),p(8,"li",5)(9,"li",6),B(10,ei,4,1,"li",7,Xn),p(12,"li",5)(13,"li",8),B(14,ti,4,2,"li",7,Xn),p(16,"li",5),r(17,"li",7)(18,"a",9),p(19,"nz-icon",10),r(20,"span"),m(21,"\u9879\u76EE\u7BA1\u7406"),a()()()()(),p(22,"app-project-edit-modal"),r(23,"app-hub-v2-personal-token-modal",11),_("visibleChange",function(h){return u(i),f(o.personalTokenModalVisible=h)}),a()}if(e&2){let i=D(5);j("collapsed",o.isCollapsed()),d("nzDropdownMenu",i)("nzPlacement","bottomCenter")("nzOverlayStyle",Ce(9,Ko)),s(2),T(o.curProjectName()),s(),z(o.isCollapsed()?-1:3),s(4),z(o.currentProject()?7:-1),s(3),A(o.favoriteProjects()),s(4),A(o.recentProjects()),s(9),d("visible",o.personalTokenModalVisible)}},dependencies:[I,ne,ee,te,le,re,ie,Nn,Tn,ae,ke,Ie,U,M,w,Vn,Ln,V,L,F,X,k,K,Qe,pe],styles:["[_nghost-%COMP%]{display:flex;padding:16px}[_nghost-%COMP%] .project-quick-dropdown[_ngcontent-%COMP%]{flex:1;width:100%;display:flex;align-items:center;gap:8px;justify-content:center;border-radius:20px;font-weight:500}[_nghost-%COMP%] .project-quick-dropdown[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item[_ngcontent-%COMP%] .ant-menu-title-content{display:flex;align-items:center;gap:8px;overflow:hidden}.item[_ngcontent-%COMP%] .ant-menu-title-content span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item[_ngcontent-%COMP%] .token-status[_ngcontent-%COMP%]{margin-left:auto;font-size:12px;color:#8c8c8c}.item[_ngcontent-%COMP%] .token-status.ok[_ngcontent-%COMP%]{color:#52c41a}.item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--app-text-color);display:flex;width:100%;align-items:center;gap:8px}"]})};var Ke=class t{router=g(q);state=g($e);isCollapsed=this.state.isCollapsed;constructor(){}isActive(n){return this.router.url.startsWith(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-sidebar"]],hostVars:4,hostBindings:function(e,o){e&2&&j("collapsed",o.isCollapsed())("ant-layout-sider",!0)},decls:20,vars:5,consts:[["menu","nzDropdownMenu"],["nzCollapsible","","nzWidth","256px","nzBreakpoint","md",1,"menu-sidebar",3,"nzCollapsedChange","nzCollapsed","nzTrigger"],[1,"header"],[3,"isCollapsed"],[1,"content"],["nz-button","","nzType","link","nz-dropdown","","nzPlacement","bottomRight","nzTrigger","click",1,"more-btn",3,"nzDropdownMenu"],["nzType","more"],["nz-menu",""],["nz-menu-item","",1,"item"],["routerLink","/projects"],["nzType","project","nzTheme","outline"],["routerLink","/about"],["nzType","info-circle","nzTheme","outline"]],template:function(e,o){if(e&1){let i=v();r(0,"nz-sider",1),_e("nzCollapsedChange",function(h){return u(i),he(o.isCollapsed,h)||(o.isCollapsed=h),f(h)}),r(1,"div",2),p(2,"ngm-project-nav",3),a(),r(3,"div",4),p(4,"ngm-menu",3),r(5,"button",5),p(6,"nz-icon",6),a()()(),r(7,"nz-dropdown-menu",null,0)(9,"ul",7)(10,"li",8)(11,"a",9),p(12,"nz-icon",10),r(13,"span"),m(14,"\u9879\u76EE\u7BA1\u7406"),a()()(),r(15,"li",8)(16,"a",11),p(17,"nz-icon",12),r(18,"span"),m(19,"\u5173\u4E8E"),a()()()()()}if(e&2){let i=D(8);ge("nzCollapsed",o.isCollapsed),d("nzTrigger",null),s(2),d("isCollapsed",o.isCollapsed()),s(2),d("isCollapsed",o.isCollapsed()),s(),d("nzDropdownMenu",i)}},dependencies:[W,jn,M,w,U,re,ie,qe,Je,V,L,F,le,ae,ke,Ie,k,K],styles:["html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--app-gray: #e6f7ff;--app-primary: #1890ff;--app-primary-1: #e6f7ff;--app-primary-2: #bae7ff;--app-primary-3: #91d5ff;--app-primary-4: #69c0ff;--app-primary-5: #40a9ff;--app-primary-6: #1890ff;--app-text-color: rgba(0, 0, 0, .85);--app-text-secondary: rgba(0, 0, 0, .45);--text-color-primary: #1890ff;--app-component-bg: #fff;--app-border-color: #d9d9d9;--header-error-background: #ff4d4f}html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #888}html.default [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%]{background:var(--ant-primary-1)}html.default [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--ant-text-color)}html.dark[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #bbb}html.dark [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%]{background:var(--ant-primary-1)}html.dark [_nghost-%COMP%] .sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--ant-text-color)}[_nghost-%COMP%]{display:block;box-sizing:border-box;position:relative;z-index:10;box-shadow:2px 0 6px #00152959;width:256px;transition:all .2s;flex:0 0 auto}.collapsed[_nghost-%COMP%]{width:80px}.menu-sidebar[_ngcontent-%COMP%]{height:100%}.menu-sidebar[_ngcontent-%COMP%] .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.menu-sidebar[_ngcontent-%COMP%] .ant-menu-inline{border-right:none}.menu-sidebar[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{flex:0 0 auto}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex:1 1 auto;height:0;display:flex;flex-direction:column}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ngm-menu[_ngcontent-%COMP%]{flex:1 1 auto;height:0}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:12px;flex:0 0 auto}.menu-sidebar[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--app-primary-2)}.sidebar-logo[_ngcontent-%COMP%]{position:relative;height:64px;padding-left:24px;overflow:hidden;line-height:64px;transition:all .3s}.sidebar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:32px;width:32px;vertical-align:middle}.sidebar-logo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:inline-block;margin:0 0 0 20px;font-weight:600;font-size:14px;font-family:Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;vertical-align:middle}.item[_ngcontent-%COMP%] .ant-menu-title-content{display:flex;align-items:center;gap:8px}.item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--app-text-color);display:flex;width:100%;align-items:center;gap:8px}"]})};function ni(t,n){if(t&1){let e=v();r(0,"div",4),_("transitionend",function(i){u(e);let l=c();return f(l.onWrapTransitionEnd(i))}),r(1,"div",5),_("animationend",function(i){u(e);let l=c();return f(l.onInnerAnimationEnd(i))}),p(2,"ngm-header"),a()()}if(t&2){let e=c();j("leaving",e.leaving()),s(),j("leaving",e.leaving())}}var Xe=class t{ws=g(Ee);constructor(){this.ws.connect(),Y(()=>this.syncVisible())}wsState=mn(this.ws.stateChanges(),{initialValue:"idle"});shouldShow=N(()=>this.wsState()!=="open");visible=b(!1);leaving=b(!1);SHOW_DELAY_MS=200;showTimer;removed=!1;syncVisible(){if(this.shouldShow()){if(this.removed=!1,this.visible()){this.leaving.set(!1);return}this.startShowDelay();return}this.clearShowDelay(),this.visible()&&!this.leaving()&&this.leaving.set(!0)}startShowDelay(){this.showTimer||(this.showTimer=setTimeout(()=>{this.showTimer=void 0,this.shouldShow()&&(this.visible.set(!0),this.leaving.set(!1),this.removed=!1)},this.SHOW_DELAY_MS))}clearShowDelay(){this.showTimer&&(clearTimeout(this.showTimer),this.showTimer=void 0)}onInnerAnimationEnd(n){}onWrapTransitionEnd(n){n.propertyName==="height"&&(this.removed||!this.shouldShow()&&this.leaving()&&(this.removed=!0,this.visible.set(!1),this.leaving.set(!1)))}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["ngm-layout"]],decls:9,vars:1,consts:[[1,"app-layout"],[1,"ws-banner-wrap",3,"leaving"],[1,"app-content"],[1,"inner-content"],[1,"ws-banner-wrap",3,"transitionend"],[1,"ws-banner-inner",3,"animationend"]],template:function(e,o){e&1&&(r(0,"nz-layout",0),y(1,ni,3,4,"div",1),r(2,"nz-layout",2),p(3,"ngm-sidebar"),r(4,"nz-layout")(5,"nz-content")(6,"div",3),p(7,"router-outlet"),a()()()(),p(8,"ngm-footer"),a()),e&2&&(s(),z(o.visible()?1:-1))},dependencies:[k,sn,W,In,Dn,Yn,M,U,Ke,We,Ue],styles:["html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--app-gray: #e6f7ff;--app-primary: #1890ff;--app-primary-1: #e6f7ff;--app-primary-2: #bae7ff;--app-primary-3: #91d5ff;--app-primary-4: #69c0ff;--app-primary-5: #40a9ff;--app-primary-6: #1890ff;--app-text-color: rgba(0, 0, 0, .85);--app-text-secondary: rgba(0, 0, 0, .45);--text-color-primary: #1890ff;--app-component-bg: #fff;--app-border-color: #d9d9d9;--header-error-background: #ff4d4f}html.default[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #888}html.default [_nghost-%COMP%] .inner-content[_ngcontent-%COMP%]{background:#fff}html.dark[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root{--text-color-gray: #bbb}html.dark [_nghost-%COMP%] .inner-content[_ngcontent-%COMP%]{background:#141414}[_nghost-%COMP%]{display:flex;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[_nghost-%COMP%] .app-layout[_ngcontent-%COMP%]{height:100vh;width:100%}[_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] ngm-header[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .app-content[_ngcontent-%COMP%]{flex-direction:row}[_nghost-%COMP%] nz-content[_ngcontent-%COMP%] .inner-content[_ngcontent-%COMP%]{border-radius:8px;height:100%}[_nghost-%COMP%] nz-footer[_ngcontent-%COMP%]{text-align:center}.ws-banner-wrap[_ngcontent-%COMP%]{height:48px;overflow:hidden;transition:height .35s ease}.ws-banner-wrap.leaving[_ngcontent-%COMP%]{height:0}.ws-banner-inner[_ngcontent-%COMP%]{height:48px;display:flex;align-items:stretch}.ws-banner-inner.leaving[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOutUpSoft .35s ease forwards}@keyframes _ngcontent-%COMP%_fadeOutUpSoft{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-30%)}}"]})};var Zn=`
2
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M435.8 536.2H512V353z" fill="#DD0031"/>
4
- <path d="M400.9 616.8l-52.4 130.8h-97.2L512 163V64L94.9 212.7l63.6 551.5L512 960V616.8z" fill="#DD0031"/>
5
- <path d="M512 353v183.2h76.2z" fill="#C3002F"/>
6
- <path d="M512 64v99l259.8 584.6h-97.2l-52.4-130.8H512V960l353.5-195.8 63.6-551.5z" fill="#C3002F"/>
7
- </svg>
8
- `,eo=`
9
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M615.6 123.6h165.5L512 589.7 242.9 123.6H63.5L512 900.4l448.5-776.9z" fill="#41B883"/>
11
- <path d="M781.1 123.6H615.6L512 303 408.4 123.6H242.9L512 589.7z" fill="#34495E"/>
12
- </svg>
13
- `,to=`
14
- <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
15
- <svg t="1767603739899" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9231" width="200" height="200">
16
- <path d="M512 511.8m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z" fill="#61DAFB" p-id="9232"></path>
17
- <path d="M960.5 511.8c0-62.8-73.8-117.2-188.5-150.1 28.9-115.8 18.7-206.9-35.7-238.3-54.5-31.4-138.5 5.3-224.3 88.2-85.8-82.9-169.8-119.6-224.3-88.2-54.4 31.4-64.6 122.6-35.7 238.3C137.3 394.6 63.5 449 63.5 511.8S137.3 629 252 661.9c-28.9 115.7-18.7 206.9 35.7 238.3 13.4 7.8 28.6 11.6 45.2 11.6 39.7 0 87.8-21.8 140-64.2 13-10.6 26.1-22.6 39.1-35.2 13 12.6 26.1 24.6 39.1 35.2 52.2 42.4 100.2 64.2 140 64.2 16.6 0 31.8-3.8 45.2-11.6 54.4-31.4 64.6-122.5 35.7-238.3 114.7-32.9 188.5-87.3 188.5-150.1zM716.8 157.2c35.3 20.4 42.7 94.3 17.6 194.8-36.7-8.4-76.7-14.7-119.3-18.6-24.7-34.9-50.2-66.4-75.8-94 59.2-57.3 114.2-88.4 152-88.4 9.6-0.1 18.2 2 25.5 6.2zM637 584c-13.8 24-28.4 47-43.3 69-26.1 2-53.3 3.1-81.7 3.1-28.3 0-55.5-1.1-81.6-3.1-15-22-29.5-45.1-43.3-69-14.1-24.5-26.7-48.6-38.1-72.2 11.4-23.6 24-47.7 38.1-72.2 14.1-24.5 28.7-47.4 43.4-69.1 26.1-2 53.3-3.1 81.6-3.1 28.3 0 55.5 1.1 81.6 3.1 14.7 21.6 29.3 44.6 43.4 69 14.1 24.5 26.7 48.6 38.1 72.2-11.5 23.7-24.1 47.8-38.2 72.3z m58.8-26.4c11.2 26.6 20.4 52.1 28 76.5-24.9 5.6-51.7 10.4-80.3 14 9.3-14.5 18.4-29.3 27.3-44.6 8.8-15.4 17.1-30.7 25-45.9zM512 756.5c-17.7-19.2-35.1-40.1-52.2-62.6 17.1 0.8 34.5 1.3 52.2 1.3 17.7 0 35.1-0.5 52.2-1.3-17.1 22.5-34.5 43.4-52.2 62.6zM380.5 648.1c-28.6-3.6-55.3-8.4-80.3-14 7.6-24.4 16.8-49.9 28-76.5 7.9 15.2 16.1 30.5 25 45.9 8.9 15.2 18 30 27.3 44.6zM328.2 466c-11.2-26.6-20.4-52.1-28-76.5 24.9-5.6 51.6-10.4 80.2-14-9.2 14.4-18.4 29.2-27.2 44.6-8.8 15.4-17.1 30.7-25 45.9zM512 267.1c17.3 18.7 34.8 39.8 52.1 62.7-17.1-0.8-34.4-1.3-52.1-1.3-17.7 0-35 0.5-52.1 1.3 17.3-22.9 34.8-44 52.1-62.7z m158.7 153c-8.9-15.3-18-30.1-27.2-44.6 28.6 3.6 55.3 8.4 80.2 14-7.6 24.4-16.8 49.9-28 76.5-7.8-15.2-16.1-30.5-25-45.9zM307.2 157.2c7.2-4.2 15.8-6.2 25.6-6.2 37.8 0 92.7 31.1 151.9 88.4-25.6 27.6-51.1 59.2-75.8 94-42.5 3.9-82.6 10.2-119.3 18.6-25.1-100.6-17.6-174.5 17.6-194.8zM102.5 511.8c0-40.8 60.3-84.2 160-112.6 11.1 36 25.6 73.8 43.5 112.6-17.8 38.8-32.4 76.6-43.5 112.6-99.7-28.4-160-71.9-160-112.6z m345.8 305.5c-59.7 48.5-111.1 66.4-141.1 49.2-35.3-20.4-42.7-94.3-17.6-194.8 36.7 8.4 76.7 14.7 119.3 18.6 24.4 34.5 49.9 66.1 75.8 94.2-12.1 11.7-24.2 22.9-36.4 32.8z m268.5 49.2c-29.9 17.3-81.4-0.6-141.1-49.2-12.1-9.9-24.3-21.1-36.5-32.8 26-28.1 51.4-59.7 75.8-94.2 42.5-3.9 82.6-10.2 119.3-18.7 25.2 100.6 17.7 174.5-17.5 194.9z m44.8-242.1c-11.1-36-25.6-73.8-43.5-112.6 17.8-38.8 32.4-76.6 43.5-112.6 99.7 28.5 160 71.9 160 112.6-0.1 40.7-60.4 84.2-160 112.6z" fill="#61DAFB" p-id="9233"></path></svg>
18
- </svg>
19
- `,no=`
20
- <svg t="1767598826450" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8231" width="200" height="200">
21
- <path d="M875.2 262.3L546.7 72.7c-20.7-11.8-48.3-11.8-69 0L148.8 262.3c-21.5 12.2-34.5 34.9-34.5 59.7v379.2c0 24.8 13.4 47.9 34.5 60.1l86.1 49.5c41.8 20.7 56.8 20.7 75.9 20.7 62.1 0 97.4-37.8 97.4-102.7V354.4c0-5.3-4.1-9.3-9.3-9.3h-41.4c-5.3 0-9.3 4.1-9.3 9.3v374.3c0 28.8-30 57.7-78.8 33.3l-90.1-52c-3.2-2-5.3-5.3-5.3-8.9V321.9c0-3.7 2-7.3 5.3-8.9l328.1-190c3.2-1.6 7.3-1.6 10.2 0l328.5 189.6c3.2 1.6 5.3 5.3 5.3 8.9v379.2c0 3.7-2 7.3-4.9 8.9L517.9 899.3c-2.8 1.6-7.3 1.6-10.2 0l-84.4-49.9c-2.4-1.2-5.7-1.6-8.1-0.4-23.1 13.4-27.6 15-49.5 22.7-5.7 1.6-13.4 4.9 2.8 14.2l109.6 65c10.6 6.1 22.3 9.3 34.5 9.3 11.8-0.4 24-3.2 34.1-9.7l328.5-189.6c21.1-12.2 34.5-34.9 34.5-59.7V321.9c0-24.3-13.4-47.5-34.5-59.6z" fill="#689F63" p-id="8232"></path>
22
- <path d="M614.1 641.1c-86.9 0-106-21.9-112.5-65-0.8-4.9-4.5-8.1-9.3-8.1h-42.6c-5.3 0-9.3 4.1-9.3 9.3 0 55.2 30 121.4 173.8 121.4l-0.4-0.4c103.9 0 163.6-41 163.6-112.5 0-70.6-47.9-89.7-149-103.1-101.9-13.4-112.5-20.3-112.5-44.3 0-19.5 8.9-45.9 84.4-45.9 67.8 0 92.6 14.6 102.7 60.1 1.2 4.1 4.9 7.3 9.3 7.3H755c2.4 0 5.3-0.8 6.9-2.8 1.6-2 2.8-4.5 2.4-7.3-6.9-78.4-58.9-114.9-164-114.9-93.4 0-149.4 39.4-149.4 105.6 0 71.9 55.6 91.8 145.8 100.7 107.6 10.6 116.1 26.4 116.1 47.5 0 36.5-29.3 52.4-98.7 52.4z" fill="#689F63" p-id="8233"></path>
23
- </svg>
24
- `,oo=`
25
- <svg t="1768726164973" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4725" width="200" height="200">
26
- <path d="M332.72493 412.535453l171.001167-98.72725a13.830826 13.830826 0 0 1 13.83424 0l171.007994 98.72725a13.841066 13.841066 0 0 1 6.915413 11.9808v197.4545a13.858133 13.858133 0 0 1-6.918826 11.980799l-171.004581 98.72725a13.830826 13.830826 0 0 1-13.83424 0l-171.001167-98.72725a13.841066 13.841066 0 0 1-6.915413-11.980799V424.516253a13.847893 13.847893 0 0 1 6.915413-11.9808" fill="#7986CB" p-id="4726"></path>
27
- <path d="M955.265709 502.476783L750.950409 147.036155c-7.420586-12.8512-21.128533-22.330026-35.969705-22.330026H306.329624c-14.844586 0-28.555946 9.478826-35.976532 22.330026L66.037792 501.701957c-7.420586 12.854613-7.420586 29.081599 0 41.932798L270.353092 896.170637c7.420586 12.8512 21.131946 19.421866 35.976532 19.421866h408.65108c14.83776 0 28.552532-6.372693 35.969705-19.227306l204.3153-353.109322c7.427413-12.847786 7.427413-27.921066 0-40.768852m-169.181861 170.922661c0 5.2224-3.14368 10.059093-7.676586 12.673706l-260.249592 150.152529a14.80704 14.80704 0 0 1-14.725119 0l-260.450978-150.152529c-4.52608-2.614613-7.693653-7.44448-7.693653-12.673706v-300.30847c0-5.229226 3.119787-10.059093 7.649279-12.677119l260.242765-150.152529a14.779733 14.779733 0 0 1 14.71488 0l260.471458 150.152529c4.529493 2.618027 7.717546 7.447893 7.717546 12.677119z" fill="#3F51B5" p-id="4727"></path>
28
- </svg>
29
- `,io=`
30
- <svg t="1772087297160" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12394" data-spm-anchor-id="a313x.search_index.0.i16.3dc23a81kNbNJb" width="48" height="48">
31
- <path d="M0 512c0 282.848 229.312 512 512 512 282.848 0 512-229.312 512-512 0-282.848-229.312-512-512-512C229.152 0 0 229.152 0 512z" fill="#333333" p-id="12395" data-spm-anchor-id="a313x.search_index.0.i13.3dc23a81kNbNJb" class="selected"></path>
32
- <path d="M948.48 449.824c-34.912 45.408-101.056 22.272-131.456 40.032-44.288 26.016-42.88 89.152-151.264 173.952-26.336 20.64 27.968 128.768 4.48 152.928-23.872 24.544-119.84 25.792-143.104 12.384-34.08-19.808-7.36-71.2 0.192-146.304-70.016 7.232-92.672 5.984-162.912 3.104 10.816 56.96 26.336 120.512 3.68 141.376-18.592 16.928-108.608 18.784-136.768 0.192-35.328-23.328 25.504-156 4.896-158.272-23.68-2.464-168.416 3.296-142.88-155.808 27.136 40.032 73.28 77.792 126.368 60.864 3.072-58.208 20-113.92 48.384-158.496 37.568-58.624 95.328-97.824 168.416-97.824 72.256 0 132.48 31.776 171.872 81.728 30.816 39.2 48.8 89.984 48.992 145.088 76.352-58.208 20.224-200.8 111.648-254.24 65.12-37.984 141.248-18.368 177.6 41.888 19.392 31.584 25.312 87.072 1.824 117.408z" fill="#ffffff" p-id="12396" data-spm-anchor-id="a313x.search_index.0.i14.3dc23a81kNbNJb" class=""></path>
33
- </svg>
34
- `,ro=`
35
- <svg t="1778296336918" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5567" width="200" height="200">
36
- <path d="M94.208 94.208v835.584h835.584V94.208H94.208z m634.92096 405.85216v0.012288c8.011776 0.024576 17.119232 0.436224 23.967744 1.179648 27.891712 3.016704 49.6128 15.050752 68.091904 37.715968 9.201664 11.290624 12.34944 16.2304 11.679744 18.343936-0.432128 1.363968-6.746112 5.885952-26.820608 19.21024-19.720192 13.092864-26.07104 17.014784-27.5456 17.014784-1.497088 0-4.614144-3.207168-9.105408-9.365504-8.6528-11.855872-17.485824-17.266688-31.13984-19.070976-14.68416-1.9456-27.856896 2.68288-34.308096 12.058624-5.515264 8.011776-6.3488 20.901888-1.96608 30.26944 5.07904 10.848256 14.270464 16.846848 49.494016 32.290816 40.624128 17.813504 61.210624 30.005248 76.204032 45.13792 16.146432 16.293888 24.326144 35.106816 26.83904 61.718528 1.226752 12.972032-0.272384 28.34432-3.98336 40.843264-9.10336 30.640128-33.66912 53.075968-69.67296 63.635456-9.95328 2.9184-19.214336 4.661248-28.37504 5.332992-13.985792 1.030144-34.002944 0.462848-46.051328-1.29024-30.482432-4.442112-64.892928-22.17984-82.051072-42.2912-8.423424-9.873408-19.177472-26.12224-19.177472-28.9792 0-1.380352 0.684032-2.164736 3.391488-3.885056 8.032256-5.103616 54.054912-31.412224 54.94784-31.412224 0.540672 0 2.945024 2.832384 5.341184 6.295552 5.429248 7.839744 18.78016 21.313536 25.567232 25.808896 5.543936 3.672064 12.634112 6.619136 21.051392 8.747008 4.820992 1.202176 7.3728 1.417216 17.891328 1.417216 10.747904-0.004096 12.951552-0.18432 17.760256-1.476608 12.71808-3.422208 22.644736-10.50624 26.851328-19.156992 1.8432-3.7376 1.880064-4.204544 1.880064-13.27104v-9.40032l-2.260992-4.48512c-5.474304-10.866688-17.270784-18.323456-54.56896-34.47808-17.13152-7.421952-38.11328-17.885184-46.30528-23.0912-18.696192-11.880448-31.653888-25.462784-40.157184-42.088448-8.45824-16.533504-9.71776-22.687744-9.73824-47.548416-0.02048-19.462144-0.053248-19.222528 3.975168-31.643648 3.65568-11.272192 11.139072-23.863296 19.400704-32.64512 16.4864-17.524736 40.577024-28.788736 66.367488-31.029248 3.29728-0.313344 7.716864-0.434176 12.52352-0.41984z m-221.92128 3.844096h0.008192c49.670144 0.024576 78.143488 0.196608 78.600192 0.483328 0.86016 0.53248 0.968704 4.855808 0.968704 32.444416v31.827968l-49.563648 0.180224-49.563648 0.180224v140.724224c0 77.400064-0.157696 141.185024-0.372736 141.748224-0.350208 0.948224-4.163584 1.019904-36.41344 1.019904h-36.018176l-0.372736-1.45408c-0.239616-0.79872-0.415744-64.587776-0.41984-141.750272l-0.012288-140.296192-49.5616-0.176128-49.565696-0.180224v-31.451136c0-24.94464 0.172032-31.625216 0.837632-32.288768 0.681984-0.702464 25.976832-0.882688 134.967296-0.991232 21.01248-0.02048 39.92576-0.03072 56.48384-0.02048z" fill="#0288D1" p-id="5568"></path>
37
- </svg>
38
- `;var Ze=class t{constructor(n){this.icons=n}inited=!1;init(){this.inited||(this.inited=!0,this.icons.addIconLiteral("proj:angular",Zn),this.icons.addIconLiteral("proj:vue",eo),this.icons.addIconLiteral("proj:react",to),this.icons.addIconLiteral("proj:node",no),this.icons.addIconLiteral("proj:eslint",oo),this.icons.addIconLiteral("proj:svn",io),this.icons.addIconLiteral("proj:ts",ro))}static \u0275fac=function(e){return new(e||t)(me(un))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})};var et=class t{constructor(n){n.init()}static \u0275fac=function(e){return new(e||t)(It(Ze))};static \u0275cmp=C({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,o){e&1&&p(0,"ngm-layout")},dependencies:[Xe],styles:["[_nghost-%COMP%]{display:block;height:100vh}"]})};nn(et,Wn).catch(t=>console.error(t));