1import{aN as c,dI as f,at as r,cm as n,dR as b,cO as _,aC as B,ay as F,aI as v}from"./chunk-C9MwVHZDj8F9-rende.js";import{aD as I,aF as V,_ as g}from"./chunk-BY8-DUITmgGY-_onpa.js";import{u as h}from"./chunk-BReHlaA_2lmo-filte.js";import y from"./chunk-Ei_svdOJ2mb2-butto.js";/* empty css */const $={class:"beds-filter"},k=c({__name:"BedroomFilters",setup(x){const u=f(),l=I(),d=V(),{trackFilterEvent:i}=h(),o=r({get:()=>d.beds,set:e=>{d.beds=e}}),m=r(()=>u.$models.reduce((e,{beds:s})=>(s&&(e.includes(s)||e.push(s)),e),[])),p=r(()=>{var e,s,t;return n((s=(e=l.$stats)==null?void 0:e.beds)!=null&&s.length?(t=l.$stats)==null?void 0:t.beds:m.value||[],a=>({label:a===0?"Studio":a,value:a}))});return b(o,e=>{if(!Array.isArray(e)||!e.length)return;const s=n(e,t=>t===0?"Studio":`Beds ${t}`).join(",");i(s)},{deep:!0}),(e,s)=>(_(),B("div",$,[s[1]||(s[1]=F("h4",{class:"submenu-title"}," Bedrooms ",-1)),v(y,{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=t=>o.value=t),options:p.value,"load-more-enabled":!0,"amount-to-show-by-default":10},null,8,["modelValue","options"])]))}}),S=g(k,[["__scopeId","data-v-0fb83159"]]);export{S 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.