1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,386853,e=>{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(152236);let i="inline-flex h-[52px] w-[180px] max-w-full shrink-0 select-none items-center justify-center gap-2.5 rounded-xl px-4 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2";function s({icon:e,topLabel:n,bottomLabel:i,muted:a=!1}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,r.cn)("flex h-6 w-6 shrink-0 items-center justify-center",a&&"opacity-60"),"aria-hidden":"true",children:e}),(0,t.jsxs)("span",{className:"flex flex-col items-start leading-none",children:[(0,t.jsx)("span",{className:(0,r.cn)("text-[10px] font-medium tracking-wide",a?"text-muted-foreground":"text-white/70 dark:text-slate-500"),children:n}),(0,t.jsx)("span",{className:"mt-0.5 text-[15px] font-semibold leading-tight",children:i})]})]})}function a({href:e,ariaLabel:l,icon:o,topLabel:d,bottomLabel:c,className:u,onClick:m}){return e?(0,t.jsx)(n.default,{href:e,target:"_blank",rel:"noopener noreferrer","aria-label":l,onClick:m,className:(0,r.cn)(i,"bg-slate-900 text-white shadow-sm ring-1 ring-inset ring-white/10 hover:bg-slate-800 dark:bg-white dark:text-slate-900 dark:ring-black/[0.06] dark:hover:bg-slate-100",u),children:(0,t.jsx)(s,{icon:o,topLabel:d,bottomLabel:c})}):(0,t.jsx)("span",{"aria-label":l,"aria-disabled":"true",className:(0,r.cn)(i,"cursor-default bg-muted/60 text-muted-foreground ring-1 ring-inset ring-border",u),children:(0,t.jsx)(s,{icon:o,topLabel:d,bottomLabel:c,muted:!0})})}function l(){return(0,t.jsx)("svg",{viewBox:"0 0 384 512",fill:"currentColor",className:"h-[22px] w-[22px]","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C73.3 141.2 24 184.1 24 271.4c0 25.8 4.7 52.5 14.1 80 12.6 36.1 58 124.6 105.4 123.1 24.8-.6 42.3-17.6 74.5-17.6 31.2 0 47.4 17.6 74.4 17.6 47.8-.7 88.9-81.2 100.9-117.4-64.1-30.2-60.6-88.5-60.6-89zM254.1 89.1c30.4-36.1 27.6-69 26.7-80.8-26.8 1.6-57.8 18.3-75.5 38.9-19.5 22.1-31 49.4-28.5 80.2 29 2.2 55.5-12.7 77.3-38.3z"})})}function o({href:e,className:n,onClick:r}){return(0,t.jsx)(a,{href:e,onClick:r,className:n,icon:(0,t.jsx)(l,{}),ariaLabel:e?"App Storeìì 주거ëì¹¨ë° ì± ì¤ì¹":"App Store ì¶ì ìì ",topLabel:e?"Download on the":"ì¶ì ìì ",bottomLabel:"App Store"})}function d(){return(0,t.jsx)("svg",{viewBox:"0 0 512 512",fill:"currentColor",className:"h-[22px] w-[22px]","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z"})})}function c({href:e,className:n,onClick:r}){return(0,t.jsx)(a,{href:e,onClick:r,className:n,icon:(0,t.jsx)(d,{}),ariaLabel:"Google Playìì 주거ëì¹¨ë° ì± ì¤ì¹",topLabel:"GET IT ON",bottomLabel:"Google Play"})}var u=e.i(981123),m=e.i(773384);e.s(["ResponsiveStoreBadges",0,function({androidHref:e,iosHref:n,className:i}){let s=(0,m.useHydrated)()?(0,u.getInstallSurface)({userAgent:navigator.userAgent,isAppEmbed:"true"===new URLSearchParams(window.location.search).get("app")||document.documentElement.classList.contains("app-embed")}):"unknown";return"app_embed"===s?null:(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col items-start gap-2 sm:flex-row sm:flex-wrap",i),"aria-label":"ì± ë¤ì´ë¡ë ë§í¬",children:"ios_mobile"===s?(0,t.jsx)(o,{href:n}):"android_mobile"===s?(0,t.jsx)(c,{href:e}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{href:n}),(0,t.jsx)(c,{href:e})]})})}],386853)},227720,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(522016),i=e.i(618566),s=e.i(972520),a=e.i(463059),l=e.i(790597),o=e.i(403014),o=o,d=e.i(346897);let c=(0,e.i(475254).default)("MessageSquareText",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]]);var u=e.i(555436),m=e.i(239616),g=e.i(643531),f=e.i(95187);let h=(0,f.createServerReference)("00b1ef80269385bd3f53866a755da53e87daecfc61",f.callServer,void 0,f.findSourceMapURL,"getHomePersonal");var x=e.i(466691),p=e.i(718879),b=e.i(988204);let y="/favorites",v="ì ì¥ ê³µê³ ì ì²´",j="/announcements",N="ê³µê³ ëë¬ë³´ê¸°";function w(e){return[{label:"ê´ì¬ ì§ì ê³ ë¥´ê¸°",href:"/settings/regions",done:e.regions},{label:"ì격 ì¡°ê±´ ë£ê¸°",href:"/profile/conditions",done:e.conditions},{label:"ì림 ì¼ê¸°",href:"/settings/alerts",done:e.alerts}]}function k(e){return w(e).filter(e=>e.done).length}var S=e.i(152236);let L="hm:home-personal-variant",C=()=>()=>{};function D(){try{return"user"===localStorage.getItem(L)?"user":"anon"}catch{return"anon"}}let H="flex min-h-14 items-center gap-3 rounded-lg p-3.5 transition-colors motion-reduce:transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",A="inline-flex min-h-11 shrink-0 items-center gap-0.5 whitespace-nowrap rounded-md px-1.5 text-sm font-medium text-muted-foreground transition-colors motion-reduce:transition-none hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2";
1function $(){let[e,r]=(0,n.useState)({phase:"loading"}),i=(0,n.useSyncExternalStore)(C,D,()=>"anon");(0,n.useEffect)(()=>{let e=!0;return h().then(t=>{if(e){r(t?{phase:"user",data:t}:{phase:"anon"});try{localStorage.setItem(L,t?"user":"anon")}catch{}}}).catch(()=>{e&&r({phase:"failed"})}),()=>{e=!1}},[]);let s="loading"===e.phase;return(0,t.jsxs)("section",{"aria-label":"ë´ ë§ì¶¤ ì ë³´","aria-busy":s,className:"mt-6 grid rounded-xl border border-border bg-card p-5 text-left",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:(0,S.cn)("[grid-area:1/1] transition-opacity duration-[120ms] motion-reduce:transition-none",s?"opacity-100":"pointer-events-none opacity-0"),children:(0,t.jsx)(B,{variant:i})}),(0,t.jsxs)("div",{className:(0,S.cn)("[grid-area:1/1] transition-[opacity,transform] duration-[180ms] ease-[cubic-bezier(.2,0,0,1)] motion-reduce:transition-none",s?"translate-y-1 opacity-0":"translate-y-0 opacity-100"),children:["user"===e.phase&&(0,t.jsx)(T,{data:e.data}),"anon"===e.phase&&(0,t.jsx)(M,{}),"failed"===e.phase&&(0,t.jsx)(E,{})]})]})}function T({data:e}){var n,i;let s=function(e,t){if(t<=0||0===e.length)return null;let n=e.length>2?`ê´ì¬ ì§ì ${e.length}ê³³`:e.join("·");return`${n}ì ì´ë² 주 ì ê³µê³ ${t}ê±´`}(e.regions,e.newCount);if(!(e.deadlines.length>0||null!==s||null!==e.resume)){let n=3===k(e.checklist)?{title:"ì§ê¸ ì±ê¸¸ ê³µê³ ê° ìì´ì",description:"ì¤ì ì ë¤ í´ëì
¨ì´ì. ê´ì¬ ì§ìì ì ê³µê³ ê° ë¨ë©´ ìë ¤ë릴ê²ì."}:{title:"ìì§ ë¹ì´ ìì´ì. 3ë¶ì´ë©´ ë§ì¶¤ ê³µê³ ê° ì¼ì§ëë¤",description:"ê´ì¬ ì§ìê³¼ ì격 ì¡°ê±´ì ë£ì¼ë©´ ë§ê°Â·ì ê· ê³µê³ ë¥¼ ììì ê³¨ë¼ ëë ¤ì."},i=k(e.checklist),s=i>=3;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold leading-7 text-foreground",children:n.title}),(0,t.jsx)("p",{className:"mt-1.5 text-sm leading-6 text-muted-foreground",children:n.description}),s&&(0,t.jsxs)(r.default,{href:j,className:(0,S.cn)(H,"mt-3 border border-border hover:bg-muted/30"),children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 text-sm font-semibold text-foreground",children:N}),(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":"true"})]}),!s&&(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-3",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"h-1.5 flex-1 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-primary transition-[width] duration-300 motion-reduce:transition-none",style:{width:`${i/3*100}%`}})}),(0,t.jsxs)("span",{className:"shrink-0 text-[13px] font-bold text-muted-foreground",children:[i,"/3 ìë£"]})]}),!s&&(0,t.jsx)("ul",{className:"mt-3 grid gap-2",children:w(e.checklist).map(e=>e.done?(0,t.jsxs)("li",{className:(0,S.cn)(H,"bg-muted text-muted-foreground"),children:[(0,t.jsx)(g.Check,{className:"h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 text-sm font-semibold",children:e.label}),(0,t.jsx)("span",{className:"sr-only",children:"ìë£"})]},e.href):(0,t.jsx)("li",{children:(0,t.jsxs)(r.default,{href:e.href,className:(0,S.cn)(H,"border border-border hover:bg-muted/30"),children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 text-sm font-semibold text-foreground",children:e.label}),(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":"true"})]})},e.href))})]})}return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold leading-7 text-foreground",children:(n=e.name,(i=e.soonCount)>0?`${n}ë, ì§ê¸ ì±ê¸¸ ê±´ ${i}ê±´ì´ìì`:`${n}ë, ì¤ëì ê¸í ë§ê°ì´ ìì´ì`)}),(0,t.jsxs)(r.default,{href:y,className:A,children:[v,(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4","aria-hidden":"true"})]})]}),(0,t.jsxs)("div",{className:"mt-3 grid gap-3",children:[e.deadlines.length>0&&(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:e.deadlines.map(e=>(0,t.jsx)(R,{card:e},e.key))}),s&&(0,t.jsxs)(r.default,{href:`/announcements?region=${encodeURIComponent(e.regions.join(","))}&sort=latest`,className:(0,S.cn)(H,"border border-border hover:bg-muted/30"),children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 text-sm font-semibold text-foreground",children:s}),(0,t.jsx)("span",{className:"shrink-0 text-[13px] font-bold text-primary",children:"보기"})]}),e.resume&&(0,t.jsxs)(r.default,{href:e.resume.href,className:(0,S.cn)(H,"bg-muted hover:bg-muted/70"),children:[(0,t.jsx)("span",{className:"shrink-0 text-sm font-semibold text-muted-foreground",children:"ì´ì´ì 보기"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:e.resume.title}),(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":"true"})]})]})]})}function R({card:e}){let n=(0,p.getDDayBadgeFromDiff)(e.daysLeft)?.label??"",i=(0,b.formatDeadline)(e.endDate);return(0,t.jsxs)(r.default,{href:e.href,className:"rounded-lg border border-border p-3.5 transition-colors motion-reduce:transition-none hover:bg-muted/30 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[(0,t.jsxs)("span",{className:"inline-flex items-center rounded-md border border-urgency-critical-border bg-urgency-critical-bg px-2 py-0.5 text-xs font-bold text-urgency-critical",children:[(0,t.jsxs)("span",{className:"sr-only",children:[0===e.daysLeft?"ì¤ë ë§ê°":`ë§ê° ${e.daysLeft}ì¼ ì `,i?`, ${i}`:""]}),(0,t.jsxs)("span",{"aria-hidden":"true",children:[n,i?` \xb7 ${i} ë§ê°`:""]})]}),(0,t.jsx)("p",{className:"mt-2 line-clamp-2 text-[15px] font-bold leading-[22px] text-foreground",children:e.title}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:[e.agency,e.region?` \xb7 ${e.regi
1on}`:""]})]})}function M(){return(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("p",{className:"min-w-0 text-[15px] leading-6 text-foreground",children:[(0,t.jsx)("b",{className:"font-bold",children:"ê´ì¬ ì§ìì ì ì¥íë©´"})," ì ê³µê³ ì ë§ê°ì¼ì íìì ë°ë¡ ë³¼ ì ìì´ì."]}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-3",children:[(0,t.jsxs)(r.default,{href:"/announcements",className:A,children:["먼ì ê³µê³ ëë¬ë³´ê¸°",(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4","aria-hidden":"true"})]}),(0,t.jsx)(x.Button,{asChild:!0,className:"min-h-11 font-bold",children:(0,t.jsx)(r.default,{href:"/login?callbackUrl=/settings/regions",children:"ê´ì¬ ì§ì ì¤ì í기"})})]})]})}function E(){return(0,t.jsxs)("div",{role:"status",className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{className:"text-base font-semibold leading-6 text-foreground",children:"ë´ ë§ì¶¤ ì ë³´ë ì ì í ë¤ì ë³´ì¬ë릴ê²ì"}),(0,t.jsx)("p",{className:"mt-1 text-sm leading-6 text-muted-foreground",children:"ì ì¥í ê³µê³ ì ê´ì¬ ì§ìì ê·¸ëë¡ìì. ìëìì ë°ë¡ ì´ì´ì ë³¼ ì ìì´ì."})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[(0,t.jsx)(x.Button,{asChild:!0,className:"min-h-11 font-bold",children:(0,t.jsx)(r.default,{href:y,children:v})}),(0,t.jsxs)(r.default,{href:j,className:A,children:[N,(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4","aria-hidden":"true"})]})]})]})}function B({variant:e}){return(0,t.jsx)("div",{className:"animate-skeleton",children:"anon"===e?(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"h-6 w-3/5 rounded-md bg-muted"}),(0,t.jsx)("div",{className:"mt-1 h-6 w-4/5 rounded-md bg-muted"})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[(0,t.jsx)("div",{className:"h-11 w-36 rounded-md bg-muted"}),(0,t.jsx)("div",{className:"h-11 w-28 rounded-md bg-muted"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-7 w-2/5 rounded-md bg-muted"}),(0,t.jsxs)("div",{className:"mt-3 grid gap-3",children:[(0,t.jsxs)("div",{className:"grid gap-3 lg:grid-cols-2",children:[(0,t.jsx)("div",{className:"h-[104px] rounded-lg bg-muted"}),(0,t.jsx)("div",{className:"h-[104px] rounded-lg bg-muted"})]}),(0,t.jsx)("div",{className:"h-14 rounded-lg bg-muted"}),(0,t.jsx)("div",{className:"h-14 rounded-lg bg-muted"})]})]})})}var I=e.i(385978);function _({id:e,title:n,level:i=2,description:s,icon:l,href:o,linkLabel:d="ì ì²´ 보기",action:c,className:u}){let m=c??(o?(0,t.jsxs)(r.default,{href:o,className:"inline-flex min-h-11 shrink-0 items-center gap-0.5 whitespace-nowrap rounded-md px-1.5 text-sm font-medium text-muted-foreground transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[d,(0,t.jsx)(a.ChevronRight,{className:"h-4 w-4","aria-hidden":"true"})]}):null);return(0,t.jsxs)("div",{className:(0,S.cn)("mb-3 flex gap-x-3 gap-y-3",c?"flex-col md:flex-row md:items-end md:justify-between":"min-h-11 items-center justify-between",u),children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[l?(0,t.jsx)(I.Jugeo3DIcon,{name:l,className:"h-6 w-6",sizes:"24px"}):null,(0,t.jsx)(3===i?"h3":"h2",{id:e,className:(0,S.cn)("min-w-0 truncate leading-tight text-foreground",3===i?"text-base font-semibold md:text-lg":"text-xl font-bold"),children:n})]}),s?(0,t.jsx)("p",{className:"mt-1 text-sm font-medium leading-relaxed text-muted-foreground",children:s}):null]}),m]})}var F=e.i(835244),P=e.i(173547);let z=`ring-1 ${p.DDAY_TONE_CLASS.critical}`,O=[{label:"ìì¸",href:"/announcements?region=%EC%84%9C%EC%9A%B8",count:0},{label:"경기",href:"/announcements?region=%EA%B2%BD%EA%B8%B0",count:0},{label:"ì¸ì²",href:"/announcements?region=%EC%9D%B8%EC%B2%9C",count:0},{label:"ë¶ì°",href:"/announcements?region=%EB%B6%80%EC%82%B0",count:0},{label:"ë구",href:"/announcements?region=%EB%8C%80%EA%B5%AC",count:0},{label:"ê·¸ ì¸ ì§ì",href:"/announcements?scope=all",count:0,muted:!0}
1],U=[{label:"í복주í",kind:"ìë",href:"/announcements/type/haengbok-jutaek",description:"ì²ë
·ì í¼Â·ê³ ë ¹",graphic:"happyHousing"},{label:"공공ë¶ì",kind:"ë¶ì",href:V("공공ë¶ì"),description:"ì²ì½í ê³µê³ ",graphic:"publicSale"},{label:"êµë¯¼ìë",kind:"ìë",href:"/announcements/type/gugmin-imdae",description:"ì¥ê¸° 거주í",graphic:"nationalRental"},{label:"민ê°ë¶ì",kind:"ë¶ì",href:V("민ê°ë¶ì"),description:"모ì§ê³µê³ íì¸",graphic:"privateSale"},{label:"ì²ë
매ì
",desktopLabel:"ì²ë
매ì
ìë",kind:"ìë",href:"/announcements/type/cheongnyeon-maeip-imdae",description:"ëíì·취ì
ì¤ë¹ì",graphic:"youthPurchase"},{label:"무ìì",kind:"ë¶ì",href:V("무ìì"),description:"ìì¬ì¸ë íì¸",graphic:"unrankedSale"}],q=["ìë","ë¶ì"].map(e=>({kind:e,items:U.filter(t=>t.kind===e)})),G=[{value:"all",label:"ì ì²´ ê³µê³ ",shortLabel:"ì ì²´"},{value:"rent",label:"ìë ê³µê³ ",shortLabel:"ìë"},{value:"sale",label:"ë¶ì ê³µê³ ",shortLabel:"ë¶ì"}],K=[{label:"ê´ì¬ ì§ì",href:"/announcements",Icon:d.MapPin},{label:"ì ì¥ ê³µê³ ",href:"/favorites",Icon:l.Heart},{label:"í",href:"/",Icon:o.default,active:!0},{label:"커뮤ëí°",href:"/community",Icon:c},{label:"ì¤ì ",href:"/settings/regions",Icon:m.Settings}];function V(e){return`/sale-announcements?q=${encodeURIComponent(e)}`}function Q(e){return`${e.toLocaleString()}ê±´`}function J(e){if(!e)return 1/0;let t=new Date(e).getTime();return Number.isFinite(t)?t:1/0}function Y(e){return e?new Intl.DateTimeFormat("ko-KR",{timeZone:"Asia/Seoul",month:"numeric",day:"numeric",weekday:"short"}).format(new Date(e)):"ì¼ì 미ì "}let Z={label:"",className:""};function X(e){if(null===e)return Z;if(e<=0)return{label:"ì¤ë ë§ê°",className:z};let t=(0,p.getDDayBadgeFromDiff)(e);
1return t&&"normal"!==t.urgency&&"closed"!==t.urgency?{label:t.label,className:`ring-1 ${p.DDAY_TONE_CLASS[t.urgency]}`}:Z}function W(e){return e.map(e=>{let t=X(e.daysUntilDeadline??null);return{id:e.id,title:e.title,href:e.href,badge:t.label,badgeClassName:t.className,source:e.source,meta:e.meta,kind:e.kind,sortTime:J(e.eventDate),dateLabel:e.dateLabel??null}})}function ee(e,t){return"rent"===t?e.filter(e=>"ìë"===e.kind):"sale"===t?e.filter(e=>"ë¶ì"===e.kind):e}function et({value:e,onChange:n}){return(0,t.jsx)("div",{"data-home-announcement-scope-filter":!0,className:"border-b border-border",children:(0,t.jsx)("div",{role:"group",className:"flex gap-5 md:gap-6","aria-label":"í ê³µê³ ì í íí°",children:G.map(r=>{let i=e===r.value;return(0,t.jsxs)("button",{type:"button","aria-pressed":i,onClick:()=>n(r.value),className:`-mb-px inline-flex min-h-11 items-center whitespace-nowrap border-b-2 px-0.5 text-[15px] font-semibold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ${i?"border-foreground text-foreground":"border-transparent text-muted-foreground hover:border-border hover:text-foreground"}`,children:[r.shortLabel,(0,t.jsxs)("span",{className:"sr-only",children:[" ",r.label.slice(r.shortLabel.length)]})]},r.value)})})})}function en({category:e}){return(0,t.jsxs)(r.default,{href:e.href,className:"group flex min-w-0 flex-col rounded-xl border border-border bg-card p-2.5 text-left transition-colors hover:border-primary/30 hover:bg-primary/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:p-4",children:[(0,t.jsx)("span",{className:"relative flex h-10 w-10 items-center justify-center rounded-[10px] bg-secondary md:h-12 md:w-12",children:(0,t.jsx)(I.Jugeo3DIcon,{name:e.graphic,className:"h-[54px] w-[54px] md:h-16 md:w-16",sizes:"(min-width: 768px) 64px, 54px"})}),(0,t.jsx)("span",{className:"mt-2.5 block text-xs font-semibold leading-tight text-foreground group-hover:text-primary md:hidden",children:e.label}),(0,t.jsx)("span",{className:"mt-3 hidden text-[15px] font-semibold leading-tight text-foreground group-hover:text-primary md:block",children:e.desktopLabel??e.label}),(0,t.jsx)("span",{className:"mt-1 hidden truncate text-xs font-medium text-muted-foreground md:block",children:e.description})]})}function er({item:e,trailing:n}){return(0,t.jsx)("li",{className:"border-t border-border/70 first:border-t-0",children:(0,t.jsxs)(r.default,{href:e.href,className:"group flex min-h-16 min-w-0 items-center gap-4 px-4 py-3 transition-colors hover:bg-primary/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring md:px-5",children:[(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("span",{className:"line-clamp-2 text-[15px] font-semibold leading-snug text-foreground group-hover:text-primary",children:[e.badge?(0,t.jsx)("span",{className:`mr-2 inline-flex min-h-6 items-center justify-center rounded-md px-2 align-[-3px] text-xs font-bold ${e.badgeClassName}`,children:e.badge}):null,e.title]}),(0,t.jsx)("span",{className:"mt-1 block truncate text-[13px] font-medium text-muted-foreground",children:[[e.source,e.kind].filter(Boolean).join(" · "),e.meta].filter(Boolean).join(" · ")})]}),"date"===n&&e.dateLabel?(0,t.jsx)("span",{className:"shrink-0 text-[13px] font-medium text-muted-foreground",children:e.dateLabel}):(0,t.jsx)(a.ChevronRight,{className:"h-5 w-5 shrink-0 text-muted-foreground/70 transition-transform group-hover:translate-x-0.5 group-hover:text-primary","aria-hidden":"true"})]})})}function ei({emptyText:e,emptyHref:n,emptyLinkLabel:i}){return(0,t.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-4 py-6",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:e}),(0,t.jsxs)(r.default,{href:n,className:"mt-3 inline-flex min-h-11 items-center gap-1 rounded-full px-2 text-sm font-semibold text-primary transition-colors hover:bg-primary/10 hover:text-primary/85",children:[i,(0,t.jsx)(s.ArrowRight,{className:"h-3.5 w-3.5","aria-hidden":"true"})]})]})}function es({id:e,title:n,href:r,items:i,emptyText:s,emptyHref:a,emptyLinkLabel:l}){return(0,t.jsxs)("section",{id:e,"aria-labelledby":e?`${e}-heading`:void 0,"data-home-deadline-list":!0,className:"min-w-0 scroll-mt-24",children:[(0,t.jsx)(_,{id:e?`${e}-heading`:void 0,title:n,icon:"alarmClock",href:r}),i.length>0?(0,t.jsx)("ul",{className:"overflow-hidden rounded-xl border border-border bg-card",children:i.map(e=>(0,t.jsx)(er,{item:e,trailing:"chevron"},e.id))}):(0,t.jsx)(ei,{emptyText:s,emptyHref:a,emptyLinkLabel:l})]})}function ea({title:e,href:n,items:r,emptyText:i,emptyHref:s,emptyLinkLabel:a}){return(0,t.jsxs)("section",{"aria-labelledby":"home-new-list-heading","data-home-new-list":!0,className:"min-w-0",children:[(0,t.jsx)(_,{id:"home-new-list-heading",title:e,icon:"sparkle",href:n}),r.length>0?(0,t.jsx)("ul",{className:"overflow-hidden rounded-xl border border-border bg-card",children:r.map(e=>(0,t.jsx)(er,{item:e,trailing:"date"},e.id))}):(0,t.jsx)(ei,{emptyText:i,emptyHref:s,emptyLinkLabel:a})]})}function el(){return(0,t.jsx)("nav",{"aria-label":"í íë¨ ë°ë¡ê°ê¸°","data-home-mobile-bottom-nav":!0,"data-mobile-bottom-bar":!0,className:"fixed inset-x-0 bottom-0 z-40 border-t border-border/70 bg-background/95 px-2 pb-[calc(env(safe-area-inset-bottom)+0.5rem)] pt-2 shadow-[0_-8px_24px_rgba(20,30,50,0.08)] backdrop-blur md:hidden",children:(0,t.jsx)("div",{className:"mx-auto grid max-w-md grid-cols-5 ga
1p-1",children:K.map(({label:e,href:n,Icon:i,active:s})=>(0,t.jsxs)(r.default,{href:n,"aria-current":s?"page":void 0,className:`flex min-h-14 flex-col items-center justify-center gap-1 rounded-lg text-xs font-bold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ${s?"text-primary":"text-muted-foreground hover:bg-secondary hover:text-foreground"}`,children:[(0,t.jsx)("span",{className:`inline-flex h-6 w-6 items-center justify-center rounded-md ${s?"bg-primary/10":""}`,children:(0,t.jsx)(i,{className:"h-4 w-4","aria-hidden":"true"})}),e]},e))})})}e.s(["HomeCommunitySection",0,function({communityPosts:e,showCommunityModule:n}){let i=e.slice(0,3).map(e=>({id:`${e.sourceType}:${e.sourceId}`,href:e.destinationUrl,contextName:e.targetTitle??("question"===e.contentKind?"ì§ë¬¸":"ê²½í·í기"),replyLabel:"question"===e.contentKind?"ëµë³":"ëê¸",title:e.title||e.bodyPreview,commentCount:e.replyCount}));return(0,t.jsx)(t.Fragment,{children:n&&(0,t.jsx)("section",{"aria-labelledby":"home-community-heading","data-home-community-panel":!0,className:"px-4 pb-12 md:pb-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,t.jsx)(_,{id:"home-community-heading",title:"커뮤ëí° ìµê·¼ ê¸",icon:"speechBubbles",href:"/community"}),i.length>0?(0,t.jsx)("ul",{className:"overflow-hidden rounded-xl border border-border bg-card",children:i.map(e=>{var n;return(0,t.jsx)("li",{className:"border-t border-border/70 first:border-t-0",children:(0,t.jsxs)(r.default,{href:e.href,className:"group flex min-h-14 min-w-0 items-center gap-4 px-4 py-3 transition-colors hover:bg-primary/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring md:px-5",children:[(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"line-clamp-1 block text-[15px] font-semibold leading-snug text-foreground group-hover:text-primary",children:e.title}),(0,t.jsxs)("span",{className:"mt-1 block truncate text-[13px] font-medium text-muted-foreground",children:[e.contextName," · ",e.replyLabel," ",(n=e.commentCount)>=1e4?`${(n/1e4).toFixed(1)}ë§`:n>=1e3?`${(n/1e3).toFixed(1)}ì²`:n.toLocaleString()]})]}),(0,t.jsx)(a.ChevronRight,{className:"h-5 w-5 shrink-0 text-muted-foreground/70 transition-transform group-hover:translate-x-0.5 group-hover:text-primary","aria-hidden":"true"})]})},e.id)})}):(0,t.jsxs)("div",{className:"rounded-xl border border-dashed border-border bg-card px-4 py-6",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:"ìì§ ë³´ì¬ì¤ 커뮤ëí° ê¸ì´ ììµëë¤."}),(0,t.jsxs)(r.default,{href:"/community",className:"mt-3 inline-flex min-h-11 items-center gap-1 rounded-full px-2 text-sm font-semibold text-primary transition-colors hover:bg-primary/10 hover:text-primary/85",children:["커뮤ëí° ëë¬ë³´ê¸°",(0,t.jsx)(s.ArrowRight,{className:"h-3.5 w-3.5","aria-hidden":"true"})]})]})]})})})},"HomeExploreConsole",0,function({closingSoonAnnouncements:e,acceptingAnnouncements:s,latestOpportunities:a,saleDeadlineOpportunities:l,regionSummaries:o,stats:d,saleStats:c}){let m=(0,i.useRouter)(),[g,f]=(0,n.useState)("all"),h=d.active+c.active,x=d.deadlineSoon+c.deadlineSoon,p=(0,n.useMemo)(()=>{let t;return(t=e.slice(0,3).map(e=>{let t=X(e.dDay);return{id:e.id,title:e.title,href:`/announcements/${e.id}`,badge:t.label,badgeClassName:t.className,source:e.organization,meta:[e.region,e.housingType,`${Y(e.deadline)} ë§ê°`].filter(Boolean).join(" · "),kind:"ìë",sortTime:J(e.deadline)}})).length>0?t:s.slice(0,3).map(e=>{let t=X(e.daysUntilDeadline);return{id:e.id,title:e.title,href:`/announcements/${e.id}`,badge:t.label,badgeClassName:t.className,source:e.organization,meta:[e.region,`${Y(e.endDate)}ê¹ì§ ì ì`].filter(Boolean).join(" · "),kind:"ìë",sortTime:J(e.endDate)}})},[e,s]),b=(0,n.useMemo)(()=>W(l),[l]),y=(0,n.useMemo)(()=>ee([...p,...b].sort((e,t)=>(e.sortTime??1/0)-(t.sortTime??1/0)),g).slice(0,3),[g,p,b]),v=(0,n.useMemo)(()=>W(a),[a]),j=(0,n.useMemo)(()=>ee(v,g).slice(0,5),[g,v]),N="rent"===g?{noun:"ìë ê³µê³ ",deadlineHref:"/announcements?sort=deadline",latestHref:"/announcements?sort=latest",emptyHref:"/announcements?status=accepting"}:"sale"===g?{noun:"ë¶ì ê³µê³ ",deadlineHref:"/sale-announcements?sort=deadline",latestHref:"/sale-announcements?sort=latest",emptyHref:"/sale-announcements?status=accepting"}:{noun:"ì ì²´ ê³µê³ ",deadlineHref:"/announcements?sort=deadline",latestHref:"/announcements?sort=latest",emptyHref:"/announcements?status=accepting"},w=o.length>0?o:O;return(0,t.jsxs)("section",{"aria-label":"ì²ì½ 기í íì",className:"px-4 pb-20 pt-10 md:pb-16 md:pt-14",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"공공ìë·ë¶ì ê³µê³ ë¥¼ íê³³ìì"}),(0,t.jsxs)("h1",{className:"mt-2 text-[1.625rem] font-bold leading-tight tracking-tight text-foreground md:text-[2.25rem]",children:["ë´ ì¡°ê±´ì ë§ë ì§ì",(0,t.jsx)("br",{className:"sm:hidden"})," ë 빨리 ì°¾ìë³´ì¸ì"]}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl text-sm leading-6 text-muted-foreground md:text-[15px]",children:"LH·SH·GH·IH ìëì ì²ì½í ë¶ì ê³µê³ ë¥¼ 모ì ì격조건 · ì¼ì · ìëë£ Â· ë¶ìê°ë¥¼ ë¹êµí기 ì½ê² ì 리íì´ì."}),(0,t.jsxs)("form",{action:"/announcements",method:"get",className:"mt-6 flex items-center gap-2 rounded-xl border border-input bg-card p-1.5 text-left transition-colors focus-within:border-primary/40 focu
1s-within:ring-4 focus-within:ring-primary/10",onSubmit:e=>{let t=new FormData(e.currentTarget).get("q");"string"==typeof t&&(e.preventDefault(),m.push((0,F.homeAnnouncementSearchHref)(t)))},children:[(0,t.jsx)("label",{htmlFor:"home-announcement-search",className:"sr-only",children:"ê³µê³ ê²ì"}),(0,t.jsx)("p",{id:"home-announcement-search-help",className:"sr-only",children:"ì§ì, 주í ì í, ëì, ì ì ìí를 í¨ê» ì
ë ¥í ì ììµëë¤."}),(0,t.jsx)(u.Search,{className:"ml-2.5 h-5 w-5 shrink-0 text-muted-foreground","aria-hidden":"true"}),(0,t.jsx)("input",{id:"home-announcement-search",name:"q",type:"search","aria-describedby":"home-announcement-search-help",placeholder:"ì§ì, ë¨ì§ëª
, ì íì¼ë¡ ê²ì",className:"min-h-11 min-w-0 flex-1 bg-transparent px-1 text-base font-medium text-foreground outline-none placeholder:text-muted-foreground"}),(0,t.jsx)("button",{type:"submit","aria-label":"ê²ìì´ ì ì¶",className:"inline-flex min-h-11 shrink-0 items-center justify-center rounded-lg bg-primary px-4 text-sm font-bold text-primary-foreground transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:px-5",children:"ê²ì"})]}),(0,t.jsx)("ul",{className:"-mx-4 mt-3 flex gap-2 overflow-x-auto px-4 pb-1 [scrollbar-width:none] md:mx-0 md:flex-wrap md:justify-center md:overflow-visible md:px-0 md:pb-0",children:P.EXAMPLE_QUERIES.slice(0,4).map(e=>(0,t.jsx)("li",{className:"shrink-0",children:(0,t.jsx)(r.default,{href:(0,F.homeAnnouncementSearchHref)(e),className:"inline-flex min-h-11 items-center whitespace-nowrap rounded-lg border border-border bg-card px-3 text-[13px] font-medium text-foreground transition-colors hover:border-primary/40 hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:min-h-9",children:e})},e))}),(0,t.jsxs)("p",{className:"mt-4 text-[13px] font-medium text-muted-foreground",children:["íì¬ ê³µê³ ì¤"," ",(0,t.jsx)("b",{className:"font-bold text-foreground",children:Q(h)}),x>0?(0,t.jsxs)(t.Fragment,{children:[" · ","7ì¼ ë´ ë§ê°"," ",(0,t.jsx)("b",{className:"font-bold text-foreground",children:Q(x)})]}):null]})]}),(0,t.jsx)("div",{className:"mt-10 grid gap-6 md:grid-cols-2 md:gap-8",children:q.map(e=>(0,t.jsxs)("div",{role:"group","aria-labelledby":`home-category-group-${e.kind}`,children:[(0,t.jsx)("p",{id:`home-category-group-${e.kind}`,className:"mb-2 text-[13px] font-bold text-muted-foreground",children:e.kind}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-2 md:gap-3",children:e.items.map(e=>(0,t.jsx)(en,{category:e},e.label))})]},e.kind))}),(0,t.jsxs)("section",{"aria-label":"ì§ê¸ íì¸í ê³µê³ ","data-home-opportunity-feed":!0,className:"mt-10 md:mt-12",children:[(0,t.jsx)(et,{value:g,onChange:f}),(0,t.jsxs)("div",{className:"mt-5 grid gap-6 lg:grid-cols-2 lg:gap-8",children:[(0,t.jsx)(es,{id:"deadline-list",title:"ë§ê° ìë°",href:N.deadlineHref,items:y,emptyText:`íì¬ ${N.noun} ì¤ ë§ê° ìë° ê³µê³ ê° ììµëë¤.`,emptyHref:N.emptyHref,emptyLinkLabel:`${N.noun} 보기`}),(0,t.jsx)(ea,{title:"ì ê³µê³ ",href:N.latestHref,items:j,emptyText:`íìí ${N.noun}ê° ììµëë¤.`,emptyHref:N.emptyHref,emptyLinkLabel:`${N.noun} 보기`})]})]}),(0,t.jsx)($,{}),(0,t.jsxs)("section",{"aria-label":"ì§ìë³ ê³µê³ ",className:"mt-10 md:mt-12",children:[(0,t.jsx)(_,{title:"ì§ìë³ ê³µê³ ",href:"/announcements?scope=all",linkLabel:"ì ì²´ ì§ì"}),(0,t.jsx)("div",{"data-home-region-grid":!0,className:"grid grid-cols-2 overflow-hidden rounded-xl border border-border bg-card md:grid-cols-4",children:w.map((e,n)=>(0,t.jsxs)(r.default,{href:e.href,className:`flex min-h-[54px] items-center justify-between gap-2 border-border/70 px-4 py-3 text-left transition-colors hover:bg-primary/[0.04] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring md:px-5 ${n>=2?n>=4?"border-t":"border-t md:border-t-0":""} ${n%2==1?"border-l":n%4!=0?"md:border-l":""} ${e.muted?"text-muted-foreground hover:text-primary":"text-foreground"}`,children:[(0,t.jsx)("span",{className:"min-w-0 truncate text-[15px] font-semibold",children:e.label}),e.muted?null:(0,t.jsx)("span",{className:"shrink-0 text-[13px] font-medium text-muted-foreground",children:e.count>0?Q(e.count):"ê³µê³ ë³´ê¸°"})]},e.label))})]})]}),(0,t.jsx)(el,{})]})}],227720)},385978,e=>{"use strict";
1var t=e.i(843476),n=e.i(657688),r=e.i(152236);let i={aiAnalysis:"/images/ui-icon-ai-analysis-clay.webp",calendarTicket:"/images/ui-icon-calendar-ticket-clay.webp",competitionGauge:"/images/ui-icon-competition-gauge-clay.webp",errorHouse:"/images/ui-icon-error-house-clay.webp",favoriteDocument:"/images/ui-icon-favorite-document-clay.webp",loadingHouse:"/images/ui-icon-loading-house-clay.webp",mapBuilding:"/images/ui-icon-map-building-clay.webp",notificationCalendar:"/images/ui-icon-notification-calendar-clay.webp",onboardingPath:"/images/ui-icon-onboarding-path-clay.webp",regionCompass:"/images/ui-icon-region-compass-clay.webp",saleVerified:"/images/ui-icon-sale-verified-clay.webp",searchDocument:"/images/ui-icon-search-document-clay.webp",happyHousing:"/images/ui-icon-happy-housing-clay.webp",publicSale:"/images/ui-icon-public-sale-clay.webp",nationalRental:"/images/ui-icon-national-rental-clay.webp",privateSale:"/images/ui-icon-private-sale-clay.webp",youthPurchase:"/images/ui-icon-youth-purchase-clay.webp",unrankedSale:"/images/ui-icon-unranked-sale-clay.webp",agencyRow:"/images/ui-icon-agency-row-clay.webp",folderTypes:"/images/ui-icon-folder-types-clay.webp",applicationSteps:"/images/ui-icon-application-steps-clay.webp",newlywedRings:"/images/ui-icon-newlywed-rings-clay.webp",youthSafe:"/images/ui-icon-youth-safe-clay.webp",bookmarkDocument:"/images/ui-icon-bookmark-document-clay.webp",alarmBell:"/images/ui-icon-alarm-bell-clay.webp",mobilePhone:"/images/ui-icon-mobile-phone-clay.webp",compass:"/images/ui-icon-compass-clay.webp",sparkle:"/images/ui-icon-sparkle-clay.webp",alarmClock:"/images/ui-icon-alarm-clock-clay.webp",speechBubbles:"/images/ui-icon-speech-bubbles-clay.webp"};e.s(["Jugeo3DIcon",0,function({name:e,className:s="h-16 w-16",imageClassName:a,sizes:l="64px",priority:o=!1}){return(0,t.jsx)("span",{"aria-hidden":"true",className:(0,r.cn)("relative inline-flex shrink-0 overflow-visible",s),children:(0,t.jsx)(n.default,{src:i[e],alt:"",fill:!0,sizes:l,priority:o,loading:o?void 0:"lazy",className:(0,r.cn)("object-contain",a)})})}])},718879,e=>{"use strict";var t=e.i(516350);let n="bg-muted text-muted-foreground";function r(e){return null===e?null:e<0?{label:"ë§ê°",urgency:"closed",className:n}:0===e?{label:"D-Day",urgency:"critical",className:"bg-urgency-critical-bg text-urgency-critical font-bold animate-urgency"}:e<=3?{label:`D-${e}`,urgency:"critical",className:"bg-urgency-critical-bg text-urgency-critical font-bold"}:e<=7?{label:`D-${e}`,urgency:"warning",className:"bg-urgency-warning-bg text-urgency-warning font-bold"}:{label:`D-${e}`,urgency:"normal",className:n}}e.s(["DDAY_TONE_CLASS",0,{critical:"bg-urgency-critical-bg text-urgency-critical ring-urgency-critical-border",warning:"bg-urgency-warning-bg text-urgency-warning ring-urgency-warning-border",normal:"bg-secondary text-secondary-foreground ring-border/70",closed:"bg-muted text-muted-foreground ring-border/60"},"getDDayBadge",0,function(e,n=new Date){return r((0,t.daysUntilKst)(e,n))},"getDDayBadgeFromDiff",0,r,"getOrgBadgeColor",0,function(e){switch(e.toUpperCase()){case"LH":return"bg-org-lh/10 text-org-lh font-bold";case"SH":return"bg-org-sh/10 text-org-sh font-bold";case"GH":return"bg-org-gh/10 text-org-gh font-bold";case"IH":return"bg-org-ih/10 text-org-ih font-bold";default:return"bg-muted text-muted-foreground font-bold"}}])},835244,173547,e=>{"use strict";let t=/공공ë¶ì|민ê°ë¶ì|ë¶ì주í|ì¼ë°ë¶ì|ë¶ì\s*ìíí¸|ë¶ì\s*ê´ê³ /,n=["ê°ë¨êµ¬","ê°ë구","ê°ë¶êµ¬","ê°ì구","ê´ì
구","ê´ì§êµ¬","구ë¡êµ¬","ê¸ì²êµ¬","ë
¸ì구","ëë´êµ¬","ëë문구","ëì구","ë§í¬êµ¬","ìë문구","ìì´êµ¬","ì±ë구","ì±ë¶êµ¬","ì¡í구","ìì²êµ¬","ìë±í¬êµ¬","ì©ì°êµ¬","ìí구","ì¢
ë¡êµ¬","ì¤êµ¬","ì¤ë구"],r={ìì¸:"ìì¸í¹ë³ì",ë¶ì°:"ë¶ì°ê´ìì",ë구:"ë구ê´ìì",ì¸ì²:"ì¸ì²ê´ìì",ê´ì£¼:"ê´ì£¼ê´ìì",ëì :"ëì ê´ìì",ì¸ì°:"ì¸ì°ê´ìì",ì¸ì¢
:"ì¸ì¢
í¹ë³ìì¹ì",경기:"경기ë",ê°ì:"ê°ìí¹ë³ìì¹ë",ì¶©ë¶:"ì¶©ì²ë¶ë",ì¶©ë¨:"ì¶©ì²ë¨ë",ì ë¶:"ì ë¶í¹ë³ìì¹ë",ì ë¨:"ì ë¼ë¨ë",ê²½ë¶:"ê²½ìë¶ë",ê²½ë¨:"ê²½ìë¨ë",ì 주:"ì 주í¹ë³ìì¹ë"},i=["ìíí¸","ì¤í¼ì¤í
","ë¹ë¼","주í","ì룸/í¬ë£¸","기ìì¬"],s={ì²ë
:"ì²ë
",ì í¼:"ì í¼ë¶ë¶",ì í¼ë¶ë¶:"ì í¼ë¶ë¶",ë¤ìë
:"ë¤ìë
",ê³ ë ¹ì:"ê³ ë ¹ì",ë
¸ì¸:"ê³ ë ¹ì",ì´ë¥´ì :"ê³ ë ¹ì",ì ìë:"ì ìë층",ì ìë층:"ì ìë층",무주í:"무주íì¸ë주",무주íì:"무주íì¸ë주",ì¥ì ì¸:"ì¥ì ì¸",êµê°ì ê³µì:"êµê°ì ê³µì",íë¶ëª¨:"íë¶ëª¨ê°ì "},a={ê³µê³ ì¤:"open",ê³µê³ :"open",ìì :"open",ìì ë:"open",ê³§:"open",모ì§ì¤:"accepting",ì ìì¤:"accepting",ì§íì¤:"accepting",ë§ê°:"closed",ì¢
ë£:"closed",ë§ê°ë:"closed"},l={LH:"LH",lh:"LH",SH:"SH",sh:"SH",GH:"GH",gh:"GH",IH:"IH",ih:"IH",íêµí ì§ì£¼íê³µì¬:"LH",ìì¸ì£¼íëìê³µì¬:"SH",경기주íëìê³µì¬:"GH"},o={ìíí¸:"ìíí¸",ì¤í¼ì¤í
:"ì¤í¼ì¤í
",ë¹ë¼:"ë¹ë¼",주í:"주í",ì룸:"ì룸/í¬ë£¸",í¬ë£¸:"ì룸/í¬ë£¸",ì룸í¬ë£¸:"ì룸/í¬ë£¸",기ìì¬:"기ìì¬",í복주í:"í복주í",êµë¯¼ìë:"êµë¯¼ìë",공공ìë:"공공ìë",ì구ìë:"ì구ìë",매ì
1
ìë:"매ì
ìë",ì ì¸ìë:"ì ì¸ìë",공공ë¶ì:"공공ë¶ì"};function d(e){let t=e.match(/(\d+(?:\.\d+)?)\s*ìµ\s*(?:(\d+(?:\.\d+)?)\s*ì²)?\s*(?:ë§)?\s*ì?|(\d+(?:\.\d+)?)\s*ì²\s*(?:ë§)?\s*ì?|(\d+(?:\.\d+)?)\s*ë§\s*ì?|(\d+(?:\.\d+)?)\s*ì/);if(!t)return null;if(t[1]){let e=1e4*parseFloat(t[1]);return t[2]&&(e+=1e3*parseFloat(t[2])),e}return t[3]?1e3*parseFloat(t[3]):t[4]?parseFloat(t[4]):t[5]?parseFloat(t[5])/1e4:null}function c(e){let t=e.trim(),c={regions:[],housingTypes:[],targetGroups:[],maxDeposit:null,maxMonthlyRent:null,status:null,sourceSite:null};if(!t)return{structuredFilters:c,remainingQuery:"",hasStructuredFilters:!1};for(let e of[/ë³´ì¦ê¸\s*(\d+(?:\.\d+)?\s*(?:ìµ(?:\s*\d+(?:\.\d+)?\s*ì²)?|ì²|ë§)\s*(?:ë§)?\s*ì?)\s*(?:ì´í|ì´ë´|미ë§|ê¹ì§)?/,/ë³´ì¦ê¸\s*(\d+)\s*(?:ì´í|ì´ë´|미ë§|ê¹ì§)?/]){let n=t.match(e);if(n){let e=d(n[1]);null!==e&&(c.maxDeposit=e,t=t.replace(n[0]," "))}}for(let e of[/ìì¸\s*(\d+(?:\.\d+)?\s*(?:ìµ(?:\s*\d+(?:\.\d+)?\s*ì²)?|ì²|ë§)\s*(?:ë§)?\s*ì?)\s*(?:ì´í|ì´ë´|미ë§|ê¹ì§)?/,/ìì¸\s*(\d+)\s*(?:ë§\s*ì?)?\s*(?:ì´í|ì´ë´|미ë§|ê¹ì§)?/]){let n=t.match(e);if(n){let e=d(n[1]);null!==e&&(c.maxMonthlyRent=e,t=t.replace(n[0]," "))}}for(let[e,n]of Object.entries(l)){let r=RegExp(`\\b${u(e)}\\b`,"gi");if(r.test(t)){c.sourceSite=n,t=t.replace(r," ");break}}for(let[e,n]of Object.entries(a))if(t.includes(e)){c.status=n,t=t.replace(e," ");break}for(let e of n)t.includes(e)&&(c.regions.push(e),t=t.replace(e," "));for(let[e,n]of Object.entries(r))t.includes(e)&&(c.regions.some(t=>t===n||t===e)||c.regions.push(e),t=t.replace(RegExp(u(e),"g")," "));for(let[e,n]of Object.entries(o))t.includes(e)&&(c.housingTypes.includes(n)||c.housingTypes.push(n),t=t.replace(RegExp(u(e),"g")," "));for(let e of i)t.includes(e)&&!c.housingTypes.includes(e)&&(c.housingTypes.push(e),t=t.replace(RegExp(u(e),"g")," "));for(let[e,n]of Object.entries(s))t.includes(e)&&(c.targetGroups.includes(n)||c.targetGroups.push(n),t=t.replace(RegExp(u(e),"g")," "));t=t.replace(/\s+/g," ").trim();let m=c.regions.length>0||c.housingTypes.length>0||c.targetGroups.length>0||null!==c.maxDeposit||null!==c.maxMonthlyRent||null!==c.status||null!==c.sourceSite;return{structuredFilters:c,remainingQuery:t,hasStructuredFilters:m}}function u(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){if(null===e||!Number.isFinite(e))return;let t=Math.round(e);return t>0?t:void 0}function g(e){let{structuredFilters:t,remainingQuery:n}=c(e.trim()),i=t.regions.filter(e=>e in r);return{q:Array.from(new Set([n,...t.regions.filter(e=>!(e in r)),...t.housingTypes.filter(e=>!e.includes("/")),...t.targetGroups,...t.sourceSite?[t.sourceSite]:[]].flatMap(e=>e.split(/\s+/)).filter(Boolean))).join(" "),region:i[0],status:t.status??void 0,deposit:m(t.maxDeposit),rent:m(t.maxMonthlyRent)}}function f(e){return t.test(e)}function h(e){let{q:t,region:n,status:r}=g(e),i=new URLSearchParams;t&&i.set("q",t),n&&i.set("region",n),r&&"open"!==r&&i.set("status",r);let s=i.toString();return s?`/sale-announcements?${s}`:"/sale-announcements"}e.s(["EXAMPLE_QUERIES",0,["ìì¸ ì²ë
í복주í","ë³´ì¦ê¸ 3ì²ë§ì ì´í ì í¼ë¶ë¶","경기 공공ìë ì ìì¤","ì¸ì² ì¤í¼ì¤í
ìì¸ 50ë§ì","LH êµë¯¼ìë ì²ë
","ê°ë¨êµ¬ 공공ë¶ì"],"REGION_SHORT_MAP",0,r,"parseSearchQuery",0,c],173547),e.s(["homeAnnouncementSearchHref",0,function(e){return f(e)?h(e):function(e){let{q:t,region:n,status:r,deposit:i,rent:s}=g(e),a=new URLSearchParams;t&&a.set("q",t),n&&a.set("region",n),r&&a.set("status",r),i&&a.set("deposit",String(i)),s&&a.set("rent",String(s));let l=a.toString();return l?`/announcements?${l}`:"/announcements"}(e)},"isSaleQuery",0,f,"saleAnnouncementListHref",0,h,"toAnnouncementListQuery",0,g],835244)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],972520)},643531,e=>{"use strict";let t=(0,e.i(475254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],643531)},463059,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],463059)},790597,e=>{"use strict";let t=(0,e.i(475254).default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);e.s(["Heart",0,t],790597)},403014,e=>{"use strict";let t=(0,e.i(475254).default)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);e.s(["default",0,t])},346897,e=>{"use strict";let t=(0,e.i(475254).default)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],346897)},555436,e=>{"use strict";let t=(0,e.i(475254).default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["Search",0,t],555436)},239616,e=>{"use strict";let t=(0,e.i(475254).default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,t],239616)},95187,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return s.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(132120),a=e.r(92245),l=e.r(235326)},794909,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return d}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(555682),a=e.r(908927),l=e.r(605500),o=s._(e.r(1948));function d(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[384,640,768,1024,1200],imageSizes:[16,24,32,40,48,56,64,96,128,256,320],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=l.Image},657688,(e,t,n)=>{t.exports=e.r(794909)},516350,e=>{"use strict";let t=/^\d{4}-\d{2}-\d{2}$/;function n(e){let t=Date.parse(e);return Number.isFinite(t)?new Date(t):null}function r(e){return e?t.test(e)?n(`${e}T23:59:59.999+09:00`):n(e):null}function i(e){return Math.floor((e.getTime()+324e5)/864e5)}function s(e,t){return i(t)-i(e)}function a(e=new Date){return new Date(e.getTime()+324e5).toISOString().slice(0,10)}function l(e){let t=new Date(e.getTime()+324e5);return{hour:t.getUTCHours(),minute:t.getUTCMinutes()}}e.s(["daysUntilKst",0,function(e,t=new Date){if(!e)return null;let n=r(e.includes("T")?e:e.replace(/\./g,"-"));return n?s(t,n):null},"differenceInKoreanCalendarDays",0,s,"koreaClockParts",0,l,"koreaClockString",0,function(e){let{hour:t,minute:n}=l(e);return`${t<12?"ì¤ì ":"ì¤í"} ${t%12||12}:${String(n).padStart(2,"0")}`},"koreaDateString",0,a,"koreaMonthDayString",0,function(e){let[,t,n]=a(e).split("-");return`${Number(t)}ì ${Number(n)}ì¼`},"parseKstDayEnd",0,r,"parseKstDayStart",0,function(e){return e?t.test(e)?n(`${e}T00:00:00.000+09:00`):n(e):null}])},988204,e=>{"use strict";function t(e){if(!e)return 0;let t=new Date(e).getTime();return Number.isNaN(t)?0:t}let n={rental:"공공ìë",sale:"ë¶ì"},r={open:"ì ìì¤",soon:"ë§ê°ìë°",closed:"ë§ê°"},i=new Intl.DateTimeFormat("ko-KR",{month:"long",day:"numeric",weekday:"short",timeZone:"Asia/Seoul"});e.s(["SAVED_DOMAIN_LABEL",0,n,"SAVED_SORT_OPTIONS",0,[{value:"deadline",label:"ë§ê° ìë°ì"},{value:"saved",label:"ì ì¥í ì"},{value:"viewed",label:"ìµê·¼ 본 ì"}],"SAVED_STATUS_LABEL",0,r,"filterSavedAnnouncements",0,function(e,t){let n=t.query?.trim().toLowerCase()??"";return e.filter(e=>{var r;return("all"===t.domain||e.domain===t.domain)&&("open"!==t.status||"closed"!==e.status)&&("soon"!==t.status||"soon"===e.status)&&("closed"!==t.status||"closed"===e.status)&&(!n||!![(r=e).title,r.agency,...r.regions].join(" ").toLowerCase().includes(n))})},"formatDeadline",0,function(e){if(!e)return null;let t=new Date(e.includes("T")?e:e.replace(/\./g,"-"));return Number.isNaN(t.getTime())?null:i.format(t)},"savedActiveFilterLabels",0,function(e){let t=e.query.trim();return[t?`"${t}" ê²ì`:null,"all"!==e.status?r[e.status]:null,"all"!==e.domain?n[e.domain]:null].filter(e=>null!==e)},"savedAnnouncementTarget",0,function(e){return{type:"sale"===e.domain?"sale_announcement":"announcement",id:e.id}},"savedFilteredEmptyDescription",0,function(e){if(0!==e.length)return`${e.join(" + ")} ì¡°ê±´ì í¨ê» 걸면 ê²°ê³¼ê° ìì´ì.`},"sortSavedAnnouncements",0,function(e,n){let r=[...e];return"viewed"===n?r.sort((e,n)=>{let r,i;return r=t(e.viewedAt),(r!==(i=t(n.viewedAt))?i-r:t(n.savedAt)-t(e.savedAt))||e.key.localeCompare(n.key)}):"saved"===n?r.sort((e,n)=>t(n.savedAt)-t(e.savedAt)||e.key.localeCompare(n.key)):r.sort((e,n)=>(function(e,n){let r=Number("closed"===e.status)-Number("closed"===n.status);if(0!==r)return r;if("closed"===e.status){let t=Number(n.applied)-Number(e.applied);return 0!==t?t:(n.daysLeft??-1/0)-(e.daysLeft??-1/0)}let i=e.daysLeft??1/0,s=n.daysLeft??1/0;return i!==s?i-s:t(n.savedAt)-t(e.savedAt)})(e,n)||e.key.localeCompare(n.key))},"summarizeSavedAnnouncements",0,function(e,t="all"){let n="all"===t?e:e.filter(e=>e.domain===t);return{total:e.length,rental:e.filter(e=>"rental"===e.domain).length,sale:e.filter(e=>"sale"===e.domain).length,scopedTotal:n.length,open:n.filter(e=>
1"closed"!==e.status).length,soon:n.filter(e=>"soon"===e.status).length,closed:n.filter(e=>"closed"===e.status).length}}])}]);
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.