1import{N as w}from"./navigation-CoM3ybHq.js";import{P as x}from"./pagination-Dd_Xi1-7.js";import{S as v,a as b}from"./swiper-vue-auzTHQST.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{N as p,J as c,a0 as h,d as k,L as e,X as j,A as o,K as d,R as n,aq as g,F as B,O as L,I as S,Z as a,Y as Z,Q as M}from"./index-erkf4wHD.js";import{i as F}from"./img-home-location-NeGhCe1a.js";import"./create-element-if-not-defined-BFK3bgB-.js";import"./classes-to-selector-Br0XARct.js";const N="/build/assets/banner-home-project-iTewmyef.svg",P={},V={width:"15px",height:"16px",viewBox:"0 0 15 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function D(m,i){return c(),p("svg",V,i[0]||(i[0]=[h('<title>health</title><g id="home" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="NewHome" transform="translate(-1014, -2940)" fill="#000" fill-rule="nonzero"><g id="Group-16" transform="translate(349, 2508)"><g id="1" transform="translate(468, 34)"><g id="content" transform="translate(15, 312)"><g id="Group-3" transform="translate(153, 86)"><g id="health" transform="translate(29, 0.132)"><path d="M7.5,0 C3.36231023,0 0,3.36231023 0,7.5 C0,11.63769 3.36231023,15 7.5,15 C10.5734272,15 13.3378823,13.1224702 14.4711915,10.265625 C14.5473023,10.0734899 14.4536212,9.85599278 14.2617188,9.77929725 C14.1692644,9.74228423 14.0658842,9.74356711 13.9743768,9.78286296 C13.8828693,9.82215881 13.8107508,9.89623993 13.7739255,9.98876925 C12.753144,12.5619555 10.2682635,14.25 7.5,14.25 C3.76763993,14.25 0.75,11.23236 0.75,7.5 C0.75,3.76763992 3.76763993,0.75 7.5,0.75 C7.618395,0.75 7.73626125,0.752565 7.854492,0.75878925 C8.06115256,0.769592635 8.23750036,0.610945198 8.24853525,0.404296875 C8.25933847,0.197636572 8.1006913,0.0212890176 7.89404325,0.010253925 C7.7626755,0.0033354 7.63155,0 7.5,0 Z" id="path5798"></path><path d="M10.2641603,0.52734375 C10.1715205,0.49041105 10.0679849,0.491901528 9.97644662,0.531485617 C9.88490836,0.571069706 9.81290843,0.645486439 9.776367,0.73828125 C9.70041569,0.930824242 9.79482648,1.14849356 9.9873045,1.22460938 C12.561453,2.24490765 14.25,4.7310201 14.25,7.5 C14.25,7.61846775 14.24745,7.7361885 14.24121,7.854492 C14.2356197,7.95398571 14.2698598,8.05161306 14.3363706,8.12581926 C14.4028814,8.20002547 14.4961928,8.24470744 14.5957028,8.25 C14.6951917,8.25518087 14.7926532,8.22056076 14.8665799,8.15377951 C14.9405066,8.08699825 14.9848217,7.99354522 14.989746,7.89404325 C14.996673,7.7625945 15,7.631631 15,7.5 C15,4.42577932 13.122072,1.66011548 10.2641603,0.52734375 Z" id="path5935"></path><path d="M5.11376955,4.33886715 C4.53716033,4.33886715 3.96071775,4.55881365 3.5229492,4.99658205 C2.64741232,5.87211907 2.6474124,7.3026855 3.5229492,8.17822275 L4.58349608,9.23876925 L6.672363,11.327637 C7.126329,11.7816015 7.873671,11.7816015 8.327637,11.327637 L10.416504,9.23876925 L11.4770505,8.17822275 C12.3525885,7.3026855 12.3525885,5.87211907 11.4770505,4.99658205 C10.601514,4.12104555 9.1709475,4.12104555 8.29541025,4.99658205 L7.5,5.79199215 L6.70458975,4.99658205 C6.2668215,4.55881365 5.69037863,4.33886715 5.11376955,4.33886715 Z" id="path7279"></path></g></g></g></g></g></g></g>',2)]))}const E=y(P,[["render",D]]),H={width:"15px",height:"16px",viewBox:"0 0 15 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},$={id:"home",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},G=["fill"],z=k({__name:"EyeHomePage",props:{color:{type:String,default:"#000"}},setup(m){return(i,l)=>(c(),p("svg",H,[l[1]||(l[1]=e("title",null,"eye",-1)),e("g",$,[e("g",{id:"NewHome",transform:"translate(-1089, -2940)",fill:m.color,"fill-rule":"nonzero"},l[0]||(l[0]=[h('<g id="Group-16" transform="translate(349, 2508)"><g id="1" transform="translate(468, 34)"><g id="content" transform="translate(15, 312)"><g id="Group-3" transform="translate(153, 86)"><g id="view" transform="translate(64, 0)"><g id="eye" transform="translate(40, 0.132)"><path d="M11.7,6.76875 C10.9125,5.98125 9.3375,4.6875 7.5,4.6875 C5.6625,4.6875 4.0875,5.98125 3.3,6.76875 C2.8875,7.18125 2.8875,7.8375 3.3,8.25 C4.0875,9.01875 5.6625,10.3125 7.5,10.3125 C9.3375,10.3125 10.9125,9.01875 11.7,8.23125 C12.09375,7.8375 12.09375,7.1625 11.7,6.76875 Z M11.26875,7.81875 C10.55625,8.53125 9.13125,9.7125 7.5,9.7125 C5.86875,9.7125 4.44375,8.5125 3.73125,7.81875 C3.5625,7.65 3.5625,7.36875 3.73125,7.2 C4.44375,6.4875 5.86875,5.30625 7.5,5.30625 C9.13125,5.30625 10.55625,6.50625 11.26875,7.2 C11.4375,7.36875 11.4375,7.63125 11.26875,7.81875 Z" id="Shape"></path><path d="M7.5,5.86875 C6.6,5.86875 5.86875,6.6 5.86875,7.5 C5.86875,8.4 6.6,9.13125 7.5,9.13125 C8.4,9.13125 9.13125,8.4 9.13125,7.5 C9.13125,6.6 8.4,5.86875 7.5,5.86875 Z M7.5,8.53125 C6.91875,8.53125 6.46875,8.0625 6.46875,7.5 C6.46875,6.9375 6.9375,6.46875 7.5,6.46875 C8.0625,6.46875 8.53125,6.9375 8.53125,7.5 C8.53125,8.0625 8.08125,8.53125 7.5,8.53125 Z" id="Shape"></path><path d="M7.5,0 C3.35625,0 0,3.35625 0,7.5 C0,11.64375 3.35625,15 7.5,15 C11.64375,15 15,11.64375 15,7.5 C15,3.35625 11.64375,0 7.5,0 Z M7.5,14.4 C3.69375,14.4 0.6,11.30625 0.6,7.5 C0.6,3.69375 3.69375,0.6 7.5,0.6 C11.30625,0.6 14.4,3.69375 14.4,7.5 C14.4,11.30625 11.30625,14.4 7.5,14.4 Z" id="Shape"></path></g></g></g></g></g></g>',1)]),8,G)])]))}}),A={class:"w-100 bg-white py-5"},K={class:"container-xl home-project"},O={class:"d-flex justify-content-between fw-medium mb-2"},T={class:"text-red1"},X={class:"d-flex gap-1 justify-content-between"},q={class:"home-project-item col-8"},I={class:"img-home-project"},J=["src"],Q={class:"home-project-content mt-2"},R={class:"mb-0 fw-medium mb-2 home-project-content__title text-lo"},Y={class:"d-flex fs-14 align-items-center justify-content-between mb-2"},U={class:"mb-0"},W={class:"d-flex fs-14 align-items-center justify-content-between mb-2"},e5={class:"d-flex align-items-center justify-content-between"},t5={class:"d-flex align-items-center"},s5={class:"d-flex gap-3"},n5={class:"d-flex gap-1"},o5={class:""},a5={class:"d-flex align-items-center"},i5={class:"d-flex gap-1"},l5={class:""},r5={class:"d-flex align-items-center"},u5={__name:"HomeProject",props:{projects:Object},setup(m){const i=["#DBE3FF","#FFDDDE","#FFFAC5"],l=r=>i[r%i.length];return(r,s)=>{const u=j("rate");return c(),p("div",A,[e("div",K,[e("div",O,[s[1]||(s[1]=e("span",{class:"text-blue1"},"Lấy cảm hứng cho ngôi nhà của bạn",-1)),e("span",T,[o(n(g),{href:r.route("project.list")},{default:d(()=>s[0]||(s[0]=[e("span",{class:"fs-14 d-flex gap-1 align-items-center"},[e("span",{class:"d-flex align-items-center"}," Xem thêm "),e("span",{class:"d-flex align-items-center"},[e("svg",{fill:"none",height:"12",viewBox:"0 0 10 12",width:"10",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"clip-rule":"evenodd",d:"M10 6L0 0V12L10 6Z",fill:"#C42128","fill-rule":"evenodd"})])])],-1)])),_:1,__:[0]},8,["href"])])]),e("div",X,[s[4]||(s[4]=e("div",{class:"banner-home-project position-relative col-4"},[e("img",{alt:"banner project",src:N}),e("button",{class:"btn-common btn-red fs-14"},"Khám phá ngay")],-1)),e("div",q,[o(n(b),{breakpoints:{640:{slidesPerView:1,spaceBetween:10},768:{slidesPerView:2,spaceBetween:10},1024:{slidesPerView:3,spaceBetween:10}},loop:!0,modules:[n(w),n(x)],navigation:{nextEl:".swiper-button-next-project",prevEl:".swiper-button-prev-project"},"space-between":10},{default:d(()=>[(c(!0),p(B,null,L(m.projects,(t,C)=>(c(),S(n(v),{class:""},{default:d(()=>{var f,_;return[e("div",I,[o(n(g),{href:r.route("project.detail",{slug:t.slug,id:t.id})},{default:d(()=>
1[e("img",{src:t.project_banner_img??n(F),alt:"image project"},null,8,J)]),_:2},1032,["href"])]),e("div",Q,[o(n(g),{href:r.route("project.detail",{slug:t.slug,id:t.id})},{default:d(()=>[e("p",R,[e("b",null,a(t.name),1)])]),_:2},1032,["href"]),e("div",Y,[e("p",U,[Z(a((f=t.project_type)==null?void 0:f.name)+" - "+a(t.area)+"m",1),s[2]||(s[2]=e("sup",null,"2",-1))]),e("span",{style:M({backgroundColor:l(C)}),class:"fs-10 badge rounded-pill text-black"},a((_=t.project_design_style)==null?void 0:_.name),5)]),e("div",W,[e("span",e5,[o(u,{length:5,readonly:!0,value:t.total_rate??4,class:"rate__custom d-flex align-items-center"},null,8,["value"]),e("span",t5,a(t.total_rate??4)+"/5",1)]),e("div",s5,[e("div",n5,[e("span",o5,a(t.id+3),1),e("div",a5,[o(E)])]),e("div",i5,[e("span",l5,a(t.view_count),1),e("div",r5,[o(z)])])])])])]}),_:2},1024))),256)),s[3]||(s[3]=e("div",{class:"swiper-button-next swiper-button-next-project material-shadow"},null,-1))]),_:1,__:[3]},8,["modules"])])])])])}}};export{u5 as default};
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.