import{d as P,J as w,o as n,c as s,K as O,g as V,L as J,h as g,a,q as ue,b as G,t as $,e as E,u as z,F as K,f as Y,x as X,r as j,n as N,l as ee,M as Ce,z as I,k as Q,D as ce,R as qe,m as Ge,p as be,N as ae,s as ge,O as Je,P as ze,T as Le,_ as Re,w as We,v as Ue,Q as Qe,A as Ye,S as Xe,U as e0,i as t0,E as a0,C as o0}from"./index-bdziSFhr.js";import{a as Se,H as je,G as Pe,I as l0}from"./PhMapPin.vue-LgwKYMhs.js";import{V as n0,j as r0,i as we,w as Ve,L as s0,a as i0}from"./maplibre-gl-worker-BOdO3xHw.js";import{I as u0}from"./PhClock.vue-23xZgRjv.js";import{a as Be,r as c0,f as R}from"./format-C4dVnwMh.js";import{e as d0,f as v0,g as se}from"./cards-BEJmyN9Y.js";import{w as m0,u as p0,c as h0}from"./watches-CpF922rL.js";import{S as f0}from"./Spinner-CPEZBZfa.js";import{I as g0}from"./PhMagnifyingGlass.vue-Bu6DSWyu.js";import{u as b0}from"./useQuery-Ccak3EAB.js";const x0=["width","height","fill","transform"],y0={key:0},k0=a("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"},null,-1),$0=[k0],H0={key:1},Z0=a("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),w0=a("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"},null,-1),V0=[Z0,w0],M0={key:2},A0=a("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1),C0=[A0],z0={key:3},L0=a("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"},null,-1),S0=[L0],j0={key:4},P0=a("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1),B0=[P0],E0={key:5},N0=a("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"},null,-1),_0=[N0],O0={name:"PhArrowRight"},T0=P({...O0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",y0,$0)):o.value==="duotone"?(n(),s("g",H0,V0)):o.value==="fill"?(n(),s("g",M0,C0)):o.value==="light"?(n(),s("g",z0,S0)):o.value==="regular"?(n(),s("g",j0,B0)):o.value==="thin"?(n(),s("g",E0,_0)):V("",!0)],16,x0))}}),D0=["width","height","fill","transform"],F0={key:0},I0=a("path",{d:"M240,204h-4V76a12,12,0,0,0-12-12H188V40a12,12,0,0,0-12-12H80A12,12,0,0,0,68,40v60H32a12,12,0,0,0-12,12v92H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM44,124H80a12,12,0,0,0,12-12V52h72V76a12,12,0,0,0,12,12h36V204H148V176a4,4,0,0,0-4-4H112a4,4,0,0,0-4,4v28H44Zm64-48a12,12,0,0,1,12-12h16a12,12,0,0,1,0,24H120A12,12,0,0,1,108,76Zm0,36a12,12,0,0,1,12-12h16a12,12,0,0,1,0,24H120A12,12,0,0,1,108,112Zm52,0a12,12,0,0,1,12-12h16a12,12,0,0,1,0,24H172A12,12,0,0,1,160,112ZM96,148a12,12,0,0,1-12,12H68a12,12,0,0,1,0-24H84A12,12,0,0,1,96,148Zm12,0a12,12,0,0,1,12-12h16a12,12,0,0,1,0,24H120A12,12,0,0,1,108,148Zm52,0a12,12,0,0,1,12-12h16a12,12,0,0,1,0,24H172A12,12,0,0,1,160,148Z"},null,-1),K0=[I0],q0={key:1},G0=a("path",{d:"M224,72V216H144V168H112v48H32V104H80V40h96V72Z",opacity:"0.2"},null,-1),J0=a("path",{d:"M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,112H80a8,8,0,0,0,8-8V48h80V72a8,8,0,0,0,8,8h40V208H152V168a8,8,0,0,0-8-8H112a8,8,0,0,0-8,8v40H40Zm96,96H120V176h16ZM112,72a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,72Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,104Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,104ZM88,136a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,136Zm0,32a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,168Zm24-32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,136Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,168Z"},null,-1),R0=[G0,J0],W0={key:2},U0=a("path",{d:"M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM80,176H64a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm0-32H64a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm64,64H112V168h32Zm-8-64H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm56,96H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Z"},null,-1),Q0=[U0],Y0={key:3},X0=a("path",{d:"M240,210H230V72a6,6,0,0,0-6-6H182V40a6,6,0,0,0-6-6H80a6,6,0,0,0-6,6V98H32a6,6,0,0,0-6,6V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM38,110H80a6,6,0,0,0,6-6V46h84V72a6,6,0,0,0,6,6h42V210H150V168a6,6,0,0,0-6-6H112a6,6,0,0,0-6,6v42H38ZM138,210H118V174h20ZM114,72a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H120A6,6,0,0,1,114,72Zm0,32a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H120A6,6,0,0,1,114,104Zm56,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,104ZM86,136a6,6,0,0,1-6,6H64a6,6,0,0,1,0-12H80A6,6,0,0,1,86,136Zm0,32a6,6,0,0,1-6,6H64a6,6,0,0,1,0-12H80A6,6,0,0,1,86,168Zm28-32a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H120A6,6,0,0,1,114,136Zm56,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,136Zm0,32a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,168Z"},null,-1),e1=[X0],t1={key:4},a1=a("path",{d:"M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,112H80a8,8,0,0,0,8-8V48h80V72a8,8,0,0,0,8,8h40V208H152V168a8,8,0,0,0-8-8H112a8,8,0,0,0-8,8v40H40Zm96,96H120V176h16ZM112,72a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,72Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,104Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,104ZM88,136a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,136Zm0,32a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,168Zm24-32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,136Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,168Z"},null,-1),o1=[a1],l1={key:5},n1=a("path",{d:"M240,212H228V72a4,4,0,0,0-4-4H180V40a4,4,0,0,0-4-4H80a4,4,0,0,0-4,4v60H32a4,4,0,0,0-4,4V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM36,108H80a4,4,0,0,0,4-4V44h88V72a4,4,0,0,0,4,4h44V212H148V168a4,4,0,0,0-4-4H112a4,4,0,0,0-4,4v44H36ZM140,212H116V172h24ZM116,72a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H120A4,4,0,0,1,116,72Zm0,32a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H120A4,4,0,0,1,116,104Zm56,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,104ZM84,136a4,4,0,0,1-4,4H64a4,4,0,0,1,0-8H80A4,4,0,0,1,84,136Zm0,32a4,4,0,0,1-4,4H64a4,4,0,0,1,0-8H80A4,4,0,0,1,84,168Zm32-32a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H120A4,4,0,0,1,116,136Zm56,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,136Zm0,32a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,168Z"},null,-1),r1=[n1],s1={name:"PhBuildingApartment"},Yo=P({...s1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",F0,K0)):o.value==="duotone"?(n(),s("g",q0,R0)):o.value==="fill"?(n(),s("g",W0,Q0)):o.value==="light"?(n(),s("g",Y0,e1)):o.value==="regular"?(n(),s("g",t1,o1)):o.value==="thin"?(n(),s("g",l1,r1)):V("",!0)],16,D0))}}),i1=["width","height","fill","transform"],u1={key:0},c1=a("path",{d:"M188,86.11V84c0-14.62-10.83-27.55-30.51-36.4C140.87,40.12,119,36,96,36S51.13,40.12,34.51,47.6C14.83,56.45,4,69.38,4,84v40c0,14.62,10.83,27.55,30.51,36.4A131.67,131.67,0,0,0,68,169.88V172c0,14.62,10.83,27.55,30.51,36.4C115.13,215.88,137,220,160,220s44.87-4.12,61.49-11.6C241.17,199.55,252,186.62,252,172V132C252,109.86,226.71,92.08,188,86.11ZM228,132c0,7.75-21.77,22.48-61.81,23.88C180.33,147.4,188,136.3,188,124V110.44C213.88,115.15,228,125.48,228,132ZM107.37,147.63c-3.63.24-7.42.37-11.37.37-5.08,0-9.89-.22-14.43-.61a10.94,10.94,0,0,0-1.14-.09c-1.51-.14-3-.3-4.43-.48V130.93A187,187,0,0,0,96,132a187,187,0,0,0,20-1.07v15.89c-2.49.3-5.07.56-7.75.75C108,147.58,107.66,147.6,107.37,147.63ZM164,117.14V124c0,4.78-8.28,12.21-24,17.54v-15a115.32,115.32,0,0,0,17.49-6.13Q160.93,118.86,164,117.14ZM96,60c44,0,68,15.85,68,24s-24,24-68,24S28,92.15,28,84,52,60,96,60ZM28,124v-6.86q3.08,1.71,6.51,3.26A115.32,115.32,0,0,0,52,126.53v15C36.28,136.21,28,128.78,28,124Zm64,48v0c1.33,0,2.66,0,4,0q5.44,0,10.77-.32,4.45,1.57,9.23,2.86v15C100.28,184.21,92,176.78,92,172Zm48,22.82V178.94A186.45,186.45,0,0,0,160,180a187,187,0,0,0,20-1.07v15.89a170.08,170.08,0,0,1-40,0Zm64-5.28v-15a115.32,115.32,0,0,0,17.49-6.13q3.44-1.54,6.51-3.26V172C228,176.78,219.72,184.21,204,189.54Z"},null,-1),d1=[c1],v1={key:1},m1=a("path",{d:"M240,132c0,19.88-35.82,36-80,36-19.6,0-37.56-3.17-51.47-8.44h0C146.76,156.85,176,142,176,124V96.72h0C212.52,100.06,240,114.58,240,132ZM176,84c0-19.88-35.82-36-80-36S16,64.12,16,84s35.82,36,80,36S176,103.88,176,84Z",opacity:"0.2"},null,-1),p1=a("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"},null,-1),h1=[m1,p1],f1={key:2},g1=a("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM56,146.87C36.41,141.4,24,132.39,24,124V109.93c8.16,5.78,19.09,10.44,32,13.57Zm80-23.37c12.91-3.13,23.84-7.79,32-13.57V124c0,8.39-12.41,17.4-32,22.87Zm-16,71.37C100.41,189.4,88,180.39,88,172v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41Zm0-44.62A163,163,0,0,1,96,152a163,163,0,0,1-24-1.75V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54Zm64,48a165.45,165.45,0,0,1-48,0V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54ZM232,172c0,8.39-12.41,17.4-32,22.87V171.5c12.91-3.13,23.84-7.79,32-13.57Z"},null,-1),b1=[g1],x1={key:3},y1=a("path",{d:"M224.56,103.81C213.43,97.75,198.47,93.39,182,91.34V84c0-12.12-9.58-23.1-27-30.93C139.16,45.93,118.2,42,96,42S52.84,45.93,37,53.07C19.58,60.9,10,71.88,10,84v40c0,12.12,9.58,23.1,27,30.93,10.49,4.72,23.21,8,37,9.73V172c0,12.12,9.58,23.1,27,30.93C116.84,210.07,137.8,214,160,214s43.16-3.93,59-11.07c17.39-7.83,27-18.81,27-30.93V132C246,121.35,238.39,111.34,224.56,103.81Zm-5.74,10.54C228.61,119.68,234,126,234,132c0,14.19-30.39,30-74,30a166.9,166.9,0,0,1-21.21-1.34A110.79,110.79,0,0,0,155,154.93c17.39-7.83,27-18.81,27-30.93V103.43C196.4,105.36,209.3,109.16,218.82,114.35ZM108.16,153.58c-3.92.27-8,.42-12.16.42-5.3,0-10.4-.24-15.28-.67a2.22,2.22,0,0,0-.37,0c-3.58-.33-7-.77-10.35-1.3V124.12A178,178,0,0,0,96,126a178,178,0,0,0,26-1.88V152c-4.34.69-8.91,1.22-13.69,1.56ZM170,105.89V124c0,9.54-13.75,19.8-36,25.51V121.85a115,115,0,0,0,21-6.92A66.2,66.2,0,0,0,170,105.89ZM96,54c43.61,0,74,15.81,74,30s-30.39,30-74,30S22,98.19,22,84,52.39,54,96,54ZM22,124V105.89a66.2,66.2,0,0,0,15,9,115,115,0,0,0,21,6.92v27.66C35.75,143.8,22,133.54,22,124Zm64,48v-6.28c3.3.18,6.63.28,10,.28q5.91,0,11.66-.37A123.17,123.17,0,0,0,122,169.84v27.67C99.75,191.8,86,181.54,86,172Zm48,28V172.1a177.84,177.84,0,0,0,26,1.9,178,178,0,0,0,26-1.88V200a170,170,0,0,1-52,0Zm64-2.49V169.85a115,115,0,0,0,21-6.92,66.2,66.2,0,0,0,15-9V172C234,181.54,220.25,191.8,198,197.51Z"},null,-1),k1=[y1],$1={key:4},H1=a("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"},null,-1),Z1=[H1],w1={key:5},V1=a("path",{d:"M180,93.11V84c0-22.43-36.9-40-84-40S12,61.57,12,84v40c0,19.14,26.86,34.72,64,38.89V172c0,22.43,36.9,40,84,40s84-17.57,84-40V132C244,113.12,217.87,97.37,180,93.11ZM236,132c0,15.45-30.54,32-76,32a165.71,165.71,0,0,1-28-2.34v-1.39c28.61-6.31,48-20,48-36.27V101.17C212.22,105,236,117.93,236,132ZM108.19,155.59Q102.3,156,96,156c-5.47,0-10.72-.25-15.73-.69l-.27,0h0c-4.16-.38-8.16-.9-12-1.56V121.8A174.87,174.87,0,0,0,96,124a174.87,174.87,0,0,0,28-2.2v31.92a155,155,0,0,1-15.52,1.85ZM172,101.32V124c0,10.88-15.16,22.3-40,28.11V120.27C149.63,116.38,163.75,109.69,172,101.32ZM96,52c45.46,0,76,16.55,76,32s-30.54,32-76,32S20,99.45,20,84,50.54,52,96,52ZM20,124V101.32c8.25,8.37,22.37,15.06,40,19v31.84C35.16,146.3,20,134.88,20,124Zm64,48v-8.4c3.91.26,7.92.4,12,.4s8.06-.14,12-.39a123.93,123.93,0,0,0,16,4.63v31.87C99.16,194.3,84,182.88,84,172Zm48,29.72V169.77A174.48,174.48,0,0,0,160,172a174.87,174.87,0,0,0,28-2.2v31.92a173.07,173.07,0,0,1-56,0ZM236,172c0,10.88-15.16,22.3-40,28.11V168.27c17.63-3.89,31.75-10.58,40-19Z"},null,-1),M1=[V1],A1={name:"PhCoins"},Xo=P({...A1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",u1,d1)):o.value==="duotone"?(n(),s("g",v1,h1)):o.value==="fill"?(n(),s("g",f1,b1)):o.value==="light"?(n(),s("g",x1,k1)):o.value==="regular"?(n(),s("g",$1,Z1)):o.value==="thin"?(n(),s("g",w1,M1)):V("",!0)],16,i1))}}),C1=["width","height","fill","transform"],z1={key:0},L1=a("path",{d:"M240,188h-4V98.67A20,20,0,0,0,227.09,82l-88-58.66a19.94,19.94,0,0,0-22.18,0L28.91,82A20,20,0,0,0,20,98.67V188H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM44,100.81l84-56,84,56V188H196V120a12,12,0,0,0-12-12H72a12,12,0,0,0-12,12v68H44ZM172,132v16H140V132Zm-56,16H84V132h32ZM84,172h32v16H84Zm56,0h32v16H140Z"},null,-1),S1=[L1],j1={key:1},P1=a("path",{d:"M184,136v64H72V136Z",opacity:"0.2"},null,-1),B1=a("path",{d:"M240,192h-8V98.67a16,16,0,0,0-7.12-13.31l-88-58.67a16,16,0,0,0-17.75,0l-88,58.67A16,16,0,0,0,24,98.67V192H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,98.67,128,40l88,58.66V192H192V136a8,8,0,0,0-8-8H72a8,8,0,0,0-8,8v56H40ZM176,144v16H136V144Zm-56,16H80V144h40ZM80,176h40v16H80Zm56,0h40v16H136Z"},null,-1),E1=[P1,B1],N1={key:2},_1=a("path",{d:"M240,192h-8V98.67a16,16,0,0,0-7.12-13.31l-88-58.67a16,16,0,0,0-17.75,0l-88,58.67A16,16,0,0,0,24,98.67V192H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM136,128h56v24H136Zm-16,24H64V128h56ZM64,168h56v24H64Zm72,0h56v24H136Z"},null,-1),O1=[_1],T1={key:3},D1=a("path",{d:"M240,194H230V98.67A14,14,0,0,0,223.77,87l-88-58.66a14,14,0,0,0-15.54,0L32.23,87A14,14,0,0,0,26,98.67V194H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM38,98.67A2,2,0,0,1,38.89,97l88-58.67a2,2,0,0,1,2.22,0l88,58.67a2,2,0,0,1,.89,1.66V194H190V136a6,6,0,0,0-6-6H72a6,6,0,0,0-6,6v58H38ZM178,142v20H134V142Zm-56,20H78V142h44ZM78,174h44v20H78Zm56,0h44v20H134Z"},null,-1),F1=[D1],I1={key:4},K1=a("path",{d:"M240,192h-8V98.67a16,16,0,0,0-7.12-13.31l-88-58.67a16,16,0,0,0-17.75,0l-88,58.67A16,16,0,0,0,24,98.67V192H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,98.67,128,40l88,58.66V192H192V136a8,8,0,0,0-8-8H72a8,8,0,0,0-8,8v56H40ZM176,144v16H136V144Zm-56,16H80V144h40ZM80,176h40v16H80Zm56,0h40v16H136Z"},null,-1),q1=[K1],G1={key:5},J1=a("path",{d:"M240,196H228V98.67a12,12,0,0,0-5.34-10L134.66,30a12,12,0,0,0-13.32,0l-88,58.67a12,12,0,0,0-5.34,10V196H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM36,98.67a4,4,0,0,1,1.78-3.33l88-58.66a4,4,0,0,1,4.44,0l88,58.66A4,4,0,0,1,220,98.67V196H188V136a4,4,0,0,0-4-4H72a4,4,0,0,0-4,4v60H36ZM180,140v24H132V140Zm-56,24H76V140h48Zm-48,8h48v24H76Zm56,0h48v24H132Z"},null,-1),R1=[J1],W1={name:"PhGarage"},el=P({...W1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",z1,S1)):o.value==="duotone"?(n(),s("g",j1,E1)):o.value==="fill"?(n(),s("g",N1,O1)):o.value==="light"?(n(),s("g",T1,F1)):o.value==="regular"?(n(),s("g",I1,q1)):o.value==="thin"?(n(),s("g",G1,R1)):V("",!0)],16,C1))}}),U1=["width","height","fill","transform"],Q1={key:0},Y1=a("path",{d:"M240,204H228V144a12,12,0,0,0,12.49-19.78L142.14,25.85a20,20,0,0,0-28.28,0L15.51,124.2A12,12,0,0,0,28,144v60H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM52,121.65l76-76,76,76V204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52ZM140,204H116V164h24Z"},null,-1),X1=[Y1],et={key:1},tt=a("path",{d:"M216,116.69V216H152V152H104v64H40V116.69l82.34-82.35a8,8,0,0,1,11.32,0Z",opacity:"0.2"},null,-1),at=a("path",{d:"M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM48,120l80-80,80,80v88H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48Zm96,88H112V160h32Z"},null,-1),ot=[tt,at],lt={key:2},nt=a("path",{d:"M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16Zm-88,0H104V160a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4Z"},null,-1),rt=[nt],st={key:3},it=a("path",{d:"M240,210H222V131.17l5.76,5.76a6,6,0,0,0,8.48-8.49L137.9,30.09a14,14,0,0,0-19.8,0L19.76,128.44a6,6,0,0,0,8.48,8.49L34,131.17V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM46,119.17l80.58-80.59a2,2,0,0,1,2.84,0L210,119.17V210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46ZM146,210H110V158h36Z"},null,-1),ut=[it],ct={key:4},dt=a("path",{d:"M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM48,120l80-80,80,80v88H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48Zm96,88H112V160h32Z"},null,-1),vt=[dt],mt={key:5},pt=a("path",{d:"M240,212H220V126.34l9.17,9.17a4,4,0,1,0,5.66-5.66L136.49,31.51a12,12,0,0,0-17,0L21.17,129.85a4,4,0,1,0,5.66,5.66L36,126.34V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM44,118.34l81.17-81.17a4,4,0,0,1,5.66,0L212,118.34V212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44ZM148,212H108V156h40Z"},null,-1),ht=[pt],ft={name:"PhHouseLine"},tl=P({...ft,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",Q1,X1)):o.value==="duotone"?(n(),s("g",et,ot)):o.value==="fill"?(n(),s("g",lt,rt)):o.value==="light"?(n(),s("g",st,ut)):o.value==="regular"?(n(),s("g",ct,vt)):o.value==="thin"?(n(),s("g",mt,ht)):V("",!0)],16,U1))}}),gt=["width","height","fill","transform"],bt={key:0},xt=a("path",{d:"M40,92H70.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24H137.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24Zm64-24A12,12,0,1,1,92,80,12,12,0,0,1,104,68Zm112,96H201.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24h94.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24Zm-48,24a12,12,0,1,1,12-12A12,12,0,0,1,168,188Z"},null,-1),yt=[xt],kt={key:1},$t=a("path",{d:"M128,80a24,24,0,1,1-24-24A24,24,0,0,1,128,80Zm40,72a24,24,0,1,0,24,24A24,24,0,0,0,168,152Z",opacity:"0.2"},null,-1),Ht=a("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"},null,-1),Zt=[$t,Ht],wt={key:2},Vt=a("path",{d:"M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"},null,-1),Mt=[Vt],At={key:3},Ct=a("path",{d:"M40,86H74.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12H133.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12Zm64-24A18,18,0,1,1,86,80,18,18,0,0,1,104,62ZM216,170H197.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12h98.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12Zm-48,24a18,18,0,1,1,18-18A18,18,0,0,1,168,194Z"},null,-1),zt=[Ct],Lt={key:4},St=a("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"},null,-1),jt=[St],Pt={key:5},Bt=a("path",{d:"M40,84H76.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8H131.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8Zm64-24A20,20,0,1,1,84,80,20,20,0,0,1,104,60ZM216,172H195.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8H140.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8Zm-48,24a20,20,0,1,1,20-20A20,20,0,0,1,168,196Z"},null,-1),Et=[Bt],Nt={name:"PhSlidersHorizontal"},al=P({...Nt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",bt,yt)):o.value==="duotone"?(n(),s("g",kt,Zt)):o.value==="fill"?(n(),s("g",wt,Mt)):o.value==="light"?(n(),s("g",At,zt)):o.value==="regular"?(n(),s("g",Lt,jt)):o.value==="thin"?(n(),s("g",Pt,Et)):V("",!0)],16,gt))}}),_t=["width","height","fill","transform"],Ot={key:0},Tt=a("path",{d:"M128,128a12,12,0,0,1-12,12H48a12,12,0,0,1,0-24h68A12,12,0,0,1,128,128ZM48,76H180a12,12,0,0,0,0-24H48a12,12,0,0,0,0,24Zm52,104H48a12,12,0,0,0,0,24h52a12,12,0,0,0,0-24Zm132.49-20.49a12,12,0,0,0-17,0L196,179V112a12,12,0,0,0-24,0v67l-19.51-19.52a12,12,0,0,0-17,17l40,40a12,12,0,0,0,17,0l40-40A12,12,0,0,0,232.49,159.51Z"},null,-1),Dt=[Tt],Ft={key:1},It=a("path",{d:"M224,80v88l-24,24H48V64H208A16,16,0,0,1,224,80Z",opacity:"0.2"},null,-1),Kt=a("path",{d:"M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z"},null,-1),qt=[It,Kt],Gt={key:2},Jt=a("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,72h96a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm40,112H72a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Zm8-48H72a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm77.66,29.66-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L160,164.69V120a8,8,0,0,1,16,0v44.69l10.34-10.35a8,8,0,0,1,11.32,11.32Z"},null,-1),Rt=[Jt],Wt={key:3},Ut=a("path",{d:"M126,128a6,6,0,0,1-6,6H48a6,6,0,0,1,0-12h72A6,6,0,0,1,126,128ZM48,70H184a6,6,0,0,0,0-12H48a6,6,0,0,0,0,12Zm56,116H48a6,6,0,0,0,0,12h56a6,6,0,0,0,0-12Zm124.24-22.24a6,6,0,0,0-8.48,0L190,193.51V112a6,6,0,0,0-12,0v81.51l-29.76-29.75a6,6,0,0,0-8.48,8.48l40,40a6,6,0,0,0,8.48,0l40-40A6,6,0,0,0,228.24,163.76Z"},null,-1),Qt=[Ut],Yt={key:4},Xt=a("path",{d:"M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z"},null,-1),ea=[Xt],ta={key:5},aa=a("path",{d:"M124,128a4,4,0,0,1-4,4H48a4,4,0,0,1,0-8h72A4,4,0,0,1,124,128ZM48,68H184a4,4,0,0,0,0-8H48a4,4,0,0,0,0,8Zm56,120H48a4,4,0,0,0,0,8h56a4,4,0,0,0,0-8Zm122.83-22.83a4,4,0,0,0-5.66,0L188,198.34V112a4,4,0,0,0-8,0v86.34l-33.17-33.17a4,4,0,0,0-5.66,5.66l40,40a4,4,0,0,0,5.66,0l40-40A4,4,0,0,0,226.83,165.17Z"},null,-1),oa=[aa],la={name:"PhSortAscending"},na=P({...la,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",Ot,Dt)):o.value==="duotone"?(n(),s("g",Ft,qt)):o.value==="fill"?(n(),s("g",Gt,Rt)):o.value==="light"?(n(),s("g",Wt,Qt)):o.value==="regular"?(n(),s("g",Yt,ea)):o.value==="thin"?(n(),s("g",ta,oa)):V("",!0)],16,_t))}}),ra=["width","height","fill","transform"],sa={key:0},ia=a("path",{d:"M236,96a12,12,0,0,0-.44-3.3L221.2,42.51A20.08,20.08,0,0,0,202,28H54A20.08,20.08,0,0,0,34.8,42.51L20.46,92.7A12,12,0,0,0,20,96h0v16a43.94,43.94,0,0,0,16,33.92V216a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V145.92A43.94,43.94,0,0,0,236,112V96ZM57.05,52H199l9.14,32H47.91Zm91,56v4a20,20,0,0,1-40,0v-4ZM53,128.71A20,20,0,0,1,44,112v-4H84v4a20,20,0,0,1-20,20,19.76,19.76,0,0,1-9.07-2.2A11.54,11.54,0,0,0,53,128.71ZM196,204H60V155.81c1.32.12,2.65.19,4,.19a43.86,43.86,0,0,0,32-13.85,43.89,43.89,0,0,0,64,0A43.86,43.86,0,0,0,192,156c1.35,0,2.68-.07,4-.19Zm16-92a20,20,0,0,1-9,16.71,11.66,11.66,0,0,0-1.88,1.09A20,20,0,0,1,172,112v-4h40Z"},null,-1),ua=[ia],ca={key:1},da=a("path",{d:"M224,96v16a32,32,0,0,1-64,0V96H96v16a32,32,0,0,1-64,0V96L46.34,45.8A8,8,0,0,1,54,40H202a8,8,0,0,1,7.69,5.8Z",opacity:"0.2"},null,-1),va=a("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM54,48H202l11.42,40H42.61Zm98,56v8a24,24,0,0,1-48,0v-8ZM51.06,132.2A24,24,0,0,1,40,112v-8H88v8a24,24,0,0,1-35.12,21.26A7.88,7.88,0,0,0,51.06,132.2ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm16-96a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"},null,-1),ma=[da,va],pa={key:2},ha=a("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM88,112a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8H88Zm64,0a24,24,0,0,1-48,0v-8h48Zm64,0a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"},null,-1),fa=[ha],ga={key:3},ba=a("path",{d:"M26.22,94.41A6,6,0,0,0,26,96v16A38,38,0,0,0,42,143V216a6,6,0,0,0,6,6H208a6,6,0,0,0,6-6V143A38,38,0,0,0,230,112V96a5.91,5.91,0,0,0-.23-1.64L215.43,44.15A14.07,14.07,0,0,0,202,34H54A14.07,14.07,0,0,0,40.57,44.15Zm25.89-47A2,2,0,0,1,54,46H202a2,2,0,0,1,1.92,1.45L216.05,90H40ZM102,102h52v10a26,26,0,0,1-52,0Zm-64,0H90v10a26,26,0,0,1-38.18,23,6,6,0,0,0-1.65-1A26,26,0,0,1,38,112ZM202,210H54V148.66a38,38,0,0,0,42-16.21,37.95,37.95,0,0,0,64,0,38,38,0,0,0,42,16.21Zm3.83-76a6,6,0,0,0-1.65,1A26,26,0,0,1,166,112V102h52v10A26,26,0,0,1,205.83,134Z"},null,-1),xa=[ba],ya={key:4},ka=a("path",{d:"M232,96a7.89,7.89,0,0,0-.3-2.2L217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.8A7.89,7.89,0,0,0,24,96h0v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96ZM54,48H202l11.42,40H42.61Zm50,56h48v8a24,24,0,0,1-48,0Zm-16,0v8a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm4.93-75.8a8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48v8A24,24,0,0,1,204.93,132.2Z"},null,-1),$a=[ka],Ha={key:5},Za=a("path",{d:"M28.15,95A3.81,3.81,0,0,0,28,96v16a36,36,0,0,0,16,29.92V216a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V141.92A36,36,0,0,0,228,112V96a3.81,3.81,0,0,0-.17-1.08L213.5,44.7A12,12,0,0,0,202,36H54A12,12,0,0,0,42.5,44.7Zm22-48.08A4,4,0,0,1,54,44H202a4,4,0,0,1,3.84,2.9L218.7,92H37.3ZM100,100h56v12a28,28,0,0,1-56,0ZM36,112V100H92v12a28,28,0,0,1-41.37,24.59,4,4,0,0,0-1.31-.76A28,28,0,0,1,36,112ZM204,212H52V145.94a36,36,0,0,0,44-17.48,36,36,0,0,0,64,0,36,36,0,0,0,44,17.48Zm2.68-76.17a3.94,3.94,0,0,0-1.3.76A28,28,0,0,1,164,112V100h56v12A28,28,0,0,1,206.68,135.83Z"},null,-1),wa=[Za],Va={name:"PhStorefront"},ol=P({...Va,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",sa,ua)):o.value==="duotone"?(n(),s("g",ca,ma)):o.value==="fill"?(n(),s("g",pa,fa)):o.value==="light"?(n(),s("g",ga,xa)):o.value==="regular"?(n(),s("g",ya,$a)):o.value==="thin"?(n(),s("g",Ha,wa)):V("",!0)],16,ra))}}),Ma=["width","height","fill","transform"],Aa={key:0},Ca=a("path",{d:"M255,187.13l-64-144A12,12,0,0,0,180,36H76a12,12,0,0,0-10.85,6.9,2.42,2.42,0,0,0-.12.23L65,43.3a.08.08,0,0,0,0,0L1,187.13A12,12,0,0,0,12,204H244a12,12,0,0,0,11-16.87ZM64,104.55V180H30.46ZM88,180V104.55L121.54,180Zm59.8,0L94.47,60H172.2l53.34,120Z"},null,-1),za=[Ca],La={key:1},Sa=a("path",{d:"M136,192H8L72,48Z",opacity:"0.2"},null,-1),ja=a("path",{d:"M255.31,188.75l-64-144A8,8,0,0,0,184,40H72a8,8,0,0,0-7.27,4.69.21.21,0,0,0,0,.06l0,.12,0,0L.69,188.75A8,8,0,0,0,8,200H248a8,8,0,0,0,7.31-11.25ZM64,184H20.31L64,85.7Zm16,0V85.7L123.69,184Zm61.2,0L84.31,56H178.8l56.89,128Z"},null,-1),Pa=[Sa,ja],Ba={key:2},Ea=a("path",{d:"M255.31,188.75l-64-144A8,8,0,0,0,184,40H72a8,8,0,0,0-7.31,4.75h0l0,.12v0L.69,188.75A8,8,0,0,0,8,200H248a8,8,0,0,0,7.31-11.25ZM64,184H20.31L64,85.7Zm16,0V85.7L123.69,184Z"},null,-1),Na=[Ea],_a={key:3},Oa=a("path",{d:"M253.48,189.56l-64-144A6,6,0,0,0,184,42H72a6,6,0,0,0-5.45,3.51l0,.05,0,.09v0L2.52,189.56A6,6,0,0,0,8,198H248a6,6,0,0,0,5.48-8.44ZM66,76.27V186H17.23ZM78,186V76.27L126.77,186Zm61.9,0L81.23,54H180.1l58.67,132Z"},null,-1),Ta=[Oa],Da={key:4},Fa=a("path",{d:"M255.31,188.75l-64-144A8,8,0,0,0,184,40H72a8,8,0,0,0-7.27,4.69.21.21,0,0,0,0,.06l0,.12,0,0L.69,188.75A8,8,0,0,0,8,200H248a8,8,0,0,0,7.31-11.25ZM64,184H20.31L64,85.7Zm16,0V85.7L123.69,184Zm61.2,0L84.31,56H178.8l56.89,128Z"},null,-1),Ia=[Fa],Ka={key:5},qa=a("path",{d:"M251.66,190.38l-64-144A4,4,0,0,0,184,44H72a4,4,0,0,0-3.63,2.35s0,0,0,0l0,.06h0l-64,143.93A4,4,0,0,0,8,196H248a4,4,0,0,0,3.66-5.62ZM68,66.85V188H14.16ZM76,188V66.85L129.84,188Zm62.6,0L78.16,52H181.4l60.44,136Z"},null,-1),Ga=[qa],Ja={name:"PhTent"},ll=P({...Ja,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",Aa,za)):o.value==="duotone"?(n(),s("g",La,Pa)):o.value==="fill"?(n(),s("g",Ba,Na)):o.value==="light"?(n(),s("g",_a,Ta)):o.value==="regular"?(n(),s("g",Da,Ia)):o.value==="thin"?(n(),s("g",Ka,Ga)):V("",!0)],16,Ma))}}),Ra=["width","height","fill","transform"],Wa={key:0},Ua=a("path",{d:"M201.17,59.62a80,80,0,0,0-146.34,0,76,76,0,0,0,61.17,139V232a12,12,0,0,0,24,0V198.64A76.26,76.26,0,0,0,168,204l1.92,0A76,76,0,0,0,201.17,59.62ZM169.35,180A52,52,0,0,1,140,171.79V135.42l41.37-20.69a12,12,0,1,0-10.74-21.46L140,108.58V88a12,12,0,0,0-24,0v44.58L85.37,117.27a12,12,0,0,0-10.74,21.46L116,159.42v12.37A52.24,52.24,0,0,1,86.65,180c-27.53-.69-50.72-24.56-50.65-52.13a51.81,51.81,0,0,1,32.61-48.1,12,12,0,0,0,6.78-7,56,56,0,0,1,105.22,0,12,12,0,0,0,6.78,7A51.81,51.81,0,0,1,220,127.85C220.08,155.41,196.88,179.29,169.35,180Z"},null,-1),Qa=[Ua],Ya={key:1},Xa=a("path",{d:"M232,127.82c.09,33.94-28.41,63.3-62.34,64.16a63.72,63.72,0,0,1-41.66-14,63.71,63.71,0,0,1-41.65,14c-33.93-.86-62.44-30.22-62.35-64.16a64,64,0,0,1,40.13-59.2,68,68,0,0,1,127.74,0A64,64,0,0,1,232,127.82Z",opacity:"0.2"},null,-1),e2=a("path",{d:"M198.1,62.59a76,76,0,0,0-140.2,0A71.71,71.71,0,0,0,16,127.8C15.9,166,48,199,86.14,200A72.22,72.22,0,0,0,120,192.47V232a8,8,0,0,0,16,0V192.47A72.17,72.17,0,0,0,168,200l1.82,0C208,199,240.11,166,240,127.8A71.71,71.71,0,0,0,198.1,62.59ZM169.45,184a56.08,56.08,0,0,1-33.45-10v-41l43.58-21.78a8,8,0,1,0-7.16-14.32L136,115.06V88a8,8,0,0,0-16,0v51.06L83.58,120.84a8,8,0,1,0-7.16,14.32L120,156.94v17a56,56,0,0,1-33.45,10C56.9,183.23,31.92,157.52,32,127.84A55.79,55.79,0,0,1,67.11,76a8,8,0,0,0,4.53-4.67,60,60,0,0,1,112.72,0A8,8,0,0,0,188.89,76,55.79,55.79,0,0,1,224,127.84C224.08,157.52,199.1,183.23,169.45,184Z"},null,-1),t2=[Xa,e2],a2={key:2},o2=a("path",{d:"M128,187.85a72.44,72.44,0,0,0,8,4.62V232a8,8,0,0,1-16,0V192.47A72.44,72.44,0,0,0,128,187.85ZM198.1,62.59a76,76,0,0,0-140.2,0A71.71,71.71,0,0,0,16,127.8C15.9,166,48,199,86.14,200A72.22,72.22,0,0,0,120,192.47V156.94L76.42,135.16a8,8,0,1,1,7.16-14.32L120,139.06V88a8,8,0,0,1,16,0v27.06l36.42-18.22a8,8,0,1,1,7.16,14.32L136,132.94v59.53A72.17,72.17,0,0,0,168,200l1.82,0C208,199,240.11,166,240,127.8A71.71,71.71,0,0,0,198.1,62.59Z"},null,-1),l2=[o2],n2={key:3},r2=a("path",{d:"M196.55,64.09a74,74,0,0,0-137.1,0A69.71,69.71,0,0,0,18,127.8C17.9,164.91,49.13,197,86.19,198A70.32,70.32,0,0,0,122,189.16V232a6,6,0,0,0,12,0V189.16A70.1,70.1,0,0,0,168,198l1.77,0C206.87,197,238.1,164.9,238,127.8A69.71,69.71,0,0,0,196.55,64.09ZM169.5,186A57.88,57.88,0,0,1,134,175V131.71l44.68-22.34a6,6,0,1,0-5.36-10.74L134,118.29V88a6,6,0,0,0-12,0v54.29L82.68,122.63a6,6,0,0,0-5.36,10.74L122,155.71V175a58.09,58.09,0,0,1-35.5,11c-30.71-.77-56.58-27.4-56.5-58.14A57.78,57.78,0,0,1,66.37,74.19a6,6,0,0,0,3.39-3.51,62,62,0,0,1,116.48,0,6,6,0,0,0,3.39,3.51A57.77,57.77,0,0,1,226,127.83C226.08,158.58,200.21,185.2,169.5,186Z"},null,-1),s2=[r2],i2={key:4},u2=a("path",{d:"M198.1,62.59a76,76,0,0,0-140.2,0A71.71,71.71,0,0,0,16,127.8C15.9,166,48,199,86.14,200A72.09,72.09,0,0,0,120,192.47V232a8,8,0,0,0,16,0V192.47A72.17,72.17,0,0,0,168,200l1.82,0C208,199,240.11,166,240,127.8A71.71,71.71,0,0,0,198.1,62.59ZM169.45,184a56.08,56.08,0,0,1-33.45-10v-41l43.58-21.78a8,8,0,1,0-7.16-14.32L136,115.06V88a8,8,0,0,0-16,0v51.06L83.58,120.84a8,8,0,1,0-7.16,14.32L120,156.94v17a56,56,0,0,1-33.45,10C56.9,183.23,31.92,157.52,32,127.84A55.77,55.77,0,0,1,67.11,76a8,8,0,0,0,4.53-4.67,60,60,0,0,1,112.72,0A8,8,0,0,0,188.89,76,55.79,55.79,0,0,1,224,127.84C224.08,157.52,199.1,183.23,169.45,184Z"},null,-1),c2=[u2],d2={key:5},v2=a("path",{d:"M195,65.59a72,72,0,0,0-134,0,67.72,67.72,0,0,0-41,62.22c-.1,36,30.24,67.26,66.25,68.17A68.24,68.24,0,0,0,124,185.66V232a4,4,0,0,0,8,0V185.67A68.09,68.09,0,0,0,168,196l1.72,0c36-.91,66.34-32.13,66.24-68.17A67.73,67.73,0,0,0,195,65.59ZM169.55,188A60.15,60.15,0,0,1,132,176v-45.5l45.79-22.89a4,4,0,1,0-3.58-7.16L132,121.53V88a4,4,0,0,0-8,0v57.53L81.79,124.42a4,4,0,1,0-3.58,7.16L124,154.47V176a60,60,0,0,1-37.55,12c-31.77-.8-58.54-28.35-58.45-60.15a59.77,59.77,0,0,1,37.62-55.5A4,4,0,0,0,67.88,70a64,64,0,0,1,120.24,0,4,4,0,0,0,2.26,2.33A59.79,59.79,0,0,1,228,127.83C228.09,159.63,201.32,187.18,169.55,188Z"},null,-1),m2=[v2],p2={name:"PhTree"},nl=P({...p2,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,i=w("weight","regular"),r=w("size","1em"),c=w("color","currentColor"),v=w("mirrored",!1),o=g(()=>t.weight??i),u=g(()=>t.size??r),x=g(()=>t.color??c),p=g(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:v?"scale(-1, 1)":void 0);return(h,b)=>(n(),s("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:x.value,transform:p.value},h.$attrs),[O(h.$slots,"default"),o.value==="bold"?(n(),s("g",Wa,Qa)):o.value==="duotone"?(n(),s("g",Ya,t2)):o.value==="fill"?(n(),s("g",a2,l2)):o.value==="light"?(n(),s("g",n2,s2)):o.value==="regular"?(n(),s("g",i2,c2)):o.value==="thin"?(n(),s("g",d2,m2)):V("",!0)],16,Ra))}}),h2={class:"relative"},f2=["aria-expanded"],g2={role:"listbox",class:"absolute right-0 top-10 z-30 flex w-[220px] animate-panel-pop flex-col rounded-[14px] border border-border-soft bg-surface p-1.5 shadow-menu"},b2=["aria-selected","onClick"],rl=P({__name:"SortMenu",props:X({options:{},modelValue:{}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:X(["update:modelValue","open"],["update:open"]),setup(e,{emit:t}){const i=e,r=t,c=ue(e,"open"),v=g(()=>{var p;return((p=i.options.find(h=>h.value===i.modelValue))==null?void 0:p.label)??""}),o=j(null);function u(p){r("update:modelValue",p),c.value=!1}function x(){c.value=!c.value,c.value&&r("open")}return(p,h)=>(n(),s("div",h2,[a("button",{ref_key:"btn",ref:o,type:"button",class:"inline-flex h-[34px] items-center gap-1.5 whitespace-nowrap rounded-full pl-3 pr-2.5 text-[13px] font-bold text-fg hover:bg-surface-3","aria-haspopup":"listbox","aria-expanded":c.value,onClick:x},[G($(v.value),1),E(z(Se),{size:12,weight:"bold",class:"text-fg-muted"})],8,f2),c.value?(n(),s(K,{key:0},[a("div",{class:"fixed inset-0 z-[29]",onClick:h[0]||(h[0]=b=>c.value=!1)}),a("div",g2,[(n(!0),s(K,null,Y(e.options,b=>(n(),s("button",{key:b.value,type:"button",role:"option","aria-selected":b.value===e.modelValue,class:N(["flex h-10 items-center justify-between rounded-[10px] px-3 text-left text-[13.5px] font-semibold text-fg hover:bg-surface-2",b.value===e.modelValue?"bg-surface-2":""]),onClick:m=>u(b.value)},[G($(b.label),1),b.value===e.modelValue?(n(),ee(z(Ce),{key:0,size:14,weight:"bold",class:"text-primary"})):V("",!0)],10,b2))),128))])],64)):V("",!0)]))}});async function x2(e,t,i){const r=await fetch(`/api/${e}/geo?${new URLSearchParams(t)}`,{headers:{Accept:"application/json"},signal:i});if(!r.ok)throw new Error(`geo ${r.status}`);return r.json()}async function y2(e,t){const i=await fetch(`/api/${e}/${t}`,{headers:{Accept:"application/json"}});if(!i.ok)return[];const r=await i.json();return Array.isArray(r.images)?r.images.filter(Boolean):r.image?[r.image]:[]}const k2=["src"],$2={key:2,class:"tnum absolute bottom-2 right-2 rounded-[5px] bg-fg/70 px-2 py-0.5 text-[11px] font-medium text-white"},H2={class:"flex flex-wrap items-baseline gap-2"},Z2={class:"tnum text-[18px] font-extrabold tracking-[-.01em]"},w2={key:0,class:"rounded-[5px] bg-primary-soft px-1.5 py-px text-[12px] font-semibold text-primary"},V2={class:"line-clamp-2 text-[14px] font-semibold leading-[1.35]"},M2={key:0,class:"truncate text-[12.5px] text-fg-muted"},A2={key:1,class:"flex items-center gap-1.5 text-[12.5px] font-semibold text-amber-fg"},C2=P({__name:"GeoCard",props:{point:{},kind:{},closable:{type:Boolean,default:!0},flat:{type:Boolean,default:!1}},emits:["close"],setup(e){const t=e,i=j([]),r=j(0);I(()=>t.point.id,async m=>{i.value=t.point.image?[t.point.image]:[],r.value=0;const y=await y2(t.kind,m).catch(()=>[]);m===t.point.id&&y.length&&(i.value=y)},{immediate:!0});const c=g(()=>Math.max(i.value.length,t.point.imageCount||0)),v=m=>{const y=i.value.length;y>1&&(r.value=(r.value+m+y)%y)};let o=null;const u=m=>o=m.clientX;function x(m){if(o==null)return;const y=m.clientX-o;o=null,Math.abs(y)>40&&v(y<0?1:-1)}const p=g(()=>t.kind==="sales"?d0(t.point):v0(t.point)),h=g(()=>[t.point.city,t.point.district].filter((m,y,H)=>m&&H.indexOf(m)===y).join(" · ")),b=g(()=>{const m=t.point.startsAt;if(!m)return"";const y=new Date(m),H=c0(m);return`${y.toLocaleDateString("cs-CZ")} · ${y.toLocaleTimeString("cs-CZ",{hour:"2-digit",minute:"2-digit"})}${H?` · ${H}`:""}`});return(m,y)=>(n(),s("div",{class:N(["flex flex-col overflow-hidden bg-surface text-fg",e.flat?"":"rounded-2xl shadow-map-preview"])},[a("div",{class:N(["relative touch-pan-y select-none overflow-hidden bg-[#DCE3DF]",e.flat?"aspect-[16/9] rounded-xl":"aspect-[4/3]"]),onPointerdown:u,onPointerup:x},[i.value[r.value]?(n(),s("img",{key:0,src:i.value[r.value],alt:"",class:"h-full w-full object-cover",draggable:"false"},null,8,k2)):V("",!0),i.value.length>1?(n(),s(K,{key:1},[a("button",{type:"button","aria-label":"Předchozí fotka",class:"absolute left-2 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded-full bg-white/[.92] shadow-map-control",onClick:y[0]||(y[0]=Q(H=>v(-1),["stop"]))},[E(z(je),{size:15,weight:"bold"})]),a("button",{type:"button","aria-label":"Další fotka",class:"absolute right-2 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded-full bg-white/[.92] shadow-map-control",onClick:y[1]||(y[1]=Q(H=>v(1),["stop"]))},[E(z(Pe),{size:15,weight:"bold"})])],64)):V("",!0),c.value?(n(),s("span",$2,$(Math.min(r.value+1,c.value))+" / "+$(c.value),1)):V("",!0),e.closable?(n(),s("button",{key:3,type:"button","aria-label":"Zavřít",class:"absolute right-2 top-2 grid h-8 w-8 place-items-center rounded-full bg-white/[.92] shadow-map-control",onClick:y[2]||(y[2]=Q(H=>m.$emit("close"),["stop"]))},[E(z(ce),{size:15})])):V("",!0)],34),a("div",{class:N(["flex flex-col gap-1 p-3",e.flat?"px-0 pb-0":""])},[a("div",H2,[a("span",Z2,$(e.point.price!=null?z(Be)(e.point.price):"Cena na dotaz"),1),e.point.discount&&e.point.discount>0?(n(),s("span",w2,"−"+$(Math.round(e.point.discount*100))+" % vs. odhad",1)):V("",!0)]),a("div",V2,$(e.point.title),1),h.value?(n(),s("div",M2,$(h.value),1)):V("",!0),b.value?(n(),s("div",A2,[E(z(u0),{size:13}),G($(b.value),1)])):V("",!0),E(z(qe),{to:p.value,class:"mt-2 inline-flex h-10 items-center justify-center gap-1.5 rounded-full bg-primary text-[14px] font-bold text-white hover:bg-primary-hover hover:text-white"},{default:Ge(()=>[y[3]||(y[3]=G(" Zobrazit detail ",-1)),E(z(T0),{size:15,weight:"bold"})]),_:1},8,["to"])],2)],2))}}),z2={class:"relative isolate h-full overflow-hidden rounded-[20px] bg-[#EEF1EF] shadow-[0_2px_12px_rgba(23,32,28,.06)]"},L2={class:"absolute inset-0 z-0"},S2=["aria-checked"],j2={class:"tnum pointer-events-none absolute right-3.5 top-3.5 z-[5] inline-flex h-[30px] items-center gap-1.5 whitespace-nowrap rounded-full bg-fg/75 px-3.5 text-[12.5px] font-semibold text-white"},P2={key:0,class:"h-3 w-3 animate-spin-fast rounded-full border-2 border-white/40 border-t-white"},B2={class:"absolute bottom-3.5 right-3.5 z-[5] flex flex-col gap-1.5"},E2=["src"],N2={class:"flex min-w-0 flex-col gap-0.5"},_2={class:"tnum text-[15px] font-extrabold"},O2={class:"line-clamp-2 text-[12.5px] font-semibold leading-[1.3]"},T2={class:"truncate text-[11.5px] text-fg-muted"},D2={key:0,class:"mb-1.5 flex items-center justify-between rounded-full bg-white px-1.5 py-1 shadow-map-control"},F2={class:"tnum text-[12.5px] font-bold"},I2="https://tiles.openfreemap.org/styles/positron",Me=17,sl=P({__name:"MapPanel",props:X({geo:{},kind:{},tone:{default:"primary"},noun:{default:"nabídek"},highlightId:{default:null},loading:{type:Boolean,default:!1}},{searchOnMove:{type:Boolean,default:!0},searchOnMoveModifiers:{}}),emits:X(["view","open"],["update:searchOnMove"]),setup(e,{expose:t,emit:i}){const r=e,c=ue(e,"searchOnMove"),v=i;s0(i0);const o=j(null),u=Je(null),x=j(0),p=g(()=>r.tone==="amber"?"#B7791F":"#087F5B");let h=[];const b=j(null),m=j(null),y=j(0),H=l=>l>=1e3?48:l>=200?44:l>=50?40:l>=10?36:30,k=l=>Math.round(l.length*7.3+24),B=l=>l.price!=null?se(l.price):"Na dotaz";function q(l){const d=H(l),f=document.createElement("button");return f.type="button",f.style.cssText=`display:grid;place-items:center;width:${d}px;height:${d}px;border-radius:50%;color:#fff;font:800 ${l>=1e3?12:13}px Nunito,system-ui,sans-serif;font-variant-numeric:tabular-nums;border:3px solid #fff;box-shadow:0 2px 8px rgba(23,32,28,.3);box-sizing:border-box;cursor:pointer;padding:0;transition:background .12s`,f.style.background=p.value,f.textContent=l>=1e4?`${Math.round(l/1e3)}k`:l>=1e3?`${(l/1e3).toFixed(1).replace(".",",")}k`:String(l),f}function _(l){const d=document.createElement("button");return d.type="button",d.setAttribute("aria-label",l.title),d.style.cssText="display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:999px;border:0;white-space:nowrap;font:800 12.5px Nunito,system-ui,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px rgba(23,32,28,.25);cursor:pointer;transition:background .12s,color .12s;background:#fff;color:#17201C",d.textContent=B(l),d}const de=l=>{var d,f;return l.key===((d=m.value)==null?void 0:d.key)||l.key===((f=b.value)==null?void 0:f.key)||l.items.some(S=>S.id===r.highlightId)};function W(){for(const l of h){if(!l.cell)continue;const d=de(l.cell);l.kind==="pill"?(l.el.style.background=d?"#17201C":"#fff",l.el.style.color=d?"#fff":"#17201C"):l.el.style.background=d?"#17201C":p.value,l.el.parentElement??l.el,l.el.style.zIndex=d?"5":""}}const xe=(l,d)=>l.x1<d.x2&&l.x2>d.x1&&l.y1<d.y2&&l.y2>d.y1;function oe(l){if(l.items.length===1){const f=k(B(l.items[0]))+4;return{x1:l.x-f/2,y1:l.y-32,x2:l.x+f/2,y2:l.y}}const d=H(l.items.length)/2+2;return{x1:l.x-d,y1:l.y-d,x2:l.x+d,y2:l.y+d}}function Ne(l){const d=u.value,f=M=>{var C,L;return M.id===r.highlightId||M.id===((L=(C=m.value)==null?void 0:C.items[y.value])==null?void 0:L.id)?2:M.price!=null?1:0},S=[...l].sort((M,C)=>f(C)-f(M)),Z=new Map(S.map(M=>[M.id,d.project([M.lon,M.lat])])),A=[],T=M=>{M.x=M.items.reduce((C,L)=>C+Z.get(L.id).x,0)/M.items.length,M.y=M.items.reduce((C,L)=>C+Z.get(L.id).y,0)/M.items.length};for(const M of S){const C=Z.get(M.id),L={items:[M],x:C.x,y:C.y},F=oe(L),D=A.find(re=>xe(F,oe(re)));D?(D.items.push(M),T(D)):A.push(L)}for(let M=0;M<6;M++){let C=!1;for(let L=0;L<A.length&&!C;L++)for(let F=L+1;F<A.length;F++)if(xe(oe(A[L]),oe(A[F]))){A[L].items.push(...A[F].items),A.splice(F,1),T(A[L]),C=!0;break}if(!C)break}return A.map(M=>({key:M.items.map(C=>C.id).sort((C,L)=>C-L).join("-"),lat:M.items.reduce((C,L)=>C+L.lat,0)/M.items.length,lon:M.items.reduce((C,L)=>C+L.lon,0)/M.items.length,items:M.items}))}function _e(l){let d=0;for(const f of l)for(const S of l){const Z=(f.lat-S.lat)*111320,A=(f.lon-S.lon)*111320*Math.cos(f.lat*Math.PI/180);d=Math.max(d,Math.hypot(A,Z))}return d}function Oe(l){b.value=null,m.value=l,y.value=0,v("open",l.items[0]),W()}function ye(){for(const l of h)l.marker.remove();h=[]}function ve(){const l=u.value;if(!l)return;ye();const d=r.geo;if(!d)return;const f=[...d.clusters].sort((Z,A)=>A.count-Z.count),S=[];for(const Z of f){const A=q(Z.count);A.setAttribute("aria-label",`Shluk ${Z.count} – zobrazit blíž`),A.addEventListener("click",D=>{D.stopPropagation(),l.flyTo({center:[Z.lon,Z.lat],zoom:Math.min(Math.round(l.getZoom())+2,Me),duration:500})});const T=l.project([Z.lon,Z.lat]),M=H(Z.count)/2+2;let C=T.x,L=T.y;for(const D of S){const re=C-D.x,Ze=L-D.y,te=Math.hypot(re,Ze);if(te<M+D.r){const Ie=te>.5?re/te:.7071,Ke=te>.5?Ze/te:.7071;C=D.x+Ie*(M+D.r),L=D.y+Ke*(M+D.r)}}S.push({x:C,y:L,r:M});const F=new we({element:A,anchor:"center",offset:[C-T.x,L-T.y]}).setLngLat([Z.lon,Z.lat]).addTo(l);h.push({marker:F,el:A,kind:"server"})}for(const Z of Ne(d.points)){const A=Z.items.length===1,T=A?_(Z.items[0]):q(Z.items.length);A||T.setAttribute("aria-label",`${Z.items.length} ${r.noun} – zobrazit`),T.addEventListener("mouseenter",()=>{b.value=Z,W()}),T.addEventListener("mouseleave",()=>{var C;((C=b.value)==null?void 0:C.key)===Z.key&&(b.value=null),W()}),T.addEventListener("click",C=>{if(C.stopPropagation(),!A&&_e(Z.items)>25&&l.getZoom()<Me){const L=new Ve;for(const F of Z.items)L.extend([F.lon,F.lat]);b.value=null,l.fitBounds(L,{padding:80,maxZoom:18,duration:500});return}Oe(Z)});const M=new we({element:T,anchor:A?"bottom":"center"}).setLngLat([Z.lon,Z.lat]).addTo(l);h.push({marker:M,el:T,cell:Z,kind:A?"pill":"bubble"})}b.value&&!h.some(Z=>{var A;return((A=Z.cell)==null?void 0:A.key)===b.value.key})&&(b.value=null),W()}function ke(l){var S;if(x.value,!l||!u.value)return null;const d=u.value.project([l.lon,l.lat]),f=((S=o.value)==null?void 0:S.clientWidth)??0;return{left:`${Math.min(Math.max(d.x,160),Math.max(160,f-160))}px`,top:`${d.y}px`,below:d.y<430}}const le=g(()=>{var l;return ke(b.value&&b.value.key!==((l=m.value)==null?void 0:l.key)?b.value:null)}),ne=g(()=>ke(m.value)),me=g(()=>{var l;return((l=m.value)==null?void 0:l.items[y.value])??null}),U=g(()=>{var l;return((l=b.value)==null?void 0:l.items[0])??null}),$e=g(()=>{var Z;const l=((Z=b.value)==null?void 0:Z.items)??[];if(l.length<2)return"";const d=l.map(A=>A.price).filter(A=>A!=null);if(!d.length)return"";const f=Math.min(...d),S=Math.max(...d);return f===S?se(f):`${se(f)} – ${se(S)}`});function He(l){var f;const d=((f=m.value)==null?void 0:f.items.length)??0;d<2||(y.value=(y.value+l+d)%d,v("open",me.value))}let pe;function he(){clearTimeout(pe),pe=setTimeout(()=>{const l=u.value;if(!l)return;const d=l.getBounds(),f=S=>S.toFixed(5);v("view",{bbox:[f(d.getSouth()),f(d.getWest()),f(d.getNorth()),f(d.getEast())].join(","),zoom:Math.round(l.getZoom())})},350)}function Te(l){const d=u.value;if(!d||!l.length)return;if(l.length===1){d.jumpTo({center:[l[0][1],l[0][0]],zoom:12});return}const f=new Ve;for(const[S,Z]of l)f.extend([Z,S]);d.fitBounds(f,{padding:60,maxZoom:14,duration:0})}function fe(){m.value=null,v("open",null),W()}t({fit:Te,closePopup:fe});function De(l){for(const d of l.getStyle().layers??[]){const f=d.id;try{d.type==="background"?l.setPaintProperty(f,"background-color","#F7F8F7"):d.type==="fill"&&/park|landuse|landcover|wood|grass|cemetery|pitch/.test(f)?l.setPaintProperty(f,"fill-color","#EAF5EF"):d.type==="fill"&&/water/.test(f)?l.setPaintProperty(f,"fill-color","#DCE5E8"):d.type==="line"&&/waterway/.test(f)?l.setPaintProperty(f,"line-color","#D3DEE2"):d.type==="symbol"&&!/shield/.test(f)&&l.getLayoutProperty(f,"text-field")!=null&&(l.setPaintProperty(f,"text-color",/place|city|town|country|state/.test(f)?"#4C5852":"#66736D"),/name/.test(JSON.stringify(l.getLayoutProperty(f,"text-field")))&&l.setLayoutProperty(f,"text-field",["coalesce",["get","name:cs"],["get","name_int"],["get","name"]]))}catch{}}}be(()=>{const l=new n0({container:o.value,style:I2,center:[15.45,49.8],zoom:6.4,minZoom:5,maxZoom:18,attributionControl:!1,dragRotate:!1,pitchWithRotate:!1});l.touchZoomRotate.disableRotation(),l.addControl(new r0({compact:!0}),"bottom-left"),l.on("style.load",()=>De(l)),l.once("load",()=>{var d,f;return(f=(d=o.value)==null?void 0:d.querySelector(".maplibregl-ctrl-attrib"))==null?void 0:f.classList.remove("maplibregl-compact-show")}),l.on("move",()=>x.value++),l.on("moveend",()=>{he(),ve()}),l.on("click",()=>m.value&&fe()),u.value=l,ve(),he()}),I(()=>r.geo,()=>{var l;if(m.value){const d=new Set((((l=r.geo)==null?void 0:l.points)??[]).map(f=>f.id));m.value.items.some(f=>d.has(f.id))||(m.value=null)}ve()}),I(()=>r.highlightId,W),I(c,l=>l&&he()),ae(()=>{var l;clearTimeout(pe),ye(),(l=u.value)==null||l.remove(),u.value=null});const Fe=l=>[l.city,l.district].filter((d,f,S)=>d&&S.indexOf(d)===f).join(" · ");return(l,d)=>{var f;return n(),s("div",z2,[a("div",L2,[a("div",{ref_key:"el",ref:o,class:"h-full w-full"},null,512)]),a("button",{type:"button",role:"switch","aria-checked":c.value,class:"absolute left-3.5 top-3.5 z-[5] inline-flex h-[34px] items-center gap-2 rounded-full bg-white px-3 text-[12.5px] font-bold shadow-map-control",onClick:d[0]||(d[0]=S=>c.value=!c.value)},[a("span",{class:N(["relative h-[18px] w-[30px] rounded-[9px] transition-colors",c.value?e.tone==="amber"?"bg-amber":"bg-primary":"bg-border-strong"])},[a("span",{class:N(["absolute top-0.5 h-3.5 w-3.5 rounded-full bg-white transition-all",c.value?"right-0.5":"left-0.5"])},null,2)],2),d[8]||(d[8]=G(" Hledat při posunu ",-1))],8,S2),a("span",j2,[e.loading?(n(),s("span",P2)):V("",!0),G(" "+$(z(R)(((f=e.geo)==null?void 0:f.total)??0))+" "+$(e.noun)+" v této oblasti ",1)]),a("div",B2,[a("button",{type:"button","aria-label":"Přiblížit",class:"h-10 w-10 rounded-xl bg-white text-[20px] font-semibold shadow-map-control",onClick:d[1]||(d[1]=S=>{var Z;return(Z=u.value)==null?void 0:Z.zoomIn()})},"+"),a("button",{type:"button","aria-label":"Oddálit",class:"h-10 w-10 rounded-xl bg-white text-[20px] font-semibold shadow-map-control",onClick:d[2]||(d[2]=S=>{var Z;return(Z=u.value)==null?void 0:Z.zoomOut()})},"−")]),le.value&&U.value&&b.value?(n(),s("div",{key:0,class:N(["pointer-events-none absolute z-[8] grid w-[280px] -translate-x-1/2 grid-cols-[96px_1fr] gap-2.5 rounded-[14px] bg-white p-2 shadow-map-preview",le.value.below?"translate-y-6":"-translate-y-[calc(100%+40px)]"]),style:ge({left:le.value.left,top:le.value.top})},[a("img",{src:U.value.image,alt:"",class:"h-[72px] w-24 rounded-[9px] bg-[#DCE3DF] object-cover"},null,8,E2),a("span",N2,[a("span",_2,$(U.value.price!=null?z(Be)(U.value.price):"Cena na dotaz"),1),a("span",O2,$(U.value.title),1),a("span",T2,$(Fe(U.value)),1),b.value.items.length>1?(n(),s("span",{key:0,class:N(["tnum truncate text-[11.5px] font-bold",e.tone==="amber"?"text-amber-fg":"text-primary"])},[G(" +"+$(b.value.items.length-1)+" "+$(b.value.items.length-1===1?"další":"dalších"),1),$e.value?(n(),s(K,{key:0},[G(" · "+$($e.value),1)],64)):V("",!0)],2)):V("",!0)])],6)):V("",!0),ne.value&&me.value?(n(),s("div",{key:1,class:N(["absolute z-[9] w-[300px] -translate-x-1/2 animate-panel-pop",ne.value.below?"translate-y-6":"-translate-y-[calc(100%+40px)]"]),style:ge({left:ne.value.left,top:ne.value.top}),onClick:d[5]||(d[5]=Q(()=>{},["stop"])),onWheel:d[6]||(d[6]=Q(()=>{},["stop"])),onMousedown:d[7]||(d[7]=Q(()=>{},["stop"]))},[m.value&&m.value.items.length>1?(n(),s("div",D2,[a("button",{type:"button","aria-label":"Předchozí nabídka",class:"grid h-7 w-7 place-items-center rounded-full hover:bg-surface-2",onClick:d[3]||(d[3]=S=>He(-1))},[E(z(je),{size:14,weight:"bold"})]),a("span",F2,$(y.value+1)+" / "+$(m.value.items.length)+" na tomto místě",1),a("button",{type:"button","aria-label":"Další nabídka",class:"grid h-7 w-7 place-items-center rounded-full hover:bg-surface-2",onClick:d[4]||(d[4]=S=>He(1))},[E(z(Pe),{size:14,weight:"bold"})])])):V("",!0),E(C2,{point:me.value,kind:e.kind,onClose:fe},null,8,["point","kind"])],38)):V("",!0)])}}}),K2=["aria-expanded"],q2={class:"tnum whitespace-nowrap"},il=P({__name:"FilterPill",props:{label:{},icon:{},open:{type:Boolean},count:{},tone:{default:"primary"}},emits:["toggle"],setup(e){return(t,i)=>(n(),s("button",{type:"button",class:N(["inline-flex h-[42px] items-center gap-2 rounded-full border pl-4 pr-3.5 text-[14px] font-bold text-fg",e.open?e.tone==="amber"?"border-amber bg-amber-soft":"border-primary bg-primary-soft":"border-border bg-surface hover:border-border-strong"]),"aria-expanded":e.open,"aria-haspopup":"dialog",onClick:i[0]||(i[0]=r=>t.$emit("toggle",r.currentTarget))},[e.icon?(n(),ee(ze(e.icon),{key:0,size:15,weight:"duotone",class:N(["flex-none",e.tone==="amber"?"text-amber":"text-fg-muted"])},null,8,["class"])):V("",!0),a("span",q2,$(e.label),1),e.count?(n(),s("span",{key:1,class:N(["grid h-[18px] min-w-[18px] place-items-center rounded-[9px] px-[5px] text-[11px] font-extrabold text-white",e.tone==="amber"?"bg-amber":"bg-primary"])},$(e.count),3)):V("",!0),E(z(Se),{size:14,class:"flex-none"})],10,K2))}}),G2=["aria-label"],J2={class:"flex items-center justify-between"},R2={class:"text-[15px] font-extrabold"},W2={class:"sticky bottom-0 -mx-[18px] mt-1 flex items-center justify-between border-t border-border-soft bg-surface px-6 pb-[18px] pt-3.5"},ul=P({__name:"FilterPanel",props:{title:{},anchor:{},width:{default:370},total:{default:null},resultNoun:{default:"výsledků"}},emits:["close","reset"],setup(e,{emit:t}){const i=e,r=t,c=g(()=>{var b;const o=(b=i.anchor)==null?void 0:b.getBoundingClientRect(),u=window.innerWidth,x=Math.min(i.width,u-32),p=o?Math.max(16,Math.min(o.left,u-x-16)):16,h=o?o.bottom+8:140;return{left:`${p}px`,top:`${h}px`,width:`${x}px`,maxHeight:`calc(100vh - ${h+16}px)`}});function v(o){o.key==="Escape"&&r("close")}return be(()=>document.addEventListener("keydown",v)),ae(()=>document.removeEventListener("keydown",v)),(o,u)=>(n(),ee(Le,{to:"body"},[a("div",{class:"fixed inset-0 z-[60]",onClick:u[0]||(u[0]=x=>r("close"))}),a("div",{role:"dialog","aria-label":e.title,class:"no-scrollbar fixed z-[61] flex animate-panel-pop flex-col gap-3.5 overflow-auto rounded-[20px] border border-border-soft bg-surface px-[18px] pt-[18px] text-fg shadow-panel",style:ge(c.value)},[a("div",J2,[a("span",R2,$(e.title),1),a("button",{type:"button","aria-label":"Zavřít",class:"grid h-8 w-8 place-items-center rounded-full bg-surface-2",onClick:u[1]||(u[1]=x=>r("close"))},[E(z(ce),{size:15})])]),O(o.$slots,"default"),a("div",W2,[a("button",{type:"button",class:"text-[14px] font-bold text-fg-muted hover:text-fg",onClick:u[2]||(u[2]=x=>r("reset"))},"Zrušit"),a("button",{type:"button",class:"tnum h-11 rounded-full bg-primary px-[22px] text-[14.5px] font-bold text-white hover:bg-primary-hover",onClick:u[3]||(u[3]=x=>r("close"))},$(e.total==null?"Zobrazit výsledky":`Zobrazit ${z(R)(e.total)} ${e.resultNoun}`),1)])],12,G2)]))}}),U2={},Q2={class:"text-[12px] font-extrabold uppercase tracking-[.04em] text-fg-muted"};function Y2(e,t){return n(),s("span",Q2,[O(e.$slots,"default")])}const cl=Re(U2,[["render",Y2]]);async function Ee(e,t,i){const r=await fetch(`/api${e}?${new URLSearchParams(t)}`,{headers:{Accept:"application/json"},signal:i});if(!r.ok)throw new Error(`${r.status} ${e}`);return r.json()}async function X2(e,t,i){return(await Ee(`/${e}`,{...t,limit:"1",offset:"0"},i)).total}const eo={class:"relative flex h-[42px] min-w-[260px] items-center gap-2 rounded-full border border-border bg-surface pl-3 pr-3.5 focus-within:border-primary"},to=["aria-label","onClick"],ao=["placeholder","aria-expanded"],oo={role:"listbox",class:"absolute left-0 top-[50px] z-[56] w-[360px] animate-panel-pop rounded-[18px] border border-border-soft bg-surface p-1.5 shadow-menu"},lo=["aria-selected","onMouseenter","onClick"],no={class:"grid h-[30px] min-w-[30px] place-items-center rounded-lg bg-surface-2 px-1 text-[9px] font-extrabold tracking-[.04em] text-fg-muted"},ro={class:"flex min-w-0 flex-1 flex-col"},so={class:"truncate text-[14px] font-medium"},io={key:0,class:"truncate text-[12px] text-fg-muted"},uo={key:0,class:"tnum text-[12.5px] text-fg-subtle"},dl=P({__name:"LocationField",props:{chips:{},options:{},placeholder:{default:"Přidat oblast…"},wordSearch:{},placeOption:{}},setup(e){const t=e,i=j(""),r=j(!1),c=j(0),v=m=>m.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase(),o=j([]);let u,x;I(i,m=>{clearTimeout(u),x==null||x.abort();const y=m.trim();if(!t.placeOption||y.length<2){o.value=[];return}u=setTimeout(async()=>{x=new AbortController;try{o.value=await Ee("/places",{q:y},x.signal)}catch{}},180)});const p=g(()=>{const m=v(i.value.trim()),y=m?t.options.filter(k=>!(t.placeOption&&k.kind==="MĚSTO")&&v(k.label).includes(m)):t.options,H=m&&t.placeOption?[...y.slice(0,3),...o.value.map(t.placeOption)].slice(0,9):y.slice(0,7);if(m&&t.wordSearch){const k=i.value.trim();H.push({kind:"SLOVO",label:`„${k}"`,sub:"Hledat v názvu a popisu",apply:()=>t.wordSearch(k)})}return H});function h(m){m.apply(),i.value="",r.value=!1}function b(m){if(r.value||(r.value=!0),m.key==="ArrowDown")c.value=Math.min(c.value+1,p.value.length-1);else if(m.key==="ArrowUp")c.value=Math.max(c.value-1,0);else if(m.key==="Enter"&&p.value[c.value])h(p.value[c.value]);else if(m.key==="Escape")r.value=!1;else if(m.key==="Backspace"&&!i.value&&t.chips.length)t.chips[t.chips.length-1].clear();else return;m.preventDefault()}return(m,y)=>(n(),s("div",eo,[E(z(l0),{size:16,class:"flex-none text-fg-muted"}),(n(!0),s(K,null,Y(e.chips,H=>(n(),s("span",{key:H.key,class:"inline-flex h-[26px] flex-none items-center gap-1.5 rounded-full bg-primary-soft pl-2.5 pr-1 text-[13px] font-bold text-primary"},[G($(H.label),1),a("button",{type:"button",class:"grid h-[18px] w-[18px] place-items-center rounded-full text-[#5F9F86] hover:text-primary","aria-label":`Odebrat ${H.label}`,onClick:k=>H.clear()},[E(z(ce),{size:11,weight:"bold"})],8,to)]))),128)),We(a("input",{"onUpdate:modelValue":y[0]||(y[0]=H=>i.value=H),placeholder:e.chips.length?"Přidat oblast…":e.placeholder,class:"min-w-[60px] flex-1 border-0 bg-transparent text-[14px] outline-none placeholder:text-fg-subtle",role:"combobox","aria-expanded":r.value&&p.value.length>0,"aria-autocomplete":"list",onFocus:y[1]||(y[1]=H=>{r.value=!0,c.value=0}),onInput:y[2]||(y[2]=H=>{r.value=!0,c.value=0}),onKeydown:b},null,40,ao),[[Ue,i.value]]),r.value&&p.value.length?(n(),s(K,{key:0},[a("div",{class:"fixed inset-0 z-[55]",onClick:y[3]||(y[3]=H=>r.value=!1)}),a("div",oo,[(n(!0),s(K,null,Y(p.value,(H,k)=>(n(),s("button",{key:H.kind+H.label+(H.sub??""),type:"button",role:"option","aria-selected":k===c.value,class:N(["flex w-full items-center gap-3 rounded-xl px-2.5 py-2 text-left hover:bg-surface-2",k===c.value?"bg-surface-2":""]),onMouseenter:B=>c.value=k,onClick:B=>h(H)},[a("span",no,$(H.kind),1),a("span",ro,[a("span",so,$(H.label),1),H.sub?(n(),s("span",io,$(H.sub),1)):V("",!0)]),H.count!=null?(n(),s("span",uo,$(z(R)(H.count)),1)):V("",!0)],42,lo))),128))])],64)):V("",!0)]))}}),co={class:"grid grid-cols-3 gap-2"},vo=["aria-pressed","onClick"],mo={key:0,class:"tnum -mt-1 text-[11px] font-semibold opacity-70"},vl=P({__name:"TypeTiles",props:{options:{},active:{},tone:{},size:{}},emits:["toggle"],setup(e){return(t,i)=>(n(),s("div",co,[(n(!0),s(K,null,Y(e.options,r=>(n(),s("button",{key:r.value,type:"button",class:N(["flex h-[84px] flex-col items-center justify-center gap-1.5 rounded-2xl border-[1.5px] text-[13px] font-bold",e.active.includes(r.value)?e.tone==="amber"?"border-amber bg-amber-soft text-amber-fg":"border-primary bg-primary-soft text-primary":"border-border bg-surface text-fg hover:border-border-strong"]),"aria-pressed":e.active.includes(r.value),onClick:c=>t.$emit("toggle",r.value)},[(n(),ee(ze(r.icon),{size:26,weight:"duotone"})),a("span",null,$(r.label),1),r.count!=null?(n(),s("span",mo,$(z(R)(r.count)),1)):V("",!0)],10,vo))),128))]))}}),Ae=e=>String(e).padStart(2,"0"),ml=e=>`${e.getFullYear()}-${Ae(e.getMonth()+1)}-${Ae(e.getDate())}`;function pl(e){const[,t,i]=e.split("-").map(Number);return`${i}. ${t}.`}function hl(e){return e>=1e6?`${String(Math.round(e/1e4)/100).replace(".",",")} mil.`:e>=1e3?`${Math.round(e/1e3)} tis.`:`${e} Kč`}const po=["value","placeholder","aria-label"],fl=P({__name:"PriceInput",props:X({placeholder:{},label:{},size:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=ue(e,"modelValue");function i(r){const c=Number.parseInt(r.replace(/\D/g,""),10);t.value=Number.isFinite(c)&&c>0?c:null}return(r,c)=>(n(),s("label",{class:N(["flex min-w-0 items-center rounded-full border border-border px-4 focus-within:border-primary",e.size==="lg"?"h-11":"h-[42px] text-[14px]"])},[a("input",{value:t.value==null?"":z(R)(t.value),inputmode:"numeric",placeholder:e.placeholder,"aria-label":e.label,class:"tnum min-w-0 flex-1 border-0 bg-transparent outline-none placeholder:text-fg-subtle",onChange:c[0]||(c[0]=v=>i(v.target.value)),onKeydown:c[1]||(c[1]=Qe(v=>i(v.target.value),["enter"]))},null,40,po),c[2]||(c[2]=a("span",{class:"flex-none text-fg-muted"},"Kč",-1))],2))}}),gl={byty:{filter:"byt",name:"Dražby bytů",genitiv:"bytů"},domy:{filter:"rodinny-dum",name:"Dražby rodinných domů",genitiv:"rodinných domů"},pozemky:{filter:"pozemek",name:"Dražby pozemků",genitiv:"pozemků"},"stavebni-pozemky":{filter:"stavebni-pozemek",name:"Dražby stavebních pozemků",genitiv:"stavebních pozemků"},chaty:{filter:"rekreacni",name:"Dražby chat a rekreačních objektů",genitiv:"chat"},garaze:{filter:"garaz",name:"Dražby garáží",genitiv:"garáží"},"komercni-nemovitosti":{filter:"komercni",name:"Dražby komerčních nemovitostí",genitiv:"komerčních nemovitostí"}},bl={praha:"Hlavní město Praha","stredocesky-kraj":"Středočeský","jihocesky-kraj":"Jihočeský","plzensky-kraj":"Plzeňský","karlovarsky-kraj":"Karlovarský","ustecky-kraj":"Ústecký","liberecky-kraj":"Liberecký","kralovehradecky-kraj":"Královéhradecký","pardubicky-kraj":"Pardubický","kraj-vysocina":"Vysočina","jihomoravsky-kraj":"Jihomoravský","olomoucky-kraj":"Olomoucký","zlinsky-kraj":"Zlínský","moravskoslezsky-kraj":"Moravskoslezský"},xl={"Hlavní město Praha":"v Praze",Středočeský:"ve Středočeském kraji",Jihočeský:"v Jihočeském kraji",Plzeňský:"v Plzeňském kraji",Karlovarský:"v Karlovarském kraji",Ústecký:"v Ústeckém kraji",Liberecký:"v Libereckém kraji",Královéhradecký:"v Královéhradeckém kraji",Pardubický:"v Pardubickém kraji",Vysočina:"na Vysočině",Jihomoravský:"v Jihomoravském kraji",Olomoucký:"v Olomouckém kraji",Zlínský:"ve Zlínském kraji",Moravskoslezský:"v Moravskoslezském kraji"},yl={byty:{filter:"byt",name:"Byty na prodej",genitiv:"bytů"},domy:{filter:"rodinny-dum",name:"Rodinné domy na prodej",genitiv:"rodinných domů"},pozemky:{filter:"pozemek",name:"Pozemky na prodej",genitiv:"pozemků"},"stavebni-pozemky":{filter:"stavebni-pozemek",name:"Stavební pozemky na prodej",genitiv:"stavebních pozemků"},chaty:{filter:"rekreacni",name:"Chaty a chalupy na prodej",genitiv:"chat a chalup"},garaze:{filter:"garaz",name:"Garáže na prodej",genitiv:"garáží"},"komercni-nemovitosti":{filter:"komercni",name:"Komerční nemovitosti na prodej",genitiv:"komerčních nemovitostí"}},kl={praha:{name:"Praha",locative:"v Praze",region:"Hlavní město Praha"},brno:{name:"Brno",locative:"v Brně",region:"Jihomoravský"},ostrava:{name:"Ostrava",locative:"v Ostravě",region:"Moravskoslezský"},plzen:{name:"Plzeň",locative:"v Plzni",region:"Plzeňský"},liberec:{name:"Liberec",locative:"v Liberci",region:"Liberecký"},olomouc:{name:"Olomouc",locative:"v Olomouci",region:"Olomoucký"},"ceske-budejovice":{name:"České Budějovice",locative:"v Českých Budějovicích",region:"Jihočeský"},"hradec-kralove":{name:"Hradec Králové",locative:"v Hradci Králové",region:"Královéhradecký"},"usti-nad-labem":{name:"Ústí nad Labem",locative:"v Ústí nad Labem",region:"Ústecký"},pardubice:{name:"Pardubice",locative:"v Pardubicích",region:"Pardubický"},zlin:{name:"Zlín",locative:"ve Zlíně",region:"Zlínský"},havirov:{name:"Havířov",locative:"v Havířově",region:"Moravskoslezský"},kladno:{name:"Kladno",locative:"v Kladně",region:"Středočeský"},most:{name:"Most",locative:"v Mostě",region:"Ústecký"},opava:{name:"Opava",locative:"v Opavě",region:"Moravskoslezský"},jihlava:{name:"Jihlava",locative:"v Jihlavě",region:"Vysočina"},teplice:{name:"Teplice",locative:"v Teplicích",region:"Ústecký"},"karlovy-vary":{name:"Karlovy Vary",locative:"v Karlových Varech",region:"Karlovarský"},chomutov:{name:"Chomutov",locative:"v Chomutově",region:"Ústecký"},decin:{name:"Děčín",locative:"v Děčíně",region:"Ústecký"},"frydek-mistek":{name:"Frýdek-Místek",locative:"ve Frýdku-Místku",region:"Moravskoslezský"},karvina:{name:"Karviná",locative:"v Karviné",region:"Moravskoslezský"},"jablonec-nad-nisou":{name:"Jablonec nad Nisou",locative:"v Jablonci nad Nisou",region:"Liberecký"},"mlada-boleslav":{name:"Mladá Boleslav",locative:"v Mladé Boleslavi",region:"Středočeský"},prostejov:{name:"Prostějov",locative:"v Prostějově",region:"Olomoucký"},prerov:{name:"Přerov",locative:"v Přerově",region:"Olomoucký"},trebic:{name:"Třebíč",locative:"v Třebíči",region:"Vysočina"},"ceska-lipa":{name:"Česká Lípa",locative:"v České Lípě",region:"Liberecký"},tabor:{name:"Tábor",locative:"v Táboře",region:"Jihočeský"},znojmo:{name:"Znojmo",locative:"ve Znojmě",region:"Jihomoravský"}},ie=e=>JSON.parse(JSON.stringify(e));function $l(e,t,i,r){const c=Ye(ie(t)),v=j(null),o=j(!1);let u=!1,x,p=null;const h=()=>JSON.stringify(i(c)),b=()=>h()!==JSON.stringify(i(t));function m(){if(clearTimeout(x),!(!u||o.value)){if(!b()){p==null||p.abort(),v.value=r();return}x=setTimeout(async()=>{p==null||p.abort(),p=new AbortController;const _=i(c);try{v.value=await X2(e,_,p.signal)}catch{}},400)}}I(h,m);function y(){u=!0,Object.assign(c,ie(t)),v.value=r()}function H(){u=!1,clearTimeout(x),p==null||p.abort(),b()&&Object.assign(t,ie(c))}function k(){u=!1,clearTimeout(x),p==null||p.abort(),Object.assign(c,ie(t))}function B(){o.value=!0,clearTimeout(x)}function q(){o.value&&(o.value=!1,m())}return{draft:c,count:v,begin:y,commit:H,revert:k,hold:B,release:q}}const ho={role:"dialog","aria-modal":"true","aria-label":"Filtry",class:"fixed inset-0 z-[90] flex flex-col bg-surface text-fg"},fo={class:"flex items-center justify-between border-b border-border px-4 pb-3 pt-[max(12px,env(safe-area-inset-top))]"},go={class:"no-scrollbar flex flex-1 flex-col overflow-auto px-4 pb-[110px] pt-1"},bo={class:"absolute inset-x-0 bottom-0 border-t border-border bg-white/[.96] px-4 pb-[max(16px,env(safe-area-inset-bottom))] pt-3 backdrop-blur-[10px]"},Hl=P({__name:"MobileFilters",props:{total:{},noun:{}},emits:["close","reset"],setup(e,{emit:t}){const i=t;function r(c){c.key==="Escape"&&i("close")}return be(()=>{document.body.style.overflow="hidden",document.addEventListener("keydown",r)}),ae(()=>{document.body.style.overflow="",document.removeEventListener("keydown",r)}),(c,v)=>(n(),ee(Le,{to:"body"},[a("div",ho,[a("div",fo,[a("button",{type:"button","aria-label":"Zavřít filtry",class:"grid h-[38px] w-[38px] place-items-center rounded-full bg-surface-2",onClick:v[0]||(v[0]=o=>i("close"))},[E(z(ce),{size:18})]),v[3]||(v[3]=a("span",{class:"text-[17px] font-semibold"},"Filtry",-1)),a("button",{type:"button",class:"text-[14px] font-medium text-primary",onClick:v[1]||(v[1]=o=>i("reset"))},"Zrušit")]),a("div",go,[O(c.$slots,"default")]),a("div",bo,[a("button",{type:"button",class:"tnum h-[52px] w-full rounded-[14px] bg-primary text-[16px] font-semibold text-white hover:bg-primary-hover",onClick:v[2]||(v[2]=o=>i("close"))},$(e.total==null?"Zobrazit výsledky":`Zobrazit ${z(R)(e.total)} ${e.noun??"výsledků"}`),1)])])]))}}),xo={class:"flex flex-col gap-2.5 border-b border-border-soft py-[18px]"},yo={class:"flex items-baseline justify-between"},ko={class:"text-[15px] font-semibold"},$o={key:0,class:"tnum text-[14px] font-semibold text-primary"},Zl=P({__name:"MobileSection",props:{title:{},value:{}},setup(e){return(t,i)=>(n(),s("div",xo,[a("div",yo,[a("span",ko,$(e.title),1),e.value?(n(),s("span",$o,$(e.value),1)):V("",!0)]),O(t.$slots,"default")]))}}),Ho=["aria-pressed"],wl=P({__name:"MobileChip",props:{active:{type:Boolean},tone:{}},emits:["click"],setup(e){return(t,i)=>(n(),s("button",{type:"button",class:N(["inline-flex h-[38px] flex-none items-center gap-1.5 whitespace-nowrap rounded-full border px-3.5 text-[14px] font-medium",e.active?e.tone==="amber"?"border-amber bg-amber-soft text-amber-fg":"border-primary bg-primary-soft text-primary":"border-border bg-surface text-fg"]),"aria-pressed":e.active,onClick:i[0]||(i[0]=r=>t.$emit("click"))},[O(t.$slots,"default")],10,Ho))}}),Zo={key:0,class:"relative flex flex-none items-center"},wo=["disabled","aria-label","title"],Vo={key:0},Mo={key:0,class:"ml-2 text-[12px] text-danger"},Vl=P({__name:"WatchButton",props:{kind:{},params:{},name:{},compact:{type:Boolean}},setup(e){const t=e,i=Xe(),r=a0(),c=t0(),v=j(!1),o=j(""),u=g(()=>{const b=r.query.hlidani,m=Number(typeof b=="string"?b:"");return Number.isInteger(m)&&m>0?m:0}),x=g(()=>u.value?"Uložit změny hlídání":"Hlídat"),p=g(()=>t.kind==="auction");async function h(){const b=m0(t.params);if(o.value="",!Object.keys(b).length){o.value="Zúžte hledání aspoň jedním filtrem";return}v.value=!0;try{u.value?await p0(u.value,{filters:b,name:t.name}):await h0({kind:t.kind,filters:b,name:t.name}),await c.push("/hlidani")}catch(m){o.value=m instanceof Error?m.message:"Uložení se nepodařilo"}finally{v.value=!1}}return(b,m)=>z(i).isAdmin?(n(),s("div",Zo,[a("button",{type:"button",disabled:v.value,"aria-label":x.value,title:o.value||x.value,class:N(["inline-flex h-[38px] items-center gap-1.5 rounded-full border text-[13px] font-semibold transition-colors disabled:opacity-60",[e.compact?"w-[38px] justify-center":"px-3.5",p.value?"border-amber-border bg-amber-soft text-amber-fg hover:border-amber":"border-primary-soft-border bg-primary-soft text-primary hover:border-primary"]]),onClick:h},[E(z(e0),{size:16,weight:"fill"}),e.compact?V("",!0):(n(),s("span",Vo,$(x.value),1))],10,wo),o.value&&!e.compact?(n(),s("span",Mo,$(o.value),1)):V("",!0)])):V("",!0)}}),Ao={class:"relative"},Co=["aria-expanded"],zo={role:"listbox",class:"absolute right-0 top-11 z-30 flex w-[230px] animate-panel-pop flex-col rounded-[14px] border border-border-soft bg-surface p-1.5 shadow-menu"},Lo=["aria-selected","onClick"],Ml=P({__name:"MobileSort",props:X({options:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,i=ue(e,"modelValue"),r=j(!1),c=g(()=>{var v;return((v=t.options.find(o=>o.value===i.value))==null?void 0:v.label)??""});return(v,o)=>(n(),s("div",Ao,[a("button",{type:"button",class:"inline-flex h-[38px] items-center gap-1.5 rounded-full border border-border bg-surface px-3 text-[13px] font-medium","aria-haspopup":"listbox","aria-expanded":r.value,onClick:o[0]||(o[0]=u=>r.value=!r.value)},[E(z(na),{size:15}),G($(c.value),1)],8,Co),r.value?(n(),s(K,{key:0},[a("div",{class:"fixed inset-0 z-[29]",onClick:o[1]||(o[1]=u=>r.value=!1)}),a("div",zo,[(n(!0),s(K,null,Y(e.options,u=>(n(),s("button",{key:u.value,type:"button",role:"option","aria-selected":u.value===i.value,class:N(["flex h-11 items-center justify-between rounded-[10px] px-3 text-left text-[14px] font-semibold",u.value===i.value?"bg-surface-2":""]),onClick:x=>(i.value=u.value,r.value=!1)},[G($(u.label),1),u.value===i.value?(n(),ee(z(Ce),{key:0,size:14,weight:"bold",class:"text-primary"})):V("",!0)],10,Lo))),128))])],64)):V("",!0)]))}}),So={class:"flex min-h-[60px] flex-none flex-col items-center gap-2.5 pb-2 pt-4"},jo={class:"text-[13px] text-fg-muted"},Po={key:2,class:"tnum text-[13px] text-fg-muted"},Bo={key:3,class:"tnum text-[13px] text-fg-subtle"},Al=P({__name:"ListFooter",props:{loading:{type:Boolean},done:{type:Boolean},shown:{},total:{},noun:{},loadingText:{},error:{type:Boolean}},emits:["retry"],setup(e){return(t,i)=>(n(),s("div",So,[e.loading?(n(),s(K,{key:0},[E(f0),a("span",jo,$(e.loadingText),1)],64)):e.error?(n(),s("button",{key:1,type:"button",class:"text-[13px] font-bold text-primary",onClick:i[0]||(i[0]=r=>t.$emit("retry"))},"Načtení se nepovedlo · zkusit znovu")):e.done&&e.shown?(n(),s("span",Po,"To je vše – zobrazeno "+$(z(R)(e.shown))+" "+$(e.noun)+".",1)):e.shown?(n(),s("span",Bo,"Zobrazeno "+$(z(R)(e.shown))+" z "+$(z(R)(e.total))+" · další se načtou při posunu",1)):V("",!0)]))}}),Eo={class:"flex flex-col items-center gap-[18px] rounded-[18px] border border-border-soft bg-surface px-8 py-12 text-center"},No={class:"grid h-[52px] w-[52px] place-items-center rounded-2xl bg-surface-2 text-fg-muted"},_o={class:"max-w-[420px] text-[14px] text-fg-muted"},Oo={class:"flex flex-wrap justify-center gap-2"},To=["onClick"],Cl=P({__name:"EmptyState",props:{suggestions:{},noun:{}},emits:["reset"],setup(e){return(t,i)=>(n(),s("div",Eo,[a("span",No,[E(z(g0),{size:22})]),a("div",null,[i[1]||(i[1]=a("div",{class:"mb-1.5 text-[18px] font-extrabold"},"Nic jsme nenašli",-1)),a("div",_o,"Této kombinaci filtrů neodpovídá žádná "+$(e.noun??"nabídka")+". Zkuste hledání trochu uvolnit.",1)]),a("div",Oo,[(n(!0),s(K,null,Y(e.suggestions,r=>(n(),s("button",{key:r.label,type:"button",class:"h-[38px] rounded-full border border-border bg-surface px-4 text-[13px] font-bold hover:border-primary hover:text-primary",onClick:c=>r.apply()},$(r.label),9,To))),128)),a("button",{type:"button",class:"h-[38px] rounded-full border border-border bg-surface px-4 text-[13px] font-bold text-fg-muted hover:border-border-strong",onClick:i[0]||(i[0]=r=>t.$emit("reset"))},"Zrušit všechny filtry")])]))}});function zl(e,t,i=24){const r=j([]),c=j(0),v=j(!1),o=j(!1),u=j(!1);let x=0,p=null;const h=g(()=>u.value&&r.value.length>=c.value);async function b(H,k){v.value=!0,o.value=!1,p==null||p.abort(),p=new AbortController;try{const B=await t({...e.value,limit:String(i),offset:String(H)},p.signal);if(k!==x)return;const q=new Set(r.value.map(_=>_.id));r.value=H===0?B.items:r.value.concat(B.items.filter(_=>!q.has(_.id))),c.value=B.total,u.value=!0,H>0&&!B.items.length&&(c.value=r.value.length)}catch(B){k===x&&B.name!=="AbortError"&&(o.value=!0)}finally{k===x&&(v.value=!1)}}function m(){return x++,u.value=!1,b(0,x)}function y(){if(!(v.value||h.value||o.value||!u.value))return b(r.value.length,x)}return I(()=>JSON.stringify(e.value),()=>m(),{immediate:!0}),{items:r,total:c,loading:v,error:o,loaded:u,done:h,loadMore:y,reload:m}}function Ll(e,t,i){let r=null;function c(){r==null||r.disconnect(),e.value&&(r=new IntersectionObserver(v=>v.some(o=>o.isIntersecting)&&i(),{root:t.value,rootMargin:"200px"}),r.observe(e.value))}return I([e,t],c,{immediate:!0,flush:"post"}),ae(()=>r==null?void 0:r.disconnect()),{refresh:c}}function Sl(){const e=window.matchMedia("(min-width: 1024px)"),t=j(e.matches),i=r=>t.value=r.matches;return e.addEventListener("change",i),ae(()=>e.removeEventListener("change",i)),t}const Do="48.4,11.9,51.2,19.0";function jl(e,t,i,r,c){const v=j(!0),o=j(null),u=j(!0),x=g(()=>{t.debouncedKey;const k=t.toParams();return delete k.bbox,k});I(i,()=>{t.bbox="",u.value=!0});const p=g(()=>{const k={...x.value};return u.value||!o.value?(k.bbox=Do,k.zoom="9"):(k.bbox=o.value.bbox,k.zoom=String(o.value.zoom)),k}),h=b0({queryKey:["geo",e,p],queryFn:({signal:k})=>x2(e,p.value,k),enabled:r,placeholderData:o0,staleTime:6e4});I(()=>h.data.value,k=>{var q;if(!k||!u.value||h.isPlaceholderData.value)return;const B=[...k.points.map(_=>[_.lat,_.lon]),...k.clusters.map(_=>[_.lat,_.lon])];u.value=!1,B.length?(o.value=null,(q=c.value)==null||q.fit(B)):o.value&&v.value&&(t.bbox=o.value.bbox)});function b(k){o.value=k,v.value&&!u.value&&(t.bbox=k.bbox)}I(v,k=>{k&&o.value&&!u.value&&(t.bbox=o.value.bbox)}),I(c,k=>{if(k)if(t.bbox){const[B,q,_,de]=t.bbox.split(",").map(Number);u.value=!1,k.fit([[B,q],[_,de]])}else u.value=!0});const m=j(null),y=g(()=>{var k;return((k=h.data.value)==null?void 0:k.points)??[]}),H=g(()=>y.value.findIndex(k=>{var B;return k.id===((B=m.value)==null?void 0:B.id)}));return{searchOnMove:v,geo:h,onView:b,opened:m,points:y,openedIndex:H,clearBbox:()=>t.bbox=""}}export{sl as A,Ml as B,gl as C,kl as D,el as F,tl as G,Xo as H,Yo as I,bl as R,yl as S,dl as _,nl as a,ol as b,ll as c,ml as d,il as e,hl as f,al as g,ul as h,vl as i,fl as j,cl as k,Hl as l,Zl as m,wl as n,Ee as o,Sl as p,zl as q,xl as r,pl as s,jl as t,$l as u,Ll as v,Vl as w,rl as x,Cl as y,Al as z};