1import{f as _}from"./chunk-X6ZJRJ26.js";import"./chunk-IYXVKV4P.js";import"./chunk-ZSMOUTBL.js";import"./chunk-3NBZ37PZ.js";import"./chunk-O6NZSKFM.js";import{d as P}from"./chunk-CRLWL2PY.js";import{F as k,z as C}from"./chunk-S6SZJ7PA.js";import{Hb as b,Ka as i,Ub as c,Vb as d,Ya as s,dc as l,ec as u,nb as g,ob as m,rb as y,sb as x,tb as p,ub as a,vb as r,wb as f}from"./chunk-OXMDULDY.js";import"./chunk-MPHCYODA.js";var S=t=>["/category",t],h=()=>["/products"],w=()=>({}),I=t=>({category_id:t}),T=(t,o)=>o.id;function F(t,o){if(t&1&&(a(0,"a",6),c(1," seeAll \u203A "),r()),t&2){let e=b();p("routerLink",e.categorySlug?u(2,S,e.categorySlug):l(4,h))("queryParams",e.categorySlug?l(5,w):u(6,I,e.categoryId))}}function B(t,o){if(t&1&&f(0,"app-product-card",8),t&2){let e=o.$implicit;p("product",e)}}var v=class t{title="Titre Cat\xE9gorie";tag="Top Rated";categoryId;categorySlug;products=[];static \u0275fac=function(e){return new(e||t)};static \u0275cmp=s({type:t,selectors:[["app-product-category-block"]],inputs:{title:"title",tag:"tag",categoryId:"categoryId",categorySlug:"categorySlug",products:"products"},decls:12,vars:3,consts:[[1,"max-w-[1680px]","mx-auto","px-4","lg:px-8","xl:px-12","mb-8"],[1,"bg-white","rounded-xl","shadow-sm","p-4","lg:p-6"],[1,"flex","items-center","justify-between","mb-4","lg:mb-6"],[1,"flex","items-center","gap-2","lg:gap-3"],[1,"text-sm","sm:text-lg","lg:text-xl","font-bold","text-dz-green","border-s-4","border-dz-red","ps-2","lg:ps-3","uppercase","tracking-tight"],[1,"hidden","sm:inline-block","px-2","py-1","bg-gray-100","text-[10px]","lg:text-xs","font-semibold","text-gray-500","rounded","uppercase","tracking-wider"],[1,"text-xs","lg:text-sm","font-semibold","text-blue-600","hover:text-blue-800","transition-colors","whitespace-nowrap",3,"routerLink","queryParams"],[1,"grid","grid-cols-2","md:grid-cols-4","lg:grid-cols-5","xl:grid-cols-6","gap-2","sm:gap-4"],["cartVariant","full",3,"product"]],template:function(e,n){e&1&&(a(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),c(5),r(),a(6,"span",5),c(7),r()(),g(8,F,2,8,"a",6),r(),a(9,"div",7),y(10,B,1,1,"app-product-card",8,T),r()()()),e&2&&(i(5),d(n.title),i(2),d(n.tag),i(),m(n.categorySlug||n.categoryId?8:-1),i(2),x(n.products))},dependencies:[P,k,C,_],encapsulation:2,changeDetection:0})};export{v as ProductCategoryBlockComponent};
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.