@yinuo-ngm/server 1.0.16 → 1.0.17
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/lib/app.js +3 -15
- package/lib/common/editor.js +2 -2
- package/lib/env.d.ts +1 -0
- package/lib/env.js +1 -0
- package/lib/plugins/error-handler.plugin.d.ts +2 -2
- package/lib/plugins/error-handler.plugin.js +97 -93
- package/lib/plugins/ws/topics/nginx.ws.js +2 -1
- package/lib/plugins/ws/topics/svn.ws.d.ts +2 -1
- package/lib/plugins/ws/topics/svn.ws.js +3 -2
- package/lib/plugins/ws/topics/syslog.ws.d.ts +1 -1
- package/lib/plugins/ws/topics/task.ws.d.ts +2 -1
- package/lib/plugins/ws/topics/task.ws.js +2 -1
- package/lib/plugins/ws/ws.context.d.ts +1 -1
- package/lib/plugins/ws/ws.plugin.js +4 -3
- package/lib/plugins/ws/ws.router.d.ts +2 -2
- package/lib/plugins/ws/ws.router.js +8 -7
- package/lib/routes/api-client/collection.routes.js +8 -6
- package/lib/routes/api-client/env.routes.js +4 -3
- package/lib/routes/api-client/history.routes.js +3 -2
- package/lib/routes/api-client/hub-token.routes.js +11 -11
- package/lib/routes/api-client/request.routes.js +7 -6
- package/lib/routes/api-client/send.routes.js +3 -2
- package/lib/routes/config.routes.js +5 -5
- package/lib/routes/hub.routes.js +10 -10
- package/lib/routes/nginx/nginx-lifecycle.routes.js +4 -0
- package/lib/routes/nginx/nginx-route.context.js +23 -7
- package/lib/routes/nginx/nginx-server.routes.js +158 -6
- package/lib/routes/node-version.routes.js +7 -7
- package/lib/routes/project.routes.js +9 -9
- package/lib/routes/rss.routes.js +3 -3
- package/lib/routes/sprite-browse.routes.js +2 -1
- package/lib/routes/sprite.routes.js +3 -3
- package/lib/routes/static-files.routes.js +7 -7
- package/lib/routes/svn.routes.js +5 -3
- package/lib/routes/system.routes.js +20 -1
- package/lib/routes/task.routes.js +4 -4
- package/package.json +13 -6
- package/www/3rdpartylicenses.txt +52 -52
- package/www/browser/chunk-2L7NUOMX.js +2 -0
- package/www/browser/chunk-2NZJ7CN2.js +20 -0
- package/www/browser/{chunk-SPRWNZHF.js → chunk-3CM4SKDO.js} +2 -2
- package/www/browser/{chunk-EEVPZGEY.js → chunk-3I7BQCXS.js} +1 -1
- package/www/browser/{chunk-DXF7BVK5.js → chunk-3M56F2S2.js} +1 -1
- package/www/browser/chunk-3OHBKMAA.js +1 -0
- package/www/browser/{chunk-4KETC6EB.js → chunk-3XNNQFWR.js} +1 -1
- package/www/browser/chunk-4BRW6LCZ.js +4 -0
- package/www/browser/{chunk-HGONFYP6.js → chunk-4LBSLURA.js} +1 -1
- package/www/browser/{chunk-BYEU6KGP.js → chunk-4X42HB6N.js} +1 -1
- package/www/browser/chunk-5DYX4DUX.js +11 -0
- package/www/browser/chunk-6SYVDN5L.js +1 -0
- package/www/browser/{chunk-XJ5KZQNN.js → chunk-6YYNHZ2A.js} +1 -1
- package/www/browser/{chunk-G2W3B7TJ.js → chunk-75W3GVSO.js} +1 -1
- package/www/browser/{chunk-76TVIB33.js → chunk-7U44RF5F.js} +1 -1
- package/www/browser/{chunk-WD4IAQR3.js → chunk-AELTP6YN.js} +1 -1
- package/www/browser/chunk-AMXRL4GR.js +1 -0
- package/www/browser/chunk-AV2ZODEH.js +1 -0
- package/www/browser/chunk-AZ6SIMYH.js +1 -0
- package/www/browser/chunk-B3C35ET3.js +2 -0
- package/www/browser/chunk-BTQIUVTQ.js +1 -0
- package/www/browser/chunk-CN5J4WNO.js +1 -0
- package/www/browser/{chunk-N4LRZJBP.js → chunk-D2ODDESN.js} +1 -1
- package/www/browser/{chunk-O2EYEF7J.js → chunk-DE6E23ET.js} +1 -1
- package/www/browser/{chunk-SVQWPHF5.js → chunk-DIJPUYIA.js} +1 -1
- package/www/browser/{chunk-SYCNSLAW.js → chunk-DLGJD6YU.js} +4 -4
- package/www/browser/{chunk-JHMEKUZ5.js → chunk-EEDA5U4V.js} +1 -1
- package/www/browser/chunk-FK6Z4HLL.js +1 -0
- package/www/browser/chunk-FL6GDGHW.js +1 -0
- package/www/browser/{chunk-HRXCR3IN.js → chunk-FXCG34QS.js} +1 -1
- package/www/browser/{chunk-UJOHBN2Y.js → chunk-H2USFIYR.js} +1 -1
- package/www/browser/chunk-H5HGMOE6.js +1 -0
- package/www/browser/chunk-HB3HECPD.js +1 -0
- package/www/browser/{chunk-INL2PELS.js → chunk-HDNG236Q.js} +1 -1
- package/www/browser/{chunk-WF2QTF5L.js → chunk-HJTXXSMC.js} +1 -1
- package/www/browser/{chunk-LQ5OXSW7.js → chunk-HUMCWAKJ.js} +1 -1
- package/www/browser/chunk-IKB3EQCP.js +2 -0
- package/www/browser/{chunk-TMX5TTV3.js → chunk-K7PESFPY.js} +1 -1
- package/www/browser/{chunk-T3KK7ZXB.js → chunk-KRYMOHYF.js} +1 -1
- package/www/browser/{chunk-SQQNR223.js → chunk-M4QRBV3K.js} +1 -1
- package/www/browser/chunk-N2PELLMM.js +30 -0
- package/www/browser/{chunk-ACAZUX6C.js → chunk-ONXBYGIG.js} +1 -1
- package/www/browser/{chunk-JZULA5JV.js → chunk-OSBDR36P.js} +1 -1
- package/www/browser/chunk-OZCK4XVV.js +1 -0
- package/www/browser/{chunk-GDWS2L66.js → chunk-QJP5F735.js} +1 -1
- package/www/browser/{chunk-2X3MRS27.js → chunk-RGOYDY7H.js} +1 -1
- package/www/browser/{chunk-B6MBYCXI.js → chunk-UJKK4A7Y.js} +1 -1
- package/www/browser/{chunk-ZNTJRLVH.js → chunk-WD2EKZQC.js} +1 -1
- package/www/browser/{chunk-L5D75AMV.js → chunk-WUA5JFDD.js} +1 -1
- package/www/browser/chunk-XLFHB7RS.js +3 -0
- package/www/browser/{chunk-JU3TEDBV.js → chunk-YNW4HEJO.js} +1 -1
- package/www/browser/{chunk-RW2JPJV7.js → chunk-ZTDLWBW5.js} +1 -1
- package/www/browser/index.html +1 -1
- package/www/browser/main-N64WJCHX.js +34 -0
- package/www/browser/chunk-2BZRE4G7.js +0 -1
- package/www/browser/chunk-5T5KA5PG.js +0 -1
- package/www/browser/chunk-6CGHNKJI.js +0 -1
- package/www/browser/chunk-7J24TP36.js +0 -1
- package/www/browser/chunk-CZ5AZ3VW.js +0 -1
- package/www/browser/chunk-DW7F5PEA.js +0 -1
- package/www/browser/chunk-HHBPULJW.js +0 -2
- package/www/browser/chunk-KVFR7GFV.js +0 -20
- package/www/browser/chunk-L7TMCSHV.js +0 -1
- package/www/browser/chunk-MVQTKINJ.js +0 -1
- package/www/browser/chunk-OMDHJIUB.js +0 -1
- package/www/browser/chunk-OWUAAOHW.js +0 -2
- package/www/browser/chunk-PIK5YPIB.js +0 -1
- package/www/browser/chunk-RHLQRQDK.js +0 -9
- package/www/browser/chunk-S3SJ4VVM.js +0 -11
- package/www/browser/chunk-SIVPP74B.js +0 -0
- package/www/browser/chunk-UFY3FLDK.js +0 -1
- package/www/browser/chunk-UQGCUFNM.js +0 -1
- package/www/browser/chunk-UXXWRMM6.js +0 -1
- package/www/browser/chunk-UZRJGJTD.js +0 -2
- package/www/browser/chunk-WI67LAOV.js +0 -4
- package/www/browser/chunk-WNCM6QKB.js +0 -1
- package/www/browser/chunk-YETDFSQE.js +0 -1
- package/www/browser/chunk-YMTC5GZK.js +0 -1
- package/www/browser/chunk-YVZHJ76K.js +0 -1
- package/www/browser/main-6LN5C22E.js +0 -34
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as sn}from"./chunk-G2W3B7TJ.js";import{a as it,b as ot}from"./chunk-PIK5YPIB.js";import{a as Tt}from"./chunk-YVZHJ76K.js";import{a as cn}from"./chunk-WD4IAQR3.js";import{a as St,c as xt,g as He,i as bt,j as nt}from"./chunk-HRXCR3IN.js";import{b as nn,c as on,d as an,e as ln,f as rn}from"./chunk-4KETC6EB.js";import{Fa as ke,Ga as Me,Gb as Re,Ha as Jt,Ia as Xt,Kb as Ee,L as _,Oa as Yt,Pa as qt,Ra as Zt,Sa as Ut,T as Qt,Ub as $e,V as Ct,Va as tt,_ as _t,a as Ie,c as Vt,j as Bt,l as At,n as We,na as Ht,o as Lt,q as Wt,ra as et,sa as Qe,sb as Kt,ta as jt,ua as X,ub as Gt,vb as en,xb as tn}from"./chunk-SPRWNZHF.js";import{i as G,j as gt}from"./chunk-T3KK7ZXB.js";import{$b as _e,$c as Fe,Ac as L,B as Z,C as ae,D as Je,Da as U,Ec as V,Fb as R,Fc as Te,Gb as Ze,Gc as E,Hb as ze,Hc as Ae,Jc as K,Kc as ye,L as be,Lb as k,Lc as we,M as Be,Oa as J,Q as mt,Ra as te,U as Xe,Ub as se,V as Ye,Vb as Nt,Wb as S,Wc as Et,Xb as It,Yb as x,Zb as zt,Zc as Le,_b as kt,a as pt,ac as Se,ad as Ne,b as ht,bc as d,ca as Dt,cc as m,cd as ie,da as me,dc as u,ea as ee,ec as F,f as re,hc as Mt,ic as Ue,jc as Ke,kc as ft,l as Ce,lc as B,m as q,mc as Rt,n as Q,na as ut,nb as c,nd as $t,oa as qe,q as je,r as j,rc as N,s as w,sa as p,sb as D,tb as Pe,td as fe,u as Pt,uc as r,vc as ce,wb as Ft,wc as oe,xc as De,xd as v,ya as O,yb as ue,yc as ne,yd as Ge,za as P,zc as A}from"./chunk-WI67LAOV.js";var Dn=["nz-pagination-item",""],Fn=(t,a)=>({$implicit:t,page:a});function Nn(t,a){if(t&1&&(m(0,"a"),K(1),u()),t&2){let e=r().page;c(),ye(e)}}function In(t,a){t&1&&F(0,"nz-icon",4)}function kn(t,a){t&1&&F(0,"nz-icon",5)}function Mn(t,a){if(t&1&&(m(0,"button",2),S(1,In,1,0,"nz-icon",4)(2,kn,1,0,"nz-icon",5),u()),t&2){let e=r(2);d("disabled",e.disabled),se("title",e.locale.prev_page),c(),x(e.direction==="rtl"?1:2)}}function Rn(t,a){t&1&&F(0,"nz-icon",5)}function En(t,a){t&1&&F(0,"nz-icon",4)}function $n(t,a){if(t&1&&(m(0,"button",2),S(1,Rn,1,0,"nz-icon",5)(2,En,1,0,"nz-icon",4),u()),t&2){let e=r(2);d("disabled",e.disabled),se("title",e.locale.next_page),c(),x(e.direction==="rtl"?1:2)}}function Vn(t,a){t&1&&F(0,"nz-icon",8)}function Bn(t,a){t&1&&F(0,"nz-icon",9)}function An(t,a){if(t&1&&S(0,Vn,1,0,"nz-icon",8)(1,Bn,1,0,"nz-icon",9),t&2){let e=r(3);x(e.direction==="rtl"?0:1)}}function Ln(t,a){t&1&&F(0,"nz-icon",9)}function Wn(t,a){t&1&&F(0,"nz-icon",8)}function Qn(t,a){if(t&1&&S(0,Ln,1,0,"nz-icon",9)(1,Wn,1,0,"nz-icon",8),t&2){let e=r(3);x(e.direction==="rtl"?0:1)}}function Hn(t,a){if(t&1&&(m(0,"a",3)(1,"div",6),S(2,An,2,1)(3,Qn,2,1),m(4,"span",7),K(5,"\u2022\u2022\u2022"),u()()()),t&2){let e,n=r().$implicit;c(2),x((e=n)==="prev_5"?2:e==="next_5"?3:-1)}}function jn(t,a){if(t&1&&S(0,Nn,2,1,"a")(1,Mn,3,3,"button",2)(2,$n,3,3,"button",2)(3,Hn,6,1,"a",3),t&2){let e,n=a.$implicit;x((e=n)==="page"?0:e==="prev"?1:e==="next"?2:3)}}function Jn(t,a){}var Xn=["nz-pagination-options",""],Yn=(t,a)=>a.value;function qn(t,a){if(t&1&&F(0,"nz-option",3),t&2){let e=a.$implicit;d("nzLabel",e.label)("nzValue",e.value)}}function Zn(t,a){if(t&1){let e=B();m(0,"nz-select",2),N("ngModelChange",function(i){O(e);let o=r();return P(o.onPageSizeChange(i))}),_e(1,qn,1,2,"nz-option",3,Yn),u()}if(t&2){let e=r();d("nzDisabled",e.disabled)("nzSize",e.nzSize)("ngModel",e.pageSize),c(),Se(e.listOfPageSizeOption)}}function Un(t,a){if(t&1){let e=B();m(0,"div",1),K(1),m(2,"input",4),N("keydown.enter",function(i){O(e);let o=r();return P(o.jumpToPageViaInput(i))}),u(),K(3),u()}if(t&2){let e=r();c(),we(" ",e.locale.jump_to," "),c(),d("disabled",e.disabled),c(),we(" ",e.locale.page," ")}}var dn=["containerTemplate"],Kn=(t,a)=>({$implicit:t,range:a});function Gn(t,a){}function ei(t,a){if(t&1&&(m(0,"li",1),k(1,Gn,0,0,"ng-template",4),u()),t&2){let e=r(2);c(),d("ngTemplateOutlet",e.showTotal)("ngTemplateOutletContext",Le(2,Kn,e.total,e.ranges))}}function ti(t,a){if(t&1){let e=B();m(0,"li",5),N("gotoIndex",function(i){O(e);let o=r(2);return P(o.jumpPage(i))})("diffIndex",function(i){O(e);let o=r(2);return P(o.jumpDiff(i))}),u()}if(t&2){let e=a.$implicit,n=r(2);d("locale",n.locale)("type",e.type)("index",e.index)("disabled",!!e.disabled)("itemRender",n.itemRender)("active",n.pageIndex===e.index)("direction",n.dir)}}function ni(t,a){if(t&1){let e=B();m(0,"li",6),N("pageIndexChange",function(i){O(e);let o=r(2);return P(o.onPageIndexChange(i))})("pageSizeChange",function(i){O(e);let o=r(2);return P(o.onPageSizeChange(i))}),u()}if(t&2){let e=r(2);d("total",e.total)("locale",e.locale)("disabled",e.disabled)("nzSize",e.nzSize)("showSizeChanger",e.showSizeChanger)("showQuickJumper",e.showQuickJumper)("pageIndex",e.pageIndex)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions)}}function ii(t,a){if(t&1&&(m(0,"ul"),S(1,ei,2,5,"li",1),_e(2,ti,1,7,"li",2,Nt().trackByPageItem,!0),S(4,ni,1,9,"li",3),u()),t&2){let e=r();c(),x(e.showTotal?1:-1),c(),Se(e.listOfPageItem),c(2),x(e.showQuickJumper||e.showSizeChanger?4:-1)}}function oi(t,a){if(t&1){let e=B();m(0,"ul")(1,"li",1),N("click",function(){O(e);let i=r();return P(i.prePage())}),u(),m(2,"li",2)(3,"input",3),N("keydown.enter",function(i){O(e);let o=r();return P(o.jumpToPageViaInput(i))}),u(),m(4,"span",4),K(5,"/"),u(),K(6),u(),m(7,"li",5),N("click",function(){O(e);let i=r();return P(i.nextPage())}),u()()}if(t&2){let e=r();c(),d("locale",e.locale)("disabled",e.isFirstIndex)("direction",e.dir)("itemRender",e.itemRender),se("title",e.locale.prev_page),c(),se("title",e.pageIndex+"/"+e.lastIndex),c(),d("disabled",e.disabled)("value",e.pageIndex),c(3),we(" ",e.lastIndex," "),c(),d("locale",e.locale)("disabled",e.isLastIndex)("direction",e.dir)("itemRender",e.itemRender),se("title",e.locale==null?null:e.locale.next_page)}}function ai(t,a){}function li(t,a){if(t&1&&k(0,ai,0,0,"ng-template",4),t&2){r(2);let e=V(2);d("ngTemplateOutlet",e.template)}}function ri(t,a){}function si(t,a){if(t&1&&k(0,ri,0,0,"ng-template",4),t&2){r(2);let e=V(4);d("ngTemplateOutlet",e.template)}}function ci(t,a){if(t&1&&S(0,li,1,1,null,4)(1,si,1,1,null,4),t&2){let e=r();x(e.nzSimple?0:1)}}var yt=(()=>{class t{active=!1;locale;index=null;disabled=!1;direction="ltr";type=null;itemRender=null;diffIndex=new D;gotoIndex=new D;title=null;clickItem(){this.disabled||(this.type==="page"?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(e){let{locale:n,index:i,type:o}=e;(n||i||o)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(n,i){n&1&&N("click",function(){return i.clickItem()}),n&2&&(se("title",i.title),E("ant-pagination-prev",i.type==="prev")("ant-pagination-next",i.type==="next")("ant-pagination-item",i.type==="page")("ant-pagination-jump-prev",i.type==="prev_5")("ant-pagination-jump-prev-custom-icon",i.type==="prev_5")("ant-pagination-jump-next",i.type==="next_5")("ant-pagination-jump-next-custom-icon",i.type==="next_5")("ant-pagination-disabled",i.disabled)("ant-pagination-item-active",i.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[J],attrs:Dn,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",1,"ant-pagination-item-link",3,"disabled"],[1,"ant-pagination-item-link"],["nzType","right"],["nzType","left"],[1,"ant-pagination-item-container"],[1,"ant-pagination-item-ellipsis"],["nzType","double-right",1,"ant-pagination-item-link-icon"],["nzType","double-left",1,"ant-pagination-item-link-icon"]],template:function(n,i){if(n&1&&k(0,jn,4,1,"ng-template",null,0,ie)(2,Jn,0,0,"ng-template",1),n&2){let o=V(1);c(2),d("ngTemplateOutlet",i.itemRender||o)("ngTemplateOutletContext",Le(2,Fn,i.type,i.index))}},dependencies:[Me,ke,G],encapsulation:2,changeDetection:0})}return t})(),pn=(()=>{class t{nzSize="default";disabled=!1;showSizeChanger=!1;showQuickJumper=!1;locale;total=0;pageIndex=1;pageSize=10;pageSizeOptions=[];pageIndexChange=new D;pageSizeChange=new D;listOfPageSizeOption=[];onPageSizeChange(e){this.pageSize!==e&&this.pageSizeChange.next(e)}jumpToPageViaInput(e){let n=e.target,i=Math.floor(_t(n.value,this.pageIndex));this.pageIndexChange.next(i),n.value=""}ngOnChanges(e){let{pageSize:n,pageSizeOptions:i,locale:o}=e;(n||i||o)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(l=>({value:l,label:`${l} ${this.locale.items_per_page}`})))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[J],attrs:Xn,decls:2,vars:2,consts:[[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel"],[1,"ant-pagination-options-quick-jumper"],[1,"ant-pagination-options-size-changer",3,"ngModelChange","nzDisabled","nzSize","ngModel"],[3,"nzLabel","nzValue"],[3,"keydown.enter","disabled"]],template:function(n,i){n&1&&(S(0,Zn,3,3,"nz-select",0),S(1,Un,4,3,"div",1)),n&2&&(x(i.showSizeChanger?0:-1),c(),x(i.showQuickJumper?1:-1))},dependencies:[rn,an,ln,$e,Re,Ee],encapsulation:2,changeDetection:0})}return t})(),hn=(()=>{class t{cdr=p(fe);directionality=p(Ie);destroyRef=p(U);template;nzSize="default";itemRender=null;showTotal=null;disabled=!1;locale;showSizeChanger=!1;showQuickJumper=!1;total=0;pageIndex=1;pageSize=10;pageSizeOptions=[10,20,30,40];pageIndexChange=new D;pageSizeChange=new D;ranges=[0,0];listOfPageItem=[];dir="ltr";constructor(){let e=p(te).nativeElement,n=p(ue);n.removeChild(n.parentNode(e),e)}ngOnInit(){this.directionality.change?.pipe(_(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}jumpPage(e){this.onPageIndexChange(e)}jumpDiff(e){this.jumpPage(this.pageIndex+e)}trackByPageItem(e,n){return`${n.type}-${n.index}`}onPageIndexChange(e){this.pageIndexChange.next(e)}onPageSizeChange(e){this.pageSizeChange.next(e)}getLastIndex(e,n){return Math.ceil(e/n)}buildIndexes(){let e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e)}getListOfPageItem(e,n){let i=l=>{let s={type:"prev",disabled:e===1},z={type:"next",disabled:e===n};return[s,...l,z]},o=(l,s)=>{let z=[];for(let y=l;y<=s;y++)z.push({index:y,type:"page"});return z};return n<=9?i(o(1,n)):i(((s,z)=>{let y=[],I={type:"prev_5"},$={type:"next_5"},Y=o(1,1),de=o(n,n);if(s<5)y=[...o(2,s===4?6:5),$];else if(s<z-3)y=[I,...o(s-2,s+2),$];else{let le=s===z-3?z-5:z-4;y=[I,...o(le,z-1)]}return[...Y,...y,...de]})(e,n))}ngOnChanges(e){let{pageIndex:n,pageSize:i,total:o}=e;(n||i||o)&&(this.ranges=[(this.pageIndex-1)*this.pageSize+1,Math.min(this.pageIndex*this.pageSize,this.total)],this.buildIndexes())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-pagination-default"]],viewQuery:function(n,i){if(n&1&&ne(dn,7),n&2){let o;A(o=L())&&(i.template=o.first)}},hostVars:2,hostBindings:function(n,i){n&2&&E("ant-pagination-rtl",i.dir==="rtl")},inputs:{nzSize:"nzSize",itemRender:"itemRender",showTotal:"showTotal",disabled:"disabled",locale:"locale",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[J],decls:2,vars:0,consts:[["containerTemplate",""],[1,"ant-pagination-total-text"],["nz-pagination-item","",3,"locale","type","index","disabled","itemRender","active","direction"],["nz-pagination-options","",3,"total","locale","disabled","nzSize","showSizeChanger","showQuickJumper","pageIndex","pageSize","pageSizeOptions"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-pagination-item","",3,"gotoIndex","diffIndex","locale","type","index","disabled","itemRender","active","direction"],["nz-pagination-options","",3,"pageIndexChange","pageSizeChange","total","locale","disabled","nzSize","showSizeChanger","showQuickJumper","pageIndex","pageSize","pageSizeOptions"]],template:function(n,i){n&1&&k(0,ii,5,2,"ng-template",null,0,ie)},dependencies:[G,yt,pn],encapsulation:2,changeDetection:0})}return t})(),mn=(()=>{class t{cdr=p(fe);directionality=p(Ie);destroyRef=p(U);template;itemRender=null;disabled=!1;locale;total=0;pageIndex=1;pageSize=10;pageIndexChange=new D;lastIndex=0;isFirstIndex=!1;isLastIndex=!1;dir="ltr";constructor(){let e=p(te).nativeElement,n=p(ue);n.removeChild(n.parentNode(e),e)}ngOnInit(){this.directionality.change?.pipe(_(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}jumpToPageViaInput(e){let n=e.target,i=_t(n.value,this.pageIndex);this.onPageIndexChange(i),n.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(e){this.pageIndexChange.next(e)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=this.pageIndex===1,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(e){let{pageIndex:n,total:i,pageSize:o}=e;(n||i||o)&&this.updateBindingValue()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-pagination-simple"]],viewQuery:function(n,i){if(n&1&&ne(dn,7),n&2){let o;A(o=L())&&(i.template=o.first)}},hostVars:2,hostBindings:function(n,i){n&2&&E("ant-pagination-rtl",i.dir==="rtl")},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[J],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"click","locale","disabled","direction","itemRender"],[1,"ant-pagination-simple-pager"],["size","3",3,"keydown.enter","disabled","value"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"click","locale","disabled","direction","itemRender"]],template:function(n,i){n&1&&k(0,oi,8,14,"ng-template",null,0,ie)},dependencies:[yt],encapsulation:2,changeDetection:0})}return t})(),di="pagination",wt=(()=>{var W;let t,a=[],e=[],n,i=[],o=[],l,s=[],z=[],y,I=[],$=[],Y,de=[],le=[];return W=class{_nzModuleName=di;i18n=p(tt);cdr=p(fe);breakpointService=p(tn);nzConfigService=p(Qe);directionality=p(Ie);destroyRef=p(U);nzPageSizeChange=new D;nzPageIndexChange=new D;nzShowTotal=null;nzItemRender=null;nzSize=w(this,a,"default");nzPageSizeOptions=(w(this,e),w(this,i,[10,20,30,40]));nzShowSizeChanger=(w(this,o),w(this,s,!1));nzShowQuickJumper=(w(this,z),w(this,I,!1));nzSimple=(w(this,$),w(this,de,!1));nzDisabled=(w(this,le),!1);nzResponsive=!1;nzHideOnSinglePage=!1;nzTotal=0;nzPageIndex=1;nzPageSize=10;nzAlign=$t("start");showPagination=!0;locale;size="default";dir="ltr";total$=new Q(1);validatePageIndex(b,f){return b>f?f:b<1?1:b}onPageIndexChange(b){let f=this.getLastIndex(this.nzTotal,this.nzPageSize),g=this.validatePageIndex(b,f);g!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=g,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(b){this.nzPageSize=b,this.nzPageSizeChange.emit(b);let f=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>f&&this.onPageIndexChange(f)}onTotalChange(b){let f=this.getLastIndex(b,this.nzPageSize);this.nzPageIndex>f&&Promise.resolve().then(()=>{this.onPageIndexChange(f),this.cdr.markForCheck()})}getLastIndex(b,f){return Math.ceil(b/f)}ngOnInit(){this.i18n.localeChange.pipe(_(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe(_(this.destroyRef)).subscribe(b=>{this.onTotalChange(b)}),this.breakpointService.subscribe(en).pipe(_(this.destroyRef)).subscribe(b=>{this.nzResponsive&&(this.size=b===Gt.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe(_(this.destroyRef)).subscribe(b=>{this.dir=b,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(b){let{nzHideOnSinglePage:f,nzTotal:g,nzPageSize:ge,nzSize:H}=b;g&&this.total$.next(this.nzTotal),(f||g||ge)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),H&&(this.size=H.currentValue)}},(()=>{let b=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[X()],n=[X()],l=[X()],y=[X()],Y=[X()],j(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:f=>"nzSize"in f,get:f=>f.nzSize,set:(f,g)=>{f.nzSize=g}},metadata:b},a,e),j(null,null,n,{kind:"field",name:"nzPageSizeOptions",static:!1,private:!1,access:{has:f=>"nzPageSizeOptions"in f,get:f=>f.nzPageSizeOptions,set:(f,g)=>{f.nzPageSizeOptions=g}},metadata:b},i,o),j(null,null,l,{kind:"field",name:"nzShowSizeChanger",static:!1,private:!1,access:{has:f=>"nzShowSizeChanger"in f,get:f=>f.nzShowSizeChanger,set:(f,g)=>{f.nzShowSizeChanger=g}},metadata:b},s,z),j(null,null,y,{kind:"field",name:"nzShowQuickJumper",static:!1,private:!1,access:{has:f=>"nzShowQuickJumper"in f,get:f=>f.nzShowQuickJumper,set:(f,g)=>{f.nzShowQuickJumper=g}},metadata:b},I,$),j(null,null,Y,{kind:"field",name:"nzSimple",static:!1,private:!1,access:{has:f=>"nzSimple"in f,get:f=>f.nzSimple,set:(f,g)=>{f.nzSimple=g}},metadata:b},de,le),b&&Object.defineProperty(W,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:b})})(),re(W,"\u0275fac",function(f){return new(f||W)}),re(W,"\u0275cmp",R({type:W,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:14,hostBindings:function(f,g){f&2&&E("ant-pagination-simple",g.nzSimple)("ant-pagination-disabled",g.nzDisabled)("ant-pagination-mini",!g.nzSimple&&g.size==="small")("ant-pagination-rtl",g.dir==="rtl")("ant-pagination-start",g.nzAlign()==="start")("ant-pagination-center",g.nzAlign()==="center")("ant-pagination-end",g.nzAlign()==="end")},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:[2,"nzShowSizeChanger","nzShowSizeChanger",v],nzShowQuickJumper:[2,"nzShowQuickJumper","nzShowQuickJumper",v],nzSimple:[2,"nzSimple","nzSimple",v],nzDisabled:[2,"nzDisabled","nzDisabled",v],nzResponsive:[2,"nzResponsive","nzResponsive",v],nzHideOnSinglePage:[2,"nzHideOnSinglePage","nzHideOnSinglePage",v],nzTotal:[2,"nzTotal","nzTotal",Ge],nzPageIndex:[2,"nzPageIndex","nzPageIndex",Ge],nzPageSize:[2,"nzPageSize","nzPageSize",Ge],nzAlign:[1,"nzAlign"]},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[J],decls:5,vars:18,consts:[["simplePagination",""],["defaultPagination",""],[3,"pageIndexChange","disabled","itemRender","locale","pageSize","total","pageIndex"],[3,"pageIndexChange","pageSizeChange","nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions"],[3,"ngTemplateOutlet"]],template:function(f,g){if(f&1){let ge=B();S(0,ci,2,1),m(1,"nz-pagination-simple",2,0),N("pageIndexChange",function(Ve){return O(ge),P(g.onPageIndexChange(Ve))}),u(),m(3,"nz-pagination-default",3,1),N("pageIndexChange",function(Ve){return O(ge),P(g.onPageIndexChange(Ve))})("pageSizeChange",function(Ve){return O(ge),P(g.onPageSizeChange(Ve))}),u()}f&2&&(x(g.showPagination?0:-1),c(),d("disabled",g.nzDisabled)("itemRender",g.nzItemRender)("locale",g.locale)("pageSize",g.nzPageSize)("total",g.nzTotal)("pageIndex",g.nzPageIndex),c(2),d("nzSize",g.size)("itemRender",g.nzItemRender)("showTotal",g.nzShowTotal)("disabled",g.nzDisabled)("locale",g.locale)("showSizeChanger",g.nzShowSizeChanger)("showQuickJumper",g.nzShowQuickJumper)("total",g.nzTotal)("pageIndex",g.nzPageIndex)("pageSize",g.nzPageSize)("pageSizeOptions",g.nzPageSizeOptions))},dependencies:[G,mn,hn],encapsulation:2,changeDetection:0})),W})(),un=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ze({type:t});static \u0275inj=qe({imports:[wt,mn,pn,yt,hn]})}return t})();var xe=["*"],hi=(t,a)=>a.value;function mi(t,a){}function ui(t,a){if(t&1){let e=B();m(0,"label",14),N("ngModelChange",function(){O(e);let i=r().$implicit,o=r(2);return P(o.check(i))}),u()}if(t&2){let e=r().$implicit;d("ngModel",e.checked)}}function zi(t,a){if(t&1){let e=B();m(0,"label",15),N("ngModelChange",function(){O(e);let i=r().$implicit,o=r(2);return P(o.check(i))}),u()}if(t&2){let e=r().$implicit;d("ngModel",e.checked)}}function fi(t,a){if(t&1){let e=B();m(0,"li",11),N("click",function(){let i=O(e).$implicit,o=r(2);return P(o.check(i))}),S(1,ui,1,1,"label",12)(2,zi,1,1,"label",13),m(3,"span"),K(4),u()()}if(t&2){let e=a.$implicit,n=r(2);d("nzSelected",e.checked),c(),x(n.filterMultiple?2:1),c(3),ye(e.text)}}function gi(t,a){if(t&1){let e=B();m(0,"nz-filter-trigger",3),N("nzVisibleChange",function(i){O(e);let o=r();return P(o.onVisibleChange(i))}),F(1,"nz-icon",4),u(),m(2,"nz-dropdown-menu",null,0)(4,"div",5)(5,"ul",6),_e(6,fi,5,3,"li",7,hi),u(),m(8,"div",8)(9,"button",9),N("click",function(){O(e);let i=r();return P(i.reset())}),K(10),u(),m(11,"button",10),N("click",function(){O(e);let i=r();return P(i.confirm())}),K(12),u()()()()}if(t&2){let e=V(3),n=r();d("nzVisible",n.isVisible)("nzActive",n.isChecked)("nzDropdownMenu",e),c(6),Se(n.listOfParsedFilter),c(3),d("disabled",!n.isChecked),c(),we(" ",n.locale.filterReset," "),c(2),ye(n.locale.filterConfirm)}}function Ci(t,a){if(t&1&&ft(0,2),t&2){let e=r();d("ngTemplateOutlet",e.extraTemplate)}}function _i(t,a){if(t&1){let e=B();m(0,"label",3),N("ngModelChange",function(i){O(e);let o=r();return P(o.onCheckedChange(i))}),u()}if(t&2){let e=r();E("ant-table-selection-select-all-custom",e.showRowSelection),d("ngModel",e.checked)("nzDisabled",e.disabled)("nzIndeterminate",e.indeterminate),se("aria-label",e.label)}}function Si(t,a){if(t&1){let e=B();m(0,"li",8),N("click",function(){let i=O(e).$implicit;return P(i.onSelect())}),K(1),u()}if(t&2){let e=a.$implicit;c(),we(" ",e.text," ")}}function xi(t,a){if(t&1&&(m(0,"div",2)(1,"span",4),F(2,"nz-icon",5),u(),m(3,"nz-dropdown-menu",null,0)(5,"ul",6),_e(6,Si,2,1,"li",7,kt),u()()()),t&2){let e=V(4),n=r();c(),d("nzDropdownMenu",e),c(5),Se(n.listOfSelections)}}function bi(t,a){}function Ti(t,a){if(t&1&&F(0,"nz-icon",6),t&2){let e=r();E("active",e.sortOrder==="ascend")}}function yi(t,a){if(t&1&&F(0,"nz-icon",7),t&2){let e=r();E("active",e.sortOrder==="descend")}}var wi=["nzChecked",""];function vi(t,a){}function Oi(t,a){if(t&1&&k(0,vi,0,0,"ng-template",2),t&2){let e=r(2);d("ngTemplateOutlet",e.nzExpandIcon)}}function Pi(t,a){if(t&1){let e=B();m(0,"button",4),N("expandChange",function(i){O(e);let o=r(2);return P(o.onExpandChange(i))}),u()}if(t&2){let e=r(2);d("expand",e.nzExpand)("spaceMode",!e.nzShowExpand)}}function Di(t,a){if(t&1&&(F(0,"nz-row-indent",1),S(1,Oi,1,1,null,2)(2,Pi,1,2,"button",3)),t&2){let e=r();d("indentSize",e.nzIndentSize),c(),x(e.nzExpandIcon?1:2)}}function Fi(t,a){if(t&1){let e=B();m(0,"label",5),N("ngModelChange",function(i){O(e);let o=r();return P(o.onCheckedChange(i))}),u()}if(t&2){let e=r();d("nzDisabled",e.nzDisabled)("ngModel",e.nzChecked)("nzIndeterminate",e.nzIndeterminate),se("aria-label",e.nzLabel)}}var Ni=["nzColumnKey",""],Ii=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],ki=["[nz-th-extra]","nz-filter-trigger","*"];function Mi(t,a){if(t&1){let e=B();m(0,"nz-table-filter",6),N("filterChange",function(i){O(e);let o=r();return P(o.onFilterValueChange(i))}),u()}if(t&2){let e=r(),n=V(3),i=V(5);d("contentTemplate",n)("extraTemplate",i)("customFilter",e.nzCustomFilter)("filterMultiple",e.nzFilterMultiple)("listOfFilter",e.nzFilters)}}function Ri(t,a){if(t&1&&ft(0,5),t&2){r();let e=V(3);d("ngTemplateOutlet",e)}}function Ei(t,a){}function $i(t,a){if(t&1&&k(0,Ei,0,0,"ng-template",5),t&2){let e=r(),n=V(7),i=V(9);d("ngTemplateOutlet",e.nzShowSort?n:i)}}function Vi(t,a){t&1&&(oe(0),oe(1,1))}function Bi(t,a){if(t&1&&F(0,"nz-table-sorters",7),t&2){let e=r(),n=V(9);d("sortOrder",e.sortOrder)("sortDirections",e.sortDirections)("contentTemplate",n)}}function Ai(t,a){t&1&&oe(0,2)}var Li=["nzSelections",""],Wi=["nz-table-content",""];function Qi(t,a){if(t&1&&F(0,"col"),t&2){let e=a.$implicit;Te("width",e)("min-width",e)}}function Hi(t,a){if(t&1&&(m(0,"colgroup"),_e(1,Qi,1,4,"col",3,zt),u()),t&2){let e=r();c(),Se(e.listOfColWidth)}}function ji(t,a){}function Ji(t,a){if(t&1&&(m(0,"thead",0),k(1,ji,0,0,"ng-template",1),u()),t&2){let e=r();c(),d("ngTemplateOutlet",e.theadTemplate)}}function Xi(t,a){}function Yi(t,a){}function qi(t,a){if(t&1&&(m(0,"tfoot",2),k(1,Yi,0,0,"ng-template",1),u()),t&2){let e=r();c(),d("ngTemplateOutlet",e.tfootTemplate)}}var fn=["tdElement"],Zi=["nz-table-fixed-row",""];function Ui(t,a){}function Ki(t,a){if(t&1&&(m(0,"div",5),Fe(1,"async"),k(2,Ui,0,0,"ng-template",4),u()),t&2){let e=r(),n=V(6);Te("width",Ne(1,3,e.hostWidth$),"px"),c(2),d("ngTemplateOutlet",n)}}function Gi(t,a){}function eo(t,a){if(t&1&&k(0,Gi,0,0,"ng-template",4),t&2){r();let e=V(6);d("ngTemplateOutlet",e)}}function to(t,a){t&1&&oe(0)}var no=["nz-table-measure-row",""];function io(t,a){t&1&&Mt(0,"td",1,0)}function oo(t,a){if(t&1){let e=B();m(0,"tr",2),N("listOfAutoWidth",function(i){O(e);let o=r(2);return P(o.onListOfAutoWidthChange(i))}),u()}if(t&2){let e=r();d("listOfMeasureColumn",e)}}function ao(t,a){if(t&1&&S(0,oo,1,1,"tr",1),t&2){let e=r();x(e.isInsideTable&&a.length?0:-1)}}function lo(t,a){if(t&1&&(m(0,"tr",0),F(1,"nz-embed-empty",3),Fe(2,"async"),u()),t&2){let e=r();c(),d("specificContent",Ne(2,1,e.noResult$))}}var ro=["tableHeaderElement"],so=["tableBodyElement"],co=["tableFootElement"],po=(t,a)=>({$implicit:t,index:a});function ho(t,a){if(t&1&&(m(0,"div",9,1),F(2,"table",10),u()),t&2){let e=r(2);Ae(e.bodyStyleMap),c(2),d("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("contentTemplate",e.contentTemplate)}}function mo(t,a){}function uo(t,a){if(t&1&&(Ue(0),k(1,mo,0,0,"ng-template",14),Ke()),t&2){let e=a.$implicit,n=a.index,i=r(3);c(),d("ngTemplateOutlet",i.virtualTemplate)("ngTemplateOutletContext",Le(2,po,e,n))}}function zo(t,a){if(t&1&&(m(0,"cdk-virtual-scroll-viewport",11,1)(2,"table",12)(3,"tbody"),k(4,uo,2,5,"ng-container",13),u()()()),t&2){let e=r(2);Te("height",e.data.length?e.scrollY:e.noDataVirtualHeight),d("itemSize",e.virtualItemSize)("maxBufferPx",e.virtualMaxBufferPx)("minBufferPx",e.virtualMinBufferPx),c(2),d("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth),c(2),d("cdkVirtualForOf",e.data)("cdkVirtualForTrackBy",e.virtualForTrackBy)}}function fo(t,a){if(t&1&&(m(0,"div",15,2),F(2,"table",16),u()),t&2){let e=r(2);Ae(e.headerStyleMap),c(2),d("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("tfootTemplate",e.tfootTemplate)}}function go(t,a){if(t&1&&(m(0,"div",4,0),F(2,"table",5),u(),S(3,ho,3,5,"div",6)(4,zo,5,9,"cdk-virtual-scroll-viewport",7),S(5,fo,3,5,"div",8)),t&2){let e=r();Ae(e.headerStyleMap),c(2),d("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate)("tfootTemplate",e.tfootFixed==="top"?e.tfootTemplate:null),c(),x(e.virtualTemplate?4:3),c(2),x(e.tfootFixed==="bottom"?5:-1)}}function Co(t,a){if(t&1&&(m(0,"div",17,1),F(2,"table",18),u()),t&2){let e=r();Ae(e.bodyStyleMap),c(2),d("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",e.contentTemplate)("tfootTemplate",e.tfootTemplate)}}function _o(t,a){if(t&1&&(Ue(0),K(1),Ke()),t&2){let e=r();c(),ye(e.title)}}function So(t,a){if(t&1&&(Ue(0),K(1),Ke()),t&2){let e=r();c(),ye(e.footer)}}function xo(t,a){}function bo(t,a){if(t&1&&k(0,xo,0,0,"ng-template",4),t&2){r();let e=V(10);d("ngTemplateOutlet",e)}}function To(t,a){if(t&1&&F(0,"nz-table-title-footer",6),t&2){let e=r();d("title",e.nzTitle)}}function yo(t,a){if(t&1&&F(0,"nz-table-inner-scroll",7),t&2){let e=r(),n=V(3),i=V(12);d("data",e.data)("scrollX",e.scrollX)("scrollY",e.scrollY)("contentTemplate",i)("listOfColWidth",e.listOfAutoColWidth)("theadTemplate",e.theadTemplate)("tfootTemplate",e.tfootTemplate)("tfootFixed",e.tfootFixed)("verticalScrollBarWidth",e.verticalScrollBarWidth)("virtualTemplate",e.nzVirtualScrollDirective?e.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",e.nzVirtualItemSize)("virtualMaxBufferPx",e.nzVirtualMaxBufferPx)("virtualMinBufferPx",e.nzVirtualMinBufferPx)("tableMainElement",n)("virtualForTrackBy",e.nzVirtualForTrackBy)("noDataVirtualHeight",e.noDataVirtualHeight)}}function wo(t,a){if(t&1&&F(0,"nz-table-inner-default",8),t&2){let e=r(),n=V(12);d("tableLayout",e.nzTableLayout)("listOfColWidth",e.listOfManualColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",n)("tfootTemplate",e.tfootTemplate)}}function vo(t,a){if(t&1&&F(0,"nz-table-title-footer",9),t&2){let e=r();d("footer",e.nzFooter)}}function Oo(t,a){}function Po(t,a){if(t&1&&k(0,Oo,0,0,"ng-template",4),t&2){r();let e=V(10);d("ngTemplateOutlet",e)}}function Do(t,a){if(t&1){let e=B();m(0,"nz-pagination",11),N("nzPageSizeChange",function(i){O(e);let o=r(2);return P(o.onPageSizeChange(i))})("nzPageIndexChange",function(i){O(e);let o=r(2);return P(o.onPageIndexChange(i))}),u()}if(t&2){let e=r(2);d("hidden",!e.showPagination)("nzShowSizeChanger",e.nzShowSizeChanger)("nzPageSizeOptions",e.nzPageSizeOptions)("nzItemRender",e.nzItemRender)("nzShowQuickJumper",e.nzShowQuickJumper)("nzHideOnSinglePage",e.nzHideOnSinglePage)("nzShowTotal",e.nzShowTotal)("nzSize",e.nzPaginationType==="small"?"small":e.nzSize==="default"?"default":"small")("nzPageSize",e.nzPageSize)("nzTotal",e.nzTotal)("nzSimple",e.nzSimple)("nzPageIndex",e.nzPageIndex)}}function Fo(t,a){if(t&1&&S(0,Do,1,12,"nz-pagination",10),t&2){let e=r();x(e.nzShowPagination&&e.data.length?0:-1)}}function No(t,a){t&1&&oe(0)}var Io=["contentTemplate"];function ko(t,a){t&1&&oe(0)}function Mo(t,a){}function Ro(t,a){if(t&1&&k(0,Mo,0,0,"ng-template",1),t&2){r();let e=V(1);d("ngTemplateOutlet",e)}}var Eo="filterTrigger",gn=(()=>{var n;let t,a=[],e=[];return n=class{_nzModuleName=Eo;nzConfigService=p(Qe);cdr=p(fe);destroyRef=p(U);nzActive=!1;nzDropdownMenu;nzVisible=!1;nzBackdrop=w(this,a,!1);nzVisibleChange=(w(this,e),new D);nzDropdown;onVisibleChange(o){this.nzVisible=o,this.nzVisibleChange.next(o)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}ngOnInit(){et(this.nzDropdown.nativeElement,"click").pipe(_(this.destroyRef)).subscribe(o=>o.stopPropagation())}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[X()],j(null,null,t,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:l=>"nzBackdrop"in l,get:l=>l.nzBackdrop,set:(l,s)=>{l.nzBackdrop=s}},metadata:o},a,e),o&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),re(n,"\u0275fac",function(l){return new(l||n)}),re(n,"\u0275cmp",R({type:n,selectors:[["nz-filter-trigger"]],viewQuery:function(l,s){if(l&1&&ne(He,7,te),l&2){let z;A(z=L())&&(s.nzDropdown=z.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:[2,"nzBackdrop","nzBackdrop",v]},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],ngContentSelectors:xe,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzVisibleChange","nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible"]],template:function(l,s){l&1&&(ce(),m(0,"span",0),N("nzVisibleChange",function(y){return s.onVisibleChange(y)}),oe(1),u()),l&2&&(E("active",s.nzActive)("ant-table-filter-open",s.nzVisible),d("nzBackdrop",s.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",s.nzDropdownMenu)("nzVisible",s.nzVisible))},dependencies:[nt,He],encapsulation:2,changeDetection:0})),n})(),Cn=(()=>{class t{cdr=p(fe);i18n=p(tt);destroyRef=p(U);contentTemplate=null;customFilter=!1;extraTemplate=null;filterMultiple=!0;listOfFilter=[];filterChange=new D;locale;isChecked=!1;isVisible=!1;listOfParsedFilter=[];listOfChecked=[];check(e){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(n=>n===e?ht(pt({},n),{checked:!e.checked}):n),e.checked=!e.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(n=>ht(pt({},n),{checked:n===e})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(e){this.isVisible=e,e?this.listOfChecked=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value):this.emitFilterData()}emitFilterData(){let e=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value);Qt(this.listOfChecked,e)||(this.filterMultiple?this.filterChange.emit(e):this.filterChange.emit(e.length>0?e[0]:null))}parseListOfFilter(e,n){return e.map(i=>{let o=n?!1:!!i.byDefault;return{text:i.text,value:i.value,checked:o}})}getCheckedStatus(e){return e.some(n=>n.checked)}ngOnInit(){this.i18n.localeChange.pipe(_(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(e){let{listOfFilter:n}=e;n&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[J],decls:4,vars:2,consts:[["filterMenu","nzDropdownMenu"],[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[3,"nzVisibleChange","nzVisible","nzActive","nzDropdownMenu"],["nzType","filter","nzTheme","fill"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"click","disabled"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"click","nzSelected"],["nz-radio","",3,"ngModel"],["nz-checkbox","",3,"ngModel"],["nz-radio","",3,"ngModelChange","ngModel"],["nz-checkbox","",3,"ngModelChange","ngModel"]],template:function(n,i){n&1&&(m(0,"span",1),k(1,mi,0,0,"ng-template",2),u(),S(2,gi,13,6)(3,Ci,1,1,"ng-container",2)),n&2&&(c(),d("ngTemplateOutlet",i.contentTemplate),c(),x(i.customFilter?3:2))},dependencies:[G,gn,Me,ke,nt,xt,St,bt,sn,ot,it,$e,Re,Ee,Ut,Zt,Yt,qt],encapsulation:2,changeDetection:0})}return t})(),$o=(()=>{class t{expand=!1;spaceMode=!1;expandChange=new D;onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function(n,i){n&1&&N("click",function(){return i.onHostClick()}),n&2&&(Rt("type","button"),E("ant-table-row-expand-icon-expanded",!i.spaceMode&&i.expand===!0)("ant-table-row-expand-icon-collapsed",!i.spaceMode&&i.expand===!1)("ant-table-row-expand-icon-spaced",i.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}})}return t})(),Vo=(()=>{class t{indentSize=0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function(n,i){n&2&&Te("padding-left",i.indentSize,"px")},inputs:{indentSize:"indentSize"}})}return t})(),_n=(()=>{class t{listOfSelections=[];checked=!1;disabled=!1;indeterminate=!1;label=null;showCheckbox=!1;showRowSelection=!1;checkedChange=new D;onCheckedChange(e){this.checked=e,this.checkedChange.emit(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-selection"]],hostAttrs:[1,"ant-table-selection"],inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",label:"label",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},decls:2,vars:2,consts:[["selectionMenu","nzDropdownMenu"],["nz-checkbox","",3,"ant-table-selection-select-all-custom","ngModel","nzDisabled","nzIndeterminate"],[1,"ant-table-selection-extra"],["nz-checkbox","",3,"ngModelChange","ngModel","nzDisabled","nzIndeterminate"],["nz-dropdown","","nzPlacement","bottomLeft",1,"ant-table-selection-down",3,"nzDropdownMenu"],["nzType","down"],["nz-menu","",1,"ant-table-selection-menu"],["nz-menu-item",""],["nz-menu-item","",3,"click"]],template:function(n,i){n&1&&(S(0,_i,1,6,"label",1),S(1,xi,8,1,"div",2)),n&2&&(x(i.showCheckbox?0:-1),c(),x(i.showRowSelection?1:-1))},dependencies:[$e,Re,Ee,ot,it,nt,xt,St,He,bt,Me,ke],encapsulation:2,changeDetection:0})}return t})(),Sn=(()=>{class t{sortDirections=["ascend","descend",null];sortOrder=null;contentTemplate=null;isUp=!1;isDown=!1;ngOnChanges(e){let{sortDirections:n}=e;n&&(this.isUp=this.sortDirections.indexOf("ascend")!==-1,this.isDown=this.sortDirections.indexOf("descend")!==-1)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[J],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nzType","caret-up",1,"ant-table-column-sorter-up",3,"active"],["nzType","caret-down",1,"ant-table-column-sorter-down",3,"active"],["nzType","caret-up",1,"ant-table-column-sorter-up"],["nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(n,i){n&1&&(m(0,"span",0),k(1,bi,0,0,"ng-template",1),u(),m(2,"span",2)(3,"span",3),S(4,Ti,1,2,"nz-icon",4),S(5,yi,1,2,"nz-icon",5),u()()),n&2&&(c(),d("ngTemplateOutlet",i.contentTemplate),c(),E("ant-table-column-sorter-full",i.isDown&&i.isUp),c(2),x(i.isUp?4:-1),c(),x(i.isDown?5:-1))},dependencies:[Me,ke,G],encapsulation:2,changeDetection:0})}return t})(),Bo=(()=>{class t{renderer=p(ue);el=p(te).nativeElement;nzRight=!1;nzLeft=!1;colspan=null;colSpan=null;changes$=new Ce;isAutoLeft=!1;isAutoRight=!1;isFixedLeft=!1;isFixedRight=!1;isFixed=!1;setAutoLeftWidth(e){this.renderer.setStyle(this.el,"left",e)}setAutoRightWidth(e){this.renderer.setStyle(this.el,"right",e)}setIsFirstRight(e){this.setFixClass(e,"ant-table-cell-fix-right-first")}setIsLastLeft(e){this.setFixClass(e,"ant-table-cell-fix-left-last")}setFixClass(e,n){this.renderer.removeClass(this.el,n),e&&this.renderer.addClass(this.el,n)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=this.nzLeft===""||this.nzLeft===!0,this.isAutoRight=this.nzRight===""||this.nzRight===!0,this.isFixedLeft=this.nzLeft!==!1,this.isFixedRight=this.nzRight!==!1,this.isFixed=this.isFixedLeft||this.isFixedRight;let e=n=>typeof n=="string"&&n!==""?n:null;this.setAutoLeftWidth(e(this.nzLeft)),this.setAutoRightWidth(e(this.nzRight)),this.changes$.next()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(n,i){n&2&&(Te("position",i.isFixed?"sticky":null),E("ant-table-cell-fix-right",i.isFixedRight)("ant-table-cell-fix-left",i.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[J]})}return t})(),ve=(()=>{class t{theadTemplate$=new Q(1);tfootTemplate$=new Q(1);tfootFixed$=new Q(1);hasFixLeft$=new Q(1);hasFixRight$=new Q(1);hostWidth$=new Q(1);columnCount$=new Q(1);showEmpty$=new Q(1);noResult$=new Q(1);listOfThWidthConfigPx$=new q([]);tableWidthConfigPx$=new q([]);manualWidthConfigPx$=ae([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe(Z(([e,n])=>e.length?e:n));listOfAutoWidthPx$=new Q(1);listOfListOfThWidthPx$=be(this.manualWidthConfigPx$,ae([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe(Z(([e,n])=>e.length===n.length?e.map((i,o)=>i==="0px"?n[o]||null:n[o]||i):n)));listOfMeasureColumn$=new Q(1);listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe(Z(e=>e.map(n=>parseInt(n,10))));enableAutoMeasure$=new Q(1);setTheadTemplate(e){this.theadTemplate$.next(e)}setTfootTemplate(e){this.tfootTemplate$.next(e)}setTfootFixed(e){this.tfootFixed$.next(e)}setHasFixLeft(e){this.hasFixLeft$.next(e)}setHasFixRight(e){this.hasFixRight$.next(e)}setTableWidthConfig(e){this.tableWidthConfigPx$.next(e)}setListOfTh(e){let n=0;e.forEach(o=>{n+=o.colspan&&+o.colspan||o.colSpan&&+o.colSpan||1});let i=e.map(o=>o.nzWidth);this.columnCount$.next(n),this.listOfThWidthConfigPx$.next(i)}setListOfMeasureColumn(e){let n=[];e.forEach(i=>{let o=i.colspan&&+i.colspan||i.colSpan&&+i.colSpan||1;for(let l=0;l<o;l++)n.push(`measure_key_${l}`)}),this.listOfMeasureColumn$.next(n)}setListOfAutoWidth(e){this.listOfAutoWidthPx$.next(e.map(n=>`${n}px`))}setShowEmpty(e){this.showEmpty$.next(e)}setNoResult(e){this.noResult$.next(e)}setScroll(e,n){let i=!!(e||n);i||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ut({token:t,factory:t.\u0275fac})}return t})(),cl=(()=>{class t{isInsideTable=!!p(ve,{optional:!0});static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["th",9,"nz-disable-th"],["td",9,"nz-disable-td"]],hostVars:2,hostBindings:function(n,i){n&2&&E("ant-table-cell",i.isInsideTable)}})}return t})(),vt=(()=>{class t{destroyRef=p(U);pageIndex$=new q(1);frontPagination$=new q(!0);pageSize$=new q(10);listOfData$=new q([]);listOfCustomColumn$=new q([]);pageIndexDistinct$=this.pageIndex$.pipe(Ye());pageSizeDistinct$=this.pageSize$.pipe(Ye());listOfCalcOperator$=new q([]);queryParams$=ae([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe(mt(0),Dt(1),Z(([e,n,i])=>({pageIndex:e,pageSize:n,sort:i.filter(o=>o.sortFn).map(o=>({key:o.key,value:o.sortOrder})),filter:i.filter(o=>o.filterFn).map(o=>({key:o.key,value:o.filterValue}))})));listOfDataAfterCalc$=ae([this.listOfData$,this.listOfCalcOperator$]).pipe(Z(([e,n])=>{let i=[...e],o=n.filter(s=>{let{filterValue:z,filterFn:y}=s;return!(z==null||Array.isArray(z)&&z.length===0)&&typeof y=="function"});for(let s of o){let{filterFn:z,filterValue:y}=s;i=i.filter(I=>z(y,I))}let l=n.filter(s=>s.sortOrder!==null&&typeof s.sortFn=="function").sort((s,z)=>+z.sortPriority-+s.sortPriority);return n.length&&i.sort((s,z)=>{for(let y of l){let{sortFn:I,sortOrder:$}=y;if(I&&$){let Y=I(s,z,$);if(Y!==0)return $==="ascend"?Y:-Y}}return 0}),i}));listOfFrontEndCurrentPageData$=ae([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe(_(this.destroyRef),Be(e=>{let[n,i,o]=e,l=Math.ceil(o.length/i)||1;return n<=l}),Z(([e,n,i])=>i.slice((e-1)*n,e*n)));listOfCurrentPageData$=this.frontPagination$.pipe(ee(e=>e?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$));total$=this.frontPagination$.pipe(ee(e=>e?this.listOfDataAfterCalc$:this.listOfData$),Z(e=>e.length),Ye());updatePageSize(e){this.pageSize$.next(e)}updateFrontPagination(e){this.frontPagination$.next(e)}updatePageIndex(e){this.pageIndex$.next(e)}updateListOfData(e){this.listOfData$.next(e)}updateListOfCustomColumn(e){this.listOfCustomColumn$.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ut({token:t,factory:t.\u0275fac})}return t})();var Ao=(()=>{class t{nzChecked=!1;nzDisabled=!1;nzIndeterminate=!1;nzLabel=null;nzIndentSize=0;nzShowExpand=!1;nzShowCheckbox=!1;nzExpand=!1;nzExpandIcon=null;nzCheckedChange=new D;nzExpandChange=new D;isNzShowExpandChanged=!1;isNzShowCheckboxChanged=!1;onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e)}onExpandChange(e){this.nzExpand=e,this.nzExpandChange.emit(e)}ngOnChanges(e){let n=z=>z&&z.firstChange&&z.currentValue!==void 0,{nzExpand:i,nzChecked:o,nzShowExpand:l,nzShowCheckbox:s}=e;l&&(this.isNzShowExpandChanged=!0),s&&(this.isNzShowCheckboxChanged=!0),n(i)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),n(o)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function(n,i){n&2&&E("ant-table-cell-with-append",i.nzShowExpand||i.nzIndentSize>0)("ant-table-selection-column",i.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzIndentSize:"nzIndentSize",nzShowExpand:[2,"nzShowExpand","nzShowExpand",v],nzShowCheckbox:[2,"nzShowCheckbox","nzShowCheckbox",v],nzExpand:[2,"nzExpand","nzExpand",v],nzExpandIcon:"nzExpandIcon"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[J],attrs:wi,ngContentSelectors:xe,decls:3,vars:2,consts:[["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate"],[3,"indentSize"],[3,"ngTemplateOutlet"],["nz-row-expand-button","",3,"expand","spaceMode"],["nz-row-expand-button","",3,"expandChange","expand","spaceMode"],["nz-checkbox","",3,"ngModelChange","nzDisabled","ngModel","nzIndeterminate"]],template:function(n,i){n&1&&(ce(),S(0,Di,3,2),S(1,Fi,1,4,"label",0),oe(2)),n&2&&(x(i.nzShowExpand||i.nzIndentSize>0?0:-1),c(),x(i.nzShowCheckbox?1:-1))},dependencies:[Vo,$o,G,ot,it,$e,Re,Ee],encapsulation:2,changeDetection:0})}return t})(),Lo="table",xn=(()=>{var n;let t,a=[],e=[];return n=class{_nzModuleName=Lo;nzConfigService=p(Qe);el=p(te).nativeElement;destroyRef=p(U);cdr=p(fe);ngZone=p(Pe);manualClickOrder$=new Ce;calcOperatorChange$=new Ce;nzFilterValue=null;sortOrder=null;sortDirections=["ascend","descend",null];sortOrderChange$=new Ce;isNzShowSortChanged=!1;isNzShowFilterChanged=!1;nzColumnKey;nzFilterMultiple=!0;nzSortOrder=null;nzSortPriority=!1;nzSortDirections=w(this,a,["ascend","descend",null]);nzFilters=(w(this,e),[]);nzSortFn=null;nzFilterFn=null;nzShowSort=!1;nzShowFilter=!1;nzCustomFilter=!1;nzCheckedChange=new D;nzSortOrderChange=new D;nzFilterChange=new D;getNextSortDirection(o,l){let s=o.indexOf(l);return s===o.length-1?o[0]:o[s+1]}setSortOrder(o){this.sortOrderChange$.next(o)}clearSortOrder(){this.sortOrder!==null&&this.setSortOrder(null)}onFilterValueChange(o){this.nzFilterChange.emit(o),this.nzFilterValue=o,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){et(this.el,"click").pipe(Be(()=>this.nzShowSort),_(this.destroyRef)).subscribe(()=>{let o=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(o),this.manualClickOrder$.next(this)})}),this.sortOrderChange$.pipe(_(this.destroyRef)).subscribe(o=>{this.sortOrder!==o&&(this.sortOrder=o,this.nzSortOrderChange.emit(o)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(o){let{nzSortDirections:l,nzFilters:s,nzSortOrder:z,nzSortFn:y,nzFilterFn:I,nzSortPriority:$,nzFilterMultiple:Y,nzShowSort:de,nzShowFilter:le}=o;l&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),z&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),de&&(this.isNzShowSortChanged=!0),le&&(this.isNzShowFilterChanged=!0);let W=pe=>pe&&pe.firstChange&&pe.currentValue!==void 0;if((W(z)||W(y))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),W(s)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(s||Y)&&this.nzShowFilter){let pe=this.nzFilters.filter(b=>b.byDefault).map(b=>b.value);this.nzFilterValue=this.nzFilterMultiple?pe:pe[0]||null}(y||I||$||s)&&this.updateCalcOperator()}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[X()],j(null,null,t,{kind:"field",name:"nzSortDirections",static:!1,private:!1,access:{has:l=>"nzSortDirections"in l,get:l=>l.nzSortDirections,set:(l,s)=>{l.nzSortDirections=s}},metadata:o},a,e),o&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),re(n,"\u0275fac",function(l){return new(l||n)}),re(n,"\u0275cmp",R({type:n,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(l,s){l&2&&E("ant-table-column-has-sorters",s.nzShowSort)("ant-table-column-sort",s.sortOrder==="descend"||s.sortOrder==="ascend")},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:[2,"nzShowSort","nzShowSort",v],nzShowFilter:[2,"nzShowFilter","nzShowFilter",v],nzCustomFilter:[2,"nzCustomFilter","nzCustomFilter",v]},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[J],attrs:Ni,ngContentSelectors:ki,decls:10,vars:1,consts:[["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter"],[3,"ngTemplateOutlet"],[3,"filterChange","contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(l,s){l&1&&(ce(Ii),S(0,Mi,1,5,"nz-table-filter",4)(1,Ri,1,1,"ng-container",5),k(2,$i,1,1,"ng-template",null,0,ie)(4,Vi,2,0,"ng-template",null,1,ie)(6,Bi,1,3,"ng-template",null,2,ie)(8,Ai,1,0,"ng-template",null,3,ie)),l&2&&x(s.nzShowFilter||s.nzCustomFilter?0:1)},dependencies:[Cn,G,Sn],encapsulation:2,changeDetection:0})),n})(),Wo=(()=>{class t{renderer=p(ue);el=p(te).nativeElement;changes$=new Ce;nzWidth=null;colspan=null;colSpan=null;rowspan=null;rowSpan=null;ngOnChanges(e){let{nzWidth:n,colspan:i,rowspan:o,colSpan:l,rowSpan:s}=e;if(i||l){let z=this.colspan||this.colSpan;Ct(z)?this.renderer.removeAttribute(this.el,"colspan"):this.renderer.setAttribute(this.el,"colspan",`${z}`)}if(o||s){let z=this.rowspan||this.rowSpan;Ct(z)?this.renderer.removeAttribute(this.el,"rowspan"):this.renderer.setAttribute(this.el,"rowspan",`${z}`)}(n||i)&&this.changes$.next()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[J]})}return t})(),Qo=(()=>{class t{nzSelections=[];nzChecked=!1;nzDisabled=!1;nzIndeterminate=!1;nzLabel=null;nzShowCheckbox=!1;nzShowRowSelection=!1;nzCheckedChange=new D;isNzShowExpandChanged=!1;isNzShowCheckboxChanged=!1;onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e)}ngOnChanges(e){let n=z=>z&&z.firstChange&&z.currentValue!==void 0,{nzChecked:i,nzSelections:o,nzShowExpand:l,nzShowCheckbox:s}=e;l&&(this.isNzShowExpandChanged=!0),s&&(this.isNzShowCheckboxChanged=!0),n(o)&&!this.isNzShowExpandChanged&&(this.nzShowRowSelection=!0),n(i)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["th","nzSelections",""],["th","nzChecked",""],["th","nzShowCheckbox",""],["th","nzShowRowSelection",""]],hostAttrs:[1,"ant-table-selection-column"],inputs:{nzSelections:"nzSelections",nzChecked:[2,"nzChecked","nzChecked",v],nzDisabled:[2,"nzDisabled","nzDisabled",v],nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzShowCheckbox:[2,"nzShowCheckbox","nzShowCheckbox",v],nzShowRowSelection:[2,"nzShowRowSelection","nzShowRowSelection",v]},outputs:{nzCheckedChange:"nzCheckedChange"},features:[J],attrs:Li,ngContentSelectors:xe,decls:2,vars:7,consts:[[3,"checkedChange","checked","disabled","indeterminate","label","listOfSelections","showCheckbox","showRowSelection"]],template:function(n,i){n&1&&(ce(),m(0,"nz-table-selection",0),N("checkedChange",function(l){return i.onCheckedChange(l)}),u(),oe(1)),n&2&&d("checked",i.nzChecked)("disabled",i.nzDisabled)("indeterminate",i.nzIndeterminate)("label",i.nzLabel)("listOfSelections",i.nzSelections)("showCheckbox",i.nzShowCheckbox)("showRowSelection",i.nzShowRowSelection)},dependencies:[_n],encapsulation:2,changeDetection:0})}return t})();var dl=(()=>{class t{nzEllipsis=!0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["th","nzEllipsis",""],["td","nzEllipsis",""]],hostVars:2,hostBindings:function(n,i){n&2&&E("ant-table-cell-ellipsis",i.nzEllipsis)},inputs:{nzEllipsis:[2,"nzEllipsis","nzEllipsis",v]}})}return t})();var bn=(()=>{class t{tableLayout="auto";theadTemplate=null;contentTemplate=null;tfootTemplate=null;listOfColWidth=[];scrollX=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(n,i){n&2&&(Te("table-layout",i.tableLayout)("width",i.scrollX)("min-width",i.scrollX?"100%":null),E("ant-table-fixed",i.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",tfootTemplate:"tfootTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Wi,ngContentSelectors:xe,decls:5,vars:4,consts:[[1,"ant-table-thead"],[3,"ngTemplateOutlet"],[1,"ant-table-summary"],[3,"width","minWidth"]],template:function(n,i){n&1&&(ce(),S(0,Hi,3,0,"colgroup"),S(1,Ji,2,1,"thead",0),k(2,Xi,0,0,"ng-template",1),oe(3),S(4,qi,2,1,"tfoot",2)),n&2&&(x(i.listOfColWidth.length>0?0:-1),c(),x(i.theadTemplate?1:-1),c(),d("ngTemplateOutlet",i.contentTemplate),c(2),x(i.tfootTemplate?4:-1))},dependencies:[G],encapsulation:2,changeDetection:0})}return t})(),Ho=(()=>{class t{nzTableStyleService=p(ve);renderer=p(ue);destroyRef=p(U);tdElement;hostWidth$=new q(null);enableAutoMeasure$=new q(!1);ngOnInit(){if(this.nzTableStyleService){let{enableAutoMeasure$:e,hostWidth$:n}=this.nzTableStyleService;e.pipe(_(this.destroyRef)).subscribe(this.enableAutoMeasure$),n.pipe(_(this.destroyRef)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe(_(this.destroyRef)).subscribe(e=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${e}`)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(n,i){if(n&1&&ne(fn,7),n&2){let o;A(o=L())&&(i.tdElement=o.first)}},attrs:Zi,ngContentSelectors:xe,decls:7,vars:3,consts:[["tdElement",""],["contentTemplate",""],[1,"nz-disable-td","ant-table-cell"],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0","overflow","hidden",3,"width"],[3,"ngTemplateOutlet"],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0","overflow","hidden"]],template:function(n,i){n&1&&(ce(),m(0,"td",2,0),S(2,Ki,3,5,"div",3),Fe(3,"async"),It(4,eo,1,1,null,4),u(),k(5,to,1,0,"ng-template",null,1,ie)),n&2&&(c(2),x(Ne(3,1,i.enableAutoMeasure$)?2:4))},dependencies:[G,gt],encapsulation:2,changeDetection:0})}return t})(),jo=(()=>{class t{tableLayout="auto";listOfColWidth=[];theadTemplate=null;contentTemplate=null;tfootTemplate=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",tfootTemplate:"tfootTemplate"},decls:2,vars:5,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate","tfootTemplate"]],template:function(n,i){n&1&&(m(0,"div",0),F(1,"table",1),u()),n&2&&(c(),d("contentTemplate",i.contentTemplate)("tableLayout",i.tableLayout)("listOfColWidth",i.listOfColWidth)("theadTemplate",i.theadTemplate)("tfootTemplate",i.tfootTemplate))},dependencies:[bn],encapsulation:2,changeDetection:0})}return t})(),Jo=(()=>{class t{nzResizeObserver=p(Tt);ngZone=p(Pe);destroyRef=p(U);listOfMeasureColumn=[];listOfAutoWidth=new D;listOfTdElement;ngAfterViewInit(){this.listOfTdElement.changes.pipe(me(this.listOfTdElement)).pipe(ee(e=>ae(e.toArray().map(n=>this.nzResizeObserver.observe(n).pipe(Z(([i])=>{let{width:o}=i.target.getBoundingClientRect();return Math.floor(o)}))))),mt(16),_(this.destroyRef)).subscribe(e=>{this.ngZone instanceof Pe&&Pe.isInAngularZone()?this.listOfAutoWidth.next(e):this.ngZone.run(()=>this.listOfAutoWidth.next(e))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(n,i){if(n&1&&ne(fn,5),n&2){let o;A(o=L())&&(i.listOfTdElement=o)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:no,decls:2,vars:0,consts:[["tdElement",""],[1,"nz-disable-td",2,"padding","0","border","0","height","0"]],template:function(n,i){n&1&&_e(0,io,2,0,"td",1,zt),n&2&&Se(i.listOfMeasureColumn)},encapsulation:2,changeDetection:0})}return t})(),Tn=(()=>{class t{showEmpty$=new q(!1);noResult$=new q(void 0);listOfMeasureColumn$=new q([]);nzTableStyleService=p(ve,{optional:!0});isInsideTable=!!this.nzTableStyleService;constructor(){if(this.nzTableStyleService){let{showEmpty$:e,noResult$:n,listOfMeasureColumn$:i}=this.nzTableStyleService;n.pipe(_()).subscribe(this.noResult$),i.pipe(_()).subscribe(this.listOfMeasureColumn$),e.pipe(_()).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(e){this.nzTableStyleService?.setListOfAutoWidth(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["tbody"]],hostVars:2,hostBindings:function(n,i){n&2&&E("ant-table-tbody",i.isInsideTable)},ngContentSelectors:xe,decls:5,vars:6,consts:[["nz-table-fixed-row","",1,"ant-table-placeholder"],["nz-table-measure-row","",3,"listOfMeasureColumn"],["nz-table-measure-row","",3,"listOfAutoWidth","listOfMeasureColumn"],["nzComponentName","table",3,"specificContent"]],template:function(n,i){if(n&1&&(ce(),S(0,ao,1,1),Fe(1,"async"),oe(2),S(3,lo,3,3,"tr",0),Fe(4,"async")),n&2){let o;x((o=Ne(1,2,i.listOfMeasureColumn$))?0:-1,o),c(3),x(Ne(4,4,i.showEmpty$)?3:-1)}},dependencies:[Jo,Ho,on,nn,gt],encapsulation:2,changeDetection:0})}return t})(),Ot=(()=>{class t{renderer=p(ue);ngZone=p(Pe);platform=p(Vt);resizeService=p(Kt);destroyRef=p(U);data=[];scrollX=null;scrollY=null;contentTemplate=null;widthConfig=[];listOfColWidth=[];theadTemplate=null;tfootTemplate=null;tfootFixed=null;virtualTemplate=null;virtualItemSize=0;virtualMaxBufferPx=200;virtualMinBufferPx=100;tableMainElement;virtualForTrackBy=e=>e;tableHeaderElement;tableBodyElement;tableFootElement;cdkVirtualScrollViewport;headerStyleMap={};bodyStyleMap={};verticalScrollBarWidth=0;noDataVirtualHeight="182px";data$=new Ce;scroll$=new Ce;setScrollPositionClassName(e=!1){let{scrollWidth:n,scrollLeft:i,clientWidth:o}=this.tableBodyElement.nativeElement,l="ant-table-ping-left",s="ant-table-ping-right";n===o&&n!==0||e?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.removeClass(this.tableMainElement,s)):i===0?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,s)):n===i+o?(this.renderer.removeClass(this.tableMainElement,s),this.renderer.addClass(this.tableMainElement,l)):(this.renderer.addClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,s))}constructor(){this.destroyRef.onDestroy(()=>{this.setScrollPositionClassName(!0)})}ngOnChanges(e){let{scrollX:n,scrollY:i,data:o}=e;if(n||i){let l=this.verticalScrollBarWidth!==0;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&l?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())}o&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){if(this.platform.isBrowser){let e=this.scroll$.pipe(me(null),Xe(0),ee(()=>et(this.tableBodyElement.nativeElement,"scroll").pipe(me(!0)))),n=this.resizeService.connect();be(e,n,this.data$,this.scroll$).pipe(me(!0),Xe(0),_(this.destroyRef)).subscribe(()=>this.setScrollPositionClassName()),e.pipe(Be(()=>!!this.scrollY)).subscribe(()=>{this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft,this.tableFootElement&&(this.tableFootElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-inner-scroll"]],viewQuery:function(n,i){if(n&1&&(ne(ro,5,te),ne(so,5,te),ne(co,5,te),ne(We,5,We)),n&2){let o;A(o=L())&&(i.tableHeaderElement=o.first),A(o=L())&&(i.tableBodyElement=o.first),A(o=L())&&(i.tableFootElement=o.first),A(o=L())&&(i.cdkVirtualScrollViewport=o.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",tfootTemplate:"tfootTemplate",tfootFixed:"tfootFixed",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth",noDataVirtualHeight:"noDataVirtualHeight"},features:[J],decls:2,vars:1,consts:[["tableHeaderElement",""],["tableBodyElement",""],["tableFootElement",""],[1,"ant-table-content",3,"style"],[1,"ant-table-header","nz-table-hide-scrollbar"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","tfootTemplate"],["cdkScrollable","",1,"ant-table-body",3,"style"],[3,"itemSize","maxBufferPx","minBufferPx","height"],[1,"ant-table-summary",3,"style"],["cdkScrollable","",1,"ant-table-body"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-summary"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","tfootTemplate"],[1,"ant-table-content"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate","tfootTemplate"]],template:function(n,i){n&1&&S(0,go,6,8)(1,Co,3,7,"div",3),n&2&&x(i.scrollY?0:1)},dependencies:[bn,Wt,At,Bt,Lt,We,G,Tn],encapsulation:2,changeDetection:0})}return t})(),Xo=(()=>{class t{templateRef=p(Ft);static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]})}return t})(),yn=(()=>{class t{title=null;footer=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(n,i){n&2&&E("ant-table-title",i.title!==null)("ant-table-footer",i.footer!==null)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&k(0,_o,2,1,"ng-container",0)(1,So,2,1,"ng-container",0),n&2&&(d("nzStringTemplateOutlet",i.title),c(),d("nzStringTemplateOutlet",i.footer))},dependencies:[Xt,Jt],encapsulation:2,changeDetection:0})}return t})(),zn="table",Yo=(()=>{var H;let t,a=[],e=[],n,i=[],o=[],l,s=[],z=[],y,I=[],$=[],Y,de=[],le=[],W,pe=[],b=[],f,g=[],ge=[];return H=class{_nzModuleName=zn;elementRef=p(te);nzResizeObserver=p(Tt);cdr=p(fe);nzTableStyleService=p(ve);nzTableDataService=p(vt);directionality=p(Ie);destroyRef=p(U);nzTableLayout="auto";nzShowTotal=null;nzItemRender=null;nzTitle=null;nzFooter=null;nzNoResult=void 0;nzPageSizeOptions=[10,20,30,40,50];nzVirtualItemSize=0;nzVirtualMaxBufferPx=200;nzVirtualMinBufferPx=100;nzVirtualForTrackBy=M=>M;nzLoadingDelay=0;nzPageIndex=1;nzPageSize=10;nzTotal=0;nzWidthConfig=[];nzData=[];nzCustomColumn=[];nzPaginationPosition="bottom";nzScroll={x:null,y:null};noDataVirtualHeight="182px";nzPaginationType="default";nzFrontPagination=!0;nzTemplateMode=!1;nzShowPagination=!0;nzLoading=!1;nzOuterBordered=!1;nzLoadingIndicator=w(this,a,null);nzBordered=(w(this,e),w(this,i,!1));nzSize=(w(this,o),w(this,s,"default"));nzShowSizeChanger=(w(this,z),w(this,I,!1));nzHideOnSinglePage=(w(this,$),w(this,de,!1));nzShowQuickJumper=(w(this,le),w(this,pe,!1));nzSimple=(w(this,b),w(this,g,!1));nzPageSizeChange=(w(this,ge),new D);nzPageIndexChange=new D;nzQueryParams=new D;nzCurrentPageDataChange=new D;nzCustomColumnChange=new D;data=[];cdkVirtualScrollViewport;scrollX=null;scrollY=null;theadTemplate=null;tfootTemplate=null;tfootFixed=null;listOfAutoColWidth=[];listOfManualColWidth=[];hasFixLeft=!1;hasFixRight=!1;showPagination=!0;templateMode$=new q(!1);dir="ltr";nzVirtualScrollDirective;nzTableInnerScrollComponent;verticalScrollBarWidth=0;onPageSizeChange(M){this.nzTableDataService.updatePageSize(M)}onPageIndexChange(M){this.nzTableDataService.updatePageIndex(M)}constructor(){jt(zn,()=>this.cdr.markForCheck())}ngOnInit(){let{pageIndexDistinct$:M,pageSizeDistinct$:h,listOfCurrentPageData$:C,total$:he,queryParams$:Oe,listOfCustomColumn$:at}=this.nzTableDataService,{theadTemplate$:lt,tfootTemplate$:rt,tfootFixed$:st,hasFixLeft$:ct,hasFixRight$:wn}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe(_(this.destroyRef)).subscribe(T=>{this.dir=T,this.cdr.detectChanges()}),Oe.pipe(_(this.destroyRef)).subscribe(this.nzQueryParams),M.pipe(_(this.destroyRef)).subscribe(T=>{T!==this.nzPageIndex&&(this.nzPageIndex=T,this.nzPageIndexChange.next(T))}),h.pipe(_(this.destroyRef)).subscribe(T=>{T!==this.nzPageSize&&(this.nzPageSize=T,this.nzPageSizeChange.next(T))}),he.pipe(_(this.destroyRef),Be(T=>this.nzFrontPagination&&T!==this.nzTotal)).subscribe(T=>{this.nzTotal=T,this.cdr.markForCheck()}),C.pipe(_(this.destroyRef)).subscribe(T=>{this.data=T,this.nzCurrentPageDataChange.next(T),this.cdr.markForCheck()}),at.pipe(_(this.destroyRef)).subscribe(T=>{this.nzCustomColumn=T,this.nzCustomColumnChange.next(T),this.cdr.markForCheck()}),lt.pipe(_(this.destroyRef)).subscribe(T=>{this.theadTemplate=T,this.cdr.markForCheck()}),ae([rt,st]).pipe(_(this.destroyRef)).subscribe(([T,dt])=>{this.tfootTemplate=T,this.tfootFixed=dt,this.cdr.markForCheck()}),ct.pipe(_(this.destroyRef)).subscribe(T=>{this.hasFixLeft=T,this.cdr.markForCheck()}),wn.pipe(_(this.destroyRef)).subscribe(T=>{this.hasFixRight=T,this.cdr.markForCheck()}),ae([he,this.templateMode$]).pipe(Z(([T,dt])=>T===0&&!dt),_(this.destroyRef)).subscribe(T=>{this.nzTableStyleService.setShowEmpty(T)}),this.verticalScrollBarWidth=Ht("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe(_(this.destroyRef)).subscribe(T=>{this.listOfAutoColWidth=T,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe(_(this.destroyRef)).subscribe(T=>{this.listOfManualColWidth=T,this.cdr.markForCheck()})}ngOnChanges(M){let{nzScroll:h,nzPageIndex:C,nzPageSize:he,nzFrontPagination:Oe,nzData:at,nzCustomColumn:lt,nzWidthConfig:rt,nzNoResult:st,nzTemplateMode:ct}=M;C&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),he&&this.nzTableDataService.updatePageSize(this.nzPageSize),at&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),lt&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),Oe&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),h&&this.setScrollOnChanges(),rt&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),ct&&this.templateMode$.next(this.nzTemplateMode),st&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe(Z(([M])=>{let{width:h}=M.target.getBoundingClientRect(),C=this.scrollY?this.verticalScrollBarWidth:0;return Math.floor(h-C)}),_(this.destroyRef)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}},(()=>{let M=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[X()],n=[X()],l=[X()],y=[X()],Y=[X()],W=[X()],f=[X()],j(null,null,t,{kind:"field",name:"nzLoadingIndicator",static:!1,private:!1,access:{has:h=>"nzLoadingIndicator"in h,get:h=>h.nzLoadingIndicator,set:(h,C)=>{h.nzLoadingIndicator=C}},metadata:M},a,e),j(null,null,n,{kind:"field",name:"nzBordered",static:!1,private:!1,access:{has:h=>"nzBordered"in h,get:h=>h.nzBordered,set:(h,C)=>{h.nzBordered=C}},metadata:M},i,o),j(null,null,l,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:h=>"nzSize"in h,get:h=>h.nzSize,set:(h,C)=>{h.nzSize=C}},metadata:M},s,z),j(null,null,y,{kind:"field",name:"nzShowSizeChanger",static:!1,private:!1,access:{has:h=>"nzShowSizeChanger"in h,get:h=>h.nzShowSizeChanger,set:(h,C)=>{h.nzShowSizeChanger=C}},metadata:M},I,$),j(null,null,Y,{kind:"field",name:"nzHideOnSinglePage",static:!1,private:!1,access:{has:h=>"nzHideOnSinglePage"in h,get:h=>h.nzHideOnSinglePage,set:(h,C)=>{h.nzHideOnSinglePage=C}},metadata:M},de,le),j(null,null,W,{kind:"field",name:"nzShowQuickJumper",static:!1,private:!1,access:{has:h=>"nzShowQuickJumper"in h,get:h=>h.nzShowQuickJumper,set:(h,C)=>{h.nzShowQuickJumper=C}},metadata:M},pe,b),j(null,null,f,{kind:"field",name:"nzSimple",static:!1,private:!1,access:{has:h=>"nzSimple"in h,get:h=>h.nzSimple,set:(h,C)=>{h.nzSimple=C}},metadata:M},g,ge),M&&Object.defineProperty(H,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:M})})(),re(H,"\u0275fac",function(h){return new(h||H)}),re(H,"\u0275cmp",R({type:H,selectors:[["nz-table"]],contentQueries:function(h,C,he){if(h&1&&De(he,Xo,5),h&2){let Oe;A(Oe=L())&&(C.nzVirtualScrollDirective=Oe.first)}},viewQuery:function(h,C){if(h&1&&ne(Ot,5),h&2){let he;A(he=L())&&(C.nzTableInnerScrollComponent=he.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:4,hostBindings:function(h,C){h&2&&E("ant-table-wrapper-rtl",C.dir==="rtl")("ant-table-custom-column",C.nzCustomColumn.length)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",noDataVirtualHeight:"noDataVirtualHeight",nzPaginationType:"nzPaginationType",nzFrontPagination:[2,"nzFrontPagination","nzFrontPagination",v],nzTemplateMode:[2,"nzTemplateMode","nzTemplateMode",v],nzShowPagination:[2,"nzShowPagination","nzShowPagination",v],nzLoading:[2,"nzLoading","nzLoading",v],nzOuterBordered:[2,"nzOuterBordered","nzOuterBordered",v],nzLoadingIndicator:"nzLoadingIndicator",nzBordered:[2,"nzBordered","nzBordered",v],nzSize:"nzSize",nzShowSizeChanger:[2,"nzShowSizeChanger","nzShowSizeChanger",v],nzHideOnSinglePage:[2,"nzHideOnSinglePage","nzHideOnSinglePage",v],nzShowQuickJumper:[2,"nzShowQuickJumper","nzShowQuickJumper",v],nzSimple:[2,"nzSimple","nzSimple",v]},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},exportAs:["nzTable"],features:[Et([ve,vt]),J],ngContentSelectors:xe,decls:13,vars:26,consts:[["tableMainElement",""],["paginationTemplate",""],["contentTemplate",""],[3,"nzDelay","nzSpinning","nzIndicator"],[3,"ngTemplateOutlet"],[1,"ant-table"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","tfootTemplate","tfootFixed","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy","noDataVirtualHeight"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate","tfootTemplate"],[3,"footer"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex"],[1,"ant-table-pagination","ant-table-pagination-right",3,"nzPageSizeChange","nzPageIndexChange","hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex"]],template:function(h,C){h&1&&(ce(),m(0,"nz-spin",3),S(1,bo,1,1,null,4),m(2,"div",5,0),S(4,To,1,1,"nz-table-title-footer",6),S(5,yo,1,16,"nz-table-inner-scroll",7)(6,wo,1,5,"nz-table-inner-default",8),S(7,vo,1,1,"nz-table-title-footer",9),u(),S(8,Po,1,1,null,4),u(),k(9,Fo,1,1,"ng-template",null,1,ie)(11,No,1,0,"ng-template",null,2,ie)),h&2&&(d("nzDelay",C.nzLoadingDelay)("nzSpinning",C.nzLoading)("nzIndicator",C.nzLoadingIndicator),c(),x(C.nzPaginationPosition==="both"||C.nzPaginationPosition==="top"?1:-1),c(),E("ant-table-rtl",C.dir==="rtl")("ant-table-fixed-header",C.nzData.length&&C.scrollY)("ant-table-fixed-column",C.scrollX)("ant-table-has-fix-left",C.hasFixLeft)("ant-table-has-fix-right",C.hasFixRight)("ant-table-bordered",C.nzBordered)("nz-table-out-bordered",C.nzOuterBordered&&!C.nzBordered)("ant-table-middle",C.nzSize==="middle")("ant-table-small",C.nzSize==="small"),c(2),x(C.nzTitle?4:-1),c(),x(C.scrollY||C.scrollX?5:6),c(2),x(C.nzFooter?7:-1),c(),x(C.nzPaginationPosition==="both"||C.nzPaginationPosition==="bottom"?8:-1))},dependencies:[cn,G,yn,Ot,jo,un,wt],encapsulation:2,changeDetection:0})),H})();var qo=(()=>{class t{destroyRef=p(U);listOfNzThDirective;listOfCellFixedDirective;listOfFixedColumns$=new Q(1);listOfColumns$=new Q(1);listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe(ee(e=>be(this.listOfFixedColumns$,...e.map(n=>n.changes$)).pipe(Je(()=>this.listOfFixedColumns$))),_(this.destroyRef));listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Z(e=>e.filter(n=>n.nzLeft!==!1)));listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Z(e=>e.filter(n=>n.nzRight!==!1)));listOfColumnsChanges$=this.listOfColumns$.pipe(ee(e=>be(this.listOfColumns$,...e.map(n=>n.changes$)).pipe(Je(()=>this.listOfColumns$))),_(this.destroyRef));nzTableStyleService=p(ve,{optional:!0});isInsideTable=!!this.nzTableStyleService;ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe(me(this.listOfCellFixedDirective),_(this.destroyRef)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe(me(this.listOfNzThDirective),_(this.destroyRef)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(e=>{e.forEach(n=>n.setIsLastLeft(n===e[e.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(e=>{e.forEach(n=>n.setIsFirstRight(n===e[0]))}),ae([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe(_(this.destroyRef)).subscribe(([e,n])=>{n.forEach((i,o)=>{if(i.isAutoLeft){let s=n.slice(0,o).reduce((y,I)=>y+(I.colspan||I.colSpan||1),0),z=e.slice(0,s).reduce((y,I)=>y+I,0);i.setAutoLeftWidth(`${z}px`)}})}),ae([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe(_(this.destroyRef)).subscribe(([e,n])=>{n.forEach((i,o)=>{let l=n[n.length-o-1];if(l.isAutoRight){let z=n.slice(n.length-o,n.length).reduce((I,$)=>I+($.colspan||$.colSpan||1),0),y=e.slice(e.length-z,e.length).reduce((I,$)=>I+$,0);l.setAutoRightWidth(`${y}px`)}})}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=ze({type:t,selectors:[["tr",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(n,i,o){if(n&1&&(De(o,Wo,4),De(o,Bo,4)),n&2){let l;A(l=L())&&(i.listOfNzThDirective=l),A(l=L())&&(i.listOfCellFixedDirective=l)}},hostVars:2,hostBindings:function(n,i){n&2&&E("ant-table-row",i.isInsideTable)}})}return t})(),pl=(()=>{class t{nzTableStyleService=p(ve,{optional:!0});nzTableDataService=p(vt,{optional:!0});destroyRef=p(U);el=p(te).nativeElement;renderer=p(ue);isInsideTable=!!this.nzTableStyleService;templateRef;listOfNzTrDirective;listOfNzThAddOnComponent;nzSortOrderChange=new D;ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){let e=this.listOfNzTrDirective.changes.pipe(me(this.listOfNzTrDirective),Z(l=>l&&l.first),_(this.destroyRef)),n=e.pipe(ee(l=>l?l.listOfColumnsChanges$:je));n.subscribe(l=>this.nzTableStyleService.setListOfTh(l)),this.nzTableStyleService.enableAutoMeasure$.pipe(ee(l=>l?n:Pt([]))).pipe(_(this.destroyRef)).subscribe(l=>this.nzTableStyleService.setListOfMeasureColumn(l));let i=e.pipe(ee(l=>l?l.listOfFixedLeftColumnChanges$:je)),o=e.pipe(ee(l=>l?l.listOfFixedRightColumnChanges$:je));i.subscribe(l=>{this.nzTableStyleService.setHasFixLeft(l.length!==0)}),o.subscribe(l=>{this.nzTableStyleService.setHasFixRight(l.length!==0)})}if(this.nzTableDataService){let e=this.listOfNzThAddOnComponent.changes.pipe(me(this.listOfNzThAddOnComponent));e.pipe(ee(()=>be(...this.listOfNzThAddOnComponent.map(o=>o.manualClickOrder$))),_(this.destroyRef)).subscribe(o=>{let l={key:o.nzColumnKey,value:o.sortOrder};this.nzSortOrderChange.emit(l),o.nzSortFn&&o.nzSortPriority===!1&&this.listOfNzThAddOnComponent.filter(s=>s!==o).forEach(s=>s.clearSortOrder())}),e.pipe(ee(o=>be(e,...o.map(l=>l.calcOperatorChange$)).pipe(Je(()=>e))),Z(o=>o.filter(l=>!!l.nzSortFn||!!l.nzFilterFn).map(l=>{let{nzSortFn:s,sortOrder:z,nzFilterFn:y,nzFilterValue:I,nzSortPriority:$,nzColumnKey:Y}=l;return{key:Y,sortFn:s,sortPriority:$,sortOrder:z,filterFn:y,filterValue:I}})),Xe(0),_(this.destroyRef)).subscribe(o=>{this.nzTableDataService?.listOfCalcOperator$.next(o)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.el),this.el)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=R({type:t,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(n,i,o){if(n&1&&(De(o,qo,5),De(o,xn,5)),n&2){let l;A(l=L())&&(i.listOfNzTrDirective=l),A(l=L())&&(i.listOfNzThAddOnComponent=l)}},viewQuery:function(n,i){if(n&1&&ne(Io,7),n&2){let o;A(o=L())&&(i.templateRef=o.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:xe,decls:3,vars:1,consts:[["contentTemplate",""],[3,"ngTemplateOutlet"]],template:function(n,i){n&1&&(ce(),k(0,ko,1,0,"ng-template",null,0,ie),S(2,Ro,1,1,null,1)),n&2&&(c(2),x(i.isInsideTable?-1:2))},dependencies:[G],encapsulation:2,changeDetection:0})}return t})();var hl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ze({type:t});static \u0275inj=qe({imports:[Yo,xn,Ao,Tn,yn,Ot,Sn,Cn,_n,gn,Qo]})}return t})();export{wt as a,un as b,cl as c,Wo as d,dl as e,Tn as f,Yo as g,qo as h,pl as i,hl as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as v}from"./chunk-SPRWNZHF.js";import{Da as u,i as c,l as b,na as i,sa as n}from"./chunk-WI67LAOV.js";var a=(()=>{class t{create(e){return typeof ResizeObserver>"u"?null:new ResizeObserver(e)}static \u0275fac=function(s){return new(s||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),N=(()=>{class t{nzResizeObserverFactory=n(a);destroyRef=n(u);observedElements=new Map;constructor(){this.destroyRef.onDestroy(()=>this.observedElements.forEach((e,s)=>this.cleanupObserver(s)))}observe(e){let s=v(e);return new c(r=>{let d=this.observeElement(s).subscribe(r);return()=>{d.unsubscribe(),this.unobserveElement(s)}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{let s=new b,r=this.nzResizeObserverFactory.create(o=>s.next(o));r&&r.observe(e),this.observedElements.set(e,{observer:r,stream:s,count:1})}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e))}cleanupObserver(e){if(this.observedElements.has(e)){let{observer:s,stream:r}=this.observedElements.get(e);s&&s.disconnect(),r.complete(),this.observedElements.delete(e)}}static \u0275fac=function(s){return new(s||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{N as a};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{b as Bn}from"./chunk-76TVIB33.js";import{a as Nn,b as Dn,c as En,d as On,e as jn,f as W}from"./chunk-RW2JPJV7.js";import{e as Fe}from"./chunk-6CGHNKJI.js";import{a as Ln,b as Vn}from"./chunk-GDWS2L66.js";import{a as yn,b as zn,c as Mn}from"./chunk-ZNTJRLVH.js";import{a as kn,b as In}from"./chunk-WF2QTF5L.js";import{a as ie,b as Pn,c as re,d as Sn,e as Tn,f as U,g as ae,h as ke,i as Ie,j as le}from"./chunk-HRXCR3IN.js";import{a as Fn}from"./chunk-DW7F5PEA.js";import"./chunk-KVFR7GFV.js";import{a as bn,b as Oe}from"./chunk-JZULA5JV.js";import{a as xn,b as wn}from"./chunk-TMX5TTV3.js";import{a as oe,b as je}from"./chunk-UQGCUFNM.js";import{h as ze,i as Me,k as be,l as Z}from"./chunk-BYEU6KGP.js";import{b as Ee}from"./chunk-5T5KA5PG.js";import"./chunk-UXXWRMM6.js";import{$b as Se,Ea as un,Eb as xe,Fa as w,Ga as M,Gb as ee,Ha as fn,Ia as gn,Kb as te,L as rt,M as mn,Ma as hn,Na as _n,Oa as F,Pa as X,R as dn,Ra as L,Sa as V,Ta as Cn,Ua as vn,Ub as ne,Xb as we,Zb as Pe,a as pn,ac as Te,dc as Ne,fc as De}from"./chunk-SPRWNZHF.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 I}from"./chunk-L5D75AMV.js";import{i as ve,l as Xt,m as Zt,n as k,o as en,r as tn,s as nn,x as on,y as rn}from"./chunk-T3KK7ZXB.js";import{$b as B,$c as ce,Ab as It,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,Nc as ge,Oc as he,Pc as _e,Qb as Lt,Ra as Pt,Ub as Vt,Vb as Bt,Wb as y,Wc as Gt,Xa as St,Xc as Ce,Yb as z,Yc as nt,_b as At,a as ut,ac as A,ad as ot,b as ft,bc as d,bd as it,cc as r,cd as J,da as ht,dc as a,ec as p,ed as Yt,hd as N,ic as E,id as Y,jc as O,ka as _t,kb as Tt,kc as tt,lc as v,ma as Ct,na as S,nb as s,oa as vt,od as qt,qa as yt,ra as me,rb as Nt,rc as _,rd as Qt,sa as g,sb as Dt,ta as zt,tb as Et,td as Jt,ua as Mt,uc as c,vc as ue,wc as fe,xb as Ot,xd as Kt,ya as u,yb as jt,yc as Rt,z as gt,za as f,zb as kt,zc as Ht}from"./chunk-WI67LAOV.js";function ao(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",ao];var lo="@",so=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=g(de);loadingSchedulerFn=g(co,{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-EEVPZGEY.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){It()};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(lo)}},co=new yt("");function Rn(t="animations"){return Nt("NgAsyncAnimations"),zt([{provide:Ot,useFactory:(n,e,o)=>new so(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-N4LRZJBP.js").then(t=>t.DashboardModule)},{path:"tasks",loadChildren:()=>import("./chunk-SQQNR223.js").then(t=>t.TasksModule)},{path:"projects",loadChildren:()=>import("./chunk-CZ5AZ3VW.js").then(t=>t.ProjectsModule)},{path:"settings",loadChildren:()=>import("./chunk-UJOHBN2Y.js").then(t=>t.SettingModule)},{path:"configuration",loadChildren:()=>import("./chunk-S3SJ4VVM.js").then(t=>t.ConfigurationModule)},{path:"dependencies",loadChildren:()=>import("./chunk-7J24TP36.js").then(t=>t.DependenciesModule)},{path:"rquest",loadChildren:()=>import("./chunk-L7TMCSHV.js").then(t=>t.ApiClientModule)},{path:"sprite",loadChildren:()=>import("./chunk-OWUAAOHW.js").then(t=>t.SpriteModule)},{path:"rd",loadChildren:()=>import("./chunk-2BZRE4G7.js").then(t=>t.RdModule)},{path:"issues",loadChildren:()=>import("./chunk-OMDHJIUB.js").then(t=>t.IssuesModule)},{path:"nginx",loadComponent:()=>import("./chunk-RHLQRQDK.js").then(t=>t.NginxComponent)},{path:"about",loadChildren:()=>import("./chunk-YETDFSQE.js").then(t=>t.AboutRoutingModule)},{path:"**",redirectTo:"dashboard"}];en(An);var Wn={providers:[Hn,Yt(),cn(Un),vn(Cn),Rn(),on(rn([Fn])),Mt(Z),Bn()]};var lt=["*"];function po(t,n){}function mo(t,n){if(t&1&&(r(0,"span",1),P(1,po,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 uo(t,n){}function fo(t,n){if(t&1&&P(0,uo,0,0,"ng-template",2),t&2){c();let e=D(4);d("ngTemplateOutlet",e)}}function go(t,n){if(t&1&&(E(0),m(1),O()),t&2){let e=c(2);s(),R(" ",e.nzBreadCrumbComponent.nzSeparator," ")}}function ho(t,n){if(t&1&&(r(0,"nz-breadcrumb-separator"),P(1,go,2,1,"ng-container",4),a()),t&2){let e=c();s(),d("nzStringTemplateOutlet",e.nzBreadCrumbComponent.nzSeparator)}}function _o(t,n){t&1&&(r(0,"span",5),fe(1),a())}var Co=(t,n)=>n.url;function vo(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 yo(t,n){if(t&1&&B(0,vo,3,2,"nz-breadcrumb-item",null,Co),t&2){let e=c();A(e.breadcrumbs)}}var Ve=class{},zo=(()=>{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,mo,3,2,"span",1)(1,fo,1,1,null,2),y(2,ho,2,1,"nz-breadcrumb-separator"),P(3,_o,2,0,"ng-template",null,0,J)),o&2&&(z(i.nzOverlay?0:1),s(2),z(i.nzBreadCrumbComponent.nzSeparator?2:-1))},dependencies:[ve,zo,le,ae,M,w,gn,fn],encapsulation:2,changeDetection:0})}return t})(),Mo=(()=>{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]),ro=this.nzRouteFn(mt);if(G&&dt){let se={label:dt,params:h.snapshot.params,url:ro};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,yo,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:[Mo,Gn]})}return t})();function bo(t){return t.op==="syslog.tail"}function xo(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=>bo(e)||xo(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 Po=["logBox"],So=()=>({padding:"0px",overflow:"hidden"});function To(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 No(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 Do(t,n){if(t&1&&m(0),t&2){let e=c().$implicit;R(" ",e.data==null?null:e.data.icon," ")}}function Eo(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,Do,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 Oo(t,n){if(t&1&&(E(0),r(1,"div",19,1),B(3,Eo,10,20,"div",20,Bt().trackByLine,!0),a(),O()),t&2){let e=c();s(3),A(e.lines())}}function jo(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,Po,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,To,8,9)(11,No,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,Oo,5,0,"ng-container",14),a(),P(17,jo,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,So))}},dependencies:[k,In,kn,Mn,zn,yn,V,L,F,_n,hn,M,w,De,Ne,I,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,Dn,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:[k,W,En,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 Io(t,n){if(t&1&&p(0,"nz-icon",6),t&2){let e=c(3).$implicit;d("nzType",e.icon)}}function Fo(t,n){t&1&&p(0,"nz-badge",7)}function Lo(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,Io,1,1,"nz-icon",6),r(2,"span"),m(3),a(),y(4,Fo,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 Vo(t,n){t&1&&tt(0)}function Bo(t,n){if(t&1&&(r(0,"li",4)(1,"ul"),P(2,Vo,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 Ao(t,n){if(t&1&&y(0,Lo,5,7,"li",3)(1,Bo,3,9,"li",4),t&2){let e=c().$implicit;z(e.children?1:0)}}function Ro(t,n){if(t&1&&y(0,Ao,2,1),t&2){let e=n.$implicit;z(e!=null&&e.hidden?-1:0)}}function Ho(t,n){if(t&1&&B(0,Ro,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,Ho,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,Pn,M,w,I,De,Ne,wn,xn],encapsulation:2})};function $o(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 Go(t,n){if(t&1&&(E(0),y(1,$o,36,6,"div",3),O()),t&2){let e=c();s(),z(e.editingProject()?1:-1)}}function Yo(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,Go,2,1,"ng-container",1)(2,Yo,5,2,"ng-container",2),a()),e&2&&d("nzClosable",!1)("nzMaskClosable",!1)("nzVisible",o.projectState.isEditModalVisible())},dependencies:[k,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 Qo(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,Qo,7,0,"ng-container",2),a()),e&2&&d("nzVisible",o.visible)("nzClosable",!1)("nzMaskClosable",!1)("nzWidth",560)},dependencies:[k,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 Jo=()=>({width:"100%"}),Xn=(t,n)=>n.id;function Ko(t,n){t&1&&p(0,"nz-icon",2)}function Xo(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 Zo(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 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",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,Ko,1,0,"nz-icon",2),a(),r(4,"nz-dropdown-menu",3,0)(6,"ul",4),y(7,Xo,19,6),p(8,"li",5)(9,"li",6),B(10,Zo,4,1,"li",7,Xn),p(12,"li",5)(13,"li",8),B(14,ei,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,Jo)),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:[k,ne,ee,te,le,re,ie,Tn,Sn,ae,Ie,ke,U,M,w,Vn,Ln,V,L,F,X,I,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,On,M,w,U,re,ie,qe,Je,V,L,F,le,ae,Ie,ke,I,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 ti(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,ti,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:[I,sn,W,jn,Nn,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
|
-
`;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))}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)(kt(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));
|