import{_ as v}from"./DefaultLayout-52cb34e4.js";import{m as h,A as g,h as f,c as o,b as e,t as a,n as c,F as l,r as p,E as k,g as w,o as i,a as x,j as y,k as j}from"./app-13978987.js";import"./MobileMenu-4272ee25.js";import"./FeatureSection-b1ebef06.js";import"./SeoMeta-91cb18dc.js";import"./ToastrContainer-82d03ccc.js";const C={class:"breadcrumb__area breadcrumb-height-2 breadcrumb-overlay p-relative fix"},z=k('<div class="breadcrumb__shape-2 z-index-4"><img src="/assets/img/breadcrumb/breadcrumb-shape-2-2.png" alt=""></div><div class="breadcrumb__shape-3 z-index-4"><img src="/assets/img/breadcrumb/breadcrumb-sub-2.png" alt=""></div><div class="breadcrumb__shape-4 z-index-4"><img src="/assets/img/breadcrumb/breadcrumb-sub-3.png" alt=""></div>',3),N={class:"container"},V={class:"row justify-content-center"},B={class:"col-xl-10"},L={class:"breadcrumb__content z-index-3 text-center"},P={class:"breadcrumb__title tp-char-animation text-black"},A={class:"breadcrumb__text wow tpfadeUp","data-wow-duration":".9s","data-wow-delay":".6s"},E={class:"portfolio-area pt-100 pb-50"},F={class:"container"},H={class:"row"},O={class:"col-xl-12"},S={class:"portfolio-filter masonary-menu mb-35 text-center"},$=["onClick"],q={key:0,class:"row grid"},D={class:"inner-project-item mb-30"},I={class:"inner-project-img fix p-relative"},T=["src"],U={class:"inner-project-content"},W={class:"inner-project-category-title"},G={class:"inner-project-title"},J={key:1,class:"text-center"},K=w({layout:v}),ee=Object.assign(K,{__name:"Index",props:["projects","categories"],setup(d){const _=d,r=h("*"),u=g(()=>{var t;return r.value==="*"?_.projects.data:(t=_.projects.data)==null?void 0:t.filter(n=>n.category_id==r.value)});return(t,n)=>{const b=f("Link");return i(),o(l,null,[e("div",C,[z,e("div",N,[e("div",V,[e("div",B,[e("div",L,[e("h3",P,a(t.trans("Our Projects")),1),e("div",A,[e("p",null,a(t.trans("We have an experienced team of production and inspection personnel to ensure quality.")),1)])])])])])]),e("div",E,[e("div",F,[e("div",H,[e("div",O,[e("div",S,[e("button",{onClick:n[0]||(n[0]=()=>r.value="*"),class:c(r.value==="*"?"active":"")},[e("span",null,a(t.trans("All")),1)],2),(i(!0),o(l,null,p(d.categories,s=>(i(),o("button",{class:c(r.value===s.id?"active":""),onClick:()=>r.value=s.id,key:s},[e("span",null,a(s.title),1)],10,$))),128))])])]),u.value.length>0?(i(),o("div",q,[(i(!0),o(l,null,p(u.value,s=>{var m;return i(),o("div",{key:s,class:c(["col-xl-4 col-lg-6 col-md-6 col-sm-6 grid-item",`cat${s.category_id}`])},[e("div",D,[e("div",I,[e("img",{class:"w-100",src:t.sanitizeHtml(s.preview),alt:""},null,8,T)]),e("div",U,[e("span",W,a((m=s.category)==null?void 0:m.title),1),e("h4",G,[x(b,{href:t.route("projects.show",t.sanitizeHtml(s.slug))},{default:y(()=>[j(a(s.title),1)]),_:2},1032,["href"])]),e("p",null,a(s.description),1)])])],2)}),128))])):(i(),o("div",J,[e("h3",null,a(t.trans("No projects")),1)]))])])],64)}}});export{ee as default};
