import{a as P}from"./chunk-WC5TJKT7.js";import{Bb as g,Db as b,Eb as s,Gb as p,Hb as d,Ib as u,Jb as o,Kb as r,Lb as m,Vd as M,Za as i,Zb as a,ib as x,ic as C,lc as v,mc as c,nc as _,oc as f,yc as h}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";function w(n,t){if(n&1&&(o(0,"div",3)(1,"a",4)(2,"div",5)(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9),m(7,"i"),r()(),o(8,"div",10)(9,"span",11),c(10),r(),m(11,"br"),o(12,"span",12),c(13),r()()()()()()()),n&2){let e=t.$implicit,l=a(2).$implicit,k=a();i(),u("routerLink",e.path),i(5),C("background-color",k.getCssColor(l.colorClass)),i(),v(h("",e.icon," icon-inner")),i(3),f(" ",e.label," "),i(3),f(" ",e.description," ")}}function y(n,t){if(n&1&&(o(0,"div",2),p(1,w,14,8,"div",3,s),r()),n&2){let e=a().$implicit;i(),d(e.children)}}function O(n,t){if(n&1&&(o(0,"h4",1),c(1),r(),g(2,y,3,0,"div",2)),n&2){let e=t.$implicit;i(),_(e.label),i(),b(e.children&&e.children.length>0?2:-1)}}var S=class n{settingsData=P;getCssColor(t){return t?t.match(/^#|^rgb|^hsl/)?t:`var(${t.startsWith("--")?t:`--${t.replace(/^\$/,"")}`})`:null}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=x({type:n,selectors:[["POS-home"]],decls:3,vars:0,consts:[[1,"px-12"],[1,"fw-bold","mt-6"],[1,"row","mt-4"],[1,"col-md-6","col-xl-4","col-lg-6","col-sm-12","px-4"],[3,"routerLink"],[1,"card","cursor-pointer",2,"height","75%"],[1,"card-body"],[1,"row","px-3"],[1,"col-2","p-0","d-flex","justify-content-center","align-items-center"],[1,"border","d-flex","justify-content-center","align-items-center","icon"],[1,"col-10","text-start","ps-2"],[1,"mb-3","fw-bold",2,"font-size","0.8rem"],[2,"font-size","0.6rem"]],template:function(e,l){e&1&&(o(0,"div",0),p(1,O,3,2,null,null,s),r()),e&2&&(i(),d(l.settingsData))},dependencies:[M],styles:[".card[_ngcontent-%COMP%]{transition:all .3s ease-in-out;border-radius:18px}.card[_ngcontent-%COMP%]:hover{box-shadow:0 2px 5px 1px #0000001a}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.icon[_ngcontent-%COMP%]{width:27px;height:27px;font-size:clamp(12px,1.5vw,14px);border-radius:10px}.icon-inner[_ngcontent-%COMP%]{line-height:1;font-size:.7rem}[_nghost-%COMP%]{--color-1: #cbb3e6;--color-2: #b3e6bb;--color-3: #ebaec4;--color-4: #a4d4f5;--color-5: #b3e6bb;--color-6: #a8def0;--color-7: #b3e8d1;--color-8: #b3e0e6;--color-9: #f2baa7;--color-10: #b3e6dc}"]})};export{S as HomeComponent};
