import {J,c9 as qn,c as tS,aZ as Dt,gP as Ee,gQ as Se,gR as Y,c5 as bD,ad as ce,gS as Z,L as w,bK as G,bJ as F,f as QT,dd as kn,cb as Dn,dV as yn,gX as Ji,a1 as Ny,T as P_,a4 as Sy,ch as My,bu as dy,eU as aM,gF as ay,gG as vc}from'./main-WUGO6e7n.js';var X,B,N,D,$,U,x=J(()=>{qn();qn();tS();tS();Dt();Ee();Se();X=({dt:e})=>`
.p-skeleton {
    overflow: hidden;
    background: ${e("skeleton.background")};
    border-radius: ${e("skeleton.border.radius")};
}

.p-skeleton::after {
    content: "";
    animation: p-skeleton-animation 1.2s infinite;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(-100%);
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), ${e("skeleton.animation.background")}, rgba(255, 255, 255, 0));
}

[dir='rtl'] .p-skeleton::after {
    animation-name: p-skeleton-animation-rtl;
}

.p-skeleton-circle {
    border-radius: 50%;
}

.p-skeleton-animation-none::after {
    animation: none;
}

@keyframes p-skeleton-animation {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes p-skeleton-animation-rtl {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
`,B={root:{position:"relative"}},N={root:({props:e})=>["p-skeleton p-component",{"p-skeleton-circle":e.shape==="circle","p-skeleton-animation-none":e.animation==="none"}]},D=(()=>{class e extends Y{name="skeleton";theme=X;classes=N;inlineStyles=B;static \u0275fac=(()=>{let t;return function(i){return (t||(t=bD(e)))(i||e)}})();static \u0275prov=ce({token:e,factory:e.\u0275fac})}return e})(),$=(()=>{class e extends Z{styleClass;style;shape="rectangle";animation="wave";borderRadius;size;width="100%";height="1rem";_componentStyle=w(D);containerClass(){return {"p-skeleton p-component":!0,"p-skeleton-circle":this.shape==="circle","p-skeleton-animation-none":this.animation==="none"}}get containerStyle(){let t=this._componentStyle?.inlineStyles.root,n;return this.size?n=G(F(F({},this.style),t),{width:this.size,height:this.size,borderRadius:this.borderRadius}):n=F(G(F({},t),{width:this.width,height:this.height,borderRadius:this.borderRadius}),this.style),n}static \u0275fac=(()=>{let t;return function(i){return (t||(t=bD(e)))(i||e)}})();static \u0275cmp=QT({type:e,selectors:[["p-skeleton"]],inputs:{styleClass:"styleClass",style:"style",shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height"},features:[aM([D]),dy],decls:1,vars:7,consts:[[3,"ngClass","ngStyle"]],template:function(n,i){n&1&&Ny(0,"div",0),n&2&&(P_(i.styleClass),Sy("ngClass",i.containerClass())("ngStyle",i.containerStyle),My("data-pc-name","skeleton")("aria-hidden",!0)("data-pc-section","root"));},dependencies:[kn,Dn,yn,Ji],encapsulation:2})}return e})(),U=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ay({type:e});static \u0275inj=vc({imports:[$,Ji,Ji]})}return e})();});export{$,U,x};