1import{ma as x}from"./chunk-FE3MHUBC.js";import{Ja as g,Qb as u,Sb as h,Ub as _,Vb as T,Wb as w,Xb as A,Yb as l,Zb as m,_b as a,ha as v,kb as d,kc as r,la as S,lc as P,mc as D,qd as N,ua as k,ud as p,vc as f,wb as s,wc as c,xb as C,xc as M,yb as y}from"./chunk-OQ4XWHPB.js";import{a as z}from"./chunk-JNGVGNCT.js";var E=["nzType","button"],L=["nzType","avatar"],b=["nzType","input"],q=["nzType","image"],B=["*"];function F(t,o){if(t&1&&(l(0,"div",0),a(1,"nz-skeleton-element",4),m()),t&2){let e=r(2);d(),A("nzSize",e.avatar.size||"default")("nzShape",e.avatar.shape||"circle")}}function I(t,o){if(t&1&&a(0,"h3",5),t&2){let e=r(2);f("width",e.toCSSUnit(e.title.width))}}function j(t,o){if(t&1&&a(0,"li"),t&2){let e=o.$index,n=r(3);f("width",n.toCSSUnit(n.widthList[e]))}}function R(t,o){if(t&1&&(l(0,"ul",3),T(1,j,1,2,"li",6,_),m()),t&2){let e=r(2);d(),w(e.rowsList)}}function O(t,o){if(t&1&&(u(0,F,2,2,"div",0),l(1,"div",1),u(2,I,1,2,"h3",2),u(3,R,3,0,"ul",3),m()),t&2){let e=r();h(e.nzAvatar?0:-1),d(2),h(e.nzTitle?2:-1),d(),h(e.nzParagraph?3:-1)}}function V(t,o){t&1&&D(0)}var U=(()=>{class t{nzActive=!1;nzType;nzBlock=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=y({type:t,selectors:[["nz-skeleton-element"]],hostAttrs:[1,"ant-skeleton","ant-skeleton-element"],hostVars:4,hostBindings:function(n,i){n&2&&c("ant-skeleton-active",i.nzActive)("ant-skeleton-block",i.nzBlock)},inputs:{nzActive:[2,"nzActive","nzActive",p],nzType:"nzType",nzBlock:[2,"nzBlock","nzBlock",p]}})}return t})(),ee=(()=>{class t{nzShape="default";nzSize="default";static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["nz-skeleton-element","nzType","button"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},attrs:E,decls:1,vars:10,consts:[[1,"ant-skeleton-button"]],template:function(n,i){n&1&&a(0,"span",0),n&2&&c("ant-skeleton-button-square",i.nzShape==="square")("ant-skeleton-button-round",i.nzShape==="round")("ant-skeleton-button-circle",i.nzShape==="circle")("ant-skeleton-button-lg",i.nzSize==="large")("ant-skeleton-button-sm",i.nzSize==="small")},encapsulation:2,changeDetection:0})}return t})(),$=(()=>{class t{nzShape="circle";nzSize="default";styleMap={};ngOnChanges(e){if(e.nzSize&&typeof this.nzSize=="number"){let n=`${this.nzSize}px`;this.styleMap={width:n,height:n,"line-height":n}}else this.styleMap={}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[g],attrs:L,decls:1,vars:10,consts:[[1,"ant-skeleton-avatar"]],template:function(n,i){n&1&&a(0,"span",0),n&2&&(M(i.styleMap),c("ant-skeleton-avatar-square",i.nzShape==="square")("ant-skeleton-avatar-circle",i.nzShape==="circle")("ant-skeleton-avatar-lg",i.nzSize==="large")("ant-skeleton-avatar-sm",i.nzSize==="small"))},encapsulation:2,changeDetection:0})}return t})(),te=(()=>{class t{nzSize="default";static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["nz-skeleton-element","nzType","input"]],inputs:{nzSize:"nzSize"},attrs:b,decls:1,vars:4,consts:[[1,"ant-skeleton-input"]],template:function(n,i){n&1&&a(0,"span",0),n&2&&c("ant-skeleton-input-lg",i.nzSize==="large")("ant-skeleton-input-sm",i.nzSize==="small")},encapsulation:2,changeDetection:0})}return t})(),ne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["nz-skeleton-element","nzType","image"]],attrs:q,decls:3,vars:0,consts:[[1,"ant-skeleton-image"],["viewBox","0 0 1098 1024","xmlns","http://www.w3.org/2000/svg",1,"ant-skeleton-image-svg"],["d","M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",1,"ant-skeleton-image-path"]],template:function(n,i){n&1&&(l(0,"span",0),k(),l(1,"svg",1),a(2,"path",2),m()())},encapsulation:2,changeDetection:0})}return t})(),ie=(()=>{class t{cdr=S(N);nzActive=!1;nzLoading=!0;nzRound=!1;nzTitle=!0;nzAvatar=!1;nzParagraph=!0;title;avatar;paragraph;rowsList=[];widthList=[];toCSSUnit(e=""){return x(e)}getTitleProps(){let e=!!this.nzAvatar,n=!!this.nzParagraph,i="";return!e&&n?i="38%":e&&n&&(i="50%"),z({width:i},this.getProps(this.nzTitle))}getAvatarProps(){let e=this.nzTitle&&!this.nzParagraph?"square":"circle";return z({shape:e,size:"large"},this.getProps(this.nzAvatar))}getParagraphProps(){let e=!!this.nzAvatar,n=!!this.nzTitle,i={};return(!e||!n)&&(i.width="61%"),!e&&n?i.rows=3:i.rows=2,z(z({},i),this.getProps(this.nzParagraph))}getProps(e){return e&&typeof e=="object"?e:{}}getWidthList(){let{width:e,rows:n}=this.paragraph,i=[];return e&&Array.isArray(e)?i=e:e&&!Array.isArray(e)&&(i=[],i[n-1]=e),i}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck()}ngOnInit(){this.updateProps()}ngOnChanges(e){(e.nzTitle||e.nzAvatar||e.nzParagraph)&&this.updateProps()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["nz-skeleton"]],hostAttrs:[1,"ant-skeleton"],hostVars:6,hostBindings:function(n,i){n&2&&c("ant-skeleton-with-avatar",!!i.nzAvatar)("ant-skeleton-active",i.nzActive)("ant-skeleton-round",i.nzRound)},inputs:{nzActive:[2,"nzActive","nzActive",p],nzLoading:[2,"nzLoading","nzLoading",p],nzRound:[2,"nzRound","nzRound",p],nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[g],ngContentSelectors:B,decls:2,vars:1,consts:[[1,"ant-skeleton-header"],[1,"ant-skeleton-content"],[1,"ant-skeleton-title",3,"width"],[1,"ant-skeleton-paragraph"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[3,"width"]],template:function(n,i){n&1&&(P(),u(0,O,4,3)(1,V,1,0)),n&2&&h(i.nzLoading?0:1)},dependencies:[U,$],encapsulation:2,changeDetection:0})}return t})(),ae=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=C({type:t});static \u0275inj=v({})}return t})();export{U as a,ee as b,$ as c,te as d,ne as e,ie as f,ae as g};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.