PageSourceSearch

https://gulfshoregroup.com/_next/static/chunks/7a4c35666b5f4b44.js

js gulfshoregroup.com collected 2026-10-08 00:42:07 UTC 57,384 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,531278,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},397882,e=>{"use strict";var t=e.i(236993);e.s(["LoaderIcon",()=>t.default])},236993,e=>{"use strict";let t=(0,e.i(475254).default)("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);e.s(["default",()=>t])},257428,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(820783),r=e.i(30030),i=e.i(981140),n=e.i(369340),l=e.i(999682),o=e.i(635804),d=e.i(296626),c=e.i(248425),u="Checkbox",[m,p]=(0,r.createContextScope)(u),[h,x]=m(u);function f(e){let{__scopeCheckbox:s,checked:r,children:i,defaultChecked:l,disabled:o,form:d,name:c,onCheckedChange:m,required:p,value:x="on",internal_do_not_use_render:f}=e,[g,y]=(0,n.useControllableState)({prop:r,defaultProp:l??!1,onChange:m,caller:u}),[b,v]=a.useState(null),[w,j]=a.useState(null),N=a.useRef(!1),S=!b||!!d||!!b.closest("form"),k={checked:g,disabled:o,setChecked:y,control:b,setControl:v,name:c,form:d,value:x,hasConsumerStoppedPropagationRef:N,required:p,defaultChecked:!C(l)&&l,isFormControl:S,bubbleInput:w,setBubbleInput:j};return(0,t.jsx)(h,{scope:s,...k,children:"function"==typeof f?f(k):i})}var g="CheckboxTrigger",y=a.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:n,...l},o)=>{let{control:d,value:u,disabled:m,checked:p,required:h,setControl:f,setChecked:y,hasConsumerStoppedPropagationRef:b,isFormControl:v,bubbleInput:w}=x(g,e),j=(0,s.useComposedRefs)(o,f),N=a.useRef(p);return a.useEffect(()=>{let e=d?.form;if(e){let t=()=>y(N.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,y]),(0,t.jsx)(c.Primitive.button,{type:"button",role:"checkbox","aria-checked":C(p)?"mixed":p,"aria-required":h,"data-state":S(p),"data-disabled":m?"":void 0,disabled:m,value:u,...l,ref:j,onKeyDown:(0,i.composeEventHandlers)(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.composeEventHandlers)(n,e=>{y(e=>!!C(e)||!e),w&&v&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})});y.displayName=g;var b=a.forwardRef((e,a)=>{let{__scopeCheckbox:s,name:r,checked:i,defaultChecked:n,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...m}=e;return(0,t.jsx)(f,{__scopeCheckbox:s,checked:i,defaultChecked:n,disabled:o,required:l,onCheckedChange:c,name:r,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{...m,ref:a,__scopeCheckbox:s}),e&&(0,t.jsx)(N,{__scopeCheckbox:s})]})})});b.displayName=u;var v="CheckboxIndicator",w=a.forwardRef((e,a)=>{let{__scopeCheckbox:s,forceMount:r,...i}=e,n=x(v,s);return(0,t.jsx)(d.Presence,{present:r||C(n.checked)||!0===n.checked,children:(0,t.jsx)(c.Primitive.span,{"data-state":S(n.checked),"data-disabled":n.disabled?"":void 0,...i,ref:a,style:{pointerEvents:"none",...e.style}})})});w.displayName=v;var j="CheckboxBubbleInput",N=a.forwardRef(({__scopeCheckbox:e,...r},i)=>{let{control:n,hasConsumerStoppedPropagationRef:d,checked:u,defaultChecked:m,required:p,disabled:h,name:f,value:g,form:y,bubbleInput:b,setBubbleInput:v}=x(j,e),w=(0,s.useComposedRefs)(i,v),N=(0,l.usePrevious)(u),S=(0,o.useSize)(n);a.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!d.current;if(N!==u&&e){let a=new Event("click",{bubbles:t});b.indeterminate=C(u),e.call(b,!C(u)&&u),b.dispatchEvent(a)}},[b,N,u,d]);let k=a.useRef(!C(u)&&u);return(0,t.jsx)(c.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:m??k.current,required:p,disabled:h,name:f,value:g,form:y,...r,tabIndex:-1,ref:w,style:{...r.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function C(e){return"indeterminate"===e}function S(e){return C(e)?"indeterminate":e?"checked":"unchecked"}N.displayName=j;var k=e.i(678784),A=e.i(975157);function M({className:e,...a}){return(0,t.jsx)(b,{"data-slot":"checkbox",className:(0,A.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...a,children:(0,t.jsx)(w,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,t.jsx)(k.CheckIcon,{className:"size-3.5"})})})}e.s(["Checkbox",()=>M],257428)},712217,e=>{"use strict";var t=e.i(271645),a=e.i(581949);let s=null,r=null;function i(){let[e,i]=(0,t.useState)(s||[]),[n,l]=(0,t.useState)(!s);return(0,t.useEffect)(()=>{s||(r||(r=a.default.get("/api/v2/cities?type=featured&limit=200").then(e=>{let t=e.data.data.map(e=>
1e.name).filter(Boolean);return s=t,t}).catch(e=>(console.error("Error fetching cities:",e),r=null,[]))),r.then(e=>{i(e),l(!1)}))},[]),{cities:e,loading:n}}e.s(["useCities",()=>i])},284765,e=>{"use strict";let t=(0,e.i(475254).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",()=>t],284765)},168436,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(793479),r=e.i(581949),i=e.i(531278);function n({value:e,onChange:n,onSelect:l,placeholder:o,type:d,className:c}){let[u,m]=(0,a.useState)([]),[p,h]=(0,a.useState)(!1),[x,f]=(0,a.useState)(!1),g=(0,a.useRef)(null);return(0,a.useEffect)(()=>{function e(e){g.current&&!g.current.contains(e.target)&&h(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,a.useEffect)(()=>{let t=setTimeout(async()=>{if(!e||e.length<2){m([]),h(!1);return}f(!0);try{let t=await r.default.get(`/api/autocomplete?type=${d}&q=${encodeURIComponent(e)}`);t.data?.success&&(1===t.data.data.length&&t.data.data[0].toLowerCase()===e.toLowerCase()?(m([]),h(!1)):(m(t.data.data),h(t.data.data.length>0)))}catch(e){console.error("Autocomplete fetch error",e)}finally{f(!1)}},300);return()=>clearTimeout(t)},[e,d]),(0,t.jsxs)("div",{className:"relative w-full",ref:g,children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.Input,{type:"text",value:e,onChange:e=>{n(e.target.value)},onFocus:()=>{u.length>0&&h(!0)},placeholder:o,className:c,autoComplete:"off"}),x&&(0,t.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin text-gray-400"})})]}),p&&u.length>0&&(0,t.jsx)("div",{className:"absolute z-[999] top-full left-0 right-0 mt-1 bg-white border border-gray-200 rounded-md shadow-lg max-h-60 overflow-y-auto",children:(0,t.jsx)("ul",{className:"py-1",children:u.map((e,a)=>(0,t.jsx)("li",{className:"px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 cursor-pointer",onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),onClick:t=>{n(e),h(!1),l&&l(e)},children:e},a))})})]})}var l=e.i(519455),o=e.i(664659),d=e.i(397882),c=e.i(284765);let u=(0,e.i(475254).default)("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);var m=e.i(618566),p=e.i(205437),h=e.i(755146),x=e.i(776639),f=e.i(110204),g=e.i(714972),y=e.i(712217),b=e.i(257428);e.i(846696);var v=e.i(155487),w=e.i(547159),j=e.i(995970);let N=["Minimum","100000","200000","300000","400000","500000","600000","700000","800000","900000","1000000","2000000","3000000","4000000","5000000","6000000","7000000","8000000","9000000","10000000","Maximum"],C=[{value:"Homes",label:"Homes"},{value:"Condos",label:"Condos"},{value:"Residential-Lots",label:"Residential Lots"}],S=e=>e>=1e6?`$${(e/1e6).toFixed(+(e%1e6!=0))}M`:e>=1e3?`$${(e/1e3).toFixed(+(e%1e3!=0))}k`:`$${e}`;e.s(["Filters",0,({community:e,classname:i,asLink:k=!1,listenToUrl:A=!1})=>{let M=(0,m.useRouter)(),I=(0,v.useDispatch)(),R=(0,v.useSelector)(e=>e.search.filters),D=(0,m.useSearchParams)(),[E,L]=(0,a.useState)(!1),P=(0,m.usePathname)(),{isLoaded:F,isSignedIn:T}=(0,p.useAuth)(),{cities:$}=(0,y.useCities)(),[q,H]=(0,a.useState)([]),[_,O]=(0,a.useState)([]),[B,z]=(0,a.useState)("Minimum"),[W,U]=(0,a.useState)("Maximum"),[Y,G]=(0,a.useState)(""),[V,K]=(0,a.useState)(""),[Z,Q]=(0,a.useState)(""),[J,X]=(0,a.useState)(""),[ee,et]=(0,a.useState)(""),[ea,es]=(0,a.useState)(""),[er,ei]=(0,a.useState)(""),[en,el]=(0,a.useState)(""),[eo,ed]=(0,a.useState)(""),[ec,eu]=(0,a.useState)(""),[em,ep]=(0,a.useState)(""),[eh,ex]=(0,a.useState)(""),[ef,eg]=(0,a.useState)(!1),[ey,eb]=(0,a.useState)("Any"),[ev,ew]=(0,a.useState)(""),[ej,eN]=(0,a.useState)(""),[eC,eS]=(0,a.useState)(""),[ek,eA]=(0,a.useState)("Active");(0,a.useEffect)(()=>{if(A&&"true"===D.get("openFilters")){eg(!0);let e=new URLSearchParams(D.toString());e.delete("openFilters"),M.replace(`${P}?${e.toString()}`,{scroll:!1})}},[D,A,P,M]),(0,a.useEffect)(()=>{let e=(0,j.parseFiltersFromSearchParams)(D),t=(0,j.parseLocationFromPathname)(P);et(t.city||R.city||""),es(t.developmentName||e.developmentName||R.developmentName||""),ei(e.subdivision||R.subdivision||""),el(e.school||R.school||""),ed(e.address||R.address||""),eu(e.q||D.get("search")||R.q||""),Q(e.beds||R.beds||""),X(e.baths||R.baths||""),z(e.minPrice||R.minPrice||"Minimum"),U(e.maxPrice||R.maxPrice||"Maximum"),G(e.builtYearMin||R.builtYearMin||""),K(e.builtYearMax||R.builtYearMax||""),eS(e.minSqft||R.minSqft||""),ep(e.postalCode||R.postalCode||""),H(e.propertyTypes||R.propertyTypes||[]),O(e.features||R.features||[]),eb(D.get("hoa")||R.hoa||"Any"),ew(D.get("minAcres")||R.minAcres||""),eN(D.get("maxAcres")||R.maxAcres||""),eA(D.get("status")||R.status||"Active")},[D,P,R,ef]);let eM=async t=>{try{let a,s={...R,city:ee,developmentName:ea||e||"",beds:Z,baths:J,minPrice:"Minimum"===B?"":B,maxPrice:"Maximum"===W?"":W,builtYearMin:Y,builtYearMax:V,postalCode:em,propertyTypes:q,features:_,page:"1"},i=`https://gulfshoregroup.com${t}`;a=s.city||s.propertyTypes&&s.propertyTypes.length>0?`${s.city||""} ${s.propertyTypes?s.propertyTypes.join(", "):""}`:"My Saved Search",await r.default.post("/api/v2/saved-searches",{filters:s,link:i,name:a})}catch(e){console.error("Silent background search save failed:",e)}};return(0,t.jsxs)(x.Dialog,{open:ef,onOpenChange:eg,children:[(0,t.jsx)(x.DialogTrigger,{className:k?"text-blue-700 font-medium items-center text-sm md:text-md hover:underline inline-flex gap-0.5 cursor-pointer":`px-4 py-2 border h-9 md:h-12 border-gray-200 w-full rounded-md hidden md:inline-flex justify-center text-center items-center gap-1 text-gray-700 hover:text-primary hover:border-primary hover:bg-white data-[state=open]:border-primary data-[state=open]:text-primary data-[state=open]:bg-white transition-colors ${i}`,children:k?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Filter Properties"}),(0,t.jsx)(u,{size:20})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Settings2,{size:16})," ",(0,t.jsx)("span",{children:"Filters"})]})}),(0,t.jsxs)(x.DialogContent,{className:"max-w-3xl max-h-[99dvh] md:max-h-[90vh] overflow-y-auto sm:rounded-2xl rounded-2xl",children:[(0,t.jsxs)(x.DialogHeader,{children:[(0,t.jsx)(x.DialogTitle,{children:"Filters"}),(0,t.jsx)("p",{className:"text-sm text-gray-500 text-left",children:"Tip: Type at least 2 letters in Community, Subdivision, or School to auto-generate search options."})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6 my-3",children:[(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"City"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:[(0,g.default)(ee.replaceAll("-"," "))||"City",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{className:"px-3 py-2 max-h-[300px] overflow-y-auto",children:(0,t.jsx)(h.DropdownMenuRadioGroup,{value:ee,onValueChange:e=>et(e),children:$.map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e,children:(0,g.default)(e.replaceAll("-"," "))},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Community"}),(0,t.jsx)(n,{type:"community",value:ea,onChange:es,className:"text-sm",placeholder:"Type 2+ letters (e.g. Pelican Bay)"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Zipcode"}),(0,t.jsx)(s.Input,{type:"text",value:em,onChange:e=>ep(e.target.value),className:"text-sm",placeholder:"Zipcode"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-900",children:"Minimum Price"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:["Minimum"===B||"Maximum"===B?B:S(Number(B)),(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{className:"max-h-[300px] overflow-y-auto",children:(0,t.jsx)(h.DropdownMenuRadioGroup,{value:B,onValueChange:z,children:N.filter(e=>"Maximum"===W||!W||("Maximum"!==e?"Minimum"===e||parseInt(e)<parseInt(W):void 0)).map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e,children:"Minimum"===e||"Maximum"===e?e:S(Number(e))},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-900",children:"Maximum Price"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:["Maximum"===W?"Maximum":S(Number(W)),(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{className:"max-h-[300px] overflow-y-auto",children:(0,t.jsx)(h.DropdownMenuRadioGroup,{value:W,onValueChange:U,children:N.filter(e=>"Minimum"!==e&&("Minimum"===B||!B||"Maximum"===e||parseInt(e)>parseInt(B)||"Minimum"===e)).map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e,children:"Maximum"===e?"Maximum":S(Number(e))},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Bedrooms"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:[Z?Z+"+":"Bedrooms",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{className:"px-3 py-2",children:(0,t.jsx)(h.DropdownMenuRadioGroup,{onValueChange:e=>Q(e),className:"flex flex-wrap gap-2",children:["1+","2+","3+","4+"].map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e.replace("+",""),className:"border px-3 py-1.5 rounded",children:e},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Bathrooms"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:[J?J+"+":"Bathrooms",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{className:"px-3 py-2",children:(0,t.jsx)(h.DropdownMenuRadioGroup,{onValueChange:e=>X(e),className:"flex flex-wrap gap-2",children:["1+","2+","3+","4+"].map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e.replace("+",""),onClick:()=>X(e.replace("+","")),className:"border px-3 py-1.5 rounded",children:e},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Private Pool"}),(0,t.jsxs)("div",{className:"flex items-center space-x-2 h-10 px-3 border rounded-lg bg-gray-50/50",children:[(0,t.jsx)(b.Checkbox,{id:"private-pool-toggle",checked:_.includes("Pool"),onCheckedChange:e=>O(t=>e?[...t,"Pool"]:t.filter(e=>"Pool"!==e))}),(0,t.jsx)("label",{htmlFor:"private-pool-toggle",className:"text-sm text-gray-800 cursor-pointer font-medium",children:"Has Private Pool"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"HOA Fee / Month"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:["No"===ey?"No HOA":ey||"Any"," ",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{children:(0,t.jsxs)(h.DropdownMenuRadioGroup,{value:ey,onValueChange:eb,children:[(0,t.jsx)(h.DropdownMenuRadioItem,{value:"Any",children:"Any HOA Fee"}),(0,t.jsx)(h.DropdownMenuRadioItem,{value:"No",children:"No HOA Fee"}),(0,t.jsx)(h.DropdownMenuRadioItem,{value:"Yes",children:"Has HOA Fee"})]})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Min Year Built"}),(0,t.jsx)(s.Input,{type:"text",value:Y,onChange:e=>G(e.target.value),className:"text-sm",placeholder:"Min Year"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Max Year Built"}),(0,t.jsx)(s.Input,{type:"text",value:V,onChange:e=>K(e.target.value),className:"text-sm",placeholder:"Max Year"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Minimum Liv
1ing Sqft"}),(0,t.jsx)(s.Input,{type:"number",value:eC,onChange:e=>eS(e.target.value),className:"text-sm",placeholder:"e.g. 1500"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"MLS Number"}),(0,t.jsx)(s.Input,{type:"text",value:eh,onChange:e=>ex(e.target.value),className:"text-sm",placeholder:"MLS Number"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Subdivision"}),(0,t.jsx)(n,{type:"subdivision",value:er,onChange:ei,className:"text-sm",placeholder:"Type 2+ letters (e.g. Pelican)"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"School"}),(0,t.jsx)(n,{type:"school",value:en,onChange:el,className:"text-sm",placeholder:"Type 2+ letters..."})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Address / Keyword"}),(0,t.jsx)(s.Input,{type:"text",value:eo||ec,onChange:e=>{ed(e.target.value),eu(e.target.value)},className:"text-sm",placeholder:"Street Address or Keyword"})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900 mb-2 block",children:"Property Type"}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-4",children:C.map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(b.Checkbox,{id:`property-type-${a}`,checked:q.includes(e.value),onCheckedChange:t=>H(a=>t?[...a,e.value]:a.filter(t=>t!==e.value))}),(0,t.jsx)("label",{htmlFor:`property-type-${a}`,className:"text-sm text-gray-700 cursor-pointer",children:e.label})]},a))})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900 mb-2 block",children:"Features"}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-4",children:["Gulf Access","Waterfront","Pool","Garage","Spa","Gulf View","Bay View","City View","Lake View","Canal View","Garden View","Golf Course View"].map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(b.Checkbox,{id:`keywords-${a}`,checked:_.includes(e),onCheckedChange:t=>O(a=>t?[...a,e]:a.filter(t=>t!==e))}),(0,t.jsx)("label",{htmlFor:`keywords-${a}`,className:"text-sm text-gray-700 cursor-pointer",children:e})]},a))})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"HOA"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:[ey||"Any"," ",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{children:(0,t.jsx)(h.DropdownMenuRadioGroup,{value:ey,onValueChange:eb,children:["Any","Yes","No"].map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e,children:e},e))})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Min Acres"}),(0,t.jsx)(s.Input,{type:"number",step:"0.1",value:ev,onChange:e=>ew(e.target.value),className:"text-sm",placeholder:"e.g. 0.5"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Max Acres"}),(0,t.jsx)(s.Input,{type:"number",step:"0.1",value:ej,onChange:e=>eN(e.target.value),className:"text-sm",placeholder:"e.g. 5"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,t.jsx)(f.Label,{className:"text-sm font-medium text-gray-900",children:"Listing Status"}),(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsxs)(h.DropdownMenuTrigger,{className:"text-center border rounded-lg justify-between p-2 items-center inline-flex text-sm",children:[ek||"Active"," ",(0,t.jsx)(o.ChevronDown,{size:14})]}),(0,t.jsx)(h.DropdownMenuContent,{children:(0,t.jsx)(h.DropdownMenuRadioGroup,{value:ek,onValueChange:eA,children:["Active","Sold","Pending","Short Sale","Foreclosure","All"].map(e=>(0,t.jsx)(h.DropdownMenuRadioItem,{value:e,children:e},e))})})]})]})]}),(0,t.jsx)("div",{className:"flex justify-center w-full",children:(0,t.jsx)(l.Button,{onClick:()=>(()=>{let t;L(!0);let a="Minimum"===B?"":B;if(eh){M.replace(`/search/${encodeURIComponent(eh)}`),eg(!1),L(!1);return}let s={...R,north:null,south:null,east:null,west:null,city:ee,developmentName:ea||e||"",subdivision:er,school:en,address:eo,q:ec,beds:Z,baths:J,minPrice:a,maxPrice:"Maximum"===W?"":W,builtYearMin:Y,builtYearMax:V,minSqft:eC,postalCode:em,propertyTypes:q,features:_,hoa:ey,minAcres:ev,maxAcres:ej,status:ek,page:"1"},r=(0,j.buildQueryFromFilters)(s,D),i=(0,j.buildSearchPathWithLocation)({city:ee,developmentName:ea||e||""}),n=`${i}?${r.toString()}`;F&&T&&eM(n),I((0,w.setFilters)(s)),M.replace(n,{scroll:!1}),"map"!==D.get("view")&&window.scrollTo({top:0,behavior:"smooth"}),t=document.getElementById("container"),t?.scrollTo({top:0,behavior:"smooth"}),eg(!1),L(!1)})(),disabled:E,className:"w-full bg-primary hover:bg-accent text-white font-medium py-2.5 rounded-lg transition-colors duration-200 ease-in-out shadow-sm hover:shadow-md focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",children:E?(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(d.LoaderIcon,{className:"h-4 w-4 animate-spin text-primary-600"}),(0,t.jsx)("span",{className:"text-sm text-white font-medium",children:"Applying filters..."})]}):"Apply Filters"})})]})]})},"propertyTypeOptions",0,C],168436)},110730,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(273443),r=e.i(714972);function i({city:e}){let i=e?(0,r.default)(e.replaceAll("-"," ")):"Naples",[n,l]=a.default.useState([]),[o,d]=a.default.useState(!1);a.default.useEffect(()=>{!async function(){try{let e=await fetch("/api/v2/faqs?category=City&limit=11"),t=await e.json();if(t.success&&Array.isArray(t.data)&&t.data.length>0){let e=t.data.filter(e=>!1!==e.isActive);e.length>0&&l(e)}}catch(e){console.error("Failed to load FAQs from API, falling back to default",e)}}()},[]);let c=(n.length>0?n:[{question:"Why are homebuyers moving to and investing in {displayCity} real estate?",answer:"{displayCity} attracts discerning homebuyers and relocators due to its tax-friendly Florida living, world-class Gulf coast beaches, championship golf communities, and luxury coastal lifestyle. Whether seeking a primary residence, vacation condo, or waterfront estate, buyers consistently choose {displayCity}
1 for long-term value and exceptional quality of life."},{question:"What surrounding areas and communities near {displayCity}, FL are popular for homebuyers?",answer:"Beyond premier {displayCity} neighborhoods like Pelican Bay, Olde Naples, and Port Royal, homebuyers frequently explore nearby coastal and planned communities including Bonita Springs, Estero, Marco Island, Ave Maria, Babcock Ranch, and Fort Myers. Each area offers distinct living styles ranging from beachfront condominiums and boating canals to master-planned family and active-adult developments."},{question:"Is it a good time to buy a home in {displayCity} and surrounding areas?",answer:"Yes, investing in {displayCity} real estate presents strong long-term opportunities. With steady demand for premium single-family homes, beachfront condos, and golf communities across Southwest Florida, buyers benefit from a stable luxury market, rich inventory, and competitive property values tailored to coastal luxury living."},{question:"What is the difference between bundled golf communities and equity golf communities in {displayCity}?",answer:"In bundled golf communities across {displayCity} and Southwest Florida, full golf membership is included with the purchase of the home and conveyed with deeded rights, typically with lower upfront fees. Equity or non-bundled golf communities require a separate initiation fee and annual dues, offering exclusive member caps and tailored club amenities."},{question:"Are home prices and property value trends favorable in {displayCity}?",answer:"{displayCity} real estate maintains resilient property values supported by strong lifestyle demand and premier Southwest Florida amenities. Working with experienced local real estate professionals ensures you identify strategically priced listings, exclusive developments, and optimal investment opportunities across {displayCity} and nearby markets."},{question:"Are waterfront homes in {displayCity} and surrounding areas equipped with direct Gulf access?",answer:"Many waterfront properties in {displayCity}, Bonita Springs, Marco Island, and Cape Coral offer direct deep-water Gulf access via private boat docks and canals. When evaluating waterfront homes, it is important to check whether the canal access includes fixed bridges or sailboat restrictions depending on your vessel height."},{question:"What should buyers know about HOA fees, CDD fees, and community associations in Southwest Florida?",answer:"Most master-planned communities and condominiums in {displayCity} and surrounding areas feature Homeowners Associations (HOAs) or Master Associations that cover resort amenities, landscaping, security, and exterior maintenance. Some developments also include Community Development District (CDD) assessments paid annually alongside property taxes for infrastru
1cture financing."},{question:"What are the property tax benefits and homestead exemption for Florida homeowners?",answer:"Florida has no state income tax, making {displayCity} a top financial haven. Primary residents who qualify for the Florida Homestead Exemption receive up to a $50,000 property tax exemption and benefit from the Save Our Homes assessment cap, which limits annual assessed property value increases to a maximum of 3%."},{question:"What should buyers look for regarding flood zones, hurricane protection, and insurance?",answer:"When buying coastal real estate in {displayCity} and surrounding areas, buyers should review the FEMA flood zone classification (such as X, AE, or VE zones), elevation certificates, and impact-resistant features like hurricane-rated impact glass windows or reinforced roofing. Newer construction homes built to updated Florida building codes often benefit from favorable insurance premiums."},{question:"Can buyers purchase short-term vacation rental properties or seasonal condos in {displayCity}?",answer:"Yes, {displayCity} and surrounding coastal areas are highly sought after for seasonal rental investments. However, each condominium building or HOA development enforces specific leasing restrictions (e.g., minimum 30-day rentals, maximum number of leases per year). Always review community governing documents before purchasing an investment rental property."},{question:"How can I find the best homes for sale in {displayCity} and surrounding areas?",answer:"Our comprehensive real estate search platform allows you to browse all active homes for sale in {displayCity} and surrounding Southwest Florida communities. You can filter by price, bedrooms, property type, and specific amenities like private pools, waterfront canals, or Gulf access to find your ideal home."}]).map(e=>({question:(e.question||"").replaceAll("{displayCity}",i),answer:(e.answer||"").replaceAll("{displayCity}",i)})),u=o?c:c.slice(0,5),m={"@context":"https://schema.org","@type":"FAQPage",mainEntity:c.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))};return(0,t.jsxs)("div",{className:"w-11/12 mx-auto my-12 bg-white rounded-xl shadow-sm border border-gray-100 p-6 md:p-8",children:[(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(m)}}),(0,t.jsxs)("h2",{className:"text-2xl font-semibold mb-6 text-gray-900",children:["Frequently Asked Questions About ",i," Real Estate and Surrounding Areas"]}),(0,t.jsx)(s.Accordion,{type:"single",collapsible:!0,className:"w-full",children:u.map((e,a)=>(0,t.jsxs)(s.AccordionItem,{value:`item-${a}`,children:[(0,t.jsx)(s.AccordionTrigger,{className:"text-left font-medium text-gray-800 hover:text-(--primary-color)",children:e.question}),(0,t.jsx)(s.AccordionContent,{className:"text-gray-600 leading-relaxed text-base",children:e.answer})]},a))}),c.length>5&&(0,t.jsx)("div",{className:"flex justify-center mt-6",children:(0,t.jsx)("button",{onClick:()=>d(!o),className:"px-6 py-2.5 rounded-lg border border-gray-200 text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-(--primary-color) hover:border-(--primary-color) transition-all cursor-pointer",children:o?"Show Less":"Show More"})})]})}e.s(["default",()=>i])},329788,e=>{"use strict";var t=e.i(843476),a=e.i(515288),s=e.i(657688),r=e.i(759684),i=e.i(714972),n=e.i(271645),l=e.i(302747),o=e.i(618566),d=e.i(323211),c=e.i(581949);let u=[{id:1,name:"Naples",slug:"naples",defaultImage:null,images:null,_count:{communities:371,properties:4978}},{id:8,name:"BONITA SPRINGS",slug:"bonita-springs",defaultImage:null,images:null,_count:{communities:105,properties:902}},{id:12,name:"MARCO ISLAND",slug:"marco-island",defaultImage:null,images:null,_count:{communities:11,properties:483}},{id:11,name:"ESTERO",slug:"estero",defaultImage:null,images:null,_count:{communities:51,properties:516}},{id:3,name:"FORT MYERS",slug:"fort-myers",defaultImage:null,images:null,_count:{communities:378,properties:3157}},{id:6,name:"CAPE CORAL",slug:"cape-coral",defaultImage:null,images:null,_count:{communities:112,properties:4703}},{id:20,name:"AVE MARIA",slug:"ave-maria",defaultImage:null,images:null,_count:{communities:2,properties:222}},{id:16,name:"SANIBEL",slug:"sanibel",defaultImage:null,images:null,_count:{communities:52,properties:278}},{id:21,name:"CAPTIVA",slug:"captiva",defaultImage:null,images:null,_count:{communities:15,properties:83}},{id:22,name:"FORT MYERS BEACH",slug:"fort-myers-beach",defaultImage:null,images:null,_count:{communities:85,properties:632}},{id:19,name:"MIROMAR LAKES",slug:"miromar-lakes",defaultImage:null,images:null,_count:{communities:1,properties:40}},{id:9,name:"Babcock Ranch",slug:"babcock-ranch",defaultImage:null,images:null,_count:{communities:0,properties:36}},{id:5,name:"LEHIGH ACRES",slug:"lehigh-acres",defaultImage:null,images:null,_count:{communities:50,properties:4521}},{id:36,name:"IMMOKALEE",slug:"immokalee",defaultImage:null,images:null,_count:{communities:5,properties:27}}];
1function m(){let[e,m]=(0,n.useState)(u),p=(0,o.useRouter)();return((0,n.useEffect)(()=>{(async()=>{try{let e=await c.default.get("/api/v2/cities?type=featured");if(e.data&&Array.isArray(e.data.data)&&e.data.data.length>0){let t=["naples","bonita springs","marco island","estero","fort myers","cape coral","ave maria","sanibel","captiva","fort myers beach","miromar lakes","babcock ranch","lehigh acres","immokalee"],a=e.data.data.filter(e=>e?.name&&t.includes(e.name.trim().toLowerCase())&&(e._count?.properties??e._count?.communities??1)>0);a.length>0&&m(a)}}catch(e){}})()},[]),e&&0!==e.length)?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"w-11/12 mx-auto",children:(0,t.jsxs)(d.Carousel,{opts:{align:"start",loop:!0},children:[(0,t.jsxs)(d.CarouselContent,{className:"my-2",children:[" ",e.map((e,r)=>(0,t.jsx)(d.CarouselItem,{className:" basis-auto",children:(0,t.jsx)(a.Card,{onClick:()=>{p.replace(`/Florida-Real-Estate-Search/${(0,i.default)(e.name).replaceAll(" ","-")}`)},className:"h-64 w-52 md:w-56 group relative overflow-hidden hover:cursor-pointer rounded-2xl border-0 shadow-md shrink-0",children:(0,t.jsxs)("div",{className:"relative h-full w-full",children:[(0,t.jsx)(s.default,{unoptimized:!0,loading:r<4?"eager":"lazy",src:e.defaultImage||(Array.isArray(e.images)?e.images[0]:null)||"/map-bg.webp",width:240,height:320,className:"h-full w-full object-cover group-hover:scale-110 transition duration-500 ease-in-out",alt:`/Florida-Real-Estate-Search/${e.name}`}),(0,t.jsxs)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent flex flex-col justify-end p-4 text-center",children:[(0,t.jsx)("span",{className:"font-bold text-white text-lg md:text-xl tracking-wide drop-shadow-sm uppercase",children:e.name}),(0,t.jsxs)("span",{className:"text-xs md:text-sm font-semibold text-gray-200 mt-1",children:[e._count?.properties??e._count?.communities??0," Listings"]})]})]})},r)},r))]}),(0,t.jsx)(d.CarouselPrevious,{className:"w-9 h-9 left-1 md:-left-4 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white shadow-md border-0"}),(0,t.jsx)(d.CarouselNext,{className:"w-9 h-9 right-1 md:-right-4 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white shadow-md border-0"})]})})}):(0,t.jsx)("section",{className:"w-dvw pl-4 md:pl-12",children:(0,t.jsxs)(r.ScrollArea,{className:"w-full whitespace-nowrap rounded-md",children:[(0,t.jsx)("div",{className:" space-x-2 p-4 flex",children:Array.from({length:7}).map((e,a)=>(0,t.jsx)(l.Skeleton,{className:"h-56 w-44 md:w-48 rounded-2xl shrink-0"},a))}),(0,t.jsx)(r.ScrollBar,{orientation:"horizontal"})]})})}e.s(["default",()=>m])},687607,e=>{"use strict";var t=e.i(271645),a=e.i(981140),s=e.i(30030),r=e.i(369340),i=e.i(934620),n=e.i(820783),l=e.i(248425),o=e.i(296626),d=e.i(610772),c=e.i(843476),u="Collapsible",[m,p]=(0,s.createContextScope)(u),[h,x]=m(u),f=t.forwardRef((e,a)=>{let{__scopeCollapsible:s,open:i,defaultOpen:n,disabled:o,onOpenChange:m,...p}=e,[x,f]=(0,r.useControllableState)({prop:i,defaultProp:n??!1,onChange:m,caller:u});return(0,c.jsx)(h,{scope:s,disabled:o,contentId:(0,d.useId)(),open:x,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),children:(0,c.jsx)(l.Primitive.div,{"data-state":j(x),"data-disabled":o?"":void 0,...p,ref:a})})});f.displayName=u;var g="CollapsibleTrigger",y=t.forwardRef((e,t)=>{let{__scopeCollapsible:s,...r}=e,i=x(g,s);return(0,c.jsx)(l.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":j(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})});y.displayName=g;var b="CollapsibleContent",v=t.forwardRef((e,t)=>{let{forceMount:a,...s}=e,r=x(b,e.__scopeCollapsible);return(0,c.jsx)(o.Presence,{present:a||r.open,children:({present:e})=>(0,c.jsx)(w,{...s,ref:t,present:e})})});v.displayName=b;var w=t.forwardRef((e,a)=>{let{__scopeCollapsible:s,present:r,children:o,...d}=e,u=x(b,s),[m,p]=t.useState(r),h=t.useRef(null),f=(0,n.useComposedRefs)(a,h),g=t.useRef(0),y=g.current,v=t.useRef(0),w=v.current,N=u.open||m,C=t.useRef(N),S=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=h.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,C.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),p(r)}},[u.open,r]),(0,c.jsx)(l.Primitive.div,{"data-state":j(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!N,...d,ref:f,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:N&&o})});function j(e){return e?"open":"closed"}e.s(["CollapsibleContent",()=>v,"CollapsibleTrigger",()=>y,"Content",()=>v,"Root",()=>f,"Trigger",()=>y,"createCollapsibleScope",()=>p])},273443,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(30030),r=e.i(75830),i=e.i(820783),n=e.i(981140),l=e.i(369340),o=e.i(248425),d=e.i(687607),c=e.i(610772),u=e.i(586318),m="Accordion",p=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,x,f]=(0,r.createCollection)(m),[g,y]=(0,s.createContextScope)(m,[f,d.createCollapsibleScope]),b=(0,d.createCollapsibleScope)(),v=a.default.forwardRef((e,a)=>{let{type:s,...r}=e;return(0,t.jsx)(h.Provider,{scope:e.__scopeAccordion,children:"multiple"===s?(0,t.jsx)(k,{...r,ref:a}):(0,t.jsx)(S,{...r,ref:a})})});v.displayName=m;var[w,j]=g(m),[N,C]=g(m,{collapsible:!1}),S=a.default.forwardRef((e,s)=>{let{value:r,defaultValue:i,onValueChange:n=()=>{},collapsible:o=!1,...d}=e,[c,u]=(0,l.useControllableState)({prop:r,defaultProp:i??"",onChange:n,caller:m});return(0,t.jsx)(w,{scope:e.__scopeAccordion,value:a.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:a.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(N,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(I,{...d,ref:s})})})}),k=a.default.forwardRef((e,s)=>{let{value:r,defaultValue:i,onValueChange:n=()=>{},...o}=e,[d,c]=(0,l.useControllableState)({prop:r,defaultProp:i??[],onChange:n,caller:m}),u=a.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),p=a.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(w,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:p,children:(0,t.jsx)(N,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(I,{...o,ref:s})})})}),[A,M]=g(m),I=a.default.forwardRef((e,s)=>{let{__scopeAccordion:r,disabled:l,dir:d,orientation:c="vertical",...m}=e,f=a.default.useRef(null),g=(0,i.useComposedRefs)(f,s),y=x(r),b="ltr"===(0,u.useDirection)(d),v=(0,n.composeEventHandlers)(e.onKeyDown,e=>
1{if(!p.includes(e.key))return;let t=e.target,a=y().filter(e=>!e.ref.current?.disabled),s=a.findIndex(e=>e.ref.current===t),r=a.length;if(-1===s)return;e.preventDefault();let i=s,n=r-1,l=()=>{(i=s+1)>n&&(i=0)},o=()=>{(i=s-1)<0&&(i=n)};switch(e.key){case"Home":i=0;break;case"End":i=n;break;case"ArrowRight":"horizontal"===c&&(b?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(b?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=i%r;a[d].ref.current?.focus()});return(0,t.jsx)(A,{scope:r,disabled:l,direction:d,orientation:c,children:(0,t.jsx)(h.Slot,{scope:r,children:(0,t.jsx)(o.Primitive.div,{...m,"data-orientation":c,ref:g,onKeyDown:l?void 0:v})})})}),R="AccordionItem",[D,E]=g(R),L=a.default.forwardRef((e,a)=>{let{__scopeAccordion:s,value:r,...i}=e,n=M(R,s),l=j(R,s),o=b(s),u=(0,c.useId)(),m=r&&l.value.includes(r)||!1,p=n.disabled||e.disabled;return(0,t.jsx)(D,{scope:s,open:m,disabled:p,triggerId:u,children:(0,t.jsx)(d.Root,{"data-orientation":n.orientation,"data-state":_(m),...o,...i,ref:a,disabled:p,open:m,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})});L.displayName=R;var P="AccordionHeader",F=a.default.forwardRef((e,a)=>{let{__scopeAccordion:s,...r}=e,i=M(m,s),n=E(P,s);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":i.orientation,"data-state":_(n.open),"data-disabled":n.disabled?"":void 0,...r,ref:a})});F.displayName=P;var T="AccordionTrigger",$=a.default.forwardRef((e,a)=>{let{__scopeAccordion:s,...r}=e,i=M(m,s),n=E(T,s),l=C(T,s),o=b(s);return(0,t.jsx)(h.ItemSlot,{scope:s,children:(0,t.jsx)(d.Trigger,{"aria-disabled":n.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId,...o,...r,ref:a})})});$.displayName=T;var q="AccordionContent",H=a.default.forwardRef((e,a)=>{let{__scopeAccordion:s,...r}=e,i=M(m,s),n=E(q,s),l=b(s);return(0,t.jsx)(d.Content,{role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation,...l,...r,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function _(e){return e?"open":"closed"}H.displayName=q;var O=e.i(409797),B=e.i(975157);function z({...e}){return(0,t.jsx)(v,{"data-slot":"accordion",...e})}function W({className:e,...a}){return(0,t.jsx)(L,{"data-slot":"accordion-item",className:(0,B.cn)("border-b last:border-b-0",e),...a})}function U({className:e,children:a,...s}){return(0,t.jsx)(F,{className:"flex",children:(0,t.jsxs)($,{"data-slot":"accordion-trigger",className:(0,B.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...s,children:[a,(0,t.jsx)(O.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function Y({className:e,children:a,...s}){return(0,t.jsx)(H,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...s,children:(0,t.jsx)("div",{className:(0,B.cn)("pt-0 pb-4",e),children:a})})}e.s(["Accordion",()=>z,"AccordionContent",()=>Y,"AccordionItem",()=>W,"AccordionTrigger",()=>U],273443)},794281,e=>{"use strict";var t=e.i(843476),a=e.i(618566),s=e.i(87316),r=e.i(284614),i=e.i(515288),n=e.i(487486);function l({article:e}){let l=(0,a.useRouter)(),o=e.coverImage&&(e.coverImage.match(/\.(mp4|webm|ogg|mov)$/i)||e.coverImage.includes("video/upload"));return(0,t.jsxs)(i.Card,{onClick:()=>{e.externalUrl?window.open(e.externalUrl,"_blank"):l.push(`/blogs/${e.slug}`)},className:"overflow-hidden hover:shadow-xl transition-all duration-300 group cursor-pointer flex flex-col w-full h-full border border-border/60 rounded-xl bg-card",children:[(0,t.jsx)("div",{className:"relative h-48 w-full overflow-hidden bg-muted",children:o?(0,t.jsx)("video",{src:e.coverImage,className:"w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300",autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0}):(0,t.jsx)("img",{src:e.coverImage||"https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=800&q=80",alt:e.title,className:"w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300",onError:e=>{e.target.src="https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=800&q=80"}})}),(0,t.jsxs)("div",{className:"p-5 flex-1 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsx)(n.Badge,{variant:"secondary",className:"bg-primary/10 text-primary capitalize font-medium px-2.5 py-0.5 text-xs",children:e.category?.replace("-"," ")||"Real Estate"})}),(0,t.jsx)("h3",{className:"text-lg font-bold text-foreground mb-2 line-clamp-2 group-hover:text-blue-600 transition-colors",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-3 flex-1",children:e.description})]}),(0,t.jsxs)("div",{className:"border-t border-border pt-3 space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[(0,t.jsx)(r.User,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:e.author})]}),(0,t.jsx)("div",{className:"flex gap-4 text-xs text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(s.Calendar,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:e.publishedAt?new Date(e.publishedAt).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""})]})})]})]})]})}e.s(["default",()=>l])},635550,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(555436),r=e.i(37727),i=e.i(346897),n=e.i(503116),l=e.i(25652),o=e.i(581949),d=e.i(618566),c=e.i(714972),u=e.i(49619);e.s(["default",0,({classname:e="w-full flex justify-between p-1 rounded-lg bg-white items-center gap-1 border mb-2"})=>{let m=(0,d.useRouter)(),p=(0,d.usePathname)(),h=(0,d.useSearchParams)(),[x,f]=(0,a.useState)(""),[g,y]=(0,a.useState)(),[b,v]=(0,a.useState)([]),[w,j]=(0,a.useState)(!1),[N,C]=(0,a.useState)(-1),[S,k]=(0,a.useState)(!1),[A,M]=(0,a.useState)([]),I=(0,a.useRef)(null),R=(0,a.useRef)(null),D=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e="";if(h&&(e=h.get("q")||h.get("subdivision")||h.get("school")||h.get("mls")||h.get("address")||h.get("keyword")||""),!e&&p){if(p.startsWith("/search/"))e=decodeURIComponent(p.replace("/search/","")).replaceAll("-"," ").trim();else if(p.startsWith("/Florida-Real-Estate-Search")){let t=p.replace("/Florida-Real-Estate-Search","").split("/").map(e=>decodeURIComponent(e).trim()).filter(e=>e&&!e.startsWith("page-")&&!e.startsWith("sort=")&&!e.includes("-beds")&&!e.includes("-baths")&&!e.includes("-minPrice")&&!e.includes("-maxPrice")&&!e.includes("-minBuiltYear")&&!e.includes("-maxBuiltYear")&&!e.startsWith("propertyTypes="));if(t.length>0){let a=t.find(e=>e.startsWith("postalCode-"));e=a?a.replace("postalCode-",""):t[t.length-1].replaceAll("-"," ")}}}e?f(e):"/Florida-Real-Estate-Search"!==p||h&&h.toString()||f("")},[p,h]);let E=[{text:"Naples",type:"city"},{text:"Bonita Springs",type:"city"},{text:"Estero",type:"city"},{text:"Marco Island",type:"city"},{text:"Fort Myers",type:"city"},{text:"Cape Coral",type:"city"}],L=(0,a.useCallback)(async e=>{if(!e.trim())return void v([]);k(!0);let a=(await o.default.get("/api/v2/search/autocomplete",{params:{q:e}})).data.suggestions.filter(t=>t.text.toLowerCase().includes(e.toLowerCase()));v([...A.filter(t=>t.text.toLowerCase().includes(e.toLowerCase())).map(e=>({...e,type:"recent",icon:(0,t.jsx)(n.Clock,{className:"w-4 h-4"})})),...a].filter((e,t,a)=>a.findIndex(t=>t.text.toLowerCase()===e.text.toLowerCase())===t).slice(0,8)),k(!1)},[A]);(0,a.useEffect)(()=>{let e=setTimeout(()=>{L(x)},500);return()=>clearTimeout(e)},[x,L]),(0,a.useEffect)(()=>{let e=e=>{D.current&&!D.current.contains(e.target)&&j(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let P=e=>{y(e),j(!1),C(-1),F(e)},F=e=>{let t;t={text:e.text,type:e.type},M(e=>{let a=e.filter(e=>e.text.toLowerCase()!==t.text.toLowerCase());return[t,...a].slice(0,5)}),j(!1),"city"===e.type?m.push(`/Florida-Real-Estate-Search/${(0,c.default)(e.text).replaceAll(/\s+/g,"-").replaceAll(" ","-")}`):"community"===e.type?m.push(`/Florida-Real-Estate-Search/${(0,c.default)(e.city).replaceAll(/\s+/g,"-").replaceAll(" ","-")}/${(0,c.default)(e.community||e.text).replaceAll(", ","-").replaceAll(" ","-")}`):"address"===e.type?m.push((0,u.default)(e.city||"",e.community||"",e.text,e.MLSNumber||"")):"subdivision"===e.type?m.push(`/Florida-Real-Estate-Search?subdivision=${encodeURIComponent(e.text)}`):"school"===e.type?m.push(`/Florida-Real-Estate-Search?school=${encodeURIComponent(e.text)}`):"mls"===e.type?m.push(`/search/${encodeURIComponent(e.text)}`):"zipcode"===e.type?m.push(`/Florida-Real-Estate-Search/postalCode-${e.text}`):m.push(`/search/${encodeURIComponent(e.text)}`)},T=x?b:[...A.slice(0,3),...E.slice(0,3)];return(0,t.jsxs)("div",{ref:D,className:"relative w-full mx-auto",children:[(0,t.jsxs)("div",{className:"flex items-center bg-white rounded-md shadow-xl border border-gray-200 overflow-hidden h-14 md:h-16 transition-all duration-300 focus-within:ring-4 focus-within:ring-white/30",children:[(0,t.jsx)("div",{className:"pl-5 md:pl-6",children:(0,t.jsx)(s.Search,{className:"w-5 h-5 md:w-6 md:h-6 text-gray-500"})}),(0,t.jsx)("div",{className:"flex-1 h-full",children:(0,t.jsx)("input",{ref:I,type:"text",value:x,onChange:e=>{f(e.target.value),j(!0),C(-1)},onKeyDown:e=>{if(!w)return;let t=x?b:[...A.slice(0,3),...E.slice(0,3)];switch(e.key){case"ArrowDown":e.preventDefault(),C(e=>e<t.length-1?e+1:e);break;case"ArrowUp":e.preventDefault(),C(e=>e>0?e-1:-1);break;case"Enter":e.preventDefault(),N>=0?P(t[N]):x.trim()&&(m.push(`/search/${encodeURIComponent(x)}`),j(!1),C(-1));break;case"Escape":j(!1),C(-1),I.current?.blur()}},onFocus:()=>{j(!0),!x&&(A.length>0||E.length>0)&&C(-1)},onBlur:e=>{D.current?.contains(e.relatedTarget)||setTimeout(()=>j(!1),150)},placeholder:"Search by city, address, or ZIP code",className:"w-full h-full px-4 text-[15px] md:text-lg font-medium text-gray-800 placeholder:text-gray-400 bg-transparent border-none outline-none leading-none",autoComplete:"off",spellCheck:"false"})}),x&&(0,t.jsx)("button",{onClick:()=>{f(""),v([]),j(!1),C(-1),p&&(p.startsWith("/Florida-Real-Estate-Search")||p.startsWith("/search"))&&("/Florida-Real-Estate-Search"!==p||h&&""!==h.toString())?m.push("/Florida-Real-Estate-Search"):I.current?.focus()},className:"mr-2 md:mr-3 p-2.5 rounded-full hover:bg-gray-100 transition",type:"button","aria-label":"Clear search",children:(0,t.jsx)(r.X,{className:"w-5 h-5 text-gray-500"})}),(0,t.jsxs)("button",{onClick:()=>{x.trim()?m.push(`/search/${encodeURIComponent(x)}`):I.current?.focus()},type:"button","aria-label":"Search properties",className:"h-14 md:h-16 px-6 md:px-8 bg-red-700 hover:bg-red-800 text-white font-semibold transition-all duration-200 flex items-center justify-center gap-2",children:[(0,t.jsx)(s.Search,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-base",children:"Search"})]})]}),w&&(0,t.jsx)("div",{ref:R,className:"absolute top-full left-0 right-0 mt-3 bg-white rounded-2xl shadow-2xl border border-gray-200 overflow-hidden z-[9999] max-h-[420px] overflow-y-auto",children:S?(0,t.jsxs)("div",{className:"p-6 flex items-center justify-center",children:[(0,t.jsx)("div",{className:"w-5 h-5 border-2 border-[#006aff] border-t-transparent roun
1ded-full animate-spin"}),(0,t.jsx)("span",{className:"ml-3 text-gray-600 text-sm",children:"Searching..."})]}):T.length>0?(0,t.jsxs)("div",{className:"py-2",children:[!x&&A.length>0&&(0,t.jsx)("div",{className:"px-5 py-3 border-b border-gray-100",children:(0,t.jsx)("p",{className:"text-xs font-semibold tracking-wider text-gray-500 uppercase",children:"Recent Searches"})}),(0,t.jsx)("ul",{children:T.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{onClick:()=>P(e),className:`w-full flex items-center gap-4 px-5 py-5 text-left transition-all duration-150 ${a===N?"bg-blue-50":"hover:bg-gray-50"}`,type:"button",children:[(0,t.jsx)("div",{className:`shrink-0 ${a===N?"text-[#006aff]":"text-gray-400"}`,children:"recent"===e.type?(0,t.jsx)(n.Clock,{className:"w-5 h-5"}):"popular"===e.type?(0,t.jsx)(l.TrendingUp,{className:"w-5 h-5"}):(0,t.jsx)(i.MapPin,{className:"w-5 h-5"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-base font-medium text-gray-800 truncate",children:"NOT APPLICABLE"===e.text||"N/A"===e.text||"OTHERS"===e.text?x.toUpperCase():e.text}),e.type&&(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:(e=>{switch(e){case"recent":return"Recent";case"popular":return"Popular";case"address":return"Address";case"city":return"City";case"community":return"Community";case"subdivision":return"Subdivision";case"school":return"School";case"mls":return"MLS ID";case"zipcode":return"ZIP Code";default:return""}})(e.type)})]})]})},a))})]}):x&&!S?(0,t.jsx)("div",{className:"p-3",children:(0,t.jsxs)("button",{onClick:()=>P({text:x}),className:"w-full flex items-center gap-4 px-4 py-4 rounded-xl hover:bg-gray-50 transition text-left",type:"button",children:[(0,t.jsx)(s.Search,{className:"w-5 h-5 text-gray-400"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"font-medium text-gray-800",children:['Search for "',x,'"']}),(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:"Address, City, ZIP or MLS"})]})]})}):null})]})}])},307205,e=>{"use strict";var t=e.i(843476),a=e.i(870273);function s({review:e}){return(0,t.jsxs)("div",{className:"h-full flex flex-col p-4 bg-card border border-border rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 w-full justify-between",children:[(0,t.jsx)("p",{className:"text-foreground font-semibold text-sm",children:e.name}),(0,t.jsxs)("div",{className:"flex justify-end gap-1 mb-4",children:[(0,t.jsx)(a.Star,{className:"w-4 h-4 fill-amber-600 text-amber-600"}),(0,t.jsx)(a.Star,{className:"w-4 h-4 fill-amber-600 text-amber-600"}),(0,t.jsx)(a.Star,{className:"w-4 h-4 fill-amber-600 text-amber-600"}),(0,t.jsx)(a.Star,{className:"w-4 h-4 fill-amber-600 text-amber-600"}),(0,t.jsx)(a.Star,{className:"w-4 h-4 fill-amber-600 text-amber-600"})]})]}),(0,t.jsx)("p",{className:"text-xs text-gray-500 leading-relaxed mb-4 grow",children:e.text})]})}let r=[{name:"Bob J.",text:"It was all due to his well organized effort of carting us from place to place and then being smart enough to spot a great deal for us in a building we really wanted to be in. Dimitri laid out a large number of condos for us to look at in different areas based on our requests. We found one building we really liked but needed to think about it. On top of it all we got it at a great price so we remodeled the entire place. It's modern and brand new on the inside. Within a few weeks he identified a new listing in the building and we bought it on the spot."},{name:"Michael A.",text:"Living in Canada and purchasing in Florida could have been challenging but he made it so easy! From the first telephone conversation to taking the time on our trip down to show us all the communities and amenities, we were thoroughly impressed. His approach is professional, informative and caring. We have had an excellent experience working with Dimitri. Could not believe the amount of time and effort they spent with us."},{name:"Mary Z.",text:"Dimitri was wonderful to work with and went above and beyond to help us find the property with the specific attributes and environment we were searching for in our home. He effectively introduced us to the SW Florida lifestyle."},{name:"Jerry B.",text:"Dimitri found us just the right neighborhood and even got us a great deal on a house full of furniture. All of this from 1500 miles away. He moved us up the property ladder by helping us buy a vacation home then sell it and later purchase a larger one. I can't imagine anyone doing it better than him."},{name:"David C.",text:"At no point in those five months did his dedication to selling our property disappoint us. He is a skilled listener and negotiator, with very in-depth knowledge of the local markets. We listed two properties with him at the same time and while he sold one within a week, one took five months to sell. He was just as aggressive and excited about selling the second property as he was the first. Without doubt, we would seek him out immediately for any upcoming real estate transaction in the future."}];function i(){let e=[...r,...r];return(0,t.jsx)("section",{className:"w-full py-8 px-4 bg-background",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-20 bg-linear-to-r from-background to-transparent z-10 pointer-events-none"}),(0,t.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-20 bg-linear-to-l from-background to-transparent z-10 pointer-events-none"}),(0,t.jsx)("div",{className:"flex gap-6 animate-scroll",style:{"--scroll-duration":"30s"},children:e.map((e,a)=>(0,t.jsx)("div",{className:"shrink-0 w-full md:w-96",children:(0,t.jsx)(s,{review:e})},`review-${a}`))})]})})})}e.s(["default",()=>i],307205)}]);

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.