o.confirmed&&c.includes(o.channel))}function Ze(i){const c=new Map(Dh.map((o,u)=>[o,u]));return Np(i,Dh).filter(o=>!Z0(o.url)).sort((o,u)=>(c.get(o.channel)??99)-(c.get(u.channel)??99))}function Z0(i){return/\/p\/search\/|[?&]query=/.test(i)}const K0=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function J0(i){return eu(i.units).map(c=>{const o=At(c.facts,"standard_capacity"),u=At(c.facts,"max_capacity"),f=yp(c);return{unitId:c.unitId,name:c.name,capacityText:[o&&`기준 ${o}`,u&&`최대 ${u}`].filter(Boolean).join(" · ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var g;const h=At(c.facts,d),p=((g=c.facts.find(x=>x.key===d))==null?void 0:g.label)??d;return h?{label:p,value:h}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}원`:void 0,href:"#units"}})}function W0(i){if(i.place.category!==Ma.LODGING)return null;const c={offers:J0(i).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:zn(i,K0),links:Ze(i),contacts:wn(i).filter(u=>!Ze(i).some(f=>f.url===u.url)),phone:i.place.phone};return c.offers.length===0&&c.notices.length===0&&c.links.length===0&&c.contacts.length===0&&!c.phone?null:c}function F0(i,c){return i.theme.sections.some(o=>o.id===c)}function wn(i){return Np(i,V0)}function ht(i,c){const o=ks(i),u=o.endsWith("예약")?o:`${o} 예약`;return c?`${c} ${u}`:u}function Sp(i){return i.channel===bt.NAVER_BOOKING?"네이버 예약으로 바로 예약하기":`${ml(i)}에서 예약`}function I0(){var u;const i=le(),c=ft(i),o=[{label:"소개",href:"#about",show:Kt(i,"intro")},{label:c.label,href:"#units",show:i.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"축제",href:"#festival",show:(((u=i.local.festivals)==null?void 0:u.length)??0)>0},{label:"주변 정보",href:"#guide",show:Kt(i,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:i.faqs.length>0}].filter(f=>f.show);return n.jsx("header",{className:"border-line safe-t sticky top-0 z-40 w-full border-b backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 88%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsxs("a",{href:"#top",className:"flex min-w-0 items-center gap-2.5",children:[n.jsx("span",{className:"serif flex size-8 shrink-0 items-center justify-center rounded-md text-[length:var(--fs-sm)]",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",fontWeight:"var(--tpl-heading-weight, 700)"},"aria-hidden":!0,children:i.place.name.slice(0,1)}),n.jsxs("span",{className:"flex min-w-0 flex-col",children:[n.jsx("span",{className:"serif truncate text-[length:var(--fs-lead)] leading-tight",style:{fontWeight:"var(--tpl-heading-weight, 700)"},children:i.place.name}),i.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[10px] uppercase leading-tight tracking-[0.14em]",children:i.place.englishName})]})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-7 lg:flex",children:o.map(f=>n.jsx("a",{href:f.href,className:"text-muted py-1 text-[length:var(--fs-sm)] font-medium transition-colors hover:text-current",children:f.label},f.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[n.jsx(u0,{}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap inline-flex items-center gap-1.5 rounded-lg px-3 text-[length:var(--fs-xs)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:i.place.phone}),n.jsx("span",{className:"sr-only sm:hidden",children:"전화"})]}),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-lg marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(hp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line tpl-border absolute right-0 top-[calc(100%+0.5rem)] z-50 w-52 overflow-hidden rounded-xl border shadow-lg",style:{backgroundColor:"var(--tpl-surface, #fff)"},children:n.jsx("ul",{className:"divide-line divide-y",children:o.map(f=>n.jsx("li",{children:n.jsx("a",{href:f.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-medium",children:f.label})},f.label))})})]})]})]})})}function mc(i){return i.media.find(c=>{var o;return c.isPrimary&&((o=c.alt)==null?void 0:o.trim())})??i.media.find(c=>{var o;return(o=c.alt)==null?void 0:o.trim()})}function P0(i){return ev(i).join(" ")}function ev(i){const{place:c,facts:o}=i,u=[],f=c.addressLocality??c.addressRegion??c.roadAddress??c.address;u.push(f?`${f}에 있는 ${c.name}입니다.`:`${c.name}입니다.`);const d=ca(o,"check_in_time"),h=ca(o,"check_out_time");d&&h&&u.push(`체크인 ${d}, 체크아웃 ${h}.`);const p=ca(o,"business_hours")??ca(o,"open_hours");p&&u.push(`영업시간 ${p}.`);const g=ca(o,"pet_allowed");if(g==="false"&&u.push("반려동물 동반 불가."),g==="true"&&u.push("반려동물 동반 가능."),ca(o,"parking")==="true"){const v=ca(o,"parking_capacity");u.push(v?`주차 ${v}대 가능.`:"주차 가능.")}return c.phone&&u.push(`문의 ${c.phone}.`),u}const tv=6e3,lv=5;function av(){const i=le(),{place:c,narrative:o}=i,u=Oa(i),f=En(i),d=Ze(i),h=c.addressLocality??c.addressRegion,p=[...i.media].filter(N=>{var A;return(A=N.alt)==null?void 0:A.trim()}).sort((N,A)=>Number(A.isPrimary)-Number(N.isPrimary)).slice(0,lv),[g,x]=q.useState(0),[v,y]=q.useState(!1),z=q.useRef(null),w=q.useCallback(N=>x(A=>(A+N+p.length)%p.length),[p.length]);return q.useEffect(()=>{if(v||p.length<2)return;const N=setInterval(()=>w(1),tv);return()=>clearInterval(N)},[v,w,p.length]),n.jsxs("section",{id:"top",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"clamp(24rem, 76vh, 42rem)"},onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onFocusCapture:()=>y(!0),onBlurCapture:()=>y(!1),onTouchStart:N=>{z.current=N.touches[0].clientX},onTouchEnd:N=>{const A=z.current;if(z.current=null,A===null)return;const D=N.changedTouches[0].clientX-A;Math.abs(D)>40&&w(D<0?1:-1)},children:[p.map((N,A)=>n.jsx("img",{src:N.url,alt:N.alt,fetchPriority:A===0?"high":"low",loading:A===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:A===g?1:0}},N.mediaId)),n.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 45%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 60%, transparent) 100%)"}}),n.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center px-6 text-center",children:[h&&n.jsx("p",{className:"label opacity-85",children:h}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:c.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-90",children:o.tagline??o.heroSubline})]}),p.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(Rh,{dir:"prev",onClick:()=>w(-1)}),n.jsx(Rh,{dir:"next",onClick:()=>w(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:p.map((N,A)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>x(A),"aria-label":`${A+1}번째 사진`,"aria-current":A===g,className:`h-1.5 rounded-full bg-current transition-all ${A===g?"w-7 opacity-90":"w-1.5 opacity-45 hover:opacity-70"}`})},N.mediaId))})]})]}),(f||u.length>0||d.length>0||c.phone)&&n.jsx("div",{className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsxs("div",{className:"shell flex flex-col items-center gap-4 py-4 lg:flex-row lg:justify-between lg:gap-8",children:[n.jsxs("dl",{className:"divide-line flex flex-wrap justify-center gap-y-2 sm:divide-x",children:[f&&n.jsxs("div",{className:"px-5 text-center sm:first:pl-0",children:[n.jsx("dt",{className:"label",children:"1박 최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:f})]}),u.map(N=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:N.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:N.value})]},N.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[c.phone&&n.jsxs("a",{href:`tel:${c.phone}`,className:"tap border-line tpl-border inline-flex items-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:c.phone})]}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])})]})]})})]})}function Rh({dir:i,onClick:c}){const o=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,"aria-label":i==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 hidden -translate-y-1/2 items-center justify-center rounded-full bg-current/15 px-3 backdrop-blur-sm transition-colors hover:bg-current/25 sm:inline-flex ${i==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function nv(){const i=le(),{place:c,narrative:o}=i,u=Oa(i).slice(0,3),f=En(i),d=Ze(i),h=L0(i,"extra_person_fee"),p=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary))[0],g=c.addressLocality??c.addressRegion;return n.jsx("section",{id:"top",className:"border-line w-full border-b",children:n.jsxs("div",{className:"grid lg:grid-cols-2",children:[n.jsx("div",{className:"relative order-1 min-h-[16rem] lg:order-none lg:min-h-[34rem]",children:p&&n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:"high",decoding:"async",className:"absolute inset-0 size-full object-cover"})}),n.jsxs("div",{className:"order-2 flex flex-col justify-center gap-6 px-6 py-10 sm:px-10 lg:order-none lg:px-14 lg:py-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:[n.jsxs("div",{children:[g&&n.jsx("p",{className:"label",children:g}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:c.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-80",children:o.tagline??o.heroSubline??o.summary})]}),n.jsxs("div",{className:"panel p-5 sm:p-6",children:[f&&n.jsxs("p",{className:"flex items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-h3)] font-bold tabular-nums",children:f}),n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)]",children:"1박 기준"})]}),u.length>0&&n.jsxs("dl",{className:"divide-line mt-4 divide-y border-t pt-1",children:[u.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:x.label}),n.jsx("dd",{className:"font-semibold",children:x.value})]},x.label)),h&&n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:h.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:h.value})]})]}),n.jsxs("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row",children:[d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])}),c.phone&&n.jsxs("a",{href:`tel:${c.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:c.phone})]})]})]})]})]})})}const sv={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function zp(i){return sv[i??""]??"default"}function hc(){return zp(le().theme.templateId)}const rc=5,Xo=1.8,iv=3;function cv(i){const c=i*rc,o=f=>`${(f/c*100).toFixed(3)}%`;return`${i<2?"":`
-.stay2-hero-slide { animation: stay2-hero-fade ${c}s ease-in-out infinite; }
-@keyframes stay2-hero-fade {
- 0% { opacity: 1; }
- ${o(rc)} { opacity: 1; }
- ${o(rc+Xo)} { opacity: 0; }
- ${o(c-Xo)} { opacity: 0; }
- 100% { opacity: 1; }
-}`}
-.stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
-@keyframes stay2-hero-focus {
- 0% { opacity: 0; filter: blur(0.22em); }
- 40% { opacity: 1; }
- 100% { opacity: 1; filter: blur(0); }
-}
-@media (prefers-reduced-motion: reduce) {
- .stay2-hero-slide, .stay2-hero-focus { animation: none; }
-}
-`}function rv(i,c){return((c-i)%c*rc+Xo).toFixed(1)}function ov(){const i=le(),{place:c,narrative:o}=i,u=ft(i),f=Ze(i)[0],d=o.tagline??o.heroSubline,h=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary)),p=h.length<2?0:Math.min(h.length,iv),g=f?{href:f.url,label:`${ks(f)}에서 예약`,external:!0}:c.phone?{href:`tel:${c.phone}`,label:`${c.phone} 예약 문의`,external:!1}:i.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return n.jsxs("section",{id:"top",className:"w-full",children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:cv(p)}}),n.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[h.map((x,v)=>n.jsx("img",{src:x.url,alt:x.alt,fetchPriority:v===0?"high":v0?h:dc(i).slice(0,4),g=(u==null?void 0:u.caption)??c.name;return n.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[n.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:c.name}),o.heroHeadline&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o.heroHeadline}),u&&n.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:g})]}),(f||p.length>0)&&n.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:"최저가"}),n.jsx("dd",{children:f})]}),p.map(x=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:x.label}),n.jsx("dd",{children:x.value})]},x.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(x=>n.jsx("li",{children:n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(x)})},x.url))})]})}function fv(){const i=le(),c=lu(i),o=mc(i),u=o&&c.some(f=>f.mediaId===o.mediaId)?[o,...c.filter(f=>f.mediaId!==o.mediaId)]:c;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${i.place.name} 사진`,className:"w-full",children:n.jsx("div",{className:"columns-1 gap-2 sm:columns-2",children:u.map((f,d)=>n.jsx("figure",{className:"mb-2 break-inside-avoid",children:n.jsx("img",{src:f.url,alt:f.alt,loading:d===0?"eager":"lazy",fetchPriority:d===0?"high":void 0,decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})})}function dv(){const i=le(),{place:c,narrative:o}=i,u=Oa(i),f=En(i),d=Ze(i),h=o.tagline??o.summary,p=c.addressLocality??c.addressRegion,g=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary)).slice(0,3);return n.jsxs("section",{id:"top","data-pastel":"own",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--pastel-1)"},children:[n.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",children:[n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(12rem, 26vw, 22rem)",aspectRatio:"1",backgroundColor:"var(--pastel-2)",right:"-6%",top:"-6%",opacity:.75}}),n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(8rem, 18vw, 15rem)",aspectRatio:"1",backgroundColor:"var(--pastel-3)",left:"46%",bottom:"-10%",opacity:.7}})]}),n.jsxs("div",{className:"shell relative grid items-center gap-8 lg:grid-cols-2 lg:gap-14",style:{paddingBlock:"var(--section-space)"},children:[n.jsxs("div",{className:"order-2 lg:order-1",children:[p&&n.jsx("p",{className:"inline-flex items-center rounded-full px-3 py-1 text-[length:var(--fs-xs)] font-extrabold",style:{backgroundColor:"var(--tpl-bg, #fff)",color:"var(--pastel-ink)"},children:p}),n.jsx("h1",{className:"mt-4 break-keep",style:{fontSize:"var(--fs-display)",fontWeight:800,lineHeight:1.2,letterSpacing:"var(--tpl-heading-tracking, -0.03em)"},children:c.name}),h&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed opacity-80",children:h}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-7 inline-flex items-center justify-center rounded-full px-8 text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[g[0]&&n.jsx("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"1 / 1",borderRadius:"calc(var(--tpl-radius, 24px) * 1.6)",boxShadow:"0 0 0 clamp(6px, 1.4vw, 12px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:g[0].url,alt:g[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),g.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:g.slice(1).map(x=>n.jsx("li",{className:"relative overflow-hidden",style:{aspectRatio:"4 / 3",borderRadius:"var(--tpl-radius, 24px)",boxShadow:"0 0 0 clamp(4px, 1vw, 8px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},x.mediaId))})]})]})]}),(f||u.length>0)&&n.jsx("div",{className:"w-full",style:{backgroundColor:"var(--pastel-2)"},children:n.jsxs("dl",{className:"shell flex flex-wrap items-center justify-center gap-x-12 gap-y-5 py-8 text-center",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:"최저가"}),n.jsx("dd",{className:"mt-1 font-extrabold tabular-nums",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:f})]}),u.map(x=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:x.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:x.value})]},x.label))]})})]})}const Os="repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 3%, transparent) 0 1px, transparent 1px 6px),repeating-linear-gradient(0deg, color-mix(in oklab, currentColor 2%, transparent) 0 1px, transparent 1px 6px)",mv={intro:"about",info:"info",rooms:"units",menu:"units",programs:"units",pricing:"pricing",booking:"booking",space:"space",inquiry:"inquiry",exhibition:"exhibition",photos:"gallery",local:"guide",weather:"weather",map:"location",faq:"faq",songs:"songs",daily:"daily",chronicle:"chronicle",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},hv={about:"소개",info:"이용 정보",pricing:"요금",booking:"예약 안내",space:"공간",inquiry:"문의",exhibition:"관람 안내",gallery:"사진",guide:"주변",weather:"날씨",location:"오시는 길",faq:"자주 묻는 질문",songs:"노래",daily:"일력",chronicle:"연표",people:"인물",quiz:"퀴즈",postcard:"엽서",video:"영상",itinerary:"일정"};function Uh(i){return String(i).padStart(2,"0")}function Ep(){var f;const i=le(),c=ft(i),o=new Set,u=[];for(const d of U0(i)){const h=mv[d.id];if(!h||o.has(h)||h==="units"&&i.units.length===0)continue;o.add(h);const p=(f=d.name)==null?void 0:f.trim();u.push({no:Uh(u.length+1),label:p||hv[h]||c.label,anchor:h})}return o.has("location")||u.push({no:Uh(u.length+1),label:"오시는 길",anchor:"location"}),u}function au({id:i,title:c,lead:o,aside:u}){var d;const f=(d=Ep().find(h=>h.anchor===i))==null?void 0:d.no;return n.jsxs("header",{className:"mb-7 sm:mb-10",children:[n.jsx("div",{"aria-hidden":!0,className:"mb-5 h-0.5 w-full bg-current opacity-75"}),n.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-10",children:[n.jsxs("div",{className:"relative min-w-0 flex-1",children:[f&&n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 select-none leading-none tabular-nums",style:{fontSize:"clamp(2.5rem, 7vw, 5rem)",fontWeight:800,opacity:.12},children:f}),n.jsx("h2",{id:`${i}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:c}),o&&n.jsx("p",{className:"text-muted measure relative mt-2 pl-9 font-serif text-[length:var(--fs-sm)] leading-relaxed sm:pl-14 xl:pl-20",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})]})}function pv(){const i=le(),{place:c,narrative:o}=i,u=mc(i),f=ft(i),d=fl(i),h=Oa(i),p=En(i),g=Ze(i)[0],x=wn(i)[0],v=o.tagline??o.heroSubline,z=[c.addressSubLocality??c.addressLocality??c.addressRegion,d.length>0?`${f.label} ${d.length}개`:void 0,p].filter(w=>!!w);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Os},children:n.jsxs("div",{className:"grid grid-cols-12",children:[u&&n.jsx("div",{className:"relative col-span-12 xl:col-span-8 xl:col-start-5 xl:row-start-1",style:{minHeight:"clamp(15rem, 52vh, 34rem)",backgroundColor:"var(--tpl-inverse)"},children:n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"absolute inset-0 size-full object-cover"})}),n.jsx("div",{className:"z-10 col-span-12 xl:col-start-1 xl:row-start-1 xl:mb-12 xl:mr-16 xl:self-end",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse) 88%, transparent)",color:"var(--tpl-bg)"},children:n.jsx("h1",{className:"serif px-4 py-5 sm:px-6 xl:py-8 xl:pl-10 xl:pr-16",style:{fontSize:"clamp(2.25rem, 7.5vw, 5.5rem)",fontWeight:800,lineHeight:.98,letterSpacing:"-0.035em"},children:c.name})}),n.jsxs("div",{className:"col-span-12 flex flex-col gap-5 px-4 py-8 sm:px-6 xl:col-span-4 xl:col-start-1 xl:row-start-1 xl:py-12 xl:pb-56 xl:pl-10 xl:pr-8",children:[v&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:v}),z.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:z.join(" · ")}),(g||c.phone||x)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:ht(g)}),c.phone&&n.jsx("a",{href:`tel:${c.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:c.phone}),x&&n.jsxs("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[ml(x)," 문의"]})]}),h.length>0&&n.jsx("dl",{className:"mt-1",children:h.map(w=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-4 border-t py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:w.label}),n.jsx("dd",{className:"text-right font-semibold",children:w.value})]},w.label))})]})]})})}function xv(){var g;const i=le(),c=hc();if(c==="reservation")return n.jsx(ov,{});if(c==="oasi")return n.jsx(uv,{});if(c==="studio")return n.jsx(fv,{});if(c==="pastel")return n.jsx(dv,{});if(c==="editorial")return n.jsx(pv,{});const o=(g=i.theme.sections.find(x=>x.id==="hero"))==null?void 0:g.variantId;if(o==="hero.slideshow")return n.jsx(av,{});if(o==="hero.split")return n.jsx(nv,{});const{place:u,narrative:f}=i,d=mc(i),h=ft(i);Ze(i);const p=u.addressLocality??u.addressRegion;return n.jsx("section",{id:"top",className:"w-full",children:n.jsxs("div",{className:"relative flex w-full items-end overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",minHeight:"clamp(24rem, 62vh, 36rem)"},children:[d&&n.jsxs("div",{className:"absolute inset-0 z-0",children:[n.jsx("img",{src:d.url,alt:d.alt,fetchPriority:"high",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover object-center"}),n.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, color-mix(in srgb, var(--tpl-inverse, #1c1917) 88%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 45%, transparent) 34%, transparent 66%)"}})]}),n.jsxs("div",{className:"shell relative z-10 pb-10 pt-24 sm:pb-12",children:[p&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] opacity-80",children:[n.jsx(Ls,{className:"size-3.5"}),n.jsx("span",{children:p})]}),n.jsx("h1",{className:"serif",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:u.name}),(f.tagline??f.heroSubline??f.summary)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-85",children:f.tagline??f.heroSubline??f.summary}),i.units.length>0&&n.jsxs("a",{href:"#units",className:"mt-6 inline-flex items-center gap-1 text-[length:var(--fs-sm)] font-medium underline-offset-4 opacity-80 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[h.label," 보기"]}),n.jsx(fc,{className:"size-4"})]})]})]})})}function nu(i){if(!i)return"";const c=new Date(i);return Number.isNaN(c.getTime())?"":`${c.getFullYear()}년 ${c.getMonth()+1}월 ${c.getDate()}일`}function qs(i){if(!i)return"";const c=new Date(i);return Number.isNaN(c.getTime())?"":c.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function Vo(i){return`https://search.naver.com/search.naver?query=${encodeURIComponent(i)}`}function gv(i){return`https://www.youtube.com/results?search_query=${encodeURIComponent(i)}`}function su(i){return i.replace(/,/g," ").replace(/\s+/g," ").trim()}function bv(i,c,o){return c==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(i)}`:`https://map.kakao.com/link/to/${encodeURIComponent(su(i))},${c},${o}`}function vv(i,c){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(su(u.name))}`;return`https://map.naver.com/p/directions/${o(i)}/${o(c)}/-/car`}function wp(i,c,o){return c==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(i)}`:`https://map.naver.com/p/directions/-/${o},${c},${encodeURIComponent(su(i))}/-/transit`}function yv(i,c,o=16/9,u=.0022){const f=Math.max(Math.cos(i*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[c-d,i-u,c+d,i+u].map(p=>p.toFixed(6)).join(",")}&layer=mapnik&marker=${i},${c}`}function jv(i,c,o){if(c==null||o==null)return;const u=encodeURIComponent(i);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${c}&rGoName=${u}&rGoX=${o}&rGoY=${c}`}function Hh(){const i=le(),c=dc(i).slice(0,6),o=i.narrative.summary??P0(i);return c.length===0&&!o?null:n.jsx("section",{id:"summary","aria-labelledby":"summary-heading",className:"border-line w-full border-b py-10 sm:py-14",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsx("div",{className:"shell",children:n.jsxs("div",{className:"grid gap-8 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h2",{id:"summary-heading",className:"h3",children:"예약 전 확인"}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed",children:o}),n.jsxs("p",{className:"text-muted mt-3 text-[length:var(--fs-xs)]",children:[nu(i.site.updatedAt)," 기준, 사업자가 확인한 정보입니다."]})]}),c.length>0&&n.jsx("dl",{className:"grid grid-cols-1 gap-x-10 lg:col-span-7 xl:grid-cols-2",children:c.map(u=>n.jsxs("div",{className:"border-line flex flex-col gap-0.5 py-2.5 sm:flex-row sm:gap-4 sm:border-b",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] sm:w-28",children:u.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:u.value})]},u.label))})]})})})}function iu({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-10 flex flex-col items-center gap-4 text-center sm:mb-14",children:[n.jsx("h2",{id:`${i}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:c}),n.jsx("i",{"aria-hidden":!0,className:"block h-px w-10 bg-current opacity-25"}),o&&n.jsx("p",{className:"text-muted measure text-[length:var(--fs-sm)] leading-loose",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-xs)]",children:u})]})}function cu({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-8",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${i}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",c,"]"]}),o&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})}function ru({id:i,title:c,lead:o,aside:u}){return n.jsx("header",{className:"mb-7 sm:mb-10",children:n.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-10",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:`${i}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:c}),o&&n.jsx("p",{className:"text-muted measure mt-2 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})})}function ou({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col items-center gap-3 text-center sm:mb-10",children:[n.jsx("i",{"aria-hidden":!0,className:"block h-[6px] w-10 rounded-full",style:{backgroundColor:"var(--pastel-2, currentColor)",opacity:.9}}),n.jsx("h2",{id:`${i}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:c}),o&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-65",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-sm)]",children:u})]})}const Nv={base:{backgroundColor:"var(--tpl-surface, #ffffff)"},alt:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},dark:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"}};function vt({id:i,title:c,lead:o,tone:u="base",aside:f,footnote:d,children:h,wide:p,bare:g}){const x=hc(),v=x==="reservation"?iu:x==="oasi"?cu:x==="studio"?ru:x==="pastel"?ou:x==="editorial"?au:Sv;return n.jsx("section",{id:i,"aria-labelledby":`${i}-heading`,className:"border-line paper w-full border-b",style:{...Nv[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:p?"w-full":"shell",children:[!g&&n.jsx("div",{className:p?"shell":void 0,children:n.jsx(v,{id:i,title:c,lead:o,aside:f})}),h,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${p?"shell":""}`,children:d})]})})}function Sv({id:i,title:c,lead:o,aside:u}){return n.jsx("header",{className:"mb-6 sm:mb-8",children:n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between sm:gap-6",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${i}-heading`,className:"h2 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:c})]}),o&&n.jsx("p",{className:"text-muted measure mt-2 pl-[calc(3px+0.625rem)] text-[length:var(--fs-sm)]",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})})}function zv(i){return Object.prototype.toString.call(i)==="[object Object]"}function Lh(i){return zv(i)||Array.isArray(i)}function Ev(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function uu(i,c){const o=Object.keys(i),u=Object.keys(c);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(i.breakpoints||{})),d=JSON.stringify(Object.keys(c.breakpoints||{}));return f!==d?!1:o.every(h=>{const p=i[h],g=c[h];return typeof p=="function"?`${p}`==`${g}`:!Lh(p)||!Lh(g)?p===g:uu(p,g)})}function Bh(i){return i.concat().sort((c,o)=>c.name>o.name?1:-1).map(c=>c.options)}function wv(i,c){if(i.length!==c.length)return!1;const o=Bh(i),u=Bh(c);return o.every((f,d)=>{const h=u[d];return uu(f,h)})}function fu(i){return typeof i=="number"}function Zo(i){return typeof i=="string"}function pc(i){return typeof i=="boolean"}function qh(i){return Object.prototype.toString.call(i)==="[object Object]"}function $e(i){return Math.abs(i)}function du(i){return Math.sign(i)}function As(i,c){return $e(i-c)}function Tv(i,c){if(i===0||c===0||$e(i)<=$e(c))return 0;const o=As($e(i),$e(c));return $e(o/i)}function Av(i){return Math.round(i*100)/100}function Ds(i){return Rs(i).map(Number)}function el(i){return i[Ys(i)]}function Ys(i){return Math.max(0,i.length-1)}function mu(i,c){return c===Ys(i)}function Yh(i,c=0){return Array.from(Array(i),(o,u)=>c+u)}function Rs(i){return Object.keys(i)}function Tp(i,c){return[i,c].reduce((o,u)=>(Rs(u).forEach(f=>{const d=o[f],h=u[f],p=qh(d)&&qh(h);o[f]=p?Tp(d,h):h}),o),{})}function Ko(i,c){return typeof c.MouseEvent<"u"&&i instanceof c.MouseEvent}function _v(i,c){const o={start:u,center:f,end:d};function u(){return 0}function f(g){return d(g)/2}function d(g){return c-g}function h(g,x){return Zo(i)?o[i](g):i(c,g,x)}return{measure:h}}function Us(){let i=[];function c(f,d,h,p={passive:!0}){let g;if("addEventListener"in f)f.addEventListener(d,h,p),g=()=>f.removeEventListener(d,h,p);else{const x=f;x.addListener(h),g=()=>x.removeListener(h)}return i.push(g),u}function o(){i=i.filter(f=>f())}const u={add:c,clear:o};return u}function Cv(i,c,o,u){const f=Us(),d=1e3/60;let h=null,p=0,g=0;function x(){f.add(i,"visibilitychange",()=>{i.hidden&&N()})}function v(){w(),f.clear()}function y(D){if(!g)return;h||(h=D,o(),o());const U=D-h;for(h=D,p+=U;p>=d;)o(),p-=d;const X=p/d;u(X),g&&(g=c.requestAnimationFrame(y))}function z(){g||(g=c.requestAnimationFrame(y))}function w(){c.cancelAnimationFrame(g),h=null,p=0,g=0}function N(){h=null,p=0}return{init:x,destroy:v,start:z,stop:w,update:o,render:u}}function Mv(i,c){const o=c==="rtl",u=i==="y",f=u?"y":"x",d=u?"x":"y",h=!u&&o?-1:1,p=v(),g=y();function x(N){const{height:A,width:D}=N;return u?A:D}function v(){return u?"top":o?"right":"left"}function y(){return u?"bottom":o?"left":"right"}function z(N){return N*h}return{scroll:f,cross:d,startEdge:p,endEdge:g,measureSize:x,direction:z}}function ka(i=0,c=0){const o=$e(i-c);function u(x){return xc}function d(x){return u(x)||f(x)}function h(x){return d(x)?u(x)?i:c:x}function p(x){return o?x-o*Math.ceil((x-c)/o):x}return{length:o,max:c,min:i,constrain:h,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:p}}function Ap(i,c,o){const{constrain:u}=ka(0,i),f=i+1;let d=h(c);function h(z){return o?$e((f+z)%f):u(z)}function p(){return d}function g(z){return d=h(z),y}function x(z){return v().set(p()+z)}function v(){return Ap(i,p(),o)}const y={get:p,set:g,add:x,clone:v};return y}function kv(i,c,o,u,f,d,h,p,g,x,v,y,z,w,N,A,D,U,X){const{cross:Z,direction:P}=i,$=["INPUT","SELECT","TEXTAREA"],K={passive:!1},G=Us(),ee=Us(),se=ka(50,225).constrain(w.measure(20)),Q={mouse:300,touch:400},ae={mouse:500,touch:600},ye=N?43:25;let Ge=!1,Qe=0,ce=0,k=!1,Y=!1,te=!1,he=!1;function je(I){if(!X)return;function Te(tt){(pc(X)||X(I,tt))&&fe(tt)}const ke=c;G.add(ke,"dragstart",tt=>tt.preventDefault(),K).add(ke,"touchmove",()=>{},K).add(ke,"touchend",()=>{}).add(ke,"touchstart",Te).add(ke,"mousedown",Te).add(ke,"touchcancel",ze).add(ke,"contextmenu",ze).add(ke,"click",Ee,!0)}function S(){G.clear(),ee.clear()}function L(){const I=he?o:c;ee.add(I,"touchmove",oe,K).add(I,"touchend",ze).add(I,"mousemove",oe,K).add(I,"mouseup",ze)}function V(I){const Te=I.nodeName||"";return $.includes(Te)}function J(){return(N?ae:Q)[he?"mouse":"touch"]}function re(I,Te){const ke=y.add(du(I)*-1),tt=v.byDistance(I,!N).distance;return N||$e(I)=2,!(Te&&I.button!==0)&&(V(I.target)||(k=!0,d.pointerDown(I),x.useFriction(0).useDuration(0),f.set(h),L(),Qe=d.readPoint(I),ce=d.readPoint(I,Z),z.emit("pointerDown")))}function oe(I){if(!Ko(I,u)&&I.touches.length>=2)return ze(I);const ke=d.readPoint(I),tt=d.readPoint(I,Z),yt=As(ke,Qe),Jt=As(tt,ce);if(!Y&&!he&&(!I.cancelable||(Y=yt>Jt,!Y)))return ze(I);const ll=d.pointerMove(I);yt>A&&(te=!0),x.useFriction(.3).useDuration(.75),p.start(),f.add(P(ll)),I.preventDefault()}function ze(I){const ke=v.byDistance(0,!1).index!==y.get(),tt=d.pointerUp(I)*J(),yt=re(P(tt),ke),Jt=Tv(tt,yt),ll=ye-10*Jt,Ht=U+Jt/50;Y=!1,k=!1,ee.clear(),x.useDuration(ll).useFriction(Ht),g.distance(yt,!N),he=!1,z.emit("pointerUp")}function Ee(I){te&&(I.stopPropagation(),I.preventDefault(),te=!1)}function at(){return k}return{init:je,destroy:S,pointerDown:at}}function Ov(i,c){let u,f;function d(y){return y.timeStamp}function h(y,z){const N=`client${(z||i.scroll)==="x"?"X":"Y"}`;return(Ko(y,c)?y:y.touches[0])[N]}function p(y){return u=y,f=y,h(y)}function g(y){const z=h(y)-h(f),w=d(y)-d(u)>170;return f=y,w&&(u=y),z}function x(y){if(!u||!f)return 0;const z=h(f)-h(u),w=d(y)-d(u),N=d(y)-d(f)>170,A=z/w;return w&&!N&&$e(A)>.1?A:0}return{pointerDown:p,pointerMove:g,pointerUp:x,readPoint:h}}function Dv(){function i(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:h}=o;return{top:u,right:f+d,bottom:u+h,left:f,width:d,height:h}}return{measure:i}}function Rv(i){function c(u){return i*(u/100)}return{measure:c}}function Uv(i,c,o,u,f,d,h){const p=[i].concat(u);let g,x,v=[],y=!1;function z(D){return f.measureSize(h.measure(D))}function w(D){if(!d)return;x=z(i),v=u.map(z);function U(X){for(const Z of X){if(y)return;const P=Z.target===i,$=u.indexOf(Z.target),K=P?x:v[$],G=z(P?i:u[$]);if($e(G-K)>=.5){D.reInit(),c.emit("resize");break}}}g=new ResizeObserver(X=>{(pc(d)||d(D,X))&&U(X)}),o.requestAnimationFrame(()=>{p.forEach(X=>g.observe(X))})}function N(){y=!0,g&&g.disconnect()}return{init:w,destroy:N}}function Hv(i,c,o,u,f,d){let h=0,p=0,g=f,x=d,v=i.get(),y=0;function z(){const K=u.get()-i.get(),G=!g;let ee=0;return G?(h=0,o.set(u),i.set(u),ee=K):(o.set(i),h+=K/g,h*=x,v+=h,i.add(h),ee=v-y),p=du(ee),y=v,$}function w(){const K=u.get()-c.get();return $e(K)<.001}function N(){return g}function A(){return p}function D(){return h}function U(){return Z(f)}function X(){return P(d)}function Z(K){return g=K,$}function P(K){return x=K,$}const $={direction:A,duration:N,velocity:D,seek:z,settled:w,useBaseFriction:X,useBaseDuration:U,useFriction:P,useDuration:Z};return $}function Lv(i,c,o,u,f){const d=f.measure(10),h=f.measure(50),p=ka(.1,.99);let g=!1;function x(){return!(g||!i.reachedAny(o.get())||!i.reachedAny(c.get()))}function v(w){if(!x())return;const N=i.reachedMin(c.get())?"min":"max",A=$e(i[N]-c.get()),D=o.get()-c.get(),U=p.constrain(A/h);o.subtract(D*U),!w&&$e(D){const{min:D,max:U}=d,X=d.constrain(N),Z=!A,P=mu(o,A);return Z?U:P||x(D,X)?D:x(U,X)?U:X}).map(N=>parseFloat(N.toFixed(3)))}function z(){if(c<=i+f)return[d.max];if(u==="keepSnaps")return h;const{min:N,max:A}=p;return h.slice(N,A)}return{snapsContained:g,scrollContainLimit:p}}function qv(i,c,o){const u=c[0],f=o?u-i:el(c);return{limit:ka(f,u)}}function Yv(i,c,o,u){const d=c.min+.1,h=c.max+.1,{reachedMin:p,reachedMax:g}=ka(d,h);function x(z){return z===1?g(o.get()):z===-1?p(o.get()):!1}function v(z){if(!x(z))return;const w=i*(z*-1);u.forEach(N=>N.add(w))}return{loop:v}}function Gv(i){const{max:c,length:o}=i;function u(d){const h=d-c;return o?h/-o:0}return{get:u}}function $v(i,c,o,u,f){const{startEdge:d,endEdge:h}=i,{groupSlides:p}=f,g=y().map(c.measure),x=z(),v=w();function y(){return p(u).map(A=>el(A)[h]-A[0][d]).map($e)}function z(){return u.map(A=>o[d]-A[d]).map(A=>-$e(A))}function w(){return p(x).map(A=>A[0]).map((A,D)=>A+g[D])}return{snaps:x,snapsAligned:v}}function Qv(i,c,o,u,f,d){const{groupSlides:h}=f,{min:p,max:g}=u,x=v();function v(){const z=h(d),w=!i||c==="keepSnaps";return o.length===1?[d]:w?z:z.slice(p,g).map((N,A,D)=>{const U=!A,X=mu(D,A);if(U){const Z=el(D[0])+1;return Yh(Z)}if(X){const Z=Ys(d)-el(D)[0]+1;return Yh(Z,el(D)[0])}return N})}return{slideRegistry:x}}function Xv(i,c,o,u,f){const{reachedAny:d,removeOffset:h,constrain:p}=u;function g(N){return N.concat().sort((A,D)=>$e(A)-$e(D))[0]}function x(N){const A=i?h(N):p(N),D=c.map((X,Z)=>({diff:v(X-A,0),index:Z})).sort((X,Z)=>$e(X.diff)-$e(Z.diff)),{index:U}=D[0];return{index:U,distance:A}}function v(N,A){const D=[N,N+o,N-o];if(!i)return N;if(!A)return g(D);const U=D.filter(X=>du(X)===A);return U.length?g(U):el(D)-o}function y(N,A){const D=c[N]-f.get(),U=v(D,A);return{index:N,distance:U}}function z(N,A){const D=f.get()+N,{index:U,distance:X}=x(D),Z=!i&&d(D);if(!A||Z)return{index:U,distance:N};const P=c[U]-X,$=N+v(P,0);return{index:U,distance:$}}return{byDistance:z,byIndex:y,shortcut:v}}function Vv(i,c,o,u,f,d,h){function p(y){const z=y.distance,w=y.index!==c.get();d.add(z),z&&(u.duration()?i.start():(i.update(),i.render(1),i.update())),w&&(o.set(c.get()),c.set(y.index),h.emit("select"))}function g(y,z){const w=f.byDistance(y,z);p(w)}function x(y,z){const w=c.clone().set(y),N=f.byIndex(w.get(),z);p(N)}return{distance:g,index:x}}function Zv(i,c,o,u,f,d,h,p){const g={passive:!0,capture:!0};let x=0;function v(w){if(!p)return;function N(A){if(new Date().getTime()-x>10)return;h.emit("slideFocusStart"),i.scrollLeft=0;const X=o.findIndex(Z=>Z.includes(A));fu(X)&&(f.useDuration(0),u.index(X,0),h.emit("slideFocus"))}d.add(document,"keydown",y,!1),c.forEach((A,D)=>{d.add(A,"focus",U=>{(pc(p)||p(w,U))&&N(D)},g)})}function y(w){w.code==="Tab"&&(x=new Date().getTime())}return{init:v}}function ws(i){let c=i;function o(){return c}function u(g){c=h(g)}function f(g){c+=h(g)}function d(g){c-=h(g)}function h(g){return fu(g)?g:g.get()}return{get:o,set:u,add:f,subtract:d}}function _p(i,c){const o=i.scroll==="x"?h:p,u=c.style;let f=null,d=!1;function h(z){return`translate3d(${z}px,0px,0px)`}function p(z){return`translate3d(0px,${z}px,0px)`}function g(z){if(d)return;const w=Av(i.direction(z));w!==f&&(u.transform=o(w),f=w)}function x(z){d=!z}function v(){d||(u.transform="",c.getAttribute("style")||c.removeAttribute("style"))}return{clear:v,to:g,toggleActive:x}}function Kv(i,c,o,u,f,d,h,p,g){const v=Ds(f),y=Ds(f).reverse(),z=U().concat(X());function w(G,ee){return G.reduce((se,Q)=>se-f[Q],ee)}function N(G,ee){return G.reduce((se,Q)=>w(se,ee)>0?se.concat([Q]):se,[])}function A(G){return d.map((ee,se)=>({start:ee-u[se]+.5+G,end:ee+c-.5+G}))}function D(G,ee,se){const Q=A(ee);return G.map(ae=>{const ye=se?0:-o,Ge=se?o:0,Qe=se?"end":"start",ce=Q[ae][Qe];return{index:ae,loopPoint:ce,slideLocation:ws(-1),translate:_p(i,g[ae]),target:()=>p.get()>ce?ye:Ge}})}function U(){const G=h[0],ee=N(y,G);return D(ee,o,!1)}function X(){const G=c-h[0]-1,ee=N(v,G);return D(ee,-o,!0)}function Z(){return z.every(({index:G})=>{const ee=v.filter(se=>se!==G);return w(ee,c)<=.1})}function P(){z.forEach(G=>{const{target:ee,translate:se,slideLocation:Q}=G,ae=ee();ae!==Q.get()&&(se.to(ae),Q.set(ae))})}function $(){z.forEach(G=>G.translate.clear())}return{canLoop:Z,clear:$,loop:P,loopPoints:z}}function Jv(i,c,o){let u,f=!1;function d(g){if(!o)return;function x(v){for(const y of v)if(y.type==="childList"){g.reInit(),c.emit("slidesChanged");break}}u=new MutationObserver(v=>{f||(pc(o)||o(g,v))&&x(v)}),u.observe(i,{childList:!0})}function h(){u&&u.disconnect(),f=!0}return{init:d,destroy:h}}function Wv(i,c,o,u){const f={};let d=null,h=null,p,g=!1;function x(){p=new IntersectionObserver(N=>{g||(N.forEach(A=>{const D=c.indexOf(A.target);f[D]=A}),d=null,h=null,o.emit("slidesInView"))},{root:i.parentElement,threshold:u}),c.forEach(N=>p.observe(N))}function v(){p&&p.disconnect(),g=!0}function y(N){return Rs(f).reduce((A,D)=>{const U=parseInt(D),{isIntersecting:X}=f[U];return(N&&X||!N&&!X)&&A.push(U),A},[])}function z(N=!0){if(N&&d)return d;if(!N&&h)return h;const A=y(N);return N&&(d=A),N||(h=A),A}return{init:x,destroy:v,get:z}}function Fv(i,c,o,u,f,d){const{measureSize:h,startEdge:p,endEdge:g}=i,x=o[0]&&f,v=N(),y=A(),z=o.map(h),w=D();function N(){if(!x)return 0;const X=o[0];return $e(c[p]-X[p])}function A(){if(!x)return 0;const X=d.getComputedStyle(el(u));return parseFloat(X.getPropertyValue(`margin-${g}`))}function D(){return o.map((X,Z,P)=>{const $=!Z,K=mu(P,Z);return $?z[Z]+v:K?z[Z]+y:P[Z+1][p]-X[p]}).map($e)}return{slideSizes:z,slideSizesWithGaps:w,startGap:v,endGap:y}}function Iv(i,c,o,u,f,d,h,p,g){const{startEdge:x,endEdge:v,direction:y}=i,z=fu(o);function w(U,X){return Ds(U).filter(Z=>Z%X===0).map(Z=>U.slice(Z,Z+X))}function N(U){return U.length?Ds(U).reduce((X,Z,P)=>{const $=el(X)||0,K=$===0,G=Z===Ys(U),ee=f[x]-d[$][x],se=f[x]-d[Z][v],Q=!u&&K?y(h):0,ae=!u&&G?y(p):0,ye=$e(se-ae-(ee+Q));return P&&ye>c+g&&X.push(Z),G&&X.push(U.length),X},[]).map((X,Z,P)=>{const $=Math.max(P[Z-1]||0);return U.slice($,X)}):[]}function A(U){return z?w(U,o):N(U)}return{groupSlides:A}}function Pv(i,c,o,u,f,d,h){const{align:p,axis:g,direction:x,startIndex:v,loop:y,duration:z,dragFree:w,dragThreshold:N,inViewThreshold:A,slidesToScroll:D,skipSnaps:U,containScroll:X,watchResize:Z,watchSlides:P,watchDrag:$,watchFocus:K}=d,G=2,ee=Dv(),se=ee.measure(c),Q=o.map(ee.measure),ae=Mv(g,x),ye=ae.measureSize(se),Ge=Rv(ye),Qe=_v(p,ye),ce=!y&&!!X,k=y||!!X,{slideSizes:Y,slideSizesWithGaps:te,startGap:he,endGap:je}=Fv(ae,se,Q,o,k,f),S=Iv(ae,ye,D,y,se,Q,he,je,G),{snaps:L,snapsAligned:V}=$v(ae,Qe,se,Q,S),J=-el(L)+el(te),{snapsContained:re,scrollContainLimit:fe}=Bv(ye,J,V,X,G),oe=ce?re:V,{limit:ze}=qv(J,oe,y),Ee=Ap(Ys(oe),v,y),at=Ee.clone(),Me=Ds(o),I=({dragHandler:pl,scrollBody:kn,scrollBounds:On,options:{loop:al}})=>{al||On.constrain(pl.pointerDown()),kn.seek()},Te=({scrollBody:pl,translate:kn,location:On,offsetLocation:al,previousLocation:pt,scrollLooper:nl,slideLooper:xt,dragHandler:xc,animation:gc,eventHandler:Xs,scrollBounds:Ra,options:{loop:da}},ma)=>{const sl=pl.settled(),Ua=!Ra.shouldConstrain(),Ul=da?sl:sl&&Ua,Vs=Ul&&!xc.pointerDown();Vs&&gc.stop();const Zs=On.get()*ma+pt.get()*(1-ma);al.set(Zs),da&&(nl.loop(pl.direction()),xt.loop()),kn.to(al.get()),Vs&&Xs.emit("settle"),Ul||Xs.emit("scroll")},ke=Cv(u,f,()=>I(Mn),pl=>Te(Mn,pl)),tt=.68,yt=oe[Ee.get()],Jt=ws(yt),ll=ws(yt),Ht=ws(yt),Wt=ws(yt),hl=Hv(Jt,Ht,ll,Wt,z,tt),An=Xv(y,oe,J,ze,Wt),_n=Vv(ke,Ee,at,hl,An,Wt,h),dt=Gv(ze),$s=Us(),Qs=Wv(c,o,h,A),{slideRegistry:Cn}=Qv(ce,X,oe,fe,S,Me),Da=Zv(i,o,Cn,_n,hl,$s,h,K),Mn={ownerDocument:u,ownerWindow:f,eventHandler:h,containerRect:se,slideRects:Q,animation:ke,axis:ae,dragHandler:kv(ae,i,u,f,Wt,Ov(ae,f),Jt,ke,_n,hl,An,Ee,h,Ge,w,N,U,tt,$),eventStore:$s,percentOfView:Ge,index:Ee,indexPrevious:at,limit:ze,location:Jt,offsetLocation:Ht,previousLocation:ll,options:d,resizeHandler:Uv(c,h,f,o,ae,Z,ee),scrollBody:hl,scrollBounds:Lv(ze,Ht,Wt,hl,Ge),scrollLooper:Yv(J,ze,Ht,[Jt,Ht,ll,Wt]),scrollProgress:dt,scrollSnapList:oe.map(dt.get),scrollSnaps:oe,scrollTarget:An,scrollTo:_n,slideLooper:Kv(ae,ye,J,Y,te,L,oe,Ht,o),slideFocus:Da,slidesHandler:Jv(c,h,P),slidesInView:Qs,slideIndexes:Me,slideRegistry:Cn,slidesToScroll:S,target:Wt,translate:_p(ae,c)};return Mn}function ey(){let i={},c;function o(x){c=x}function u(x){return i[x]||[]}function f(x){return u(x).forEach(v=>v(c,x)),g}function d(x,v){return i[x]=u(x).concat([v]),g}function h(x,v){return i[x]=u(x).filter(y=>y!==v),g}function p(){i={}}const g={init:o,emit:f,off:h,on:d,clear:p};return g}const ty={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ly(i){function c(d,h){return Tp(d,h||{})}function o(d){const h=d.breakpoints||{},p=Rs(h).filter(g=>i.matchMedia(g).matches).map(g=>h[g]).reduce((g,x)=>c(g,x),{});return c(d,p)}function u(d){return d.map(h=>Rs(h.breakpoints||{})).reduce((h,p)=>h.concat(p),[]).map(i.matchMedia)}return{mergeOptions:c,optionsAtMedia:o,optionsMediaQueries:u}}function ay(i){let c=[];function o(d,h){return c=h.filter(({options:p})=>i.optionsAtMedia(p).active!==!1),c.forEach(p=>p.init(d,i)),h.reduce((p,g)=>Object.assign(p,{[g.name]:g}),{})}function u(){c=c.filter(d=>d.destroy())}return{init:o,destroy:u}}function uc(i,c,o){const u=i.ownerDocument,f=u.defaultView,d=ly(f),h=ay(d),p=Us(),g=ey(),{mergeOptions:x,optionsAtMedia:v,optionsMediaQueries:y}=d,{on:z,off:w,emit:N}=g,A=ae;let D=!1,U,X=x(ty,uc.globalOptions),Z=x(X),P=[],$,K,G;function ee(){const{container:Me,slides:I}=Z;K=(Zo(Me)?i.querySelector(Me):Me)||i.children[0];const ke=Zo(I)?K.querySelectorAll(I):I;G=[].slice.call(ke||K.children)}function se(Me){const I=Pv(i,K,G,u,f,Me,g);if(Me.loop&&!I.slideLooper.canLoop()){const Te=Object.assign({},Me,{loop:!1});return se(Te)}return I}function Q(Me,I){D||(X=x(X,Me),Z=v(X),P=I||P,ee(),U=se(Z),y([X,...P.map(({options:Te})=>Te)]).forEach(Te=>p.add(Te,"change",ae)),Z.active&&(U.translate.to(U.location.get()),U.animation.init(),U.slidesInView.init(),U.slideFocus.init(at),U.eventHandler.init(at),U.resizeHandler.init(at),U.slidesHandler.init(at),U.options.loop&&U.slideLooper.loop(),K.offsetParent&&G.length&&U.dragHandler.init(at),$=h.init(at,P)))}function ae(Me,I){const Te=S();ye(),Q(x({startIndex:Te},Me),I),g.emit("reInit")}function ye(){U.dragHandler.destroy(),U.eventStore.clear(),U.translate.clear(),U.slideLooper.clear(),U.resizeHandler.destroy(),U.slidesHandler.destroy(),U.slidesInView.destroy(),U.animation.destroy(),h.destroy(),p.clear()}function Ge(){D||(D=!0,p.clear(),ye(),g.emit("destroy"),g.clear())}function Qe(Me,I,Te){!Z.active||D||(U.scrollBody.useBaseFriction().useDuration(I===!0?0:Z.duration),U.scrollTo.index(Me,Te||0))}function ce(Me){const I=U.index.add(1).get();Qe(I,Me,-1)}function k(Me){const I=U.index.add(-1).get();Qe(I,Me,1)}function Y(){return U.index.add(1).get()!==S()}function te(){return U.index.add(-1).get()!==S()}function he(){return U.scrollSnapList}function je(){return U.scrollProgress.get(U.offsetLocation.get())}function S(){return U.index.get()}function L(){return U.indexPrevious.get()}function V(){return U.slidesInView.get()}function J(){return U.slidesInView.get(!1)}function re(){return $}function fe(){return U}function oe(){return i}function ze(){return K}function Ee(){return G}const at={canScrollNext:Y,canScrollPrev:te,containerNode:ze,internalEngine:fe,destroy:Ge,off:w,on:z,emit:N,plugins:re,previousScrollSnap:L,reInit:A,rootNode:oe,scrollNext:ce,scrollPrev:k,scrollProgress:je,scrollSnapList:he,scrollTo:Qe,selectedScrollSnap:S,slideNodes:Ee,slidesInView:V,slidesNotInView:J};return Q(c,o),setTimeout(()=>g.emit("init"),0),at}uc.globalOptions=void 0;function hu(i={},c=[]){const o=q.useRef(i),u=q.useRef(c),[f,d]=q.useState(),[h,p]=q.useState(),g=q.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return q.useEffect(()=>{uu(o.current,i)||(o.current=i,g())},[i,g]),q.useEffect(()=>{wv(u.current,c)||(u.current=c,g())},[c,g]),q.useEffect(()=>{if(Ev()&&h){uc.globalOptions=hu.globalOptions;const x=uc(h,o.current,u.current);return d(x),()=>x.destroy()}else d(void 0)},[h,d]),[p,f]}hu.globalOptions=void 0;const pu=4500;function xu({box:i,interval:c,advance:o}){const u=q.useRef(o);u.current=o,q.useEffect(()=>{const f=i.current;if(!f||c<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,h=!0;const p=()=>{d+=1},g=()=>{d=Math.max(0,d-1)},x=window.setInterval(()=>{d>0||document.hidden||!h||u.current()||window.clearInterval(x)},c),v=new IntersectionObserver(([A])=>{h=A.isIntersecting},{threshold:.25});v.observe(f);const y=window.matchMedia("(hover: hover) and (pointer: fine)").matches;y&&(f.addEventListener("pointerenter",p),f.addEventListener("pointerleave",g));let z=!1;const w=A=>{const D=A.target;!(D instanceof Element)||!D.matches(":focus-visible")||z||(z=!0,p())},N=()=>{z&&(z=!1,g())};return f.addEventListener("focusin",w),f.addEventListener("focusout",N),f.addEventListener("pointerdown",p,!0),window.addEventListener("pointerup",g,!0),window.addEventListener("pointercancel",g,!0),()=>{window.clearInterval(x),v.disconnect(),y&&(f.removeEventListener("pointerenter",p),f.removeEventListener("pointerleave",g)),f.removeEventListener("focusin",w),f.removeEventListener("focusout",N),f.removeEventListener("pointerdown",p,!0),window.removeEventListener("pointerup",g,!0),window.removeEventListener("pointercancel",g,!0)}},[i,c])}function Cp(i,c=.85){if(!i)return!1;const o=i.scrollWidth-i.clientWidth;if(o<=8||i.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return i.scrollBy({left:i.clientWidth*c,behavior:u?"auto":"smooth"}),!0}function gu({label:i,children:c,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:h=1,autoplay:p=pu,onSelect:g,onReady:x,className:v}){const y=p===!1?0:p,[z,w]=hu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[N,A]=q.useState([]),[D,U]=q.useState(0),[X,Z]=q.useState(!1),[P,$]=q.useState(!1),K=q.useRef(null),G=q.useId();q.useEffect(()=>{var Y;if(!w)return;const ce=()=>{U(w.selectedScrollSnap()),Z(w.canScrollPrev()),$(w.canScrollNext())},k=()=>{A(w.scrollSnapList()),ce()};return k(),w.on("select",ce),w.on("reInit",k),(Y=K.current)==null||Y.setAttribute("data-slider","on"),()=>{w.off("select",ce),w.off("reInit",k)}},[w]),q.useEffect(()=>{if(!w)return;const ce=K.current,k=()=>ce==null?void 0:ce.setAttribute("data-dragging","true"),Y=()=>ce==null?void 0:ce.removeAttribute("data-dragging");return w.on("pointerDown",k),w.on("pointerUp",Y),()=>{w.off("pointerDown",k),w.off("pointerUp",Y)}},[w]),xu({box:K,interval:y,advance:()=>!w||w.scrollSnapList().length<=1?!0:w.canScrollNext()?(w.scrollNext(),!0):!1});const ee=q.useCallback(ce=>w==null?void 0:w.scrollTo(ce),[w]),se=q.useRef(g);se.current=g;const Q=q.useRef(x);Q.current=x,q.useEffect(()=>{var k;if(!w)return;const ce=()=>{var Y;return(Y=se.current)==null?void 0:Y.call(se,w.selectedScrollSnap())};return ce(),w.on("select",ce),w.on("reInit",ce),(k=Q.current)==null||k.call(Q,{scrollTo:Y=>w.scrollTo(Y)}),()=>{w.off("select",ce),w.off("reInit",ce)}},[w]);const ae=q.useCallback(()=>w==null?void 0:w.scrollPrev(),[w]),ye=q.useCallback(()=>w==null?void 0:w.scrollNext(),[w]),Ge=N.length>1,Qe=f&&Ge&&N.length<=12;return n.jsxs("div",{className:v,children:[d==="header"&&Ge&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Gh,{dir:"prev",onClick:ae,disabled:!u&&!X,label:i}),n.jsx(Gh,{dir:"next",onClick:ye,disabled:!u&&!P,label:i})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:ce=>{K.current=ce,z(ce)},className:"slider-viewport",role:"group","aria-roledescription":"캐러셀","aria-label":i,tabIndex:0,onKeyDown:ce=>{ce.key==="ArrowLeft"&&(ce.preventDefault(),ae()),ce.key==="ArrowRight"&&(ce.preventDefault(),ye())},children:n.jsx("div",{className:"slider-track",style:{gap:`${h}rem`},id:G,children:c})}),d==="overlay"&&Ge&&n.jsxs(n.Fragment,{children:[n.jsx($h,{dir:"prev",onClick:ae,disabled:!u&&!X,label:i}),n.jsx($h,{dir:"next",onClick:ye,disabled:!u&&!P,label:i})]})]}),Ge&&n.jsxs("div",{className:"mt-4 flex items-center justify-center gap-3",children:[Qe&&n.jsx("ul",{className:"flex items-center gap-1.5",children:N.map((ce,k)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>ee(k),"aria-label":`${k+1}번째로`,"aria-current":k===D,"aria-controls":G,className:`h-1.5 rounded-full transition-all ${k===D?"w-6 bg-current opacity-70":"w-1.5 bg-current opacity-20 hover:opacity-45"}`})},k))}),n.jsxs("span",{className:"text-current/55 text-[length:var(--fs-xs)] tabular-nums",children:[D+1," / ",N.length]})]})]})}function Mp({basis:i,children:c}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${i}`,"aria-roledescription":"슬라이드",children:c})}function Gh({dir:i,onClick:c,disabled:o,label:u}){const f=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":`${u} ${i==="prev"?"이전":"다음"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-70 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function $h({dir:i,onClick:c,disabled:o,label:u}){const f=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":`${u} ${i==="prev"?"이전":"다음"}`,className:`tap absolute top-1/2 z-10 hidden -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:opacity-0 sm:flex ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function bu({children:i,className:c="",as:o="div"}){return n.jsx(o,{className:`panel ${c}`,children:i})}function vu({children:i}){return n.jsx("span",{className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/5 px-2.5 py-1 text-[length:var(--fs-xs)]",children:i})}function kp({label:i,value:c,note:o}){return n.jsxs("div",{className:"divide-line flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-6",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] font-medium sm:w-40",children:i}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[c,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function Qh({href:i,children:c,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:i,...u?{target:"_blank",rel:"noopener noreferrer"}:{},className:`tap inline-flex items-center justify-center gap-2 rounded-lg px-4 text-[length:var(--fs-sm)] font-semibold transition-opacity hover:opacity-85 ${d?"":"border-line tpl-border border bg-current/5"}`,style:d?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:[f,n.jsx("span",{children:c}),u&&n.jsx(Sn,{className:"size-4 shrink-0"})]})}function ny(){const i=le(),{narrative:c,place:o}=i,u=H0(i,"intro"),f=u.length>0?u:c.about;if(f.length===0)return null;const d=lu(i).find(p=>!p.isPrimary),h=c.heroSubline??`${o.name} 소개`;return n.jsx(vt,{id:"about",bare:!0,title:h,children:n.jsxs("div",{className:"grid grid-cols-1 items-center gap-8 lg:grid-cols-12 lg:gap-14",children:[d&&n.jsxs("figure",{className:"lg:col-span-7",children:[n.jsx("div",{className:"tpl-border border-line relative aspect-4/3 max-h-[26rem] overflow-hidden rounded-xl border lg:aspect-3/2",children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover"})}),d.caption&&n.jsx("figcaption",{className:"text-muted mt-2 text-[length:var(--fs-xs)]",children:d.caption})]}),n.jsxs("div",{className:d?"lg:col-span-5":"lg:col-span-12",children:[n.jsxs("h2",{id:"about-heading",className:"h2 mb-6 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:h})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((p,g)=>n.jsx("p",{children:p},g))})]})]})})}const Xh=new Set(["체크인 시간","체크아웃 시간","취소·환불 규정","취사 가능","반려동물 동반","흡연 가능","인원 추가 요금"]);function sy(){const i=le(),c=dc(i),o=i.facts.filter(d=>d.scope==="place"&&!c.some(h=>h.label===d.label)).length;if(c.length===0)return null;const u=c.filter(d=>Xh.has(d.label)),f=c.filter(d=>!Xh.has(d.label));return n.jsx(vt,{id:"info",tone:"alt",title:"이용안내 및 예약",lead:"방문 전 확인이 필요한 운영 규정과 시설 안내입니다.",footnote:n.jsxs("span",{className:"flex flex-col gap-1 sm:flex-row sm:justify-between",children:[n.jsx("span",{children:o>0?`확인 중인 항목 ${o}개는 표시하지 않았습니다. 필요하시면 전화로 문의해 주세요.`:"모든 항목이 사업자 확인을 거쳤습니다."}),n.jsxs("span",{className:"font-medium",children:[nu(i.site.updatedAt)," 기준"]})]}),children:n.jsxs("div",{className:"space-y-8",children:[u.length>0&&n.jsx(Vh,{title:"예약 전 확인",rows:u,emphasis:!0}),f.length>0&&n.jsx(Vh,{title:"시설 · 편의",rows:f}),n.jsx(iy,{})]})})}function Vh({title:i,rows:c,emphasis:o}){return n.jsxs("section",{children:[n.jsxs("h3",{className:"border-line mb-3 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[o&&n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{children:i})]}),n.jsx("dl",{className:"divide-line divide-y",children:c.map(u=>n.jsxs("div",{className:"flex flex-col gap-1 py-3.5 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:"text-muted text-[length:var(--fs-sm)] sm:w-40 sm:shrink-0",children:u.label}),n.jsxs("dd",{className:"measure text-[length:var(--fs-sm)] font-semibold",children:[u.value,u.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:u.note})]})]},u.label))})]})}function iy(){const i=le(),c=Ze(i),o=i.place.phone;return!o&&c.length===0?null:n.jsxs("div",{className:"border-line flex flex-col gap-3 border-t pt-6 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("p",{className:"text-[length:var(--fs-sm)] font-semibold",children:[i.place.name," 예약은 아래로 받습니다."]}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[o&&n.jsxs("a",{href:`tel:${o}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:o})]}),c.map(u=>n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u)},u.url))]})]})}function cy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsx(vt,{id:"units",title:Ye(i,c.path,`${c.label} 안내`),children:n.jsx("ul",{className:"mt-2 flex flex-col gap-14 lg:gap-20",children:o.map((f,d)=>n.jsxs("li",{className:"grid items-center gap-7 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-2":""}`,children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 rounded-lg overflow-hidden",children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),f.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:f.images.slice(1,4).map(h=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:h.url,alt:h.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},h.mediaId))})]}),n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-1":""}`,children:[n.jsx("h3",{className:"h2",children:f.name}),f.intro&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed opacity-80",children:f.intro}),f.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:f.chips.map(h=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:h.label}),n.jsx("span",{className:"font-medium",children:h.value})]})},h.label))}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u,f.name)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),f.rows.length>0&&n.jsxs("details",{className:"group border-line mt-4 border-t pt-2",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[f.name," 구성 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:f.rows.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:h.label}),n.jsx("dd",{className:"text-right font-semibold",children:h.value})]},h.label))})]})]})]},f.unitId))})})}function ry(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0],[f,d]=q.useState(0);return o.length===0?null:n.jsxs(vt,{id:"units",title:Ye(i,c.path,`${c.label} 안내`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":c.label,children:o.map((h,p)=>n.jsx("button",{type:"button",role:"tab","aria-selected":p===f,"aria-controls":`unit-panel-${h.slug}`,onClick:()=>d(p),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${p===f?"opacity-100":"border-transparent opacity-50 hover:opacity-80"}`,style:p===f?{borderColor:"var(--color-brand)"}:void 0,children:h.name},h.unitId))}),o.map((h,p)=>n.jsxs("div",{id:`unit-panel-${h.slug}`,role:"tabpanel",hidden:p!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[h.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:h.images[0].url,alt:h.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),h.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:h.images.slice(1,4).map(g=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},g.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:h.name}),h.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:h.intro}),h.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:h.chips.map(g=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),h.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:h.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))}),n.jsxs("div",{className:"mt-5 flex gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u,h.name)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]})]})]},h.unitId))]})}function oy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];if(o.length===0)return null;const f=o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",d=Kt(i,"info")?[]:dc(i);return n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"calc(var(--section-space) * 1.4)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(iu,{id:"units",title:Ye(i,c.path,`${c.label} 안내`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(h=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[h.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:h.images[0].url,alt:h.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})}),n.jsx("h3",{className:"serif mt-6",style:{fontSize:"var(--fs-h3)",fontWeight:300,letterSpacing:"0.04em"},children:h.name}),h.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:h.intro}),h.chips.length>0&&n.jsx("ul",{className:"text-muted mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)] font-light",children:h.chips.map(p=>n.jsxs("li",{children:[p.label," ",p.value]},p.label))}),(h.rows.length>0||h.images.length>1)&&n.jsxs("details",{className:"border-line mt-5 border-t",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center text-[length:var(--fs-sm)] font-light opacity-70 marker:content-none [&::-webkit-details-marker]:hidden",children:"자세히 보기"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[h.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:h.rows.map(p=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:p.label}),n.jsx("dd",{className:"text-right",children:p.value})]},p.label))}),h.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:h.images.slice(1).map(p=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},p.mediaId))})]})]})]},h.unitId))}),d.length>0&&n.jsx("dl",{className:"divide-line border-line mx-auto mt-16 max-w-2xl divide-y border-t",children:d.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-3 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:h.label}),n.jsx("dd",{className:"text-right",children:h.value})]},h.label))}),(u||i.place.phone)&&n.jsxs("div",{className:"mt-14 flex flex-wrap items-center justify-center gap-4",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-opacity hover:opacity-70",children:ht(u)}),i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tabular-nums tracking-[0.08em] transition-opacity hover:opacity-70",children:i.place.phone})]})]})})}function uy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsxs("section",{id:"units","data-oasi":!0,"aria-labelledby":"units-heading",className:"pt-[var(--oasi-gap)]",children:[n.jsx(cu,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-20 lg:space-y-28",children:o.map(f=>n.jsxs("li",{children:[f.images[0]&&n.jsxs("figure",{className:"relative mx-auto w-full max-w-[34rem]",children:[n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"block h-[clamp(15rem,24vw,21rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:f.name})]}),n.jsx("h3",{className:"mt-8 text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:f.name}),f.chips.length>0&&n.jsx("p",{className:"text-muted mt-2 text-[length:var(--fs-xs)] leading-[1.9]",children:f.chips.map(d=>`${d.label} ${d.value}`).join(" · ")}),f.intro&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-xs)] leading-[1.9]",children:f.intro}),f.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-6 divide-y border-t text-[length:var(--fs-xs)]",children:f.rows.map(d=>n.jsxs("div",{className:"flex items-baseline justify-between gap-6 py-2.5",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right",children:d.value})]},d.label))}),f.images.length>1&&n.jsx("ul",{className:"mx-auto mt-6 grid w-full max-w-[34rem] grid-cols-2 gap-2",children:f.images.slice(1).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",className:"block aspect-[4/3] w-full object-cover"})},d.mediaId))}),(u||i.place.phone)&&n.jsxs("p",{className:"mt-6 flex flex-wrap items-center gap-x-8 text-[length:var(--fs-sm)]",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(u)}),i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:i.place.phone})]})]},f.unitId))})]})}function fy(){const i=le(),c=ft(i),o=fl(i);return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"w-full",style:{paddingBlock:"var(--section-space)",backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(ru,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-16 sm:space-y-24",children:o.map(u=>n.jsxs("li",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"min-w-0 lg:col-span-7",children:[u.images[0]&&n.jsx("img",{src:u.images[0].url,alt:u.images[0].alt,loading:"lazy",decoding:"async",width:u.images[0].width,height:u.images[0].height,className:"block h-auto w-full"}),u.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2",children:u.images.slice(1).map(f=>n.jsx("li",{children:n.jsx("img",{src:f.url,alt:f.alt,loading:"lazy",decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})]}),n.jsxs("div",{className:"min-w-0 lg:col-span-5",children:[n.jsx("h3",{className:"serif min-w-0 break-keep font-extrabold",style:{fontSize:"var(--fs-h3)",letterSpacing:"0.02em",lineHeight:1.35},children:u.name}),u.chips.length>0&&n.jsx("dl",{className:"mt-4 space-y-1.5",children:u.chips.map(f=>n.jsxs("div",{className:"flex gap-3 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted w-20 shrink-0",children:f.label}),n.jsx("dd",{className:"min-w-0 font-medium",children:f.value})]},f.label))}),u.intro&&n.jsx("p",{className:"text-muted measure mt-5 text-[length:var(--fs-sm)]",style:{lineHeight:1.8},children:u.intro})]})]},u.unitId))})]})})}function dy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading","data-pastel":"own",className:"w-full",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(ou,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:gap-8",children:o.map((f,d)=>n.jsxs("li",{className:"flex flex-col overflow-hidden p-4 sm:p-5",style:{backgroundColor:d%2===0?"var(--pastel-1)":"var(--pastel-2)",borderRadius:"calc(var(--tpl-radius, 0.75rem) * 1.35)"},children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",style:{borderRadius:"var(--tpl-radius, 0.75rem)"},children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 px-1 pt-4",children:[n.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:n.jsx("h3",{className:"h3",style:{fontWeight:800},children:f.name})}),f.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:f.chips.map(h=>n.jsxs("li",{className:"inline-flex items-center gap-1 rounded-full px-3 py-1 text-[length:var(--fs-xs)]",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 70%, transparent)"},children:[n.jsx("span",{className:"opacity-60",children:h.label}),n.jsx("span",{className:"font-bold",children:h.value})]},h.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:f.intro})]}),(u||i.place.phone)&&n.jsxs("div",{className:"mt-4 flex gap-2 px-1",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-full text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:ht(u)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap flex items-center justify-center gap-1.5 rounded-full px-5 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 75%, transparent)"},children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),(f.rows.length>0||f.images.length>1)&&n.jsxs("details",{className:"group mt-3 px-1",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsxs("span",{children:[f.name," 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsxs("div",{className:"space-y-4 pb-1",children:[f.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:f.rows.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"shrink-0 opacity-60",children:h.label}),n.jsx("dd",{className:"text-right font-bold",children:h.value})]},h.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(h=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",style:{borderRadius:"calc(var(--tpl-radius, 0.75rem) * 0.7)"},children:n.jsx("img",{src:h.url,alt:h.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},h.mediaId))})]})]})]},f.unitId))})]})})}function my(){const i=le(),c=fl(i),o=ft(i),u=Ze(i)[0];return c.length===0?null:n.jsxs("section",{id:"units","aria-labelledby":"units-heading",className:"border-line w-full border-b",style:{backgroundColor:"var(--tpl-surface)",backgroundImage:Os,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(au,{id:"units",title:Ye(i,o.path,`${o.label} ${c.length}개 안내`)})}),c.map((f,d)=>n.jsx(hy,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:i.place.phone},f.unitId))]})}function hy({unit:i,no:c,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Os}:void 0,children:n.jsxs("div",{className:"shell grid grid-cols-12 gap-y-6 py-10 xl:gap-x-10 xl:py-16",children:[n.jsxs("div",{className:"col-span-12 xl:col-span-5 xl:pr-8",children:[n.jsxs("div",{className:"relative",children:[n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute -top-1 left-0 select-none leading-none tabular-nums",style:{fontSize:"clamp(3rem, 8vw, 6rem)",fontWeight:800,opacity:.1},children:c}),n.jsx("h3",{className:"serif relative pt-7 xl:pt-12",style:{fontSize:"clamp(1.5rem, 3vw, 2.25rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-0.02em"},children:i.name})]}),i.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed opacity-85",children:i.intro}),i.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:i.rows.map(d=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-6 border-b py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right font-semibold",children:d.value})]},d.label))}),(u||f)&&n.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:ht(u)}),f&&n.jsx("a",{href:`tel:${f}`,className:"tap inline-flex items-center underline underline-offset-4",children:f})]})]}),n.jsxs("div",{className:"col-span-12 xl:col-span-7 xl:-ml-10",children:[i.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:i.images[0].url,alt:i.images[0].alt,loading:"lazy",decoding:"async",width:i.images[0].width,height:i.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),i.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:i.images[1].url,alt:i.images[1].alt,loading:"lazy",decoding:"async",width:i.images[1].width,height:i.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),i.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:i.images.slice(2).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"w-full object-cover",style:{aspectRatio:"3 / 2"}})},d.mediaId))})]})})}function Lo(){var h;const i=le(),c=ft(i),o=hc();if(o==="reservation")return n.jsx(oy,{});if(o==="oasi")return n.jsx(uy,{});if(o==="studio")return n.jsx(fy,{});if(o==="pastel")return n.jsx(dy,{});if(o==="editorial")return n.jsx(my,{});const u=(h=i.theme.sections.find(p=>p.id===c.path))==null?void 0:h.variantId;if(u==="rooms.bands")return n.jsx(cy,{});if(u==="rooms.tabs")return n.jsx(ry,{});const f=fl(i);if(f.length===0)return null;const d=f.length===1?"grid-cols-1":f.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 xl:grid-cols-3";return n.jsx(vt,{id:"units",title:Ye(i,c.path,`${c.label} ${f.length}개 안내`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(p=>n.jsxs(bu,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[p.images.length>0&&n.jsx(py,{images:p.images,name:p.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:p.name}),p.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:p.chips.map(g=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),p.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:p.intro})]})]}),p.rows.length>0&&n.jsxs("details",{className:"group border-line border-t",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[p.name," 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:p.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:p.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))})})]})]},p.unitId))})})}function py({images:i,name:c}){const o=q.useRef(null),[u,f]=q.useState(0),d=q.useCallback(()=>{const p=o.current;!p||p.clientWidth===0||f(Math.round(p.scrollLeft/p.clientWidth))},[]),h=q.useCallback(p=>{const g=o.current;if(!g)return;const x=window.matchMedia("(prefers-reduced-motion: reduce)").matches;g.scrollBy({left:p*g.clientWidth,behavior:x?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${c} 사진`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:i.map(p=>n.jsx("li",{className:"w-full shrink-0 snap-center",children:n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},p.mediaId))}),i.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(Zh,{dir:"prev",show:u>0,onClick:()=>h(-1)}),n.jsx(Zh,{dir:"next",show:uh(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-2.5 right-2.5 rounded-full bg-black/55 px-2 py-0.5 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white",children:[Math.min(u+1,i.length)," / ",i.length]})]})]})}function Zh({dir:i,show:c,onClick:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:o,"aria-label":i==="prev"?"이전 사진":"다음 사진","aria-hidden":!c,tabIndex:c?0:-1,className:`absolute top-1/2 z-10 flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 ${c?"opacity-100":"pointer-events-none opacity-0"} ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function xy(){const i=le(),c=Ze(i),o=q0(i),u=i.place.phone;return c.length===0&&o.length===0&&!u?null:n.jsx(vt,{id:"booking",tone:"alt",title:Ye(i,"booking","예약 안내"),lead:`${i.place.name} 예약은 아래 경로로 받습니다.`,children:n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[o.length>0&&n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5 lg:col-span-7",children:o.map(f=>n.jsx(kp,{label:f.label,value:f.value},f.label))}),n.jsx("div",{className:o.length>0?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:o.length>0?"flex flex-col gap-2.5 sm:flex-row sm:flex-wrap lg:flex-col":"flex flex-col items-start gap-2.5 sm:flex-row sm:flex-wrap",children:[u&&n.jsxs(Qh,{href:`tel:${u}`,icon:n.jsx(_t,{className:"size-4"}),children:["전화 예약 ",u]}),c.map(f=>n.jsx(Qh,{href:f.url,variant:"outline",external:!0,children:Sp(f)},f.url))]})})]})})}const Kh=["일","월","화","수","목","금","토"],Jh=2;function Wh(i){return`${i.getFullYear()}-${String(i.getMonth()+1).padStart(2,"0")}-${String(i.getDate()).padStart(2,"0")}`}function gy(i,c,o){const u=new Date(i,c,1),f=new Date(i,c+1,0).getDate(),d=Wh(o),h=Array.from({length:u.getDay()},()=>null);for(let p=1;p<=f;p+=1){const g=new Date(i,c,p),x=Wh(g);h.push({iso:x,day:p,weekday:g.getDay(),isWeekend:g.getDay()===0||g.getDay()===6,past:xo+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function vy(i){return eu(i.units).map(c=>{var u;const o=f=>{var h;const d=Number((h=At(c.facts,f))==null?void 0:h.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:c.unitId,name:c.name,weekdayPrice:(u=yp(c))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function yy(){var se;const i=le(),c=q.useMemo(()=>vy(i),[i]),o=q.useMemo(()=>{var Q;return((Q=Bs(i.facts).find(ae=>ae.key==="check_in_time"))==null?void 0:Q.value)??void 0},[i]),u=q.useMemo(()=>by(o),[o]),[f,d]=q.useState(null),[h,p]=q.useState(0);q.useEffect(()=>d(new Date),[]);const g=q.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+h,1):null,[f,h]),x=q.useMemo(()=>f&&g?gy(g.getFullYear(),g.getMonth(),f):[],[f,g]),[v,y]=q.useState(null),[z,w]=q.useState(null),[N,A]=q.useState(((se=c[0])==null?void 0:se.unitId)??null),[D,U]=q.useState(2),[X,Z]=q.useState(!1),P=x.find(Q=>Q!==null&&Q.iso===v)??null,$=c.find(Q=>Q.unitId===N)??null,K=($==null?void 0:$.maxCapacity)??8,G=P&&$?P.isWeekend?$.weekendPrice??$.weekdayPrice:$.weekdayPrice:void 0,ee=!!(v&&$&&(u.length===0||z));return q.useEffect(()=>{U(Q=>Math.min(Q,($==null?void 0:$.maxCapacity)??8))},[$]),c.length===0?null:n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("div",{className:"border-b border-black/8 px-4 py-3 sm:px-5",children:n.jsxs("p",{className:"flex items-center gap-2 text-xs font-bold",children:[n.jsx(Nb,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"날짜 · 시간 선택"})]})}),f===null||g===null?n.jsx("p",{className:"px-4 py-6 text-xs leading-relaxed opacity-60 sm:px-5",children:"날짜 선택은 브라우저에서 열립니다. 실제 예약 가능 여부와 결제는 아래 예약 창구에서 확인해 주세요."}):X?n.jsx(jy,{payload:i,onReset:()=>Z(!1),summary:[P?`${g.getMonth()+1}월 ${P.day}일(${Kh[P.weekday]})`:null,z?`도착 ${z}`:null,($==null?void 0:$.name)??null,`${D}명`].filter(Q=>!!Q).join(" · ")}):n.jsxs("div",{className:"space-y-5 p-4 sm:p-5",children:[n.jsxs("div",{children:[n.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[n.jsx("p",{className:"text-[11px] font-semibold opacity-55",children:"날짜"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>p(Q=>Math.max(0,Q-1)),disabled:h===0,"aria-label":"이전 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(oa,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-xs font-bold",children:[g.getFullYear(),"년 ",g.getMonth()+1,"월"]}),n.jsx("button",{type:"button",onClick:()=>p(Q=>Math.min(Jh,Q+1)),disabled:h>=Jh,"aria-label":"다음 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(ua,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:Kh.map((Q,ae)=>n.jsx("span",{className:"text-center text-[10px] font-semibold",style:{opacity:ae===0||ae===6?.75:.45},children:Q},Q))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:x.map((Q,ae)=>Q===null?n.jsx("span",{"aria-hidden":!0},`pad-${ae}`):n.jsx("button",{type:"button",disabled:Q.past,onClick:()=>y(Q.iso),"aria-pressed":Q.iso===v,"aria-label":`${g.getMonth()+1}월 ${Q.day}일`,className:"flex h-9 items-center justify-center rounded-lg border text-xs transition-colors disabled:cursor-not-allowed",style:{borderColor:Q.iso===v?"var(--color-brand)":"transparent",backgroundColor:Q.iso===v?"var(--color-brand)":"var(--color-surface-alt)",color:Q.iso===v?"#fff":void 0,opacity:Q.past?.25:1,fontWeight:Q.iso===v?700:400},children:Q.day},Q.iso))}),(P==null?void 0:P.isWeekend)&&n.jsx("p",{className:"mt-2 text-[11px] opacity-55",children:"주말 요금이 적용되는 날짜입니다."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[11px] font-semibold opacity-55",children:[n.jsx(Cb,{className:"size-3"}),n.jsxs("span",{children:["도착 예정 시간 (체크인 ",o," 이후)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(Q=>{const ae=Q===z;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>w(Q),"aria-pressed":ae,className:"rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors",style:{borderColor:ae?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:ae?"var(--color-brand)":"var(--color-surface-alt)",color:ae?"#fff":void 0},children:Q})},Q)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[11px] font-semibold opacity-55",children:"객실"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:c.map(Q=>{const ae=Q.unitId===N;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>A(Q.unitId),"aria-pressed":ae,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-xs transition-colors",style:{borderColor:ae?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:Q.name}),Q.maxCapacity&&n.jsxs("span",{className:"shrink-0 opacity-55",children:["최대 ",Q.maxCapacity,"명"]})]})},Q.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[11px] font-semibold opacity-55",children:"인원"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>U(Q=>Math.max(1,Q-1)),"aria-label":"인원 줄이기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(Gb,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-sm font-bold",children:[D,"명"]}),n.jsx("button",{type:"button",onClick:()=>U(Q=>Math.min(K,Q+1)),"aria-label":"인원 늘리기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(Kb,{className:"size-3.5"})})]})]}),n.jsxs("div",{className:"rounded-xl border border-black/8 p-3",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[n.jsx("span",{className:"text-xs opacity-60",children:P?`${g.getMonth()+1}월 ${P.day}일 · ${($==null?void 0:$.name)??""} · ${D}명`:"날짜를 골라 주세요"}),G!=null&&n.jsxs("span",{className:"text-sm font-bold",style:{color:"var(--color-brand)"},children:[G.toLocaleString("ko-KR"),"원"]})]}),G!=null&&n.jsx("p",{className:"mt-1 text-[11px] opacity-50",children:"1박 기준 안내 요금입니다. 인원 추가·성수기 요금은 예약 창구에서 확인됩니다."})]}),n.jsx("button",{type:"button",disabled:!ee,onClick:()=>Z(!0),className:"w-full rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"예약 요청 확인하기"})]})]})}function jy({payload:i,summary:c,onReset:o}){const u=i.place.phone;return n.jsxs("div",{className:"space-y-4 p-4 sm:p-5",children:[n.jsxs("div",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"var(--color-brand)"},children:n.jsx(dp,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-sm font-bold",children:"예약 내용 확인"}),n.jsx("p",{className:"mt-0.5 text-xs leading-relaxed opacity-70",children:c})]})]}),n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[u&&n.jsxs("a",{href:`tel:${u}`,className:"flex flex-1 items-center justify-center gap-2 rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(_t,{className:"size-4"}),n.jsxs("span",{children:["전화로 예약하기 ",u]})]}),n.jsxs("button",{type:"button",onClick:o,className:"flex items-center justify-center gap-1.5 rounded-xl border border-black/10 px-4 py-3 text-xs font-semibold transition-colors hover:bg-black/5",children:[n.jsx(Wb,{className:"size-3.5"}),n.jsx("span",{children:"다시 고르기"})]})]})]})}function Fh(){const i=le(),c=W0(i);if(!c)return null;const{offers:o,notices:u,links:f,contacts:d,phone:h}=c;return n.jsx("section",{id:"booking","aria-labelledby":"booking-heading",className:"w-full border-b border-black/8 py-16 sm:py-24",style:{backgroundColor:"var(--color-surface-alt)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("p",{className:"mb-2 flex items-center gap-2 text-xs font-semibold uppercase tracking-wider opacity-50",children:[n.jsx(yb,{className:"size-4"}),n.jsx("span",{children:"Reservation"})]}),n.jsx("h2",{id:"booking-heading",className:"serif mb-2 text-2xl font-bold tracking-tight sm:text-3xl lg:text-4xl",children:Ye(i,"booking","예약 안내")}),n.jsx("p",{className:"mb-8 max-w-2xl text-xs leading-relaxed opacity-60 sm:text-sm",children:"빈 방 확인과 결제는 아래 예약 창구에서 진행됩니다. 이 페이지에서는 요금과 이용 조건만 안내합니다."}),n.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-5 lg:gap-6",children:[o.length>0&&n.jsxs("div",{className:"overflow-hidden rounded-2xl border border-black/8 lg:col-span-3",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-xs font-bold sm:px-5",children:[n.jsx(bb,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"객실별 요금 · 인원"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(p=>n.jsxs("li",{className:"p-4 sm:p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[n.jsx("h3",{className:"serif text-base font-bold sm:text-lg",children:p.name}),p.baseRateText&&n.jsx("span",{className:"text-sm font-bold",style:{color:"var(--color-brand)"},children:p.baseRateText})]}),p.capacityText&&n.jsx("p",{className:"mt-1 text-xs opacity-60",children:p.capacityText}),p.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:p.rateRows.map(g=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-xs",children:[n.jsx("dt",{className:"opacity-50",children:g.label}),n.jsx("dd",{className:"font-semibold",children:g.value})]},g.label))}),n.jsx("a",{href:p.href,className:"mt-3 inline-flex items-center gap-1 text-xs font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-70",children:n.jsxs("span",{children:[p.name," 사진 · 상세 보기"]})})]},p.unitId))})]}),n.jsxs("div",{className:"flex h-fit flex-col gap-3 rounded-2xl border border-black/8 p-4 sm:p-5 lg:col-span-2",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("p",{className:"text-xs font-bold",children:"예약 창구"}),h&&n.jsxs("a",{href:`tel:${h}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(_t,{className:"size-4"}),n.jsxs("span",{children:["전화 예약 ",h]})]}),f.map(p=>n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-2 rounded-xl border border-black/10 px-4 py-3 text-xs font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:Sp(p)}),n.jsx(Sn,{className:"size-3.5 shrink-0"})]},p.url)),d.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-xs opacity-50",children:"문의"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:d.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-lg border border-black/10 px-2.5 py-1.5 text-xs transition-colors hover:bg-black/5",children:[n.jsx("span",{children:ml(p)}),n.jsx(Sn,{className:"size-3"})]})},p.url))})]}),f.length===0&&n.jsx("p",{className:"text-xs leading-relaxed opacity-55",children:"온라인 예약 채널은 등록되지 않았습니다. 예약은 전화로 문의해 주세요."})]})]}),n.jsx(yy,{}),u.length>0&&n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-xs font-bold sm:px-5",children:[n.jsx(Ib,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"예약 전 확인"})]}),n.jsx("dl",{className:"grid grid-cols-1 divide-y divide-black/5 sm:grid-cols-2 sm:divide-y-0",children:u.map(p=>n.jsxs("div",{className:"flex flex-col gap-1 p-4 sm:flex-row sm:items-start sm:justify-between sm:gap-4 sm:p-5",children:[n.jsx("dt",{className:"shrink-0 text-xs opacity-55",children:p.label}),n.jsx("dd",{className:"text-xs font-semibold sm:max-w-[60%] sm:text-right",children:p.value})]},p.label))})]})]})})}function Ny(){const i=le(),c=G0(i);return c.length===0?null:n.jsx(vt,{id:"space",title:Ye(i,"space","공간 안내"),lead:"좌석과 이용 환경 안내입니다.",children:n.jsx("dl",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:c.map(o=>n.jsxs(bu,{className:"p-4 sm:p-5",children:[n.jsx("dt",{className:"text-muted mb-1 text-[length:var(--fs-xs)] font-medium",children:o.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:o.value})]},o.label))})})}function Sy(){const i=le(),{place:c}=i,o=wn(i);if(!c.phone&&!c.email&&o.length===0)return null;const u=[...c.phone?[{key:"phone",icon:_t,label:"전화",value:c.phone,href:`tel:${c.phone}`}]:[],...c.email?[{key:"email",icon:mp,label:"이메일",value:c.email,href:`mailto:${c.email}`}]:[],...o.map(f=>({key:f.url,icon:Io,label:ml(f),value:"바로 가기",href:f.url,external:!0}))];return n.jsx(vt,{id:"inquiry",title:Ye(i,"inquiry","문의 안내"),lead:`궁금한 점은 아래로 연락 주시면 ${c.name}에서 직접 안내해 드립니다.`,children:n.jsx("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 lg:gap-4",children:u.map(f=>{const d=f.icon,h="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...h?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-80",children:[n.jsxs("span",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(d,{className:"size-5 shrink-0 opacity-40"}),n.jsxs("span",{className:"min-w-0",children:[n.jsx("span",{className:"text-muted block text-[length:var(--fs-xs)] font-medium",children:f.label}),n.jsx("span",{className:"block break-all text-[length:var(--fs-sm)] font-semibold",children:f.value})]})]}),h&&n.jsx(Sn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function zy(){const i=le(),c=Q0(i);return c.length===0?null:n.jsx(vt,{id:"exhibition",tone:"alt",title:Ye(i,"exhibition","관람 안내"),lead:"방문 전 관람 조건을 확인해 주세요.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:c.map(o=>n.jsx(kp,{label:o.label,value:o.value},o.label))})})}function Ey(){const[i,c]=q.useState([]);return q.useEffect(()=>c(w0()),[]),i}const wy=["봄","여름","가을","겨울"];function Ty(){const i=le(),c=i.local.festivals,o=Ey(),[u,f]=q.useState(null);if(c.length===0)return null;const d=wy.filter(y=>c.some(z=>z.season===y)),h=c.filter(y=>{var z;return!((z=y.season)!=null&&z.trim())}),p=[...o].reverse().find(y=>d.includes(y)),g="전체",x=u??p??null,v=x===g;return n.jsxs(vt,{id:"festival",title:"계절별 축제",lead:`${i.place.addressLocality??"이 지역"}의 축제와 행사를 계절로 묶었습니다.`,aside:x&&!v?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["지금은 ",x," 축제입니다"]}):void 0,footnote:n.jsx(n.Fragment,{children:"한국관광공사 TourAPI 기준. 일정은 주최 측 사정으로 바뀔 수 있습니다."}),children:[d.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"계절",children:[...d,g].map(y=>{const z=x===y;return n.jsx("button",{type:"button",role:"tab","aria-selected":z,onClick:()=>f(y),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:z?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:y},y)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(y=>{const z=c.filter(w=>w.season===y);return n.jsxs("div",{hidden:!v&&x!==null&&x!==y,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:y}),n.jsx(Ih,{items:z,label:`${y} 축제`,remount:x})]},y)}),h.length>0&&n.jsxs("div",{children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:"계절 없이 열리는 행사"}),n.jsx(Ih,{items:h,label:"계절 없이 열리는 행사"})]})]})]})}function Ih({items:i,label:c,remount:o}){return n.jsx(gu,{label:c,children:i.map(u=>n.jsx(Mp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Vo(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-85",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[u.imageUrl?n.jsx("img",{src:u.imageUrl,alt:`${u.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:u.name}),n.jsx("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:u.month})]}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:u.name}),u.period&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-medium opacity-80",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx(Ls,{className:"mt-0.5 size-3 shrink-0 opacity-60"}),n.jsx("span",{children:u.location})]}),u.description&&n.jsx("span",{className:"text-muted line-clamp-3 pt-0.5 text-[length:var(--fs-xs)] leading-relaxed",children:u.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-70 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(Sn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const _s=80,Ph=[{id:"all",label:"전체",test:()=>!0},{id:"w5",label:"걸어서 5분 이내",test:i=>i<=5*_s},{id:"w10",label:"걸어서 10분 이내",test:i=>i<=10*_s},{id:"far",label:"걸어서 10분 이상",test:i=>i>10*_s}];function Bo(i){if(Number.isFinite(i))return`도보 약 ${Math.max(1,Math.round(i/_s))}분`}function Cs(i){const c=/^([\d.]+)\s*(km|m)$/i.exec((i??"").trim());return c?Number(c[1])*(c[2].toLowerCase()==="km"?1e3:1):1/0}function Ay(){const i=le(),{local:c}=i,o=c.restaurants.length>0||c.attractions.length>0,[u,f]=q.useState("all");if(!o)return null;const d=[...c.restaurants,...c.attractions],h=v=>d.filter(y=>v.test(Cs(y.distanceText))).length,p=Ph.filter((v,y)=>y===0||h(v)>0&&h(v)v.id===u)??Ph[0],x=v=>g.test(Cs(v.distanceText));return n.jsxs(vt,{id:"guide",tone:"alt",title:"주변 안내",lead:`${i.place.addressLocality??"주변"} 지역의 맛집 · 명소 안내입니다.`,aside:c.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[nu(c.syncedAt)," 갱신"]}):void 0,footnote:n.jsxs(n.Fragment,{children:["도보 시간은 숙소에서 잰 직선거리를 분속 ",_s,"m 로 환산한 값입니다. 실제로 걷는 길은 이보다 깁니다."]}),children:[p.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"거리",children:p.map(v=>{const y=v.id===u,z=h(v);return n.jsxs("button",{type:"button",role:"tab","aria-selected":y,onClick:()=>f(v.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:y?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[v.label," ",n.jsx("span",{className:"tabular-nums opacity-70",children:z})]},v.id)})}),n.jsxs("div",{className:"space-y-10",children:[c.restaurants.length>0&&n.jsx(ep,{title:"주변 맛집",icon:e0,places:c.restaurants,within:x}),c.attractions.length>0&&n.jsx(ep,{title:"주변 명소",icon:Ls,places:c.attractions,within:x})]})]})}function _y({icon:i,children:c}){return n.jsxs("h3",{className:"border-line mb-4 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(i,{className:"size-4 opacity-50"}),n.jsx("span",{children:c})]})}function ep({title:i,icon:c,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(_y,{icon:c,children:i}),n.jsx(gu,{label:i,children:f.map(d=>n.jsx(Mp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Vo(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-85",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[d.imageUrl?n.jsx("img",{src:d.imageUrl,alt:`${d.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:d.name}),d.distanceText&&n.jsxs("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:[Bo(Cs(d.distanceText))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal opacity-70",children:d.distanceText})]})]}),n.jsxs("span",{className:"flex flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:d.name}),d.description&&n.jsx("span",{className:"text-muted line-clamp-3 text-[length:var(--fs-xs)] leading-relaxed",children:d.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-70 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(Sn,{className:"size-3.5"})]})]})]})},d.name))},f.length),n.jsx("ul",{hidden:!0,children:o.filter(d=>!u(d)).map(d=>n.jsxs("li",{children:[n.jsx("a",{href:Vo(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,Bo(Cs(d.distanceText))&&` · ${Bo(Cs(d.distanceText))}`]}),d.description&&n.jsx("p",{children:d.description})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 거리 안에는 없습니다."})]})}function Cy(i){return i===0?"맑음":i>=1&&i<=3?"구름많음":i>=50&&i<=69?"비":i>=70&&i<=79?"눈":"흐림"}function My({initial:i,regionCode:c,latitude:o,longitude:u}){const[f,d]=q.useState(i);return q.useEffect(()=>{if(!c||o==null||u==null)return;const h=new AbortController;async function p(){var x;try{const v=new URLSearchParams({region_code:c,latitude:String(o),longitude:String(u)}),y=await fetch(`/v1/local/weather?${v}`,{signal:h.signal});if(!y.ok)return;const z=await y.json();if(!((x=z==null?void 0:z.result)!=null&&x.success)||!z.weather)return;d(w=>({temperature:Number(z.weather.temperature),condition:Cy(Number(z.weather.weather_code)),note:w==null?void 0:w.note,observedAt:z.weather.observed_at,stale:!!z.stale}))}catch{}}p();const g=window.setInterval(()=>void p(),600*1e3);return()=>{h.abort(),window.clearInterval(g)}},[o,u,c]),f}function ky(i){const c=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(i??"");if(!c)return;const[,,o,u,f,d]=c;return`${Number(o)}월 ${Number(u)}일 ${f}:${d} 관측`}function Oy(){var p,g,x,v;const i=le(),c=My({initial:i.local.weather,regionCode:i.place.regionCode,latitude:i.place.latitude,longitude:i.place.longitude});if(!c)return null;const o=O0(c.condition),u=D0(c.temperature),f=((g=(p=i.local.weather)==null?void 0:p.notes)==null?void 0:g[o])??c.note,d=(v=(x=i.local.weather)==null?void 0:x.tempNotes)==null?void 0:v[u],h=ky(c.observedAt);return n.jsx(vt,{id:"weather",tone:"alt",title:"오늘의 날씨",children:n.jsxs(bu,{className:"relative overflow-hidden",children:[n.jsx("div",{className:"w4-sky","data-mood":o,"aria-hidden":!0}),n.jsxs("div",{className:"relative flex flex-col gap-5 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[n.jsxs("p",{className:"flex items-baseline gap-2.5",children:[n.jsx("span",{className:"serif tabular-nums leading-none",style:{fontSize:"var(--fs-display)"},children:Math.round(c.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] opacity-70",children:"°C"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:c.condition})]}),h&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[h,c.stale&&" · 최근 관측값"]})]}),f&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose opacity-85",children:f}),d&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:[n.jsx("span",{className:"border-line mt-0.5 shrink-0 rounded-full border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold","aria-hidden":!0,children:u}),n.jsx("span",{children:d})]})]})]})})}function Dy(){const i=le(),c=lu(i),o=i.theme.sections.find(A=>A.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=q.useState(null),h=q.useRef(null),[p,g]=q.useState(0),[x,v]=q.useState({prev:!1,next:!0}),y=q.useCallback(()=>{const A=h.current;if(!A)return;const D=A.clientWidth,U=A.scrollWidth-D;g(D>0?Math.round(A.scrollLeft/D):0),v({prev:A.scrollLeft>8,next:A.scrollLeft(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),xu({box:h,interval:pu,advance:()=>Cp(h.current,1)});const z=q.useCallback(A=>{const D=h.current;if(!D)return;const U=window.matchMedia("(prefers-reduced-motion: reduce)").matches;D.scrollBy({left:A*D.clientWidth,behavior:U?"auto":"smooth"})},[]),w=q.useCallback(()=>d(null),[]),N=q.useCallback(A=>d(D=>D===null?null:(D+A+c.length)%c.length),[c.length]);return q.useEffect(()=>{if(f===null)return;const A=U=>{U.key==="Escape"&&w(),U.key==="ArrowLeft"&&N(-1),U.key==="ArrowRight"&&N(1)},D=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",A),()=>{document.body.style.overflow=D,window.removeEventListener("keydown",A)}},[f,w,N]),c.length===0?null:n.jsxs(vt,{id:"gallery",title:(o==null?void 0:o.name)||"공간 갤러리",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:h,onScroll:y,className:"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] lg:grid lg:grid-cols-4 lg:gap-3 lg:snap-none lg:overflow-visible [&::-webkit-scrollbar]:hidden",children:c.map((A,D)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(qo,{image:A,onOpen:()=>d(D),className:"aspect-4/3 rounded-lg"})},A.mediaId))}),c.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(tp,{dir:"prev",show:x.prev,onClick:()=>z(-1)}),n.jsx(tp,{dir:"next",show:x.next,onClick:()=>z(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-full bg-black/55 px-2.5 py-1 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white lg:hidden",children:[Math.min(p+1,c.length)," / ",c.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:c.map((A,D)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(qo,{image:A,onOpen:()=>d(D),className:"rounded-lg",free:!0})},A.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:c.map((A,D)=>n.jsx("li",{children:n.jsx(qo,{image:A,onOpen:()=>d(D),className:"aspect-square rounded-lg"})},A.mediaId))}),f!==null&&n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"사진 크게 보기",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/92 p-4 backdrop-blur-md",onClick:w,children:[n.jsx("button",{type:"button",onClick:w,"aria-label":"닫기",className:"tap absolute right-3 top-3 z-10 flex items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 sm:right-5 sm:top-5",children:n.jsx(pp,{className:"size-6"})}),n.jsx(lp,{dir:"prev",onClick:()=>N(-1)}),n.jsx(lp,{dir:"next",onClick:()=>N(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:A=>A.stopPropagation(),children:[n.jsx("img",{src:c[f].url,alt:c[f].alt,className:"max-h-[72vh] w-auto max-w-full rounded-lg object-contain"}),n.jsxs("figcaption",{className:"text-center text-[length:var(--fs-xs)] text-white/70",children:[c[f].caption??c[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",c.length]})]})]})]})]})}function tp({dir:i,show:c,onClick:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:o,"aria-label":i==="prev"?"이전 사진":"다음 사진","aria-hidden":!c,tabIndex:c?0:-1,className:`absolute top-1/2 z-10 flex size-9 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 lg:hidden ${c?"opacity-100":"pointer-events-none opacity-0"} ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function lp({dir:i,onClick:c}){const o=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),c()},"aria-label":i==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 ${i==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function qo({image:i,onOpen:c,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:c,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${i.alt} 크게 보기`,children:n.jsx("img",{src:i.url,alt:i.alt,loading:"lazy",decoding:"async",width:i.width,height:i.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function ap(){const i=le(),{place:c,routes:o}=i,[u,f]=q.useState(!1),d=c.roadAddress??c.address;if(!d)return null;const{latitude:h,longitude:p}=c,g=h!=null&&p!=null,x=jv(c.name,h,p),v=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(vt,{id:"location",title:"오시는 길",lead:"주소와 주요 거점까지의 이동 시간을 안내합니다.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[g&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${c.name} 위치 지도`,src:yv(h,p),loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"block aspect-4/3 w-full border-0 sm:aspect-video lg:aspect-auto lg:h-full lg:min-h-[24rem]"})}),n.jsx("div",{className:g?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:"panel p-5 sm:p-6",children:[n.jsx("p",{className:"label mb-2",children:"주소"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[n.jsx("address",{className:"text-[length:var(--fs-lead)] font-bold not-italic",children:d}),n.jsxs("button",{type:"button",onClick:v,title:"주소 복사",className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/8 px-2.5 py-1.5 text-[length:var(--fs-xs)] font-medium transition-opacity hover:opacity-70",children:[u?n.jsx(dp,{className:"size-3.5"}):n.jsx(kb,{className:"size-3.5"}),n.jsx("span",{children:u?"복사완료":"복사"})]})]}),c.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["문의:"," ",n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-2 hover:underline",children:c.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:wp(c.name,h,p),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#03C75A] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"네이버 길찾기"})]}),n.jsxs("a",{href:bv(c.name,h,p),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#FEE500] px-4 text-[length:var(--fs-sm)] font-bold text-[#191600] transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"카카오 길찾기"})]}),x&&n.jsxs("a",{href:x,className:"tap only-touch flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#0064FF] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"티맵 길찾기"})]})]})]})})]}),o.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(zb,{className:"size-4 opacity-50"}),n.jsx("span",{children:"주요 거점 소요시간"})]}),n.jsx("div",{className:"panel overflow-hidden",children:n.jsx("div",{className:"slider-viewport",children:n.jsxs("table",{className:"w-full min-w-[34rem] text-left text-[length:var(--fs-sm)]",children:[n.jsxs("caption",{className:"sr-only",children:[i.place.name,"에서 주요 거점까지의 이동 시간"]}),n.jsx("thead",{className:"panel-sunken border-line border-b font-semibold",children:n.jsxs("tr",{children:[n.jsx("th",{scope:"col",className:"p-4",children:"목적지"}),n.jsx("th",{scope:"col",className:"p-4",children:"차량"}),n.jsx("th",{scope:"col",className:"p-4",children:"도보 / 대중교통"}),n.jsx("th",{scope:"col",className:"p-4",children:"거리"}),n.jsx("th",{scope:"col",className:"hidden p-4 md:table-cell",children:"비고"})]})}),n.jsx("tbody",{className:"divide-line divide-y",children:o.map(y=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:y.destination}),n.jsx("td",{className:"p-4 font-semibold",children:y.byCar??"—"}),n.jsx("td",{className:"p-4 opacity-70",children:y.byTransit??"—"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:y.distanceText??"—"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:y.note??""})]},y.destination))})]})})})]})]})}function Ry(){const i=le(),c=R0(i);if(c.length===0)return null;const o=c.some(u=>u.sourceType===f0.TEMPLATE);return n.jsx(vt,{id:"faq",tone:"alt",title:"자주 묻는 질문",lead:o?void 0:"아래 답변은 모두 사업자가 확인한 내용입니다.",children:n.jsx("div",{className:c.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:c.map((u,f)=>n.jsxs("details",{open:f===0,className:"panel group h-fit overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-3 px-5 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"serif text-muted shrink-0",children:"Q."}),n.jsx("span",{className:"flex-1",children:u.question}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line border-t px-5 pb-5 pt-4 text-[length:var(--fs-sm)] leading-relaxed opacity-80",children:u.answer})]},u.faqId))})})}function Op(){var d,h,p,g;const i=le(),{place:c,site:o}=i,u=A0(i),f=c.roadAddress??c.address;return n.jsx("footer",{className:"w-full pb-28 pt-14 md:pb-14",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid grid-cols-1 gap-8 border-b border-current/15 pb-10 md:grid-cols-12",children:[n.jsxs("div",{className:"space-y-4 md:col-span-7",children:[n.jsx("p",{className:"serif text-[length:var(--fs-lead)] font-bold",children:c.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] opacity-75",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx(Ls,{className:"mt-1 size-4 shrink-0 opacity-60"}),n.jsx("span",{children:f})]}),c.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(_t,{className:"size-4 shrink-0 opacity-60"}),n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-2 hover:underline",children:c.phone})]}),c.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(mp,{className:"size-4 shrink-0 opacity-60"}),n.jsx("a",{href:`mailto:${c.email}`,className:"underline-offset-2 hover:underline",children:c.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"공식 채널",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current opacity-60",children:"공식 채널"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(x=>n.jsx("li",{children:n.jsxs("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-lg border border-current/25 px-3 py-2 text-[length:var(--fs-xs)] font-medium transition-colors hover:bg-current/10",children:[n.jsx("span",{children:ml(x)}),n.jsx(Db,{className:"size-3.5"})]})},x.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] opacity-55 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",c.name]}),((d=c.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["대표: ",c.legal.representative]}),((h=c.legal)==null?void 0:h.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",c.legal.businessRegistrationNumber]}),((p=c.legal)==null?void 0:p.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",c.legal.mailOrderNumber]}),((g=c.legal)==null?void 0:g.licenseNumber)&&n.jsxs("span",{children:[c.legal.licenseLabel??"인허가번호",": ",c.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",c.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:qs(o.updatedAt)})]})]})]})})}function Tn(){const i=le(),c=i.place.phone,u=Ze(i)[0],f=i.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!c&&!u&&!f?null:n.jsxs("nav",{"aria-label":"연락 · 예약",className:"border-line safe-b fixed inset-x-0 bottom-0 z-50 flex items-stretch gap-2 border-t px-3 pt-2 backdrop-blur-md lg:hidden",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 94%, transparent)"},children:[n.jsxs("a",{href:"#location",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[10px] font-medium","aria-label":"오시는 길",children:[n.jsx(Ls,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"위치"})]}),f&&n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[10px] font-medium","aria-label":ml(f),children:[n.jsx(Io,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"문의"})]}),c&&n.jsxs("a",{href:`tel:${c}`,className:"tap border-line flex flex-1 items-center justify-center gap-1.5 rounded-lg border text-[length:var(--fs-sm)] font-bold",children:[n.jsx(_t,{className:"size-4"}),n.jsx("span",{children:"전화"})]}),u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex min-w-0 flex-[1.4] items-center justify-center truncate rounded-lg px-2 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u)})]})}const tl="var(--tpl-card, #fafafa)",Ce="var(--tpl-border, #d6d3d1)",We="color-mix(in oklab, var(--tpl-accent, #2563eb) 70%, currentColor)",Ms="var(--tpl-inverse, #1c1917)",ra="var(--tpl-bg, #ffffff)",ul="var(--tpl-text, #09090b)";function Uy({n:i}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[10px] tabular-nums",style:{backgroundColor:We,color:ra},children:i})}function Rl({id:i,name:c,subtitle:o,count:u,link:f,children:d,dark:h}){const p=hc(),g=p==="reservation"?iu:p==="oasi"?cu:p==="studio"?ru:p==="pastel"?ou:p==="editorial"?au:null,x=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 opacity-75 transition-opacity hover:opacity-100 hover:underline",children:[f.label," →"]}):void 0;return n.jsx("section",{id:i,"aria-labelledby":`${i}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:h?Ms:"var(--tpl-surface, #fafafa)",color:h?ra:ul,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[g?n.jsx(g,{id:i,title:c,lead:o,aside:x}):n.jsxs("header",{className:"mb-8 sm:mb-10",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-2",children:[n.jsx("h2",{id:`${i}-heading`,className:"h2",children:c}),x]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-70",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] opacity-60",children:u})]})})}function Gs({children:i,label:c,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(gu,{label:c,gap:1,arrows:o,onSelect:u,onReady:f,children:i})}function fa({source:i,verified:c,imageCredit:o}){return!(i!=null&&i.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[10px] opacity-70",children:[(i==null?void 0:i.name)&&n.jsxs("span",{children:["출처 ·"," ",i.url?n.jsx("a",{href:i.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:i.name}):i.name]}),o&&n.jsxs("span",{children:["사진 · ",o]})]})}function Hs(i,c,o){return`총 ${i}${o}`}const np=We;function Dp(){const i=le(),c=dl(i,"songs"),[o,u]=q.useState(0);if(c.items.length===0)return null;const f=c.items[o]??c.items[0],d=h=>[h.artist,h.year?String(h.year):void 0,h.lyricist||h.composer?`작사 ${h.lyricist??"미상"} / 작곡 ${h.composer??"미상"}`:void 0,h.label].filter(Boolean).join(" · ");return n.jsxs(Rl,{id:"songs",name:c.title||Ye(i,"songs","가요 다방"),subtitle:c.subtitle,count:Hs(c.items.length,c.unverified,"곡"),children:[n.jsxs("div",{className:"tpl-border grid items-center gap-8 border p-6 sm:p-8 md:grid-cols-[240px_minmax(0,1fr)]",style:{backgroundColor:Ms,color:ra,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsxs("div",{className:"relative mx-auto size-[220px]",children:[n.jsx("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 16%, transparent)"}}),n.jsx("div",{className:"w4-disc w4-spin absolute inset-2 rounded-full",style:{"--lbl":f.labelColor||np,"--w4-vinyl":Ms},children:n.jsx("span",{className:"absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 30%, transparent)"}})}),n.jsxs("div",{"aria-hidden":!0,className:"absolute -right-1 top-3 h-2 w-[110px] origin-right rotate-6",children:[n.jsx("span",{className:"absolute inset-y-[3px] left-0 right-4 rounded-sm",style:{backgroundColor:"color-mix(in oklab, currentColor 65%, transparent)"}}),n.jsx("span",{className:"absolute -top-2 right-0 size-6 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 55%, transparent)"}})]})]}),n.jsx("div",{className:"min-w-0",children:c.items.map((h,p)=>n.jsxs("div",{hidden:p!==o,className:"space-y-3",children:[n.jsxs("p",{className:"text-[10px] tracking-[0.24em]",style:{color:We},children:["A면 · ",p+1," / ",c.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:h.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] opacity-60",children:d(h)}),h.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:h.story}),h.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:We},children:h.connection}),n.jsxs("a",{href:gv(`${h.title} ${h.artist??""}`.trim()),target:"_blank",rel:"noopener noreferrer nofollow",className:"inline-flex items-center gap-1.5 text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",style:{color:We},children:[n.jsx(a0,{className:"size-4"}),n.jsx("span",{children:"유튜브에서 듣기"})]}),n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[10px] tracking-[0.1em] opacity-60",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"◎ 가사 대신 이야기 — 원문은 싣지 않습니다"}),n.jsx(fa,{source:h.source,verified:h.verified})]},`disc-${h.title}-${p}`))})]}),c.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:c.items.map((h,p)=>n.jsxs("button",{type:"button",onClick:()=>u(p),"aria-pressed":p===o,className:"w-24 text-center",children:[n.jsx("span",{className:"w4-disc-mini mx-auto block size-[76px] rounded-full transition-transform hover:scale-105",style:{"--lbl":h.labelColor||np,"--w4-vinyl":Ms,boxShadow:p===o?`0 0 0 2px ${We}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[10px] leading-tight opacity-70",children:h.title})]},`${h.title}-${p}`))})]})}function Rp(){const i=le(),c=dl(i,"daily"),[o,u]=q.useState();if(q.useEffect(()=>{const g=new Date;u(`${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`)},[]),c.items.length===0)return null;const f=[...c.items].sort((g,x)=>g.monthDay.localeCompare(x.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const g=f.findIndex(v=>v.monthDay===o);if(g>=0)return g;const x=f.findIndex(v=>v.monthDay>o);return x>=0?x:0})()),h=g=>f[(d+g+f.length)%f.length],p=f.length===1?[h(0)]:f.length===2?[h(0),h(1)]:[h(-1),h(0),h(1)];return n.jsx(Rl,{id:"daily",name:c.title||Ye(i,"daily","오늘의 한 장"),subtitle:c.subtitle,count:Hs(f.length,c.unverified,"장"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((g,x)=>{const v=p.indexOf(g);return n.jsx(Hy,{page:g,hidden:v<0,isToday:p.length===1||v===1,muted:p.length>1&&v!==1},`${g.monthDay}-${x}`)})})})}function Hy({page:i,isToday:c,muted:o,hidden:u}){const[f,d]=i.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] opacity-45 sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:tl,borderColor:c?We:Ce,boxShadow:c?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":c?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":tl,borderColor:Ce}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Ce},children:[n.jsxs("p",{className:"text-[11px] tracking-[0.2em] opacity-60",children:[f,"月"]}),n.jsx("p",{className:`serif mt-1 font-bold leading-none ${o?"text-4xl":"text-6xl"}`,style:{color:We},children:String(Number(d)||d)}),c&&n.jsx("p",{className:"mt-1.5 text-[10px] tracking-[0.3em]",style:{color:We},children:"오늘"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[i.category&&n.jsx("p",{className:"text-[10px] tracking-[0.16em] opacity-60",children:i.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:i.title}),!o&&i.body&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:i.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:i.source,verified:i.verified})})]})]})}function Up(){const i=le(),c=dl(i,"people");return c.items.length===0?null:n.jsx(Rl,{id:"people",name:c.title||Ye(i,"people","인물 열전"),subtitle:c.subtitle,count:c.items.some(o=>!o.imageUrl)?`${Hs(c.items.length,c.unverified,"명")} · 사진이 없는 인물은 이름 활자로 대신합니다`:Hs(c.items.length,c.unverified,"명"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Ms,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 opacity-70"}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Gs,{label:"인물 목록",arrows:"overlay",children:c.items.map((o,u)=>n.jsxs("article",{className:"w-[210px] shrink-0 snap-center",children:[o.imageUrl?n.jsx("img",{src:o.imageUrl,alt:`${o.name} 사진`,loading:"lazy",decoding:"async",className:"aspect-3/4 w-full border object-cover",style:{borderColor:"color-mix(in oklab, currentColor 28%, transparent)"}}):n.jsx("span",{className:"serif grid aspect-3/4 w-full place-items-center border text-5xl",style:{backgroundColor:"color-mix(in oklab, currentColor 14%, transparent)",borderColor:"color-mix(in oklab, currentColor 28%, transparent)"},"aria-hidden":!0,children:o.name.trim().charAt(0)}),n.jsxs("h3",{className:"serif mt-3 text-base font-bold",children:[o.name,o.aka&&n.jsxs("span",{className:"ml-1.5 text-xs opacity-60",children:["호 ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[11px] opacity-60",children:[o.role,o.years].filter(Boolean).join(" · ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[13px] leading-relaxed opacity-85",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(fa,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 opacity-70"})]})})}function Hp(){const i=le(),c=dl(i,"chronicle");if(c.items.length===0)return null;const o=[...c.items].sort((f,d)=>f.year==null?d.year==null?0:1:d.year==null?-1:f.year-d.year),u=o.filter(f=>f.turning===!0).length;return n.jsx(Rl,{id:"chronicle",name:c.title||Ye(i,"chronicle","시간의 골목"),subtitle:c.subtitle,count:`붉은 점은 도시의 성격이 바뀐 해입니다 · ${u}개 / 전체 ${o.length}개`,children:n.jsx(Gs,{label:"연표",children:o.map((f,d)=>{const h=f.turning===!0;return n.jsxs("article",{className:"w-[228px] shrink-0 snap-center",children:[n.jsx("p",{className:"serif text-3xl font-bold leading-none",style:{color:h?We:void 0},children:f.year??"연도 미상"}),n.jsxs("div",{className:"relative my-3 h-3",children:[n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 border-t",style:{borderColor:Ce,right:d===o.length-1?"calc(100% - 12px)":0}}),n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 size-3 -translate-y-1/2 rounded-full border-2",style:{backgroundColor:h?We:tl,borderColor:h?We:Ce}})]}),n.jsxs("div",{className:"flex gap-2.5 pr-5",children:[f.imageUrl&&n.jsx("img",{src:f.imageUrl,alt:`${f.title} 사진`,loading:"lazy",decoding:"async",className:"size-14 shrink-0 border object-cover",style:{borderColor:Ce}}),n.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[n.jsx("h3",{className:"serif text-base font-bold",children:f.title}),f.summary&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[11px] opacity-60",children:["지금 이 자리 · ",f.place]}),n.jsx(fa,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function Lp(){const i=le(),c=dl(i,"postcard");return c.items.length===0?null:n.jsx(Rl,{id:"postcard",name:c.title||Ye(i,"postcard","오늘의 엽서"),subtitle:c.subtitle,count:Hs(c.items.length,c.unverified,"장"),children:n.jsx(Gs,{label:"엽서 목록",children:c.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:tl,borderColor:ul},children:[o.imageUrl&&n.jsx("img",{src:o.imageUrl,alt:`${o.place||o.postmark||"엽서"} 사진`,loading:"lazy",decoding:"async",className:"block aspect-3/2 w-full border object-cover",style:{borderColor:Ce}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[10px] leading-tight opacity-45",children:["사진 · ",o.imageCredit||"출처 표기 없음"]}),n.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-3",children:[n.jsxs("div",{className:"min-w-0 border-r pr-3",style:{borderColor:Ce},children:[n.jsxs("p",{className:"serif text-[17px] leading-snug",children:["“",o.line,"”"]}),o.hashtags&&o.hashtags.length>0&&n.jsx("p",{className:"mt-2 text-[11px] opacity-60",children:o.hashtags.join(" ")})]}),n.jsxs("div",{className:"flex w-[62px] flex-col items-center gap-3",children:[n.jsxs("span",{className:"grid h-[56px] w-[44px] place-items-center border border-dashed text-center text-[9px] leading-tight opacity-60",style:{borderColor:Ce},children:["郵票",n.jsx("br",{}),"10원"]}),n.jsx("span",{className:"serif grid size-[54px] -rotate-6 place-items-center rounded-full border-2 px-1 text-center text-[9px] leading-tight",style:{borderColor:We,color:We},children:o.postmark||o.place||"소인"})]})]}),n.jsx("div",{className:"mt-3 border-t border-dashed pt-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function Ly(){const i=le(),c=dl(i,"quiz"),[o,u]=q.useState(new Set);if(c.items.length===0)return null;const f=d=>u(h=>{const p=new Set(h);return p.has(d)?p.delete(d):p.add(d),p});return n.jsx(Rl,{id:"quiz",name:c.title||Ye(i,"quiz","뒤집어 보는 질문"),subtitle:c.subtitle,count:`정답은 두지 않습니다 — 힌트와 출처까지만 · 총 ${c.items.length}문항`,children:n.jsx(Gs,{label:"질문 목록",children:c.items.map((d,h)=>{const p=o.has(h);return n.jsx("button",{type:"button",onClick:()=>f(h),"aria-pressed":p,"aria-label":`${h+1}번 문제 ${p?"앞면 보기":"힌트 보기"}`,className:`w4-flip ${p?"w4-flip-on":""} h-[260px] w-[262px] shrink-0 text-left`,children:n.jsxs("span",{className:"w4-flip-inner block size-full",children:[n.jsxs("span",{className:"w4-flip-face w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:tl,borderColor:ul},children:[n.jsxs("span",{className:"text-[10px] tracking-[0.16em] opacity-60",children:["문제 ",h+1,d.level?` · ${d.level}`:""]}),n.jsx("span",{className:"serif text-[17px] font-bold leading-snug",children:d.question}),n.jsx("span",{className:"mt-auto text-[10px] tracking-[0.16em]",style:{color:We},children:"눌러서 힌트 보기 →"})]}),n.jsxs("span",{className:"w4-flip-face w4-flip-back w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:tl,borderColor:We},children:[n.jsx("span",{className:"text-[10px] tracking-[0.16em]",style:{color:We},children:"힌트"}),n.jsx("span",{className:"text-[13px] leading-relaxed opacity-85",children:d.hint??"힌트가 아직 없습니다."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Ce},children:[d.topic&&n.jsx("span",{className:"block text-[10px] opacity-55",children:d.topic}),n.jsx(fa,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${h}`)})})})}const Dl=256,Ts=318,Nn=168,sp=34,By=16,ip=4;function Bp(i,c,o){const u=Dl*2**o,f=i*Math.PI/180;return{x:(c+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function qy(i){if(i.length<2)return 15;for(let c=By;c>ip;c-=1){const o=i.map(d=>Bp(d.lat,d.lng,c)),u=Math.max(...o.map(d=>d.x))-Math.min(...o.map(d=>d.x)),f=Math.max(...o.map(d=>d.y))-Math.min(...o.map(d=>d.y));if(u<=Ts-sp*2&&f<=Nn-sp*2)return c}return ip}function Yy(i,c){const o=d=>d.latitude!=null&&d.longitude!=null?{name:d.searchQuery??d.name,lat:d.latitude,lng:d.longitude}:void 0,u=[];let f=c;return i.forEach((d,h)=>{const p=o(d);p&&(u.push({label:String(h+1),...p,stop:d,from:f&&!Gy(f,p)?f:void 0}),f=p)}),u}function Gy(i,c){return Math.abs(i.lat-c.lat)<1e-5&&Math.abs(i.lng-c.lng)<1e-5}function $y(i){const o=i.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-v.x,o[u].y-v.y)<27);if(!d)break;const h=o[u].x-d.x,p=o[u].y-d.y,g=Math.hypot(h,p)||1,x=(27-g)/g;o[u].x+=(h||1)*x,o[u].y+=p*x}return o}function Qy(i){return i.from?vv(i.from,{name:i.stop.name,lat:i.lat,lng:i.lng}):wp(i.stop.searchQuery??i.stop.name,i.lat,i.lng)}function Xy({stops:i}){const{place:c}=le(),o=c.latitude!=null&&c.longitude!=null?{name:c.name,lat:c.latitude,lng:c.longitude}:void 0,u=i.filter(N=>N.latitude!=null&&N.longitude!=null);if(u.length===0||u.length===1&&i.length>1)return null;const f=Yy(i,o),d=qy(f),h=$y(f.map(N=>Bp(N.lat,N.lng,d))),p=(Math.min(...h.map(N=>N.x))+Math.max(...h.map(N=>N.x)))/2,g=(Math.min(...h.map(N=>N.y))+Math.max(...h.map(N=>N.y)))/2,x=p-Ts/2,v=g-Nn/2,y=2**d,z=[];for(let N=Math.floor(x/Dl);N<=Math.floor((x+Ts)/Dl);N+=1)for(let A=Math.floor(v/Dl);A<=Math.floor((v+Nn)/Dl);A+=1){if(A<0||A>=y)continue;const D=(N%y+y)%y;z.push({key:`${N}-${A}`,url:`https://tile.openstreetmap.org/${d}/${D}/${A}.png`,left:N*Dl-x,top:A*Dl-v})}const w=h.map(N=>`${(N.x-x).toFixed(1)},${(N.y-v).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:Nn,borderColor:Ce,backgroundColor:"#e8e5df"},children:[z.map(N=>n.jsx("img",{src:N.url,alt:"",width:Dl,height:Dl,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:N.left,top:N.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},N.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:Ts,height:Nn,viewBox:`0 0 ${Ts} ${Nn}`,children:n.jsx("polyline",{points:w,fill:"none",stroke:We,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((N,A)=>{const D=h[A];return n.jsx("a",{href:Qy(N),target:"_blank",rel:"noopener noreferrer",title:N.from?`${N.from.name} → ${N.stop.name} 길찾기`:`${N.stop.name} — 네이버 지도`,className:"absolute grid h-[22px] min-w-[22px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full px-1.5 text-[11px] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:D.x-x,top:D.y-v,backgroundColor:We,color:ra,border:`1.5px solid ${ra}`},children:N.label},N.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[9px] leading-tight text-stone-600",children:"© OpenStreetMap"})]})}function Vy(i){const c=Math.floor(i/60),o=i%60;return[c>0?`${c}시간`:"",o>0?`${o}분`:""].filter(Boolean).join(" ")||"0분"}function Jo(i){var c;return(c=i.days)!=null&&c.length?i.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:i.startTime,stops:i.stops??[]}]}function Zy({item:i,badge:c,startTime:o,stops:u,first:f,placeName:d}){const h=E0({name:i.name,startTime:o,stops:u});return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:tl,borderColor:Ce},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Ce},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[11px] font-bold",style:f?{backgroundColor:ul,color:ra,borderColor:ul}:{borderColor:Ce},children:c}),n.jsxs("span",{className:"text-[11px] opacity-60",children:[h.from,"–",h.to," · ",Vy(h.totalMinutes)]})]}),n.jsxs("div",{className:"space-y-1.5 px-4 pt-3.5",children:[n.jsx("h3",{className:"serif text-lg font-bold",children:i.name}),f&&i.audience&&n.jsx("p",{className:"text-[12px] opacity-60",children:i.audience}),f&&i.why&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:i.why}),f&&n.jsxs("p",{className:"text-[11px] opacity-50",children:[d,"에서 출발 · ",h.from]})]}),n.jsx(Xy,{stops:h.stops.map(p=>p.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:h.stops.map((p,g)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[12px] tabular-nums opacity-75",children:p.time}),n.jsxs("div",{className:"border-l pb-5 pl-3",style:{borderColor:Ce},children:[p.move>0&&n.jsxs("p",{className:"pt-1 text-[10px] opacity-50",children:["↓ ",p.move,"분 이동"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[p.stop.imageUrl&&n.jsx("img",{src:p.stop.imageUrl,alt:`${p.stop.name} 사진`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Ce}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-sm font-bold",children:[n.jsx(Uy,{n:g+1}),p.stop.name]}),p.stop.note&&n.jsx("span",{className:"mt-0.5 block text-[12px] leading-relaxed opacity-75",children:p.stop.note})]})]}),n.jsxs("p",{className:"mt-0.5 text-[10px] opacity-50",children:[p.time,"–",p.until,p.stop.searchQuery&&` · 지도 검색 ${p.stop.searchQuery}`]})]})]},`${p.stop.name}-${g}`))}),n.jsx("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:i.source,verified:i.verified})})]})}const Yo="그 밖의 일정";function Ky(){var g;const i=le(),c=dl(i,"itinerary"),u=(c.items.length>0?c.items:((g=i.local)==null?void 0:g.itineraries)??[]).filter(x=>Jo(x).some(v=>v.stops.length>0)),f=[...new Set(u.map(x=>{var v;return((v=x.duration)==null?void 0:v.trim())||Yo}))],[d,h]=q.useState(null),p=d??f[0];return u.length===0?null:n.jsxs(Rl,{id:"itinerary",name:c.title||Ye(i,"itinerary","추천 일정"),subtitle:c.subtitle,count:"시각은 출발 시각과 머무는 시간으로 계산한 것입니다",children:[f.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"묵는 기간",children:f.map(x=>{const v=p===x;return n.jsxs("button",{type:"button",role:"tab","aria-selected":v,onClick:()=>h(x),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:v?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[x,n.jsx("span",{className:"ml-1.5 font-normal opacity-60",children:u.filter(y=>{var z;return(((z=y.duration)==null?void 0:z.trim())||Yo)===x}).length})]},x)})}),f.map(x=>n.jsx("div",{hidden:x!==p,children:n.jsx(Jy,{tab:x,items:u.filter(v=>{var y;return(((y=v.duration)==null?void 0:y.trim())||Yo)===x}),placeName:i.place.name},p)},x))]})}function Jy({tab:i,items:c,placeName:o}){const u=q.useMemo(()=>{let x=0;return c.map(v=>{const y=x;return x+=Jo(v).length,{item:v,start:y}})},[c]),[f,d]=q.useState(0),h=q.useRef(null),p=q.useCallback(x=>{h.current=x},[]),g=u.reduce((x,v)=>v.start<=f?v.start:x,0);return n.jsxs(n.Fragment,{children:[u.length>1&&n.jsx("ul",{className:"border-line mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 border-b pb-3",children:u.map(({item:x,start:v})=>{const y=v===g;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var z;return(z=h.current)==null?void 0:z.scrollTo(v)},"aria-current":y,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${y?"font-bold underline":"opacity-55 hover:underline"}`,children:x.name})},`${x.name}-${v}`)})}),n.jsx(Gs,{label:`${i} 일정`,onSelect:d,onReady:p,children:u.flatMap(({item:x,start:v},y)=>Jo(x).map((z,w)=>n.jsx(Zy,{item:x,badge:z.label??x.duration??`${w+1}일차`,startTime:z.startTime,stops:z.stops,first:w===0,placeName:o},`${x.name}-${v}-${w}`)))})]})}function Wy(){const i=le(),c=dl(i,"video"),[o,u]=q.useState(),f=q.useRef(null),[d,h]=q.useState({prev:!1,next:!0}),p=q.useCallback(()=>{const v=f.current;if(!v)return;const y=v.scrollWidth-v.clientWidth;h({prev:v.scrollLeft>8,next:v.scrollLeft(p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)),[p]);const g=q.useCallback(v=>{const y=f.current;if(!y)return;const z=window.matchMedia("(prefers-reduced-motion: reduce)").matches;y.scrollBy({left:v*y.clientWidth*.85,behavior:z?"auto":"smooth"})},[]);if(xu({box:f,interval:pu,advance:()=>Cp(f.current)}),c.items.length===0)return null;const x=c.items.length>1;return n.jsx(Rl,{id:"video",name:c.title||Ye(i,"video","영상으로 보기"),subtitle:c.subtitle,link:c.linkUrl?{url:c.linkUrl,label:c.linkLabel??"더 보기"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:p,className:x?"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2 [scrollbar-width:none] lg:grid lg:grid-cols-3 lg:gap-4 lg:snap-none lg:overflow-visible lg:pb-0 [&::-webkit-scrollbar]:hidden":"grid grid-cols-1 gap-4",children:c.items.map((v,y)=>{const z=x0(v.url),w=g0(v.url),N=o===y;return n.jsx("li",{className:x?"shrink-0 basis-[86%] snap-start sm:basis-[56%] lg:basis-auto":"",children:n.jsxs("figure",{className:"space-y-2",children:[n.jsx("div",{className:"tpl-border relative mx-auto overflow-hidden border",style:{borderColor:Ce,backgroundColor:tl,aspectRatio:w?"9 / 16":"16 / 9",width:w?"min(100%, 22rem)":"100%"},children:N&&z?n.jsx("iframe",{src:v0(z),title:v.caption||"영상",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full border-0"}):n.jsxs("a",{href:v.url,target:"_blank",rel:"noopener noreferrer",onClick:A=>{z&&(A.preventDefault(),u(y))},"aria-label":`${v.caption||"영상"} 재생`,className:"group block size-full",children:[z?n.jsx("img",{src:b0(z),alt:"",loading:"lazy",decoding:"async",className:"size-full object-cover"}):n.jsx("span",{className:"text-muted grid size-full place-items-center px-4 text-center text-[length:var(--fs-xs)]",children:"유튜브 영상이 아닙니다 — 눌러서 원본으로 갑니다"}),n.jsx("span",{className:"absolute inset-0 grid place-items-center",children:n.jsx("span",{className:"grid size-14 place-items-center rounded-full backdrop-blur transition-transform group-hover:scale-110",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 70%, transparent)",color:"var(--tpl-bg, #fff)"},children:n.jsx(Vb,{className:"size-6"})})})]})}),v.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-80",children:v.caption}),n.jsx(fa,{source:v.source,verified:v.verified})]})},`${v.url}-${y}`)})}),x&&n.jsxs(n.Fragment,{children:[n.jsx(cp,{dir:"prev",onClick:()=>g(-1),disabled:!d.prev}),n.jsx(cp,{dir:"next",onClick:()=>g(1),disabled:!d.next})]})]})})}function cp({dir:i,onClick:c,disabled:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":i==="prev"?"이전 영상":"다음 영상",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:pointer-events-none disabled:opacity-0 lg:hidden ${i==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const Fy={1:"한",2:"두",3:"세",4:"네",5:"다섯"},Iy=[{id:"songs",label:"가요 다방",Component:Dp},{id:"daily",label:"오늘의 한 장",Component:Rp},{id:"people",label:"인물 열전",Component:Up},{id:"chronicle",label:"시간의 골목",Component:Hp},{id:"postcard",label:"오늘의 엽서",Component:Lp}];function Py(){const i=le(),c=Iy.filter(f=>dl(i,f.id).items.length>0),[o,u]=q.useState(0);return c.length===0?null:n.jsxs(n.Fragment,{children:[n.jsx("section",{id:"story","aria-labelledby":"story-heading",className:"paper w-full",style:{backgroundColor:"var(--tpl-surface, #fafafa)",color:ul,paddingTop:"var(--section-space)",paddingBottom:"calc(var(--section-space) * 0.55)"},children:n.jsxs("div",{className:"shell",children:[n.jsx("h2",{id:"story-heading",className:"h2",children:Ye(i,"story","군산 이야기")}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-70",children:["이 도시를 ",Fy[c.length]??`${c.length}`," 갈래로 봅니다. 하나씩 골라 보세요."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"군산 이야기",children:c.map((f,d)=>{const h=d===o;return n.jsx("button",{type:"button",role:"tab","aria-selected":h,"aria-controls":f.id,onClick:()=>u(d),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:h?{backgroundColor:ul,color:ra,borderColor:ul}:{borderColor:Ce},children:f.label},f.id)})})]})}),c.map((f,d)=>n.jsx("div",{hidden:d!==o,children:n.jsx(f.Component,{})},f.id))]})}const e1={open:"진행 중",soon:"곧 시작",closed:"종료"};function rp(i,c){return i.endDate&&i.endDatec?"soon":"open"}function Go(i,c){return i.kind==="공지"&&!i.startDate&&!i.endDate?"공지":c&&e1[c]}function $o(i){const c=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}월 ${Number(d[3])}일`:void 0},o=c(i.startDate),u=c(i.endDate);if(o&&u)return o===u?o:`${o} – ${u}`;if(o)return`${o}부터`;if(u)return`${u}까지`}function t1(){const i=le(),c=dl(i,"event"),[o,u]=q.useState();q.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=q.useState(null),h=q.useCallback(()=>d(null),[]);if(q.useEffect(()=>{if(f===null)return;const x=y=>{y.key==="Escape"&&h()},v=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",x),()=>{document.body.style.overflow=v,window.removeEventListener("keydown",x)}},[f,h]),c.items.length===0)return null;const p=f===null?void 0:c.items[f],g=p&&o?rp(p,o):void 0;return n.jsxs(Rl,{id:"event",name:c.title||Ye(i,"event",`${i.place.name} 소식`),subtitle:c.subtitle,link:c.linkUrl?{url:c.linkUrl,label:c.linkLabel??"더 보기"}:void 0,count:"자세한 내용과 최신 소식은 원문에서 확인해 주세요.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:c.items.map((x,v)=>{const y=o?rp(x,o):void 0,z=Go(x,y),w=$o(x),N=y==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:tl,borderColor:Ce,opacity:N?.6:1,boxShadow:N?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(v),"aria-label":`${x.title} 자세히 보기`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:x.imageUrl?"relative overflow-hidden border-b-2":"contents",style:x.imageUrl?{borderColor:Ce}:void 0,children:x.imageUrl?n.jsx("img",{src:x.imageUrl,alt:`${x.title} 안내 이미지`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:N?{filter:"grayscale(1)"}:void 0}):null}),n.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[z&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[11px] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:y==="open"&&z!=="공지"?We:tl,color:y==="open"&&z!=="공지"?ra:ul,borderColor:y==="open"&&z!=="공지"?We:Ce},children:z}),w&&n.jsx("span",{className:"text-[11px] font-semibold tabular-nums opacity-55",children:w})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:x.title}),x.summary&&n.jsx("p",{className:"line-clamp-2 text-[13px] leading-relaxed opacity-80",children:x.summary}),x.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[12px] leading-relaxed",style:{borderColor:Ce},children:x.howTo}),x.body&&n.jsx("p",{className:`whitespace-pre-line text-[12px] leading-relaxed opacity-70 ${x.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:x.body}),n.jsx("p",{className:"mt-auto pt-2 text-[12px] font-bold opacity-70",children:"자세히 보기 →"})]})]},`${x.title}-${v}`)})}),p&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":p.title,className:"fixed inset-0 z-50 flex items-end justify-center bg-black/70 p-0 backdrop-blur-sm sm:items-center sm:p-6",onClick:h,children:n.jsxs("article",{onClick:x=>x.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:tl,borderColor:Ce,color:ul},children:[p.imageUrl&&n.jsx("img",{src:p.imageUrl,alt:`${p.title} 안내 이미지`,className:"max-h-[46vh] w-full object-contain",style:{backgroundColor:"color-mix(in oklab, currentcolor 6%, transparent)"}}),n.jsxs("div",{className:"space-y-4 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[Go(p,g)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[11px] font-bold tracking-[0.08em]",style:{borderColor:Ce},children:Go(p,g)}),$o(p)&&n.jsx("span",{className:"text-[12px] font-semibold tabular-nums opacity-60",children:$o(p)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Ce},children:p.howTo}),p.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:p.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[p.postUrl?n.jsx("a",{href:p.postUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",children:"원문 보기 →"}):n.jsx("span",{}),n.jsxs("button",{type:"button",onClick:h,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Ce},children:[n.jsx(pp,{className:"size-4"}),n.jsx("span",{children:"닫기"})]})]})]})]})})]})}const l1={songs:Dp,daily:Rp,people:Up,chronicle:Hp,postcard:Lp,quiz:Ly,itinerary:Ky,video:Wy,event:t1,story:Py};function a1({children:i}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(i1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:i}),n.jsx(c1,{}),n.jsx(Tn,{})]})}function qp(){const i=le(),c=ft(i);return[{id:"intro",href:"#about",fallback:"소개"},{id:c.path,href:"#units",fallback:c.label},{id:"info",href:"#info",fallback:"이용 정보"},{id:"booking",href:"#booking",fallback:"예약 안내"},{id:"photos",href:"#gallery",fallback:"사진"},{id:"map",href:"#location",fallback:"오시는 길"},{id:"local",href:"#guide",fallback:"주변 정보"},{id:"faq",href:"#faq",fallback:"자주 묻는 질문"}].filter(o=>Kt(i,o.id)).map(o=>({label:Ye(i,o.id,o.fallback),href:o.href}))}const n1=24,s1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function i1(){const i=le(),c=qp(),[o,u]=q.useState(!1);q.useEffect(()=>{const d=()=>u(window.scrollY>n1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-70 transition-opacity hover:opacity-100":"underline-offset-4 hover:underline";return n.jsx("header",{className:`fixed inset-x-0 top-0 z-40 w-full transition-colors duration-300 ${o?"border-line border-b backdrop-blur-md":""}`,style:o?{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"}:{color:"var(--tpl-bg, #ffffff)",textShadow:s1},children:n.jsxs("div",{className:"shell grid h-20 grid-cols-[1fr_auto] items-center gap-4 lg:grid-cols-[1fr_auto_1fr]",children:[n.jsx("a",{href:"#top",className:"min-w-0",children:n.jsx("span",{className:"serif block truncate",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.12em"},children:i.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center justify-center gap-10 lg:flex",children:c.map(d=>n.jsx("a",{href:d.href,className:`py-1 text-[length:var(--fs-sm)] font-light ${f}`,children:d.label},d.href))}),n.jsxs("div",{className:"flex items-center justify-end gap-2",children:[i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:i.place.phone}),c.length>0&&n.jsxs("details",{className:"lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center justify-center px-2 text-[length:var(--fs-sm)] font-light marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:"메뉴"}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line absolute inset-x-0 top-full border-b border-t",style:{backgroundColor:"var(--tpl-surface, #fff)",color:"var(--tpl-text)",textShadow:"none"},children:n.jsx("ul",{className:"divide-line shell divide-y",children:c.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center text-[length:var(--fs-sm)] font-light",children:d.label})},d.href))})})]})]})]})})}function c1(){var x,v,y,z;const i=le(),{place:c,site:o,narrative:u}=i,f=qp(),d=c.roadAddress??c.address,h=Ze(i)[0],p=wn(i),g=u.about[0]??u.summary;return n.jsx("footer",{className:"border-line paper w-full border-t pb-28 md:pb-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)",paddingTop:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid gap-10 md:grid-cols-3 md:gap-12",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"serif",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.1em"},children:c.name}),g&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:g})]}),n.jsxs("dl",{className:"min-w-0 space-y-5",children:[d&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"주소"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:d})]}),c.phone&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"전화"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light tabular-nums",children:n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-4 hover:underline",children:c.phone})})]}),c.email&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"이메일"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:`mailto:${c.email}`,className:"underline-offset-4 hover:underline",children:c.email})})]}),h&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"예약"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:h.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:ks(h)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"사이트 메뉴",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:w.label})},w.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),p.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:p.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:ks(w)})},w.url))}),n.jsxs("div",{className:"text-muted mt-8 flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center text-[length:var(--fs-xs)] font-light",children:[n.jsxs("span",{children:["상호 ",c.name]}),((x=c.legal)==null?void 0:x.representative)&&n.jsxs("span",{children:["대표 ",c.legal.representative]}),((v=c.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호 ",c.legal.businessRegistrationNumber]}),((y=c.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고 ",c.legal.mailOrderNumber]}),((z=c.legal)==null?void 0:z.licenseNumber)&&n.jsxs("span",{children:[c.legal.licenseLabel??"인허가번호"," ",c.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",c.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:qs(o.updatedAt)})]})]})]})})}const r1=`
-.oasi-page main > section:not([data-oasi]) {
- background-color: transparent !important;
- background-image: none !important;
- border-color: transparent !important;
- color: var(--tpl-text) !important;
- padding-block: var(--oasi-gap) 0 !important;
-}
-.oasi-page main > section:not([data-oasi]) .shell {
- max-width: none;
- padding-inline: 0;
-}
-.oasi-page main > section#about > .shell > .grid {
- display: block;
-}
-.oasi-page main > section#about > .shell > .grid > * + * {
- margin-top: 2.5rem;
-}
-.oasi-page main > section#summary dl {
- grid-template-columns: minmax(0, 1fr);
-}
-
-/*
- * 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요")
- *
- * ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의
- * ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서
- * **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.**
- * ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로
- * 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지
- * 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다.
- * ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면
- * 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다.
- * ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다")
- * 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면
- * 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다.
- */
-.oasi-page section#event li,
-.oasi-page section#itinerary article {
- background-image: none !important;
- background-color: color-mix(in oklab, currentcolor 3%, transparent) !important;
- border-width: 1px !important;
- box-shadow: none !important;
-}
-
-.oasi-page .panel,
-.oasi-page .panel-sunken {
- background-color: transparent;
- border-width: 0;
- border-radius: 0;
- box-shadow: none;
-}
-
-.oasi-page main > section#faq > .shell > div:last-of-type {
- row-gap: 0;
- column-gap: 2.5rem;
-}
-.oasi-page main > section#faq details {
- margin-block: 0;
- border-top: 1px solid var(--site-line);
-}
-.oasi-page main > section#faq summary {
- padding-inline: 0;
-}
-.oasi-page main > section#faq summary > span:first-child {
- width: 1.125rem;
-}
-.oasi-page main > section#faq summary + div {
- border-top-width: 0;
- padding-inline: 1.875rem 0;
- padding-top: 0.5rem;
-}
-
-.oasi-page main > section#info dl.panel > div {
- padding-inline: 0;
-}
-.oasi-page main > section#info dl > div.panel {
- border-top: 1px solid var(--site-line);
- padding-inline: 0;
-}
-
-.oasi-page main > section#location .panel {
- border-top: 1px solid var(--site-line);
- padding-inline: 0;
-}
-.oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child {
- padding-left: 0;
-}
-.oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child {
- padding-right: 0;
-}
-
-.oasi-page main > section#weather .panel {
- padding-inline: 0;
-}
-
-.oasi-page main > section#guide .panel > span:last-child {
- padding-inline: 0;
-}
-@media (min-width: 40rem) {
- .oasi-page main > section#festival .panel > span:last-child {
- padding-inline: 0;
- }
-}
-`,o1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function u1({children:i}){var v,y,z,w;const c=le(),{place:o}=c,u=ft(c),f=Ze(c)[0],d=wn(c),h=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:Kt(c,"intro")},{label:u.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:c.faqs.length>0}].filter(N=>N.show),p=[...Oa(c).map(N=>`${N.label} ${N.value}`),...c.theme.sections.filter(N=>{var A;return N.enabled&&((A=N.name)==null?void 0:A.trim())}).map(N=>N.name.trim())].slice(0,3),g=c.narrative.tagline??c.narrative.heroSubline,x=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:o1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:r1}}),n.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[n.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[n.jsxs("a",{href:"#top",className:"block",children:[n.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:o.name}),o.englishName&&n.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:o.englishName})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:n.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:h.map((N,A)=>n.jsx("li",{children:n.jsx("a",{href:N.href,"aria-current":A===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${A===0?"":"text-muted"}`,children:N.label})},N.label))})}),f&&n.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(p.length>0||g)&&n.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[p.length>0&&n.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:p.map((N,A)=>n.jsxs("li",{className:"flex items-center gap-4",children:[A>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:N})]},N))}),g&&n.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:g})]}),i]})]}),n.jsx("footer",{className:"border-line mt-auto w-full border-t",children:n.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[n.jsxs("p",{children:["[",o.name,"]"]}),d.length>0?n.jsx("ul",{className:"space-y-1",children:d.map(N=>n.jsx("li",{children:n.jsx("a",{href:N.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:ks(N)})},N.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[x&&n.jsx("p",{children:x}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-[5px]",children:o.phone})}),o.email&&n.jsx("p",{children:o.email}),((v=o.legal)==null?void 0:v.representative)&&n.jsxs("p",{children:["대표 ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("p",{children:["사업자등록번호 ",o.legal.businessRegistrationNumber]}),((z=o.legal)==null?void 0:z.mailOrderNumber)&&n.jsxs("p",{children:["통신판매업신고 ",o.legal.mailOrderNumber]}),((w=o.legal)==null?void 0:w.licenseNumber)&&n.jsxs("p",{children:[o.legal.licenseLabel??"인허가번호"," ",o.legal.licenseNumber]}),n.jsxs("p",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:c.site.updatedAt,children:qs(c.site.updatedAt)})]})]})]})}),n.jsx(Tn,{})]})}function f1({children:i}){var z,w,N,A;const c=le(),{place:o,narrative:u,site:f}=c,d=ft(c),h=En(c),p=Oa(c),g=Ze(c)[0],x=c.links.filter(D=>D.confirmed),v=o.roadAddress??o.address,y=[{label:"소개",href:"#about",show:Kt(c,"intro")},{label:d.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:c.faqs.length>0}].filter(D=>D.show);return n.jsxs("div",{className:"flex min-h-screen w-full flex-col lg:flex-row",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("aside",{className:"w-full shrink-0 px-6 pb-8 pt-8 lg:sticky lg:top-0 lg:h-screen lg:w-[260px] lg:overflow-y-auto lg:px-7 lg:py-10",style:{backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"flex h-full min-w-0 flex-col",children:[n.jsx("a",{href:"#top",className:"block min-w-0",children:n.jsx("h1",{className:"serif min-w-0 break-keep font-black",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.12em",lineHeight:1.25},children:o.name})}),(u.tagline??u.heroSubline)&&n.jsx("p",{className:"text-muted mt-3 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:u.tagline??u.heroSubline}),(h||p.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[h&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:h})]}),p.map(D=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:D.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:D.value})]},D.label))]}),g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-5 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg)"},children:ht(g)}),o.phone&&n.jsxs("a",{href:`tel:${o.phone}`,className:"tap mt-2 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--tpl-surface-alt)",color:"var(--tpl-text)"},children:["전화 ",o.phone]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-10",children:n.jsx("ul",{className:"space-y-0.5",children:y.map(D=>n.jsx("li",{children:n.jsx("a",{href:D.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:D.label})},D.label))})}),x.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:x.map(D=>n.jsx("li",{children:n.jsx("a",{href:D.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-xs)] underline-offset-4 transition-colors hover:text-current hover:underline",children:ml(D)})},D.url))})}),n.jsxs("div",{className:"text-muted mt-14 space-y-1 pb-2 text-[length:var(--fs-xs)] lg:mt-auto lg:pt-14",children:[v&&n.jsx("p",{className:"break-keep",children:v}),o.phone&&n.jsx("p",{children:o.phone}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline-offset-2 hover:underline",children:o.email})}),n.jsxs("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 pt-3",children:[n.jsxs("span",{children:["상호: ",o.name]}),((z=o.legal)==null?void 0:z.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((w=o.legal)==null?void 0:w.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((N=o.legal)==null?void 0:N.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((A=o.legal)==null?void 0:A.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline pt-1",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:f.updatedAt,children:qs(f.updatedAt)})]})]})]})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col pb-24 lg:pb-0",children:i}),n.jsx(Tn,{})]})}const d1=`
-.pastel-page > main > section:not([data-pastel]) {
- border-color: transparent;
- background-image: none;
- color: var(--pastel-ink) !important;
-}
-.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; }
-.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; }
-.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; }
-.pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; }
-`,m1={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function h1({children:i}){const c=le(),o=ft(c),u=wn(c),f=[{label:"소개",href:"#about",show:Kt(c,"intro")},{label:o.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:c.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:m1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:d1}}),n.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:n.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:c.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>n.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-70 transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[c.place.phone&&n.jsx("a",{href:`tel:${c.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(_t,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":ml(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(Ub,{className:"size-4"}):n.jsx(Io,{className:"size-4"})},d.url)),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(hp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:n.jsx("ul",{children:f.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),i,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Op,{})}),n.jsx(Tn,{})]})}function p1({children:i}){var x,v,y,z;const c=le(),{place:o,site:u}=c,f=Ep(),d=x1(f),h=Ze(c)[0],p=c.links.filter(w=>w.confirmed),g=o.roadAddress??o.address;return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:n.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[n.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:o.name}),n.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[o.phone&&n.jsx("a",{href:`tel:${o.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:o.phone}),h&&n.jsx("a",{href:h.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:ht(h)})]})]})}),n.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&n.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Os},children:n.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(w=>{const N=w.anchor===d;return n.jsxs("a",{href:`#${w.anchor}`,"aria-current":N?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:N?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:w.no}),n.jsx("span",{className:"truncate",style:{fontWeight:N?700:400},children:w.label})]},w.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:i})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Os},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current opacity-70"}),n.jsxs("div",{className:"grid grid-cols-1 gap-8 pt-8 md:grid-cols-12",children:[n.jsxs("div",{className:"md:col-span-5",children:[n.jsx("p",{className:"serif",style:{fontSize:"clamp(1.5rem, 4vw, 2.5rem)",fontWeight:800,lineHeight:1.05},children:o.name}),o.englishName&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] uppercase tracking-[0.18em] opacity-55",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic opacity-80 md:col-span-4",children:[g&&n.jsx("p",{children:g}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-4",children:o.phone})}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline underline-offset-4",children:o.email})})]}),p.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"md:col-span-3",children:n.jsx("ul",{className:"space-y-1.5 text-[length:var(--fs-sm)]",children:p.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 opacity-80 transition-opacity hover:opacity-100",children:ml(w)})},w.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] opacity-55 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",o.name]}),((x=o.legal)==null?void 0:x.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((v=o.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((y=o.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((z=o.legal)==null?void 0:z.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:u.updatedAt,children:qs(u.updatedAt)})]})]})]})}),n.jsx(Tn,{})]})}function x1(i){const c=i.map(f=>f.anchor).join(","),[o,u]=q.useState("");return q.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=c.split(",").map(h=>document.getElementById(h)).filter(h=>h!==null);if(f.length===0)return;const d=new IntersectionObserver(h=>{const p=h.find(g=>g.isIntersecting);p&&u(p.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(h=>d.observe(h)),()=>d.disconnect()},[c]),o}function g1(){const i=le(),c=i.place.category===Ma.LODGING,o={intro:ny,info:sy,rooms:Lo,menu:Lo,programs:Lo,booking:c?Fh:xy,space:Ny,inquiry:Sy,exhibition:zy,photos:Dy,festival:Ty,local:Ay,weather:Oy,map:ap,faq:Ry,...l1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(xv,{}),!Kt(i,"intro")&&n.jsx(Hh,{}),i.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const h=d.name;return u.has(h)?null:(u.add(h),n.jsxs("div",{"data-editor-id":f.id,style:{display:"contents"},children:[n.jsx(d,{}),f.id==="intro"&&n.jsx(Hh,{})]},f.id))}),!Kt(i,"map")&&n.jsx(ap,{}),c&&!F0(i,"booking")&&n.jsx(Fh,{})]})}function Wo({payload:i}){const c=zp(i.theme.templateId),o=c==="reservation"?a1:c==="oasi"?u1:c==="studio"?f1:c==="pastel"?h1:c==="editorial"?p1:b1;return n.jsx(n0,{payload:i,children:n.jsx(o,{children:n.jsx(g1,{})})})}function b1({children:i}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(I0,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:i}),n.jsx(Op,{}),n.jsx(Tn,{})]})}function v1(i){const{colors:c,look:o}=i.theme,u=T0(c),f={"--tpl-primary":c.primary,"--tpl-secondary":c.secondary,"--tpl-bg":c.bg,"--tpl-card":c.card,"--tpl-text":c.text,"--tpl-accent":c.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=p=>p&&!/[<>{};]/.test(p)?p:void 0,h=[["--tpl-font-heading",d(o.fontHeading)],["--tpl-font-body",d(o.fontBody)],["--tpl-heading-tracking",d(o.headingTracking)],["--tpl-heading-weight",d(o.headingWeight)],["--tpl-section-space",d(o.sectionSpace)],["--tpl-border-width",d(o.borderWidth)],["--tpl-radius",d(o.radius)],["--tpl-shadow",d(o.shadow)],["--tpl-texture",d(o.texture)]];for(const[p,g]of h)g&&(f[p]=g)}return f}const y1=[[/Noto Sans KR/i,"family=Noto+Sans+KR:wght@300..900"],[/Noto Serif KR/i,"family=Noto+Serif+KR:wght@300..700"],[/Gugi/i,"family=Gugi"],[/Gowun Batang/i,"family=Gowun+Batang:wght@400;700"],[/Nanum Pen Script/i,"family=Nanum+Pen+Script"]];function j1(i){var u,f;const c=["Noto Sans KR","Noto Serif KR",((u=i.theme.look)==null?void 0:u.fontHeading)??"",((f=i.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${y1.filter(([d])=>d.test(c)).map(([,d])=>d).join("&")}&display=swap`}const oc=document.getElementById("root"),op=window.__SITE_PAYLOAD__;async function N1(i){const c=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${i}/site/preview`,{headers:c?{Authorization:`Bearer ${c}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,h]of Object.entries(v1(u)))document.documentElement.style.setProperty(d,h);const f=document.createElement("link");f.rel="stylesheet",f.href=j1(u),document.head.appendChild(f),await new Promise(d=>{f.addEventListener("load",()=>d(),{once:!0}),f.addEventListener("error",()=>d(),{once:!0}),setTimeout(d,2500)});try{await document.fonts.ready}catch{}Qo.createRoot(oc).render(n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:u})}))}const up=new URLSearchParams(window.location.search).get("placeId");op?Qo.hydrateRoot(oc,n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:op})})):up?N1(up).catch(i=>{oc.textContent=`미리보기를 불러오지 못했습니다 — ${i instanceof Error?i.message:String(i)}`}):tb(async()=>{const{MOONLIGHT_STAY_PAYLOAD:i}=await import("./moonlight-stay-B0tfisrz.js");return{MOONLIGHT_STAY_PAYLOAD:i}},[]).then(({MOONLIGHT_STAY_PAYLOAD:i})=>{Qo.createRoot(oc).render(n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:i})}))});export{_h as F,bt as L,Ma as P,f0 as S,S1 as a};
diff --git a/solution/site/scripts/mockup/vendor/index-DQreaXOf.css b/solution/site/scripts/mockup/vendor/index-DQreaXOf.css
deleted file mode 100644
index 011b41a..0000000
--- a/solution/site/scripts/mockup/vendor/index-DQreaXOf.css
+++ /dev/null
@@ -1 +0,0 @@
-#w4d-mini{display:inline-flex;align-items:center;gap:2px;margin-right:6px;padding-right:8px;border-right:1px solid var(--tpl-border, #bcb49e)}#w4d-mini button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;color:var(--tpl-text, #1b1a15);background:transparent;border:0;border-radius:var(--tpl-radius, 0);cursor:pointer;opacity:.75}#w4d-mini button:hover{opacity:1;background:#1b1a150f}#w4d-mini svg{width:16px;height:16px}#w4d-now{max-width:150px;overflow:hidden;font-size:11.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;color:var(--tpl-accent, #bf2f1b);padding-right:2px}#w4d-mini[data-playing="0"] #w4d-now{opacity:.55;font-weight:400}@media(max-width:860px){#w4d-now{display:none}}#w4d-tape{display:inline-flex;align-items:center;padding:0 4px 0 2px;color:var(--tpl-text, #1b1a15);opacity:.8}#w4d-tape svg{width:20px;height:20px}#w4d-mini[data-playing="1"] #w4d-tape{color:var(--tpl-accent, #bf2f1b);opacity:1}#w4d-mini[data-playing="1"] .w4d-reel{transform-box:fill-box;transform-origin:center;animation:w4d-reel 2.6s linear infinite}@keyframes w4d-reel{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.w4d-reel{animation:none!important}}#w4d-mini button[data-playing="1"]{color:var(--tpl-accent, #bf2f1b);opacity:1}@media(max-width:400px){#w4d-mini{margin-right:2px;padding-right:4px}#w4d-mini button{width:27px;height:27px}}#w4d-panel{position:fixed;z-index:45;width:344px;max-width:calc(100vw - 16px);max-height:min(64vh,520px);display:flex;flex-direction:column;overflow:hidden;font-family:var(--tpl-font-body, serif);color:var(--tpl-text, #1b1a15);background:var(--tpl-card, #efe7d3);border:var(--tpl-border-width, 2px) solid var(--tpl-primary, #1b1a15);box-shadow:var(--tpl-shadow, 4px 4px 0 rgb(27 26 21 / .16))}#w4d-panel[hidden]{display:none}@media(max-width:640px){#w4d-panel{width:auto}}#w4d-panel .w4d-head{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:11px 8px 11px 14px;border-bottom:var(--tpl-border-width, 2px) solid var(--tpl-primary, #1b1a15)}.w4d-head-t{font-size:12px;font-weight:700;letter-spacing:.06em}.w4d-head-n{flex:1 1 auto;font-size:11px;opacity:.5}#w4d-panel .w4d-head button{display:inline-flex;width:28px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;color:inherit;background:transparent;border:0;cursor:pointer;opacity:.6}#w4d-panel .w4d-head button:hover{opacity:1}#w4d-panel .w4d-head svg{width:14px;height:14px}#w4d-panel ol{flex:1 1 auto;margin:0;padding:4px 0;overflow-y:auto;list-style:none;-webkit-overflow-scrolling:touch}.w4d-item{display:flex;width:100%;min-height:52px;align-items:center;gap:11px;padding:8px 14px;color:inherit;background:transparent;border:0;font:inherit;text-align:left;cursor:pointer}.w4d-item+.w4d-item{border-top:1px dashed var(--tpl-border, #bcb49e)}.w4d-item:hover{background:#1b1a150d}.w4d-item[aria-current=true]{background:#1b1a150f}.w4d-item[aria-current=true] .w4d-t{color:var(--tpl-accent, #bf2f1b)}.w4d-mark{position:relative;flex:0 0 26px;height:26px}.w4d-disc-sm{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,var(--w4d-lbl, #bf2f1b) 0 34%,transparent 34%),repeating-radial-gradient(circle at 50% 50%,rgb(255 255 255 / .12) 0 1px,transparent 1px 3px),#14110f}.w4d-disc-sm:after{content:"";position:absolute;top:45%;right:45%;bottom:45%;left:45%;border-radius:50%;background:var(--tpl-card, #efe7d3)}.w4d-eq{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:flex-end;justify-content:center;gap:3px;padding-bottom:4px}.w4d-eq i{width:3px;height:6px;background:var(--tpl-accent, #bf2f1b);animation:w4d-eq .9s ease-in-out infinite}.w4d-eq i:nth-child(2){animation-delay:.18s}.w4d-eq i:nth-child(3){animation-delay:.36s}@keyframes w4d-eq{0%,to{height:5px}50%{height:17px}}.w4d-item[data-playing="1"] .w4d-disc-sm{display:none}.w4d-item[data-playing="1"] .w4d-eq{display:flex}@media(prefers-reduced-motion:reduce){.w4d-eq i{animation:none;height:11px}}.w4d-info{min-width:0;flex:1 1 auto}.w4d-t{display:block;overflow:hidden;font-size:13.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.w4d-sub{display:block;margin-top:2px;overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis;opacity:.55}.w4d-time{flex:0 0 auto;font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}#w4d-lyrics-box{padding:10px 12px 14px;border-top:1px dashed var(--tpl-border, #bcb49e);white-space:pre-line;font-size:12px;line-height:1.9;overflow-y:auto}#w4d-lyrics-box[hidden]{display:none}.w4-sky{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.w4-sky[data-mood=비]:before{content:"";position:absolute;top:-20%;right:-10%;bottom:-20%;left:-10%;background-image:repeating-linear-gradient(102deg,transparent 0 9px,currentcolor 9px 10px,transparent 10px 22px);opacity:.13;animation:w4-rain .9s linear infinite}@keyframes w4-rain{to{transform:translate3d(-22px,108px,0)}}.w4-sky[data-mood=맑음]:before{content:"";position:absolute;right:6%;top:-40%;width:26rem;aspect-ratio:1;background-image:conic-gradient(from 0deg,currentcolor 0 2deg,transparent 2deg 30deg);opacity:.07;animation:w4-spin 70s linear infinite}.w4-sky[data-mood=맑음]:after{content:"";position:absolute;right:10%;top:-14%;width:15rem;aspect-ratio:1;border-radius:50%;background-image:radial-gradient(circle,currentcolor 0%,transparent 62%);opacity:.11;animation:w4-breathe 9s ease-in-out infinite}@keyframes w4-spin{to{transform:rotate(360deg)}}@keyframes w4-breathe{50%{opacity:.2}}.w4-sky[data-mood=흐림]:before,.w4-sky[data-mood=흐림]:after{content:"";position:absolute;top:-30%;right:-60%;bottom:-30%;left:-60%;background-image:radial-gradient(ellipse 22% 46% at 18% 42%,currentcolor 0%,transparent 70%),radial-gradient(ellipse 30% 40% at 62% 30%,currentcolor 0%,transparent 72%);opacity:.08;animation:w4-drift 44s linear infinite}.w4-sky[data-mood=흐림]:after{opacity:.05;animation-duration:78s;animation-direction:reverse}@keyframes w4-drift{to{transform:translate3d(28%,0,0)}}.w4-sky[data-mood=눈]:before{content:"";position:absolute;top:-20%;right:0;bottom:-20%;left:0;background-image:radial-gradient(circle at 12% 10%,currentcolor 1.4px,transparent 1.8px),radial-gradient(circle at 47% 34%,currentcolor 1.1px,transparent 1.5px),radial-gradient(circle at 78% 18%,currentcolor 1.6px,transparent 2px);background-size:9rem 9rem;opacity:.22;animation:w4-snow 14s linear infinite}@keyframes w4-snow{to{transform:translate3d(-2rem,9rem,0)}}@media(prefers-reduced-motion:reduce){.w4-sky:before,.w4-sky:after{animation:none!important}}.w4-paper{background-image:repeating-linear-gradient(0deg,color-mix(in oklab,currentcolor 4%,transparent) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,color-mix(in oklab,currentcolor 3%,transparent) 0 1px,transparent 1px 4px)}.w4-disc{background:radial-gradient(circle at 50% 50%,transparent 0 15.5%,var(--lbl) 15.5% 33%,transparent 33%),repeating-radial-gradient(circle at 50% 50%,color-mix(in oklab,var(--w4-vinyl) 88%,white) 0 1.4px,var(--w4-vinyl) 1.4px 3px),var(--w4-vinyl);box-shadow:inset 0 0 40px #0000008c}.w4-disc-sheen{background:conic-gradient(from 210deg,rgb(255 255 255 / 12%),transparent 22%,transparent 70%,rgb(255 255 255 / 7%))}.w4-spin{animation:w4-rev 2.2s linear infinite}@keyframes w4-rev{to{transform:rotate(360deg)}}.w4-disc-mini{background:radial-gradient(circle at 50% 50%,transparent 0 14%,var(--lbl) 14% 34%,transparent 34%),repeating-radial-gradient(circle at 50% 50%,color-mix(in oklab,var(--w4-vinyl) 88%,white) 0 1.2px,var(--w4-vinyl) 1.2px 2.6px),var(--w4-vinyl);box-shadow:0 3px 10px #00000059}.w4-perf{background:repeating-linear-gradient(90deg,transparent 0 8px,var(--tear) 8px 9px)}.w4-dash{border-top:1px dashed currentcolor}.w4-film-perf{background:repeating-linear-gradient(90deg,currentcolor 0 9px,transparent 9px 21px)}.w4-flip{perspective:900px}.w4-flip-inner{transform-style:preserve-3d;transition:transform .5s}.w4-flip-on .w4-flip-inner{transform:rotateY(180deg)}.w4-flip-face{backface-visibility:hidden}.w4-flip-back{transform:rotateY(180deg)}.w4-scroll{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.w4-scroll::-webkit-scrollbar{display:none}.w4-scroll[data-slider=on]{overflow-x:hidden;scroll-snap-type:none}.w4-scroll[data-dragging=true]{cursor:grabbing;-webkit-user-select:none;user-select:none}@media(prefers-reduced-motion:reduce){.w4-spin{animation:none}.w4-flip-inner{transition:none}}@media print{.w4-flip,.w4-flip-inner{height:auto!important;transform:none!important}.w4-flip-face{position:static!important;backface-visibility:visible!important;transform:none!important}}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-divide-x-reverse:0}}}@layer theme{:root,:host{--font-sans:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--font-serif:"Noto Serif KR", "Batang", "Times New Roman", serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-600:oklch(59.6% .145 163.225);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-950:oklch(14.1% .005 285.823);--color-stone-600:oklch(44.4% .011 73.639);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--leading-loose:2;--radius-sm:calc(var(--tpl-radius,.75rem) * .4);--radius-md:calc(var(--tpl-radius,.75rem) * .7);--radius-lg:var(--tpl-radius,.75rem);--radius-xl:calc(var(--tpl-radius,.75rem) * 1.35);--radius-2xl:calc(var(--tpl-radius,.75rem) * 1.7);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--blur-sm:8px;--blur-md:12px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--default-mono-font-family:var(--font-mono);--color-brand:var(--tpl-primary);--color-surface:var(--tpl-bg);--color-surface-alt:var(--tpl-card);--color-ink:var(--tpl-text);--color-accent:var(--tpl-accent);--color-line:currentColor}@supports (color:color-mix(in lab,red,red)){:root,:host{--color-line:color-mix(in oklab, currentColor 14%, transparent)}}:root,:host{--color-muted:currentColor}@supports (color:color-mix(in lab,red,red)){:root,:host{--color-muted:color-mix(in oklab, currentColor 62%, transparent)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-2{inset:calc(var(--spacing) * 2)}.inset-x-0{inset-inline:0}.inset-y-\[3px\]{inset-block:3px}.-top-1{top:calc(var(--spacing) * -1)}.-top-2{top:calc(var(--spacing) * -2)}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-4{top:calc(var(--spacing) * 4)}.top-14{top:calc(var(--spacing) * 14)}.top-\[calc\(100\%\+0\.5rem\)\]{top:calc(100% + .5rem)}.top-full{top:100%}.-right-1{right:calc(var(--spacing) * -1)}.-right-\[7px\]{right:-7px}.right-0{right:0}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-2\.5{right:calc(var(--spacing) * 2.5)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:0}.bottom-0\.5{bottom:calc(var(--spacing) * .5)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.5{bottom:calc(var(--spacing) * 2.5)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-5{bottom:calc(var(--spacing) * 5)}.-left-\[7px\]{left:-7px}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.left-4{left:calc(var(--spacing) * 4)}.left-full{left:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-12{grid-column:span 12/span 12}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-auto{margin-inline:auto}.my-3{margin-block:calc(var(--spacing) * 3)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-3\.5{margin-top:calc(var(--spacing) * 3.5)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-14{margin-top:calc(var(--spacing) * 14)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-auto{margin-top:auto}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-3\.5{margin-bottom:calc(var(--spacing) * 3.5)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-7{margin-bottom:calc(var(--spacing) * 7)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.-ml-10{margin-left:calc(var(--spacing) * -10)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-5{margin-left:calc(var(--spacing) * 5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-\[9\]{-webkit-line-clamp:9;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/2{aspect-ratio:3/2}.aspect-3\/4{aspect-ratio:3/4}.aspect-4\/3{aspect-ratio:4/3}.aspect-16\/9{aspect-ratio:16/9}.aspect-16\/10{aspect-ratio:16/10}.aspect-\[4\/3\]{aspect-ratio:4/3}.aspect-\[16\/9\]{aspect-ratio:16/9}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[17px\]{width:17px;height:17px}.size-\[54px\]{width:54px;height:54px}.size-\[76px\]{width:76px;height:76px}.size-\[132px\]{width:132px;height:132px}.size-\[220px\]{width:220px;height:220px}.size-full{width:100%;height:100%}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-9{height:calc(var(--spacing) * 9)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-48{height:calc(var(--spacing) * 48)}.h-\[1em\]{height:1em}.h-\[6px\]{height:6px}.h-\[22px\]{height:22px}.h-\[56px\]{height:56px}.h-\[260px\]{height:260px}.h-\[calc\(100vh-3\.5rem\)\]{height:calc(100vh - 3.5rem)}.h-\[clamp\(15rem\,24vw\,21rem\)\]{height:clamp(15rem,24vw,21rem)}.h-\[clamp\(17rem\,27vw\,24rem\)\]{height:clamp(17rem,27vw,24rem)}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[26rem\]{max-height:26rem}.max-h-\[46vh\]{max-height:46vh}.max-h-\[72vh\]{max-height:72vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[88vh\]{max-height:88vh}.max-h-full{max-height:100%}.min-h-\[2rem\]{min-height:2rem}.min-h-\[16rem\]{min-height:16rem}.min-h-\[420px\]{min-height:420px}.min-h-screen{min-height:100vh}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-13{width:calc(var(--spacing) * 13)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-\[3px\]{width:3px}.w-\[44px\]{width:44px}.w-\[62px\]{width:62px}.w-\[110px\]{width:110px}.w-\[168px\]{width:168px}.w-\[210px\]{width:210px}.w-\[228px\]{width:228px}.w-\[236px\]{width:236px}.w-\[254px\]{width:254px}.w-\[262px\]{width:262px}.w-\[280px\]{width:280px}.w-\[304px\]{width:304px}.w-\[320px\]{width:320px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\[34rem\]{max-width:34rem}.max-w-\[72rem\]{max-width:72rem}.max-w-\[880px\]{max-width:880px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xl{max-width:var(--container-xl)}.min-w-0{min-width:0}.min-w-\[22px\]{min-width:22px}.min-w-\[30rem\]{min-width:30rem}.min-w-\[34rem\]{min-width:34rem}.flex-1{flex:1}.flex-\[0_0_88\%\]{flex:0 0 88%}.flex-\[1\.4\]{flex:1.4}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-\[76\%\]{flex-basis:76%}.basis-\[86\%\]{flex-basis:86%}.border-collapse{border-collapse:collapse}.origin-right{transform-origin:100%}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-6{rotate:-6deg}.-rotate-12{rotate:-12deg}.rotate-6{rotate:6deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.touch-pan-y{--tw-pan-y:pan-y;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.snap-center{scroll-snap-align:center}.snap-start{scroll-snap-align:start}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-none{list-style-type:none}.columns-1{columns:1}.columns-2{columns:2}.break-inside-avoid{break-inside:avoid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[46px_minmax\(0\,1fr\)\]{grid-template-columns:46px minmax(0,1fr)}.grid-cols-\[minmax\(0\,1fr\)_auto\]{grid-template-columns:minmax(0,1fr) auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}.gap-14{gap:calc(var(--spacing) * 14)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-10>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 10) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 10) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-16>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 16) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 16) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-20>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 20) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 20) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-x-10{column-gap:calc(var(--spacing) * 10)}.gap-x-12{column-gap:calc(var(--spacing) * 12)}.gap-y-0{row-gap:0}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}.gap-y-5{row-gap:calc(var(--spacing) * 5)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}.gap-y-14{row-gap:calc(var(--spacing) * 14)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-black\/5>:not(:last-child)){border-color:#0000000d}@supports (color:color-mix(in lab,red,red)){:where(.divide-black\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}:where(.divide-black\/8>:not(:last-child)){border-color:#00000014}@supports (color:color-mix(in lab,red,red)){:where(.divide-black\/8>:not(:last-child)){border-color:color-mix(in oklab,var(--color-black) 8%,transparent)}}:where(.divide-line>:not(:last-child)){border-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.divide-line>:not(:last-child)){border-color:color-mix(in oklab,currentColor 14%,transparent)}}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:calc(var(--tpl-radius,.75rem) * 1.7)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--tpl-radius,.75rem)}.rounded-md{border-radius:calc(var(--tpl-radius,.75rem) * .7)}.rounded-sm{border-radius:calc(var(--tpl-radius,.75rem) * .4)}.rounded-xl{border-radius:calc(var(--tpl-radius,.75rem) * 1.35)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-black\/5{border-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.border-black\/5{border-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.border-black\/8{border-color:#00000014}@supports (color:color-mix(in lab,red,red)){.border-black\/8{border-color:color-mix(in oklab,var(--color-black) 8%,transparent)}}.border-black\/10{border-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.border-black\/10{border-color:color-mix(in oklab,var(--color-black) 10%,transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/15{border-color:color-mix(in oklab,currentcolor 15%,transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/20{border-color:color-mix(in oklab,currentcolor 20%,transparent)}}.border-current\/25{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/25{border-color:color-mix(in oklab,currentcolor 25%,transparent)}}.border-current\/60{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/60{border-color:color-mix(in oklab,currentcolor 60%,transparent)}}.border-current\/70{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/70{border-color:color-mix(in oklab,currentcolor 70%,transparent)}}.border-line{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-line{border-color:color-mix(in oklab,currentColor 14%,transparent)}}.border-transparent{border-color:#0000}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.border-white\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.border-white\/30{border-color:color-mix(in oklab,var(--color-white) 30%,transparent)}}.bg-\[\#03C75A\]{background-color:#03c75a}.bg-\[\#0064FF\]{background-color:#0064ff}.bg-\[\#FEE500\]{background-color:#fee500}.bg-\[color-mix\(in_srgb\,var\(--color-surface\)_92\%\,transparent\)\]{background-color:var(--color-surface)}@supports (color:color-mix(in lab,red,red)){.bg-\[color-mix\(in_srgb\,var\(--color-surface\)_92\%\,transparent\)\]{background-color:color-mix(in srgb,var(--color-surface) 92%,transparent)}}.bg-amber-400{background-color:var(--color-amber-400)}.bg-black\/5{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.bg-black\/5{background-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.bg-black\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\/20{background-color:color-mix(in oklab,var(--color-black) 20%,transparent)}}.bg-black\/45{background-color:#00000073}@supports (color:color-mix(in lab,red,red)){.bg-black\/45{background-color:color-mix(in oklab,var(--color-black) 45%,transparent)}}.bg-black\/55{background-color:#0000008c}@supports (color:color-mix(in lab,red,red)){.bg-black\/55{background-color:color-mix(in oklab,var(--color-black) 55%,transparent)}}.bg-black\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\/70{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black) 90%,transparent)}}.bg-black\/92{background-color:#000000eb}@supports (color:color-mix(in lab,red,red)){.bg-black\/92{background-color:color-mix(in oklab,var(--color-black) 92%,transparent)}}.bg-current,.bg-current\/5{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/5{background-color:color-mix(in oklab,currentcolor 5%,transparent)}}.bg-current\/8{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/8{background-color:color-mix(in oklab,currentcolor 8%,transparent)}}.bg-current\/15{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/15{background-color:color-mix(in oklab,currentcolor 15%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.bg-white\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\/15{background-color:color-mix(in oklab,var(--color-white) 15%,transparent)}}.bg-white\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.bg-white\/70{background-color:color-mix(in oklab,var(--color-white) 70%,transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-zinc-950{--tw-gradient-from:var(--color-zinc-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-zinc-950\/60{--tw-gradient-via:#09090b99}@supports (color:color-mix(in lab,red,red)){.via-zinc-950\/60{--tw-gradient-via:color-mix(in oklab, var(--color-zinc-950) 60%, transparent)}}.via-zinc-950\/60{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-zinc-950\/30{--tw-gradient-to:#09090b4d}@supports (color:color-mix(in lab,red,red)){.to-zinc-950\/30{--tw-gradient-to:color-mix(in oklab, var(--color-zinc-950) 30%, transparent)}}.to-zinc-950\/30{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.p-0{padding:0}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-9{padding-inline:calc(var(--spacing) * 9)}.px-\[7\%\]{padding-inline:7%}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-16{padding-block:calc(var(--spacing) * 16)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-7{padding-top:calc(var(--spacing) * 7)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-10{padding-top:calc(var(--spacing) * 10)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pt-20{padding-top:calc(var(--spacing) * 20)}.pt-24{padding-top:calc(var(--spacing) * 24)}.pt-\[var\(--oasi-gap\)\]{padding-top:var(--oasi-gap)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-5{padding-right:calc(var(--spacing) * 5)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:var(--spacing)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-16{padding-bottom:calc(var(--spacing) * 16)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pb-28{padding-bottom:calc(var(--spacing) * 28)}.pb-56{padding-bottom:calc(var(--spacing) * 56)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-9{padding-left:calc(var(--spacing) * 9)}.pl-\[calc\(3px\+0\.625rem\)\]{padding-left:calc(3px + .625rem)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-serif{font-family:Noto Serif KR,Batang,Times New Roman,serif}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[17px\]{font-size:17px}.text-\[length\:var\(--fs-body\)\]{font-size:var(--fs-body)}.text-\[length\:var\(--fs-h2\)\]{font-size:var(--fs-h2)}.text-\[length\:var\(--fs-h3\)\]{font-size:var(--fs-h3)}.text-\[length\:var\(--fs-lead\)\]{font-size:var(--fs-lead)}.text-\[length\:var\(--fs-sm\)\]{font-size:var(--fs-sm)}.text-\[length\:var\(--fs-xs\)\]{font-size:var(--fs-xs)}.leading-\[1\.8\]{--tw-leading:1.8;line-height:1.8}.leading-\[1\.9\]{--tw-leading:1.9;line-height:1.9}.leading-loose{--tw-leading:var(--leading-loose);line-height:var(--leading-loose)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.1em\]{--tw-tracking:.1em;letter-spacing:.1em}.tracking-\[0\.2em\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-\[0\.3em\]{--tw-tracking:.3em;letter-spacing:.3em}.tracking-\[0\.08em\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-\[0\.12em\]{--tw-tracking:.12em;letter-spacing:.12em}.tracking-\[0\.14em\]{--tw-tracking:.14em;letter-spacing:.14em}.tracking-\[0\.16em\]{--tw-tracking:.16em;letter-spacing:.16em}.tracking-\[0\.18em\]{--tw-tracking:.18em;letter-spacing:.18em}.tracking-\[0\.24em\]{--tw-tracking:.24em;letter-spacing:.24em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.\!text-current{color:currentColor!important}.text-\[\#191600\]{color:#191600}.text-amber-700{color:var(--color-amber-700)}.text-current\/55{color:currentColor}@supports (color:color-mix(in lab,red,red)){.text-current\/55{color:color-mix(in oklab,currentcolor 55%,transparent)}}.text-muted{color:currentColor}@supports (color:color-mix(in lab,red,red)){.text-muted{color:color-mix(in oklab,currentColor 62%,transparent)}}.text-stone-600{color:var(--color-stone-600)}.text-white{color:var(--color-white)}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white) 70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white) 80%,transparent)}}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.decoration-black\/20{text-decoration-color:#0003}@supports (color:color-mix(in lab,red,red)){.decoration-black\/20{-webkit-text-decoration-color:color-mix(in oklab,var(--color-black) 20%,transparent);text-decoration-color:color-mix(in oklab,var(--color-black) 20%,transparent)}}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.underline-offset-\[5px\]{text-underline-offset:5px}.underline-offset-\[6px\]{text-underline-offset:6px}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-45{opacity:.45}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-65{opacity:.65}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-85{opacity:.85}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\:rotate-45:is(:where(.group):is([open],:popover-open,:open) *){rotate:45deg}.group-open\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media(hover:hover){.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:opacity-80:is(:where(.group):hover *){opacity:.8}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.marker\:content-none ::marker{--tw-content:none;content:none}.marker\:content-none::marker{--tw-content:none;content:none}.marker\:content-none ::-webkit-details-marker{--tw-content:none;content:none}.marker\:content-none::-webkit-details-marker{--tw-content:none;content:none}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:border-current:hover{border-color:currentColor}.hover\:bg-black\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/5:hover{background-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.hover\:bg-black\/40:hover{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/40:hover{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.hover\:bg-black\/65:hover{background-color:#000000a6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/65:hover{background-color:color-mix(in oklab,var(--color-black) 65%,transparent)}}.hover\:bg-black\/75:hover{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/75:hover{background-color:color-mix(in oklab,var(--color-black) 75%,transparent)}}.hover\:bg-black\/\[0\.02\]:hover{background-color:#00000005}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/\[0\.02\]:hover{background-color:color-mix(in oklab,var(--color-black) 2%,transparent)}}.hover\:bg-current\/10:hover{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.hover\:bg-current\/10:hover{background-color:color-mix(in oklab,currentcolor 10%,transparent)}}.hover\:bg-current\/25:hover{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.hover\:bg-current\/25:hover{background-color:color-mix(in oklab,currentcolor 25%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.hover\:bg-white\/25:hover{background-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/25:hover{background-color:color-mix(in oklab,var(--color-white) 25%,transparent)}}.hover\:bg-white\/90:hover{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/90:hover{background-color:color-mix(in oklab,var(--color-white) 90%,transparent)}}.hover\:text-current:hover{color:currentColor}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-45:hover{opacity:.45}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-85:hover{opacity:.85}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-100:hover{opacity:1}}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-0:disabled{opacity:0}.disabled\:opacity-25:disabled{opacity:.25}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}@media(prefers-reduced-motion:no-preference){.motion-safe\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@media(min-width:40rem){.sm\:top-5{top:calc(var(--spacing) * 5)}.sm\:right-5{right:calc(var(--spacing) * 5)}.sm\:right-6{right:calc(var(--spacing) * 6)}.sm\:left-6{left:calc(var(--spacing) * 6)}.sm\:mb-6{margin-bottom:calc(var(--spacing) * 6)}.sm\:mb-8{margin-bottom:calc(var(--spacing) * 8)}.sm\:mb-10{margin-bottom:calc(var(--spacing) * 10)}.sm\:mb-14{margin-bottom:calc(var(--spacing) * 14)}.sm\:-ml-4{margin-left:calc(var(--spacing) * -4)}.sm\:ml-8{margin-left:calc(var(--spacing) * 8)}.sm\:line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:inline{display:inline}.sm\:inline-flex{display:inline-flex}.sm\:table-cell{display:table-cell}.sm\:aspect-4\/3{aspect-ratio:4/3}.sm\:aspect-16\/9{aspect-ratio:16/9}.sm\:aspect-video{aspect-ratio:var(--aspect-video)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-40{width:calc(var(--spacing) * 40)}.sm\:w-auto{width:auto}.sm\:max-w-\[18rem\]{max-width:18rem}.sm\:max-w-\[60\%\]{max-width:60%}.sm\:flex-\[0_0_72\%\]{flex:0 0 72%}.sm\:shrink-0{flex-shrink:0}.sm\:basis-1\/2{flex-basis:50%}.sm\:basis-1\/3{flex-basis:33.3333%}.sm\:basis-\[56\%\]{flex-basis:56%}.sm\:columns-2{columns:2}.sm\:columns-3{columns:3}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-col{flex-direction:column}.sm\:flex-row{flex-direction:row}.sm\:flex-wrap{flex-wrap:wrap}.sm\:items-baseline{align-items:baseline}.sm\:items-center{align-items:center}.sm\:items-end{align-items:flex-end}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-3{gap:calc(var(--spacing) * 3)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:gap-6{gap:calc(var(--spacing) * 6)}.sm\:gap-8{gap:calc(var(--spacing) * 8)}.sm\:gap-10{gap:calc(var(--spacing) * 10)}:where(.sm\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:space-y-24>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 24) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 24) * calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.sm\:divide-y-0>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(0px * var(--tw-divide-y-reverse));border-bottom-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)))}.sm\:self-auto{align-self:auto}.sm\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sm\:p-3\.5{padding:calc(var(--spacing) * 3.5)}.sm\:p-4{padding:calc(var(--spacing) * 4)}.sm\:p-5{padding:calc(var(--spacing) * 5)}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:p-8{padding:calc(var(--spacing) * 8)}.sm\:px-5{padding-inline:calc(var(--spacing) * 5)}.sm\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\:px-10{padding-inline:calc(var(--spacing) * 10)}.sm\:py-12{padding-block:calc(var(--spacing) * 12)}.sm\:py-14{padding-block:calc(var(--spacing) * 14)}.sm\:py-20{padding-block:calc(var(--spacing) * 20)}.sm\:py-24{padding-block:calc(var(--spacing) * 24)}.sm\:pb-5{padding-bottom:calc(var(--spacing) * 5)}.sm\:pb-6{padding-bottom:calc(var(--spacing) * 6)}.sm\:pb-12{padding-bottom:calc(var(--spacing) * 12)}.sm\:pl-4{padding-left:calc(var(--spacing) * 4)}.sm\:pl-14{padding-left:calc(var(--spacing) * 14)}.sm\:text-left{text-align:left}.sm\:text-right{text-align:right}.sm\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.sm\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.sm\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.sm\:first\:pl-0:first-child{padding-left:0}}@media(min-width:48rem){.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-5{grid-column:span 5/span 5}.md\:col-span-6{grid-column:span 6/span 6}.md\:col-span-7{grid-column:span 7/span 7}.md\:col-span-12{grid-column:span 12/span 12}.md\:flex{display:flex}.md\:hidden{display:none}.md\:table-cell{display:table-cell}.md\:aspect-5\/4{aspect-ratio:5/4}.md\:h-\[78vh\]{height:78vh}.md\:min-h-\[580px\]{min-height:580px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\:grid-cols-\[240px_minmax\(0\,1fr\)\]{grid-template-columns:240px minmax(0,1fr)}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:items-end{align-items:flex-end}.md\:gap-12{gap:calc(var(--spacing) * 12)}:where(.md\:divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.md\:divide-y-0>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(0px * var(--tw-divide-y-reverse));border-bottom-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)))}.md\:justify-self-end{justify-self:flex-end}.md\:pb-14{padding-bottom:calc(var(--spacing) * 14)}.md\:pb-16{padding-bottom:calc(var(--spacing) * 16)}.md\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}@media(min-width:64rem){.lg\:sticky{position:sticky}.lg\:top-0{top:0}.lg\:top-12{top:calc(var(--spacing) * 12)}.lg\:order-1{order:1}.lg\:order-2{order:2}.lg\:order-none{order:0}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:col-span-5{grid-column:span 5/span 5}.lg\:col-span-6{grid-column:span 6/span 6}.lg\:col-span-7{grid-column:span 7/span 7}.lg\:col-span-12{grid-column:span 12/span 12}.lg\:mt-6{margin-top:calc(var(--spacing) * 6)}.lg\:mt-24{margin-top:calc(var(--spacing) * 24)}.lg\:mt-auto{margin-top:auto}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:aspect-3\/2{aspect-ratio:3/2}.lg\:aspect-auto{aspect-ratio:auto}.lg\:h-fit{height:fit-content}.lg\:h-full{height:100%}.lg\:h-screen{height:100vh}.lg\:min-h-\[24rem\]{min-height:24rem}.lg\:min-h-\[34rem\]{min-height:34rem}.lg\:w-\[18\.75rem\]{width:18.75rem}.lg\:w-\[260px\]{width:260px}.lg\:w-auto{width:auto}.lg\:shrink-0{flex-shrink:0}.lg\:basis-1\/3{flex-basis:33.3333%}.lg\:basis-1\/4{flex-basis:25%}.lg\:basis-auto{flex-basis:auto}.lg\:snap-none{scroll-snap-type:none}.lg\:columns-4{columns:4}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:grid-cols-\[1fr_auto_1fr\]{grid-template-columns:1fr auto 1fr}.lg\:flex-col{flex-direction:column}.lg\:flex-row{flex-direction:row}.lg\:items-end{align-items:flex-end}.lg\:justify-between{justify-content:space-between}.lg\:gap-0{gap:0}.lg\:gap-3{gap:calc(var(--spacing) * 3)}.lg\:gap-4{gap:calc(var(--spacing) * 4)}.lg\:gap-5{gap:calc(var(--spacing) * 5)}.lg\:gap-6{gap:calc(var(--spacing) * 6)}.lg\:gap-7{gap:calc(var(--spacing) * 7)}.lg\:gap-8{gap:calc(var(--spacing) * 8)}.lg\:gap-10{gap:calc(var(--spacing) * 10)}.lg\:gap-12{gap:calc(var(--spacing) * 12)}.lg\:gap-14{gap:calc(var(--spacing) * 14)}.lg\:gap-20{gap:calc(var(--spacing) * 20)}:where(.lg\:space-y-28>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 28) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 28) * calc(1 - var(--tw-space-y-reverse)))}.lg\:gap-x-12{column-gap:calc(var(--spacing) * 12)}.lg\:overflow-visible{overflow:visible}.lg\:overflow-y-auto{overflow-y:auto}.lg\:px-7{padding-inline:calc(var(--spacing) * 7)}.lg\:px-10{padding-inline:calc(var(--spacing) * 10)}.lg\:px-14{padding-inline:calc(var(--spacing) * 14)}.lg\:py-10{padding-block:calc(var(--spacing) * 10)}.lg\:py-16{padding-block:calc(var(--spacing) * 16)}.lg\:pt-14{padding-top:calc(var(--spacing) * 14)}.lg\:pt-16{padding-top:calc(var(--spacing) * 16)}.lg\:pb-0{padding-bottom:0}.lg\:pb-14{padding-bottom:calc(var(--spacing) * 14)}.lg\:pb-24{padding-bottom:calc(var(--spacing) * 24)}.lg\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.lg\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}}@media(min-width:80rem){.xl\:col-span-4{grid-column:span 4/span 4}.xl\:col-span-5{grid-column:span 5/span 5}.xl\:col-span-7{grid-column:span 7/span 7}.xl\:col-span-8{grid-column:span 8/span 8}.xl\:col-start-1{grid-column-start:1}.xl\:col-start-5{grid-column-start:5}.xl\:row-start-1{grid-row-start:1}.xl\:-mt-24{margin-top:calc(var(--spacing) * -24)}.xl\:mr-16{margin-right:calc(var(--spacing) * 16)}.xl\:mb-12{margin-bottom:calc(var(--spacing) * 12)}.xl\:-ml-10{margin-left:calc(var(--spacing) * -10)}.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:w-\[50\%\]{width:50%}.xl\:w-\[64\%\]{width:64%}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:gap-x-10{column-gap:calc(var(--spacing) * 10)}.xl\:self-end{align-self:flex-end}.xl\:px-8{padding-inline:calc(var(--spacing) * 8)}.xl\:py-8{padding-block:calc(var(--spacing) * 8)}.xl\:py-12{padding-block:calc(var(--spacing) * 12)}.xl\:py-16{padding-block:calc(var(--spacing) * 16)}.xl\:pt-12{padding-top:calc(var(--spacing) * 12)}.xl\:pr-8{padding-right:calc(var(--spacing) * 8)}.xl\:pr-16{padding-right:calc(var(--spacing) * 16)}.xl\:pb-56{padding-bottom:calc(var(--spacing) * 56)}.xl\:pl-10{padding-left:calc(var(--spacing) * 10)}.xl\:pl-20{padding-left:calc(var(--spacing) * 20)}}.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker{display:none}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>li\]\:mb-2>li{margin-bottom:calc(var(--spacing) * 2)}.\[\&\>li\]\:mb-3>li{margin-bottom:calc(var(--spacing) * 3)}@media(min-width:40rem){.sm\:\[\&\>li\]\:mb-4>li{margin-bottom:calc(var(--spacing) * 4)}}}@font-face{font-family:Pretendard Variable;font-weight:45 920;font-style:normal;font-display:swap;src:url(/fonts/PretendardVariable.woff2)format("woff2")}html{-webkit-text-size-adjust:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-break:keep-all;overflow-wrap:break-word;margin:0;padding:0}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}html{scrollbar-width:thin}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:where(.site,.site-canvas){--fs-display:clamp(1.75rem, 1.25rem + 2.2vw, 3rem);--fs-h2:clamp(1.3125rem, 1.15rem + .7vw, 1.75rem);--fs-h3:clamp(1.0625rem, 1rem + .3vw, 1.25rem);--fs-lead:clamp(.9375rem, .9rem + .22vw, 1.0625rem);--fs-body:clamp(.9375rem, .91rem + .15vw, 1rem);--fs-sm:clamp(.8125rem, .8rem + .1vw, .875rem);--fs-xs:clamp(.75rem, .74rem + .06vw, .78125rem);--section-space:clamp(2.25rem, 5vw, var(--tpl-section-space,3.5rem));--site-line:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-line:color-mix(in oklab, currentColor 14%, transparent)}}:where(.site,.site-canvas){--site-line-soft:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-line-soft:color-mix(in oklab, currentColor 8%, transparent)}}:where(.site,.site-canvas){--site-muted:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-muted:color-mix(in oklab, currentColor 62%, transparent)}}:where(.site,.site-canvas) .serif{font-family:var(--tpl-font-heading,var(--font-serif));letter-spacing:var(--tpl-heading-tracking,normal)}:where(.site,.site-canvas) :is(.serif,.h2,.h3){font-synthesis-weight:none}:where(.site,.site-canvas) .tpl-border{border-width:var(--tpl-border-width,1px)}:where(.site,.site-canvas) .tpl-shadow{box-shadow:var(--tpl-shadow,none)}:where(.site,.site-canvas) .shell{width:100%;max-width:78rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}:where(.site,.site-canvas) .line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:where(.site,.site-canvas) .measure{max-width:68ch}:where(.site,.site-canvas) .paper{background-image:var(--tpl-texture,none)}:where(.site,.site-canvas) .panel{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas) .panel{background-color:color-mix(in oklab,currentColor 5%,transparent)}}:where(.site,.site-canvas) .panel{border:var(--tpl-border-width,1px) solid var(--site-line);border-radius:var(--tpl-radius,.75rem);box-shadow:var(--tpl-shadow,none)}:where(.site,.site-canvas) .panel-sunken{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas) .panel-sunken{background-color:color-mix(in oklab,currentColor 6%,transparent)}}:where(.site,.site-canvas) .h2{font-family:var(--tpl-font-heading,var(--font-serif));font-size:var(--fs-h2);font-weight:var(--tpl-heading-weight,700);letter-spacing:var(--tpl-heading-tracking,-.01em);line-height:1.2}:where(.site,.site-canvas) .h3{font-family:var(--tpl-font-heading,var(--font-serif));font-size:var(--fs-h3);font-weight:var(--tpl-heading-weight,700);letter-spacing:var(--tpl-heading-tracking,-.005em);line-height:1.35}:where(.site,.site-canvas) .label{font-size:var(--fs-xs);color:var(--site-muted);font-weight:600}:where(.site,.site-canvas) .tap{min-width:2.75rem;min-height:2.75rem}:where(.site,.site-canvas) .only-touch{display:none}@media(hover:none)and (pointer:coarse){:where(.site,.site-canvas) .only-touch{display:flex}}:where(.site,.site-canvas) .safe-b{padding-bottom:calc(.5rem + env(safe-area-inset-bottom))}:where(.site,.site-canvas) .slider-viewport{scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overflow-x:auto}:where(.site,.site-canvas) .slider-viewport::-webkit-scrollbar{display:none}:where(.site,.site-canvas) .slider-viewport[data-slider=on]{scroll-snap-type:none;overflow-x:hidden}:where(.site,.site-canvas) .slider-track{display:flex}:where(.site,.site-canvas) .slider-track>*{scroll-snap-align:start}:where(.site,.site-canvas) .slider-viewport[data-dragging=true]{cursor:grabbing;-webkit-user-select:none;user-select:none}:where(.site,.site-canvas) .text-muted{color:var(--site-muted)}:where(.site,.site-canvas) .border-line,:where(.site,.site-canvas) .divide-line>:not(:last-child){border-color:var(--site-line)}:root{--tpl-primary:#18181b;--tpl-secondary:#52525b;--tpl-bg:#fff;--tpl-card:#fafafa;--tpl-text:#09090b;--tpl-accent:#2563eb;--tpl-surface:#fff;--tpl-surface-alt:#f5f5f4;--tpl-inverse:#1c1917;--tpl-border:#e7e5e4;--tpl-font-heading:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--tpl-font-body:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--tpl-radius:.75rem;--tpl-border-width:1px;--tpl-shadow:0 1px 2px #0000000f;--tpl-heading-tracking:-.02em;--tpl-heading-weight:700;--tpl-section-space:4rem}html{scroll-behavior:smooth;scroll-padding-top:5.5rem}body{background-color:var(--color-surface);background-image:var(--tpl-texture,none);color:var(--color-ink);font-family:var(--tpl-font-body,var(--font-sans));font-size:var(--fs-body);font-feature-settings:"tnum" 1;padding-bottom:env(safe-area-inset-bottom);line-height:1.7}:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}
diff --git a/solution/site/scripts/mockup/vendor/index-HJJZguqY.css b/solution/site/scripts/mockup/vendor/index-HJJZguqY.css
new file mode 100644
index 0000000..2bdfc95
--- /dev/null
+++ b/solution/site/scripts/mockup/vendor/index-HJJZguqY.css
@@ -0,0 +1 @@
+#w4d-mini{display:inline-flex;align-items:center;gap:2px;margin-right:6px;padding-right:8px;border-right:1px solid var(--tpl-border, #bcb49e)}#w4d-mini button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;color:var(--tpl-text, #1b1a15);background:transparent;border:0;border-radius:var(--tpl-radius, 0);cursor:pointer;opacity:.75}#w4d-mini button:hover{opacity:1;background:#1b1a150f}#w4d-mini svg{width:16px;height:16px}#w4d-now{max-width:150px;overflow:hidden;font-size:11.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;color:var(--tpl-accent, #bf2f1b);padding-right:2px}#w4d-mini[data-playing="0"] #w4d-now{opacity:.55;font-weight:400}@media(max-width:860px){#w4d-now{display:none}}#w4d-tape{display:inline-flex;align-items:center;padding:0 4px 0 2px;color:var(--tpl-text, #1b1a15);opacity:.8}#w4d-tape svg{width:20px;height:20px}#w4d-mini[data-playing="1"] #w4d-tape{color:var(--tpl-accent, #bf2f1b);opacity:1}#w4d-mini[data-playing="1"] .w4d-reel{transform-box:fill-box;transform-origin:center;animation:w4d-reel 2.6s linear infinite}@keyframes w4d-reel{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.w4d-reel{animation:none!important}}#w4d-mini button[data-playing="1"]{color:var(--tpl-accent, #bf2f1b);opacity:1}@media(max-width:400px){#w4d-mini{margin-right:2px;padding-right:4px}#w4d-mini button{width:27px;height:27px}}#w4d-panel{position:fixed;z-index:45;width:344px;max-width:calc(100vw - 16px);max-height:min(64vh,520px);display:flex;flex-direction:column;overflow:hidden;font-family:var(--tpl-font-body, serif);color:var(--tpl-text, #1b1a15);background:var(--tpl-card, #efe7d3);border:var(--tpl-border-width, 2px) solid var(--tpl-primary, #1b1a15);box-shadow:var(--tpl-shadow, 4px 4px 0 rgb(27 26 21 / .16))}#w4d-panel[hidden]{display:none}@media(max-width:640px){#w4d-panel{width:auto}}#w4d-panel .w4d-head{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:11px 8px 11px 14px;border-bottom:var(--tpl-border-width, 2px) solid var(--tpl-primary, #1b1a15)}.w4d-head-t{font-size:12px;font-weight:700;letter-spacing:.06em}.w4d-head-n{flex:1 1 auto;font-size:11px;opacity:.5}#w4d-panel .w4d-head button{display:inline-flex;width:28px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;color:inherit;background:transparent;border:0;cursor:pointer;opacity:.6}#w4d-panel .w4d-head button:hover{opacity:1}#w4d-panel .w4d-head svg{width:14px;height:14px}#w4d-panel ol{flex:1 1 auto;margin:0;padding:4px 0;overflow-y:auto;list-style:none;-webkit-overflow-scrolling:touch}.w4d-item{display:flex;width:100%;min-height:52px;align-items:center;gap:11px;padding:8px 14px;color:inherit;background:transparent;border:0;font:inherit;text-align:left;cursor:pointer}.w4d-item+.w4d-item{border-top:1px dashed var(--tpl-border, #bcb49e)}.w4d-item:hover{background:#1b1a150d}.w4d-item[aria-current=true]{background:#1b1a150f}.w4d-item[aria-current=true] .w4d-t{color:var(--tpl-accent, #bf2f1b)}.w4d-mark{position:relative;flex:0 0 26px;height:26px}.w4d-disc-sm{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,var(--w4d-lbl, #bf2f1b) 0 34%,transparent 34%),repeating-radial-gradient(circle at 50% 50%,rgb(255 255 255 / .12) 0 1px,transparent 1px 3px),#14110f}.w4d-disc-sm:after{content:"";position:absolute;top:45%;right:45%;bottom:45%;left:45%;border-radius:50%;background:var(--tpl-card, #efe7d3)}.w4d-eq{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:flex-end;justify-content:center;gap:3px;padding-bottom:4px}.w4d-eq i{width:3px;height:6px;background:var(--tpl-accent, #bf2f1b);animation:w4d-eq .9s ease-in-out infinite}.w4d-eq i:nth-child(2){animation-delay:.18s}.w4d-eq i:nth-child(3){animation-delay:.36s}@keyframes w4d-eq{0%,to{height:5px}50%{height:17px}}.w4d-item[data-playing="1"] .w4d-disc-sm{display:none}.w4d-item[data-playing="1"] .w4d-eq{display:flex}@media(prefers-reduced-motion:reduce){.w4d-eq i{animation:none;height:11px}}.w4d-info{min-width:0;flex:1 1 auto}.w4d-t{display:block;overflow:hidden;font-size:13.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.w4d-sub{display:block;margin-top:2px;overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis;opacity:.55}.w4d-time{flex:0 0 auto;font-size:11px;opacity:.6;font-variant-numeric:tabular-nums}#w4d-lyrics-box{padding:10px 12px 14px;border-top:1px dashed var(--tpl-border, #bcb49e);white-space:pre-line;font-size:12px;line-height:1.9;overflow-y:auto}#w4d-lyrics-box[hidden]{display:none}.hero-catchphrase,.hero-catchphrase-fixed{display:block}.hero-catchphrase .w4d-line{display:block;margin-top:.5rem;min-height:1.5em;word-break:keep-all}.hero-catchphrase .w4d-w{display:inline-block;overflow:hidden;vertical-align:bottom}.hero-catchphrase .w4d-w>span{display:inline-block;animation:lodging-word-in .45s both;animation-delay:var(--w4d-d)}@keyframes lodging-word-in{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.hero-catchphrase .w4d-w>span{animation:none}}.w4-sky{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.w4-sky[data-mood=비]:before{content:"";position:absolute;top:-20%;right:-10%;bottom:-20%;left:-10%;background-image:repeating-linear-gradient(102deg,transparent 0 9px,currentcolor 9px 10px,transparent 10px 22px);opacity:.13;animation:w4-rain .9s linear infinite}@keyframes w4-rain{to{transform:translate3d(-22px,108px,0)}}.w4-sky[data-mood=맑음]:before{content:"";position:absolute;right:6%;top:-40%;width:26rem;aspect-ratio:1;background-image:conic-gradient(from 0deg,currentcolor 0 2deg,transparent 2deg 30deg);opacity:.07;animation:w4-spin 70s linear infinite}.w4-sky[data-mood=맑음]:after{content:"";position:absolute;right:10%;top:-14%;width:15rem;aspect-ratio:1;border-radius:50%;background-image:radial-gradient(circle,currentcolor 0%,transparent 62%);opacity:.11;animation:w4-breathe 9s ease-in-out infinite}@keyframes w4-spin{to{transform:rotate(360deg)}}@keyframes w4-breathe{50%{opacity:.2}}.w4-sky[data-mood=흐림]:before,.w4-sky[data-mood=흐림]:after{content:"";position:absolute;top:-30%;right:-60%;bottom:-30%;left:-60%;background-image:radial-gradient(ellipse 22% 46% at 18% 42%,currentcolor 0%,transparent 70%),radial-gradient(ellipse 30% 40% at 62% 30%,currentcolor 0%,transparent 72%);opacity:.08;animation:w4-drift 44s linear infinite}.w4-sky[data-mood=흐림]:after{opacity:.05;animation-duration:78s;animation-direction:reverse}@keyframes w4-drift{to{transform:translate3d(28%,0,0)}}.w4-sky[data-mood=눈]:before{content:"";position:absolute;top:-20%;right:0;bottom:-20%;left:0;background-image:radial-gradient(circle at 12% 10%,currentcolor 1.4px,transparent 1.8px),radial-gradient(circle at 47% 34%,currentcolor 1.1px,transparent 1.5px),radial-gradient(circle at 78% 18%,currentcolor 1.6px,transparent 2px);background-size:9rem 9rem;opacity:.22;animation:w4-snow 14s linear infinite}@keyframes w4-snow{to{transform:translate3d(-2rem,9rem,0)}}@media(prefers-reduced-motion:reduce){.w4-sky:before,.w4-sky:after{animation:none!important}}.w4-paper{background-image:repeating-linear-gradient(0deg,color-mix(in oklab,currentcolor 4%,transparent) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,color-mix(in oklab,currentcolor 3%,transparent) 0 1px,transparent 1px 4px)}.w4-disc{background:radial-gradient(circle at 50% 50%,transparent 0 15.5%,var(--lbl) 15.5% 33%,transparent 33%),repeating-radial-gradient(circle at 50% 50%,color-mix(in oklab,var(--w4-vinyl) 88%,white) 0 1.4px,var(--w4-vinyl) 1.4px 3px),var(--w4-vinyl);box-shadow:inset 0 0 40px #0000008c}.w4-disc-sheen{background:conic-gradient(from 210deg,rgb(255 255 255 / 12%),transparent 22%,transparent 70%,rgb(255 255 255 / 7%))}.w4-spin{animation:w4-rev 2.2s linear infinite}@keyframes w4-rev{to{transform:rotate(360deg)}}.w4-disc-mini{background:radial-gradient(circle at 50% 50%,transparent 0 14%,var(--lbl) 14% 34%,transparent 34%),repeating-radial-gradient(circle at 50% 50%,color-mix(in oklab,var(--w4-vinyl) 88%,white) 0 1.2px,var(--w4-vinyl) 1.2px 2.6px),var(--w4-vinyl);box-shadow:0 3px 10px #00000059}.w4-perf{background:repeating-linear-gradient(90deg,transparent 0 8px,var(--tear) 8px 9px)}.w4-dash{border-top:1px dashed currentcolor}.w4-film-perf{background:repeating-linear-gradient(90deg,currentcolor 0 9px,transparent 9px 21px)}.w4-flip{perspective:900px}.w4-flip-inner{transform-style:preserve-3d;transition:transform .5s}.w4-flip-on .w4-flip-inner{transform:rotateY(180deg)}.w4-flip-face{backface-visibility:hidden}.w4-flip-back{transform:rotateY(180deg)}.w4-scroll{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.w4-scroll::-webkit-scrollbar{display:none}.w4-scroll[data-slider=on]{overflow-x:hidden;scroll-snap-type:none}.w4-scroll[data-dragging=true]{cursor:grabbing;-webkit-user-select:none;user-select:none}@media(prefers-reduced-motion:reduce){.w4-spin{animation:none}.w4-flip-inner{transition:none}}@media print{.w4-flip,.w4-flip-inner{height:auto!important;transform:none!important}.w4-flip-face{position:static!important;backface-visibility:visible!important;transform:none!important}}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-divide-x-reverse:0}}}@layer theme{:root,:host{--font-sans:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--font-serif:"Noto Serif KR", "Batang", "Times New Roman", serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-emerald-600:oklch(59.6% .145 163.225);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-950:oklch(14.1% .005 285.823);--color-stone-600:oklch(44.4% .011 73.639);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--leading-loose:2;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--blur-sm:8px;--blur-md:12px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--default-mono-font-family:var(--font-mono);--color-brand:var(--tpl-primary);--color-surface:var(--tpl-bg);--color-surface-alt:var(--tpl-card);--color-ink:var(--tpl-text);--color-accent:var(--tpl-accent);--color-line:currentColor}@supports (color:color-mix(in lab,red,red)){:root,:host{--color-line:color-mix(in oklab, currentColor 14%, transparent)}}:root,:host{--color-muted:currentColor}@supports (color:color-mix(in lab,red,red)){:root,:host{--color-muted:color-mix(in oklab, currentColor 96%, transparent)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-2{inset:calc(var(--spacing) * 2)}.inset-x-0{inset-inline:0}.inset-y-\[3px\]{inset-block:3px}.-top-1{top:calc(var(--spacing) * -1)}.-top-2{top:calc(var(--spacing) * -2)}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-14{top:calc(var(--spacing) * 14)}.top-\[calc\(100\%\+0\.5rem\)\]{top:calc(100% + .5rem)}.top-full{top:100%}.-right-1{right:calc(var(--spacing) * -1)}.right-0{right:0}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-2\.5{right:calc(var(--spacing) * 2.5)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:0}.bottom-0\.5{bottom:calc(var(--spacing) * .5)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.5{bottom:calc(var(--spacing) * 2.5)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-5{bottom:calc(var(--spacing) * 5)}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-full{left:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-12{grid-column:span 12/span 12}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing) * 2)}.my-3{margin-block:calc(var(--spacing) * 3)}.ms-auto{margin-inline-start:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-3\.5{margin-top:calc(var(--spacing) * 3.5)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-14{margin-top:calc(var(--spacing) * 14)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-auto{margin-top:auto}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.-mb-px{margin-bottom:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-3\.5{margin-bottom:calc(var(--spacing) * 3.5)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-7{margin-bottom:calc(var(--spacing) * 7)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.-ml-10{margin-left:calc(var(--spacing) * -10)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-5{margin-left:calc(var(--spacing) * 5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-\[9\]{-webkit-line-clamp:9;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/2{aspect-ratio:3/2}.aspect-3\/4{aspect-ratio:3/4}.aspect-4\/3{aspect-ratio:4/3}.aspect-16\/10{aspect-ratio:16/10}.aspect-\[4\/3\]{aspect-ratio:4/3}.aspect-\[16\/10\]{aspect-ratio:16/10}.aspect-square{aspect-ratio:1}.size-0{width:0;height:0}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[17px\]{width:17px;height:17px}.size-\[54px\]{width:54px;height:54px}.size-\[76px\]{width:76px;height:76px}.size-\[220px\]{width:220px;height:220px}.size-full{width:100%;height:100%}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-9{height:calc(var(--spacing) * 9)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-48{height:calc(var(--spacing) * 48)}.h-100{height:calc(var(--spacing) * 100)}.h-\[1em\]{height:1em}.h-\[6px\]{height:6px}.h-\[22px\]{height:22px}.h-\[56px\]{height:56px}.h-\[260px\]{height:260px}.h-\[calc\(100vh-3\.5rem\)\]{height:calc(100vh - 3.5rem)}.h-\[clamp\(15rem\,24vw\,21rem\)\]{height:clamp(15rem,24vw,21rem)}.h-\[clamp\(17rem\,27vw\,24rem\)\]{height:clamp(17rem,27vw,24rem)}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[26rem\]{max-height:26rem}.max-h-\[46vh\]{max-height:46vh}.max-h-\[72vh\]{max-height:72vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[88vh\]{max-height:88vh}.max-h-full{max-height:100%}.min-h-\[2rem\]{min-height:2rem}.min-h-\[16rem\]{min-height:16rem}.min-h-screen{min-height:100vh}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-\[3px\]{width:3px}.w-\[44px\]{width:44px}.w-\[62px\]{width:62px}.w-\[86\%\]{width:86%}.w-\[110px\]{width:110px}.w-\[168px\]{width:168px}.w-\[210px\]{width:210px}.w-\[228px\]{width:228px}.w-\[254px\]{width:254px}.w-\[262px\]{width:262px}.w-\[304px\]{width:304px}.w-\[320px\]{width:320px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\[34rem\]{max-width:34rem}.max-w-\[72rem\]{max-width:72rem}.max-w-\[360px\]{max-width:360px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.min-w-0{min-width:0}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-\[22px\]{min-width:22px}.min-w-\[30rem\]{min-width:30rem}.min-w-\[34rem\]{min-width:34rem}.flex-1{flex:1}.flex-\[1\.4\]{flex:1.4}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-\[76\%\]{flex-basis:76%}.basis-\[86\%\]{flex-basis:86%}.border-collapse{border-collapse:collapse}.origin-right{transform-origin:100%}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-6{rotate:-6deg}.rotate-6{rotate:6deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.\[touch-action\:pan-y_pinch-zoom\]{touch-action:pan-y pinch-zoom}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.snap-center{scroll-snap-align:center}.snap-start{scroll-snap-align:start}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-none{list-style-type:none}.columns-1{columns:1}.columns-2{columns:2}.break-inside-avoid{break-inside:avoid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[46px_minmax\(0\,1fr\)\]{grid-template-columns:46px minmax(0,1fr)}.grid-cols-\[minmax\(0\,1fr\)_auto\]{grid-template-columns:minmax(0,1fr) auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}.gap-14{gap:calc(var(--spacing) * 14)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-10>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 10) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 10) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-16>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 16) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 16) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-20>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 20) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 20) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-x-10{column-gap:calc(var(--spacing) * 10)}.gap-x-12{column-gap:calc(var(--spacing) * 12)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}.gap-y-5{row-gap:calc(var(--spacing) * 5)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}.gap-y-14{row-gap:calc(var(--spacing) * 14)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-black\/5>:not(:last-child)){border-color:#0000000d}@supports (color:color-mix(in lab,red,red)){:where(.divide-black\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}:where(.divide-line>:not(:last-child)){border-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.divide-line>:not(:last-child)){border-color:color-mix(in oklab,currentColor 14%,transparent)}}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:calc(var(--tpl-radius,.75rem) * 1.7)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--tpl-radius,.75rem)}.rounded-md{border-radius:calc(var(--tpl-radius,.75rem) * .7)}.rounded-sm{border-radius:calc(var(--tpl-radius,.75rem) * .4)}.rounded-xl{border-radius:calc(var(--tpl-radius,.75rem) * 1.35)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-black\/8{border-color:#00000014}@supports (color:color-mix(in lab,red,red)){.border-black\/8{border-color:color-mix(in oklab,var(--color-black) 8%,transparent)}}.border-black\/10{border-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.border-black\/10{border-color:color-mix(in oklab,var(--color-black) 10%,transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/15{border-color:color-mix(in oklab,currentcolor 15%,transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/20{border-color:color-mix(in oklab,currentcolor 20%,transparent)}}.border-current\/25{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/25{border-color:color-mix(in oklab,currentcolor 25%,transparent)}}.border-current\/60{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/60{border-color:color-mix(in oklab,currentcolor 60%,transparent)}}.border-current\/70{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-current\/70{border-color:color-mix(in oklab,currentcolor 70%,transparent)}}.border-line{border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.border-line{border-color:color-mix(in oklab,currentColor 14%,transparent)}}.border-transparent{border-color:#0000}.bg-\[\#03C75A\]{background-color:#03c75a}.bg-\[\#0064FF\]{background-color:#0064ff}.bg-\[\#FEE500\]{background-color:#fee500}.bg-black\/45{background-color:#00000073}@supports (color:color-mix(in lab,red,red)){.bg-black\/45{background-color:color-mix(in oklab,var(--color-black) 45%,transparent)}}.bg-black\/55{background-color:#0000008c}@supports (color:color-mix(in lab,red,red)){.bg-black\/55{background-color:color-mix(in oklab,var(--color-black) 55%,transparent)}}.bg-black\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\/70{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.bg-black\/92{background-color:#000000eb}@supports (color:color-mix(in lab,red,red)){.bg-black\/92{background-color:color-mix(in oklab,var(--color-black) 92%,transparent)}}.bg-current,.bg-current\/5{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/5{background-color:color-mix(in oklab,currentcolor 5%,transparent)}}.bg-current\/8{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/8{background-color:color-mix(in oklab,currentcolor 8%,transparent)}}.bg-current\/15{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/15{background-color:color-mix(in oklab,currentcolor 15%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.bg-white\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.bg-white\/70{background-color:color-mix(in oklab,var(--color-white) 70%,transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.p-0{padding:0}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-9{padding-inline:calc(var(--spacing) * 9)}.px-\[7\%\]{padding-inline:7%}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-7{padding-top:calc(var(--spacing) * 7)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-10{padding-top:calc(var(--spacing) * 10)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pt-20{padding-top:calc(var(--spacing) * 20)}.pt-24{padding-top:calc(var(--spacing) * 24)}.pt-\[var\(--oasi-gap\)\]{padding-top:var(--oasi-gap)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-5{padding-right:calc(var(--spacing) * 5)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:var(--spacing)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-16{padding-bottom:calc(var(--spacing) * 16)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pb-28{padding-bottom:calc(var(--spacing) * 28)}.pb-56{padding-bottom:calc(var(--spacing) * 56)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-9{padding-left:calc(var(--spacing) * 9)}.pl-\[calc\(3px\+0\.625rem\)\]{padding-left:calc(3px + .625rem)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-serif{font-family:Noto Serif KR,Batang,Times New Roman,serif}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14\.5px\]{font-size:14.5px}.text-\[17px\]{font-size:17px}.text-\[length\:var\(--fs-body\)\]{font-size:var(--fs-body)}.text-\[length\:var\(--fs-h2\)\]{font-size:var(--fs-h2)}.text-\[length\:var\(--fs-h3\)\]{font-size:var(--fs-h3)}.text-\[length\:var\(--fs-lead\)\]{font-size:var(--fs-lead)}.text-\[length\:var\(--fs-sm\)\]{font-size:var(--fs-sm)}.text-\[length\:var\(--fs-xs\)\]{font-size:var(--fs-xs)}.leading-\[1\.8\]{--tw-leading:1.8;line-height:1.8}.leading-\[1\.9\]{--tw-leading:1.9;line-height:1.9}.leading-loose{--tw-leading:var(--leading-loose);line-height:var(--leading-loose)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.1em\]{--tw-tracking:.1em;letter-spacing:.1em}.tracking-\[0\.2em\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-\[0\.3em\]{--tw-tracking:.3em;letter-spacing:.3em}.tracking-\[0\.08em\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-\[0\.14em\]{--tw-tracking:.14em;letter-spacing:.14em}.tracking-\[0\.16em\]{--tw-tracking:.16em;letter-spacing:.16em}.tracking-\[0\.18em\]{--tw-tracking:.18em;letter-spacing:.18em}.tracking-\[0\.24em\]{--tw-tracking:.24em;letter-spacing:.24em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.\!text-current{color:currentColor!important}.text-\[\#191600\]{color:#191600}.text-current\/55{color:currentColor}@supports (color:color-mix(in lab,red,red)){.text-current\/55{color:color-mix(in oklab,currentcolor 55%,transparent)}}.text-current\/80{color:currentColor}@supports (color:color-mix(in lab,red,red)){.text-current\/80{color:color-mix(in oklab,currentcolor 80%,transparent)}}.text-muted{color:currentColor}@supports (color:color-mix(in lab,red,red)){.text-muted{color:color-mix(in oklab,currentColor 96%,transparent)}}.text-stone-600{color:var(--color-stone-600)}.text-white{color:var(--color-white)}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white) 70%,transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.decoration-black\/20{text-decoration-color:#0003}@supports (color:color-mix(in lab,red,red)){.decoration-black\/20{-webkit-text-decoration-color:color-mix(in oklab,var(--color-black) 20%,transparent);text-decoration-color:color-mix(in oklab,var(--color-black) 20%,transparent)}}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.underline-offset-\[5px\]{text-underline-offset:5px}.underline-offset-\[6px\]{text-underline-offset:6px}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-45{opacity:.45}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-65{opacity:.65}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-85{opacity:.85}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\:rotate-45:is(:where(.group):is([open],:popover-open,:open) *){rotate:45deg}.group-open\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media(hover:hover){.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.marker\:content-none ::marker{--tw-content:none;content:none}.marker\:content-none::marker{--tw-content:none;content:none}.marker\:content-none ::-webkit-details-marker{--tw-content:none;content:none}.marker\:content-none::-webkit-details-marker{--tw-content:none;content:none}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:border-current:hover{border-color:currentColor}.hover\:bg-black\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/5:hover{background-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.hover\:bg-black\/65:hover{background-color:#000000a6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/65:hover{background-color:color-mix(in oklab,var(--color-black) 65%,transparent)}}.hover\:bg-black\/75:hover{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/75:hover{background-color:color-mix(in oklab,var(--color-black) 75%,transparent)}}.hover\:bg-current\/10:hover{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.hover\:bg-current\/10:hover{background-color:color-mix(in oklab,currentcolor 10%,transparent)}}.hover\:bg-current\/25:hover{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.hover\:bg-current\/25:hover{background-color:color-mix(in oklab,currentcolor 25%,transparent)}}.hover\:bg-white\/25:hover{background-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/25:hover{background-color:color-mix(in oklab,var(--color-white) 25%,transparent)}}.hover\:text-current:hover{color:currentColor}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-45:hover{opacity:.45}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-85:hover{opacity:.85}.hover\:opacity-90:hover{opacity:.9}.hover\:opacity-95:hover{opacity:.95}.hover\:opacity-100:hover{opacity:1}}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-0:disabled{opacity:0}.disabled\:opacity-25:disabled{opacity:.25}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-60:disabled{opacity:.6}@media(prefers-reduced-motion:no-preference){.motion-safe\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@media(min-width:40rem){.sm\:top-5{top:calc(var(--spacing) * 5)}.sm\:right-5{right:calc(var(--spacing) * 5)}.sm\:right-6{right:calc(var(--spacing) * 6)}.sm\:left-6{left:calc(var(--spacing) * 6)}.sm\:mb-8{margin-bottom:calc(var(--spacing) * 8)}.sm\:mb-10{margin-bottom:calc(var(--spacing) * 10)}.sm\:mb-14{margin-bottom:calc(var(--spacing) * 14)}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:inline{display:inline}.sm\:inline-flex{display:inline-flex}.sm\:aspect-video{aspect-ratio:var(--aspect-video)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-40{width:calc(var(--spacing) * 40)}.sm\:w-\[min\(600px\,56\%\)\]{width:min(600px,56%)}.sm\:max-w-\[18rem\]{max-width:18rem}.sm\:max-w-\[60\%\]{max-width:60%}.sm\:shrink-0{flex-shrink:0}.sm\:basis-1\/3{flex-basis:33.3333%}.sm\:basis-\[56\%\]{flex-basis:56%}.sm\:columns-2{columns:2}.sm\:columns-3{columns:3}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[minmax\(0\,360px\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,360px) minmax(0,1fr)}.sm\:flex-row{flex-direction:row}.sm\:flex-wrap{flex-wrap:wrap}.sm\:items-baseline{align-items:baseline}.sm\:items-center{align-items:center}.sm\:items-end{align-items:flex-end}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:gap-6{gap:calc(var(--spacing) * 6)}.sm\:gap-8{gap:calc(var(--spacing) * 8)}.sm\:gap-10{gap:calc(var(--spacing) * 10)}:where(.sm\:space-y-24>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 24) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 24) * calc(1 - var(--tw-space-y-reverse)))}:where(.sm\:divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.sm\:divide-y-0>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(0px * var(--tw-divide-y-reverse));border-bottom-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)))}.sm\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sm\:p-5{padding:calc(var(--spacing) * 5)}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:p-8{padding:calc(var(--spacing) * 8)}.sm\:px-5{padding-inline:calc(var(--spacing) * 5)}.sm\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\:px-10{padding-inline:calc(var(--spacing) * 10)}.sm\:py-14{padding-block:calc(var(--spacing) * 14)}.sm\:py-24{padding-block:calc(var(--spacing) * 24)}.sm\:pb-12{padding-bottom:calc(var(--spacing) * 12)}.sm\:pl-14{padding-left:calc(var(--spacing) * 14)}.sm\:text-right{text-align:right}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.sm\:text-\[length\:var\(--fs-sm\)\]{font-size:var(--fs-sm)}.sm\:first\:pl-0:first-child{padding-left:0}}@media(min-width:48rem){.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-5{grid-column:span 5/span 5}.md\:col-span-7{grid-column:span 7/span 7}.md\:table-cell{display:table-cell}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\:grid-cols-\[240px_minmax\(0\,1fr\)\]{grid-template-columns:240px minmax(0,1fr)}.md\:gap-12{gap:calc(var(--spacing) * 12)}.md\:pb-14{padding-bottom:calc(var(--spacing) * 14)}.md\:pb-16{padding-bottom:calc(var(--spacing) * 16)}}@media(min-width:64rem){.lg\:sticky{position:sticky}.lg\:top-0{top:0}.lg\:top-12{top:calc(var(--spacing) * 12)}.lg\:order-1{order:1}.lg\:order-2{order:2}.lg\:order-none{order:0}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:col-span-5{grid-column:span 5/span 5}.lg\:col-span-6{grid-column:span 6/span 6}.lg\:col-span-7{grid-column:span 7/span 7}.lg\:col-span-12{grid-column:span 12/span 12}.lg\:mt-6{margin-top:calc(var(--spacing) * 6)}.lg\:mt-24{margin-top:calc(var(--spacing) * 24)}.lg\:mt-auto{margin-top:auto}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:aspect-3\/2{aspect-ratio:3/2}.lg\:aspect-auto{aspect-ratio:auto}.lg\:h-fit{height:fit-content}.lg\:h-full{height:100%}.lg\:h-screen{height:100vh}.lg\:min-h-\[24rem\]{min-height:24rem}.lg\:min-h-\[34rem\]{min-height:34rem}.lg\:w-\[18\.75rem\]{width:18.75rem}.lg\:w-\[260px\]{width:260px}.lg\:w-auto{width:auto}.lg\:shrink-0{flex-shrink:0}.lg\:basis-1\/4{flex-basis:25%}.lg\:basis-auto{flex-basis:auto}.lg\:snap-none{scroll-snap-type:none}.lg\:columns-4{columns:4}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:grid-cols-\[1fr_auto_1fr\]{grid-template-columns:1fr auto 1fr}.lg\:flex-col{flex-direction:column}.lg\:flex-row{flex-direction:row}.lg\:items-end{align-items:flex-end}.lg\:justify-between{justify-content:space-between}.lg\:gap-0{gap:0}.lg\:gap-3{gap:calc(var(--spacing) * 3)}.lg\:gap-4{gap:calc(var(--spacing) * 4)}.lg\:gap-6{gap:calc(var(--spacing) * 6)}.lg\:gap-7{gap:calc(var(--spacing) * 7)}.lg\:gap-8{gap:calc(var(--spacing) * 8)}.lg\:gap-10{gap:calc(var(--spacing) * 10)}.lg\:gap-12{gap:calc(var(--spacing) * 12)}.lg\:gap-14{gap:calc(var(--spacing) * 14)}.lg\:gap-20{gap:calc(var(--spacing) * 20)}:where(.lg\:space-y-28>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 28) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 28) * calc(1 - var(--tw-space-y-reverse)))}.lg\:gap-x-12{column-gap:calc(var(--spacing) * 12)}.lg\:overflow-visible{overflow:visible}.lg\:overflow-y-auto{overflow-y:auto}.lg\:px-7{padding-inline:calc(var(--spacing) * 7)}.lg\:px-10{padding-inline:calc(var(--spacing) * 10)}.lg\:px-14{padding-inline:calc(var(--spacing) * 14)}.lg\:py-10{padding-block:calc(var(--spacing) * 10)}.lg\:py-16{padding-block:calc(var(--spacing) * 16)}.lg\:pt-14{padding-top:calc(var(--spacing) * 14)}.lg\:pt-16{padding-top:calc(var(--spacing) * 16)}.lg\:pb-0{padding-bottom:0}.lg\:pb-14{padding-bottom:calc(var(--spacing) * 14)}.lg\:pb-24{padding-bottom:calc(var(--spacing) * 24)}.lg\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}}@media(min-width:80rem){.xl\:col-span-4{grid-column:span 4/span 4}.xl\:col-span-5{grid-column:span 5/span 5}.xl\:col-span-7{grid-column:span 7/span 7}.xl\:col-span-8{grid-column:span 8/span 8}.xl\:col-start-1{grid-column-start:1}.xl\:col-start-5{grid-column-start:5}.xl\:row-start-1{grid-row-start:1}.xl\:-mt-24{margin-top:calc(var(--spacing) * -24)}.xl\:mr-16{margin-right:calc(var(--spacing) * 16)}.xl\:mb-12{margin-bottom:calc(var(--spacing) * 12)}.xl\:-ml-10{margin-left:calc(var(--spacing) * -10)}.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:w-\[50\%\]{width:50%}.xl\:w-\[64\%\]{width:64%}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:gap-x-10{column-gap:calc(var(--spacing) * 10)}.xl\:self-end{align-self:flex-end}.xl\:px-8{padding-inline:calc(var(--spacing) * 8)}.xl\:py-8{padding-block:calc(var(--spacing) * 8)}.xl\:py-12{padding-block:calc(var(--spacing) * 12)}.xl\:py-16{padding-block:calc(var(--spacing) * 16)}.xl\:pt-12{padding-top:calc(var(--spacing) * 12)}.xl\:pr-8{padding-right:calc(var(--spacing) * 8)}.xl\:pr-16{padding-right:calc(var(--spacing) * 16)}.xl\:pb-56{padding-bottom:calc(var(--spacing) * 56)}.xl\:pl-10{padding-left:calc(var(--spacing) * 10)}.xl\:pl-20{padding-left:calc(var(--spacing) * 20)}}.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker{display:none}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>li\]\:mb-3>li{margin-bottom:calc(var(--spacing) * 3)}}@font-face{font-family:Pretendard Variable;font-weight:45 920;font-style:normal;font-display:swap;src:url(/fonts/PretendardVariable.woff2)format("woff2")}html{-webkit-text-size-adjust:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-break:keep-all;overflow-wrap:break-word;margin:0;padding:0}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}html{scrollbar-width:thin}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:where(.site,.site-canvas){--fs-display:clamp(1.75rem, 1.25rem + 2.2vw, 3rem);--fs-h2:clamp(1.3125rem, 1.2rem + .55vw, 1.625rem);--fs-h3:clamp(1.125rem, 1.05rem + .3vw, 1.25rem);--fs-lead:clamp(1.0625rem, 1rem + .25vw, 1.1875rem);--fs-body:clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);--fs-sm:clamp(.96875rem, .95rem + .1vw, 1rem);--fs-xs:clamp(.875rem, .86rem + .06vw, .90625rem);--section-space:clamp(1.75rem, 4vw, var(--tpl-section-space,2.75rem));--site-line:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-line:color-mix(in oklab, currentColor 14%, transparent)}}:where(.site,.site-canvas){--site-line-soft:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-line-soft:color-mix(in oklab, currentColor 8%, transparent)}}:where(.site,.site-canvas){--site-muted:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas){--site-muted:color-mix(in oklab, currentColor 96%, transparent)}}:where(.site,.site-canvas) .serif{font-family:var(--tpl-font-heading,var(--font-serif));letter-spacing:var(--tpl-heading-tracking,normal)}:where(.site,.site-canvas) :is(.serif,.h2,.h3){font-synthesis-weight:none}:where(.site,.site-canvas) .tpl-border{border-width:var(--tpl-border-width,1px)}:where(.site,.site-canvas) .tpl-shadow{box-shadow:var(--tpl-shadow,none)}:where(.site,.site-canvas) .shell{width:100%;max-width:78rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}:where(.site,.site-canvas) .line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:where(.site,.site-canvas) .measure{max-width:68ch}:where(.site,.site-canvas) .paper{background-image:var(--tpl-texture,none)}:where(.site,.site-canvas) .panel{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas) .panel{background-color:color-mix(in oklab,currentColor 5%,transparent)}}:where(.site,.site-canvas) .panel{border:var(--tpl-border-width,1px) solid var(--site-line);border-radius:var(--tpl-radius,.75rem);box-shadow:var(--tpl-shadow,none)}:where(.site,.site-canvas) .panel-sunken{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.site,.site-canvas) .panel-sunken{background-color:color-mix(in oklab,currentColor 6%,transparent)}}:where(.site,.site-canvas) .h2{font-family:var(--tpl-font-heading,var(--font-serif));font-size:var(--fs-h2);font-weight:var(--tpl-heading-weight,700);letter-spacing:var(--tpl-heading-tracking,-.01em);line-height:1.2}:where(.site,.site-canvas) .h3{font-family:var(--tpl-font-heading,var(--font-serif));font-size:var(--fs-h3);font-weight:var(--tpl-heading-weight,700);letter-spacing:var(--tpl-heading-tracking,-.005em);line-height:1.35}:where(.site,.site-canvas) .label{font-size:var(--fs-xs);color:var(--site-muted);font-weight:600}:where(.site,.site-canvas) .tap{min-width:2.75rem;min-height:2.75rem}:where(.site,.site-canvas) .only-touch{display:none}@media(hover:none)and (pointer:coarse){:where(.site,.site-canvas) .only-touch{display:flex}}:where(.site,.site-canvas) .safe-b{padding-bottom:calc(.5rem + env(safe-area-inset-bottom))}:where(.site,.site-canvas) .slider-viewport{touch-action:pan-y pinch-zoom;scrollbar-width:none;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overflow-x:auto}:where(.site,.site-canvas) .slider-viewport::-webkit-scrollbar{display:none}:where(.site,.site-canvas) .slider-viewport[data-slider=on]{scroll-snap-type:none;overflow-x:hidden}:where(.site,.site-canvas) .slider-track{touch-action:pan-y pinch-zoom;display:flex}:where(.site,.site-canvas) .slider-track>*{scroll-snap-align:start}:where(.site,.site-canvas) .slider-viewport[data-dragging=true]{cursor:grabbing;-webkit-user-select:none;user-select:none}:where(.site,.site-canvas) .text-muted{color:var(--site-muted)}:where(.site,.site-canvas) .border-line,:where(.site,.site-canvas) .divide-line>:not(:last-child){border-color:var(--site-line)}:root{--tpl-primary:#18181b;--tpl-secondary:#52525b;--tpl-bg:#fff;--tpl-card:#fafafa;--tpl-text:#09090b;--tpl-accent:#2563eb;--tpl-surface:#fff;--tpl-surface-alt:#f5f5f4;--tpl-inverse:#1c1917;--tpl-border:#e7e5e4;--tpl-font-heading:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--tpl-font-body:"Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;--tpl-radius:.75rem;--tpl-border-width:1px;--tpl-shadow:0 1px 2px #0000000f;--tpl-heading-tracking:-.02em;--tpl-heading-weight:700;--tpl-section-space:4rem}html{scroll-behavior:smooth;scroll-padding-top:5.5rem}body{background-color:var(--color-surface);background-image:var(--tpl-texture,none);color:var(--color-ink);font-family:var(--tpl-font-body,var(--font-sans));font-size:var(--fs-body);font-feature-settings:"tnum" 1;padding-bottom:env(safe-area-inset-bottom);font-weight:450;line-height:1.7}:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}
diff --git a/solution/site/scripts/mockup/vendor/retired/index--XyJjgYv.js b/solution/site/scripts/mockup/vendor/retired/index--XyJjgYv.js
new file mode 100644
index 0000000..17507e0
--- /dev/null
+++ b/solution/site/scripts/mockup/vendor/retired/index--XyJjgYv.js
@@ -0,0 +1,336 @@
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const v0="modulepreload",y0=function(s){return"/"+s},Th={},j0=function(r,o,u){let f=Promise.resolve();if(o&&o.length>0){let m=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const x=document.querySelector("meta[property=csp-nonce]"),g=(x==null?void 0:x.nonce)||(x==null?void 0:x.getAttribute("nonce"));f=m(o.map(p=>{if(p=y0(p),p in Th)return;Th[p]=!0;const v=p.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const N=document.createElement("link");if(N.rel=v?"stylesheet":v0,v||(N.as="script"),N.crossOrigin="",N.href=p,g&&N.setAttribute("nonce",g),document.head.appendChild(N),v)return new Promise((E,j)=>{N.addEventListener("load",E),N.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=m,window.dispatchEvent(x),!x.defaultPrevented)throw m}return f.then(m=>{for(const x of m||[])x.status==="rejected"&&d(x.reason);return r().catch(d)})};var Ro={exports:{}},_s={};/**
+ * @license React
+ * react-jsx-runtime.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Ah;function N0(){if(Ah)return _s;Ah=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var x in f)x!=="key"&&(d[x]=f[x])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return _s.Fragment=r,_s.jsx=o,_s.jsxs=o,_s}var _h;function S0(){return _h||(_h=1,Ro.exports=N0()),Ro.exports}var n=S0(),Uo={exports:{}},ue={};/**
+ * @license React
+ * react.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Ch;function w0(){if(Ch)return ue;Ch=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),N=Symbol.iterator;function E(w){return w===null||typeof w!="object"?null:(w=N&&w[N]||w["@@iterator"],typeof w=="function"?w:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,C={};function D(w,q,J){this.props=w,this.context=q,this.refs=C,this.updater=J||j}D.prototype.isReactComponent={},D.prototype.setState=function(w,q){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,q,"setState")},D.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function X(){}X.prototype=D.prototype;function H(w,q,J){this.props=w,this.context=q,this.refs=C,this.updater=J||j}var Z=H.prototype=new X;Z.constructor=H,T(Z,D.prototype),Z.isPureReactComponent=!0;var Q=Array.isArray;function V(){}var $={H:null,A:null,T:null,S:null},W=Object.prototype.hasOwnProperty;function le(w,q,J){var F=J.ref;return{$$typeof:s,type:w,key:q,ref:F!==void 0?F:null,props:J}}function xe(w,q){return le(w.type,q,w.props)}function ce(w){return typeof w=="object"&&w!==null&&w.$$typeof===s}function K(w){var q={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(J){return q[J]})}var he=/\/+/g;function Xe(w,q){return typeof w=="object"&&w!==null&&w.key!=null?K(""+w.key):q.toString(36)}function ie(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(V,V):(w.status="pending",w.then(function(q){w.status==="pending"&&(w.status="fulfilled",w.value=q)},function(q){w.status==="pending"&&(w.status="rejected",w.reason=q)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function O(w,q,J,F,re){var fe=typeof w;(fe==="undefined"||fe==="boolean")&&(w=null);var oe=!1;if(w===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(w.$$typeof){case s:case r:oe=!0;break;case v:return oe=w._init,O(oe(w._payload),q,J,F,re)}}if(oe)return re=re(w),oe=F===""?"."+Xe(w,0):F,Q(re)?(J="",oe!=null&&(J=oe.replace(he,"$&/")+"/"),O(re,q,J,"",function(at){return at})):re!=null&&(ce(re)&&(re=xe(re,J+(re.key==null||w&&w.key===re.key?"":(""+re.key).replace(he,"$&/")+"/")+oe)),q.push(re)),1;oe=0;var ze=F===""?".":F+":";if(Q(w))for(var Te=0;Te>>1,Ne=O[pe];if(0>>1;pef(J,ae))Ff(re,J)?(O[pe]=re,O[F]=ae,pe=F):(O[pe]=J,O[q]=ae,pe=q);else if(Ff(re,ae))O[pe]=re,O[F]=ae,pe=F;else break e}}return G}function f(O,G){var ae=O.sortIndex-G.sortIndex;return ae!==0?ae:O.id-G.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;s.unstable_now=function(){return d.now()}}else{var m=Date,x=m.now();s.unstable_now=function(){return m.now()-x}}var g=[],p=[],v=1,y=null,N=3,E=!1,j=!1,T=!1,C=!1,D=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function Z(O){for(var G=o(p);G!==null;){if(G.callback===null)u(p);else if(G.startTime<=O)u(p),G.sortIndex=G.expirationTime,r(g,G);else break;G=o(p)}}function Q(O){if(T=!1,Z(O),!j)if(o(g)!==null)j=!0,V||(V=!0,K());else{var G=o(p);G!==null&&ie(Q,G.startTime-O)}}var V=!1,$=-1,W=5,le=-1;function xe(){return C?!0:!(s.unstable_now()-leO&&xe());){var pe=y.callback;if(typeof pe=="function"){y.callback=null,N=y.priorityLevel;var Ne=pe(y.expirationTime<=O);if(O=s.unstable_now(),typeof Ne=="function"){y.callback=Ne,Z(O),G=!0;break t}y===o(g)&&u(g),Z(O)}else u(g);y=o(g)}if(y!==null)G=!0;else{var w=o(p);w!==null&&ie(Q,w.startTime-O),G=!1}}break e}finally{y=null,N=ae,E=!1}G=void 0}}finally{G?K():V=!1}}}var K;if(typeof H=="function")K=function(){H(ce)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Xe=he.port2;he.port1.onmessage=ce,K=function(){Xe.postMessage(null)}}else K=function(){D(ce,0)};function ie(O,G){$=D(function(){O(s.unstable_now())},G)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(O){O.callback=null},s.unstable_forceFrameRate=function(O){0>O||125pe?(O.sortIndex=ae,r(p,O),o(g)===null&&O===o(p)&&(T?(X($),$=-1):T=!0,ie(Q,ae-pe))):(O.sortIndex=Ne,r(g,O),j||E||(j=!0,V||(V=!0,K()))),O},s.unstable_shouldYield=xe,s.unstable_wrapCallback=function(O){var G=N;return function(){var ae=N;N=G;try{return O.apply(this,arguments)}finally{N=ae}}}})(Bo)),Bo}var Oh;function z0(){return Oh||(Oh=1,Ho.exports=E0()),Ho.exports}var qo={exports:{}},pt={};/**
+ * @license React
+ * react-dom.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Dh;function T0(){if(Dh)return pt;Dh=1;var s=su();function r(g){var p="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),qo.exports=T0(),qo.exports}/**
+ * @license React
+ * react-dom-client.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Uh;function _0(){if(Uh)return Cs;Uh=1;var s=z0(),r=su(),o=A0();function u(e){var t="https://react.dev/errors/"+e;if(1Ne||(e.current=pe[Ne],pe[Ne]=null,Ne--)}function J(e,t){Ne++,pe[Ne]=e.current,e.current=t}var F=w(null),re=w(null),fe=w(null),oe=w(null);function ze(e,t){switch(J(fe,t),J(re,e),J(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Fm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Fm(t),e=Wm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(F),J(F,e)}function Te(){q(F),q(re),q(fe)}function at(e){e.memoizedState!==null&&J(oe,e);var t=F.current,l=Wm(t,e.type);t!==l&&(J(re,e),J(F,l))}function Me(e){re.current===e&&(q(F),q(re)),oe.current===e&&(q(oe),Es._currentValue=ae)}var te,_e;function Oe(e){if(te===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);te=t&&t[1]||"",_e=-1)":-1i||S[a]!==k[i]){var L=`
+`+S[a].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=a&&0<=i);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Oe(l):""}function Wt(e,t){switch(e.tag){case 26:case 27:case 5:return Oe(e.type);case 16:return Oe("Lazy");case 13:return e.child!==t&&t!==null?Oe("Suspense Fallback"):Oe("Suspense");case 19:return Oe("SuspenseList");case 0:case 15:return jt(e.type,!1);case 11:return jt(e.type.render,!1);case 1:return jt(e.type,!0);case 31:return Oe("Activity");default:return""}}function nl(e){try{var t="",l=null;do t+=Wt(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
+Error generating stack: `+a.message+`
+`+a.stack}}var Ht=Object.prototype.hasOwnProperty,It=s.unstable_scheduleCallback,gl=s.unstable_cancelCallback,On=s.unstable_shouldYield,Dn=s.unstable_requestPaint,ht=s.unstable_now,Zs=s.unstable_getCurrentPriorityLevel,Ks=s.unstable_ImmediatePriority,Rn=s.unstable_UserBlockingPriority,Ua=s.unstable_NormalPriority,Un=s.unstable_LowPriority,bl=s.unstable_IdlePriority,Ln=s.log,Hn=s.unstable_setDisableYieldValue,sl=null,gt=null;function il(e){if(typeof Ln=="function"&&Hn(e),gt&&typeof gt.setStrictMode=="function")try{gt.setStrictMode(sl,e)}catch{}}var bt=Math.clz32?Math.clz32:Js,yr=Math.log,jr=Math.LN2;function Js(e){return e>>>=0,e===0?32:31-(yr(e)/jr|0)|0}var La=256,pa=262144,xa=4194304;function rl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ha(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~c,a!==0?i=rl(a):(h&=b,h!==0?i=rl(h):l||(l=b&~e,l!==0&&(i=rl(l))))):(b=a&~c,b!==0?i=rl(b):h!==0?i=rl(h):l||(l=a&~e,l!==0&&(i=rl(l)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,l=t&-t,c>=l||c===32&&(l&4194048)!==0)?t:i}function Hl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Fs(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ws(){var e=xa;return xa<<=1,(xa&62914560)===0&&(xa=4194304),e}function Nr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Bn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function rx(e,t,l,a,i,c){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,k=e.hiddenUpdates;for(l=h&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var mx=/[\n"\\]/g;function qt(e){return e.replace(mx,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ar(e,t,l,a,i,c,h,b){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?_r(e,h,Bt(t)):l!=null?_r(e,h,Bt(l)):a!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Bt(b):e.removeAttribute("name")}function Gu(e,t,l,a,i,c,h,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Tr(e);return}l=l!=null?""+Bt(l):"",t=t!=null?""+Bt(t):l,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),Tr(e)}function _r(e,t,l){t==="number"&&ei(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Xa(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dr=!1;if(jl)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){Dr=!0}}),window.addEventListener("test",Gn,Gn),window.removeEventListener("test",Gn,Gn)}catch{Dr=!1}var ql=null,Rr=null,li=null;function Fu(){if(li)return li;var e,t=Rr,l=t.length,a,i="value"in ql?ql.value:ql.textContent,c=i.length;for(e=0;e=Vn),lf=" ",af=!1;function nf(e,t){switch(e){case"keyup":return $x.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function Gx(e,t){switch(e){case"compositionend":return sf(t);case"keypress":return t.which!==32?null:(af=!0,lf);case"textInput":return e=t.data,e===lf&&af?null:e;default:return null}}function Xx(e,t){if(Ka)return e==="compositionend"||!qr&&nf(e,t)?(e=Fu(),li=Rr=ql=null,Ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=hf(l)}}function xf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ei(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=ei(e.document)}return t}function Gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ix=jl&&"documentMode"in document&&11>=document.documentMode,Ja=null,Xr=null,Fn=null,Qr=!1;function bf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Qr||Ja==null||Ja!==ei(a)||(a=Ja,"selectionStart"in a&&Gr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Fn&&Jn(Fn,a)||(Fn=a,a=Ji(Xr,"onSelect"),0>=h,i-=h,cl=1<<32-bt(t)+i|l<me?(ye=ee,ee=null):ye=ee.sibling;var we=M(A,ee,_[me],B);if(we===null){ee===null&&(ee=ye);break}e&&ee&&we.alternate===null&&t(A,ee),z=c(we,z,me),Se===null?ne=we:Se.sibling=we,Se=we,ee=ye}if(me===_.length)return l(A,ee),je&&Sl(A,me),ne;if(ee===null){for(;me<_.length;me++)ee=Y(A,_[me],B),ee!==null&&(z=c(ee,z,me),Se===null?ne=ee:Se.sibling=ee,Se=ee);return je&&Sl(A,me),ne}for(ee=a(ee);me<_.length;me++)ye=U(ee,A,me,_[me],B),ye!==null&&(e&&ye.alternate!==null&&ee.delete(ye.key===null?me:ye.key),z=c(ye,z,me),Se===null?ne=ye:Se.sibling=ye,Se=ye);return e&&ee.forEach(function(ca){return t(A,ca)}),je&&Sl(A,me),ne}function se(A,z,_,B){if(_==null)throw Error(u(151));for(var ne=null,Se=null,ee=z,me=z=0,ye=null,we=_.next();ee!==null&&!we.done;me++,we=_.next()){ee.index>me?(ye=ee,ee=null):ye=ee.sibling;var ca=M(A,ee,we.value,B);if(ca===null){ee===null&&(ee=ye);break}e&&ee&&ca.alternate===null&&t(A,ee),z=c(ca,z,me),Se===null?ne=ca:Se.sibling=ca,Se=ca,ee=ye}if(we.done)return l(A,ee),je&&Sl(A,me),ne;if(ee===null){for(;!we.done;me++,we=_.next())we=Y(A,we.value,B),we!==null&&(z=c(we,z,me),Se===null?ne=we:Se.sibling=we,Se=we);return je&&Sl(A,me),ne}for(ee=a(ee);!we.done;me++,we=_.next())we=U(ee,A,me,we.value,B),we!==null&&(e&&we.alternate!==null&&ee.delete(we.key===null?me:we.key),z=c(we,z,me),Se===null?ne=we:Se.sibling=we,Se=we);return e&&ee.forEach(function(b0){return t(A,b0)}),je&&Sl(A,me),ne}function Ue(A,z,_,B){if(typeof _=="object"&&_!==null&&_.type===T&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case E:e:{for(var ne=_.key;z!==null;){if(z.key===ne){if(ne=_.type,ne===T){if(z.tag===7){l(A,z.sibling),B=i(z,_.props.children),B.return=A,A=B;break e}}else if(z.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===W&&Ta(ne)===z.type){l(A,z.sibling),B=i(z,_.props),ls(B,_),B.return=A,A=B;break e}l(A,z);break}else t(A,z);z=z.sibling}_.type===T?(B=Na(_.props.children,A.mode,B,_.key),B.return=A,A=B):(B=di(_.type,_.key,_.props,null,A.mode,B),ls(B,_),B.return=A,A=B)}return h(A);case j:e:{for(ne=_.key;z!==null;){if(z.key===ne)if(z.tag===4&&z.stateNode.containerInfo===_.containerInfo&&z.stateNode.implementation===_.implementation){l(A,z.sibling),B=i(z,_.children||[]),B.return=A,A=B;break e}else{l(A,z);break}else t(A,z);z=z.sibling}B=Ir(_,A.mode,B),B.return=A,A=B}return h(A);case W:return _=Ta(_),Ue(A,z,_,B)}if(ie(_))return I(A,z,_,B);if(K(_)){if(ne=K(_),typeof ne!="function")throw Error(u(150));return _=ne.call(_),se(A,z,_,B)}if(typeof _.then=="function")return Ue(A,z,vi(_),B);if(_.$$typeof===H)return Ue(A,z,pi(A,_),B);yi(A,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,z!==null&&z.tag===6?(l(A,z.sibling),B=i(z,_),B.return=A,A=B):(l(A,z),B=Wr(_,A.mode,B),B.return=A,A=B),h(A)):l(A,z)}return function(A,z,_,B){try{ts=0;var ne=Ue(A,z,_,B);return rn=null,ne}catch(ee){if(ee===sn||ee===gi)throw ee;var Se=Mt(29,ee,null,A.mode);return Se.lanes=B,Se.return=A,Se}finally{}}}var _a=$f(!0),Yf=$f(!1),Ql=!1;function uc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Vl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ae&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=fi(e),Ef(e,null,l),t}return ui(e,a,t,l),fi(e)}function as(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Mu(e,l)}}function dc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?i=c=h:c=c.next=h,l=l.next}while(l!==null);c===null?i=c=t:c=c.next=t}else i=c=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var mc=!1;function ns(){if(mc){var e=nn;if(e!==null)throw e}}function ss(e,t,l,a){mc=!1;var i=e.updateQueue;Ql=!1;var c=i.firstBaseUpdate,h=i.lastBaseUpdate,b=i.shared.pending;if(b!==null){i.shared.pending=null;var S=b,k=S.next;S.next=null,h===null?c=k:h.next=k,h=S;var L=e.alternate;L!==null&&(L=L.updateQueue,b=L.lastBaseUpdate,b!==h&&(b===null?L.firstBaseUpdate=k:b.next=k,L.lastBaseUpdate=S))}if(c!==null){var Y=i.baseState;h=0,L=k=S=null,b=c;do{var M=b.lane&-536870913,U=M!==b.lane;if(U?(ve&M)===M:(a&M)===M){M!==0&&M===an&&(mc=!0),L!==null&&(L=L.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var I=e,se=b;M=t;var Ue=l;switch(se.tag){case 1:if(I=se.payload,typeof I=="function"){Y=I.call(Ue,Y,M);break e}Y=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=se.payload,M=typeof I=="function"?I.call(Ue,Y,M):I,M==null)break e;Y=y({},Y,M);break e;case 2:Ql=!0}}M=b.callback,M!==null&&(e.flags|=64,U&&(e.flags|=8192),U=i.callbacks,U===null?i.callbacks=[M]:U.push(M))}else U={lane:M,tag:b.tag,payload:b.payload,callback:b.callback,next:null},L===null?(k=L=U,S=Y):L=L.next=U,h|=M;if(b=b.next,b===null){if(b=i.shared.pending,b===null)break;U=b,b=U.next,U.next=null,i.lastBaseUpdate=U,i.shared.pending=null}}while(!0);L===null&&(S=Y),i.baseState=S,i.firstBaseUpdate=k,i.lastBaseUpdate=L,c===null&&(i.shared.lanes=0),Il|=h,e.lanes=h,e.memoizedState=Y}}function Gf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Xf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ec?c:8;var h=O.T,b={};O.T=b,Mc(e,!1,t,l);try{var S=i(),k=O.S;if(k!==null&&k(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var L=rg(S,a);cs(e,t,L,Lt(e))}else cs(e,t,a,Lt(e))}catch(Y){cs(e,t,{then:function(){},status:"rejected",reason:Y},Lt())}finally{G.p=c,h!==null&&b.types!==null&&(h.types=b.types),O.T=h}}function mg(){}function Cc(e,t,l,a){if(e.tag!==5)throw Error(u(476));var i=Nd(e).queue;jd(e,i,t,ae,l===null?mg:function(){return Sd(e),l(a)})}function Nd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Sd(e){var t=Nd(e);t.next===null&&(t=e.alternate.memoizedState),cs(e,t.next.queue,{},Lt())}function kc(){return ot(Es)}function wd(){return Je().memoizedState}function Ed(){return Je().memoizedState}function hg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Lt();e=Vl(l);var a=Zl(t,e,l);a!==null&&(At(a,t,l),as(a,t,l)),t={cache:ic()},e.payload=t;return}t=t.return}}function pg(e,t,l){var a=Lt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ci(e)?Td(t,l):(l=Jr(e,t,l,a),l!==null&&(At(l,e,a),Ad(l,t,a)))}function zd(e,t,l){var a=Lt();cs(e,t,l,a)}function cs(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ci(e))Td(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,b=c(h,l);if(i.hasEagerState=!0,i.eagerState=b,kt(b,h))return ui(e,t,i,0),Le===null&&oi(),!1}catch{}finally{}if(l=Jr(e,t,i,a),l!==null)return At(l,e,a),Ad(l,t,a),!0}return!1}function Mc(e,t,l,a){if(a={lane:2,revertLane:uo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ci(e)){if(t)throw Error(u(479))}else t=Jr(e,l,a,2),t!==null&&At(t,e,2)}function Ci(e){var t=e.alternate;return e===de||t!==null&&t===de}function Td(e,t){on=Si=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Ad(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Mu(e,l)}}var os={readContext:ot,use:zi,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};os.useEffectEvent=Qe;var _d={readContext:ot,use:zi,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:dd,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Ai(4194308,4,xd.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Ai(4194308,4,e,t)},useInsertionEffect:function(e,t){Ai(4,2,e,t)},useMemo:function(e,t){var l=vt();t=t===void 0?null:t;var a=e();if(Ca){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=vt();if(l!==void 0){var i=l(t);if(Ca){il(!0);try{l(t)}finally{il(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=pg.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ec(e);var t=e.queue,l=zd.bind(null,de,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Ac,useDeferredValue:function(e,t){var l=vt();return _c(l,e,t)},useTransition:function(){var e=Ec(!1);return e=jd.bind(null,de,e.queue,!0,!1),vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=de,i=vt();if(je){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Le===null)throw Error(u(349));(ve&127)!==0||Ff(a,t,l)}i.memoizedState=l;var c={value:l,getSnapshot:t};return i.queue=c,dd(If.bind(null,a,c,e),[e]),a.flags|=2048,fn(9,{destroy:void 0},Wf.bind(null,a,c,l,t),null),l},useId:function(){var e=vt(),t=Le.identifierPrefix;if(je){var l=ol,a=cl;l=(a&~(1<<32-bt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=wi++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?h.createElement("select",{is:a.is}):h.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?h.createElement(i,{is:a.is}):h.createElement(i)}}c[rt]=t,c[Nt]=a;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)c.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=c;e:switch(ft(c,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&_l(t)}}return qe(t),Vc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&_l(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,tn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=ct,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[rt]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Km(e.nodeValue,l)),e||Gl(t,!0)}else e=Fi(e).createTextNode(a),e[rt]=t,t.stateNode=e}return qe(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=tn(t),l!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[rt]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else l=lc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Dt(t),t):(Dt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return qe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=tn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(u(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(u(317));i[rt]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),i=!1}else i=lc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dt(t),t):(Dt(t),null)}return Dt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ri(t,t.updateQueue),qe(t),null);case 4:return Te(),e===null&&po(t.stateNode.containerInfo),qe(t),null;case 10:return El(t.type),qe(t),null;case 19:if(q(Ke),a=t.memoizedState,a===null)return qe(t),null;if(i=(t.flags&128)!==0,c=a.rendering,c===null)if(i)fs(a,!1);else{if(Ve!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Ni(e),c!==null){for(t.flags|=128,fs(a,!1),e=c.updateQueue,t.updateQueue=e,Ri(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)zf(l,e),l=l.sibling;return J(Ke,Ke.current&1|2),je&&Sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ht()>qi&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304)}else{if(!i)if(e=Ni(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Ri(t,e),fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!je)return qe(t),null}else 2*ht()-a.renderingStartTime>qi&&l!==536870912&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ht(),e.sibling=null,l=Ke.current,J(Ke,i?l&1|2:l&1),je&&Sl(t,a.treeForkCount),e):(qe(t),null);case 22:case 23:return Dt(t),pc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),l=t.updateQueue,l!==null&&Ri(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&q(za),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),El(We),qe(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function yg(e,t){switch(ec(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return El(We),Te(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Me(t),null;case 31:if(t.memoizedState!==null){if(Dt(t),t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(Ke),null;case 4:return Te(),null;case 10:return El(t.type),null;case 22:case 23:return Dt(t),pc(),e!==null&&q(za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return El(We),null;case 25:return null;default:return null}}function Pd(e,t){switch(ec(t),t.tag){case 3:El(We),Te();break;case 26:case 27:case 5:Me(t);break;case 4:Te();break;case 31:t.memoizedState!==null&&Dt(t);break;case 13:Dt(t);break;case 19:q(Ke);break;case 10:El(t.type);break;case 22:case 23:Dt(t),pc(),e!==null&&q(za);break;case 24:El(We)}}function ds(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var c=l.create,h=l.inst;a=c(),h.destroy=a}l=l.next}while(l!==i)}}catch(b){ke(t,t.return,b)}}function Fl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var c=i.next;a=c;do{if((a.tag&e)===e){var h=a.inst,b=h.destroy;if(b!==void 0){h.destroy=void 0,i=t;var S=l,k=b;try{k()}catch(L){ke(i,S,L)}}}a=a.next}while(a!==c)}}catch(L){ke(t,t.return,L)}}function em(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Xf(t,l)}catch(a){ke(e,e.return,a)}}}function tm(e,t,l){l.props=ka(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){ke(e,t,a)}}function ms(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(i){ke(e,t,i)}}function ul(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){ke(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){ke(e,t,i)}else l.current=null}function lm(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(i){ke(e,e.return,i)}}function Zc(e,t,l){try{var a=e.stateNode;Yg(a,e.type,l,t),a[Nt]=t}catch(i){ke(e,e.return,i)}}function am(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&aa(e.type)||e.tag===4}function Kc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||am(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&aa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=yl));else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Jc(e,t,l),e=e.sibling;e!==null;)Jc(e,t,l),e=e.sibling}function Ui(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ui(e,t,l),e=e.sibling;e!==null;)Ui(e,t,l),e=e.sibling}function nm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ft(t,a,l),t[rt]=e,t[Nt]=l}catch(c){ke(e,e.return,c)}}var Cl=!1,et=!1,Fc=!1,sm=typeof WeakSet=="function"?WeakSet:Set,st=null;function jg(e,t){if(e=e.containerInfo,bo=ar,e=gf(e),Gr(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var i=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break e}var h=0,b=-1,S=-1,k=0,L=0,Y=e,M=null;t:for(;;){for(var U;Y!==l||i!==0&&Y.nodeType!==3||(b=h+i),Y!==c||a!==0&&Y.nodeType!==3||(S=h+a),Y.nodeType===3&&(h+=Y.nodeValue.length),(U=Y.firstChild)!==null;)M=Y,Y=U;for(;;){if(Y===e)break t;if(M===l&&++k===i&&(b=h),M===c&&++L===a&&(S=h),(U=Y.nextSibling)!==null)break;Y=M,M=Y.parentNode}Y=U}l=b===-1||S===-1?null:{start:b,end:S}}else l=null}l=l||{start:0,end:0}}else l=null;for(vo={focusedElem:e,selectionRange:l},ar=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),ft(c,a,l),c[rt]=e,nt(c),a=c;break e;case"link":var h=fh("link","href",i).get(a+(l.href||""));if(h){for(var b=0;bUe&&(h=Ue,Ue=se,se=h);var A=pf(b,se),z=pf(b,Ue);if(A&&z&&(U.rangeCount!==1||U.anchorNode!==A.node||U.anchorOffset!==A.offset||U.focusNode!==z.node||U.focusOffset!==z.offset)){var _=Y.createRange();_.setStart(A.node,A.offset),U.removeAllRanges(),se>Ue?(U.addRange(_),U.extend(z.node,z.offset)):(_.setEnd(z.node,z.offset),U.addRange(_))}}}}for(Y=[],U=b;U=U.parentNode;)U.nodeType===1&&Y.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bl?32:l,O.T=null,l=ao,ao=null;var c=ea,h=Rl;if(lt=0,xn=ea=null,Rl=0,(Ae&6)!==0)throw Error(u(331));var b=Ae;if(Ae|=4,xm(c.current),mm(c,c.current,h,l),Ae=b,vs(0,!1),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(sl,c)}catch{}return!0}finally{G.p=i,O.T=a,Dm(e,t)}}function Um(e,t,l){t=Yt(l,t),t=Uc(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(Bn(e,2),fl(e))}function ke(e,t,l){if(e.tag===3)Um(e,e,l);else for(;t!==null;){if(t.tag===3){Um(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Pl===null||!Pl.has(a))){e=Yt(l,e),l=Ld(2),a=Zl(t,l,2),a!==null&&(Hd(l,a,t,e),Bn(a,2),fl(a));break}}t=t.return}}function ro(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new wg;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Pc=!0,i.add(l),e=_g.bind(null,e,t,l),t.then(e,e))}function _g(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Le===e&&(ve&l)===l&&(Ve===4||Ve===3&&(ve&62914560)===ve&&300>ht()-Bi?(Ae&2)===0&&gn(e,0):eo|=l,pn===ve&&(pn=0)),fl(e)}function Lm(e,t){t===0&&(t=Ws()),e=ja(e,t),e!==null&&(Bn(e,t),fl(e))}function Cg(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Lm(e,l)}function kg(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),Lm(e,l)}function Mg(e,t){return It(e,t)}var Vi=null,vn=null,co=!1,Zi=!1,oo=!1,la=0;function fl(e){e!==vn&&e.next===null&&(vn===null?Vi=vn=e:vn=vn.next=e),Zi=!0,co||(co=!0,Dg())}function vs(e,t){if(!oo&&Zi){oo=!0;do for(var l=!1,a=Vi;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var c=0;else{var h=a.suspendedLanes,b=a.pingedLanes;c=(1<<31-bt(42|e)+1)-1,c&=i&~(h&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,$m(a,c))}else c=ve,c=Ha(a,a===Le?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Hl(a,c)||(l=!0,$m(a,c));a=a.next}while(l);oo=!1}}function Og(){Hm()}function Hm(){Zi=co=!1;var e=0;la!==0&&Xg()&&(e=la);for(var t=ht(),l=null,a=Vi;a!==null;){var i=a.next,c=Bm(a,t);c===0?(a.next=null,l===null?Vi=i:l.next=i,i===null&&(vn=l)):(l=a,(e!==0||(c&3)!==0)&&(Zi=!0)),a=i}lt!==0&<!==5||vs(e),la!==0&&(la=0)}function Bm(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0b)break;var L=S.transferSize,Y=S.initiatorType;L&&Jm(Y)&&(S=S.responseEnd,h+=L*(S"u"?null:document;function rh(e,t,l){var a=yn;if(a&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),ih.has(i)||(ih.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),ft(t,"link",e),nt(t),a.head.appendChild(t)))}}function Pg(e){Ul.D(e),rh("dns-prefetch",e,null)}function e0(e,t){Ul.C(e,t),rh("preconnect",e,t)}function t0(e,t,l){Ul.L(e,t,l);var a=yn;if(a&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+qt(l.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=jn(e);break;case"script":c=Nn(e)}Kt.has(c)||(e=y({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Kt.set(c,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(Ss(c))||t==="script"&&a.querySelector(ws(c))||(t=a.createElement("link"),ft(t,"link",e),nt(t),a.head.appendChild(t)))}}function l0(e,t){Ul.m(e,t);var l=yn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(a)+'"][href="'+qt(e)+'"]',c=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Nn(e)}if(!Kt.has(c)&&(e=y({rel:"modulepreload",href:e},t),Kt.set(c,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ws(c)))return}a=l.createElement("link"),ft(a,"link",e),nt(a),l.head.appendChild(a)}}}function a0(e,t,l){Ul.S(e,t,l);var a=yn;if(a&&e){var i=Ya(a).hoistableStyles,c=jn(e);t=t||"default";var h=i.get(c);if(!h){var b={loading:0,preload:null};if(h=a.querySelector(Ss(c)))b.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Kt.get(c))&&zo(e,l);var S=h=a.createElement("link");nt(S),ft(S,"link",e),S._p=new Promise(function(k,L){S.onload=k,S.onerror=L}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ii(h,t,a)}h={type:"stylesheet",instance:h,count:1,state:b},i.set(c,h)}}}function n0(e,t){Ul.X(e,t);var l=yn;if(l&&e){var a=Ya(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=y({src:e,async:!0},t),(t=Kt.get(i))&&To(e,t),c=l.createElement("script"),nt(c),ft(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function s0(e,t){Ul.M(e,t);var l=yn;if(l&&e){var a=Ya(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=y({src:e,async:!0,type:"module"},t),(t=Kt.get(i))&&To(e,t),c=l.createElement("script"),nt(c),ft(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function ch(e,t,l,a){var i=(i=fe.current)?Wi(i):null;if(!i)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=jn(l.href),l=Ya(i).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=jn(l.href);var c=Ya(i).hoistableStyles,h=c.get(e);if(h||(i=i.ownerDocument||i,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,h),(c=i.querySelector(Ss(e)))&&!c._p&&(h.instance=c,h.state.loading=5),Kt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Kt.set(e,l),c||i0(i,e,l,h.state))),t&&a===null)throw Error(u(528,""));return h}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Nn(l),l=Ya(i).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function jn(e){return'href="'+qt(e)+'"'}function Ss(e){return'link[rel="stylesheet"]['+e+"]"}function oh(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function i0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ft(t,"link",l),nt(t),e.head.appendChild(t))}function Nn(e){return'[src="'+qt(e)+'"]'}function ws(e){return"script[async]"+e}function uh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qt(l.href)+'"]');if(a)return t.instance=a,nt(a),a;var i=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),nt(a),ft(a,"style",i),Ii(a,l.precedence,e),t.instance=a;case"stylesheet":i=jn(l.href);var c=e.querySelector(Ss(i));if(c)return t.state.loading|=4,t.instance=c,nt(c),c;a=oh(l),(i=Kt.get(i))&&zo(a,i),c=(e.ownerDocument||e).createElement("link"),nt(c);var h=c;return h._p=new Promise(function(b,S){h.onload=b,h.onerror=S}),ft(c,"link",a),t.state.loading|=4,Ii(c,l.precedence,e),t.instance=c;case"script":return c=Nn(l.src),(i=e.querySelector(ws(c)))?(t.instance=i,nt(i),i):(a=l,(i=Kt.get(c))&&(a=y({},l),To(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),nt(i),ft(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ii(a,l.precedence,e));return t.instance}function Ii(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,c=i,h=0;h title"):null)}function r0(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function mh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function c0(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var i=jn(a.href),c=t.querySelector(Ss(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=er.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=c,nt(c);return}c=t.ownerDocument||t,a=oh(a),(i=Kt.get(i))&&zo(a,i),c=c.createElement("link"),nt(c);var h=c;h._p=new Promise(function(b,S){h.onload=b,h.onerror=S}),ft(c,"link",a),l.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=er.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Ao=0;function o0(e,t){return e.stylesheets&&e.count===0&&lr(e,e.stylesheets),0Ao?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function er(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)lr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var tr=null;function lr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,tr=new Map,t.forEach(u0,e),tr=null,er.call(e))}function u0(e,t){if(!(t.state.loading&4)){var l=tr.get(e);if(l)var a=l.get(null);else{l=new Map,tr.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Lo.exports=_0(),Lo.exports}var Wo=C0();/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const k0=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),M0=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,o,u)=>u?u.toUpperCase():o.toLowerCase()),Hh=s=>{const r=M0(s);return r.charAt(0).toUpperCase()+r.slice(1)},Cp=(...s)=>s.filter((r,o,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===o).join(" ").trim(),O0=s=>{for(const r in s)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */var D0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const R0=R.forwardRef(({color:s="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:m,...x},g)=>R.createElement("svg",{ref:g,...D0,width:r,height:r,stroke:s,strokeWidth:u?Number(o)*24/Number(r):o,className:Cp("lucide",f),...!d&&!O0(x)&&{"aria-hidden":"true"},...x},[...m.map(([p,v])=>R.createElement(p,v)),...Array.isArray(d)?d:[d]]));/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const He=(s,r)=>{const o=R.forwardRef(({className:u,...f},d)=>R.createElement(R0,{ref:d,iconNode:r,className:Cp(`lucide-${k0(Hh(s))}`,`lucide-${s}`,u),...f}));return o.displayName=Hh(s),o};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const U0=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],zn=He("arrow-up-right",U0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const L0=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],H0=He("bed-double",L0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const B0=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],q0=He("calendar-check",B0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const $0=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],Y0=He("calendar-days",$0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const G0=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],X0=He("car",G0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Q0=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],iu=He("check",Q0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const V0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],pr=He("chevron-down",V0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Z0=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],da=He("chevron-left",Z0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const K0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ma=He("chevron-right",K0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const J0=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],F0=He("clock",J0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const W0=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],I0=He("copy",W0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const P0=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],eb=He("external-link",P0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const tb=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],lb=He("instagram",tb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ab=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],kp=He("mail",ab);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const nb=[["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"}]],Xs=He("map-pin",nb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const sb=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Mp=He("menu",sb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ib=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],ru=He("message-circle",ib);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const rb=[["path",{d:"M5 12h14",key:"1ays0h"}]],cb=He("minus",rb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ob=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],$o=He("navigation",ob);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ub=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ct=He("phone",ub);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const fb=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],db=He("play",fb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const mb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],hb=He("plus",mb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const pb=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],xb=He("rotate-ccw",pb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const gb=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],bb=He("utensils",gb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const vb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],cu=He("x",vb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const yb=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],jb=He("youtube",yb),Op=R.createContext(null);function Nb({payload:s,children:r}){return n.jsx(Op.Provider,{value:s,children:r})}function P(){const s=R.useContext(Op);if(!s)throw new Error("SiteProvider 밖에서 useSite() 를 불렀습니다. payload 없이는 렌더할 수 없습니다.");return s}function Sb(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[n.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"8.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M8.5 9.4v5.2M5.9 12h5.2"})]}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"15.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M15.5 9.4v5.2M12.9 12h5.2"})]}),n.jsx("path",{d:"M6 19l1.5-2.4h9L18 19"})]})}function wb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M8 5v14l11-7z"})})}function Eb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function zb(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("path",{d:"M4 7h11M4 12h11M4 17h7"}),n.jsx("path",{d:"M19 17.5V9l3 1.2"}),n.jsx("circle",{cx:"17.4",cy:"17.6",r:"1.7",fill:"currentColor",stroke:"none"})]})}function Tb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:n.jsx("path",{d:"M6 6l12 12M18 6L6 18"})})}function Bh(s){if(typeof s!="number"||!Number.isFinite(s))return"";const r=Math.floor(s/60),o=Math.floor(s%60);return`${r}:${o<10?"0":""}${o}`}function Ab(){const s=P(),r=(s.songs??[]).filter(Q=>Q.audioUrl),[o,u]=R.useState(0),[f,d]=R.useState(!1),[m,x]=R.useState(!1),[g,p]=R.useState({now:0,total:0}),[v,y]=R.useState({}),N=R.useRef(null),E=R.useRef(null),j=R.useRef(null),T=r.length;R.useEffect(()=>{T>1&&u(Math.floor(Math.random()*T))},[T]);const C=R.useCallback(()=>{var W;const Q=document.querySelector("header"),V=Q==null?void 0:Q.getBoundingClientRect(),$={top:`${V?V.bottom+6:66}px`};if(window.innerWidth<=640)$.left="8px",$.right="8px";else{$.left="auto";const le=(W=E.current)==null?void 0:W.getBoundingClientRect();$.right=`${Math.max(12,window.innerWidth-((le==null?void 0:le.right)??0))}px`}y($)},[]);if(R.useEffect(()=>{if(!m)return;C();const Q=()=>C(),V=$=>{var le,xe;const W=$.target;(le=j.current)!=null&&le.contains(W)||(xe=E.current)!=null&&xe.contains(W)||x(!1)};return window.addEventListener("resize",Q),window.addEventListener("scroll",Q,{passive:!0}),document.addEventListener("click",V),()=>{window.removeEventListener("resize",Q),window.removeEventListener("scroll",Q),document.removeEventListener("click",V)}},[m,C]),R.useEffect(()=>()=>{var Q;return(Q=N.current)==null?void 0:Q.pause()},[]),r.length===0)return null;const D=r[o]??r[0],X=(Q=o)=>{const V=N.current,$=r[Q];!V||!$||(V.getAttribute("src")!==$.audioUrl&&(V.src=$.audioUrl),V.play().then(()=>d(!0),()=>d(!1)))},H=()=>{var Q;(Q=N.current)==null||Q.pause(),d(!1)},Z=Q=>{const V=(Q%r.length+r.length)%r.length;u(V),p({now:0,total:0}),X(V)};return n.jsxs(n.Fragment,{children:[n.jsxs("span",{id:"w4d-mini",ref:E,"data-playing":f?"1":"0",children:[n.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${s.place.name}이(가) 만든 노래`,children:n.jsx(Sb,{})}),n.jsx("span",{id:"w4d-now","aria-live":"polite",children:D.title}),n.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"멈춤":"재생"} · ${D.title}`,onClick:()=>f?H():X(),children:f?n.jsx(Eb,{}):n.jsx(wb,{})}),n.jsx("button",{type:"button",id:"w4d-toggle",title:"노래 목록","aria-expanded":m,onClick:()=>x(Q=>!Q),children:n.jsx(zb,{})})]}),n.jsx("audio",{ref:N,src:r[0].audioUrl,preload:"none",onTimeUpdate:Q=>p({now:Q.currentTarget.currentTime,total:Q.currentTarget.duration}),onDurationChange:Q=>p(V=>({...V,total:Q.currentTarget.duration})),onEnded:()=>Z(o+1),onError:()=>d(!1)}),n.jsxs("div",{id:"w4d-panel",ref:j,hidden:!m,style:v,children:[n.jsxs("div",{className:"w4d-head",children:[n.jsxs("span",{className:"w4d-head-t",children:[s.place.name,"이(가) 만든 노래"]}),n.jsxs("span",{className:"w4d-head-n",children:[r.length,"곡"]}),n.jsx("button",{type:"button",id:"w4d-close",title:"닫기","aria-label":"닫기",onClick:()=>x(!1),children:n.jsx(Tb,{})})]}),n.jsx("ol",{children:r.map((Q,V)=>n.jsx("li",{children:n.jsxs("button",{type:"button",className:"w4d-item","aria-current":V===o,"data-playing":V===o&&f?"1":"0",onClick:()=>Z(V),children:[n.jsxs("span",{className:"w4d-mark",children:[n.jsx("span",{className:"w4d-disc-sm"}),n.jsxs("span",{className:"w4d-eq","aria-hidden":!0,children:[n.jsx("i",{}),n.jsx("i",{}),n.jsx("i",{})]})]}),n.jsxs("span",{className:"w4d-info",children:[n.jsx("span",{className:"w4d-t",children:Q.title}),n.jsx("span",{className:"w4d-sub",children:s.place.name})]}),n.jsx("span",{className:"w4d-time",children:V===o&&(f||g.now>0)?`${Bh(g.now)}${g.total?` / ${Bh(g.total)}`:""}`:""})]})},Q.songId))}),n.jsx("div",{id:"w4d-lyrics-box",hidden:!D.lyrics,children:(D.lyrics??"").replace(/^\[.*\]$/gm,"").replace(/\n{3,}/g,`
+
+`).trim()})]})]})}const ua={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},_b={OWNER:1,CRAWL:3,TEMPLATE:5},qh={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},Cb=[qh.VERIFIED,qh.CORRECTED];function Dp(s){return Cb.includes(s)}const yt={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},cj={PUBLISHED:3};function Tn(s){return s.filter(r=>Dp(r.status)&&r.value!=null&&r.value!=="")}function Rp(s){const r=new Map;for(const o of Tn(s))r.set(o.key,o);return r}function oa(s,r){const o=Rp(s).get(r);return(o==null?void 0:o.value)??void 0}function _t(s,r){const o=Rp(s).get(r);if(!(o!=null&&o.value))return;const u=o.type==="number"?kb(o.value):o.value;return o.unit?`${u}${o.unit}`:u}function kb(s){const r=Number(s.replace(/,/g,""));return Number.isFinite(r)?r.toLocaleString("ko-KR"):s}function ou(s){return s.type!=="bool"?s.label:s.label.replace(/\s*(가능|여부)$/,"")||s.label}function Mb(s){return s.filter(r=>Dp(r.status)&&r.question&&r.answer).sort((r,o)=>r.sortOrder-o.sortOrder)}function uu(s){return s.map(r=>({...r,facts:Tn(r.facts)})).sort((r,o)=>r.sortOrder-o.sortOrder)}const Ob={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",reading:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function Db(s){const r=(s??"").trim();if(!r)return;const o=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(r);return o==null?void 0:o[1]}function Rb(s){return/youtube\.com\/shorts\//.test((s??"").trim())}function Ub(s){return`https://i.ytimg.com/vi/${s}/hqdefault.jpg`}function Lb(s){return`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&rel=0&modestbranding=1`}const ur={items:[],unverified:0,sourced:0};function Hb(s,r){var p,v;const o=y=>{const N=s.slice(0,Math.max(0,y)),E=N.split(`
+`).length,j=y-N.lastIndexOf(`
+`);return`${E}번째 줄 ${j}번째 글자`},u=(p=/Unexpected token '(.)'/.exec(r))==null?void 0:p[1],f=u==="}"||u==="]"?"닫는 괄호 바로 앞에 쉼표가 하나 더 있는지 보세요.":"그 앞의 쉼표·따옴표·괄호를 확인해 주세요.",d=/line (\d+) column (\d+)/.exec(r);if(d)return`${d[1]}번째 줄 ${d[2]}번째 글자에서 JSON 이 끊깁니다. ${f}`;const m=/position (\d+)/.exec(r);if(m)return`${o(Number(m[1]))}에서 JSON 이 끊깁니다. ${f}`;const x=(v=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(r))==null?void 0:v[1],g=x?s.indexOf(x):-1;return g>=0?`${o(g+x.length)} 부근에서 JSON 이 끊깁니다. ${f}`:"JSON 이 아닙니다. ChatGPT 가 준 답에서 { 로 시작해 } 로 끝나는 부분만 붙여넣어 주세요."}function Bb(s,r){const o=Ob[s],u=(r??"").trim();if(!o||!u)return ur;let f;try{f=JSON.parse(u)}catch(y){return{...ur,error:Hb(u,y instanceof Error?y.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...ur,error:"바깥이 { } 로 감싸인 JSON 이어야 합니다."};const d=f,m=typeof d.kind=="string"?d.kind:void 0,x=d.items;if(!Array.isArray(x))return{...ur,error:"items 배열이 없습니다. 프롬프트로 다시 만들어 주세요."};const g=x.filter(y=>typeof y=="object"&&y!==null&&!Array.isArray(y)&&typeof y[o]=="string"&&y[o].trim().length>0);let p=0,v=0;for(const y of g){const N=y;N.verified!=="확인"&&(p+=1),N.source&&typeof N.source=="object"&&(v+=1)}return{items:g,title:typeof d.title=="string"?d.title:void 0,subtitle:typeof d.subtitle=="string"?d.subtitle:void 0,linkUrl:typeof d.linkUrl=="string"&&/^https?:\/\//.test(d.linkUrl)?d.linkUrl:void 0,linkLabel:typeof d.linkLabel=="string"?d.linkLabel:void 0,kindMismatch:m&&m!==s?m:void 0,unverified:p,sourced:v}}const qb=1260,$b=60,Yb="10:00",$h=["봄","여름","가을","겨울"];function Yh(s){const r=/^(\d{1,2}):(\d{2})$/.exec(s.trim());if(!r)return;const o=Number(r[1]),u=Number(r[2]);if(!(o>23||u>59))return o*60+u}function fr(s){const r=(s%1440+1440)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`}function Gb(s){const r=Yh(s.startTime??"")??Yh(Yb)??600,o=[];let u=r,f=0;for(const d of s.stops??[]){const m=Math.max(0,d.moveMinutes??0),x=Math.max(1,d.minutes??$b),g=u+m;if(g+x>qb){f+=1;continue}o.push({stop:d,time:fr(g),until:fr(g+x),move:m}),u=g+x}return{stops:o,from:fr(r),to:fr(u),totalMinutes:u-r,dropped:f}}function Xb(s=new Date){const r=s.getMonth()+1,o=Math.floor((r-3+12)%12/3),u=$h[o];return r%3===0&&s.getDate()<=15?[$h[(o+3)%4],u]:[u]}function Gh(s){const r=parseInt(s.replace("#",""),16);return[r>>16&255,r>>8&255,r&255]}function Xh(s,r,o){if(!/^#[0-9a-fA-F]{6}$/.test(s)||!/^#[0-9a-fA-F]{6}$/.test(r))return s;const[u,f,d]=Gh(s),[m,x,g]=Gh(r),p=(y,N)=>Math.round(y+(N-y)*o),v=y=>y.toString(16).padStart(2,"0");return`#${v(p(u,m))}${v(p(f,x))}${v(p(d,g))}`}function Qb(s){return{surface:Xh(s.bg,s.text,.06),surfaceAlt:s.card,inverse:"#1c1917",border:Xh(s.bg,s.text,.2)}}const Up={[ua.LODGING]:{type:"HotelRoom",path:"rooms",label:"객실"},[ua.CAFE]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.RESTAURANT]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.CLINIC]:{type:"Product",path:"programs",label:"시술"}};function Vb(s){return s.links.filter(r=>r.confirmed&&/^https?:\/\//i.test(r.url??""))}function Lp(s){var r;for(const[o,u]of[["weekday_price","주중 1박"],["price","1박"],["weekend_price","주말 1박"],["peak_price","성수기 1박"]]){const f=Number((r=oa(s.facts,o))==null?void 0:r.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Qh=[yt.NAVER_BOOKING,yt.YANOLJA,yt.GOODCHOICE,yt.NAVER_PLACE];function fu(s){return Tn(s.facts).filter(r=>r.scope==="place").map(r=>({key:r.key,label:ou(r),value:du(r,s.facts)})).filter(r=>r.value!=="")}function du(s,r){var u;if(s.key==="intro"&&((u=s.summary)!=null&&u.trim()))return s.summary.trim();const o=_t(r,s.key);return o?s.type!=="bool"?o:/여부$/.test(s.label)?o==="true"?"있음":o==="false"?"없음":o:o==="true"?"가능":o==="false"?"불가":o:""}const Zb=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function Kb(s){const r=new Set;return s.filter(o=>{const u=o.value.trim();return r.has(u)?!1:(r.add(u),!0)})}function hl(s){const r=Up[s.place.category],o=new Map(s.media.map(u=>[u.mediaId,u]));return uu(s.units).map(u=>{const f=_t(u.facts,"room_intro")??_t(u.facts,"description"),d=s.place.category===ua.LODGING?["standard_capacity","max_capacity","bed_type","room_size"]:["price","volume","origin"];return{unitId:u.unitId,slug:u.slug,name:u.name,intro:f,chips:d.map(m=>{var p;const x=_t(u.facts,m),g=((p=u.facts.find(v=>v.key===m))==null?void 0:p.label)??m;return x?{label:g,value:x}:null}).filter(m=>m!==null),rows:Kb(u.facts.filter(m=>!Zb.has(m.key)).filter(m=>!d.includes(m.key)).filter(m=>m.key!=="room_intro"&&m.key!=="description").map(m=>({label:ou(m),value:du(m,u.facts)})).filter(m=>m.value!==""&&m.value.trim()!==(f??"").trim())),images:u.mediaIds.map(m=>o.get(m)).filter(m=>{var x;return!!((x=m==null?void 0:m.alt)!=null&&x.trim())}),priceText:Jb(u),prices:Wb(u),href:`/${r.path}/${u.slug}`}})}function Jb(s){var d,m;const r=_t(s.facts,"price_range");if(r)return r;const o=Number((d=_t(s.facts,"weekday_price"))==null?void 0:d.replace(/[^0-9]/g,"")),u=Number((m=_t(s.facts,"price"))==null?void 0:m.replace(/[^0-9]/g,"")),f=Number.isFinite(o)&&o>0?o:u;if(!(!Number.isFinite(f)||f<=0))return`${f.toLocaleString("ko-KR")}원부터`}const Fb=[["weekday_price","주중"],["weekend_price","주말"],["peak_price","성수기"]];function Wb(s){return _t(s.facts,"price_range")?[]:_t(s.facts,"weekday_price")?Fb.map(([r,o])=>({label:o,value:_t(s.facts,r)??"문의"})):[]}function Ib(s){const r=s??"";return/눈|설/.test(r)?"눈":/비|우|소나기/.test(r)?"비":/흐림|구름|안개|박무/.test(r)?"흐림":"맑음"}function Pb(s){return s>=30?"혹서":s>=25?"더움":s>=20?"선선":s>=10?"쌀쌀":"추움"}function mu(s){return s.media.filter(r=>{var o;return((o=r.alt)==null?void 0:o.trim())&&!r.unitId})}function ev(s){return Mb(s.faqs)}function tv(s){return s.theme.sections.filter(r=>r.enabled)}function Ft(s,r){var o;return((o=s.theme.sections.find(u=>u.id===r))==null?void 0:o.enabled)??!1}function lv(s,r){var u;const o=(u=s.theme.sections.find(f=>f.id===r))==null?void 0:u.body;return(o==null?void 0:o.split(/\n\s*\n/).map(f=>f.trim()).filter(Boolean))??[]}function al(s,r){var d;const o=s.theme.sections.find(m=>m.id===r),u=Bb(r,o==null?void 0:o.data),f=(d=s.local.story)==null?void 0:d[r];return!Array.isArray(f)||f.length===0?u:{...u,items:[...u.items,...f]}}function mt(s){return Up[s.place.category]}function $e(s,r,o){var f,d;const u=(d=(f=s.theme.sections.find(m=>m.id===r))==null?void 0:f.name)==null?void 0:d.trim();return u||o}function An(s,r){const o=new Map(Tn(s.facts).filter(u=>u.scope==="place").map(u=>[u.key,u]));return r.map(u=>o.get(u)).filter(u=>u!==void 0).map(u=>({label:ou(u),value:du(u,s.facts)})).filter(u=>u.value!=="")}function av(s,r){return An(s,[r])[0]}const nv=["reservation_required","reservation_channel"];function sv(s){return An(s,nv)}const iv=["seat_count","terrace","room_available","group_seat_max","power_outlet","study_allowed","wheelchair_accessible"];function rv(s){return An(s,iv)}const cv=["operating_hours","session_times","closed_days","age_limit","guide_language"];function ov(s){return An(s,cv)}const uv=["check_in_time","check_out_time","operating_hours","closed_days","parking","reservation_required"];function Ra(s){return An(s,uv).slice(0,4)}function _n(s){const r=hl(s).map(u=>u.priceText).filter(u=>!!u);if(r.length===0)return;const o=u=>Number(u.replace(/[^0-9]/g,""))||Number.MAX_SAFE_INTEGER;return r.reduce((u,f)=>o(f)o.confirmed&&r.includes(o.channel))}function Ze(s){const r=new Map(Qh.map((o,u)=>[o,u]));return Bp(s,Qh).filter(o=>!dv(o.url)).sort((o,u)=>(r.get(o.channel)??99)-(r.get(u.channel)??99))}function dv(s){return/\/p\/search\/|[?&]query=/.test(s)}const mv=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function hv(s){return uu(s.units).map(r=>{const o=_t(r.facts,"standard_capacity"),u=_t(r.facts,"max_capacity"),f=Lp(r);return{unitId:r.unitId,name:r.name,capacityText:[o&&`기준 ${o}`,u&&`최대 ${u}`].filter(Boolean).join(" · ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var g;const m=_t(r.facts,d),x=((g=r.facts.find(p=>p.key===d))==null?void 0:g.label)??d;return m?{label:x,value:m}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}원`:void 0,href:"#units"}})}function pv(s){if(s.place.category!==ua.LODGING)return null;const r={offers:hv(s).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:An(s,mv),links:Ze(s),contacts:Cn(s).filter(u=>!Ze(s).some(f=>f.url===u.url)),phone:s.place.phone};return r.offers.length===0&&r.links.length===0&&r.contacts.length===0&&!r.phone?null:r}function xv(s,r){return s.theme.sections.some(o=>o.id===r)}function Cn(s){return Bp(s,fv)}function xt(s,r){const o=Hs(s),u=o.endsWith("예약")?o:`${o} 예약`;return r?`${r} ${u}`:u}function qp(s){return s.channel===yt.NAVER_BOOKING?"네이버 예약으로 바로 예약하기":`${pl(s)}에서 예약`}function gv(){var u;const s=P(),r=mt(s),o=[{label:"소개",href:"#about",show:Ft(s,"intro")},{label:r.label,href:"#units",show:s.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"축제",href:"#festival",show:(((u=s.local.festivals)==null?void 0:u.length)??0)>0},{label:"주변 정보",href:"#guide",show:Ft(s,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:s.faqs.length>0}].filter(f=>f.show);return n.jsx("header",{className:"border-line safe-t sticky top-0 z-40 w-full border-b backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 88%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsxs("a",{href:"#top",className:"flex min-w-0 items-center gap-2.5",children:[n.jsx("span",{className:"serif flex size-8 shrink-0 items-center justify-center rounded-md text-[length:var(--fs-sm)]",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",fontWeight:"var(--tpl-heading-weight, 700)"},"aria-hidden":!0,children:s.place.name.slice(0,1)}),n.jsxs("span",{className:"flex min-w-0 flex-col",children:[n.jsx("span",{className:"serif truncate text-[length:var(--fs-lead)] leading-tight",style:{fontWeight:"var(--tpl-heading-weight, 700)"},children:s.place.name}),s.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[length:var(--fs-xs)] uppercase leading-tight tracking-[0.14em]",children:s.place.englishName})]})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-7 lg:flex",children:o.map(f=>n.jsx("a",{href:f.href,className:"text-muted py-1 text-[length:var(--fs-sm)] font-medium transition-colors hover:text-current",children:f.label},f.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[n.jsx(Ab,{}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap inline-flex items-center gap-1.5 rounded-lg px-3 text-[length:var(--fs-xs)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:s.place.phone}),n.jsx("span",{className:"sr-only sm:hidden",children:"전화"})]}),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-lg marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(Mp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line tpl-border absolute right-0 top-[calc(100%+0.5rem)] z-50 w-52 overflow-hidden rounded-xl border shadow-lg",style:{backgroundColor:"var(--tpl-surface, #fff)"},children:n.jsx("ul",{className:"divide-line divide-y",children:o.map(f=>n.jsx("li",{children:n.jsx("a",{href:f.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-medium",children:f.label})},f.label))})})]})]})]})})}const bv=["잠시 걸음을 멈추고 온전한 쉼을 마주하는 시간","바쁜 일상을 내려놓고 나를 위한 여유를 담아갑니다","여행의 길목에서 만나는 조용하고 편안한 머무름","아무것도 하지 않아도 편안해지는 오늘의 휴식","낯선 곳에서 느끼는 다정한 온기와 작은 쉼표","지친 하루의 끝에 찾아오는 나만의 따뜻한 여백","천천히 흘러가는 시간 속에서 마주하는 깊은 휴식","스쳐 가는 여행 속에서 오래 기억될 아늑한 순간","복잡한 생각은 잠시 잊고 편안하게 쉬어가세요","작은 쉼이 모여 내일을 살아갈 따뜻한 힘이 됩니다"];function ha({children:s}){var p;const{place:r,narrative:o}=P(),u=r.category===ua.LODGING,[f,d]=R.useState(0),m=(((p=o.catchphrases)==null?void 0:p.items)??[]).filter(v=>(v.kind??"general")==="general").map(v=>v.text.trim()).filter(Boolean),x=m.length>0?m:bv;if(R.useEffect(()=>{if(!u)return;const v=window.matchMedia("(prefers-reduced-motion: reduce)"),y=window.setInterval(()=>{!document.hidden&&!v.matches&&d(N=>(N+1)%x.length)},6e3);return()=>window.clearInterval(y)},[u,x.length]),!u)return s;const g=x[f%x.length];return n.jsxs("span",{className:"hero-catchphrase",children:[s&&n.jsx("span",{className:"hero-catchphrase-fixed",children:s}),n.jsx("span",{className:"w4d-line w4d-line--in",children:g.split(/\s+/).map((v,y)=>n.jsxs("span",{children:[y>0&&" ",n.jsx("span",{className:"w4d-w",children:n.jsx("span",{style:{"--w4d-d":`${y*55}ms`},children:v})})]},y))},f)]})}function xr(s){return s.media.find(r=>{var o;return r.isPrimary&&((o=r.alt)==null?void 0:o.trim())})??s.media.find(r=>{var o;return(o=r.alt)==null?void 0:o.trim()})}function vv(s){return yv(s).join(" ")}function yv(s){const{place:r,facts:o}=s,u=[],f=r.addressLocality??r.addressRegion??r.roadAddress??r.address;u.push(f?`${f}에 있는 ${r.name}입니다.`:`${r.name}입니다.`);const d=oa(o,"check_in_time"),m=oa(o,"check_out_time");d&&m&&u.push(`체크인 ${d}, 체크아웃 ${m}.`);const x=oa(o,"business_hours")??oa(o,"open_hours");x&&u.push(`영업시간 ${x}.`);const g=oa(o,"pet_allowed");if(g==="false"&&u.push("반려동물 동반 불가."),g==="true"&&u.push("반려동물 동반 가능."),oa(o,"parking")==="true"){const v=oa(o,"parking_capacity");u.push(v?`주차 ${v}대 가능.`:"주차 가능.")}return r.phone&&u.push(`문의 ${r.phone}.`),u}const jv=6e3,Nv=5;function Sv(){const s=P(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=r.addressLocality??r.addressRegion,x=[...s.media].filter(j=>{var T;return(T=j.alt)==null?void 0:T.trim()}).sort((j,T)=>Number(T.isPrimary)-Number(j.isPrimary)).slice(0,Nv),[g,p]=R.useState(0),[v,y]=R.useState(!1),N=R.useRef(null),E=R.useCallback(j=>p(T=>(T+j+x.length)%x.length),[x.length]);return R.useEffect(()=>{if(v||x.length<2)return;const j=setInterval(()=>E(1),jv);return()=>clearInterval(j)},[v,E,x.length]),n.jsxs("section",{id:"top",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"clamp(24rem, 76vh, 42rem)"},onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onFocusCapture:()=>y(!0),onBlurCapture:()=>y(!1),onTouchStart:j=>{N.current=j.touches[0].clientX},onTouchEnd:j=>{const T=N.current;if(N.current=null,T===null)return;const C=j.changedTouches[0].clientX-T;Math.abs(C)>40&&E(C<0?1:-1)},children:[x.map((j,T)=>n.jsx("img",{src:j.url,alt:j.alt,fetchPriority:T===0?"high":"low",loading:T===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:T===g?1:0}},j.mediaId)),n.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 45%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 60%, transparent) 100%)"}}),n.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center px-6 text-center",children:[m&&n.jsx("p",{className:"label opacity-100",children:m}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:o.tagline??o.heroSubline})})]}),x.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(Vh,{dir:"prev",onClick:()=>E(-1)}),n.jsx(Vh,{dir:"next",onClick:()=>E(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:x.map((j,T)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>p(T),"aria-label":`${T+1}번째 사진`,"aria-current":T===g,className:`h-1.5 rounded-full bg-current transition-all ${T===g?"w-7 opacity-100":"w-1.5 opacity-100 hover:opacity-100"}`})},j.mediaId))})]})]}),(f||u.length>0||d.length>0||r.phone)&&n.jsx("div",{className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsxs("div",{className:"shell flex flex-col items-center gap-4 py-4 lg:flex-row lg:justify-between lg:gap-8",children:[n.jsxs("dl",{className:"divide-line flex flex-wrap justify-center gap-y-2 sm:divide-x",children:[f&&n.jsxs("div",{className:"px-5 text-center sm:first:pl-0",children:[n.jsx("dt",{className:"label",children:"1박 최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:f})]}),u.map(j=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:j.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:j.value})]},j.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border inline-flex items-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(d[0])})]})]})})]})}function Vh({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 hidden -translate-y-1/2 items-center justify-center rounded-full bg-current/15 px-3 backdrop-blur-sm transition-colors hover:bg-current/25 sm:inline-flex ${s==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function wv(){const s=P(),{place:r,narrative:o}=s,u=Ra(s).slice(0,3),f=_n(s),d=Ze(s),m=av(s,"extra_person_fee"),x=[...s.media].filter(p=>{var v;return(v=p.alt)==null?void 0:v.trim()}).sort((p,v)=>Number(v.isPrimary)-Number(p.isPrimary))[0],g=r.addressLocality??r.addressRegion;return n.jsx("section",{id:"top",className:"border-line w-full border-b",children:n.jsxs("div",{className:"grid lg:grid-cols-2",children:[n.jsx("div",{className:"relative order-1 min-h-[16rem] lg:order-none lg:min-h-[34rem]",children:x&&n.jsx("img",{src:x.url,alt:x.alt,fetchPriority:"high",decoding:"async",className:"absolute inset-0 size-full object-cover"})}),n.jsxs("div",{className:"order-2 flex flex-col justify-center gap-6 px-6 py-10 sm:px-10 lg:order-none lg:px-14 lg:py-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:[n.jsxs("div",{children:[g&&n.jsx("p",{className:"label",children:g}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:o.tagline??o.heroSubline??o.summary})})]}),n.jsxs("div",{className:"panel p-5 sm:p-6",children:[f&&n.jsxs("p",{className:"flex items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-h3)] font-bold tabular-nums",children:f}),n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)]",children:"1박 기준"})]}),u.length>0&&n.jsxs("dl",{className:"divide-line mt-4 divide-y border-t pt-1",children:[u.map(p=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{className:"font-semibold",children:p.value})]},p.label)),m&&n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:m.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:m.value})]})]}),n.jsxs("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row",children:[d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(d[0])}),r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]})]})]})]})]})})}const Ev={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function $p(s){return Ev[s??""]??"default"}function gr(){return $p(P().theme.templateId)}const dr=5,Io=1.8,zv=3;function Tv(s){const r=s*dr,o=f=>`${(f/r*100).toFixed(3)}%`;return`${s<2?"":`
+.stay2-hero-slide { animation: stay2-hero-fade ${r}s ease-in-out infinite; }
+@keyframes stay2-hero-fade {
+ 0% { opacity: 1; }
+ ${o(dr)} { opacity: 1; }
+ ${o(dr+Io)} { opacity: 0; }
+ ${o(r-Io)} { opacity: 0; }
+ 100% { opacity: 1; }
+}`}
+.stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
+@keyframes stay2-hero-focus {
+ 0% { opacity: 0; filter: blur(0.22em); }
+ 40% { opacity: 1; }
+ 100% { opacity: 1; filter: blur(0); }
+}
+@media (prefers-reduced-motion: reduce) {
+ .stay2-hero-slide, .stay2-hero-focus { animation: none; }
+}
+`}function Av(s,r){return((r-s)%r*dr+Io).toFixed(1)}function _v(){const s=P(),{place:r,narrative:o}=s,u=mt(s),f=Ze(s)[0],d=o.tagline??o.heroSubline,m=[...s.media].filter(p=>{var v;return(v=p.alt)==null?void 0:v.trim()}).sort((p,v)=>Number(v.isPrimary)-Number(p.isPrimary)),x=m.length<2?0:Math.min(m.length,zv),g=f?{href:f.url,label:`${Hs(f)}에서 예약`,external:!0}:r.phone?{href:`tel:${r.phone}`,label:`${r.phone} 예약 문의`,external:!1}:s.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return n.jsxs("section",{id:"top",className:"w-full",children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:Tv(x)}}),n.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[m.map((p,v)=>n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:v===0?"high":v0?m:fu(s).slice(0,4),g=(u==null?void 0:u.caption)??r.name;return n.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[n.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:r.name}),o.heroHeadline&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o.heroHeadline}),u&&n.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:g})]}),(f||x.length>0)&&n.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:"최저가"}),n.jsx("dd",{children:f})]}),x.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{children:p.value})]},p.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(p=>n.jsx("li",{children:n.jsx("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:xt(p)})},p.url))})]})}function kv(){const s=P(),r=mu(s),o=xr(s),u=o&&r.some(f=>f.mediaId===o.mediaId)?[o,...r.filter(f=>f.mediaId!==o.mediaId)]:r;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${s.place.name} 사진`,className:"w-full",children:n.jsx("div",{className:"columns-1 gap-2 sm:columns-2",children:u.map((f,d)=>n.jsx("figure",{className:"mb-2 break-inside-avoid",children:n.jsx("img",{src:f.url,alt:f.alt,loading:d===0?"eager":"lazy",fetchPriority:d===0?"high":void 0,decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})})}function Mv(){const s=P(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=o.tagline??o.summary,x=r.addressLocality??r.addressRegion,g=[...s.media].filter(p=>{var v;return(v=p.alt)==null?void 0:v.trim()}).sort((p,v)=>Number(v.isPrimary)-Number(p.isPrimary)).slice(0,3);return n.jsxs("section",{id:"top","data-pastel":"own",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--pastel-1)"},children:[n.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",children:[n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(12rem, 26vw, 22rem)",aspectRatio:"1",backgroundColor:"var(--pastel-2)",right:"-6%",top:"-6%",opacity:.75}}),n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(8rem, 18vw, 15rem)",aspectRatio:"1",backgroundColor:"var(--pastel-3)",left:"46%",bottom:"-10%",opacity:.7}})]}),n.jsxs("div",{className:"shell relative grid items-center gap-8 lg:grid-cols-2 lg:gap-14",style:{paddingBlock:"var(--section-space)"},children:[n.jsxs("div",{className:"order-2 lg:order-1",children:[x&&n.jsx("p",{className:"inline-flex items-center rounded-full px-3 py-1 text-[length:var(--fs-xs)] font-extrabold",style:{backgroundColor:"var(--tpl-bg, #fff)",color:"var(--pastel-ink)"},children:x}),n.jsx("h1",{className:"mt-4 break-keep",style:{fontSize:"var(--fs-display)",fontWeight:800,lineHeight:1.2,letterSpacing:"var(--tpl-heading-tracking, -0.03em)"},children:r.name}),m&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed opacity-100",children:n.jsx(ha,{children:m})}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-7 inline-flex items-center justify-center rounded-full px-8 text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:xt(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[g[0]&&n.jsx("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"1 / 1",borderRadius:"calc(var(--tpl-radius, 24px) * 1.6)",boxShadow:"0 0 0 clamp(6px, 1.4vw, 12px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:g[0].url,alt:g[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),g.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:g.slice(1).map(p=>n.jsx("li",{className:"relative overflow-hidden",style:{aspectRatio:"4 / 3",borderRadius:"var(--tpl-radius, 24px)",boxShadow:"0 0 0 clamp(4px, 1vw, 8px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},p.mediaId))})]})]})]}),(f||u.length>0)&&n.jsx("div",{className:"w-full",style:{backgroundColor:"var(--pastel-2)"},children:n.jsxs("dl",{className:"shell flex flex-wrap items-center justify-center gap-x-12 gap-y-5 py-8 text-center",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:"최저가"}),n.jsx("dd",{className:"mt-1 font-extrabold tabular-nums",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:f})]}),u.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:p.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:p.value})]},p.label))]})})]})}const Bs="repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 3%, transparent) 0 1px, transparent 1px 6px),repeating-linear-gradient(0deg, color-mix(in oklab, currentColor 2%, transparent) 0 1px, transparent 1px 6px)",Ov={intro:"about",info:"info",rooms:"units",menu:"units",programs:"units",pricing:"pricing",booking:"booking",space:"space",inquiry:"inquiry",exhibition:"exhibition",photos:"gallery",local:"guide",weather:"weather",map:"location",faq:"faq",songs:"songs",daily:"daily",chronicle:"chronicle",reading:"reading",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},Dv={about:"소개",info:"이용 정보",pricing:"요금",booking:"예약 안내",space:"공간",inquiry:"문의",exhibition:"관람 안내",gallery:"사진",guide:"주변",weather:"날씨",location:"오시는 길",faq:"자주 묻는 질문",songs:"노래",daily:"일력",chronicle:"연표",reading:"읽기",people:"인물",quiz:"퀴즈",postcard:"엽서",video:"영상",itinerary:"일정"};function Zh(s){return String(s).padStart(2,"0")}function Yp(){var f;const s=P(),r=mt(s),o=new Set,u=[];for(const d of tv(s)){const m=Ov[d.id];if(!m||o.has(m)||m==="units"&&s.units.length===0)continue;o.add(m);const x=(f=d.name)==null?void 0:f.trim();u.push({no:Zh(u.length+1),label:x||Dv[m]||r.label,anchor:m})}return o.has("location")||u.push({no:Zh(u.length+1),label:"오시는 길",anchor:"location"}),u}function hu({id:s,title:r,lead:o,aside:u}){var d;const f=(d=Yp().find(m=>m.anchor===s))==null?void 0:d.no;return n.jsxs("header",{className:"mb-7 sm:mb-10",children:[n.jsx("div",{"aria-hidden":!0,className:"mb-5 h-0.5 w-full bg-current opacity-100"}),n.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-10",children:[n.jsxs("div",{className:"relative min-w-0 flex-1",children:[f&&n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 select-none leading-none tabular-nums",style:{fontSize:"clamp(2.5rem, 7vw, 5rem)",fontWeight:800,opacity:.12},children:f}),n.jsx("h2",{id:`${s}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:r}),o&&n.jsx("p",{className:"text-muted measure relative mt-2 pl-9 font-serif text-[length:var(--fs-sm)] leading-relaxed sm:pl-14 xl:pl-20",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})]})}function Rv(){const s=P(),{place:r,narrative:o}=s,u=xr(s),f=mt(s),d=hl(s),m=Ra(s),x=_n(s),g=Ze(s)[0],p=Cn(s)[0],v=o.tagline??o.heroSubline,N=[r.addressSubLocality??r.addressLocality??r.addressRegion,d.length>0?`${f.label} ${d.length}개`:void 0,x].filter(E=>!!E);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Bs},children:n.jsxs("div",{className:"grid grid-cols-12",children:[u&&n.jsx("div",{className:"relative col-span-12 xl:col-span-8 xl:col-start-5 xl:row-start-1",style:{minHeight:"clamp(15rem, 52vh, 34rem)",backgroundColor:"var(--tpl-inverse)"},children:n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"absolute inset-0 size-full object-cover"})}),n.jsx("div",{className:"z-10 col-span-12 xl:col-start-1 xl:row-start-1 xl:mb-12 xl:mr-16 xl:self-end",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse) 88%, transparent)",color:"var(--tpl-bg)"},children:n.jsx("h1",{className:"serif px-4 py-5 sm:px-6 xl:py-8 xl:pl-10 xl:pr-16",style:{fontSize:"clamp(2.25rem, 7.5vw, 5.5rem)",fontWeight:800,lineHeight:.98,letterSpacing:"-0.035em"},children:r.name})}),n.jsxs("div",{className:"col-span-12 flex flex-col gap-5 px-4 py-8 sm:px-6 xl:col-span-4 xl:col-start-1 xl:row-start-1 xl:py-12 xl:pb-56 xl:pl-10 xl:pr-8",children:[v&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:n.jsx(ha,{children:v})}),N.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:N.join(" · ")}),(g||r.phone||p)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:xt(g)}),r.phone&&n.jsx("a",{href:`tel:${r.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:r.phone}),p&&n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[pl(p)," 문의"]})]}),m.length>0&&n.jsx("dl",{className:"mt-1",children:m.map(E=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-4 border-t py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:E.label}),n.jsx("dd",{className:"text-right font-semibold",children:E.value})]},E.label))})]})]})})}function Uv(){var g;const s=P(),r=gr();if(r==="reservation")return n.jsx(_v,{});if(r==="oasi")return n.jsx(Cv,{});if(r==="studio")return n.jsx(kv,{});if(r==="pastel")return n.jsx(Mv,{});if(r==="editorial")return n.jsx(Rv,{});const o=(g=s.theme.sections.find(p=>p.id==="hero"))==null?void 0:g.variantId;if(o==="hero.slideshow")return n.jsx(Sv,{});if(o==="hero.split")return n.jsx(wv,{});const{place:u,narrative:f}=s,d=xr(s),m=mt(s);Ze(s);const x=u.addressLocality??u.addressRegion;return n.jsx("section",{id:"top",className:"w-full",children:n.jsxs("div",{className:"relative flex w-full items-end overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",minHeight:"clamp(24rem, 62vh, 36rem)"},children:[d&&n.jsxs("div",{className:"absolute inset-0 z-0",children:[n.jsx("img",{src:d.url,alt:d.alt,fetchPriority:"high",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover object-center"}),n.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, color-mix(in srgb, var(--tpl-inverse, #1c1917) 88%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 45%, transparent) 34%, transparent 66%)"}})]}),n.jsxs("div",{className:"shell relative z-10 pb-10 pt-24 sm:pb-12",children:[x&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] opacity-100",children:[n.jsx(Xs,{className:"size-3.5"}),n.jsx("span",{children:x})]}),n.jsx("h1",{className:"serif",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:u.name}),(f.tagline??f.heroSubline??f.summary)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:f.tagline??f.heroSubline??f.summary})}),s.units.length>0&&n.jsxs("a",{href:"#units",className:"mt-6 inline-flex items-center gap-1 text-[length:var(--fs-sm)] font-medium underline-offset-4 opacity-100 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[m.label," 보기"]}),n.jsx(pr,{className:"size-4"})]})]})]})})}function pu(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":`${r.getFullYear()}년 ${r.getMonth()+1}월 ${r.getDate()}일`}function Qs(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":r.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function Lv(s){return`https://search.naver.com/search.naver?query=${encodeURIComponent(s)}`}function Kh(s){return`https://map.naver.com/p/search/${encodeURIComponent(s)}`}function Hv(s){return`https://www.youtube.com/results?search_query=${encodeURIComponent(s)}`}function xu(s){return s.replace(/,/g," ").replace(/\s+/g," ").trim()}function Bv(s,r,o){return r==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(s)}`:`https://map.kakao.com/link/to/${encodeURIComponent(xu(s))},${r},${o}`}function qv(s,r){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(xu(u.name))}`;return`https://map.naver.com/p/directions/${o(s)}/${o(r)}/-/car`}function Gp(s,r,o){return r==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(s)}`:`https://map.naver.com/p/directions/-/${o},${r},${encodeURIComponent(xu(s))}/-/transit`}function $v(s,r,o=16/9,u=.0022){const f=Math.max(Math.cos(s*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[r-d,s-u,r+d,s+u].map(x=>x.toFixed(6)).join(",")}&layer=mapnik&marker=${s},${r}`}function Yv(s,r,o){if(r==null||o==null)return;const u=encodeURIComponent(s);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${r}&rGoName=${u}&rGoX=${o}&rGoY=${r}`}function gu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-10 flex flex-col items-center gap-4 text-center sm:mb-14",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:r}),n.jsx("i",{"aria-hidden":!0,className:"block h-px w-10 bg-current opacity-25"}),o&&n.jsx("p",{className:"text-muted measure text-[length:var(--fs-sm)] leading-loose",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-xs)]",children:u})]})}function bu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-8",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",r,"]"]}),o&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})}function vu({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-7 sm:mb-10",children:n.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-10",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:r}),o&&n.jsx("p",{className:"text-muted measure mt-2 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})})}function yu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col items-center gap-3 text-center sm:mb-10",children:[n.jsx("i",{"aria-hidden":!0,className:"block h-[6px] w-10 rounded-full",style:{backgroundColor:"var(--pastel-2, currentColor)",opacity:.9}}),n.jsx("h2",{id:`${s}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:r}),o&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-65",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-sm)]",children:u})]})}const Gv={base:{backgroundColor:"var(--tpl-surface, #ffffff)"},alt:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},dark:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"}};function it({id:s,title:r,lead:o,tone:u="base",aside:f,footnote:d,children:m,wide:x,bare:g}){const p=gr(),v=p==="reservation"?gu:p==="oasi"?bu:p==="studio"?vu:p==="pastel"?yu:p==="editorial"?hu:Xv;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{...Gv[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:x?"w-full":"shell",children:[!g&&n.jsx("div",{className:x?"shell":void 0,children:n.jsx(v,{id:s,title:r,lead:o,aside:f})}),m,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${x?"shell":""}`,children:d})]})})}function Xv({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-6 sm:mb-8",children:n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between sm:gap-6",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"h2 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:r})]}),o&&n.jsx("p",{className:"text-muted measure mt-2 pl-[calc(3px+0.625rem)] text-[length:var(--fs-sm)]",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})})}function Qv(s){return Object.prototype.toString.call(s)==="[object Object]"}function Jh(s){return Qv(s)||Array.isArray(s)}function Vv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ju(s,r){const o=Object.keys(s),u=Object.keys(r);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(s.breakpoints||{})),d=JSON.stringify(Object.keys(r.breakpoints||{}));return f!==d?!1:o.every(m=>{const x=s[m],g=r[m];return typeof x=="function"?`${x}`==`${g}`:!Jh(x)||!Jh(g)?x===g:ju(x,g)})}function Fh(s){return s.concat().sort((r,o)=>r.name>o.name?1:-1).map(r=>r.options)}function Zv(s,r){if(s.length!==r.length)return!1;const o=Fh(s),u=Fh(r);return o.every((f,d)=>{const m=u[d];return ju(f,m)})}function Nu(s){return typeof s=="number"}function Po(s){return typeof s=="string"}function br(s){return typeof s=="boolean"}function Wh(s){return Object.prototype.toString.call(s)==="[object Object]"}function Ge(s){return Math.abs(s)}function Su(s){return Math.sign(s)}function Rs(s,r){return Ge(s-r)}function Kv(s,r){if(s===0||r===0||Ge(s)<=Ge(r))return 0;const o=Rs(Ge(s),Ge(r));return Ge(o/s)}function Jv(s){return Math.round(s*100)/100}function qs(s){return $s(s).map(Number)}function ll(s){return s[Vs(s)]}function Vs(s){return Math.max(0,s.length-1)}function wu(s,r){return r===Vs(s)}function Ih(s,r=0){return Array.from(Array(s),(o,u)=>r+u)}function $s(s){return Object.keys(s)}function Xp(s,r){return[s,r].reduce((o,u)=>($s(u).forEach(f=>{const d=o[f],m=u[f],x=Wh(d)&&Wh(m);o[f]=x?Xp(d,m):m}),o),{})}function eu(s,r){return typeof r.MouseEvent<"u"&&s instanceof r.MouseEvent}function Fv(s,r){const o={start:u,center:f,end:d};function u(){return 0}function f(g){return d(g)/2}function d(g){return r-g}function m(g,p){return Po(s)?o[s](g):s(r,g,p)}return{measure:m}}function Ys(){let s=[];function r(f,d,m,x={passive:!0}){let g;if("addEventListener"in f)f.addEventListener(d,m,x),g=()=>f.removeEventListener(d,m,x);else{const p=f;p.addListener(m),g=()=>p.removeListener(m)}return s.push(g),u}function o(){s=s.filter(f=>f())}const u={add:r,clear:o};return u}function Wv(s,r,o,u){const f=Ys(),d=1e3/60;let m=null,x=0,g=0;function p(){f.add(s,"visibilitychange",()=>{s.hidden&&j()})}function v(){E(),f.clear()}function y(C){if(!g)return;m||(m=C,o(),o());const D=C-m;for(m=C,x+=D;x>=d;)o(),x-=d;const X=x/d;u(X),g&&(g=r.requestAnimationFrame(y))}function N(){g||(g=r.requestAnimationFrame(y))}function E(){r.cancelAnimationFrame(g),m=null,x=0,g=0}function j(){m=null,x=0}return{init:p,destroy:v,start:N,stop:E,update:o,render:u}}function Iv(s,r){const o=r==="rtl",u=s==="y",f=u?"y":"x",d=u?"x":"y",m=!u&&o?-1:1,x=v(),g=y();function p(j){const{height:T,width:C}=j;return u?T:C}function v(){return u?"top":o?"right":"left"}function y(){return u?"bottom":o?"left":"right"}function N(j){return j*m}return{scroll:f,cross:d,startEdge:x,endEdge:g,measureSize:p,direction:N}}function Da(s=0,r=0){const o=Ge(s-r);function u(p){return pr}function d(p){return u(p)||f(p)}function m(p){return d(p)?u(p)?s:r:p}function x(p){return o?p-o*Math.ceil((p-r)/o):p}return{length:o,max:r,min:s,constrain:m,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:x}}function Qp(s,r,o){const{constrain:u}=Da(0,s),f=s+1;let d=m(r);function m(N){return o?Ge((f+N)%f):u(N)}function x(){return d}function g(N){return d=m(N),y}function p(N){return v().set(x()+N)}function v(){return Qp(s,x(),o)}const y={get:x,set:g,add:p,clone:v};return y}function Pv(s,r,o,u,f,d,m,x,g,p,v,y,N,E,j,T,C,D,X){const{cross:H,direction:Z}=s,Q=["INPUT","SELECT","TEXTAREA"],V={passive:!1},$=Ys(),W=Ys(),le=Da(50,225).constrain(E.measure(20)),xe={mouse:300,touch:400},ce={mouse:500,touch:600},K=j?43:25;let he=!1,Xe=0,ie=0,O=!1,G=!1,ae=!1,pe=!1;function Ne(te){if(!X)return;function _e(tt){(br(X)||X(te,tt))&&fe(tt)}const Oe=r;$.add(Oe,"dragstart",tt=>tt.preventDefault(),V).add(Oe,"touchmove",()=>{},V).add(Oe,"touchend",()=>{}).add(Oe,"touchstart",_e).add(Oe,"mousedown",_e).add(Oe,"touchcancel",ze).add(Oe,"contextmenu",ze).add(Oe,"click",Te,!0)}function w(){$.clear(),W.clear()}function q(){const te=pe?o:r;W.add(te,"touchmove",oe,V).add(te,"touchend",ze).add(te,"mousemove",oe,V).add(te,"mouseup",ze)}function J(te){const _e=te.nodeName||"";return Q.includes(_e)}function F(){return(j?ce:xe)[pe?"mouse":"touch"]}function re(te,_e){const Oe=y.add(Su(te)*-1),tt=v.byDistance(te,!j).distance;return j||Ge(te)=2,!(_e&&te.button!==0)&&(J(te.target)||(O=!0,d.pointerDown(te),p.useFriction(0).useDuration(0),f.set(m),q(),Xe=d.readPoint(te),ie=d.readPoint(te,H),N.emit("pointerDown")))}function oe(te){if(!eu(te,u)&&te.touches.length>=2)return ze(te);const Oe=d.readPoint(te),tt=d.readPoint(te,H),jt=Rs(Oe,Xe),Wt=Rs(tt,ie);if(!G&&!pe&&(!te.cancelable||(G=jt>Wt,!G)))return ze(te);const nl=d.pointerMove(te);jt>T&&(ae=!0),p.useFriction(.3).useDuration(.75),x.start(),f.add(Z(nl)),te.preventDefault()}function ze(te){const Oe=v.byDistance(0,!1).index!==y.get(),tt=d.pointerUp(te)*F(),jt=re(Z(tt),Oe),Wt=Kv(tt,jt),nl=K-10*Wt,Ht=D+Wt/50;G=!1,O=!1,W.clear(),p.useDuration(nl).useFriction(Ht),g.distance(jt,!j),pe=!1,N.emit("pointerUp")}function Te(te){ae&&(te.stopPropagation(),te.preventDefault(),ae=!1)}function at(){return O}return{init:Ne,destroy:w,pointerDown:at}}function ey(s,r){let u,f;function d(y){return y.timeStamp}function m(y,N){const j=`client${(N||s.scroll)==="x"?"X":"Y"}`;return(eu(y,r)?y:y.touches[0])[j]}function x(y){return u=y,f=y,m(y)}function g(y){const N=m(y)-m(f),E=d(y)-d(u)>170;return f=y,E&&(u=y),N}function p(y){if(!u||!f)return 0;const N=m(f)-m(u),E=d(y)-d(u),j=d(y)-d(f)>170,T=N/E;return E&&!j&&Ge(T)>.1?T:0}return{pointerDown:x,pointerMove:g,pointerUp:p,readPoint:m}}function ty(){function s(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:m}=o;return{top:u,right:f+d,bottom:u+m,left:f,width:d,height:m}}return{measure:s}}function ly(s){function r(u){return s*(u/100)}return{measure:r}}function ay(s,r,o,u,f,d,m){const x=[s].concat(u);let g,p,v=[],y=!1;function N(C){return f.measureSize(m.measure(C))}function E(C){if(!d)return;p=N(s),v=u.map(N);function D(X){for(const H of X){if(y)return;const Z=H.target===s,Q=u.indexOf(H.target),V=Z?p:v[Q],$=N(Z?s:u[Q]);if(Ge($-V)>=.5){C.reInit(),r.emit("resize");break}}}g=new ResizeObserver(X=>{(br(d)||d(C,X))&&D(X)}),o.requestAnimationFrame(()=>{x.forEach(X=>g.observe(X))})}function j(){y=!0,g&&g.disconnect()}return{init:E,destroy:j}}function ny(s,r,o,u,f,d){let m=0,x=0,g=f,p=d,v=s.get(),y=0;function N(){const V=u.get()-s.get(),$=!g;let W=0;return $?(m=0,o.set(u),s.set(u),W=V):(o.set(s),m+=V/g,m*=p,v+=m,s.add(m),W=v-y),x=Su(W),y=v,Q}function E(){const V=u.get()-r.get();return Ge(V)<.001}function j(){return g}function T(){return x}function C(){return m}function D(){return H(f)}function X(){return Z(d)}function H(V){return g=V,Q}function Z(V){return p=V,Q}const Q={direction:T,duration:j,velocity:C,seek:N,settled:E,useBaseFriction:X,useBaseDuration:D,useFriction:Z,useDuration:H};return Q}function sy(s,r,o,u,f){const d=f.measure(10),m=f.measure(50),x=Da(.1,.99);let g=!1;function p(){return!(g||!s.reachedAny(o.get())||!s.reachedAny(r.get()))}function v(E){if(!p())return;const j=s.reachedMin(r.get())?"min":"max",T=Ge(s[j]-r.get()),C=o.get()-r.get(),D=x.constrain(T/m);o.subtract(C*D),!E&&Ge(C){const{min:C,max:D}=d,X=d.constrain(j),H=!T,Z=wu(o,T);return H?D:Z||p(C,X)?C:p(D,X)?D:X}).map(j=>parseFloat(j.toFixed(3)))}function N(){if(r<=s+f)return[d.max];if(u==="keepSnaps")return m;const{min:j,max:T}=x;return m.slice(j,T)}return{snapsContained:g,scrollContainLimit:x}}function ry(s,r,o){const u=r[0],f=o?u-s:ll(r);return{limit:Da(f,u)}}function cy(s,r,o,u){const d=r.min+.1,m=r.max+.1,{reachedMin:x,reachedMax:g}=Da(d,m);function p(N){return N===1?g(o.get()):N===-1?x(o.get()):!1}function v(N){if(!p(N))return;const E=s*(N*-1);u.forEach(j=>j.add(E))}return{loop:v}}function oy(s){const{max:r,length:o}=s;function u(d){const m=d-r;return o?m/-o:0}return{get:u}}function uy(s,r,o,u,f){const{startEdge:d,endEdge:m}=s,{groupSlides:x}=f,g=y().map(r.measure),p=N(),v=E();function y(){return x(u).map(T=>ll(T)[m]-T[0][d]).map(Ge)}function N(){return u.map(T=>o[d]-T[d]).map(T=>-Ge(T))}function E(){return x(p).map(T=>T[0]).map((T,C)=>T+g[C])}return{snaps:p,snapsAligned:v}}function fy(s,r,o,u,f,d){const{groupSlides:m}=f,{min:x,max:g}=u,p=v();function v(){const N=m(d),E=!s||r==="keepSnaps";return o.length===1?[d]:E?N:N.slice(x,g).map((j,T,C)=>{const D=!T,X=wu(C,T);if(D){const H=ll(C[0])+1;return Ih(H)}if(X){const H=Vs(d)-ll(C)[0]+1;return Ih(H,ll(C)[0])}return j})}return{slideRegistry:p}}function dy(s,r,o,u,f){const{reachedAny:d,removeOffset:m,constrain:x}=u;function g(j){return j.concat().sort((T,C)=>Ge(T)-Ge(C))[0]}function p(j){const T=s?m(j):x(j),C=r.map((X,H)=>({diff:v(X-T,0),index:H})).sort((X,H)=>Ge(X.diff)-Ge(H.diff)),{index:D}=C[0];return{index:D,distance:T}}function v(j,T){const C=[j,j+o,j-o];if(!s)return j;if(!T)return g(C);const D=C.filter(X=>Su(X)===T);return D.length?g(D):ll(C)-o}function y(j,T){const C=r[j]-f.get(),D=v(C,T);return{index:j,distance:D}}function N(j,T){const C=f.get()+j,{index:D,distance:X}=p(C),H=!s&&d(C);if(!T||H)return{index:D,distance:j};const Z=r[D]-X,Q=j+v(Z,0);return{index:D,distance:Q}}return{byDistance:N,byIndex:y,shortcut:v}}function my(s,r,o,u,f,d,m){function x(y){const N=y.distance,E=y.index!==r.get();d.add(N),N&&(u.duration()?s.start():(s.update(),s.render(1),s.update())),E&&(o.set(r.get()),r.set(y.index),m.emit("select"))}function g(y,N){const E=f.byDistance(y,N);x(E)}function p(y,N){const E=r.clone().set(y),j=f.byIndex(E.get(),N);x(j)}return{distance:g,index:p}}function hy(s,r,o,u,f,d,m,x){const g={passive:!0,capture:!0};let p=0;function v(E){if(!x)return;function j(T){if(new Date().getTime()-p>10)return;m.emit("slideFocusStart"),s.scrollLeft=0;const X=o.findIndex(H=>H.includes(T));Nu(X)&&(f.useDuration(0),u.index(X,0),m.emit("slideFocus"))}d.add(document,"keydown",y,!1),r.forEach((T,C)=>{d.add(T,"focus",D=>{(br(x)||x(E,D))&&j(C)},g)})}function y(E){E.code==="Tab"&&(p=new Date().getTime())}return{init:v}}function Ms(s){let r=s;function o(){return r}function u(g){r=m(g)}function f(g){r+=m(g)}function d(g){r-=m(g)}function m(g){return Nu(g)?g:g.get()}return{get:o,set:u,add:f,subtract:d}}function Vp(s,r){const o=s.scroll==="x"?m:x,u=r.style;let f=null,d=!1;function m(N){return`translate3d(${N}px,0px,0px)`}function x(N){return`translate3d(0px,${N}px,0px)`}function g(N){if(d)return;const E=Jv(s.direction(N));E!==f&&(u.transform=o(E),f=E)}function p(N){d=!N}function v(){d||(u.transform="",r.getAttribute("style")||r.removeAttribute("style"))}return{clear:v,to:g,toggleActive:p}}function py(s,r,o,u,f,d,m,x,g){const v=qs(f),y=qs(f).reverse(),N=D().concat(X());function E($,W){return $.reduce((le,xe)=>le-f[xe],W)}function j($,W){return $.reduce((le,xe)=>E(le,W)>0?le.concat([xe]):le,[])}function T($){return d.map((W,le)=>({start:W-u[le]+.5+$,end:W+r-.5+$}))}function C($,W,le){const xe=T(W);return $.map(ce=>{const K=le?0:-o,he=le?o:0,Xe=le?"end":"start",ie=xe[ce][Xe];return{index:ce,loopPoint:ie,slideLocation:Ms(-1),translate:Vp(s,g[ce]),target:()=>x.get()>ie?K:he}})}function D(){const $=m[0],W=j(y,$);return C(W,o,!1)}function X(){const $=r-m[0]-1,W=j(v,$);return C(W,-o,!0)}function H(){return N.every(({index:$})=>{const W=v.filter(le=>le!==$);return E(W,r)<=.1})}function Z(){N.forEach($=>{const{target:W,translate:le,slideLocation:xe}=$,ce=W();ce!==xe.get()&&(le.to(ce),xe.set(ce))})}function Q(){N.forEach($=>$.translate.clear())}return{canLoop:H,clear:Q,loop:Z,loopPoints:N}}function xy(s,r,o){let u,f=!1;function d(g){if(!o)return;function p(v){for(const y of v)if(y.type==="childList"){g.reInit(),r.emit("slidesChanged");break}}u=new MutationObserver(v=>{f||(br(o)||o(g,v))&&p(v)}),u.observe(s,{childList:!0})}function m(){u&&u.disconnect(),f=!0}return{init:d,destroy:m}}function gy(s,r,o,u){const f={};let d=null,m=null,x,g=!1;function p(){x=new IntersectionObserver(j=>{g||(j.forEach(T=>{const C=r.indexOf(T.target);f[C]=T}),d=null,m=null,o.emit("slidesInView"))},{root:s.parentElement,threshold:u}),r.forEach(j=>x.observe(j))}function v(){x&&x.disconnect(),g=!0}function y(j){return $s(f).reduce((T,C)=>{const D=parseInt(C),{isIntersecting:X}=f[D];return(j&&X||!j&&!X)&&T.push(D),T},[])}function N(j=!0){if(j&&d)return d;if(!j&&m)return m;const T=y(j);return j&&(d=T),j||(m=T),T}return{init:p,destroy:v,get:N}}function by(s,r,o,u,f,d){const{measureSize:m,startEdge:x,endEdge:g}=s,p=o[0]&&f,v=j(),y=T(),N=o.map(m),E=C();function j(){if(!p)return 0;const X=o[0];return Ge(r[x]-X[x])}function T(){if(!p)return 0;const X=d.getComputedStyle(ll(u));return parseFloat(X.getPropertyValue(`margin-${g}`))}function C(){return o.map((X,H,Z)=>{const Q=!H,V=wu(Z,H);return Q?N[H]+v:V?N[H]+y:Z[H+1][x]-X[x]}).map(Ge)}return{slideSizes:N,slideSizesWithGaps:E,startGap:v,endGap:y}}function vy(s,r,o,u,f,d,m,x,g){const{startEdge:p,endEdge:v,direction:y}=s,N=Nu(o);function E(D,X){return qs(D).filter(H=>H%X===0).map(H=>D.slice(H,H+X))}function j(D){return D.length?qs(D).reduce((X,H,Z)=>{const Q=ll(X)||0,V=Q===0,$=H===Vs(D),W=f[p]-d[Q][p],le=f[p]-d[H][v],xe=!u&&V?y(m):0,ce=!u&&$?y(x):0,K=Ge(le-ce-(W+xe));return Z&&K>r+g&&X.push(H),$&&X.push(D.length),X},[]).map((X,H,Z)=>{const Q=Math.max(Z[H-1]||0);return D.slice(Q,X)}):[]}function T(D){return N?E(D,o):j(D)}return{groupSlides:T}}function yy(s,r,o,u,f,d,m){const{align:x,axis:g,direction:p,startIndex:v,loop:y,duration:N,dragFree:E,dragThreshold:j,inViewThreshold:T,slidesToScroll:C,skipSnaps:D,containScroll:X,watchResize:H,watchSlides:Z,watchDrag:Q,watchFocus:V}=d,$=2,W=ty(),le=W.measure(r),xe=o.map(W.measure),ce=Iv(g,p),K=ce.measureSize(le),he=ly(K),Xe=Fv(x,K),ie=!y&&!!X,O=y||!!X,{slideSizes:G,slideSizesWithGaps:ae,startGap:pe,endGap:Ne}=by(ce,le,xe,o,O,f),w=vy(ce,K,C,y,le,xe,pe,Ne,$),{snaps:q,snapsAligned:J}=uy(ce,Xe,le,xe,w),F=-ll(q)+ll(ae),{snapsContained:re,scrollContainLimit:fe}=iy(K,F,J,X,$),oe=ie?re:J,{limit:ze}=ry(F,oe,y),Te=Qp(Vs(oe),v,y),at=Te.clone(),Me=qs(o),te=({dragHandler:bl,scrollBody:Ln,scrollBounds:Hn,options:{loop:sl}})=>{sl||Hn.constrain(bl.pointerDown()),Ln.seek()},_e=({scrollBody:bl,translate:Ln,location:Hn,offsetLocation:sl,previousLocation:gt,scrollLooper:il,slideLooper:bt,dragHandler:yr,animation:jr,eventHandler:Js,scrollBounds:La,options:{loop:pa}},xa)=>{const rl=bl.settled(),Ha=!La.shouldConstrain(),Hl=pa?rl:rl&&Ha,Fs=Hl&&!yr.pointerDown();Fs&&jr.stop();const Ws=Hn.get()*xa+gt.get()*(1-xa);sl.set(Ws),pa&&(il.loop(bl.direction()),bt.loop()),Ln.to(sl.get()),Fs&&Js.emit("settle"),Hl||Js.emit("scroll")},Oe=Wv(u,f,()=>te(Un),bl=>_e(Un,bl)),tt=.68,jt=oe[Te.get()],Wt=Ms(jt),nl=Ms(jt),Ht=Ms(jt),It=Ms(jt),gl=ny(Wt,Ht,nl,It,N,tt),On=dy(y,oe,F,ze,It),Dn=my(Oe,Te,at,gl,On,It,m),ht=oy(ze),Zs=Ys(),Ks=gy(r,o,m,T),{slideRegistry:Rn}=fy(ie,X,oe,fe,w,Me),Ua=hy(s,o,Rn,Dn,gl,Zs,m,V),Un={ownerDocument:u,ownerWindow:f,eventHandler:m,containerRect:le,slideRects:xe,animation:Oe,axis:ce,dragHandler:Pv(ce,s,u,f,It,ey(ce,f),Wt,Oe,Dn,gl,On,Te,m,he,E,j,D,tt,Q),eventStore:Zs,percentOfView:he,index:Te,indexPrevious:at,limit:ze,location:Wt,offsetLocation:Ht,previousLocation:nl,options:d,resizeHandler:ay(r,m,f,o,ce,H,W),scrollBody:gl,scrollBounds:sy(ze,Ht,It,gl,he),scrollLooper:cy(F,ze,Ht,[Wt,Ht,nl,It]),scrollProgress:ht,scrollSnapList:oe.map(ht.get),scrollSnaps:oe,scrollTarget:On,scrollTo:Dn,slideLooper:py(ce,K,F,G,ae,q,oe,Ht,o),slideFocus:Ua,slidesHandler:xy(r,m,Z),slidesInView:Ks,slideIndexes:Me,slideRegistry:Rn,slidesToScroll:w,target:It,translate:Vp(ce,r)};return Un}function jy(){let s={},r;function o(p){r=p}function u(p){return s[p]||[]}function f(p){return u(p).forEach(v=>v(r,p)),g}function d(p,v){return s[p]=u(p).concat([v]),g}function m(p,v){return s[p]=u(p).filter(y=>y!==v),g}function x(){s={}}const g={init:o,emit:f,off:m,on:d,clear:x};return g}const Ny={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Sy(s){function r(d,m){return Xp(d,m||{})}function o(d){const m=d.breakpoints||{},x=$s(m).filter(g=>s.matchMedia(g).matches).map(g=>m[g]).reduce((g,p)=>r(g,p),{});return r(d,x)}function u(d){return d.map(m=>$s(m.breakpoints||{})).reduce((m,x)=>m.concat(x),[]).map(s.matchMedia)}return{mergeOptions:r,optionsAtMedia:o,optionsMediaQueries:u}}function wy(s){let r=[];function o(d,m){return r=m.filter(({options:x})=>s.optionsAtMedia(x).active!==!1),r.forEach(x=>x.init(d,s)),m.reduce((x,g)=>Object.assign(x,{[g.name]:g}),{})}function u(){r=r.filter(d=>d.destroy())}return{init:o,destroy:u}}function hr(s,r,o){const u=s.ownerDocument,f=u.defaultView,d=Sy(f),m=wy(d),x=Ys(),g=jy(),{mergeOptions:p,optionsAtMedia:v,optionsMediaQueries:y}=d,{on:N,off:E,emit:j}=g,T=ce;let C=!1,D,X=p(Ny,hr.globalOptions),H=p(X),Z=[],Q,V,$;function W(){const{container:Me,slides:te}=H;V=(Po(Me)?s.querySelector(Me):Me)||s.children[0];const Oe=Po(te)?V.querySelectorAll(te):te;$=[].slice.call(Oe||V.children)}function le(Me){const te=yy(s,V,$,u,f,Me,g);if(Me.loop&&!te.slideLooper.canLoop()){const _e=Object.assign({},Me,{loop:!1});return le(_e)}return te}function xe(Me,te){C||(X=p(X,Me),H=v(X),Z=te||Z,W(),D=le(H),y([X,...Z.map(({options:_e})=>_e)]).forEach(_e=>x.add(_e,"change",ce)),H.active&&(D.translate.to(D.location.get()),D.animation.init(),D.slidesInView.init(),D.slideFocus.init(at),D.eventHandler.init(at),D.resizeHandler.init(at),D.slidesHandler.init(at),D.options.loop&&D.slideLooper.loop(),V.offsetParent&&$.length&&D.dragHandler.init(at),Q=m.init(at,Z)))}function ce(Me,te){const _e=w();K(),xe(p({startIndex:_e},Me),te),g.emit("reInit")}function K(){D.dragHandler.destroy(),D.eventStore.clear(),D.translate.clear(),D.slideLooper.clear(),D.resizeHandler.destroy(),D.slidesHandler.destroy(),D.slidesInView.destroy(),D.animation.destroy(),m.destroy(),x.clear()}function he(){C||(C=!0,x.clear(),K(),g.emit("destroy"),g.clear())}function Xe(Me,te,_e){!H.active||C||(D.scrollBody.useBaseFriction().useDuration(te===!0?0:H.duration),D.scrollTo.index(Me,_e||0))}function ie(Me){const te=D.index.add(1).get();Xe(te,Me,-1)}function O(Me){const te=D.index.add(-1).get();Xe(te,Me,1)}function G(){return D.index.add(1).get()!==w()}function ae(){return D.index.add(-1).get()!==w()}function pe(){return D.scrollSnapList}function Ne(){return D.scrollProgress.get(D.offsetLocation.get())}function w(){return D.index.get()}function q(){return D.indexPrevious.get()}function J(){return D.slidesInView.get()}function F(){return D.slidesInView.get(!1)}function re(){return Q}function fe(){return D}function oe(){return s}function ze(){return V}function Te(){return $}const at={canScrollNext:G,canScrollPrev:ae,containerNode:ze,internalEngine:fe,destroy:he,off:E,on:N,emit:j,plugins:re,previousScrollSnap:q,reInit:T,rootNode:oe,scrollNext:ie,scrollPrev:O,scrollProgress:Ne,scrollSnapList:pe,scrollTo:Xe,selectedScrollSnap:w,slideNodes:Te,slidesInView:J,slidesNotInView:F};return xe(r,o),setTimeout(()=>g.emit("init"),0),at}hr.globalOptions=void 0;function Eu(s={},r=[]){const o=R.useRef(s),u=R.useRef(r),[f,d]=R.useState(),[m,x]=R.useState(),g=R.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return R.useEffect(()=>{ju(o.current,s)||(o.current=s,g())},[s,g]),R.useEffect(()=>{Zv(u.current,r)||(u.current=r,g())},[r,g]),R.useEffect(()=>{if(Vv()&&m){hr.globalOptions=Eu.globalOptions;const p=hr(m,o.current,u.current);return d(p),()=>p.destroy()}else d(void 0)},[m,d]),[x,f]}Eu.globalOptions=void 0;const zu=4500;function Tu({box:s,interval:r,advance:o}){const u=R.useRef(o);u.current=o,R.useEffect(()=>{const f=s.current;if(!f||r<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,m=!0;const x=()=>{d+=1},g=()=>{d=Math.max(0,d-1)},p=window.setInterval(()=>{d>0||document.hidden||!m||u.current()||window.clearInterval(p)},r),v=new IntersectionObserver(([T])=>{m=T.isIntersecting},{threshold:.25});v.observe(f);const y=window.matchMedia("(hover: hover) and (pointer: fine)").matches;y&&(f.addEventListener("pointerenter",x),f.addEventListener("pointerleave",g));let N=!1;const E=T=>{const C=T.target;!(C instanceof Element)||!C.matches(":focus-visible")||N||(N=!0,x())},j=()=>{N&&(N=!1,g())};return f.addEventListener("focusin",E),f.addEventListener("focusout",j),f.addEventListener("pointerdown",x,!0),window.addEventListener("pointerup",g,!0),window.addEventListener("pointercancel",g,!0),()=>{window.clearInterval(p),v.disconnect(),y&&(f.removeEventListener("pointerenter",x),f.removeEventListener("pointerleave",g)),f.removeEventListener("focusin",E),f.removeEventListener("focusout",j),f.removeEventListener("pointerdown",x,!0),window.removeEventListener("pointerup",g,!0),window.removeEventListener("pointercancel",g,!0)}},[s,r])}function Zp(s,r=.85){if(!s)return!1;const o=s.scrollWidth-s.clientWidth;if(o<=8||s.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return s.scrollBy({left:s.clientWidth*r,behavior:u?"auto":"smooth"}),!0}function vr({label:s,children:r,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:m=1,autoplay:x=zu,onSelect:g,onReady:p,className:v}){const y=x===!1?0:x,[N,E]=Eu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[j,T]=R.useState([]),[C,D]=R.useState(0),[X,H]=R.useState(!1),[Z,Q]=R.useState(!1),V=R.useRef(null),$=R.useId();R.useEffect(()=>{var G;if(!E)return;const ie=()=>{D(E.selectedScrollSnap()),H(E.canScrollPrev()),Q(E.canScrollNext())},O=()=>{T(E.scrollSnapList()),ie()};return O(),E.on("select",ie),E.on("reInit",O),(G=V.current)==null||G.setAttribute("data-slider","on"),()=>{E.off("select",ie),E.off("reInit",O)}},[E]),R.useEffect(()=>{if(!E)return;const ie=V.current,O=()=>ie==null?void 0:ie.setAttribute("data-dragging","true"),G=()=>ie==null?void 0:ie.removeAttribute("data-dragging");return E.on("pointerDown",O),E.on("pointerUp",G),()=>{E.off("pointerDown",O),E.off("pointerUp",G)}},[E]),Tu({box:V,interval:y,advance:()=>!E||E.scrollSnapList().length<=1?!0:E.canScrollNext()?(E.scrollNext(),!0):!1});const W=R.useCallback(ie=>E==null?void 0:E.scrollTo(ie),[E]),le=R.useRef(g);le.current=g;const xe=R.useRef(p);xe.current=p,R.useEffect(()=>{var O;if(!E)return;const ie=()=>{var G;return(G=le.current)==null?void 0:G.call(le,E.selectedScrollSnap())};return ie(),E.on("select",ie),E.on("reInit",ie),(O=xe.current)==null||O.call(xe,{scrollTo:G=>E.scrollTo(G)}),()=>{E.off("select",ie),E.off("reInit",ie)}},[E]);const ce=R.useCallback(()=>E==null?void 0:E.scrollPrev(),[E]),K=R.useCallback(()=>E==null?void 0:E.scrollNext(),[E]),he=j.length>1,Xe=f&&he&&j.length<=12;return n.jsxs("div",{className:v,children:[d==="header"&&he&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Ph,{dir:"prev",onClick:ce,disabled:!u&&!X,label:s}),n.jsx(Ph,{dir:"next",onClick:K,disabled:!u&&!Z,label:s})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:ie=>{V.current=ie,N(ie)},className:"slider-viewport",role:"group","aria-roledescription":"캐러셀","aria-label":s,tabIndex:0,onKeyDown:ie=>{ie.key==="ArrowLeft"&&(ie.preventDefault(),ce()),ie.key==="ArrowRight"&&(ie.preventDefault(),K())},children:n.jsx("div",{className:"slider-track",style:{gap:`${m}rem`},id:$,children:r})}),d==="overlay"&&he&&n.jsxs(n.Fragment,{children:[n.jsx(ep,{dir:"prev",onClick:ce,disabled:!u&&!X,label:s}),n.jsx(ep,{dir:"next",onClick:K,disabled:!u&&!Z,label:s})]})]}),he&&n.jsxs("div",{className:"mt-4 flex items-center justify-center gap-3",children:[Xe&&n.jsx("ul",{className:"flex items-center gap-1.5",children:j.map((ie,O)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>W(O),"aria-label":`${O+1}번째로`,"aria-current":O===C,"aria-controls":$,className:`h-1.5 rounded-full transition-all ${O===C?"w-6 bg-current opacity-100":"w-1.5 bg-current opacity-20 hover:opacity-100"}`})},O))}),n.jsxs("span",{className:"text-current/80 text-[length:var(--fs-xs)] tabular-nums",children:[C+1," / ",j.length]})]})]})}function Kp({basis:s,children:r}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${s}`,"aria-roledescription":"슬라이드",children:r})}function Ph({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-100 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function ep({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:`tap absolute top-1/2 z-10 hidden -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:opacity-0 sm:flex ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function Au({children:s,className:r="",as:o="div"}){return n.jsx(o,{className:`panel ${r}`,children:s})}function _u({children:s}){return n.jsx("span",{className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/5 px-2.5 py-1 text-[length:var(--fs-xs)]",children:s})}function Jp({label:s,value:r,note:o}){return n.jsxs("div",{className:"divide-line flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-6",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] font-medium sm:w-40",children:s}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[r,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function tp({href:s,children:r,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:s,...u?{target:"_blank",rel:"noopener noreferrer"}:{},className:`tap inline-flex items-center justify-center gap-2 rounded-lg px-4 text-[length:var(--fs-sm)] font-semibold transition-opacity hover:opacity-100 ${d?"":"border-line tpl-border border bg-current/5"}`,style:d?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:[f,n.jsx("span",{children:r}),u&&n.jsx(zn,{className:"size-4 shrink-0"})]})}function Fp({children:s,initial:r=3,label:o}){const[u,f]=R.useState(!1),d=Math.max(0,s.length-r);return n.jsxs(n.Fragment,{children:[s.map((m,x)=>n.jsx("div",{style:{display:u||x0&&n.jsx("button",{type:"button",onClick:()=>f(!0),className:"tap border-line tpl-border mt-3 w-full rounded-lg border text-[length:var(--fs-sm)] font-bold",children:o?o(d):`${d}개 더 보기`})]})}function Ey(){const s=P(),{narrative:r,place:o}=s,u=lv(s,"intro"),f=u.length>0?u:r.about;if(f.length===0)return null;const d=mu(s).find(x=>!x.isPrimary),m=r.heroSubline??`${o.name} 소개`;return n.jsx(it,{id:"about",bare:!0,title:m,children:n.jsxs("div",{className:"grid grid-cols-1 items-center gap-8 lg:grid-cols-12 lg:gap-14",children:[d&&n.jsxs("figure",{className:"lg:col-span-7",children:[n.jsx("div",{className:"tpl-border border-line relative aspect-4/3 max-h-[26rem] overflow-hidden rounded-xl border lg:aspect-3/2",children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover"})}),d.caption&&n.jsx("figcaption",{className:"text-muted mt-2 text-[length:var(--fs-xs)]",children:d.caption})]}),n.jsxs("div",{className:d?"lg:col-span-5":"lg:col-span-12",children:[n.jsxs("h2",{id:"about-heading",className:"h2 mb-6 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:m})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((x,g)=>n.jsx("p",{children:x},g))})]})]})})}const lp=10;function ap(){const s=P(),r=s.posts??[],[o,u]=R.useState(0);if(r.length===0)return null;const f=Math.ceil(r.length/lp);return n.jsxs(it,{id:"blog",tone:"alt",title:`${s.place.name}의 기록`,lead:"사장님이 띄엄띄엄 남기는 짧은 글입니다.",children:[n.jsx("ul",{className:"divide-line divide-y",children:r.map((d,m)=>n.jsxs("li",{hidden:Math.floor(m/lp)!==o,className:"flex flex-col gap-1.5 py-4",children:[n.jsx("time",{dateTime:d.publishedAt,className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:pu(d.publishedAt)}),n.jsx("p",{className:"measure whitespace-pre-line break-keep text-[length:var(--fs-body)] leading-relaxed",children:d.body})]},d.postId))}),f>1&&n.jsx("nav",{"aria-label":"글 페이지",className:"mt-5 flex flex-wrap justify-center gap-1.5",children:Array.from({length:f},(d,m)=>n.jsx("button",{type:"button",onClick:()=>u(m),"aria-current":m===o?"page":void 0,className:"border-line tpl-border min-w-9 rounded border px-3 py-1.5 text-[length:var(--fs-sm)] font-semibold tabular-nums",style:m===o?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:m+1},m))})]})}const zy=new Set(["가능","불가","있음","없음"]),np=s=>!s.note&&zy.has(s.value.trim()),Ty=new Set(["체크인 시간","체크아웃 시간","취소·환불 규정","취사 가능","반려동물 동반","흡연 가능","인원 추가 요금"]);function Ay(){var N,E;const s=P(),r=fu(s),o=Tn(s.facts).find(j=>j.key==="intro"),u=((N=o==null?void 0:o.summary)==null?void 0:N.trim())||((E=o==null?void 0:o.value)==null?void 0:E.trim())||s.narrative.summary||vv(s),f=s.links.filter(j=>{var T,C,D;return j.confirmed&&[(T=j.stayGuide)==null?void 0:T.policy,(C=j.stayGuide)==null?void 0:C.service,(D=j.stayGuide)==null?void 0:D.reservation].some(X=>X==null?void 0:X.trim())}),d=f.flatMap(j=>{var T;return((T=j.stayGuide)==null?void 0:T.fields)??[]}),m=[...r],x=new Set(r.map(j=>j.key));for(const j of d)x.has(j.key)||(m.push(j),x.add(j.key));const g=j=>["cooking_allowed","smoking"].includes(j.key??"")?!1:Ty.has(j.label)||d.some(T=>T.key===j.key&&T.group==="rules"),p=f.map(j=>{var T;return((T=j.stayGuide)==null?void 0:T.reservation)??""}).filter(j=>j.trim());if(r.length===0&&d.length===0&&p.length===0)return null;const v=m.filter(g),y=m.filter(j=>!g(j)&&j.key!=="intro");return n.jsx(it,{id:"info",tone:"alt",title:"이용안내 및 예약",lead:"방문 전 확인이 필요한 운영 규정과 시설 안내입니다.",children:n.jsxs("div",{className:"space-y-8",children:[u&&n.jsx("p",{className:"measure text-[length:var(--fs-body)] leading-relaxed",children:u}),v.length>0&&n.jsx(sp,{title:"예약 전 확인",rows:v,emphasis:!0}),y.length>0&&n.jsx(sp,{title:"시설 · 편의",rows:y.filter(j=>!np(j)),children:n.jsx(_y,{rows:y.filter(np)})}),p.map(j=>n.jsx(Cy,{text:j},j.slice(0,32))),n.jsx(ky,{})]})})}function sp({title:s,rows:r,emphasis:o,children:u}){return n.jsxs("section",{children:[n.jsxs("h3",{className:"border-line mb-3 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[o&&n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{children:s})]}),u,r.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:r.map((f,d)=>{const m=!f.note&&f.value.length<=24;return n.jsxs("div",{className:m?"flex flex-row items-baseline gap-3 py-2.5 sm:gap-6":"flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:`text-muted text-[length:var(--fs-sm)] ${m?"w-24 shrink-0 sm:w-40":"sm:w-40 sm:shrink-0"}`,children:f.label}),n.jsxs("dd",{className:"measure min-w-0 whitespace-pre-line break-words text-[length:var(--fs-sm)] font-semibold",children:[f.value,f.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:f.note})]})]},`${f.label}-${d}`)})})]})}const Yo=new Set(["가능","있음"]);function _y({rows:s}){if(s.length===0)return null;const r=[...s].sort((o,u)=>Number(Yo.has(u.value))-Number(Yo.has(o.value)));return n.jsx("ul",{className:"mb-2 grid grid-cols-2 gap-x-5 sm:grid-cols-3 lg:grid-cols-4",children:r.map(o=>{const u=Yo.has(o.value);return n.jsxs("li",{className:"flex items-center gap-2 py-2 text-[length:var(--fs-sm)]",children:[u?n.jsx(iu,{className:"size-4 shrink-0",style:{color:"var(--color-brand)"},"aria-hidden":!0}):n.jsx(cu,{className:"text-muted size-4 shrink-0","aria-hidden":!0}),n.jsxs("span",{className:u?"min-w-0":"text-muted min-w-0",children:[n.jsx("span",{className:"font-semibold",children:o.label})," ",o.value]})]},o.key??o.label)})})}function Cy({text:s}){return s.trim()?n.jsxs("details",{className:"panel group overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-2 px-4 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{className:"flex-1",children:"예약 공지"}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line whitespace-pre-line border-t px-4 pb-4 pt-3 text-[length:var(--fs-sm)] leading-relaxed",children:s})]}):null}function ky(){const s=P(),r=Ze(s),o=s.place.phone;return!o&&r.length===0?null:n.jsxs("div",{className:"border-line flex flex-col gap-3 border-t pt-6 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("p",{className:"text-[length:var(--fs-sm)] font-semibold",children:[s.place.name," 예약은 아래로 받습니다."]}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[o&&n.jsxs("a",{href:`tel:${o}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:o})]}),r.map(u=>n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(u)},u.url))]})]})}function My(){const s=P(),r=mt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx(it,{id:"units",title:$e(s,r.path,`${r.label} 안내`),children:n.jsx("ul",{className:"mt-2 flex flex-col gap-14 lg:gap-20",children:o.map((f,d)=>n.jsxs("li",{className:"grid items-center gap-7 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-2":""}`,children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 rounded-lg overflow-hidden",children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),f.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:f.images.slice(1,4).map(m=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]}),n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-1":""}`,children:[n.jsx("h3",{className:"h2",children:f.name}),f.intro&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed opacity-100",children:f.intro}),f.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsx("li",{children:n.jsxs(_u,{children:[n.jsx("span",{className:"text-muted",children:m.label}),n.jsx("span",{className:"font-medium",children:m.value})]})},m.label))}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(u,f.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),f.rows.length>0&&n.jsxs("details",{className:"group border-line mt-4 border-t pt-2",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[f.name," 구성 자세히"]}),n.jsx(pr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right font-semibold",children:m.value})]},m.label))})]})]})]},f.unitId))})})}function Oy(){const s=P(),r=mt(s),o=hl(s),u=Ze(s)[0],[f,d]=R.useState(0);return o.length===0?null:n.jsxs(it,{id:"units",title:$e(s,r.path,`${r.label} 안내`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":r.label,children:o.map((m,x)=>n.jsx("button",{type:"button",role:"tab","aria-selected":x===f,"aria-controls":`unit-panel-${m.slug}`,onClick:()=>d(x),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${x===f?"opacity-100":"border-transparent opacity-100 hover:opacity-100"}`,style:x===f?{borderColor:"var(--color-brand)"}:void 0,children:m.name},m.unitId))}),o.map((m,x)=>n.jsxs("div",{id:`unit-panel-${m.slug}`,role:"tabpanel",hidden:x!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),m.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:m.images.slice(1,4).map(g=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},g.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:m.name}),m.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:m.chips.map(g=>n.jsx("li",{children:n.jsxs(_u,{children:[n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),m.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:m.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))}),n.jsxs("div",{className:"mt-5 flex gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(u,m.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]})]})]},m.unitId))]})}function Dy(){const s=P(),r=mt(s),o=hl(s),u=Ze(s)[0];if(o.length===0)return null;const f=o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",d=Ft(s,"info")?[]:fu(s);return n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"calc(var(--section-space) * 1.4)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(gu,{id:"units",title:$e(s,r.path,`${r.label} 안내`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(m=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})}),n.jsx("h3",{className:"serif mt-6",style:{fontSize:"var(--fs-h3)",fontWeight:300,letterSpacing:"0.04em"},children:m.name}),m.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"text-muted mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)] font-light",children:m.chips.map(x=>n.jsxs("li",{children:[x.label," ",x.value]},x.label))}),(m.rows.length>0||m.images.length>1)&&n.jsxs("details",{className:"border-line mt-5 border-t",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center text-[length:var(--fs-sm)] font-light opacity-100 marker:content-none [&::-webkit-details-marker]:hidden",children:"자세히 보기"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[m.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:m.rows.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:x.label}),n.jsx("dd",{className:"text-right",children:x.value})]},x.label))}),m.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:m.images.slice(1).map(x=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},x.mediaId))})]})]})]},m.unitId))}),d.length>0&&n.jsx("dl",{className:"divide-line border-line mx-auto mt-16 max-w-2xl divide-y border-t",children:d.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-3 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right",children:m.value})]},m.label))}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-14 flex flex-wrap items-center justify-center gap-4",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-opacity hover:opacity-100",children:xt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tabular-nums tracking-[0.08em] transition-opacity hover:opacity-100",children:s.place.phone})]})]})})}function Ry(){const s=P(),r=mt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsxs("section",{id:"units","data-oasi":!0,"aria-labelledby":"units-heading",className:"pt-[var(--oasi-gap)]",children:[n.jsx(bu,{id:"units",title:$e(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-20 lg:space-y-28",children:o.map(f=>n.jsxs("li",{children:[f.images[0]&&n.jsxs("figure",{className:"relative mx-auto w-full max-w-[34rem]",children:[n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"block h-[clamp(15rem,24vw,21rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:f.name})]}),n.jsx("h3",{className:"mt-8 text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:f.name}),f.chips.length>0&&n.jsx("p",{className:"text-muted mt-2 text-[length:var(--fs-xs)] leading-[1.9]",children:f.chips.map(d=>`${d.label} ${d.value}`).join(" · ")}),f.intro&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-xs)] leading-[1.9]",children:f.intro}),f.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-6 divide-y border-t text-[length:var(--fs-xs)]",children:f.rows.map(d=>n.jsxs("div",{className:"flex items-baseline justify-between gap-6 py-2.5",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right",children:d.value})]},d.label))}),f.images.length>1&&n.jsx("ul",{className:"mx-auto mt-6 grid w-full max-w-[34rem] grid-cols-2 gap-2",children:f.images.slice(1).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",className:"block aspect-[4/3] w-full object-cover"})},d.mediaId))}),(u||s.place.phone)&&n.jsxs("p",{className:"mt-6 flex flex-wrap items-center gap-x-8 text-[length:var(--fs-sm)]",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:xt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:s.place.phone})]})]},f.unitId))})]})}function Uy(){const s=P(),r=mt(s),o=hl(s);return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"w-full",style:{paddingBlock:"var(--section-space)",backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(vu,{id:"units",title:$e(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-16 sm:space-y-24",children:o.map(u=>n.jsxs("li",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"min-w-0 lg:col-span-7",children:[u.images[0]&&n.jsx("img",{src:u.images[0].url,alt:u.images[0].alt,loading:"lazy",decoding:"async",width:u.images[0].width,height:u.images[0].height,className:"block h-auto w-full"}),u.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2",children:u.images.slice(1).map(f=>n.jsx("li",{children:n.jsx("img",{src:f.url,alt:f.alt,loading:"lazy",decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})]}),n.jsxs("div",{className:"min-w-0 lg:col-span-5",children:[n.jsx("h3",{className:"serif min-w-0 break-keep font-extrabold",style:{fontSize:"var(--fs-h3)",letterSpacing:"0.02em",lineHeight:1.35},children:u.name}),u.chips.length>0&&n.jsx("dl",{className:"mt-4 space-y-1.5",children:u.chips.map(f=>n.jsxs("div",{className:"flex gap-3 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted w-20 shrink-0",children:f.label}),n.jsx("dd",{className:"min-w-0 font-medium",children:f.value})]},f.label))}),u.intro&&n.jsx("p",{className:"text-muted measure mt-5 text-[length:var(--fs-sm)]",style:{lineHeight:1.8},children:u.intro})]})]},u.unitId))})]})})}function Ly(){const s=P(),r=mt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading","data-pastel":"own",className:"w-full",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(yu,{id:"units",title:$e(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:gap-8",children:o.map((f,d)=>n.jsxs("li",{className:"flex flex-col overflow-hidden p-4 sm:p-5",style:{backgroundColor:d%2===0?"var(--pastel-1)":"var(--pastel-2)",borderRadius:"calc(var(--tpl-radius, 0.75rem) * 1.35)"},children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",style:{borderRadius:"var(--tpl-radius, 0.75rem)"},children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 px-1 pt-4",children:[n.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:n.jsx("h3",{className:"h3",style:{fontWeight:800},children:f.name})}),f.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsxs("li",{className:"inline-flex items-center gap-1 rounded-full px-3 py-1 text-[length:var(--fs-xs)]",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 70%, transparent)"},children:[n.jsx("span",{className:"opacity-100",children:m.label}),n.jsx("span",{className:"font-bold",children:m.value})]},m.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:f.intro})]}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-4 flex gap-2 px-1",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-full text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:xt(u)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap flex items-center justify-center gap-1.5 rounded-full px-5 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 75%, transparent)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),(f.rows.length>0||f.images.length>1)&&n.jsxs("details",{className:"group mt-3 px-1",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsxs("span",{children:[f.name," 자세히"]}),n.jsx(pr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsxs("div",{className:"space-y-4 pb-1",children:[f.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"shrink-0 opacity-100",children:m.label}),n.jsx("dd",{className:"text-right font-bold",children:m.value})]},m.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(m=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",style:{borderRadius:"calc(var(--tpl-radius, 0.75rem) * 0.7)"},children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]})]})]},f.unitId))})]})})}function Hy(){const s=P(),r=hl(s),o=mt(s),u=Ze(s)[0];return r.length===0?null:n.jsxs("section",{id:"units","aria-labelledby":"units-heading",className:"border-line w-full border-b",style:{backgroundColor:"var(--tpl-surface)",backgroundImage:Bs,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(hu,{id:"units",title:$e(s,o.path,`${o.label} ${r.length}개 안내`)})}),r.map((f,d)=>n.jsx(By,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:s.place.phone},f.unitId))]})}function By({unit:s,no:r,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Bs}:void 0,children:n.jsxs("div",{className:"shell grid grid-cols-12 gap-y-6 py-10 xl:gap-x-10 xl:py-16",children:[n.jsxs("div",{className:"col-span-12 xl:col-span-5 xl:pr-8",children:[n.jsxs("div",{className:"relative",children:[n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute -top-1 left-0 select-none leading-none tabular-nums",style:{fontSize:"clamp(3rem, 8vw, 6rem)",fontWeight:800,opacity:.1},children:r}),n.jsx("h3",{className:"serif relative pt-7 xl:pt-12",style:{fontSize:"clamp(1.5rem, 3vw, 2.25rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-0.02em"},children:s.name})]}),s.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed opacity-100",children:s.intro}),s.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:s.rows.map(d=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-6 border-b py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right font-semibold",children:d.value})]},d.label))}),(u||f)&&n.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:xt(u)}),f&&n.jsx("a",{href:`tel:${f}`,className:"tap inline-flex items-center underline underline-offset-4",children:f})]})]}),n.jsxs("div",{className:"col-span-12 xl:col-span-7 xl:-ml-10",children:[s.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:s.images[0].url,alt:s.images[0].alt,loading:"lazy",decoding:"async",width:s.images[0].width,height:s.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),s.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:s.images[1].url,alt:s.images[1].alt,loading:"lazy",decoding:"async",width:s.images[1].width,height:s.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),s.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:s.images.slice(2).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"w-full object-cover",style:{aspectRatio:"3 / 2"}})},d.mediaId))})]})})}function Go(){var m;const s=P(),r=mt(s),o=gr();if(o==="reservation")return n.jsx(Dy,{});if(o==="oasi")return n.jsx(Ry,{});if(o==="studio")return n.jsx(Uy,{});if(o==="pastel")return n.jsx(Ly,{});if(o==="editorial")return n.jsx(Hy,{});const u=(m=s.theme.sections.find(x=>x.id===r.path))==null?void 0:m.variantId;if(u==="rooms.bands")return n.jsx(My,{});if(u==="rooms.tabs")return n.jsx(Oy,{});const f=hl(s);if(f.length===0)return null;const d=f.length===1?"grid-cols-1":f.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 xl:grid-cols-3";return n.jsx(it,{id:"units",title:$e(s,r.path,`${r.label} ${f.length}개 안내`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(x=>n.jsxs(Au,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[x.images.length>0&&n.jsx(qy,{images:x.images,name:x.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:x.name}),x.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:x.chips.map(g=>n.jsx("li",{children:n.jsxs(_u,{children:[!g.value.includes(g.label)&&n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),x.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:x.intro})]})]}),x.rows.length>0&&n.jsxs("details",{className:"group border-line border-t",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx("span",{children:"자세히"}),n.jsx(pr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:x.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:x.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))})})]})]},x.unitId))})})}function qy({images:s,name:r}){const o=R.useRef(null),[u,f]=R.useState(0),d=R.useCallback(()=>{const x=o.current;!x||x.clientWidth===0||f(Math.round(x.scrollLeft/x.clientWidth))},[]),m=R.useCallback(x=>{const g=o.current;if(!g)return;const p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;g.scrollBy({left:x*g.clientWidth,behavior:p?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${r} 사진`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:s.map(x=>n.jsx("li",{className:"w-full shrink-0 snap-center",children:n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},x.mediaId))}),s.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(ip,{dir:"prev",show:u>0,onClick:()=>m(-1)}),n.jsx(ip,{dir:"next",show:um(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-2.5 right-2.5 rounded-full bg-black/55 px-2 py-0.5 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white",children:[Math.min(u+1,s.length)," / ",s.length]})]})]})}function ip({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function $y(){const s=P(),r=Ze(s),o=sv(s),u=s.place.phone;return r.length===0&&o.length===0&&!u?null:n.jsx(it,{id:"booking",tone:"alt",title:$e(s,"booking","예약 안내"),lead:`${s.place.name} 예약은 아래 경로로 받습니다.`,children:n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[o.length>0&&n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5 lg:col-span-7",children:o.map(f=>n.jsx(Jp,{label:f.label,value:f.value},f.label))}),n.jsx("div",{className:o.length>0?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:o.length>0?"flex flex-col gap-2.5 sm:flex-row sm:flex-wrap lg:flex-col":"flex flex-col items-start gap-2.5 sm:flex-row sm:flex-wrap",children:[u&&n.jsxs(tp,{href:`tel:${u}`,icon:n.jsx(Ct,{className:"size-4"}),children:["전화 예약 ",u]}),r.map(f=>n.jsx(tp,{href:f.url,variant:"outline",external:!0,children:qp(f)},f.url))]})})]})})}const Yy="/v1/site/booking-request";function Gy({stay:s,guests:r}){const o=P(),u=R.useRef(Date.now()),[f,d]=R.useState(!1),[m,x]=R.useState(null);R.useEffect(()=>{u.current=Date.now()},[]);async function g(p){if(p.preventDefault(),f)return;const v=new FormData(p.currentTarget);d(!0);try{const N=await(await fetch(Yy,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({place_id:o.site.placeId,name:String(v.get("name")??""),phone:String(v.get("phone")??""),email:String(v.get("email")??"")||null,stay:s??(String(v.get("stay")??"")||null),guests:r??(String(v.get("guests")??"")||null),message:String(v.get("message")??"")||null,consent:v.get("consent")==="on",company:String(v.get("company")??""),elapsed_ms:Date.now()-u.current})})).json();x({ok:!!(N!=null&&N.success),message:String((N==null?void 0:N.message)??"")})}catch{x({ok:!1,message:"지금은 전달하지 못했습니다. 전화로 문의해 주세요."})}finally{d(!1)}}return m!=null&&m.ok?n.jsxs("div",{className:"border-line tpl-border rounded-lg border p-5",children:[n.jsx("p",{className:"text-[length:var(--fs-body)] font-bold",children:m.message}),n.jsx("p",{className:"text-muted mt-1 text-[length:var(--fs-sm)]",children:"예약이 확정된 것은 아닙니다. 사장님이 확인 후 연락드립니다."})]}):n.jsxs("form",{onSubmit:g,className:"border-line tpl-border flex flex-col gap-3 rounded-lg border p-5",children:[n.jsxs("div",{children:[n.jsx("p",{className:"text-[length:var(--fs-body)] font-bold",children:"예약 요청하기"}),n.jsx("p",{className:"text-muted mt-1 text-[length:var(--fs-sm)]",children:"빈 방을 확인해 사장님이 직접 연락드립니다."})]}),s||r?n.jsx("p",{className:"border-line tpl-border rounded-lg border px-4 py-3 text-[length:var(--fs-sm)] font-semibold",children:[s,r].filter(Boolean).join(" · ")}):n.jsxs(n.Fragment,{children:[n.jsx(ks,{id:"br-stay",label:"날짜",name:"stay",placeholder:"9월 20일 – 21일"}),n.jsx(ks,{id:"br-guests",label:"인원",name:"guests",placeholder:"성인 2명"})]}),n.jsx(ks,{id:"br-name",label:"성함",name:"name",placeholder:"이름을 적어 주세요",required:!0}),n.jsx(ks,{id:"br-phone",label:"연락처",name:"phone",type:"tel",placeholder:"010-0000-0000",required:!0,hint:"사장님이 전화드릴 번호입니다."}),n.jsx(ks,{id:"br-email",label:"이메일",name:"email",type:"email",placeholder:"선택 — 답변을 메일로도 받습니다"}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"br-message",className:"text-[length:var(--fs-sm)] font-bold",children:"요청사항"}),n.jsx("textarea",{id:"br-message",name:"message",rows:3,maxLength:1e3,placeholder:"늦은 도착, 주차 대수 등",className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}})]}),n.jsx("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off","aria-hidden":!0,className:"absolute size-0 overflow-hidden opacity-0"}),n.jsxs("label",{htmlFor:"br-consent",className:"text-muted flex items-start gap-2 text-[length:var(--fs-sm)]",children:[n.jsx("input",{id:"br-consent",name:"consent",type:"checkbox",required:!0,className:"mt-1 size-4 shrink-0"}),n.jsx("span",{children:"예약 상담을 위한 연락처 수집·이용에 동의합니다. 상담이 끝나면 파기합니다."})]}),m&&!m.ok&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold",style:{color:"var(--color-accent)"},children:m.message}),n.jsx("button",{type:"submit",disabled:f,className:"tap rounded-lg px-6 text-[length:var(--fs-body)] font-bold disabled:opacity-60",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:f?"보내는 중…":"예약 요청 보내기"}),n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:"예약이 확정되는 것은 아닙니다. 사장님 확인 후 연락드립니다."})]})}function ks({id:s,label:r,name:o,placeholder:u,type:f="text",required:d,hint:m}){return n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsxs("label",{htmlFor:s,className:"text-[length:var(--fs-sm)] font-bold",children:[r,!d&&n.jsx("span",{className:"text-muted font-normal",children:" (선택)"})]}),n.jsx("input",{id:s,name:o,type:f,required:d,maxLength:60,placeholder:u,className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),m&&n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:m})]})}const Xo=["일","월","화","수","목","금","토"],rp=2;function cp(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function Xy(s,r,o){const u=new Date(s,r,1),f=new Date(s,r+1,0).getDate(),d=cp(o),m=Array.from({length:u.getDay()},()=>null);for(let x=1;x<=f;x+=1){const g=new Date(s,r,x),p=cp(g);m.push({iso:p,day:x,weekday:g.getDay(),isWeekend:g.getDay()===0||g.getDay()===6,past:po+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function Vy(s){return uu(s.units).map(r=>{var u;const o=f=>{var m;const d=Number((m=_t(r.facts,f))==null?void 0:m.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:r.unitId,name:r.name,weekdayPrice:(u=Lp(r))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function Zy(){var ce;const s=P(),r=R.useMemo(()=>Vy(s),[s]),o=R.useMemo(()=>{var K;return((K=Tn(s.facts).find(he=>he.key==="check_in_time"))==null?void 0:K.value)??void 0},[s]),u=R.useMemo(()=>Qy(o),[o]),[f,d]=R.useState(null),[m,x]=R.useState(0);R.useEffect(()=>d(new Date),[]);const g=R.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+m,1):null,[f,m]),p=R.useMemo(()=>f&&g?Xy(g.getFullYear(),g.getMonth(),f):[],[f,g]),[v,y]=R.useState(null),[N,E]=R.useState(null),[j,T]=R.useState(((ce=r[0])==null?void 0:ce.unitId)??null),[C,D]=R.useState(2),[X,H]=R.useState(!1),[Z,Q]=R.useState(!1),V=p.find(K=>K!==null&&K.iso===v)??null,$=r.find(K=>K.unitId===j)??null,W=($==null?void 0:$.maxCapacity)??8,le=V&&$?V.isWeekend?$.weekendPrice??$.weekdayPrice:$.weekdayPrice:void 0,xe=!!(v&&$&&(u.length===0||N));return R.useEffect(()=>{D(K=>Math.min(K,($==null?void 0:$.maxCapacity)??8))},[$]),r.length===0?null:n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("button",{type:"button",onClick:()=>Q(K=>!K),"aria-expanded":Z,className:"tap flex w-full items-center gap-2 border-b border-black/8 px-4 text-[length:var(--fs-sm)] font-bold sm:px-5",children:[n.jsx(Y0,{className:"size-4 opacity-100"}),n.jsx("span",{className:"flex-1 text-left",children:"날짜 · 시간 선택"}),n.jsx("span",{className:"opacity-100",children:Z?"−":"+"})]}),f===null||g===null?n.jsx("p",{className:"px-4 py-6 text-[length:var(--fs-xs)] leading-relaxed opacity-100 sm:px-5",children:"날짜 선택은 브라우저에서 열립니다. 실제 예약 가능 여부와 결제는 아래 예약 창구에서 확인해 주세요."}):!Z&&!X?null:X?n.jsx(Ky,{payload:s,onReset:()=>H(!1),stay:[V?`${g.getMonth()+1}월 ${V.day}일(${Xo[V.weekday]})`:null,N?`도착 ${N}`:null,($==null?void 0:$.name)??null].filter(Boolean).join(" · "),guests:`${C}명`,summary:[V?`${g.getMonth()+1}월 ${V.day}일(${Xo[V.weekday]})`:null,N?`도착 ${N}`:null,($==null?void 0:$.name)??null,`${C}명`].filter(K=>!!K).join(" · ")}):n.jsxs("div",{className:"space-y-5 p-4 sm:p-5",children:[n.jsxs("div",{children:[n.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-100",children:"날짜"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>x(K=>Math.max(0,K-1)),disabled:m===0,"aria-label":"이전 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(da,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-[length:var(--fs-xs)] font-bold",children:[g.getFullYear(),"년 ",g.getMonth()+1,"월"]}),n.jsx("button",{type:"button",onClick:()=>x(K=>Math.min(rp,K+1)),disabled:m>=rp,"aria-label":"다음 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(ma,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:Xo.map((K,he)=>n.jsx("span",{className:"text-center text-[length:var(--fs-xs)] font-semibold",style:{opacity:he===0||he===6?.75:.45},children:K},K))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:p.map((K,he)=>K===null?n.jsx("span",{"aria-hidden":!0},`pad-${he}`):n.jsx("button",{type:"button",disabled:K.past,onClick:()=>y(K.iso),"aria-pressed":K.iso===v,"aria-label":`${g.getMonth()+1}월 ${K.day}일`,className:"flex h-9 items-center justify-center rounded-lg border text-[length:var(--fs-xs)] transition-colors disabled:cursor-not-allowed",style:{borderColor:K.iso===v?"var(--color-brand)":"transparent",backgroundColor:K.iso===v?"var(--color-brand)":"var(--color-surface-alt)",color:K.iso===v?"#fff":void 0,opacity:K.past?.25:1,fontWeight:K.iso===v?700:400},children:K.day},K.iso))}),(V==null?void 0:V.isWeekend)&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-100",children:"주말 요금이 적용되는 날짜입니다."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[length:var(--fs-xs)] font-semibold opacity-100",children:[n.jsx(F0,{className:"size-3"}),n.jsxs("span",{children:["도착 예정 시간 (체크인 ",o," 이후)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(K=>{const he=K===N;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>E(K),"aria-pressed":he,className:"rounded-lg border px-3 py-1.5 text-[length:var(--fs-xs)] font-medium transition-colors",style:{borderColor:he?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:he?"var(--color-brand)":"var(--color-surface-alt)",color:he?"#fff":void 0},children:K})},K)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] font-semibold opacity-100",children:"객실"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:r.map(K=>{const he=K.unitId===j;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>T(K.unitId),"aria-pressed":he,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-[length:var(--fs-xs)] transition-colors",style:{borderColor:he?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:K.name}),K.maxCapacity&&n.jsxs("span",{className:"shrink-0 opacity-100",children:["최대 ",K.maxCapacity,"명"]})]})},K.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-100",children:"인원"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>D(K=>Math.max(1,K-1)),"aria-label":"인원 줄이기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(cb,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-[length:var(--fs-sm)] font-bold",children:[C,"명"]}),n.jsx("button",{type:"button",onClick:()=>D(K=>Math.min(W,K+1)),"aria-label":"인원 늘리기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(hb,{className:"size-3.5"})})]})]}),n.jsxs("div",{className:"rounded-xl border border-black/8 p-3",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] opacity-100",children:V?`${g.getMonth()+1}월 ${V.day}일 · ${($==null?void 0:$.name)??""} · ${C}명`:"날짜를 골라 주세요"}),le!=null&&n.jsxs("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:[le.toLocaleString("ko-KR"),"원"]})]}),le!=null&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-100",children:"1박 기준 안내 요금입니다. 인원 추가·성수기 요금은 예약 창구에서 확인됩니다."})]}),n.jsx("button",{type:"button",disabled:!xe,onClick:()=>H(!0),className:"w-full rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"예약 요청 확인하기"})]})]})}function Ky({payload:s,summary:r,stay:o,guests:u,onReset:f}){const d=s.place.phone;return n.jsxs("div",{className:"space-y-4 p-4 sm:p-5",children:[n.jsxs("div",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"var(--color-brand)"},children:n.jsx(iu,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-[length:var(--fs-sm)] font-bold",children:"예약 내용 확인"}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] leading-relaxed opacity-100",children:r})]})]}),n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[d&&n.jsxs("a",{href:`tel:${d}`,className:"flex flex-1 items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화로 예약하기 ",d]})]}),n.jsxs("button",{type:"button",onClick:f,className:"tap flex items-center justify-center gap-1.5 rounded-xl border border-black/10 px-4 text-[length:var(--fs-sm)] font-semibold transition-colors hover:bg-black/5",children:[n.jsx(xb,{className:"size-4"}),n.jsx("span",{children:"다시 고르기"})]})]}),n.jsx(Gy,{stay:o,guests:u})]})}function op(){const s=P(),r=pv(s);if(!r)return null;const{offers:o,links:u,contacts:f,phone:d}=r;return n.jsx("section",{id:"booking","aria-labelledby":"booking-heading",className:"w-full border-b border-black/8 py-16 sm:py-24",style:{backgroundColor:"var(--color-surface-alt)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("p",{className:"mb-2 flex items-center gap-2 text-[length:var(--fs-xs)] font-semibold uppercase tracking-wider opacity-100",children:[n.jsx(q0,{className:"size-4"}),n.jsx("span",{children:"Reservation"})]}),n.jsx("h2",{id:"booking-heading",className:"serif mb-2 text-2xl font-bold tracking-tight sm:text-3xl lg:text-4xl",children:$e(s,"booking","예약 안내")}),n.jsx("p",{className:"mb-8 max-w-2xl text-[length:var(--fs-xs)] leading-relaxed opacity-100 sm:text-[length:var(--fs-sm)]",children:"빈 방 확인과 결제는 아래 예약 창구에서 진행됩니다. 이 페이지에서는 요금과 이용 조건만 안내합니다."}),n.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-5 lg:gap-6",children:[o.length>0&&n.jsxs("div",{className:"overflow-hidden rounded-2xl border border-black/8 lg:col-span-3",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-[length:var(--fs-xs)] font-bold sm:px-5",children:[n.jsx(H0,{className:"size-3.5 opacity-100"}),n.jsx("span",{children:"객실별 요금 · 인원"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(m=>n.jsxs("li",{className:"p-4 sm:p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[n.jsx("h3",{className:"serif text-base font-bold sm:text-lg",children:m.name}),m.baseRateText&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:m.baseRateText})]}),m.capacityText&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-100",children:m.capacityText}),m.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:m.rateRows.map(x=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-[length:var(--fs-xs)]",children:[n.jsx("dt",{className:"opacity-100",children:x.label}),n.jsx("dd",{className:"font-semibold",children:x.value})]},x.label))}),n.jsx("a",{href:m.href,className:"mt-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-100",children:n.jsx("span",{children:"사진 · 상세 보기"})})]},m.unitId))})]}),n.jsxs("div",{className:"flex h-fit flex-col gap-3 rounded-2xl border border-black/8 p-4 sm:p-5 lg:col-span-2",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-bold",children:"예약 창구"}),d&&n.jsxs("a",{href:`tel:${d}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화 예약 ",d]})]}),u.map(m=>n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-2 rounded-xl border border-black/10 px-4 py-3 text-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:qp(m)}),n.jsx(zn,{className:"size-3.5 shrink-0"})]},m.url)),f.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] opacity-100",children:"문의"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:f.map(m=>n.jsx("li",{children:n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-lg border border-black/10 px-2.5 py-1.5 text-[length:var(--fs-xs)] transition-colors hover:bg-black/5",children:[n.jsx("span",{children:pl(m)}),n.jsx(zn,{className:"size-3"})]})},m.url))})]}),u.length===0&&n.jsx("p",{className:"text-[length:var(--fs-xs)] leading-relaxed opacity-100",children:"온라인 예약 채널은 등록되지 않았습니다. 예약은 전화로 문의해 주세요."})]})]}),n.jsx(Zy,{})]})})}function Jy(){const s=P(),r=rv(s);return r.length===0?null:n.jsx(it,{id:"space",title:$e(s,"space","공간 안내"),lead:"좌석과 이용 환경 안내입니다.",children:n.jsx("dl",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:r.map(o=>n.jsxs(Au,{className:"p-4 sm:p-5",children:[n.jsx("dt",{className:"text-muted mb-1 text-[length:var(--fs-xs)] font-medium",children:o.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:o.value})]},o.label))})})}function Fy(){const s=P(),{place:r}=s,o=Cn(s);if(!r.phone&&!r.email&&o.length===0)return null;const u=[...r.phone?[{key:"phone",icon:Ct,label:"전화",value:r.phone,href:`tel:${r.phone}`}]:[],...r.email?[{key:"email",icon:kp,label:"이메일",value:r.email,href:`mailto:${r.email}`}]:[],...o.map(f=>({key:f.url,icon:ru,label:pl(f),value:"바로 가기",href:f.url,external:!0}))];return n.jsx(it,{id:"inquiry",title:$e(s,"inquiry","문의 안내"),lead:`궁금한 점은 아래로 연락 주시면 ${r.name}에서 직접 안내해 드립니다.`,children:n.jsx("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 lg:gap-4",children:u.map(f=>{const d=f.icon,m="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...m?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(d,{className:"size-5 shrink-0 opacity-40"}),n.jsxs("span",{className:"min-w-0",children:[n.jsx("span",{className:"text-muted block text-[length:var(--fs-xs)] font-medium",children:f.label}),n.jsx("span",{className:"block break-all text-[length:var(--fs-sm)] font-semibold",children:f.value})]})]}),m&&n.jsx(zn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function Wy(){const s=P(),r=ov(s);return r.length===0?null:n.jsx(it,{id:"exhibition",tone:"alt",title:$e(s,"exhibition","관람 안내"),lead:"방문 전 관람 조건을 확인해 주세요.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:r.map(o=>n.jsx(Jp,{label:o.label,value:o.value},o.label))})})}function Iy(){const[s,r]=R.useState([]);return R.useEffect(()=>r(Xb()),[]),s}const Py=["봄","여름","가을","겨울"];function e1(){const s=P(),r=s.local.festivals,o=Iy(),[u,f]=R.useState(null);if(r.length===0)return null;const d=Py.filter(y=>r.some(N=>N.season===y)),m=r.filter(y=>{var N;return!((N=y.season)!=null&&N.trim())}),x=[...o].reverse().find(y=>d.includes(y)),g="전체",p=u??x??null,v=p===g;return n.jsxs(it,{id:"festival",title:"계절별 축제",lead:`${s.place.addressLocality??"이 지역"}의 축제와 행사를 계절로 묶었습니다.`,aside:p&&!v?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["지금은 ",p," 축제입니다"]}):void 0,footnote:n.jsx(n.Fragment,{children:"한국관광공사 TourAPI 기준. 일정은 주최 측 사정으로 바뀔 수 있습니다."}),children:[d.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"계절",children:[...d,g].map(y=>{const N=p===y;return n.jsx("button",{type:"button",role:"tab","aria-selected":N,onClick:()=>f(y),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:N?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:y},y)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(y=>{const N=r.filter(E=>E.season===y);return n.jsxs("div",{hidden:!v&&p!==null&&p!==y,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:y}),n.jsx(up,{items:N,label:`${y} 축제`,remount:p})]},y)}),m.length>0&&n.jsxs("div",{children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:"계절 없이 열리는 행사"}),n.jsx(up,{items:m,label:"계절 없이 열리는 행사"})]})]})]})}function up({items:s,label:r,remount:o}){return n.jsx(vr,{label:r,children:s.map(u=>n.jsx(Kp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Lv(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[u.imageUrl?n.jsx("img",{src:u.imageUrl,alt:`${u.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:u.name}),n.jsx("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:u.month})]}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:u.name}),u.period&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-medium opacity-100",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx(Xs,{className:"mt-0.5 size-3 shrink-0 opacity-100"}),n.jsx("span",{children:u.location})]}),u.description&&n.jsx("span",{className:"text-muted line-clamp-3 pt-0.5 text-[length:var(--fs-xs)] leading-relaxed",children:u.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-100 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const Us=80,fp=[{id:"all",label:"전체",test:()=>!0},{id:"w5",label:"걸어서 5분 이내",test:s=>s<=5*Us},{id:"w10",label:"걸어서 10분 이내",test:s=>s<=10*Us},{id:"far",label:"걸어서 10분 이상",test:s=>s>10*Us}];function Qo(s){if(Number.isFinite(s))return`도보 약 ${Math.max(1,Math.round(s/Us))}분`}function t1(s){const r=/^([\d.]+)\s*(km|m)$/i.exec((s??"").trim());return r?Number(r[1])*(r[2].toLowerCase()==="km"?1e3:1):1/0}function En(s){return s.distanceMeters!=null?Number.isFinite(s.distanceMeters)&&s.distanceMeters>=0?s.distanceMeters:1/0:t1(s.distanceText)}function l1(){const s=P(),{local:r}=s,o=r.restaurants.filter(y=>y.imageUrl),u=o.length>0||r.attractions.length>0,[f,d]=R.useState("all");if(!u)return null;const m=[...o,...r.attractions],x=y=>m.filter(N=>y.test(En(N))).length,g=fp.filter((y,N)=>N===0||x(y)>0&&x(y)y.id===f)??fp[0],v=y=>p.test(En(y));return n.jsxs(it,{id:"guide",tone:"alt",title:"주변 안내",lead:`${s.place.addressLocality??"주변"} 지역의 맛집 · 명소 안내입니다.`,aside:r.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[pu(r.syncedAt)," 갱신"]}):void 0,footnote:n.jsxs(n.Fragment,{children:["도보 시간은 숙소에서 잰 직선거리를 분속 ",Us,"m 로 환산한 값입니다. 실제로 걷는 길은 이보다 깁니다."]}),children:[g.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"거리",children:g.map(y=>{const N=y.id===f,E=x(y);return n.jsxs("button",{type:"button",role:"tab","aria-selected":N,onClick:()=>d(y.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:N?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[y.label," ",n.jsx("span",{className:"tabular-nums opacity-100",children:E})]},y.id)})}),n.jsxs("div",{className:"space-y-10",children:[o.length>0&&n.jsx(dp,{title:"주변 맛집",icon:bb,places:o,within:v}),r.attractions.length>0&&n.jsx(dp,{title:"주변 명소",icon:Xs,places:r.attractions,within:v})]})]})}function a1({icon:s,children:r}){return n.jsxs("h3",{className:"border-line mb-4 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(s,{className:"size-4 opacity-100"}),n.jsx("span",{children:r})]})}function dp({title:s,icon:r,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(a1,{icon:r,children:s}),n.jsx(vr,{label:s,children:f.map(d=>n.jsx(Kp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Kh(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[d.imageUrl?n.jsx("img",{src:d.imageUrl,alt:`${d.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:d.name}),(Number.isFinite(En(d))||d.distanceText)&&n.jsxs("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:[Qo(En(d))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal opacity-100",children:d.distanceText})]})]}),n.jsxs("span",{className:"flex flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:d.name}),d.location&&n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)] break-words",children:d.location}),d.description&&n.jsx("span",{className:"text-muted line-clamp-3 text-[length:var(--fs-xs)] leading-relaxed",children:d.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-100 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},d.name))},f.length),n.jsx("ul",{hidden:!0,children:o.filter(d=>!u(d)).map(d=>n.jsxs("li",{children:[n.jsx("a",{href:Kh(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,Qo(En(d))&&` · ${Qo(En(d))}`]}),d.description&&n.jsx("p",{children:d.description}),d.location&&n.jsx("p",{children:d.location})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 거리 안에는 없습니다."})]})}function n1(s){return s===0?"맑음":s>=1&&s<=2?"구름많음":s===3?"흐림":s===45||s===48?"안개":s>=51&&s<=57?"이슬비":s>=61&&s<=67?"비":s>=71&&s<=77||s===85||s===86?"눈":s>=80&&s<=82?"소나기":s>=95&&s<=99?"뇌우":"흐림"}function s1({initial:s,regionCode:r,latitude:o,longitude:u}){const[f,d]=R.useState(s);return R.useEffect(()=>{if(!r||o==null||u==null)return;const m=new AbortController;async function x(){var p;try{const v=new URLSearchParams({region_code:r,latitude:String(o),longitude:String(u)}),y=await fetch(`/v1/local/weather?${v}`,{signal:m.signal});if(!y.ok)return;const N=await y.json();if(!((p=N==null?void 0:N.result)!=null&&p.success)||!N.weather)return;d(E=>({temperature:Number(N.weather.temperature),condition:n1(Number(N.weather.weather_code)),note:E==null?void 0:E.note,observedAt:N.weather.observed_at,stale:!!N.stale}))}catch{}}x();const g=window.setInterval(()=>void x(),600*1e3);return()=>{m.abort(),window.clearInterval(g)}},[o,u,r]),f}function mp(s,r){const[o,u]=R.useState();return R.useEffect(()=>{if(!(s!=null&&s.length))return;let f=[],d=-1;const m=()=>{f.length||(f=s.map((N,E)=>E));const p=f.filter(N=>N!==d),v=p.length?p:f,y=v[Math.floor(Math.random()*v.length)];f=f.filter(N=>N!==y),d=y,u({lines:s,index:y})},x=window.setTimeout(m,0),g=window.setInterval(m,2e4);return()=>{window.clearTimeout(x),window.clearInterval(g)}},[s]),(s==null?void 0:s[(o==null?void 0:o.lines)===s?o.index:0])??r}function i1(s){const r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(s??"");if(!r)return;const[,,o,u,f,d]=r;return`${Number(o)}월 ${Number(u)}일 ${f}:${d} 관측`}function r1(){var p,v,y,N;const s=P(),r=s1({initial:s.local.weather,regionCode:s.place.regionCode,latitude:s.place.latitude,longitude:s.place.longitude}),o=Ib((r==null?void 0:r.condition)??""),u=Pb((r==null?void 0:r.temperature)??0),f=s.local.weather,d=(r==null?void 0:r.condition)==="구름많음"?"구름많음":o,m=mp((p=f==null?void 0:f.noteSets)==null?void 0:p[d],((v=f==null?void 0:f.notes)==null?void 0:v[o])??(r==null?void 0:r.note)),x=mp((y=f==null?void 0:f.tempNoteSets)==null?void 0:y[u],(N=f==null?void 0:f.tempNotes)==null?void 0:N[u]);if(!r)return null;const g=i1(r.observedAt);return n.jsx(it,{id:"weather",tone:"alt",title:"오늘의 날씨",children:n.jsxs(Au,{className:"relative overflow-hidden",children:[n.jsx("div",{className:"w4-sky","data-mood":o,"aria-hidden":!0}),n.jsxs("div",{className:"relative flex flex-col gap-5 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[n.jsxs("p",{className:"flex items-baseline gap-2.5",children:[n.jsx("span",{className:"serif tabular-nums leading-none",style:{fontSize:"var(--fs-display)"},children:Math.round(r.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] opacity-100",children:"°C"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:r.condition})]}),g&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[g,r.stale&&" · 최근 관측값"]})]}),m&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose opacity-100",children:m}),x&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:[n.jsx("span",{className:"border-line mt-0.5 shrink-0 rounded-full border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold","aria-hidden":!0,children:u}),n.jsx("span",{children:x})]})]})]})})}function c1(){const s=P(),r=mu(s),o=s.theme.sections.find(T=>T.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=R.useState(null),m=R.useRef(null),[x,g]=R.useState(0),[p,v]=R.useState({prev:!1,next:!0}),y=R.useCallback(()=>{const T=m.current;if(!T)return;const C=T.clientWidth,D=T.scrollWidth-C;g(C>0?Math.round(T.scrollLeft/C):0),v({prev:T.scrollLeft>8,next:T.scrollLeft(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),Tu({box:m,interval:zu,advance:()=>Zp(m.current,1)});const N=R.useCallback(T=>{const C=m.current;if(!C)return;const D=window.matchMedia("(prefers-reduced-motion: reduce)").matches;C.scrollBy({left:T*C.clientWidth,behavior:D?"auto":"smooth"})},[]),E=R.useCallback(()=>d(null),[]),j=R.useCallback(T=>d(C=>C===null?null:(C+T+r.length)%r.length),[r.length]);return R.useEffect(()=>{if(f===null)return;const T=D=>{D.key==="Escape"&&E(),D.key==="ArrowLeft"&&j(-1),D.key==="ArrowRight"&&j(1)},C=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",T),()=>{document.body.style.overflow=C,window.removeEventListener("keydown",T)}},[f,E,j]),r.length===0?null:n.jsxs(it,{id:"gallery",title:(o==null?void 0:o.name)||"공간 갤러리",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:m,onScroll:y,className:"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] lg:grid lg:grid-cols-4 lg:gap-3 lg:snap-none lg:overflow-visible [&::-webkit-scrollbar]:hidden",children:r.map((T,C)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(Vo,{image:T,onOpen:()=>d(C),className:"aspect-4/3 rounded-lg"})},T.mediaId))}),r.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(hp,{dir:"prev",show:p.prev,onClick:()=>N(-1)}),n.jsx(hp,{dir:"next",show:p.next,onClick:()=>N(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-full bg-black/55 px-2.5 py-1 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white lg:hidden",children:[Math.min(x+1,r.length)," / ",r.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:r.map((T,C)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(Vo,{image:T,onOpen:()=>d(C),className:"rounded-lg",free:!0})},T.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:r.map((T,C)=>n.jsx("li",{children:n.jsx(Vo,{image:T,onOpen:()=>d(C),className:"aspect-square rounded-lg"})},T.mediaId))}),f!==null&&n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"사진 크게 보기",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/92 p-4 backdrop-blur-md",onClick:E,children:[n.jsx("button",{type:"button",onClick:E,"aria-label":"닫기",className:"tap absolute right-3 top-3 z-10 flex items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 sm:right-5 sm:top-5",children:n.jsx(cu,{className:"size-6"})}),n.jsx(pp,{dir:"prev",onClick:()=>j(-1)}),n.jsx(pp,{dir:"next",onClick:()=>j(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:T=>T.stopPropagation(),children:[n.jsx("img",{src:r[f].url,alt:r[f].alt,className:"max-h-[72vh] w-auto max-w-full rounded-lg object-contain"}),n.jsxs("figcaption",{className:"text-center text-[length:var(--fs-xs)] text-white/70",children:[r[f].caption??r[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",r.length]})]})]})]})]})}function hp({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-9 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 lg:hidden ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function pp({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),r()},"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 ${s==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function Vo({image:s,onOpen:r,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:r,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${s.alt} 크게 보기`,children:n.jsx("img",{src:s.url,alt:s.alt,loading:"lazy",decoding:"async",width:s.width,height:s.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function xp(){const s=P(),{place:r,routes:o}=s,[u,f]=R.useState(!1),d=r.roadAddress??r.address;if(!d)return null;const{latitude:m,longitude:x}=r,g=m!=null&&x!=null,p=Yv(r.name,m,x),v=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(it,{id:"location",title:"오시는 길",lead:"주소와 주요 거점까지의 이동 시간을 안내합니다.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[g&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${r.name} 위치 지도`,src:$v(m,x),loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"block aspect-4/3 w-full border-0 sm:aspect-video lg:aspect-auto lg:h-full lg:min-h-[24rem]"})}),n.jsx("div",{className:g?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:"panel p-5 sm:p-6",children:[n.jsx("p",{className:"label mb-2",children:"주소"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[n.jsx("address",{className:"text-[length:var(--fs-lead)] font-bold not-italic",children:d}),n.jsxs("button",{type:"button",onClick:v,title:"주소 복사",className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/8 px-2.5 py-1.5 text-[length:var(--fs-xs)] font-medium transition-opacity hover:opacity-100",children:[u?n.jsx(iu,{className:"size-3.5"}):n.jsx(I0,{className:"size-3.5"}),n.jsx("span",{children:u?"복사완료":"복사"})]})]}),r.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["문의:"," ",n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:Gp(r.name,m,x),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#03C75A] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",children:[n.jsx($o,{className:"size-4"}),n.jsx("span",{children:"네이버 길찾기"})]}),n.jsxs("a",{href:Bv(r.name,m,x),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#FEE500] px-4 text-[length:var(--fs-sm)] font-bold text-[#191600] transition-opacity hover:opacity-100",children:[n.jsx($o,{className:"size-4"}),n.jsx("span",{children:"카카오 길찾기"})]}),p&&n.jsxs("a",{href:p,className:"tap only-touch flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#0064FF] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",children:[n.jsx($o,{className:"size-4"}),n.jsx("span",{children:"티맵 길찾기"})]})]})]})})]}),o.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(X0,{className:"size-4 opacity-100"}),n.jsx("span",{children:"주요 거점 소요시간"})]}),n.jsx("div",{className:"panel overflow-hidden",children:n.jsx("div",{className:"slider-viewport",children:n.jsxs("table",{className:"w-full min-w-[34rem] text-left text-[length:var(--fs-sm)]",children:[n.jsxs("caption",{className:"sr-only",children:[s.place.name,"에서 주요 거점까지의 이동 시간"]}),n.jsx("thead",{className:"panel-sunken border-line border-b font-semibold",children:n.jsxs("tr",{children:[n.jsx("th",{scope:"col",className:"p-4",children:"목적지"}),n.jsx("th",{scope:"col",className:"p-4",children:"차량"}),n.jsx("th",{scope:"col",className:"p-4",children:"도보 / 대중교통"}),n.jsx("th",{scope:"col",className:"p-4",children:"거리"}),n.jsx("th",{scope:"col",className:"hidden p-4 md:table-cell",children:"비고"})]})}),n.jsx("tbody",{className:"divide-line divide-y",children:o.map(y=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:y.destination}),n.jsx("td",{className:"p-4 font-semibold",children:y.byCar??"—"}),n.jsx("td",{className:"p-4 opacity-100",children:y.byTransit??"—"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:y.distanceText??"—"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:y.note??""})]},y.destination))})]})})})]})]})}function o1(){const s=P(),r=ev(s);if(r.length===0)return null;const o=r.some(u=>u.sourceType===_b.TEMPLATE);return n.jsx(it,{id:"faq",tone:"alt",title:"자주 묻는 질문",lead:o?void 0:"아래 답변은 모두 사업자가 확인한 내용입니다.",children:n.jsx("div",{className:r.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:n.jsx(Fp,{initial:6,label:u=>`질문 ${u}개 더 보기`,children:r.map(u=>n.jsxs("details",{className:"panel group h-fit overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-3 px-5 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"serif text-muted shrink-0",children:"Q."}),n.jsx("span",{className:"flex-1",children:u.question}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line border-t px-5 pb-5 pt-4 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:u.answer})]},u.faqId))})})})}function Wp(){var d,m,x,g;const s=P(),{place:r,site:o}=s,u=Vb(s),f=r.roadAddress??r.address;return n.jsx("footer",{className:"w-full pb-28 pt-14 md:pb-14",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid grid-cols-1 gap-8 border-b border-current/15 pb-10 md:grid-cols-12",children:[n.jsxs("div",{className:"space-y-4 md:col-span-7",children:[n.jsx("p",{className:"serif text-[length:var(--fs-lead)] font-bold",children:r.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] opacity-100",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx(Xs,{className:"mt-1 size-4 shrink-0 opacity-100"}),n.jsx("span",{children:f})]}),r.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ct,{className:"size-4 shrink-0 opacity-100"}),n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),r.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(kp,{className:"size-4 shrink-0 opacity-100"}),n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-2 hover:underline",children:r.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"공식 채널",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current opacity-100",children:"공식 채널"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-lg border border-current/25 px-3 py-2 text-[length:var(--fs-xs)] font-medium transition-colors hover:bg-current/10",children:[n.jsx("span",{children:pl(p)}),n.jsx(eb,{className:"size-3.5"})]})},p.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] opacity-100 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",r.name]}),((d=r.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["대표: ",r.legal.representative]}),((m=r.legal)==null?void 0:m.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",r.legal.businessRegistrationNumber]}),((x=r.legal)==null?void 0:x.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",r.legal.mailOrderNumber]}),((g=r.legal)==null?void 0:g.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호",": ",r.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]}),n.jsxs("p",{className:"pt-3 text-[length:var(--fs-xs)] opacity-100",children:[n.jsx("a",{href:"https://www.o2osolution.ai/",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 hover:underline",children:"AI O2O"}),"의 Web4Ai로 만든 사이트입니다."]})]})})}function kn(){const s=P(),r=s.place.phone,u=Ze(s)[0],f=s.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!r&&!u&&!f?null:n.jsxs("nav",{"aria-label":"연락 · 예약",className:"border-line safe-b fixed inset-x-0 bottom-0 z-50 flex items-stretch gap-2 border-t px-3 pt-2 backdrop-blur-md lg:hidden",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 94%, transparent)"},children:[n.jsxs("a",{href:"#location",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":"오시는 길",children:[n.jsx(Xs,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"위치"})]}),f&&n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":pl(f),children:[n.jsx(ru,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"문의"})]}),r&&n.jsxs("a",{href:`tel:${r}`,className:"tap border-line flex flex-1 items-center justify-center gap-1.5 rounded-lg border text-[length:var(--fs-sm)] font-bold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]}),u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex min-w-0 flex-[1.4] items-center justify-center truncate rounded-lg px-2 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:xt(u)})]})}const Jt="var(--tpl-card, #fafafa)",Ee="var(--tpl-border, #d6d3d1)",Fe="color-mix(in oklab, var(--tpl-accent, #2563eb) 55%, currentColor)",Ls="var(--tpl-inverse, #1c1917)",fa="var(--tpl-bg, #ffffff)",dl="var(--tpl-text, #09090b)";function u1({n:s}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[length:var(--fs-xs)] tabular-nums",style:{backgroundColor:Fe,color:fa},children:s})}function xl({id:s,name:r,subtitle:o,count:u,link:f,children:d,dark:m}){const x=gr(),g=x==="reservation"?gu:x==="oasi"?bu:x==="studio"?vu:x==="pastel"?yu:x==="editorial"?hu:null,p=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 opacity-100 transition-opacity hover:opacity-100 hover:underline",children:[f.label," →"]}):void 0;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:m?Ls:"var(--tpl-surface, #fafafa)",color:m?fa:dl,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[g?n.jsx(g,{id:s,title:r,lead:o,aside:p}):n.jsxs("header",{className:"mb-8 sm:mb-10",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-2",children:[n.jsx("h2",{id:`${s}-heading`,className:"h2",children:r}),p]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-100",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] opacity-100",children:u})]})})}function Mn({children:s,label:r,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(vr,{label:r,gap:1,arrows:o,onSelect:u,onReady:f,children:s})}function ml({source:s,verified:r,imageCredit:o}){return!(s!=null&&s.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[length:var(--fs-xs)] opacity-100",children:[(s==null?void 0:s.name)&&n.jsxs("span",{children:["출처 ·"," ",s.url?n.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:s.name}):s.name]}),o&&n.jsxs("span",{children:["사진 · ",o]})]})}function Gs(s,r,o){return`총 ${s}${o}`}const gp=["#d4551f","#1d3c74","#2a6053","#7a3b52","#a34a2a","#334b6d","#4f6b3a","#6b2f3a","#2b6b7a","#8a4b2a","#4a3f6b","#3a5a4a","#b5603a","#356b8a","#6b4a2a","#2f5b6b","#a3562a","#4a4a6b","#c8873a","#2f6b4f","#7a4a6b","#5a5a4a","#3f5f6b"];function bp(s){if(s.labelColor)return s.labelColor;const r=s.title??"";let o=0;for(let u=0;u>>0;return gp[o%gp.length]}function Ip(){const s=P(),r=al(s,"songs"),u=new Set(r.items.map(g=>{var p,v;return`${((p=g.source)==null?void 0:p.name)??""}|${((v=g.source)==null?void 0:v.url)??""}`})).size===1&&r.items.length>1,[f,d]=R.useState(0);if(r.items.length===0)return null;const m=r.items[f]??r.items[0],x=g=>[g.artist,g.year?String(g.year):void 0,g.lyricist||g.composer?`작사 ${g.lyricist??"미상"} / 작곡 ${g.composer??"미상"}`:void 0,g.label].filter(Boolean).join(" · ");return n.jsxs(xl,{id:"songs",name:r.title||$e(s,"songs","가요 다방"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"곡"),children:[n.jsxs("div",{className:"tpl-border grid items-center gap-8 border p-6 sm:p-8 md:grid-cols-[240px_minmax(0,1fr)]",style:{backgroundColor:Ls,color:fa,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsxs("div",{className:"relative mx-auto size-[220px]",children:[n.jsx("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 16%, transparent)"}}),n.jsx("div",{className:"w4-disc w4-spin absolute inset-2 rounded-full",style:{"--lbl":bp(m),"--w4-vinyl":Ls},children:n.jsx("span",{className:"absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 30%, transparent)"}})}),n.jsxs("div",{"aria-hidden":!0,className:"absolute -right-1 top-3 h-2 w-[110px] origin-right rotate-6",children:[n.jsx("span",{className:"absolute inset-y-[3px] left-0 right-4 rounded-sm",style:{backgroundColor:"color-mix(in oklab, currentColor 65%, transparent)"}}),n.jsx("span",{className:"absolute -top-2 right-0 size-6 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 55%, transparent)"}})]})]}),n.jsx("div",{className:"min-w-0",children:r.items.map((g,p)=>n.jsxs("div",{hidden:p!==f,className:"space-y-3",children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.24em]",style:{color:Fe},children:["A면 · ",p+1," / ",r.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:g.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:x(g)}),g.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:g.story}),g.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:Fe},children:g.connection}),n.jsxs("a",{href:Hv(`${g.title} ${g.artist??""}`.trim()),target:"_blank",rel:"noopener noreferrer nofollow",className:"inline-flex items-center gap-1.5 text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",style:{color:Fe},children:[n.jsx(jb,{className:"size-4"}),n.jsx("span",{children:"유튜브에서 듣기"})]}),!u&&n.jsx(ml,{source:g.source,verified:g.verified})]},`disc-${g.title}-${p}`))})]}),r.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:r.items.map((g,p)=>n.jsxs("button",{type:"button",onClick:()=>d(p),"aria-pressed":p===f,className:"w-24 text-center",children:[n.jsx("span",{className:"w4-disc-mini mx-auto block size-[76px] rounded-full transition-transform hover:scale-105",style:{"--lbl":bp(g),"--w4-vinyl":Ls,boxShadow:p===f?`0 0 0 2px ${Fe}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[length:var(--fs-xs)] leading-tight opacity-100",children:g.title})]},`${g.title}-${p}`))}),n.jsxs("div",{className:"mt-6 flex flex-col items-center gap-2 text-center",children:[n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[length:var(--fs-xs)] tracking-[0.1em]",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"◎ 가사 대신 이야기 — 원문은 싣지 않습니다"}),u&&r.items[0]&&n.jsx(ml,{source:r.items[0].source,verified:r.items[0].verified})]})]})}function f1(){const s=P(),r=al(s,"daily"),[o,u]=R.useState();if(R.useEffect(()=>{const g=new Date;u(`${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`)},[]),r.items.length===0)return null;const f=[...r.items].sort((g,p)=>g.monthDay.localeCompare(p.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const g=f.findIndex(v=>v.monthDay===o);if(g>=0)return g;const p=f.findIndex(v=>v.monthDay>o);return p>=0?p:0})()),m=g=>f[(d+g+f.length)%f.length],x=f.length===1?[m(0)]:f.length===2?[m(0),m(1)]:[m(-1),m(0),m(1)];return n.jsx(xl,{id:"daily",name:r.title||$e(s,"daily","오늘의 한 장"),subtitle:r.subtitle,count:Gs(f.length,r.unverified,"장"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((g,p)=>{const v=x.indexOf(g);return n.jsx(d1,{page:g,hidden:v<0,isToday:x.length===1||v===1,muted:x.length>1&&v!==1},`${g.monthDay}-${p}`)})})})}function d1({page:s,isToday:r,muted:o,hidden:u}){const[f,d]=s.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] opacity-100 sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:Jt,borderColor:r?Fe:Ee,boxShadow:r?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":r?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":Jt,borderColor:Ee}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Ee},children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.2em] opacity-100",children:[f,"月"]}),n.jsx("p",{className:`serif mt-1 font-bold leading-none ${o?"text-4xl":"text-6xl"}`,style:{color:Fe},children:String(Number(d)||d)}),r&&n.jsx("p",{className:"mt-1.5 text-[length:var(--fs-xs)] tracking-[0.3em]",style:{color:Fe},children:"오늘"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[s.category&&n.jsx("p",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-100",children:s.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:s.title}),!o&&s.body&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:s.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Ee},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})]})}function Pp(){const s=P(),r=al(s,"people");return r.items.length===0?null:n.jsx(xl,{id:"people",name:r.title||$e(s,"people","인물 열전"),subtitle:r.subtitle,count:r.items.some(o=>!o.imageUrl)?`${Gs(r.items.length,r.unverified,"명")} · 사진이 없는 인물은 이름 활자로 대신합니다`:Gs(r.items.length,r.unverified,"명"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Ls,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 opacity-100"}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Mn,{label:"인물 목록",arrows:"overlay",children:r.items.map((o,u)=>n.jsxs("article",{className:"w-[210px] shrink-0 snap-center",children:[o.imageUrl?n.jsx("img",{src:o.imageUrl,alt:`${o.name} 사진`,loading:"lazy",decoding:"async",className:"aspect-3/4 w-full border object-cover",style:{borderColor:"color-mix(in oklab, currentColor 28%, transparent)"}}):n.jsx("span",{className:"serif grid aspect-3/4 w-full place-items-center border text-5xl",style:{backgroundColor:"color-mix(in oklab, currentColor 14%, transparent)",borderColor:"color-mix(in oklab, currentColor 28%, transparent)"},"aria-hidden":!0,children:o.name.trim().charAt(0)}),n.jsxs("h3",{className:"serif mt-3 text-base font-bold",children:[o.name,o.aka&&n.jsxs("span",{className:"ml-1.5 text-[length:var(--fs-xs)] opacity-100",children:["호 ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] opacity-100",children:[o.role,o.years].filter(Boolean).join(" · ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(ml,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 opacity-100"})]})})}function ex(){const s=P(),r=al(s,"chronicle");if(r.items.length===0)return null;const o=[...r.items].sort((f,d)=>f.year==null?d.year==null?0:1:d.year==null?-1:f.year-d.year),u=o.filter(f=>f.turning===!0).length;return n.jsx(xl,{id:"chronicle",name:r.title||$e(s,"chronicle","시간의 골목"),subtitle:r.subtitle,count:`붉은 점은 도시의 성격이 바뀐 해입니다 · ${u}개 / 전체 ${o.length}개`,children:n.jsx(Mn,{label:"연표",children:o.map((f,d)=>{const m=f.turning===!0;return n.jsxs("article",{className:"w-[228px] shrink-0 snap-center",children:[n.jsx("p",{className:"serif text-3xl font-bold leading-none",style:{color:m?Fe:void 0},children:f.year??"연도 미상"}),n.jsxs("div",{className:"relative my-3 h-3",children:[n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 border-t",style:{borderColor:Ee,right:d===o.length-1?"calc(100% - 12px)":0}}),n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 size-3 -translate-y-1/2 rounded-full border-2",style:{backgroundColor:m?Fe:Jt,borderColor:m?Fe:Ee}})]}),n.jsxs("div",{className:"flex gap-2.5 pr-5",children:[f.imageUrl&&n.jsx("img",{src:f.imageUrl,alt:`${f.title} 사진`,loading:"lazy",decoding:"async",className:"size-14 shrink-0 border object-cover",style:{borderColor:Ee}}),n.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[n.jsx("h3",{className:"serif text-base font-bold",children:f.title}),f.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:["지금 이 자리 · ",f.place]}),n.jsx(ml,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function tx(){const s=P(),r=R.useMemo(()=>al(s,"reading"),[s]),o=r.items;if(o.length===0)return null;const u=s.place.addressLocality??"지역";return n.jsx(xl,{id:"reading",name:r.title||$e(s,"reading",`${u} 읽기`),subtitle:r.subtitle,children:n.jsx(Mn,{label:`${u} 읽기`,children:o.map((f,d)=>n.jsx("article",{className:"w-[86%] shrink-0 grow-0 sm:w-[min(600px,56%)]",children:n.jsxs("div",{className:"h-full border p-5",style:{backgroundColor:Jt,borderColor:Ee},children:[f.group&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] font-bold tracking-[0.18em]",style:{color:Fe},children:[f.group,f.year!=null&&n.jsxs("span",{className:"font-normal opacity-100",children:[" · ",f.year]})]}),n.jsx("h3",{className:"serif mt-2 border-b-2 pb-2.5 text-xl leading-snug font-bold",style:{borderColor:"currentColor"},children:f.title}),n.jsx("p",{className:"mt-3 text-[length:var(--fs-body)] leading-[1.8] break-keep opacity-100",children:f.body}),n.jsx("div",{className:"mt-4 border-t border-dashed pt-2.5",style:{borderColor:Ee},children:n.jsx(ml,{source:f.source,verified:f.verified})})]})},`${f.title}-${d}`))})})}function lx(){const s=P(),r=al(s,"postcard");return r.items.length===0?null:n.jsx(xl,{id:"postcard",name:r.title||$e(s,"postcard","오늘의 엽서"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"장"),children:n.jsx(Mn,{label:"엽서 목록",children:r.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[o.imageUrl&&n.jsx("img",{src:o.imageUrl,alt:`${o.place||o.postmark||"엽서"} 사진`,loading:"lazy",decoding:"async",className:"block aspect-3/2 w-full border object-cover",style:{borderColor:Ee}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[length:var(--fs-xs)] leading-tight opacity-100",children:["사진 · ",o.imageCredit||"출처 표기 없음"]}),n.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-3",children:[n.jsxs("div",{className:"min-w-0 border-r pr-3",style:{borderColor:Ee},children:[n.jsxs("p",{className:"serif text-[17px] leading-snug",children:["“",o.line,"”"]}),o.hashtags&&o.hashtags.length>0&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-100",children:o.hashtags.join(" ")})]}),n.jsxs("div",{className:"flex w-[62px] flex-col items-center gap-3",children:[n.jsxs("span",{className:"grid h-[56px] w-[44px] place-items-center border border-dashed text-center text-[length:var(--fs-xs)] leading-tight opacity-100",style:{borderColor:Ee},children:["郵票",n.jsx("br",{}),"10원"]}),n.jsx("span",{className:"serif grid size-[54px] -rotate-6 place-items-center rounded-full border-2 px-1 text-center text-[length:var(--fs-xs)] leading-tight",style:{borderColor:Fe,color:Fe},children:o.postmark||o.place||"소인"})]})]}),n.jsx("div",{className:"mt-3 border-t border-dashed pt-2.5",style:{borderColor:Ee},children:n.jsx(ml,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function m1(){const s=P(),r=al(s,"quiz"),[o,u]=R.useState(new Set);if(r.items.length===0)return null;const f=d=>u(m=>{const x=new Set(m);return x.has(d)?x.delete(d):x.add(d),x});return n.jsx(xl,{id:"quiz",name:r.title||$e(s,"quiz","뒤집어 보는 질문"),subtitle:r.subtitle,count:`정답은 두지 않습니다 — 힌트와 출처까지만 · 총 ${r.items.length}문항`,children:n.jsx(Mn,{label:"질문 목록",children:r.items.map((d,m)=>{const x=o.has(m);return n.jsx("button",{type:"button",onClick:()=>f(m),"aria-pressed":x,"aria-label":`${m+1}번 문제 ${x?"앞면 보기":"힌트 보기"}`,className:`w4-flip ${x?"w4-flip-on":""} h-[260px] w-[262px] shrink-0 text-left`,children:n.jsxs("span",{className:"w4-flip-inner block size-full",children:[n.jsxs("span",{className:"w4-flip-face w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[n.jsxs("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-100",children:["문제 ",m+1,d.level?` · ${d.level}`:""]}),n.jsx("span",{className:"serif text-[17px] font-bold leading-snug",children:d.question}),n.jsx("span",{className:"mt-auto text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:Fe},children:"눌러서 힌트 보기 →"})]}),n.jsxs("span",{className:"w4-flip-face w4-flip-back w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:Fe},children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:Fe},children:"힌트"}),n.jsx("span",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:d.hint??"힌트가 아직 없습니다."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Ee},children:[d.topic&&n.jsx("span",{className:"block text-[length:var(--fs-xs)] opacity-100",children:d.topic}),n.jsx(ml,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${m}`)})})})}const Ll=256,Os=318,wn=168,vp=34,h1=16,yp=4;function ax(s,r,o){const u=Ll*2**o,f=s*Math.PI/180;return{x:(r+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function p1(s){if(s.length<2)return 15;for(let r=h1;r>yp;r-=1){const o=s.map(d=>ax(d.lat,d.lng,r)),u=Math.max(...o.map(d=>d.x))-Math.min(...o.map(d=>d.x)),f=Math.max(...o.map(d=>d.y))-Math.min(...o.map(d=>d.y));if(u<=Os-vp*2&&f<=wn-vp*2)return r}return yp}function x1(s,r){const o=d=>d.latitude!=null&&d.longitude!=null?{name:d.searchQuery??d.name,lat:d.latitude,lng:d.longitude}:void 0,u=[];let f=r;return s.forEach((d,m)=>{const x=o(d);x&&(u.push({label:String(m+1),...x,stop:d,from:f&&!g1(f,x)?f:void 0}),f=x)}),u}function g1(s,r){return Math.abs(s.lat-r.lat)<1e-5&&Math.abs(s.lng-r.lng)<1e-5}function b1(s){const o=s.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-v.x,o[u].y-v.y)<27);if(!d)break;const m=o[u].x-d.x,x=o[u].y-d.y,g=Math.hypot(m,x)||1,p=(27-g)/g;o[u].x+=(m||1)*p,o[u].y+=x*p}return o}function v1(s){return s.from?qv(s.from,{name:s.stop.name,lat:s.lat,lng:s.lng}):Gp(s.stop.searchQuery??s.stop.name,s.lat,s.lng)}function y1({stops:s}){const{place:r}=P(),o=r.latitude!=null&&r.longitude!=null?{name:r.name,lat:r.latitude,lng:r.longitude}:void 0,u=s.filter(j=>j.latitude!=null&&j.longitude!=null);if(u.length===0||u.length===1&&s.length>1)return null;const f=x1(s,o),d=p1(f),m=b1(f.map(j=>ax(j.lat,j.lng,d))),x=(Math.min(...m.map(j=>j.x))+Math.max(...m.map(j=>j.x)))/2,g=(Math.min(...m.map(j=>j.y))+Math.max(...m.map(j=>j.y)))/2,p=x-Os/2,v=g-wn/2,y=2**d,N=[];for(let j=Math.floor(p/Ll);j<=Math.floor((p+Os)/Ll);j+=1)for(let T=Math.floor(v/Ll);T<=Math.floor((v+wn)/Ll);T+=1){if(T<0||T>=y)continue;const C=(j%y+y)%y;N.push({key:`${j}-${T}`,url:`https://tile.openstreetmap.org/${d}/${C}/${T}.png`,left:j*Ll-p,top:T*Ll-v})}const E=m.map(j=>`${(j.x-p).toFixed(1)},${(j.y-v).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:wn,borderColor:Ee,backgroundColor:"#e8e5df"},children:[N.map(j=>n.jsx("img",{src:j.url,alt:"",width:Ll,height:Ll,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:j.left,top:j.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},j.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:Os,height:wn,viewBox:`0 0 ${Os} ${wn}`,children:n.jsx("polyline",{points:E,fill:"none",stroke:Fe,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((j,T)=>{const C=m[T];return n.jsx("a",{href:v1(j),target:"_blank",rel:"noopener noreferrer",title:j.from?`${j.from.name} → ${j.stop.name} 길찾기`:`${j.stop.name} — 네이버 지도`,className:"absolute grid h-[22px] min-w-[22px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full px-1.5 text-[length:var(--fs-xs)] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:C.x-p,top:C.y-v,backgroundColor:Fe,color:fa,border:`1.5px solid ${fa}`},children:j.label},j.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[length:var(--fs-xs)] leading-tight text-stone-600",children:"© OpenStreetMap"})]})}function j1(s){const r=Math.floor(s/60),o=s%60;return[r>0?`${r}시간`:"",o>0?`${o}분`:""].filter(Boolean).join(" ")||"0분"}function tu(s){var r;return(r=s.days)!=null&&r.length?s.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:s.startTime,stops:s.stops??[]}]}function N1({item:s,badge:r,startTime:o,stops:u,first:f,placeName:d}){const m=Gb({name:s.name,startTime:o,stops:u}),[x,g]=R.useState(!1);return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:Jt,borderColor:Ee},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Ee},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:f?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Ee},children:r}),n.jsxs("span",{className:"text-[length:var(--fs-xs)] opacity-100",children:[m.from,"–",m.to," · ",j1(m.totalMinutes)]})]}),n.jsxs("div",{className:"space-y-1.5 px-4 pt-3.5",children:[n.jsx("h3",{className:"serif text-lg font-bold",children:s.name}),f&&s.audience&&n.jsx("p",{className:"text-[length:var(--fs-sm)] opacity-100",children:s.audience}),f&&s.why&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:s.why}),f&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:[d,"에서 출발 · ",m.from]})]}),x&&n.jsx(y1,{stops:m.stops.map(p=>p.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:m.stops.map((p,v)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[length:var(--fs-sm)] tabular-nums opacity-100",children:p.time}),n.jsxs("div",{className:`border-l pl-3 ${x?"pb-5":"pb-2"}`,style:{borderColor:Ee},children:[p.move>0&&n.jsxs("p",{className:"pt-1 text-[length:var(--fs-xs)] opacity-100",children:["↓ ",p.move,"분 이동"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[p.stop.imageUrl&&x&&n.jsx("img",{src:p.stop.imageUrl,alt:`${p.stop.name} 사진`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Ee}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-[length:var(--fs-sm)] font-bold",children:[n.jsx(u1,{n:v+1}),p.stop.name]}),p.stop.note&&n.jsx("span",{hidden:!x,className:"mt-0.5 block text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:p.stop.note})]})]}),n.jsxs("p",{hidden:!x,className:"mt-0.5 text-[length:var(--fs-xs)] opacity-100",children:[p.time,"–",p.until,p.stop.searchQuery&&` · 지도 검색 ${p.stop.searchQuery}`]})]})]},`${p.stop.name}-${v}`))}),n.jsxs("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Ee},children:[n.jsx("button",{type:"button",onClick:()=>g(p=>!p),className:"tap w-full border text-[length:var(--fs-sm)] font-bold",style:{borderColor:Ee},children:x?"접기":"지도 · 설명 보기"}),n.jsx("div",{hidden:!x,className:"pt-2.5",children:n.jsx(ml,{source:s.source,verified:s.verified})})]})]})}const Zo="그 밖의 일정";function S1(){var g;const s=P(),r=al(s,"itinerary"),u=(r.items.length>0?r.items:((g=s.local)==null?void 0:g.itineraries)??[]).filter(p=>tu(p).some(v=>v.stops.length>0)),f=[...new Set(u.map(p=>{var v;return((v=p.duration)==null?void 0:v.trim())||Zo}))],[d,m]=R.useState(null),x=d??f[0];return u.length===0?null:n.jsxs(xl,{id:"itinerary",name:r.title||$e(s,"itinerary","추천 일정"),subtitle:r.subtitle,count:"시각은 출발 시각과 머무는 시간으로 계산한 것입니다",children:[f.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"묵는 기간",children:f.map(p=>{const v=x===p;return n.jsxs("button",{type:"button",role:"tab","aria-selected":v,onClick:()=>m(p),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:v?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[p,n.jsx("span",{className:"ml-1.5 font-normal opacity-100",children:u.filter(y=>{var N;return(((N=y.duration)==null?void 0:N.trim())||Zo)===p}).length})]},p)})}),f.map(p=>n.jsx("div",{hidden:p!==x,children:n.jsx(w1,{tab:p,items:u.filter(v=>{var y;return(((y=v.duration)==null?void 0:y.trim())||Zo)===p}),placeName:s.place.name},x)},p))]})}function w1({tab:s,items:r,placeName:o}){const u=R.useMemo(()=>{let p=0;return r.map(v=>{const y=p;return p+=tu(v).length,{item:v,start:y}})},[r]),[f,d]=R.useState(0),m=R.useRef(null),x=R.useCallback(p=>{m.current=p},[]),g=u.reduce((p,v)=>v.start<=f?v.start:p,0);return n.jsxs(n.Fragment,{children:[u.length>1&&n.jsx("ul",{className:"border-line mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 border-b pb-3",children:u.map(({item:p,start:v})=>{const y=v===g;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var N;return(N=m.current)==null?void 0:N.scrollTo(v)},"aria-current":y,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${y?"font-bold underline":"opacity-100 hover:underline"}`,children:p.name})},`${p.name}-${v}`)})}),n.jsx(Mn,{label:`${s} 일정`,onSelect:d,onReady:x,children:u.flatMap(({item:p,start:v},y)=>tu(p).map((N,E)=>n.jsx(N1,{item:p,badge:N.label??p.duration??`${E+1}일차`,startTime:N.startTime,stops:N.stops,first:E===0,placeName:o},`${p.name}-${v}-${E}`)))})]})}function E1(){const s=P(),r=al(s,"video"),[o,u]=R.useState(),f=R.useRef(null),[d,m]=R.useState({prev:!1,next:!0}),x=R.useCallback(()=>{const v=f.current;if(!v)return;const y=v.scrollWidth-v.clientWidth;m({prev:v.scrollLeft>8,next:v.scrollLeft(x(),window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)),[x]);const g=R.useCallback(v=>{const y=f.current;if(!y)return;const N=window.matchMedia("(prefers-reduced-motion: reduce)").matches;y.scrollBy({left:v*y.clientWidth*.85,behavior:N?"auto":"smooth"})},[]);if(Tu({box:f,interval:zu,advance:()=>Zp(f.current)}),r.items.length===0)return null;const p=r.items.length>1;return n.jsx(xl,{id:"video",name:r.title||$e(s,"video","영상으로 보기"),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:x,className:p?"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2 [scrollbar-width:none] lg:grid lg:grid-cols-3 lg:gap-4 lg:snap-none lg:overflow-visible lg:pb-0 [&::-webkit-scrollbar]:hidden":"grid grid-cols-1 gap-4",children:r.items.map((v,y)=>{const N=Db(v.url),E=Rb(v.url),j=o===y;return n.jsx("li",{className:p?"shrink-0 basis-[86%] snap-start sm:basis-[56%] lg:basis-auto":"",children:n.jsxs("figure",{className:"space-y-2",children:[n.jsx("div",{className:"tpl-border relative mx-auto overflow-hidden border",style:{borderColor:Ee,backgroundColor:Jt,aspectRatio:E?"9 / 16":"16 / 9",width:E?"min(100%, 22rem)":"100%"},children:j&&N?n.jsx("iframe",{src:Lb(N),title:v.caption||"영상",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full border-0"}):n.jsxs("a",{href:v.url,target:"_blank",rel:"noopener noreferrer",onClick:T=>{N&&(T.preventDefault(),u(y))},"aria-label":`${v.caption||"영상"} 재생`,className:"group block size-full",children:[N?n.jsx("img",{src:Ub(N),alt:"",loading:"lazy",decoding:"async",className:"size-full object-cover"}):n.jsx("span",{className:"text-muted grid size-full place-items-center px-4 text-center text-[length:var(--fs-xs)]",children:"유튜브 영상이 아닙니다 — 눌러서 원본으로 갑니다"}),n.jsx("span",{className:"absolute inset-0 grid place-items-center",children:n.jsx("span",{className:"grid size-14 place-items-center rounded-full backdrop-blur transition-transform group-hover:scale-110",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 70%, transparent)",color:"var(--tpl-bg, #fff)"},children:n.jsx(db,{className:"size-6"})})})]})}),v.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:v.caption}),n.jsx(ml,{source:v.source,verified:v.verified})]})},`${v.url}-${y}`)})}),p&&n.jsxs(n.Fragment,{children:[n.jsx(jp,{dir:"prev",onClick:()=>g(-1),disabled:!d.prev}),n.jsx(jp,{dir:"next",onClick:()=>g(1),disabled:!d.next})]})]})})}function jp({dir:s,onClick:r,disabled:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":s==="prev"?"이전 영상":"다음 영상",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:pointer-events-none disabled:opacity-0 lg:hidden ${s==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const z1={1:"한",2:"두",3:"세",4:"네",5:"다섯",6:"여섯",7:"일곱"},T1=s=>[{id:"songs",label:"가요 다방",Component:Ip},{id:"people",label:"인물 열전",Component:Pp},{id:"chronicle",label:"시간의 골목",Component:ex},{id:"reading",label:`${s} 읽기`,Component:tx},{id:"postcard",label:"오늘의 엽서",Component:lx}];function A1(){const s=P(),r=s.place.addressLocality??"지역",o=$e(s,"story",`${r} 이야기`),u=T1(r).filter(m=>al(s,m.id).items.length>0),[f,d]=R.useState(0);return u.length===0?null:n.jsxs(n.Fragment,{children:[n.jsx("section",{id:"story","aria-labelledby":"story-heading",className:"paper w-full",style:{backgroundColor:"var(--tpl-surface, #fafafa)",color:dl,paddingTop:"var(--section-space)",paddingBottom:"calc(var(--section-space) * 0.55)"},children:n.jsxs("div",{className:"shell",children:[n.jsx("h2",{id:"story-heading",className:"h2",children:o}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-100",children:["이 도시를 ",z1[u.length]??`${u.length}`," 갈래로 봅니다. 하나씩 골라 보세요."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":o,children:u.map((m,x)=>{const g=x===f;return n.jsx("button",{type:"button",role:"tab","aria-selected":g,"aria-controls":m.id,onClick:()=>d(x),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:g?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Ee},children:m.label},m.id)})})]})}),u.map((m,x)=>n.jsx("div",{hidden:x!==f,children:n.jsx(m.Component,{})},m.id))]})}const _1={open:"진행 중",soon:"곧 시작",closed:"종료"};function Np(s,r){return s.endDate&&s.endDater?"soon":"open"}function Ko(s,r){return s.kind==="공지"&&!s.startDate&&!s.endDate?"공지":r&&_1[r]}function Jo(s){const r=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}월 ${Number(d[3])}일`:void 0},o=r(s.startDate),u=r(s.endDate);if(o&&u)return o===u?o:`${o} – ${u}`;if(o)return`${o}부터`;if(u)return`${u}까지`}function C1(){const s=P(),r=al(s,"event"),[o,u]=R.useState();R.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=R.useState(null),m=R.useCallback(()=>d(null),[]);if(R.useEffect(()=>{if(f===null)return;const p=y=>{y.key==="Escape"&&m()},v=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",p),()=>{document.body.style.overflow=v,window.removeEventListener("keydown",p)}},[f,m]),r.items.length===0)return null;const x=f===null?void 0:r.items[f],g=x&&o?Np(x,o):void 0;return n.jsxs(xl,{id:"event",name:r.title||$e(s,"event",`${s.place.name} 소식`),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,count:"자세한 내용과 최신 소식은 원문에서 확인해 주세요.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:n.jsx(Fp,{initial:2,label:p=>`소식 ${p}개 더 보기`,children:r.items.map((p,v)=>{const y=o?Np(p,o):void 0,N=Ko(p,y),E=Jo(p),j=y==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:Jt,borderColor:Ee,opacity:j?.6:1,boxShadow:j?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(v),"aria-label":`${p.title} 자세히 보기`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:p.imageUrl?"relative overflow-hidden border-b-2":"contents",style:p.imageUrl?{borderColor:Ee}:void 0,children:p.imageUrl?n.jsx("img",{src:p.imageUrl,alt:`${p.title} 안내 이미지`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:j?{filter:"grayscale(1)"}:void 0}):null}),n.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[N&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:y==="open"&&N!=="공지"?Fe:Jt,color:y==="open"&&N!=="공지"?fa:dl,borderColor:y==="open"&&N!=="공지"?Fe:Ee},children:N}),E&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-semibold tabular-nums opacity-100",children:E})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"line-clamp-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Ee},children:p.howTo}),p.body&&n.jsx("p",{className:`whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-100 ${p.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:p.body}),n.jsx("p",{className:"mt-auto pt-2 text-[length:var(--fs-sm)] font-bold opacity-100",children:"자세히 보기 →"})]})]},`${p.title}-${v}`)})})}),x&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":x.title,className:"fixed inset-0 z-50 flex items-end justify-center bg-black/70 p-0 backdrop-blur-sm sm:items-center sm:p-6",onClick:m,children:n.jsxs("article",{onClick:p=>p.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:Jt,borderColor:Ee,color:dl},children:[x.imageUrl&&n.jsx("img",{src:x.imageUrl,alt:`${x.title} 안내 이미지`,className:"max-h-[46vh] w-full object-contain",style:{backgroundColor:"color-mix(in oklab, currentcolor 6%, transparent)"}}),n.jsxs("div",{className:"space-y-4 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[Ko(x,g)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{borderColor:Ee},children:Ko(x,g)}),Jo(x)&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums opacity-100",children:Jo(x)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:x.title}),x.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:x.summary}),x.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Ee},children:x.howTo}),x.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:x.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[x.postUrl?n.jsx("a",{href:x.postUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",children:"원문 보기 →"}):n.jsx("span",{}),n.jsxs("button",{type:"button",onClick:m,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Ee},children:[n.jsx(cu,{className:"size-4"}),n.jsx("span",{children:"닫기"})]})]})]})]})})]})}const k1={songs:Ip,daily:f1,people:Pp,chronicle:ex,reading:tx,postcard:lx,quiz:m1,itinerary:S1,video:E1,event:C1,story:A1},M1="/v1/site/review",O1="/v1/site/reviews",Sp=5,wp=500;function D1(){const s=P(),[r,o]=R.useState(s.reviews??[]),u=R.useRef(Date.now()),[f,d]=R.useState(0),[m,x]=R.useState(""),[g,p]=R.useState(!1),[v,y]=R.useState(null),N=s.site.placeId,E=R.useCallback(async()=>{try{const C=await fetch(`${O1}?place_id=${encodeURIComponent(N)}`);if(!C.ok)return;const D=await C.json();Array.isArray(D==null?void 0:D.items)&&o(D.items)}catch{}},[N]);R.useEffect(()=>{u.current=Date.now(),E()},[E]);async function j(C){if(C.preventDefault(),g)return;const D=new FormData(C.currentTarget);p(!0);try{const H=await(await fetch(M1,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({place_id:s.site.placeId,body:m,nickname:String(D.get("nickname")??"")||null,consent:D.get("consent")==="on",company:String(D.get("company")??""),elapsed_ms:Date.now()-u.current})})).json();y({ok:!!(H!=null&&H.success),message:String((H==null?void 0:H.message)??"")}),H!=null&&H.success&&(x(""),d(0),await E())}catch{y({ok:!1,message:"지금은 남기지 못했습니다. 잠시 뒤 다시 시도해 주세요."})}finally{p(!1)}}const T=Math.ceil(r.length/Sp);return n.jsxs(it,{id:"reviews",tone:"alt",title:"다녀오신 이야기",lead:"점수 대신 문장으로 남겨 주세요.",children:[r.length>0&&n.jsx("ul",{className:"divide-line mb-7 divide-y",children:r.map((C,D)=>n.jsxs("li",{hidden:Math.floor(D/Sp)!==f,className:"flex flex-col gap-1.5 py-4",children:[n.jsxs("p",{className:"flex flex-wrap items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:C.nickname||"손님"}),n.jsx("time",{dateTime:C.publishedAt,className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:pu(C.publishedAt)})]}),n.jsx("p",{className:"measure whitespace-pre-line break-keep text-[length:var(--fs-body)] leading-relaxed",children:C.body})]},C.reviewId))}),T>1&&n.jsx("nav",{"aria-label":"후기 페이지",className:"mb-7 flex flex-wrap justify-center gap-1.5",children:Array.from({length:T},(C,D)=>n.jsx("button",{type:"button",onClick:()=>d(D),"aria-current":D===f?"page":void 0,className:"border-line tpl-border min-w-9 rounded border px-3 py-1.5 text-[length:var(--fs-sm)] font-semibold tabular-nums",style:D===f?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:D+1},D))}),v!=null&&v.ok?n.jsxs("div",{className:"border-line tpl-border rounded-lg border p-5",children:[n.jsx("p",{className:"text-[length:var(--fs-body)] font-bold",children:v.message}),n.jsx("p",{className:"text-muted mt-1 text-[length:var(--fs-sm)]",children:"위 목록에 바로 올라갔습니다."})]}):n.jsxs("form",{onSubmit:j,className:"border-line tpl-border flex flex-col gap-3 rounded-lg border p-5",children:[n.jsx("p",{className:"text-[length:var(--fs-body)] font-bold",children:"후기 남기기"}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"review-body",className:"text-[length:var(--fs-sm)] font-bold",children:"후기"}),n.jsx("textarea",{id:"review-body",rows:4,maxLength:wp,value:m,onChange:C=>x(C.target.value),placeholder:"어떤 점이 좋았는지, 다음 손님이 알면 좋을 것을 적어 주세요",className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[m.length," / ",wp,"자 · 전화번호와 이메일은 적지 말아 주세요"]})]}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsxs("label",{htmlFor:"review-nickname",className:"text-[length:var(--fs-sm)] font-bold",children:["표시 이름 ",n.jsx("span",{className:"text-muted font-normal",children:"(선택)"})]}),n.jsx("input",{id:"review-nickname",name:"nickname",maxLength:40,placeholder:"비우면 '손님'으로 올라갑니다",className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}})]}),n.jsx("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off","aria-hidden":!0,className:"absolute size-0 overflow-hidden opacity-0"}),n.jsxs("label",{htmlFor:"review-consent",className:"text-muted flex items-start gap-2 text-[length:var(--fs-sm)]",children:[n.jsx("input",{id:"review-consent",name:"consent",type:"checkbox",required:!0,className:"mt-1 size-4 shrink-0"}),n.jsx("span",{children:"남긴 글이 이 사이트에 공개되는 것에 동의합니다."})]}),v&&!v.ok&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold",style:{color:"var(--color-accent)"},children:v.message}),n.jsx("button",{type:"submit",disabled:g,className:"tap rounded-lg px-6 text-[length:var(--fs-body)] font-bold disabled:opacity-60",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:g?"보내는 중…":"후기 보내기"}),n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:"남기면 바로 올라갑니다. 공개되는 글이니 연락처는 적지 말아 주세요."})]})]})}const lu=1080,Ds=4,dt=56,au=190,Fo="#1b1a15",R1="#efe7d3",Ep="#bf2f1b";function nx(s=lu){return s-dt-au-dt-24}function sx(s,r,o){const u=[];return r.split(`
+`).forEach(f=>{if(f.trim()===""){u.push("");return}let d="";f.split(" ").forEach(m=>{const x=d?`${d} ${m}`:m;if(s.measureText(x).width<=o){d=x;return}if(d&&u.push(d),s.measureText(m).width<=o){d=m;return}let g="";for(const p of m){const v=g+p;s.measureText(v).width>o&&g?(u.push(g),g=p):g=v}d=g}),d&&u.push(d)}),u}function U1(s,r,o){const u=[];let f="";return r.split(/[,\s]+/).filter(Boolean).forEach(d=>{const m=f?`${f} ${d}`:d;if(s.measureText(m).width<=o){f=m;return}if(f&&u.push(f),s.measureText(d).width<=o){f=d;return}let x="";for(const g of d){const p=x+g;s.measureText(p).width>o&&x?(u.push(x),x=g):x=p}f=x}),f&&u.push(f),u}const L1="/v1/image/relay?url=";async function H1(s){const r=(o,u)=>new Promise((f,d)=>{const m=new Image;u&&(m.crossOrigin=u),m.onload=()=>f(m),m.onerror=d,m.src=o});try{return{img:await r(s,"anonymous"),exportable:!0}}catch{}if(/^https?:\/\//i.test(s))try{return{img:await r(`${L1}${encodeURIComponent(s)}`,"anonymous"),exportable:!0}}catch{}return{img:await r(s,null),exportable:!1}}function B1(){const s=document.querySelector(".serif");return(s?getComputedStyle(s).fontFamily:"")||"serif"}async function zp(s,{photoUrl:r,text:o,placeName:u,region:f}){const d=s.getContext("2d");if(!d)return!1;const m=s.width,x=B1();d.clearRect(0,0,m,m),d.fillStyle=R1,d.fillRect(0,0,m,m);const{img:g,exportable:p}=await H1(r),v=m-dt*2,y=v/1.5,N=Math.max(v/g.width,y/g.height),E=g.width*N,j=g.height*N;d.save(),d.beginPath(),d.rect(dt,dt,v,y),d.clip(),d.drawImage(g,dt+(v-E)/2,dt+(y-j)/2,E,j),d.restore(),d.strokeStyle="rgba(27,26,21,0.25)",d.lineWidth=1,d.strokeRect(dt+.5,dt+.5,v-1,y-1);const T=dt+y+36,C=m-dt-au,D=nx(m);d.strokeStyle="rgba(27,26,21,0.35)",d.beginPath(),d.moveTo(C,T),d.lineTo(C,m-dt-46),d.stroke(),d.fillStyle=Fo,d.font=`600 46px ${x}`,d.textAlign="left",d.textBaseline="alphabetic";const X=sx(d,`“${o.trim()||"오늘, 이 숙소에서 하루를 보냅니다."}”`,D),H=X.slice(0,Ds);if(X.length>Ds){let W=H[Ds-1];for(;W.length&&d.measureText(`${W}…`).width>D;)W=W.slice(0,-1);H[Ds-1]=`${W}…`}H.forEach((W,le)=>d.fillText(W,dt,T+50+le*60));const Z=C+au/2;d.strokeStyle=Fo,d.lineWidth=1.5,d.setLineDash([4,4]),d.strokeRect(Z-44,T,88,108),d.setLineDash([]),d.fillStyle=Fo,d.font=`400 20px ${x}`,d.textAlign="center",d.fillText("郵票",Z,T+46),d.fillText("10원",Z,T+78),d.save(),d.translate(Z,T+210),d.rotate(-6*Math.PI/180),d.strokeStyle=Ep,d.lineWidth=3,d.beginPath(),d.arc(0,0,62,0,Math.PI*2),d.stroke(),d.fillStyle=Ep,d.font=`600 22px ${x}`;const Q=U1(d,u,100).slice(0,2),V=8-(Q.length-1)*26/2;Q.forEach((W,le)=>d.fillText(W,0,V+le*26)),d.restore();const $=m-dt-30;return d.strokeStyle="rgba(27,26,21,0.3)",d.setLineDash([3,3]),d.beginPath(),d.moveTo(dt,$-20),d.lineTo(m-dt,$-20),d.stroke(),d.setLineDash([]),d.fillStyle="rgba(27,26,21,0.6)",d.font=`400 22px ${x}`,d.textAlign="left",d.fillText(`${u} · ${f}`,dt,$+6),p}const Tp="postcard.png";function q1(){const s=P(),r=(s.media??[]).filter(H=>H.url),o=R.useRef(null),[u,f]=R.useState(0),[d,m]=R.useState(""),[x,g]=R.useState(""),[p,v]=R.useState(!1),[y,N]=R.useState(!0);R.useEffect(()=>{var H;v(((H=window.matchMedia)==null?void 0:H.call(window,"(pointer: coarse)").matches)??!1)},[]);const E=s.place.name,j=String(s.place.address??"").split(" ").slice(0,2).join(" ");if(R.useEffect(()=>{const H=o.current,Z=r[u];if(!H||!(Z!=null&&Z.url))return;const Q=window.setTimeout(()=>{zp(H,{photoUrl:Z.url,text:d,placeName:E,region:j}).then(N)},80);return()=>window.clearTimeout(Q)},[u,d,E,j,r]),R.useEffect(()=>{var Q;const H=o.current,Z=r[u];!H||!(Z!=null&&Z.url)||!((Q=document.fonts)!=null&&Q.ready)||document.fonts.ready.then(()=>zp(H,{photoUrl:Z.url,text:d,placeName:E,region:j}).then(N))},[]),r.length===0)return null;function T(H){var Q;const Z=(Q=o.current)==null?void 0:Q.getContext("2d");return Z?(Z.font="600 46px serif",sx(Z,`“${H}”`,nx()).length<=Ds):!0}function C(){return new Promise(H=>{const Z=o.current;if(!Z)return H(null);Z.toBlob(Q=>H(Q),"image/png",.95)})}function D(H){const Z=URL.createObjectURL(H),Q=document.createElement("a");Q.href=Z,Q.download=Tp,Q.click(),URL.revokeObjectURL(Z)}async function X(){var V,$;const H=await C();if(!H)return;const Z=((V=document.querySelector('meta[property="og:url"]'))==null?void 0:V.content)??`${location.origin}${location.pathname}`,Q=new File([H],Tp,{type:"image/png"});if(($=navigator.canShare)!=null&&$.call(navigator,{files:[Q]})){await navigator.share({files:[Q],title:`${E} 엽서`,text:Z}).catch(()=>{});return}if(navigator.share){await navigator.share({title:`${E} 엽서`,url:Z}).catch(()=>{}),g('이 브라우저는 사진을 같이 못 보내 링크만 보냈습니다. 사진은 "이미지로 저장" 을 눌러 주세요.');return}D(H),g("이 브라우저는 공유 시트를 못 열어 저장으로 대신했습니다.")}return n.jsx(it,{id:"postcard-maker",title:"엽서 쓰기",lead:`${E}에서 보내는 한 장을 직접 써 봅니다. 사진을 고르고 한 마디를 적으면 그 자리에서 엽서가 되고, 그대로 공유하거나 저장할 수 있습니다.`,children:n.jsxs("div",{className:"mx-auto grid max-w-3xl gap-5 sm:grid-cols-[minmax(0,360px)_minmax(0,1fr)] sm:items-start",children:[n.jsx("canvas",{ref:o,width:lu,height:lu,"aria-label":"내가 만든 엽서 미리보기",className:"border-line mx-auto block aspect-square h-auto w-full max-w-[360px] border"}),n.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[n.jsx("div",{className:"min-w-0",role:"radiogroup","aria-label":`엽서 사진 고르기(${r.length}장)`,children:n.jsx(vr,{label:"엽서 사진",gap:.5,dots:!1,autoplay:!1,children:r.map((H,Z)=>n.jsx("button",{type:"button",onClick:()=>f(Z),role:"radio","aria-checked":Z===u,"aria-label":`사진 ${Z+1}`,className:"border-line size-10 shrink-0 overflow-hidden rounded border transition-opacity",style:{opacity:Z===u?1:.5},children:n.jsx("img",{src:H.url,alt:"",loading:"lazy",className:"size-full object-cover"})},H.url))})}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"postcard-text",className:"text-[length:var(--fs-sm)] font-bold",children:"엽서에 적을 말"}),n.jsx("textarea",{id:"postcard-text",rows:3,maxLength:60,value:d,placeholder:"여기에 적으면 엽서에 바로 나타납니다",onChange:H=>{T(H.target.value)&&m(H.target.value)},className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["네 줄까지 · ",d.length,"/60"]})]}),y?n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx("button",{type:"button",onClick:()=>void X(),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)] font-bold",children:p?"카카오톡 등으로 공유":"공유하기"}),n.jsx("button",{type:"button",onClick:()=>void C().then(H=>H&&D(H)),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)]",children:"이미지로 저장"})]}):n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 사진은 다른 사이트에 올라와 있어 저장·공유가 막혀 있습니다. 화면으로만 보여 드립니다."}),x&&n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:x})]})]})})}function $1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(X1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(Q1,{}),n.jsx(kn,{})]})}function ix(){const s=P(),r=mt(s);return[{id:"intro",href:"#about",fallback:"소개"},{id:r.path,href:"#units",fallback:r.label},{id:"info",href:"#info",fallback:"이용 정보"},{id:"booking",href:"#booking",fallback:"예약 안내"},{id:"photos",href:"#gallery",fallback:"사진"},{id:"map",href:"#location",fallback:"오시는 길"},{id:"local",href:"#guide",fallback:"주변 정보"},{id:"faq",href:"#faq",fallback:"자주 묻는 질문"}].filter(o=>Ft(s,o.id)).map(o=>({label:$e(s,o.id,o.fallback),href:o.href}))}const Y1=24,G1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function X1(){const s=P(),r=ix(),[o,u]=R.useState(!1);R.useEffect(()=>{const d=()=>u(window.scrollY>Y1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-100 transition-opacity hover:opacity-100":"underline-offset-4 hover:underline";return n.jsx("header",{className:`fixed inset-x-0 top-0 z-40 w-full transition-colors duration-300 ${o?"border-line border-b backdrop-blur-md":""}`,style:o?{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"}:{color:"var(--tpl-bg, #ffffff)",textShadow:G1},children:n.jsxs("div",{className:"shell grid h-20 grid-cols-[1fr_auto] items-center gap-4 lg:grid-cols-[1fr_auto_1fr]",children:[n.jsx("a",{href:"#top",className:"min-w-0",children:n.jsx("span",{className:"serif block truncate",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.12em"},children:s.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center justify-center gap-10 lg:flex",children:r.map(d=>n.jsx("a",{href:d.href,className:`py-1 text-[length:var(--fs-sm)] font-light ${f}`,children:d.label},d.href))}),n.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:s.place.phone}),r.length>0&&n.jsxs("details",{className:"lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center justify-center px-2 text-[length:var(--fs-sm)] font-light marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:"메뉴"}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line absolute inset-x-0 top-full border-b border-t",style:{backgroundColor:"var(--tpl-surface, #fff)",color:"var(--tpl-text)",textShadow:"none"},children:n.jsx("ul",{className:"divide-line shell divide-y",children:r.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center text-[length:var(--fs-sm)] font-light",children:d.label})},d.href))})})]})]})]})})}function Q1(){var p,v,y,N;const s=P(),{place:r,site:o,narrative:u}=s,f=ix(),d=r.roadAddress??r.address,m=Ze(s)[0],x=Cn(s),g=u.about[0]??u.summary;return n.jsx("footer",{className:"border-line paper w-full border-t pb-28 md:pb-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)",paddingTop:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid gap-10 md:grid-cols-3 md:gap-12",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"serif",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.1em"},children:r.name}),g&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:g})]}),n.jsxs("dl",{className:"min-w-0 space-y-5",children:[d&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"주소"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:d})]}),r.phone&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"전화"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light tabular-nums",children:n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-4 hover:underline",children:r.phone})})]}),r.email&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"이메일"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-4 hover:underline",children:r.email})})]}),m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"예약"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:Hs(m)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"사이트 메뉴",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(E=>n.jsx("li",{children:n.jsx("a",{href:E.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:E.label})},E.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),x.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:x.map(E=>n.jsx("li",{children:n.jsx("a",{href:E.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:Hs(E)})},E.url))}),n.jsxs("div",{className:"text-muted mt-8 flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center text-[length:var(--fs-xs)] font-light",children:[n.jsxs("span",{children:["상호 ",r.name]}),((p=r.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표 ",r.legal.representative]}),((v=r.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호 ",r.legal.businessRegistrationNumber]}),((y=r.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고 ",r.legal.mailOrderNumber]}),((N=r.legal)==null?void 0:N.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호"," ",r.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]})]})})}const V1=`
+.oasi-page main > section:not([data-oasi]) {
+ background-color: transparent !important;
+ background-image: none !important;
+ border-color: transparent !important;
+ color: var(--tpl-text) !important;
+ padding-block: var(--oasi-gap) 0 !important;
+}
+.oasi-page main > section:not([data-oasi]) .shell {
+ max-width: none;
+ padding-inline: 0;
+}
+.oasi-page main > section#about > .shell > .grid {
+ display: block;
+}
+.oasi-page main > section#about > .shell > .grid > * + * {
+ margin-top: 2.5rem;
+}
+.oasi-page main > section#summary dl {
+ grid-template-columns: minmax(0, 1fr);
+}
+
+/*
+ * 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요")
+ *
+ * ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의
+ * ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서
+ * **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.**
+ * ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지
+ * 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다.
+ * ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면
+ * 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다.
+ * ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다")
+ * 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면
+ * 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다.
+ */
+.oasi-page section#event li,
+.oasi-page section#itinerary article {
+ background-image: none !important;
+ background-color: color-mix(in oklab, currentcolor 3%, transparent) !important;
+ border-width: 1px !important;
+ box-shadow: none !important;
+}
+
+.oasi-page .panel,
+.oasi-page .panel-sunken {
+ background-color: transparent;
+ border-width: 0;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.oasi-page main > section#faq > .shell > div:last-of-type {
+ row-gap: 0;
+ column-gap: 2.5rem;
+}
+.oasi-page main > section#faq details {
+ margin-block: 0;
+ border-top: 1px solid var(--site-line);
+}
+.oasi-page main > section#faq summary {
+ padding-inline: 0;
+}
+.oasi-page main > section#faq summary > span:first-child {
+ width: 1.125rem;
+}
+.oasi-page main > section#faq summary + div {
+ border-top-width: 0;
+ padding-inline: 1.875rem 0;
+ padding-top: 0.5rem;
+}
+
+.oasi-page main > section#info dl.panel > div {
+ padding-inline: 0;
+}
+.oasi-page main > section#info dl > div.panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+
+.oasi-page main > section#location .panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child {
+ padding-left: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child {
+ padding-right: 0;
+}
+
+.oasi-page main > section#weather .panel {
+ padding-inline: 0;
+}
+
+.oasi-page main > section#guide .panel > span:last-child {
+ padding-inline: 0;
+}
+@media (min-width: 40rem) {
+ .oasi-page main > section#festival .panel > span:last-child {
+ padding-inline: 0;
+ }
+}
+`,Z1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function K1({children:s}){var v,y,N,E;const r=P(),{place:o}=r,u=mt(r),f=Ze(r)[0],d=Cn(r),m=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:Ft(r,"intro")},{label:u.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Ft(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(j=>j.show),x=[...Ra(r).map(j=>`${j.label} ${j.value}`),...r.theme.sections.filter(j=>{var T;return j.enabled&&((T=j.name)==null?void 0:T.trim())}).map(j=>j.name.trim())].slice(0,3),g=r.narrative.tagline??r.narrative.heroSubline,p=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:Z1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:V1}}),n.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[n.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[n.jsxs("a",{href:"#top",className:"block",children:[n.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:o.name}),o.englishName&&n.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:o.englishName})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:n.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:m.map((j,T)=>n.jsx("li",{children:n.jsx("a",{href:j.href,"aria-current":T===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${T===0?"":"text-muted"}`,children:j.label})},j.label))})}),f&&n.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:xt(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(x.length>0||g)&&n.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[x.length>0&&n.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:x.map((j,T)=>n.jsxs("li",{className:"flex items-center gap-4",children:[T>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:j})]},j))}),g&&n.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:n.jsx(ha,{children:g})})]}),s]})]}),n.jsx("footer",{className:"border-line mt-auto w-full border-t",children:n.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[n.jsxs("p",{children:["[",o.name,"]"]}),d.length>0?n.jsx("ul",{className:"space-y-1",children:d.map(j=>n.jsx("li",{children:n.jsx("a",{href:j.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:Hs(j)})},j.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[p&&n.jsx("p",{children:p}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-[5px]",children:o.phone})}),o.email&&n.jsx("p",{children:o.email}),((v=o.legal)==null?void 0:v.representative)&&n.jsxs("p",{children:["대표 ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("p",{children:["사업자등록번호 ",o.legal.businessRegistrationNumber]}),((N=o.legal)==null?void 0:N.mailOrderNumber)&&n.jsxs("p",{children:["통신판매업신고 ",o.legal.mailOrderNumber]}),((E=o.legal)==null?void 0:E.licenseNumber)&&n.jsxs("p",{children:[o.legal.licenseLabel??"인허가번호"," ",o.legal.licenseNumber]}),n.jsxs("p",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:r.site.updatedAt,children:Qs(r.site.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function J1({children:s}){var N,E,j,T;const r=P(),{place:o,narrative:u,site:f}=r,d=mt(r),m=_n(r),x=Ra(r),g=Ze(r)[0],p=r.links.filter(C=>C.confirmed),v=o.roadAddress??o.address,y=[{label:"소개",href:"#about",show:Ft(r,"intro")},{label:d.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:Ft(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(C=>C.show);return n.jsxs("div",{className:"flex min-h-screen w-full flex-col lg:flex-row",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("aside",{className:"w-full shrink-0 px-6 pb-8 pt-8 lg:sticky lg:top-0 lg:h-screen lg:w-[260px] lg:overflow-y-auto lg:px-7 lg:py-10",style:{backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"flex h-full min-w-0 flex-col",children:[n.jsx("a",{href:"#top",className:"block min-w-0",children:n.jsx("h1",{className:"serif min-w-0 break-keep font-black",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.12em",lineHeight:1.25},children:o.name})}),(u.tagline??u.heroSubline)&&n.jsx("p",{className:"text-muted mt-3 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:n.jsx(ha,{children:u.tagline??u.heroSubline})}),(m||x.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:m})]}),x.map(C=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:C.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:C.value})]},C.label))]}),g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-5 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg)"},children:xt(g)}),o.phone&&n.jsxs("a",{href:`tel:${o.phone}`,className:"tap mt-2 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--tpl-surface-alt)",color:"var(--tpl-text)"},children:["전화 ",o.phone]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-10",children:n.jsx("ul",{className:"space-y-0.5",children:y.map(C=>n.jsx("li",{children:n.jsx("a",{href:C.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:C.label})},C.label))})}),p.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:p.map(C=>n.jsx("li",{children:n.jsx("a",{href:C.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-xs)] underline-offset-4 transition-colors hover:text-current hover:underline",children:pl(C)})},C.url))})}),n.jsxs("div",{className:"text-muted mt-14 space-y-1 pb-2 text-[length:var(--fs-xs)] lg:mt-auto lg:pt-14",children:[v&&n.jsx("p",{className:"break-keep",children:v}),o.phone&&n.jsx("p",{children:o.phone}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline-offset-2 hover:underline",children:o.email})}),n.jsxs("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 pt-3",children:[n.jsxs("span",{children:["상호: ",o.name]}),((N=o.legal)==null?void 0:N.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((E=o.legal)==null?void 0:E.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((j=o.legal)==null?void 0:j.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((T=o.legal)==null?void 0:T.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline pt-1",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:f.updatedAt,children:Qs(f.updatedAt)})]})]})]})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col pb-24 lg:pb-0",children:s}),n.jsx(kn,{})]})}const F1=`
+.pastel-page > main > section:not([data-pastel]) {
+ border-color: transparent;
+ background-image: none;
+ color: var(--pastel-ink) !important;
+}
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; }
+`,W1={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function I1({children:s}){const r=P(),o=mt(r),u=Cn(r),f=[{label:"소개",href:"#about",show:Ft(r,"intro")},{label:o.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Ft(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:r.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:W1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:F1}}),n.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:n.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:r.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>n.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-100 transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r.place.phone&&n.jsx("a",{href:`tel:${r.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(Ct,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":pl(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(lb,{className:"size-4"}):n.jsx(ru,{className:"size-4"})},d.url)),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(Mp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:n.jsx("ul",{children:f.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),s,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Wp,{})}),n.jsx(kn,{})]})}function P1({children:s}){var p,v,y,N;const r=P(),{place:o,site:u}=r,f=Yp(),d=ej(f),m=Ze(r)[0],x=r.links.filter(E=>E.confirmed),g=o.roadAddress??o.address;return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:n.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[n.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:o.name}),n.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[o.phone&&n.jsx("a",{href:`tel:${o.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:o.phone}),m&&n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:xt(m)})]})]})}),n.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&n.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Bs},children:n.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(E=>{const j=E.anchor===d;return n.jsxs("a",{href:`#${E.anchor}`,"aria-current":j?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:j?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:E.no}),n.jsx("span",{className:"truncate",style:{fontWeight:j?700:400},children:E.label})]},E.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:s})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Bs},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current opacity-100"}),n.jsxs("div",{className:"grid grid-cols-1 gap-8 pt-8 md:grid-cols-12",children:[n.jsxs("div",{className:"md:col-span-5",children:[n.jsx("p",{className:"serif",style:{fontSize:"clamp(1.5rem, 4vw, 2.5rem)",fontWeight:800,lineHeight:1.05},children:o.name}),o.englishName&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] uppercase tracking-[0.18em] opacity-100",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic opacity-100 md:col-span-4",children:[g&&n.jsx("p",{children:g}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-4",children:o.phone})}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline underline-offset-4",children:o.email})})]}),x.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"md:col-span-3",children:n.jsx("ul",{className:"space-y-1.5 text-[length:var(--fs-sm)]",children:x.map(E=>n.jsx("li",{children:n.jsx("a",{href:E.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 opacity-100 transition-opacity hover:opacity-100",children:pl(E)})},E.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] opacity-100 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",o.name]}),((p=o.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((v=o.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((y=o.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((N=o.legal)==null?void 0:N.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:u.updatedAt,children:Qs(u.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function ej(s){const r=s.map(f=>f.anchor).join(","),[o,u]=R.useState("");return R.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=r.split(",").map(m=>document.getElementById(m)).filter(m=>m!==null);if(f.length===0)return;const d=new IntersectionObserver(m=>{const x=m.find(g=>g.isIntersecting);x&&u(x.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(m=>d.observe(m)),()=>d.disconnect()},[r]),o}function tj(){const s=P(),r=s.place.category===ua.LODGING,o={intro:Ey,info:Ay,rooms:Go,menu:Go,programs:Go,booking:r?op:$y,space:Jy,inquiry:Fy,exhibition:Wy,photos:c1,festival:e1,local:l1,weather:r1,map:xp,faq:o1,...k1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(Uv,{}),s.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const m=d.name;return u.has(m)?null:(u.add(m),n.jsxs("div",{"data-editor-id":f.id,style:{display:"contents"},children:[n.jsx(d,{}),f.id==="intro"&&n.jsx(ap,{})]},f.id))}),!Ft(s,"map")&&n.jsx(xp,{}),r&&!xv(s,"booking")&&n.jsx(op,{}),!Ft(s,"intro")&&n.jsx(ap,{}),n.jsx(D1,{}),n.jsx(q1,{})]})}function nu({payload:s}){const r=$p(s.theme.templateId),o=r==="reservation"?$1:r==="oasi"?K1:r==="studio"?J1:r==="pastel"?I1:r==="editorial"?P1:lj;return n.jsx(Nb,{payload:s,children:n.jsx(o,{children:n.jsx(tj,{})})})}function lj({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(gv,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(Wp,{}),n.jsx(kn,{})]})}function aj(s){const{colors:r,look:o}=s.theme,u=Qb(r),f={"--tpl-primary":r.primary,"--tpl-secondary":r.secondary,"--tpl-bg":r.bg,"--tpl-card":r.card,"--tpl-text":r.text,"--tpl-accent":r.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=x=>x&&!/[<>{};]/.test(x)?x:void 0,m=[["--tpl-font-heading",d(o.fontHeading)],["--tpl-font-body",d(o.fontBody)],["--tpl-heading-tracking",d(o.headingTracking)],["--tpl-heading-weight",d(o.headingWeight)],["--tpl-section-space",d(o.sectionSpace)],["--tpl-border-width",d(o.borderWidth)],["--tpl-radius",d(o.radius)],["--tpl-shadow",d(o.shadow)],["--tpl-texture",d(o.texture)]];for(const[x,g]of m)g&&(f[x]=g)}return f}const nj=[[/Noto Sans KR/i,"family=Noto+Sans+KR:wght@300..900"],[/Noto Serif KR/i,"family=Noto+Serif+KR:wght@300..700"],[/Gugi/i,"family=Gugi"],[/Gowun Batang/i,"family=Gowun+Batang:wght@400;700"],[/Nanum Pen Script/i,"family=Nanum+Pen+Script"]];function sj(s){var u,f;const r=["Noto Sans KR","Noto Serif KR",((u=s.theme.look)==null?void 0:u.fontHeading)??"",((f=s.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${nj.filter(([d])=>d.test(r)).map(([,d])=>d).join("&")}&display=swap`}const mr=document.getElementById("root"),Ap=window.__SITE_PAYLOAD__;function Cu(s){if(window.parent===window)return;const r=()=>window.parent.postMessage({type:"o2o:preview-painted",ok:s},window.location.origin);requestAnimationFrame(()=>requestAnimationFrame(r))}function ij(){return R.useEffect(()=>Cu(!0),[]),null}async function rj(s){const r=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${s}/site/preview`,{headers:r?{Authorization:`Bearer ${r}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,m]of Object.entries(aj(u)))document.documentElement.style.setProperty(d,m);const f=document.createElement("link");f.rel="stylesheet",f.href=sj(u),document.head.appendChild(f),await new Promise(d=>{f.addEventListener("load",()=>d(),{once:!0}),f.addEventListener("error",()=>d(),{once:!0}),setTimeout(d,2500)});try{await document.fonts.ready}catch{}Wo.createRoot(mr).render(n.jsxs(R.StrictMode,{children:[n.jsx(nu,{payload:u}),n.jsx(ij,{})]})),Cu(!0)}const _p=new URLSearchParams(window.location.search).get("placeId");Ap?Wo.hydrateRoot(mr,n.jsx(R.StrictMode,{children:n.jsx(nu,{payload:Ap})})):_p?rj(_p).catch(s=>{mr.textContent=`미리보기를 불러오지 못했습니다 — ${s instanceof Error?s.message:String(s)}`,Cu(!1)}):j0(async()=>{const{MOONLIGHT_STAY_PAYLOAD:s}=await import("./moonlight-stay-DCV1kzNx.js");return{MOONLIGHT_STAY_PAYLOAD:s}},[]).then(({MOONLIGHT_STAY_PAYLOAD:s})=>{Wo.createRoot(mr).render(n.jsx(R.StrictMode,{children:n.jsx(nu,{payload:s})}))});export{qh as F,yt as L,ua as P,_b as S,cj as a};
diff --git a/solution/site/scripts/mockup/vendor/retired/index-3jZuRBrq.js b/solution/site/scripts/mockup/vendor/retired/index-3jZuRBrq.js
new file mode 100644
index 0000000..6afa786
--- /dev/null
+++ b/solution/site/scripts/mockup/vendor/retired/index-3jZuRBrq.js
@@ -0,0 +1,336 @@
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const mv="modulepreload",hv=function(s){return"/"+s},wh={},pv=function(r,o,u){let f=Promise.resolve();if(o&&o.length>0){let m=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),x=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));f=m(o.map(p=>{if(p=hv(p),p in wh)return;wh[p]=!0;const y=p.endsWith(".css"),b=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const j=document.createElement("link");if(j.rel=y?"stylesheet":mv,y||(j.as="script"),j.crossOrigin="",j.href=p,x&&j.setAttribute("nonce",x),document.head.appendChild(j),y)return new Promise((T,S)=>{j.addEventListener("load",T),j.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=m,window.dispatchEvent(g),!g.defaultPrevented)throw m}return f.then(m=>{for(const g of m||[])g.status==="rejected"&&d(g.reason);return r().catch(d)})};var Do={exports:{}},_s={};/**
+ * @license React
+ * react-jsx-runtime.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Eh;function gv(){if(Eh)return _s;Eh=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var g in f)g!=="key"&&(d[g]=f[g])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return _s.Fragment=r,_s.jsx=o,_s.jsxs=o,_s}var zh;function xv(){return zh||(zh=1,Do.exports=gv()),Do.exports}var n=xv(),Ro={exports:{}},ue={};/**
+ * @license React
+ * react.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Th;function vv(){if(Th)return ue;Th=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),j=Symbol.iterator;function T(E){return E===null||typeof E!="object"?null:(E=j&&E[j]||E["@@iterator"],typeof E=="function"?E:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function R(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}R.prototype.isReactComponent={},R.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,B,"setState")},R.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function V(){}V.prototype=R.prototype;function Y(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}var X=Y.prototype=new V;X.constructor=Y,w(X,R.prototype),X.isPureReactComponent=!0;var G=Array.isArray;function J(){}var $={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function le(E,B,K){var W=K.ref;return{$$typeof:s,type:E,key:B,ref:W!==void 0?W:null,props:K}}function Z(E,B){return le(E.type,B,E.props)}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===s}function ye(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return B[K]})}var Ge=/\/+/g;function Qe(E,B){return typeof E=="object"&&E!==null&&E.key!=null?ye(""+E.key):B.toString(36)}function re(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function O(E,B,K,W,ce){var fe=typeof E;(fe==="undefined"||fe==="boolean")&&(E=null);var oe=!1;if(E===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(E.$$typeof){case s:case r:oe=!0;break;case y:return oe=E._init,O(oe(E._payload),B,K,W,ce)}}if(oe)return ce=ce(E),oe=W===""?"."+Qe(E,0):W,G(ce)?(K="",oe!=null&&(K=oe.replace(Ge,"$&/")+"/"),O(ce,B,K,"",function(at){return at})):ce!=null&&(ne(ce)&&(ce=Z(ce,K+(ce.key==null||E&&E.key===ce.key?"":(""+ce.key).replace(Ge,"$&/")+"/")+oe)),B.push(ce)),1;oe=0;var we=W===""?".":W+":";if(G(E))for(var Ee=0;Ee>>1,je=O[he];if(0>>1;hef(K,ae))Wf(ce,K)?(O[he]=ce,O[W]=ae,he=W):(O[he]=K,O[B]=ae,he=B);else if(Wf(ce,ae))O[he]=ce,O[W]=ae,he=W;else break e}}return Q}function f(O,Q){var ae=O.sortIndex-Q.sortIndex;return ae!==0?ae:O.id-Q.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;s.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();s.unstable_now=function(){return m.now()-g}}var x=[],p=[],y=1,b=null,j=3,T=!1,S=!1,w=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function X(O){for(var Q=o(p);Q!==null;){if(Q.callback===null)u(p);else if(Q.startTime<=O)u(p),Q.sortIndex=Q.expirationTime,r(x,Q);else break;Q=o(p)}}function G(O){if(w=!1,X(O),!S)if(o(x)!==null)S=!0,J||(J=!0,ye());else{var Q=o(p);Q!==null&&re(G,Q.startTime-O)}}var J=!1,$=-1,F=5,le=-1;function Z(){return k?!0:!(s.unstable_now()-leO&&Z());){var he=b.callback;if(typeof he=="function"){b.callback=null,j=b.priorityLevel;var je=he(b.expirationTime<=O);if(O=s.unstable_now(),typeof je=="function"){b.callback=je,X(O),Q=!0;break t}b===o(x)&&u(x),X(O)}else u(x);b=o(x)}if(b!==null)Q=!0;else{var E=o(p);E!==null&&re(G,E.startTime-O),Q=!1}}break e}finally{b=null,j=ae,T=!1}Q=void 0}}finally{Q?ye():J=!1}}}var ye;if(typeof Y=="function")ye=function(){Y(ne)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qe=Ge.port2;Ge.port1.onmessage=ne,ye=function(){Qe.postMessage(null)}}else ye=function(){R(ne,0)};function re(O,Q){$=R(function(){O(s.unstable_now())},Q)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(O){O.callback=null},s.unstable_forceFrameRate=function(O){0>O||125he?(O.sortIndex=ae,r(p,O),o(x)===null&&O===o(p)&&(w?(V($),$=-1):w=!0,re(G,ae-he))):(O.sortIndex=je,r(x,O),S||T||(S=!0,J||(J=!0,ye()))),O},s.unstable_shouldYield=Z,s.unstable_wrapCallback=function(O){var Q=j;return function(){var ae=j;j=Q;try{return O.apply(this,arguments)}finally{j=ae}}}})(Ho)),Ho}var Ch;function yv(){return Ch||(Ch=1,Lo.exports=bv()),Lo.exports}var Bo={exports:{}},ht={};/**
+ * @license React
+ * react-dom.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var kh;function jv(){if(kh)return ht;kh=1;var s=au();function r(x){var p="https://react.dev/errors/"+x;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Bo.exports=jv(),Bo.exports}/**
+ * @license React
+ * react-dom-client.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Oh;function Sv(){if(Oh)return Cs;Oh=1;var s=yv(),r=au(),o=Nv();function u(e){var t="https://react.dev/errors/"+e;if(1je||(e.current=he[je],he[je]=null,je--)}function K(e,t){je++,he[je]=e.current,e.current=t}var W=E(null),ce=E(null),fe=E(null),oe=E(null);function we(e,t){switch(K(fe,t),K(ce,e),K(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Zm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Zm(t),e=Km(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}B(W),K(W,e)}function Ee(){B(W),B(ce),B(fe)}function at(e){e.memoizedState!==null&&K(oe,e);var t=W.current,l=Km(t,e.type);t!==l&&(K(ce,e),K(W,l))}function ke(e){ce.current===e&&(B(W),B(ce)),oe.current===e&&(B(oe),Es._currentValue=ae)}var ee,Ae;function Me(e){if(ee===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ee=t&&t[1]||"",Ae=-1)":-1i||N[a]!==C[i]){var L=`
+`+N[a].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=a&&0<=i);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Me(l):""}function Wt(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me("Lazy");case 13:return e.child!==t&&t!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return jt(e.type,!1);case 11:return jt(e.type.render,!1);case 1:return jt(e.type,!0);case 31:return Me("Activity");default:return""}}function nl(e){try{var t="",l=null;do t+=Wt(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
+Error generating stack: `+a.message+`
+`+a.stack}}var Ht=Object.prototype.hasOwnProperty,Ft=s.unstable_scheduleCallback,xl=s.unstable_cancelCallback,On=s.unstable_shouldYield,Dn=s.unstable_requestPaint,mt=s.unstable_now,Vs=s.unstable_getCurrentPriorityLevel,Zs=s.unstable_ImmediatePriority,Rn=s.unstable_UserBlockingPriority,Ua=s.unstable_NormalPriority,Un=s.unstable_LowPriority,vl=s.unstable_IdlePriority,Ln=s.log,Hn=s.unstable_setDisableYieldValue,sl=null,xt=null;function il(e){if(typeof Ln=="function"&&Hn(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(sl,e)}catch{}}var vt=Math.clz32?Math.clz32:Ks,br=Math.log,yr=Math.LN2;function Ks(e){return e>>>=0,e===0?32:31-(br(e)/yr|0)|0}var La=256,pa=262144,ga=4194304;function rl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ha(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var v=a&134217727;return v!==0?(a=v&~c,a!==0?i=rl(a):(h&=v,h!==0?i=rl(h):l||(l=v&~e,l!==0&&(i=rl(l))))):(v=a&~c,v!==0?i=rl(v):h!==0?i=rl(h):l||(l=a&~e,l!==0&&(i=rl(l)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,l=t&-t,c>=l||c===32&&(l&4194048)!==0)?t:i}function Hl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Js(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ws(){var e=ga;return ga<<=1,(ga&62914560)===0&&(ga=4194304),e}function jr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Bn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tg(e,t,l,a,i,c){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var v=e.entanglements,N=e.expirationTimes,C=e.hiddenUpdates;for(l=h&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var rg=/[\n"\\]/g;function qt(e){return e.replace(rg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Tr(e,t,l,a,i,c,h,v){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Ar(e,h,Bt(t)):l!=null?Ar(e,h,Bt(l)):a!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+Bt(v):e.removeAttribute("name")}function qu(e,t,l,a,i,c,h,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){zr(e);return}l=l!=null?""+Bt(l):"",t=t!=null?""+Bt(t):l,v||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=v?e.checked:!!a,e.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),zr(e)}function Ar(e,t,l){t==="number"&&Ps(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Qa(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Or=!1;if(jl)try{var $n={};Object.defineProperty($n,"passive",{get:function(){Or=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{Or=!1}var ql=null,Dr=null,ti=null;function Zu(){if(ti)return ti;var e,t=Dr,l=t.length,a,i="value"in ql?ql.value:ql.textContent,c=i.length;for(e=0;e=Vn),Pu=" ",ef=!1;function tf(e,t){switch(e){case"keyup":return Rg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function Lg(e,t){switch(e){case"compositionend":return lf(t);case"keypress":return t.which!==32?null:(ef=!0,Pu);case"textInput":return e=t.data,e===Pu&&ef?null:e;default:return null}}function Hg(e,t){if(Ka)return e==="compositionend"||!Br&&tf(e,t)?(e=Zu(),ti=Dr=ql=null,Ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=ff(l)}}function mf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ps(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ps(e.document)}return t}function Gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Vg=jl&&"documentMode"in document&&11>=document.documentMode,Ja=null,$r=null,Wn=null,Qr=!1;function pf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Qr||Ja==null||Ja!==Ps(a)||(a=Ja,"selectionStart"in a&&Gr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Wn&&Jn(Wn,a)||(Wn=a,a=Ki($r,"onSelect"),0>=h,i-=h,cl=1<<32-vt(t)+i|l<me?(ve=P,P=null):ve=P.sibling;var Se=M(A,P,_[me],H);if(Se===null){P===null&&(P=ve);break}e&&P&&Se.alternate===null&&t(A,P),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se,P=ve}if(me===_.length)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;me<_.length;me++)P=q(A,_[me],H),P!==null&&(z=c(P,z,me),Ne===null?se=P:Ne.sibling=P,Ne=P);return be&&Sl(A,me),se}for(P=a(P);me<_.length;me++)ve=D(P,A,me,_[me],H),ve!==null&&(e&&ve.alternate!==null&&P.delete(ve.key===null?me:ve.key),z=c(ve,z,me),Ne===null?se=ve:Ne.sibling=ve,Ne=ve);return e&&P.forEach(function(ca){return t(A,ca)}),be&&Sl(A,me),se}function ie(A,z,_,H){if(_==null)throw Error(u(151));for(var se=null,Ne=null,P=z,me=z=0,ve=null,Se=_.next();P!==null&&!Se.done;me++,Se=_.next()){P.index>me?(ve=P,P=null):ve=P.sibling;var ca=M(A,P,Se.value,H);if(ca===null){P===null&&(P=ve);break}e&&P&&ca.alternate===null&&t(A,P),z=c(ca,z,me),Ne===null?se=ca:Ne.sibling=ca,Ne=ca,P=ve}if(Se.done)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;!Se.done;me++,Se=_.next())Se=q(A,Se.value,H),Se!==null&&(z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return be&&Sl(A,me),se}for(P=a(P);!Se.done;me++,Se=_.next())Se=D(P,A,me,Se.value,H),Se!==null&&(e&&Se.alternate!==null&&P.delete(Se.key===null?me:Se.key),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return e&&P.forEach(function(dv){return t(A,dv)}),be&&Sl(A,me),se}function Re(A,z,_,H){if(typeof _=="object"&&_!==null&&_.type===w&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case T:e:{for(var se=_.key;z!==null;){if(z.key===se){if(se=_.type,se===w){if(z.tag===7){l(A,z.sibling),H=i(z,_.props.children),H.return=A,A=H;break e}}else if(z.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===F&&Ta(se)===z.type){l(A,z.sibling),H=i(z,_.props),ls(H,_),H.return=A,A=H;break e}l(A,z);break}else t(A,z);z=z.sibling}_.type===w?(H=Na(_.props.children,A.mode,H,_.key),H.return=A,A=H):(H=fi(_.type,_.key,_.props,null,A.mode,H),ls(H,_),H.return=A,A=H)}return h(A);case S:e:{for(se=_.key;z!==null;){if(z.key===se)if(z.tag===4&&z.stateNode.containerInfo===_.containerInfo&&z.stateNode.implementation===_.implementation){l(A,z.sibling),H=i(z,_.children||[]),H.return=A,A=H;break e}else{l(A,z);break}else t(A,z);z=z.sibling}H=Fr(_,A.mode,H),H.return=A,A=H}return h(A);case F:return _=Ta(_),Re(A,z,_,H)}if(re(_))return I(A,z,_,H);if(ye(_)){if(se=ye(_),typeof se!="function")throw Error(u(150));return _=se.call(_),ie(A,z,_,H)}if(typeof _.then=="function")return Re(A,z,vi(_),H);if(_.$$typeof===Y)return Re(A,z,hi(A,_),H);bi(A,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,z!==null&&z.tag===6?(l(A,z.sibling),H=i(z,_),H.return=A,A=H):(l(A,z),H=Wr(_,A.mode,H),H.return=A,A=H),h(A)):l(A,z)}return function(A,z,_,H){try{ts=0;var se=Re(A,z,_,H);return rn=null,se}catch(P){if(P===sn||P===gi)throw P;var Ne=Mt(29,P,null,A.mode);return Ne.lanes=H,Ne.return=A,Ne}finally{}}}var _a=Hf(!0),Bf=Hf(!1),Xl=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Vl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ze&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=ui(e),Nf(e,null,l),t}return oi(e,a,t,l),ui(e)}function as(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,_u(e,l)}}function fc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?i=c=h:c=c.next=h,l=l.next}while(l!==null);c===null?i=c=t:c=c.next=t}else i=c=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var dc=!1;function ns(){if(dc){var e=nn;if(e!==null)throw e}}function ss(e,t,l,a){dc=!1;var i=e.updateQueue;Xl=!1;var c=i.firstBaseUpdate,h=i.lastBaseUpdate,v=i.shared.pending;if(v!==null){i.shared.pending=null;var N=v,C=N.next;N.next=null,h===null?c=C:h.next=C,h=N;var L=e.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==h&&(v===null?L.firstBaseUpdate=C:v.next=C,L.lastBaseUpdate=N))}if(c!==null){var q=i.baseState;h=0,L=C=N=null,v=c;do{var M=v.lane&-536870913,D=M!==v.lane;if(D?(xe&M)===M:(a&M)===M){M!==0&&M===an&&(dc=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var I=e,ie=v;M=t;var Re=l;switch(ie.tag){case 1:if(I=ie.payload,typeof I=="function"){q=I.call(Re,q,M);break e}q=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ie.payload,M=typeof I=="function"?I.call(Re,q,M):I,M==null)break e;q=b({},q,M);break e;case 2:Xl=!0}}M=v.callback,M!==null&&(e.flags|=64,D&&(e.flags|=8192),D=i.callbacks,D===null?i.callbacks=[M]:D.push(M))}else D={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(C=L=D,N=q):L=L.next=D,h|=M;if(v=v.next,v===null){if(v=i.shared.pending,v===null)break;D=v,v=D.next,D.next=null,i.lastBaseUpdate=D,i.shared.pending=null}}while(!0);L===null&&(N=q),i.baseState=N,i.firstBaseUpdate=C,i.lastBaseUpdate=L,c===null&&(i.shared.lanes=0),Il|=h,e.lanes=h,e.memoizedState=q}}function qf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Yf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ec?c:8;var h=O.T,v={};O.T=v,kc(e,!1,t,l);try{var N=i(),C=O.S;if(C!==null&&C(v,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var L=tx(N,a);cs(e,t,L,Lt(e))}else cs(e,t,a,Lt(e))}catch(q){cs(e,t,{then:function(){},status:"rejected",reason:q},Lt())}finally{Q.p=c,h!==null&&v.types!==null&&(h.types=v.types),O.T=h}}function rx(){}function _c(e,t,l,a){if(e.tag!==5)throw Error(u(476));var i=bd(e).queue;vd(e,i,t,ae,l===null?rx:function(){return yd(e),l(a)})}function bd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function yd(e){var t=bd(e);t.next===null&&(t=e.alternate.memoizedState),cs(e,t.next.queue,{},Lt())}function Cc(){return ct(Es)}function jd(){return Je().memoizedState}function Nd(){return Je().memoizedState}function cx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Lt();e=Vl(l);var a=Zl(t,e,l);a!==null&&(At(a,t,l),as(a,t,l)),t={cache:sc()},e.payload=t;return}t=t.return}}function ox(e,t,l){var a=Lt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_i(e)?wd(t,l):(l=Kr(e,t,l,a),l!==null&&(At(l,e,a),Ed(l,t,a)))}function Sd(e,t,l){var a=Lt();cs(e,t,l,a)}function cs(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(_i(e))wd(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,v=c(h,l);if(i.hasEagerState=!0,i.eagerState=v,kt(v,h))return oi(e,t,i,0),Ue===null&&ci(),!1}catch{}finally{}if(l=Kr(e,t,i,a),l!==null)return At(l,e,a),Ed(l,t,a),!0}return!1}function kc(e,t,l,a){if(a={lane:2,revertLane:oo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_i(e)){if(t)throw Error(u(479))}else t=Kr(e,l,a,2),t!==null&&At(t,e,2)}function _i(e){var t=e.alternate;return e===de||t!==null&&t===de}function wd(e,t){on=Ni=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Ed(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,_u(e,l)}}var os={readContext:ct,use:Ei,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};os.useEffectEvent=Xe;var zd={readContext:ct,use:Ei,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:od,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Ti(4194308,4,md.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){Ti(4,2,e,t)},useMemo:function(e,t){var l=bt();t=t===void 0?null:t;var a=e();if(Ca){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=bt();if(l!==void 0){var i=l(t);if(Ca){il(!0);try{l(t)}finally{il(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=ox.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:function(e){e=wc(e);var t=e.queue,l=Sd.bind(null,de,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Tc,useDeferredValue:function(e,t){var l=bt();return Ac(l,e,t)},useTransition:function(){var e=wc(!1);return e=vd.bind(null,de,e.queue,!0,!1),bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=de,i=bt();if(be){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ue===null)throw Error(u(349));(xe&127)!==0||Zf(a,t,l)}i.memoizedState=l;var c={value:l,getSnapshot:t};return i.queue=c,od(Jf.bind(null,a,c,e),[e]),a.flags|=2048,fn(9,{destroy:void 0},Kf.bind(null,a,c,l,t),null),l},useId:function(){var e=bt(),t=Ue.identifierPrefix;if(be){var l=ol,a=cl;l=(a&~(1<<32-vt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Si++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?h.createElement("select",{is:a.is}):h.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?h.createElement(i,{is:a.is}):h.createElement(i)}}c[it]=t,c[Nt]=a;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)c.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=c;e:switch(ut(c,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&_l(t)}}return Be(t),Xc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&_l(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,tn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=rt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[it]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Xm(e.nodeValue,l)),e||$l(t,!0)}else e=Ji(e).createTextNode(a),e[it]=t,t.stateNode=e}return Be(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=tn(t),l!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[it]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Dt(t),t):(Dt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Be(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=tn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(u(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(u(317));i[it]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),i=!1}else i=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dt(t),t):(Dt(t),null)}return Dt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Di(t,t.updateQueue),Be(t),null);case 4:return Ee(),e===null&&ho(t.stateNode.containerInfo),Be(t),null;case 10:return El(t.type),Be(t),null;case 19:if(B(Ke),a=t.memoizedState,a===null)return Be(t),null;if(i=(t.flags&128)!==0,c=a.rendering,c===null)if(i)fs(a,!1);else{if(Ve!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ji(e),c!==null){for(t.flags|=128,fs(a,!1),e=c.updateQueue,t.updateQueue=e,Di(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Sf(l,e),l=l.sibling;return K(Ke,Ke.current&1|2),be&&Sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&mt()>Bi&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304)}else{if(!i)if(e=ji(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Di(t,e),fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!be)return Be(t),null}else 2*mt()-a.renderingStartTime>Bi&&l!==536870912&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=mt(),e.sibling=null,l=Ke.current,K(Ke,i?l&1|2:l&1),be&&Sl(t,a.treeForkCount),e):(Be(t),null);case 22:case 23:return Dt(t),hc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),l=t.updateQueue,l!==null&&Di(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&B(za),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),El(Fe),Be(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function hx(e,t){switch(Pr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return El(Fe),Ee(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ke(t),null;case 31:if(t.memoizedState!==null){if(Dt(t),t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Ke),null;case 4:return Ee(),null;case 10:return El(t.type),null;case 22:case 23:return Dt(t),hc(),e!==null&&B(za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return El(Fe),null;case 25:return null;default:return null}}function Wd(e,t){switch(Pr(t),t.tag){case 3:El(Fe),Ee();break;case 26:case 27:case 5:ke(t);break;case 4:Ee();break;case 31:t.memoizedState!==null&&Dt(t);break;case 13:Dt(t);break;case 19:B(Ke);break;case 10:El(t.type);break;case 22:case 23:Dt(t),hc(),e!==null&&B(za);break;case 24:El(Fe)}}function ds(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var c=l.create,h=l.inst;a=c(),h.destroy=a}l=l.next}while(l!==i)}}catch(v){Ce(t,t.return,v)}}function Wl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var c=i.next;a=c;do{if((a.tag&e)===e){var h=a.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,i=t;var N=l,C=v;try{C()}catch(L){Ce(i,N,L)}}}a=a.next}while(a!==c)}}catch(L){Ce(t,t.return,L)}}function Fd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Yf(t,l)}catch(a){Ce(e,e.return,a)}}}function Id(e,t,l){l.props=ka(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ce(e,t,a)}}function ms(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(i){Ce(e,t,i)}}function ul(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Ce(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Ce(e,t,i)}else l.current=null}function Pd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(i){Ce(e,e.return,i)}}function Vc(e,t,l){try{var a=e.stateNode;Ux(a,e.type,l,t),a[Nt]=t}catch(i){Ce(e,e.return,i)}}function em(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&aa(e.type)||e.tag===4}function Zc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&aa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Kc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=yl));else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Kc(e,t,l),e=e.sibling;e!==null;)Kc(e,t,l),e=e.sibling}function Ri(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ri(e,t,l),e=e.sibling;e!==null;)Ri(e,t,l),e=e.sibling}function tm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ut(t,a,l),t[it]=e,t[Nt]=l}catch(c){Ce(e,e.return,c)}}var Cl=!1,et=!1,Jc=!1,lm=typeof WeakSet=="function"?WeakSet:Set,st=null;function px(e,t){if(e=e.containerInfo,xo=lr,e=hf(e),Gr(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var i=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break e}var h=0,v=-1,N=-1,C=0,L=0,q=e,M=null;t:for(;;){for(var D;q!==l||i!==0&&q.nodeType!==3||(v=h+i),q!==c||a!==0&&q.nodeType!==3||(N=h+a),q.nodeType===3&&(h+=q.nodeValue.length),(D=q.firstChild)!==null;)M=q,q=D;for(;;){if(q===e)break t;if(M===l&&++C===i&&(v=h),M===c&&++L===a&&(N=h),(D=q.nextSibling)!==null)break;q=M,M=q.parentNode}q=D}l=v===-1||N===-1?null:{start:v,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(vo={focusedElem:e,selectionRange:l},lr=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),ut(c,a,l),c[it]=e,nt(c),a=c;break e;case"link":var h=ch("link","href",i).get(a+(l.href||""));if(h){for(var v=0;vRe&&(h=Re,Re=ie,ie=h);var A=df(v,ie),z=df(v,Re);if(A&&z&&(D.rangeCount!==1||D.anchorNode!==A.node||D.anchorOffset!==A.offset||D.focusNode!==z.node||D.focusOffset!==z.offset)){var _=q.createRange();_.setStart(A.node,A.offset),D.removeAllRanges(),ie>Re?(D.addRange(_),D.extend(z.node,z.offset)):(_.setEnd(z.node,z.offset),D.addRange(_))}}}}for(q=[],D=v;D=D.parentNode;)D.nodeType===1&&q.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;vl?32:l,O.T=null,l=lo,lo=null;var c=ea,h=Rl;if(lt=0,gn=ea=null,Rl=0,(ze&6)!==0)throw Error(u(331));var v=ze;if(ze|=4,mm(c.current),um(c,c.current,h,l),ze=v,bs(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(sl,c)}catch{}return!0}finally{Q.p=i,O.T=a,km(e,t)}}function Om(e,t,l){t=Gt(l,t),t=Rc(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(Bn(e,2),fl(e))}function Ce(e,t,l){if(e.tag===3)Om(e,e,l);else for(;t!==null;){if(t.tag===3){Om(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Pl===null||!Pl.has(a))){e=Gt(l,e),l=Dd(2),a=Zl(t,l,2),a!==null&&(Rd(l,a,t,e),Bn(a,2),fl(a));break}}t=t.return}}function io(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new vx;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Ic=!0,i.add(l),e=Sx.bind(null,e,t,l),t.then(e,e))}function Sx(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ue===e&&(xe&l)===l&&(Ve===4||Ve===3&&(xe&62914560)===xe&&300>mt()-Hi?(ze&2)===0&&xn(e,0):Pc|=l,pn===xe&&(pn=0)),fl(e)}function Dm(e,t){t===0&&(t=Ws()),e=ja(e,t),e!==null&&(Bn(e,t),fl(e))}function wx(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Dm(e,l)}function Ex(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),Dm(e,l)}function zx(e,t){return Ft(e,t)}var Xi=null,bn=null,ro=!1,Vi=!1,co=!1,la=0;function fl(e){e!==bn&&e.next===null&&(bn===null?Xi=bn=e:bn=bn.next=e),Vi=!0,ro||(ro=!0,Ax())}function bs(e,t){if(!co&&Vi){co=!0;do for(var l=!1,a=Xi;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var c=0;else{var h=a.suspendedLanes,v=a.pingedLanes;c=(1<<31-vt(42|e)+1)-1,c&=i&~(h&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,Hm(a,c))}else c=xe,c=Ha(a,a===Ue?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Hl(a,c)||(l=!0,Hm(a,c));a=a.next}while(l);co=!1}}function Tx(){Rm()}function Rm(){Vi=ro=!1;var e=0;la!==0&&Hx()&&(e=la);for(var t=mt(),l=null,a=Xi;a!==null;){var i=a.next,c=Um(a,t);c===0?(a.next=null,l===null?Xi=i:l.next=i,i===null&&(bn=l)):(l=a,(e!==0||(c&3)!==0)&&(Vi=!0)),a=i}lt!==0&<!==5||bs(e),la!==0&&(la=0)}function Um(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0v)break;var L=N.transferSize,q=N.initiatorType;L&&Vm(q)&&(N=N.responseEnd,h+=L*(N"u"?null:document;function nh(e,t,l){var a=yn;if(a&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),ah.has(i)||(ah.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Zx(e){Ul.D(e),nh("dns-prefetch",e,null)}function Kx(e,t){Ul.C(e,t),nh("preconnect",e,t)}function Jx(e,t,l){Ul.L(e,t,l);var a=yn;if(a&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+qt(l.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=jn(e);break;case"script":c=Nn(e)}Kt.has(c)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Kt.set(c,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(Ss(c))||t==="script"&&a.querySelector(ws(c))||(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Wx(e,t){Ul.m(e,t);var l=yn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(a)+'"][href="'+qt(e)+'"]',c=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Nn(e)}if(!Kt.has(c)&&(e=b({rel:"modulepreload",href:e},t),Kt.set(c,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ws(c)))return}a=l.createElement("link"),ut(a,"link",e),nt(a),l.head.appendChild(a)}}}function Fx(e,t,l){Ul.S(e,t,l);var a=yn;if(a&&e){var i=Ga(a).hoistableStyles,c=jn(e);t=t||"default";var h=i.get(c);if(!h){var v={loading:0,preload:null};if(h=a.querySelector(Ss(c)))v.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Kt.get(c))&&Eo(e,l);var N=h=a.createElement("link");nt(N),ut(N,"link",e),N._p=new Promise(function(C,L){N.onload=C,N.onerror=L}),N.addEventListener("load",function(){v.loading|=1}),N.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Fi(h,t,a)}h={type:"stylesheet",instance:h,count:1,state:v},i.set(c,h)}}}function Ix(e,t){Ul.X(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function Px(e,t){Ul.M(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0,type:"module"},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function sh(e,t,l,a){var i=(i=fe.current)?Wi(i):null;if(!i)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=jn(l.href),l=Ga(i).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=jn(l.href);var c=Ga(i).hoistableStyles,h=c.get(e);if(h||(i=i.ownerDocument||i,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,h),(c=i.querySelector(Ss(e)))&&!c._p&&(h.instance=c,h.state.loading=5),Kt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Kt.set(e,l),c||ev(i,e,l,h.state))),t&&a===null)throw Error(u(528,""));return h}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Nn(l),l=Ga(i).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function jn(e){return'href="'+qt(e)+'"'}function Ss(e){return'link[rel="stylesheet"]['+e+"]"}function ih(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function ev(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ut(t,"link",l),nt(t),e.head.appendChild(t))}function Nn(e){return'[src="'+qt(e)+'"]'}function ws(e){return"script[async]"+e}function rh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qt(l.href)+'"]');if(a)return t.instance=a,nt(a),a;var i=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),nt(a),ut(a,"style",i),Fi(a,l.precedence,e),t.instance=a;case"stylesheet":i=jn(l.href);var c=e.querySelector(Ss(i));if(c)return t.state.loading|=4,t.instance=c,nt(c),c;a=ih(l),(i=Kt.get(i))&&Eo(a,i),c=(e.ownerDocument||e).createElement("link"),nt(c);var h=c;return h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),t.state.loading|=4,Fi(c,l.precedence,e),t.instance=c;case"script":return c=Nn(l.src),(i=e.querySelector(ws(c)))?(t.instance=i,nt(i),i):(a=l,(i=Kt.get(c))&&(a=b({},l),zo(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),nt(i),ut(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Fi(a,l.precedence,e));return t.instance}function Fi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,c=i,h=0;h title"):null)}function tv(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function uh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lv(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var i=jn(a.href),c=t.querySelector(Ss(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Pi.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=c,nt(c);return}c=t.ownerDocument||t,a=ih(a),(i=Kt.get(i))&&Eo(a,i),c=c.createElement("link"),nt(c);var h=c;h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),l.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Pi.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var To=0;function av(e,t){return e.stylesheets&&e.count===0&&tr(e,e.stylesheets),0To?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function Pi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var er=null;function tr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,er=new Map,t.forEach(nv,e),er=null,Pi.call(e))}function nv(e,t){if(!(t.state.loading&4)){var l=er.get(e);if(l)var a=l.get(null);else{l=new Map,er.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Uo.exports=Sv(),Uo.exports}var Jo=wv();/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Ev=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zv=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,o,u)=>u?u.toUpperCase():o.toLowerCase()),Rh=s=>{const r=zv(s);return r.charAt(0).toUpperCase()+r.slice(1)},wp=(...s)=>s.filter((r,o,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===o).join(" ").trim(),Tv=s=>{for(const r in s)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */var Av={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const _v=U.forwardRef(({color:s="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:m,...g},x)=>U.createElement("svg",{ref:x,...Av,width:r,height:r,stroke:s,strokeWidth:u?Number(o)*24/Number(r):o,className:wp("lucide",f),...!d&&!Tv(g)&&{"aria-hidden":"true"},...g},[...m.map(([p,y])=>U.createElement(p,y)),...Array.isArray(d)?d:[d]]));/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Le=(s,r)=>{const o=U.forwardRef(({className:u,...f},d)=>U.createElement(_v,{ref:d,iconNode:r,className:wp(`lucide-${Ev(Rh(s))}`,`lucide-${s}`,u),...f}));return o.displayName=Rh(s),o};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Cv=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],zn=Le("arrow-up-right",Cv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const kv=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],Mv=Le("bed-double",kv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Ov=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],Dv=Le("calendar-check",Ov);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Rv=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],Uv=Le("calendar-days",Rv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Lv=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Hv=Le("car",Lv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Bv=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],nu=Le("check",Bv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const qv=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hr=Le("chevron-down",qv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Yv=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],da=Le("chevron-left",Yv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Gv=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ma=Le("chevron-right",Gv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const $v=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Qv=Le("clock",$v);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Xv=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Vv=Le("copy",Xv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Zv=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Kv=Le("external-link",Zv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Jv=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],Wv=Le("instagram",Jv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Fv=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ep=Le("mail",Fv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Iv=[["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"}]],$s=Le("map-pin",Iv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Pv=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],zp=Le("menu",Pv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const eb=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],su=Le("message-circle",eb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const tb=[["path",{d:"M5 12h14",key:"1ays0h"}]],lb=Le("minus",tb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ab=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],qo=Le("navigation",ab);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const nb=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ct=Le("phone",nb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const sb=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],ib=Le("play",sb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const rb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],cb=Le("plus",rb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ob=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],ub=Le("rotate-ccw",ob);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const fb=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],db=Le("utensils",fb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const mb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],iu=Le("x",mb);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const hb=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],pb=Le("youtube",hb),Tp=U.createContext(null);function gb({payload:s,children:r}){return n.jsx(Tp.Provider,{value:s,children:r})}function te(){const s=U.useContext(Tp);if(!s)throw new Error("SiteProvider 밖에서 useSite() 를 불렀습니다. payload 없이는 렌더할 수 없습니다.");return s}function xb(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[n.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"8.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M8.5 9.4v5.2M5.9 12h5.2"})]}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"15.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M15.5 9.4v5.2M12.9 12h5.2"})]}),n.jsx("path",{d:"M6 19l1.5-2.4h9L18 19"})]})}function vb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M8 5v14l11-7z"})})}function bb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function yb(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("path",{d:"M4 7h11M4 12h11M4 17h7"}),n.jsx("path",{d:"M19 17.5V9l3 1.2"}),n.jsx("circle",{cx:"17.4",cy:"17.6",r:"1.7",fill:"currentColor",stroke:"none"})]})}function jb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:n.jsx("path",{d:"M6 6l12 12M18 6L6 18"})})}function Uh(s){if(typeof s!="number"||!Number.isFinite(s))return"";const r=Math.floor(s/60),o=Math.floor(s%60);return`${r}:${o<10?"0":""}${o}`}function Nb(){const s=te(),r=(s.songs??[]).filter(G=>G.audioUrl),[o,u]=U.useState(0),[f,d]=U.useState(!1),[m,g]=U.useState(!1),[x,p]=U.useState({now:0,total:0}),[y,b]=U.useState({}),j=U.useRef(null),T=U.useRef(null),S=U.useRef(null),w=r.length;U.useEffect(()=>{w>1&&u(Math.floor(Math.random()*w))},[w]);const k=U.useCallback(()=>{var F;const G=document.querySelector("header"),J=G==null?void 0:G.getBoundingClientRect(),$={top:`${J?J.bottom+6:66}px`};if(window.innerWidth<=640)$.left="8px",$.right="8px";else{$.left="auto";const le=(F=T.current)==null?void 0:F.getBoundingClientRect();$.right=`${Math.max(12,window.innerWidth-((le==null?void 0:le.right)??0))}px`}b($)},[]);if(U.useEffect(()=>{if(!m)return;k();const G=()=>k(),J=$=>{var le,Z;const F=$.target;(le=S.current)!=null&&le.contains(F)||(Z=T.current)!=null&&Z.contains(F)||g(!1)};return window.addEventListener("resize",G),window.addEventListener("scroll",G,{passive:!0}),document.addEventListener("click",J),()=>{window.removeEventListener("resize",G),window.removeEventListener("scroll",G),document.removeEventListener("click",J)}},[m,k]),U.useEffect(()=>()=>{var G;return(G=j.current)==null?void 0:G.pause()},[]),r.length===0)return null;const R=r[o]??r[0],V=(G=o)=>{const J=j.current,$=r[G];!J||!$||(J.getAttribute("src")!==$.audioUrl&&(J.src=$.audioUrl),J.play().then(()=>d(!0),()=>d(!1)))},Y=()=>{var G;(G=j.current)==null||G.pause(),d(!1)},X=G=>{const J=(G%r.length+r.length)%r.length;u(J),p({now:0,total:0}),V(J)};return n.jsxs(n.Fragment,{children:[n.jsxs("span",{id:"w4d-mini",ref:T,"data-playing":f?"1":"0",children:[n.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${s.place.name}이(가) 만든 노래`,children:n.jsx(xb,{})}),n.jsx("span",{id:"w4d-now","aria-live":"polite",children:R.title}),n.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"멈춤":"재생"} · ${R.title}`,onClick:()=>f?Y():V(),children:f?n.jsx(bb,{}):n.jsx(vb,{})}),n.jsx("button",{type:"button",id:"w4d-toggle",title:"노래 목록","aria-expanded":m,onClick:()=>g(G=>!G),children:n.jsx(yb,{})})]}),n.jsx("audio",{ref:j,src:r[0].audioUrl,preload:"none",onTimeUpdate:G=>p({now:G.currentTarget.currentTime,total:G.currentTarget.duration}),onDurationChange:G=>p(J=>({...J,total:G.currentTarget.duration})),onEnded:()=>X(o+1),onError:()=>d(!1)}),n.jsxs("div",{id:"w4d-panel",ref:S,hidden:!m,style:y,children:[n.jsxs("div",{className:"w4d-head",children:[n.jsxs("span",{className:"w4d-head-t",children:[s.place.name,"이(가) 만든 노래"]}),n.jsxs("span",{className:"w4d-head-n",children:[r.length,"곡"]}),n.jsx("button",{type:"button",id:"w4d-close",title:"닫기","aria-label":"닫기",onClick:()=>g(!1),children:n.jsx(jb,{})})]}),n.jsx("ol",{children:r.map((G,J)=>n.jsx("li",{children:n.jsxs("button",{type:"button",className:"w4d-item","aria-current":J===o,"data-playing":J===o&&f?"1":"0",onClick:()=>X(J),children:[n.jsxs("span",{className:"w4d-mark",children:[n.jsx("span",{className:"w4d-disc-sm"}),n.jsxs("span",{className:"w4d-eq","aria-hidden":!0,children:[n.jsx("i",{}),n.jsx("i",{}),n.jsx("i",{})]})]}),n.jsxs("span",{className:"w4d-info",children:[n.jsx("span",{className:"w4d-t",children:G.title}),n.jsx("span",{className:"w4d-sub",children:s.place.name})]}),n.jsx("span",{className:"w4d-time",children:J===o&&(f||x.now>0)?`${Uh(x.now)}${x.total?` / ${Uh(x.total)}`:""}`:""})]})},G.songId))}),n.jsx("div",{id:"w4d-lyrics-box",hidden:!R.lyrics,children:(R.lyrics??"").replace(/^\[.*\]$/gm,"").replace(/\n{3,}/g,`
+
+`).trim()})]})]})}const ua={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},Sb={OWNER:1,CRAWL:3,TEMPLATE:5},Lh={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},wb=[Lh.VERIFIED,Lh.CORRECTED];function Ap(s){return wb.includes(s)}const yt={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},W1={PUBLISHED:3};function Tn(s){return s.filter(r=>Ap(r.status)&&r.value!=null&&r.value!=="")}function _p(s){const r=new Map;for(const o of Tn(s))r.set(o.key,o);return r}function oa(s,r){const o=_p(s).get(r);return(o==null?void 0:o.value)??void 0}function _t(s,r){const o=_p(s).get(r);if(!(o!=null&&o.value))return;const u=o.type==="number"?Eb(o.value):o.value;return o.unit?`${u}${o.unit}`:u}function Eb(s){const r=Number(s.replace(/,/g,""));return Number.isFinite(r)?r.toLocaleString("ko-KR"):s}function ru(s){return s.type!=="bool"?s.label:s.label.replace(/\s*(가능|여부)$/,"")||s.label}function zb(s){return s.filter(r=>Ap(r.status)&&r.question&&r.answer).sort((r,o)=>r.sortOrder-o.sortOrder)}function cu(s){return s.map(r=>({...r,facts:Tn(r.facts)})).sort((r,o)=>r.sortOrder-o.sortOrder)}const Tb={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",reading:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function Ab(s){const r=(s??"").trim();if(!r)return;const o=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(r);return o==null?void 0:o[1]}function _b(s){return/youtube\.com\/shorts\//.test((s??"").trim())}function Cb(s){return`https://i.ytimg.com/vi/${s}/hqdefault.jpg`}function kb(s){return`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&rel=0&modestbranding=1`}const or={items:[],unverified:0,sourced:0};function Mb(s,r){var p,y;const o=b=>{const j=s.slice(0,Math.max(0,b)),T=j.split(`
+`).length,S=b-j.lastIndexOf(`
+`);return`${T}번째 줄 ${S}번째 글자`},u=(p=/Unexpected token '(.)'/.exec(r))==null?void 0:p[1],f=u==="}"||u==="]"?"닫는 괄호 바로 앞에 쉼표가 하나 더 있는지 보세요.":"그 앞의 쉼표·따옴표·괄호를 확인해 주세요.",d=/line (\d+) column (\d+)/.exec(r);if(d)return`${d[1]}번째 줄 ${d[2]}번째 글자에서 JSON 이 끊깁니다. ${f}`;const m=/position (\d+)/.exec(r);if(m)return`${o(Number(m[1]))}에서 JSON 이 끊깁니다. ${f}`;const g=(y=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(r))==null?void 0:y[1],x=g?s.indexOf(g):-1;return x>=0?`${o(x+g.length)} 부근에서 JSON 이 끊깁니다. ${f}`:"JSON 이 아닙니다. ChatGPT 가 준 답에서 { 로 시작해 } 로 끝나는 부분만 붙여넣어 주세요."}function Ob(s,r){const o=Tb[s],u=(r??"").trim();if(!o||!u)return or;let f;try{f=JSON.parse(u)}catch(b){return{...or,error:Mb(u,b instanceof Error?b.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...or,error:"바깥이 { } 로 감싸인 JSON 이어야 합니다."};const d=f,m=typeof d.kind=="string"?d.kind:void 0,g=d.items;if(!Array.isArray(g))return{...or,error:"items 배열이 없습니다. 프롬프트로 다시 만들어 주세요."};const x=g.filter(b=>typeof b=="object"&&b!==null&&!Array.isArray(b)&&typeof b[o]=="string"&&b[o].trim().length>0);let p=0,y=0;for(const b of x){const j=b;j.verified!=="확인"&&(p+=1),j.source&&typeof j.source=="object"&&(y+=1)}return{items:x,title:typeof d.title=="string"?d.title:void 0,subtitle:typeof d.subtitle=="string"?d.subtitle:void 0,linkUrl:typeof d.linkUrl=="string"&&/^https?:\/\//.test(d.linkUrl)?d.linkUrl:void 0,linkLabel:typeof d.linkLabel=="string"?d.linkLabel:void 0,kindMismatch:m&&m!==s?m:void 0,unverified:p,sourced:y}}const Db=1260,Rb=60,Ub="10:00",Hh=["봄","여름","가을","겨울"];function Bh(s){const r=/^(\d{1,2}):(\d{2})$/.exec(s.trim());if(!r)return;const o=Number(r[1]),u=Number(r[2]);if(!(o>23||u>59))return o*60+u}function ur(s){const r=(s%1440+1440)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`}function Lb(s){const r=Bh(s.startTime??"")??Bh(Ub)??600,o=[];let u=r,f=0;for(const d of s.stops??[]){const m=Math.max(0,d.moveMinutes??0),g=Math.max(1,d.minutes??Rb),x=u+m;if(x+g>Db){f+=1;continue}o.push({stop:d,time:ur(x),until:ur(x+g),move:m}),u=x+g}return{stops:o,from:ur(r),to:ur(u),totalMinutes:u-r,dropped:f}}function Hb(s=new Date){const r=s.getMonth()+1,o=Math.floor((r-3+12)%12/3),u=Hh[o];return r%3===0&&s.getDate()<=15?[Hh[(o+3)%4],u]:[u]}function qh(s){const r=parseInt(s.replace("#",""),16);return[r>>16&255,r>>8&255,r&255]}function Yh(s,r,o){if(!/^#[0-9a-fA-F]{6}$/.test(s)||!/^#[0-9a-fA-F]{6}$/.test(r))return s;const[u,f,d]=qh(s),[m,g,x]=qh(r),p=(b,j)=>Math.round(b+(j-b)*o),y=b=>b.toString(16).padStart(2,"0");return`#${y(p(u,m))}${y(p(f,g))}${y(p(d,x))}`}function Bb(s){return{surface:Yh(s.bg,s.text,.06),surfaceAlt:s.card,inverse:"#1c1917",border:Yh(s.bg,s.text,.2)}}const Cp={[ua.LODGING]:{type:"HotelRoom",path:"rooms",label:"객실"},[ua.CAFE]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.RESTAURANT]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.CLINIC]:{type:"Product",path:"programs",label:"시술"}};function qb(s){return s.links.filter(r=>r.confirmed&&/^https?:\/\//i.test(r.url??""))}function kp(s){var r;for(const[o,u]of[["weekday_price","주중 1박"],["price","1박"],["weekend_price","주말 1박"],["peak_price","성수기 1박"]]){const f=Number((r=oa(s.facts,o))==null?void 0:r.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Gh=[yt.NAVER_BOOKING,yt.YANOLJA,yt.GOODCHOICE,yt.NAVER_PLACE];function ou(s){return Tn(s.facts).filter(r=>r.scope==="place").map(r=>({key:r.key,label:ru(r),value:uu(r,s.facts)})).filter(r=>r.value!=="")}function uu(s,r){var u;if(s.key==="intro"&&((u=s.summary)!=null&&u.trim()))return s.summary.trim();const o=_t(r,s.key);return o?s.type!=="bool"?o:/여부$/.test(s.label)?o==="true"?"있음":o==="false"?"없음":o:o==="true"?"가능":o==="false"?"불가":o:""}const Yb=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function hl(s){const r=Cp[s.place.category],o=new Map(s.media.map(u=>[u.mediaId,u]));return cu(s.units).map(u=>{const f=_t(u.facts,"room_intro")??_t(u.facts,"description"),d=s.place.category===ua.LODGING?["standard_capacity","max_capacity","bed_type","room_size"]:["price","volume","origin"];return{unitId:u.unitId,slug:u.slug,name:u.name,intro:f,chips:d.map(m=>{var p;const g=_t(u.facts,m),x=((p=u.facts.find(y=>y.key===m))==null?void 0:p.label)??m;return g?{label:x,value:g}:null}).filter(m=>m!==null),rows:u.facts.filter(m=>!Yb.has(m.key)).map(m=>({label:ru(m),value:uu(m,u.facts)})).filter(m=>m.value!==""),images:u.mediaIds.map(m=>o.get(m)).filter(m=>{var g;return!!((g=m==null?void 0:m.alt)!=null&&g.trim())}),priceText:Gb(u),prices:Qb(u),href:`/${r.path}/${u.slug}`}})}function Gb(s){var d,m;const r=_t(s.facts,"price_range");if(r)return r;const o=Number((d=_t(s.facts,"weekday_price"))==null?void 0:d.replace(/[^0-9]/g,"")),u=Number((m=_t(s.facts,"price"))==null?void 0:m.replace(/[^0-9]/g,"")),f=Number.isFinite(o)&&o>0?o:u;if(!(!Number.isFinite(f)||f<=0))return`${f.toLocaleString("ko-KR")}원부터`}const $b=[["weekday_price","주중"],["weekend_price","주말"],["peak_price","성수기"]];function Qb(s){return _t(s.facts,"price_range")?[]:_t(s.facts,"weekday_price")?$b.map(([r,o])=>({label:o,value:_t(s.facts,r)??"문의"})):[]}function Xb(s){const r=s??"";return/눈|설/.test(r)?"눈":/비|우|소나기/.test(r)?"비":/흐림|구름|안개|박무/.test(r)?"흐림":"맑음"}function Vb(s){return s>=30?"혹서":s>=25?"더움":s>=20?"선선":s>=10?"쌀쌀":"추움"}function fu(s){return s.media.filter(r=>{var o;return((o=r.alt)==null?void 0:o.trim())&&!r.unitId})}function Zb(s){return zb(s.faqs)}function Kb(s){return s.theme.sections.filter(r=>r.enabled)}function ll(s,r){var o;return((o=s.theme.sections.find(u=>u.id===r))==null?void 0:o.enabled)??!1}function Jb(s,r){var u;const o=(u=s.theme.sections.find(f=>f.id===r))==null?void 0:u.body;return(o==null?void 0:o.split(/\n\s*\n/).map(f=>f.trim()).filter(Boolean))??[]}function al(s,r){var d;const o=s.theme.sections.find(m=>m.id===r),u=Ob(r,o==null?void 0:o.data),f=(d=s.local.story)==null?void 0:d[r];return!Array.isArray(f)||f.length===0?u:{...u,items:[...u.items,...f]}}function dt(s){return Cp[s.place.category]}function qe(s,r,o){var f,d;const u=(d=(f=s.theme.sections.find(m=>m.id===r))==null?void 0:f.name)==null?void 0:d.trim();return u||o}function An(s,r){const o=new Map(Tn(s.facts).filter(u=>u.scope==="place").map(u=>[u.key,u]));return r.map(u=>o.get(u)).filter(u=>u!==void 0).map(u=>({label:ru(u),value:uu(u,s.facts)})).filter(u=>u.value!=="")}function Wb(s,r){return An(s,[r])[0]}const Fb=["reservation_required","reservation_channel"];function Ib(s){return An(s,Fb)}const Pb=["seat_count","terrace","room_available","group_seat_max","power_outlet","study_allowed","wheelchair_accessible"];function ey(s){return An(s,Pb)}const ty=["operating_hours","session_times","closed_days","age_limit","guide_language"];function ly(s){return An(s,ty)}const ay=["check_in_time","check_out_time","operating_hours","closed_days","parking","reservation_required"];function Ra(s){return An(s,ay).slice(0,4)}function _n(s){const r=hl(s).map(u=>u.priceText).filter(u=>!!u);if(r.length===0)return;const o=u=>Number(u.replace(/[^0-9]/g,""))||Number.MAX_SAFE_INTEGER;return r.reduce((u,f)=>o(f)o.confirmed&&r.includes(o.channel))}function Ze(s){const r=new Map(Gh.map((o,u)=>[o,u]));return Op(s,Gh).filter(o=>!sy(o.url)).sort((o,u)=>(r.get(o.channel)??99)-(r.get(u.channel)??99))}function sy(s){return/\/p\/search\/|[?&]query=/.test(s)}const iy=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function ry(s){return cu(s.units).map(r=>{const o=_t(r.facts,"standard_capacity"),u=_t(r.facts,"max_capacity"),f=kp(r);return{unitId:r.unitId,name:r.name,capacityText:[o&&`기준 ${o}`,u&&`최대 ${u}`].filter(Boolean).join(" · ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var x;const m=_t(r.facts,d),g=((x=r.facts.find(p=>p.key===d))==null?void 0:x.label)??d;return m?{label:g,value:m}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}원`:void 0,href:"#units"}})}function cy(s){if(s.place.category!==ua.LODGING)return null;const r={offers:ry(s).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:An(s,iy),links:Ze(s),contacts:Cn(s).filter(u=>!Ze(s).some(f=>f.url===u.url)),phone:s.place.phone};return r.offers.length===0&&r.links.length===0&&r.contacts.length===0&&!r.phone?null:r}function oy(s,r){return s.theme.sections.some(o=>o.id===r)}function Cn(s){return Op(s,ny)}function pt(s,r){const o=Ls(s),u=o.endsWith("예약")?o:`${o} 예약`;return r?`${r} ${u}`:u}function Dp(s){return s.channel===yt.NAVER_BOOKING?"네이버 예약으로 바로 예약하기":`${pl(s)}에서 예약`}function uy(){var u;const s=te(),r=dt(s),o=[{label:"소개",href:"#about",show:ll(s,"intro")},{label:r.label,href:"#units",show:s.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"축제",href:"#festival",show:(((u=s.local.festivals)==null?void 0:u.length)??0)>0},{label:"주변 정보",href:"#guide",show:ll(s,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:s.faqs.length>0}].filter(f=>f.show);return n.jsx("header",{className:"border-line safe-t sticky top-0 z-40 w-full border-b backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 88%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsxs("a",{href:"#top",className:"flex min-w-0 items-center gap-2.5",children:[n.jsx("span",{className:"serif flex size-8 shrink-0 items-center justify-center rounded-md text-[length:var(--fs-sm)]",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",fontWeight:"var(--tpl-heading-weight, 700)"},"aria-hidden":!0,children:s.place.name.slice(0,1)}),n.jsxs("span",{className:"flex min-w-0 flex-col",children:[n.jsx("span",{className:"serif truncate text-[length:var(--fs-lead)] leading-tight",style:{fontWeight:"var(--tpl-heading-weight, 700)"},children:s.place.name}),s.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[length:var(--fs-xs)] uppercase leading-tight tracking-[0.14em]",children:s.place.englishName})]})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-7 lg:flex",children:o.map(f=>n.jsx("a",{href:f.href,className:"text-muted py-1 text-[length:var(--fs-sm)] font-medium transition-colors hover:text-current",children:f.label},f.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[n.jsx(Nb,{}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap inline-flex items-center gap-1.5 rounded-lg px-3 text-[length:var(--fs-xs)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:s.place.phone}),n.jsx("span",{className:"sr-only sm:hidden",children:"전화"})]}),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-lg marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(zp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line tpl-border absolute right-0 top-[calc(100%+0.5rem)] z-50 w-52 overflow-hidden rounded-xl border shadow-lg",style:{backgroundColor:"var(--tpl-surface, #fff)"},children:n.jsx("ul",{className:"divide-line divide-y",children:o.map(f=>n.jsx("li",{children:n.jsx("a",{href:f.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-medium",children:f.label})},f.label))})})]})]})]})})}const fy=["잠시 걸음을 멈추고 온전한 쉼을 마주하는 시간","바쁜 일상을 내려놓고 나를 위한 여유를 담아갑니다","여행의 길목에서 만나는 조용하고 편안한 머무름","아무것도 하지 않아도 편안해지는 오늘의 휴식","낯선 곳에서 느끼는 다정한 온기와 작은 쉼표","지친 하루의 끝에 찾아오는 나만의 따뜻한 여백","천천히 흘러가는 시간 속에서 마주하는 깊은 휴식","스쳐 가는 여행 속에서 오래 기억될 아늑한 순간","복잡한 생각은 잠시 잊고 편안하게 쉬어가세요","작은 쉼이 모여 내일을 살아갈 따뜻한 힘이 됩니다"];function ha({children:s}){var p;const{place:r,narrative:o}=te(),u=r.category===ua.LODGING,[f,d]=U.useState(0),m=(((p=o.catchphrases)==null?void 0:p.items)??[]).filter(y=>(y.kind??"general")==="general").map(y=>y.text.trim()).filter(Boolean),g=m.length>0?m:fy;if(U.useEffect(()=>{if(!u)return;const y=window.matchMedia("(prefers-reduced-motion: reduce)"),b=window.setInterval(()=>{!document.hidden&&!y.matches&&d(j=>(j+1)%g.length)},6e3);return()=>window.clearInterval(b)},[u,g.length]),!u)return s;const x=g[f%g.length];return n.jsxs("span",{className:"hero-catchphrase",children:[s&&n.jsx("span",{className:"hero-catchphrase-fixed",children:s}),n.jsx("span",{className:"w4d-line w4d-line--in",children:x.split(/\s+/).map((y,b)=>n.jsxs("span",{children:[b>0&&" ",n.jsx("span",{className:"w4d-w",children:n.jsx("span",{style:{"--w4d-d":`${b*55}ms`},children:y})})]},b))},f)]})}function pr(s){return s.media.find(r=>{var o;return r.isPrimary&&((o=r.alt)==null?void 0:o.trim())})??s.media.find(r=>{var o;return(o=r.alt)==null?void 0:o.trim()})}function dy(s){return my(s).join(" ")}function my(s){const{place:r,facts:o}=s,u=[],f=r.addressLocality??r.addressRegion??r.roadAddress??r.address;u.push(f?`${f}에 있는 ${r.name}입니다.`:`${r.name}입니다.`);const d=oa(o,"check_in_time"),m=oa(o,"check_out_time");d&&m&&u.push(`체크인 ${d}, 체크아웃 ${m}.`);const g=oa(o,"business_hours")??oa(o,"open_hours");g&&u.push(`영업시간 ${g}.`);const x=oa(o,"pet_allowed");if(x==="false"&&u.push("반려동물 동반 불가."),x==="true"&&u.push("반려동물 동반 가능."),oa(o,"parking")==="true"){const y=oa(o,"parking_capacity");u.push(y?`주차 ${y}대 가능.`:"주차 가능.")}return r.phone&&u.push(`문의 ${r.phone}.`),u}const hy=6e3,py=5;function gy(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=r.addressLocality??r.addressRegion,g=[...s.media].filter(S=>{var w;return(w=S.alt)==null?void 0:w.trim()}).sort((S,w)=>Number(w.isPrimary)-Number(S.isPrimary)).slice(0,py),[x,p]=U.useState(0),[y,b]=U.useState(!1),j=U.useRef(null),T=U.useCallback(S=>p(w=>(w+S+g.length)%g.length),[g.length]);return U.useEffect(()=>{if(y||g.length<2)return;const S=setInterval(()=>T(1),hy);return()=>clearInterval(S)},[y,T,g.length]),n.jsxs("section",{id:"top",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"clamp(24rem, 76vh, 42rem)"},onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onFocusCapture:()=>b(!0),onBlurCapture:()=>b(!1),onTouchStart:S=>{j.current=S.touches[0].clientX},onTouchEnd:S=>{const w=j.current;if(j.current=null,w===null)return;const k=S.changedTouches[0].clientX-w;Math.abs(k)>40&&T(k<0?1:-1)},children:[g.map((S,w)=>n.jsx("img",{src:S.url,alt:S.alt,fetchPriority:w===0?"high":"low",loading:w===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:w===x?1:0}},S.mediaId)),n.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 45%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 60%, transparent) 100%)"}}),n.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center px-6 text-center",children:[m&&n.jsx("p",{className:"label opacity-95",children:m}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-90",children:n.jsx(ha,{children:o.tagline??o.heroSubline})})]}),g.length>1&&n.jsxs(n.Fragment,{children:[n.jsx($h,{dir:"prev",onClick:()=>T(-1)}),n.jsx($h,{dir:"next",onClick:()=>T(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:g.map((S,w)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>p(w),"aria-label":`${w+1}번째 사진`,"aria-current":w===x,className:`h-1.5 rounded-full bg-current transition-all ${w===x?"w-7 opacity-90":"w-1.5 opacity-90 hover:opacity-95"}`})},S.mediaId))})]})]}),(f||u.length>0||d.length>0||r.phone)&&n.jsx("div",{className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsxs("div",{className:"shell flex flex-col items-center gap-4 py-4 lg:flex-row lg:justify-between lg:gap-8",children:[n.jsxs("dl",{className:"divide-line flex flex-wrap justify-center gap-y-2 sm:divide-x",children:[f&&n.jsxs("div",{className:"px-5 text-center sm:first:pl-0",children:[n.jsx("dt",{className:"label",children:"1박 최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:f})]}),u.map(S=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:S.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:S.value})]},S.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border inline-flex items-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])})]})]})})]})}function $h({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 hidden -translate-y-1/2 items-center justify-center rounded-full bg-current/15 px-3 backdrop-blur-sm transition-colors hover:bg-current/25 sm:inline-flex ${s==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function xy(){const s=te(),{place:r,narrative:o}=s,u=Ra(s).slice(0,3),f=_n(s),d=Ze(s),m=Wb(s,"extra_person_fee"),g=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary))[0],x=r.addressLocality??r.addressRegion;return n.jsx("section",{id:"top",className:"border-line w-full border-b",children:n.jsxs("div",{className:"grid lg:grid-cols-2",children:[n.jsx("div",{className:"relative order-1 min-h-[16rem] lg:order-none lg:min-h-[34rem]",children:g&&n.jsx("img",{src:g.url,alt:g.alt,fetchPriority:"high",decoding:"async",className:"absolute inset-0 size-full object-cover"})}),n.jsxs("div",{className:"order-2 flex flex-col justify-center gap-6 px-6 py-10 sm:px-10 lg:order-none lg:px-14 lg:py-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:[n.jsxs("div",{children:[x&&n.jsx("p",{className:"label",children:x}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-90",children:n.jsx(ha,{children:o.tagline??o.heroSubline??o.summary})})]}),n.jsxs("div",{className:"panel p-5 sm:p-6",children:[f&&n.jsxs("p",{className:"flex items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-h3)] font-bold tabular-nums",children:f}),n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)]",children:"1박 기준"})]}),u.length>0&&n.jsxs("dl",{className:"divide-line mt-4 divide-y border-t pt-1",children:[u.map(p=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{className:"font-semibold",children:p.value})]},p.label)),m&&n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:m.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:m.value})]})]}),n.jsxs("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row",children:[d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])}),r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]})]})]})]})]})})}const vy={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function Rp(s){return vy[s??""]??"default"}function gr(){return Rp(te().theme.templateId)}const fr=5,Wo=1.8,by=3;function yy(s){const r=s*fr,o=f=>`${(f/r*100).toFixed(3)}%`;return`${s<2?"":`
+.stay2-hero-slide { animation: stay2-hero-fade ${r}s ease-in-out infinite; }
+@keyframes stay2-hero-fade {
+ 0% { opacity: 1; }
+ ${o(fr)} { opacity: 1; }
+ ${o(fr+Wo)} { opacity: 0; }
+ ${o(r-Wo)} { opacity: 0; }
+ 100% { opacity: 1; }
+}`}
+.stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
+@keyframes stay2-hero-focus {
+ 0% { opacity: 0; filter: blur(0.22em); }
+ 40% { opacity: 1; }
+ 100% { opacity: 1; filter: blur(0); }
+}
+@media (prefers-reduced-motion: reduce) {
+ .stay2-hero-slide, .stay2-hero-focus { animation: none; }
+}
+`}function jy(s,r){return((r-s)%r*fr+Wo).toFixed(1)}function Ny(){const s=te(),{place:r,narrative:o}=s,u=dt(s),f=Ze(s)[0],d=o.tagline??o.heroSubline,m=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)),g=m.length<2?0:Math.min(m.length,by),x=f?{href:f.url,label:`${Ls(f)}에서 예약`,external:!0}:r.phone?{href:`tel:${r.phone}`,label:`${r.phone} 예약 문의`,external:!1}:s.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return n.jsxs("section",{id:"top",className:"w-full",children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:yy(g)}}),n.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[m.map((p,y)=>n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:y===0?"high":y0?m:ou(s).slice(0,4),x=(u==null?void 0:u.caption)??r.name;return n.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[n.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:r.name}),o.heroHeadline&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o.heroHeadline}),u&&n.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:x})]}),(f||g.length>0)&&n.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:"최저가"}),n.jsx("dd",{children:f})]}),g.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{children:p.value})]},p.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(p=>n.jsx("li",{children:n.jsx("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(p)})},p.url))})]})}function wy(){const s=te(),r=fu(s),o=pr(s),u=o&&r.some(f=>f.mediaId===o.mediaId)?[o,...r.filter(f=>f.mediaId!==o.mediaId)]:r;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${s.place.name} 사진`,className:"w-full",children:n.jsx("div",{className:"columns-1 gap-2 sm:columns-2",children:u.map((f,d)=>n.jsx("figure",{className:"mb-2 break-inside-avoid",children:n.jsx("img",{src:f.url,alt:f.alt,loading:d===0?"eager":"lazy",fetchPriority:d===0?"high":void 0,decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})})}function Ey(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=o.tagline??o.summary,g=r.addressLocality??r.addressRegion,x=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)).slice(0,3);return n.jsxs("section",{id:"top","data-pastel":"own",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--pastel-1)"},children:[n.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",children:[n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(12rem, 26vw, 22rem)",aspectRatio:"1",backgroundColor:"var(--pastel-2)",right:"-6%",top:"-6%",opacity:.75}}),n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(8rem, 18vw, 15rem)",aspectRatio:"1",backgroundColor:"var(--pastel-3)",left:"46%",bottom:"-10%",opacity:.7}})]}),n.jsxs("div",{className:"shell relative grid items-center gap-8 lg:grid-cols-2 lg:gap-14",style:{paddingBlock:"var(--section-space)"},children:[n.jsxs("div",{className:"order-2 lg:order-1",children:[g&&n.jsx("p",{className:"inline-flex items-center rounded-full px-3 py-1 text-[length:var(--fs-xs)] font-extrabold",style:{backgroundColor:"var(--tpl-bg, #fff)",color:"var(--pastel-ink)"},children:g}),n.jsx("h1",{className:"mt-4 break-keep",style:{fontSize:"var(--fs-display)",fontWeight:800,lineHeight:1.2,letterSpacing:"var(--tpl-heading-tracking, -0.03em)"},children:r.name}),m&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed opacity-90",children:n.jsx(ha,{children:m})}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-7 inline-flex items-center justify-center rounded-full px-8 text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[x[0]&&n.jsx("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"1 / 1",borderRadius:"calc(var(--tpl-radius, 24px) * 1.6)",boxShadow:"0 0 0 clamp(6px, 1.4vw, 12px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:x[0].url,alt:x[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),x.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:x.slice(1).map(p=>n.jsx("li",{className:"relative overflow-hidden",style:{aspectRatio:"4 / 3",borderRadius:"var(--tpl-radius, 24px)",boxShadow:"0 0 0 clamp(4px, 1vw, 8px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},p.mediaId))})]})]})]}),(f||u.length>0)&&n.jsx("div",{className:"w-full",style:{backgroundColor:"var(--pastel-2)"},children:n.jsxs("dl",{className:"shell flex flex-wrap items-center justify-center gap-x-12 gap-y-5 py-8 text-center",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:"최저가"}),n.jsx("dd",{className:"mt-1 font-extrabold tabular-nums",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:f})]}),u.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:p.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:p.value})]},p.label))]})})]})}const Hs="repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 3%, transparent) 0 1px, transparent 1px 6px),repeating-linear-gradient(0deg, color-mix(in oklab, currentColor 2%, transparent) 0 1px, transparent 1px 6px)",zy={intro:"about",info:"info",rooms:"units",menu:"units",programs:"units",pricing:"pricing",booking:"booking",space:"space",inquiry:"inquiry",exhibition:"exhibition",photos:"gallery",local:"guide",weather:"weather",map:"location",faq:"faq",songs:"songs",daily:"daily",chronicle:"chronicle",reading:"reading",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},Ty={about:"소개",info:"이용 정보",pricing:"요금",booking:"예약 안내",space:"공간",inquiry:"문의",exhibition:"관람 안내",gallery:"사진",guide:"주변",weather:"날씨",location:"오시는 길",faq:"자주 묻는 질문",songs:"노래",daily:"일력",chronicle:"연표",reading:"읽기",people:"인물",quiz:"퀴즈",postcard:"엽서",video:"영상",itinerary:"일정"};function Qh(s){return String(s).padStart(2,"0")}function Up(){var f;const s=te(),r=dt(s),o=new Set,u=[];for(const d of Kb(s)){const m=zy[d.id];if(!m||o.has(m)||m==="units"&&s.units.length===0)continue;o.add(m);const g=(f=d.name)==null?void 0:f.trim();u.push({no:Qh(u.length+1),label:g||Ty[m]||r.label,anchor:m})}return o.has("location")||u.push({no:Qh(u.length+1),label:"오시는 길",anchor:"location"}),u}function du({id:s,title:r,lead:o,aside:u}){var d;const f=(d=Up().find(m=>m.anchor===s))==null?void 0:d.no;return n.jsxs("header",{className:"mb-7 sm:mb-10",children:[n.jsx("div",{"aria-hidden":!0,className:"mb-5 h-0.5 w-full bg-current opacity-90"}),n.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-10",children:[n.jsxs("div",{className:"relative min-w-0 flex-1",children:[f&&n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 select-none leading-none tabular-nums",style:{fontSize:"clamp(2.5rem, 7vw, 5rem)",fontWeight:800,opacity:.12},children:f}),n.jsx("h2",{id:`${s}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:r}),o&&n.jsx("p",{className:"text-muted measure relative mt-2 pl-9 font-serif text-[length:var(--fs-sm)] leading-relaxed sm:pl-14 xl:pl-20",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})]})}function Ay(){const s=te(),{place:r,narrative:o}=s,u=pr(s),f=dt(s),d=hl(s),m=Ra(s),g=_n(s),x=Ze(s)[0],p=Cn(s)[0],y=o.tagline??o.heroSubline,j=[r.addressSubLocality??r.addressLocality??r.addressRegion,d.length>0?`${f.label} ${d.length}개`:void 0,g].filter(T=>!!T);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Hs},children:n.jsxs("div",{className:"grid grid-cols-12",children:[u&&n.jsx("div",{className:"relative col-span-12 xl:col-span-8 xl:col-start-5 xl:row-start-1",style:{minHeight:"clamp(15rem, 52vh, 34rem)",backgroundColor:"var(--tpl-inverse)"},children:n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"absolute inset-0 size-full object-cover"})}),n.jsx("div",{className:"z-10 col-span-12 xl:col-start-1 xl:row-start-1 xl:mb-12 xl:mr-16 xl:self-end",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse) 88%, transparent)",color:"var(--tpl-bg)"},children:n.jsx("h1",{className:"serif px-4 py-5 sm:px-6 xl:py-8 xl:pl-10 xl:pr-16",style:{fontSize:"clamp(2.25rem, 7.5vw, 5.5rem)",fontWeight:800,lineHeight:.98,letterSpacing:"-0.035em"},children:r.name})}),n.jsxs("div",{className:"col-span-12 flex flex-col gap-5 px-4 py-8 sm:px-6 xl:col-span-4 xl:col-start-1 xl:row-start-1 xl:py-12 xl:pb-56 xl:pl-10 xl:pr-8",children:[y&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:n.jsx(ha,{children:y})}),j.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:j.join(" · ")}),(x||r.phone||p)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[x&&n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:pt(x)}),r.phone&&n.jsx("a",{href:`tel:${r.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:r.phone}),p&&n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[pl(p)," 문의"]})]}),m.length>0&&n.jsx("dl",{className:"mt-1",children:m.map(T=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-4 border-t py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:T.label}),n.jsx("dd",{className:"text-right font-semibold",children:T.value})]},T.label))})]})]})})}function _y(){var x;const s=te(),r=gr();if(r==="reservation")return n.jsx(Ny,{});if(r==="oasi")return n.jsx(Sy,{});if(r==="studio")return n.jsx(wy,{});if(r==="pastel")return n.jsx(Ey,{});if(r==="editorial")return n.jsx(Ay,{});const o=(x=s.theme.sections.find(p=>p.id==="hero"))==null?void 0:x.variantId;if(o==="hero.slideshow")return n.jsx(gy,{});if(o==="hero.split")return n.jsx(xy,{});const{place:u,narrative:f}=s,d=pr(s),m=dt(s);Ze(s);const g=u.addressLocality??u.addressRegion;return n.jsx("section",{id:"top",className:"w-full",children:n.jsxs("div",{className:"relative flex w-full items-end overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",minHeight:"clamp(24rem, 62vh, 36rem)"},children:[d&&n.jsxs("div",{className:"absolute inset-0 z-0",children:[n.jsx("img",{src:d.url,alt:d.alt,fetchPriority:"high",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover object-center"}),n.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, color-mix(in srgb, var(--tpl-inverse, #1c1917) 88%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 45%, transparent) 34%, transparent 66%)"}})]}),n.jsxs("div",{className:"shell relative z-10 pb-10 pt-24 sm:pb-12",children:[g&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] opacity-90",children:[n.jsx($s,{className:"size-3.5"}),n.jsx("span",{children:g})]}),n.jsx("h1",{className:"serif",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:u.name}),(f.tagline??f.heroSubline??f.summary)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-95",children:n.jsx(ha,{children:f.tagline??f.heroSubline??f.summary})}),s.units.length>0&&n.jsxs("a",{href:"#units",className:"mt-6 inline-flex items-center gap-1 text-[length:var(--fs-sm)] font-medium underline-offset-4 opacity-90 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[m.label," 보기"]}),n.jsx(hr,{className:"size-4"})]})]})]})})}function Lp(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":`${r.getFullYear()}년 ${r.getMonth()+1}월 ${r.getDate()}일`}function Qs(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":r.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function Cy(s){return`https://search.naver.com/search.naver?query=${encodeURIComponent(s)}`}function Xh(s){return`https://map.naver.com/p/search/${encodeURIComponent(s)}`}function ky(s){return`https://www.youtube.com/results?search_query=${encodeURIComponent(s)}`}function mu(s){return s.replace(/,/g," ").replace(/\s+/g," ").trim()}function My(s,r,o){return r==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(s)}`:`https://map.kakao.com/link/to/${encodeURIComponent(mu(s))},${r},${o}`}function Oy(s,r){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(mu(u.name))}`;return`https://map.naver.com/p/directions/${o(s)}/${o(r)}/-/car`}function Hp(s,r,o){return r==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(s)}`:`https://map.naver.com/p/directions/-/${o},${r},${encodeURIComponent(mu(s))}/-/transit`}function Dy(s,r,o=16/9,u=.0022){const f=Math.max(Math.cos(s*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[r-d,s-u,r+d,s+u].map(g=>g.toFixed(6)).join(",")}&layer=mapnik&marker=${s},${r}`}function Ry(s,r,o){if(r==null||o==null)return;const u=encodeURIComponent(s);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${r}&rGoName=${u}&rGoX=${o}&rGoY=${r}`}function hu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-10 flex flex-col items-center gap-4 text-center sm:mb-14",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:r}),n.jsx("i",{"aria-hidden":!0,className:"block h-px w-10 bg-current opacity-25"}),o&&n.jsx("p",{className:"text-muted measure text-[length:var(--fs-sm)] leading-loose",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-xs)]",children:u})]})}function pu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-8",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",r,"]"]}),o&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})}function gu({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-7 sm:mb-10",children:n.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-10",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:r}),o&&n.jsx("p",{className:"text-muted measure mt-2 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})})}function xu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col items-center gap-3 text-center sm:mb-10",children:[n.jsx("i",{"aria-hidden":!0,className:"block h-[6px] w-10 rounded-full",style:{backgroundColor:"var(--pastel-2, currentColor)",opacity:.9}}),n.jsx("h2",{id:`${s}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:r}),o&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-65",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-sm)]",children:u})]})}const Uy={base:{backgroundColor:"var(--tpl-surface, #ffffff)"},alt:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},dark:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"}};function gt({id:s,title:r,lead:o,tone:u="base",aside:f,footnote:d,children:m,wide:g,bare:x}){const p=gr(),y=p==="reservation"?hu:p==="oasi"?pu:p==="studio"?gu:p==="pastel"?xu:p==="editorial"?du:Ly;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{...Uy[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:g?"w-full":"shell",children:[!x&&n.jsx("div",{className:g?"shell":void 0,children:n.jsx(y,{id:s,title:r,lead:o,aside:f})}),m,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${g?"shell":""}`,children:d})]})})}function Ly({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-6 sm:mb-8",children:n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between sm:gap-6",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"h2 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:r})]}),o&&n.jsx("p",{className:"text-muted measure mt-2 pl-[calc(3px+0.625rem)] text-[length:var(--fs-sm)]",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})})}function Hy(s){return Object.prototype.toString.call(s)==="[object Object]"}function Vh(s){return Hy(s)||Array.isArray(s)}function By(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function vu(s,r){const o=Object.keys(s),u=Object.keys(r);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(s.breakpoints||{})),d=JSON.stringify(Object.keys(r.breakpoints||{}));return f!==d?!1:o.every(m=>{const g=s[m],x=r[m];return typeof g=="function"?`${g}`==`${x}`:!Vh(g)||!Vh(x)?g===x:vu(g,x)})}function Zh(s){return s.concat().sort((r,o)=>r.name>o.name?1:-1).map(r=>r.options)}function qy(s,r){if(s.length!==r.length)return!1;const o=Zh(s),u=Zh(r);return o.every((f,d)=>{const m=u[d];return vu(f,m)})}function bu(s){return typeof s=="number"}function Fo(s){return typeof s=="string"}function xr(s){return typeof s=="boolean"}function Kh(s){return Object.prototype.toString.call(s)==="[object Object]"}function $e(s){return Math.abs(s)}function yu(s){return Math.sign(s)}function Ds(s,r){return $e(s-r)}function Yy(s,r){if(s===0||r===0||$e(s)<=$e(r))return 0;const o=Ds($e(s),$e(r));return $e(o/s)}function Gy(s){return Math.round(s*100)/100}function Bs(s){return qs(s).map(Number)}function tl(s){return s[Xs(s)]}function Xs(s){return Math.max(0,s.length-1)}function ju(s,r){return r===Xs(s)}function Jh(s,r=0){return Array.from(Array(s),(o,u)=>r+u)}function qs(s){return Object.keys(s)}function Bp(s,r){return[s,r].reduce((o,u)=>(qs(u).forEach(f=>{const d=o[f],m=u[f],g=Kh(d)&&Kh(m);o[f]=g?Bp(d,m):m}),o),{})}function Io(s,r){return typeof r.MouseEvent<"u"&&s instanceof r.MouseEvent}function $y(s,r){const o={start:u,center:f,end:d};function u(){return 0}function f(x){return d(x)/2}function d(x){return r-x}function m(x,p){return Fo(s)?o[s](x):s(r,x,p)}return{measure:m}}function Ys(){let s=[];function r(f,d,m,g={passive:!0}){let x;if("addEventListener"in f)f.addEventListener(d,m,g),x=()=>f.removeEventListener(d,m,g);else{const p=f;p.addListener(m),x=()=>p.removeListener(m)}return s.push(x),u}function o(){s=s.filter(f=>f())}const u={add:r,clear:o};return u}function Qy(s,r,o,u){const f=Ys(),d=1e3/60;let m=null,g=0,x=0;function p(){f.add(s,"visibilitychange",()=>{s.hidden&&S()})}function y(){T(),f.clear()}function b(k){if(!x)return;m||(m=k,o(),o());const R=k-m;for(m=k,g+=R;g>=d;)o(),g-=d;const V=g/d;u(V),x&&(x=r.requestAnimationFrame(b))}function j(){x||(x=r.requestAnimationFrame(b))}function T(){r.cancelAnimationFrame(x),m=null,g=0,x=0}function S(){m=null,g=0}return{init:p,destroy:y,start:j,stop:T,update:o,render:u}}function Xy(s,r){const o=r==="rtl",u=s==="y",f=u?"y":"x",d=u?"x":"y",m=!u&&o?-1:1,g=y(),x=b();function p(S){const{height:w,width:k}=S;return u?w:k}function y(){return u?"top":o?"right":"left"}function b(){return u?"bottom":o?"left":"right"}function j(S){return S*m}return{scroll:f,cross:d,startEdge:g,endEdge:x,measureSize:p,direction:j}}function Da(s=0,r=0){const o=$e(s-r);function u(p){return pr}function d(p){return u(p)||f(p)}function m(p){return d(p)?u(p)?s:r:p}function g(p){return o?p-o*Math.ceil((p-r)/o):p}return{length:o,max:r,min:s,constrain:m,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:g}}function qp(s,r,o){const{constrain:u}=Da(0,s),f=s+1;let d=m(r);function m(j){return o?$e((f+j)%f):u(j)}function g(){return d}function x(j){return d=m(j),b}function p(j){return y().set(g()+j)}function y(){return qp(s,g(),o)}const b={get:g,set:x,add:p,clone:y};return b}function Vy(s,r,o,u,f,d,m,g,x,p,y,b,j,T,S,w,k,R,V){const{cross:Y,direction:X}=s,G=["INPUT","SELECT","TEXTAREA"],J={passive:!1},$=Ys(),F=Ys(),le=Da(50,225).constrain(T.measure(20)),Z={mouse:300,touch:400},ne={mouse:500,touch:600},ye=S?43:25;let Ge=!1,Qe=0,re=0,O=!1,Q=!1,ae=!1,he=!1;function je(ee){if(!V)return;function Ae(tt){(xr(V)||V(ee,tt))&&fe(tt)}const Me=r;$.add(Me,"dragstart",tt=>tt.preventDefault(),J).add(Me,"touchmove",()=>{},J).add(Me,"touchend",()=>{}).add(Me,"touchstart",Ae).add(Me,"mousedown",Ae).add(Me,"touchcancel",we).add(Me,"contextmenu",we).add(Me,"click",Ee,!0)}function E(){$.clear(),F.clear()}function B(){const ee=he?o:r;F.add(ee,"touchmove",oe,J).add(ee,"touchend",we).add(ee,"mousemove",oe,J).add(ee,"mouseup",we)}function K(ee){const Ae=ee.nodeName||"";return G.includes(Ae)}function W(){return(S?ne:Z)[he?"mouse":"touch"]}function ce(ee,Ae){const Me=b.add(yu(ee)*-1),tt=y.byDistance(ee,!S).distance;return S||$e(ee)=2,!(Ae&&ee.button!==0)&&(K(ee.target)||(O=!0,d.pointerDown(ee),p.useFriction(0).useDuration(0),f.set(m),B(),Qe=d.readPoint(ee),re=d.readPoint(ee,Y),j.emit("pointerDown")))}function oe(ee){if(!Io(ee,u)&&ee.touches.length>=2)return we(ee);const Me=d.readPoint(ee),tt=d.readPoint(ee,Y),jt=Ds(Me,Qe),Wt=Ds(tt,re);if(!Q&&!he&&(!ee.cancelable||(Q=jt>Wt,!Q)))return we(ee);const nl=d.pointerMove(ee);jt>w&&(ae=!0),p.useFriction(.3).useDuration(.75),g.start(),f.add(X(nl)),ee.preventDefault()}function we(ee){const Me=y.byDistance(0,!1).index!==b.get(),tt=d.pointerUp(ee)*W(),jt=ce(X(tt),Me),Wt=Yy(tt,jt),nl=ye-10*Wt,Ht=R+Wt/50;Q=!1,O=!1,F.clear(),p.useDuration(nl).useFriction(Ht),x.distance(jt,!S),he=!1,j.emit("pointerUp")}function Ee(ee){ae&&(ee.stopPropagation(),ee.preventDefault(),ae=!1)}function at(){return O}return{init:je,destroy:E,pointerDown:at}}function Zy(s,r){let u,f;function d(b){return b.timeStamp}function m(b,j){const S=`client${(j||s.scroll)==="x"?"X":"Y"}`;return(Io(b,r)?b:b.touches[0])[S]}function g(b){return u=b,f=b,m(b)}function x(b){const j=m(b)-m(f),T=d(b)-d(u)>170;return f=b,T&&(u=b),j}function p(b){if(!u||!f)return 0;const j=m(f)-m(u),T=d(b)-d(u),S=d(b)-d(f)>170,w=j/T;return T&&!S&&$e(w)>.1?w:0}return{pointerDown:g,pointerMove:x,pointerUp:p,readPoint:m}}function Ky(){function s(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:m}=o;return{top:u,right:f+d,bottom:u+m,left:f,width:d,height:m}}return{measure:s}}function Jy(s){function r(u){return s*(u/100)}return{measure:r}}function Wy(s,r,o,u,f,d,m){const g=[s].concat(u);let x,p,y=[],b=!1;function j(k){return f.measureSize(m.measure(k))}function T(k){if(!d)return;p=j(s),y=u.map(j);function R(V){for(const Y of V){if(b)return;const X=Y.target===s,G=u.indexOf(Y.target),J=X?p:y[G],$=j(X?s:u[G]);if($e($-J)>=.5){k.reInit(),r.emit("resize");break}}}x=new ResizeObserver(V=>{(xr(d)||d(k,V))&&R(V)}),o.requestAnimationFrame(()=>{g.forEach(V=>x.observe(V))})}function S(){b=!0,x&&x.disconnect()}return{init:T,destroy:S}}function Fy(s,r,o,u,f,d){let m=0,g=0,x=f,p=d,y=s.get(),b=0;function j(){const J=u.get()-s.get(),$=!x;let F=0;return $?(m=0,o.set(u),s.set(u),F=J):(o.set(s),m+=J/x,m*=p,y+=m,s.add(m),F=y-b),g=yu(F),b=y,G}function T(){const J=u.get()-r.get();return $e(J)<.001}function S(){return x}function w(){return g}function k(){return m}function R(){return Y(f)}function V(){return X(d)}function Y(J){return x=J,G}function X(J){return p=J,G}const G={direction:w,duration:S,velocity:k,seek:j,settled:T,useBaseFriction:V,useBaseDuration:R,useFriction:X,useDuration:Y};return G}function Iy(s,r,o,u,f){const d=f.measure(10),m=f.measure(50),g=Da(.1,.99);let x=!1;function p(){return!(x||!s.reachedAny(o.get())||!s.reachedAny(r.get()))}function y(T){if(!p())return;const S=s.reachedMin(r.get())?"min":"max",w=$e(s[S]-r.get()),k=o.get()-r.get(),R=g.constrain(w/m);o.subtract(k*R),!T&&$e(k){const{min:k,max:R}=d,V=d.constrain(S),Y=!w,X=ju(o,w);return Y?R:X||p(k,V)?k:p(R,V)?R:V}).map(S=>parseFloat(S.toFixed(3)))}function j(){if(r<=s+f)return[d.max];if(u==="keepSnaps")return m;const{min:S,max:w}=g;return m.slice(S,w)}return{snapsContained:x,scrollContainLimit:g}}function e0(s,r,o){const u=r[0],f=o?u-s:tl(r);return{limit:Da(f,u)}}function t0(s,r,o,u){const d=r.min+.1,m=r.max+.1,{reachedMin:g,reachedMax:x}=Da(d,m);function p(j){return j===1?x(o.get()):j===-1?g(o.get()):!1}function y(j){if(!p(j))return;const T=s*(j*-1);u.forEach(S=>S.add(T))}return{loop:y}}function l0(s){const{max:r,length:o}=s;function u(d){const m=d-r;return o?m/-o:0}return{get:u}}function a0(s,r,o,u,f){const{startEdge:d,endEdge:m}=s,{groupSlides:g}=f,x=b().map(r.measure),p=j(),y=T();function b(){return g(u).map(w=>tl(w)[m]-w[0][d]).map($e)}function j(){return u.map(w=>o[d]-w[d]).map(w=>-$e(w))}function T(){return g(p).map(w=>w[0]).map((w,k)=>w+x[k])}return{snaps:p,snapsAligned:y}}function n0(s,r,o,u,f,d){const{groupSlides:m}=f,{min:g,max:x}=u,p=y();function y(){const j=m(d),T=!s||r==="keepSnaps";return o.length===1?[d]:T?j:j.slice(g,x).map((S,w,k)=>{const R=!w,V=ju(k,w);if(R){const Y=tl(k[0])+1;return Jh(Y)}if(V){const Y=Xs(d)-tl(k)[0]+1;return Jh(Y,tl(k)[0])}return S})}return{slideRegistry:p}}function s0(s,r,o,u,f){const{reachedAny:d,removeOffset:m,constrain:g}=u;function x(S){return S.concat().sort((w,k)=>$e(w)-$e(k))[0]}function p(S){const w=s?m(S):g(S),k=r.map((V,Y)=>({diff:y(V-w,0),index:Y})).sort((V,Y)=>$e(V.diff)-$e(Y.diff)),{index:R}=k[0];return{index:R,distance:w}}function y(S,w){const k=[S,S+o,S-o];if(!s)return S;if(!w)return x(k);const R=k.filter(V=>yu(V)===w);return R.length?x(R):tl(k)-o}function b(S,w){const k=r[S]-f.get(),R=y(k,w);return{index:S,distance:R}}function j(S,w){const k=f.get()+S,{index:R,distance:V}=p(k),Y=!s&&d(k);if(!w||Y)return{index:R,distance:S};const X=r[R]-V,G=S+y(X,0);return{index:R,distance:G}}return{byDistance:j,byIndex:b,shortcut:y}}function i0(s,r,o,u,f,d,m){function g(b){const j=b.distance,T=b.index!==r.get();d.add(j),j&&(u.duration()?s.start():(s.update(),s.render(1),s.update())),T&&(o.set(r.get()),r.set(b.index),m.emit("select"))}function x(b,j){const T=f.byDistance(b,j);g(T)}function p(b,j){const T=r.clone().set(b),S=f.byIndex(T.get(),j);g(S)}return{distance:x,index:p}}function r0(s,r,o,u,f,d,m,g){const x={passive:!0,capture:!0};let p=0;function y(T){if(!g)return;function S(w){if(new Date().getTime()-p>10)return;m.emit("slideFocusStart"),s.scrollLeft=0;const V=o.findIndex(Y=>Y.includes(w));bu(V)&&(f.useDuration(0),u.index(V,0),m.emit("slideFocus"))}d.add(document,"keydown",b,!1),r.forEach((w,k)=>{d.add(w,"focus",R=>{(xr(g)||g(T,R))&&S(k)},x)})}function b(T){T.code==="Tab"&&(p=new Date().getTime())}return{init:y}}function ks(s){let r=s;function o(){return r}function u(x){r=m(x)}function f(x){r+=m(x)}function d(x){r-=m(x)}function m(x){return bu(x)?x:x.get()}return{get:o,set:u,add:f,subtract:d}}function Yp(s,r){const o=s.scroll==="x"?m:g,u=r.style;let f=null,d=!1;function m(j){return`translate3d(${j}px,0px,0px)`}function g(j){return`translate3d(0px,${j}px,0px)`}function x(j){if(d)return;const T=Gy(s.direction(j));T!==f&&(u.transform=o(T),f=T)}function p(j){d=!j}function y(){d||(u.transform="",r.getAttribute("style")||r.removeAttribute("style"))}return{clear:y,to:x,toggleActive:p}}function c0(s,r,o,u,f,d,m,g,x){const y=Bs(f),b=Bs(f).reverse(),j=R().concat(V());function T($,F){return $.reduce((le,Z)=>le-f[Z],F)}function S($,F){return $.reduce((le,Z)=>T(le,F)>0?le.concat([Z]):le,[])}function w($){return d.map((F,le)=>({start:F-u[le]+.5+$,end:F+r-.5+$}))}function k($,F,le){const Z=w(F);return $.map(ne=>{const ye=le?0:-o,Ge=le?o:0,Qe=le?"end":"start",re=Z[ne][Qe];return{index:ne,loopPoint:re,slideLocation:ks(-1),translate:Yp(s,x[ne]),target:()=>g.get()>re?ye:Ge}})}function R(){const $=m[0],F=S(b,$);return k(F,o,!1)}function V(){const $=r-m[0]-1,F=S(y,$);return k(F,-o,!0)}function Y(){return j.every(({index:$})=>{const F=y.filter(le=>le!==$);return T(F,r)<=.1})}function X(){j.forEach($=>{const{target:F,translate:le,slideLocation:Z}=$,ne=F();ne!==Z.get()&&(le.to(ne),Z.set(ne))})}function G(){j.forEach($=>$.translate.clear())}return{canLoop:Y,clear:G,loop:X,loopPoints:j}}function o0(s,r,o){let u,f=!1;function d(x){if(!o)return;function p(y){for(const b of y)if(b.type==="childList"){x.reInit(),r.emit("slidesChanged");break}}u=new MutationObserver(y=>{f||(xr(o)||o(x,y))&&p(y)}),u.observe(s,{childList:!0})}function m(){u&&u.disconnect(),f=!0}return{init:d,destroy:m}}function u0(s,r,o,u){const f={};let d=null,m=null,g,x=!1;function p(){g=new IntersectionObserver(S=>{x||(S.forEach(w=>{const k=r.indexOf(w.target);f[k]=w}),d=null,m=null,o.emit("slidesInView"))},{root:s.parentElement,threshold:u}),r.forEach(S=>g.observe(S))}function y(){g&&g.disconnect(),x=!0}function b(S){return qs(f).reduce((w,k)=>{const R=parseInt(k),{isIntersecting:V}=f[R];return(S&&V||!S&&!V)&&w.push(R),w},[])}function j(S=!0){if(S&&d)return d;if(!S&&m)return m;const w=b(S);return S&&(d=w),S||(m=w),w}return{init:p,destroy:y,get:j}}function f0(s,r,o,u,f,d){const{measureSize:m,startEdge:g,endEdge:x}=s,p=o[0]&&f,y=S(),b=w(),j=o.map(m),T=k();function S(){if(!p)return 0;const V=o[0];return $e(r[g]-V[g])}function w(){if(!p)return 0;const V=d.getComputedStyle(tl(u));return parseFloat(V.getPropertyValue(`margin-${x}`))}function k(){return o.map((V,Y,X)=>{const G=!Y,J=ju(X,Y);return G?j[Y]+y:J?j[Y]+b:X[Y+1][g]-V[g]}).map($e)}return{slideSizes:j,slideSizesWithGaps:T,startGap:y,endGap:b}}function d0(s,r,o,u,f,d,m,g,x){const{startEdge:p,endEdge:y,direction:b}=s,j=bu(o);function T(R,V){return Bs(R).filter(Y=>Y%V===0).map(Y=>R.slice(Y,Y+V))}function S(R){return R.length?Bs(R).reduce((V,Y,X)=>{const G=tl(V)||0,J=G===0,$=Y===Xs(R),F=f[p]-d[G][p],le=f[p]-d[Y][y],Z=!u&&J?b(m):0,ne=!u&&$?b(g):0,ye=$e(le-ne-(F+Z));return X&&ye>r+x&&V.push(Y),$&&V.push(R.length),V},[]).map((V,Y,X)=>{const G=Math.max(X[Y-1]||0);return R.slice(G,V)}):[]}function w(R){return j?T(R,o):S(R)}return{groupSlides:w}}function m0(s,r,o,u,f,d,m){const{align:g,axis:x,direction:p,startIndex:y,loop:b,duration:j,dragFree:T,dragThreshold:S,inViewThreshold:w,slidesToScroll:k,skipSnaps:R,containScroll:V,watchResize:Y,watchSlides:X,watchDrag:G,watchFocus:J}=d,$=2,F=Ky(),le=F.measure(r),Z=o.map(F.measure),ne=Xy(x,p),ye=ne.measureSize(le),Ge=Jy(ye),Qe=$y(g,ye),re=!b&&!!V,O=b||!!V,{slideSizes:Q,slideSizesWithGaps:ae,startGap:he,endGap:je}=f0(ne,le,Z,o,O,f),E=d0(ne,ye,k,b,le,Z,he,je,$),{snaps:B,snapsAligned:K}=a0(ne,Qe,le,Z,E),W=-tl(B)+tl(ae),{snapsContained:ce,scrollContainLimit:fe}=Py(ye,W,K,V,$),oe=re?ce:K,{limit:we}=e0(W,oe,b),Ee=qp(Xs(oe),y,b),at=Ee.clone(),ke=Bs(o),ee=({dragHandler:vl,scrollBody:Ln,scrollBounds:Hn,options:{loop:sl}})=>{sl||Hn.constrain(vl.pointerDown()),Ln.seek()},Ae=({scrollBody:vl,translate:Ln,location:Hn,offsetLocation:sl,previousLocation:xt,scrollLooper:il,slideLooper:vt,dragHandler:br,animation:yr,eventHandler:Ks,scrollBounds:La,options:{loop:pa}},ga)=>{const rl=vl.settled(),Ha=!La.shouldConstrain(),Hl=pa?rl:rl&&Ha,Js=Hl&&!br.pointerDown();Js&&yr.stop();const Ws=Hn.get()*ga+xt.get()*(1-ga);sl.set(Ws),pa&&(il.loop(vl.direction()),vt.loop()),Ln.to(sl.get()),Js&&Ks.emit("settle"),Hl||Ks.emit("scroll")},Me=Qy(u,f,()=>ee(Un),vl=>Ae(Un,vl)),tt=.68,jt=oe[Ee.get()],Wt=ks(jt),nl=ks(jt),Ht=ks(jt),Ft=ks(jt),xl=Fy(Wt,Ht,nl,Ft,j,tt),On=s0(b,oe,W,we,Ft),Dn=i0(Me,Ee,at,xl,On,Ft,m),mt=l0(we),Vs=Ys(),Zs=u0(r,o,m,w),{slideRegistry:Rn}=n0(re,V,oe,fe,E,ke),Ua=r0(s,o,Rn,Dn,xl,Vs,m,J),Un={ownerDocument:u,ownerWindow:f,eventHandler:m,containerRect:le,slideRects:Z,animation:Me,axis:ne,dragHandler:Vy(ne,s,u,f,Ft,Zy(ne,f),Wt,Me,Dn,xl,On,Ee,m,Ge,T,S,R,tt,G),eventStore:Vs,percentOfView:Ge,index:Ee,indexPrevious:at,limit:we,location:Wt,offsetLocation:Ht,previousLocation:nl,options:d,resizeHandler:Wy(r,m,f,o,ne,Y,F),scrollBody:xl,scrollBounds:Iy(we,Ht,Ft,xl,Ge),scrollLooper:t0(W,we,Ht,[Wt,Ht,nl,Ft]),scrollProgress:mt,scrollSnapList:oe.map(mt.get),scrollSnaps:oe,scrollTarget:On,scrollTo:Dn,slideLooper:c0(ne,ye,W,Q,ae,B,oe,Ht,o),slideFocus:Ua,slidesHandler:o0(r,m,X),slidesInView:Zs,slideIndexes:ke,slideRegistry:Rn,slidesToScroll:E,target:Ft,translate:Yp(ne,r)};return Un}function h0(){let s={},r;function o(p){r=p}function u(p){return s[p]||[]}function f(p){return u(p).forEach(y=>y(r,p)),x}function d(p,y){return s[p]=u(p).concat([y]),x}function m(p,y){return s[p]=u(p).filter(b=>b!==y),x}function g(){s={}}const x={init:o,emit:f,off:m,on:d,clear:g};return x}const p0={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function g0(s){function r(d,m){return Bp(d,m||{})}function o(d){const m=d.breakpoints||{},g=qs(m).filter(x=>s.matchMedia(x).matches).map(x=>m[x]).reduce((x,p)=>r(x,p),{});return r(d,g)}function u(d){return d.map(m=>qs(m.breakpoints||{})).reduce((m,g)=>m.concat(g),[]).map(s.matchMedia)}return{mergeOptions:r,optionsAtMedia:o,optionsMediaQueries:u}}function x0(s){let r=[];function o(d,m){return r=m.filter(({options:g})=>s.optionsAtMedia(g).active!==!1),r.forEach(g=>g.init(d,s)),m.reduce((g,x)=>Object.assign(g,{[x.name]:x}),{})}function u(){r=r.filter(d=>d.destroy())}return{init:o,destroy:u}}function mr(s,r,o){const u=s.ownerDocument,f=u.defaultView,d=g0(f),m=x0(d),g=Ys(),x=h0(),{mergeOptions:p,optionsAtMedia:y,optionsMediaQueries:b}=d,{on:j,off:T,emit:S}=x,w=ne;let k=!1,R,V=p(p0,mr.globalOptions),Y=p(V),X=[],G,J,$;function F(){const{container:ke,slides:ee}=Y;J=(Fo(ke)?s.querySelector(ke):ke)||s.children[0];const Me=Fo(ee)?J.querySelectorAll(ee):ee;$=[].slice.call(Me||J.children)}function le(ke){const ee=m0(s,J,$,u,f,ke,x);if(ke.loop&&!ee.slideLooper.canLoop()){const Ae=Object.assign({},ke,{loop:!1});return le(Ae)}return ee}function Z(ke,ee){k||(V=p(V,ke),Y=y(V),X=ee||X,F(),R=le(Y),b([V,...X.map(({options:Ae})=>Ae)]).forEach(Ae=>g.add(Ae,"change",ne)),Y.active&&(R.translate.to(R.location.get()),R.animation.init(),R.slidesInView.init(),R.slideFocus.init(at),R.eventHandler.init(at),R.resizeHandler.init(at),R.slidesHandler.init(at),R.options.loop&&R.slideLooper.loop(),J.offsetParent&&$.length&&R.dragHandler.init(at),G=m.init(at,X)))}function ne(ke,ee){const Ae=E();ye(),Z(p({startIndex:Ae},ke),ee),x.emit("reInit")}function ye(){R.dragHandler.destroy(),R.eventStore.clear(),R.translate.clear(),R.slideLooper.clear(),R.resizeHandler.destroy(),R.slidesHandler.destroy(),R.slidesInView.destroy(),R.animation.destroy(),m.destroy(),g.clear()}function Ge(){k||(k=!0,g.clear(),ye(),x.emit("destroy"),x.clear())}function Qe(ke,ee,Ae){!Y.active||k||(R.scrollBody.useBaseFriction().useDuration(ee===!0?0:Y.duration),R.scrollTo.index(ke,Ae||0))}function re(ke){const ee=R.index.add(1).get();Qe(ee,ke,-1)}function O(ke){const ee=R.index.add(-1).get();Qe(ee,ke,1)}function Q(){return R.index.add(1).get()!==E()}function ae(){return R.index.add(-1).get()!==E()}function he(){return R.scrollSnapList}function je(){return R.scrollProgress.get(R.offsetLocation.get())}function E(){return R.index.get()}function B(){return R.indexPrevious.get()}function K(){return R.slidesInView.get()}function W(){return R.slidesInView.get(!1)}function ce(){return G}function fe(){return R}function oe(){return s}function we(){return J}function Ee(){return $}const at={canScrollNext:Q,canScrollPrev:ae,containerNode:we,internalEngine:fe,destroy:Ge,off:T,on:j,emit:S,plugins:ce,previousScrollSnap:B,reInit:w,rootNode:oe,scrollNext:re,scrollPrev:O,scrollProgress:je,scrollSnapList:he,scrollTo:Qe,selectedScrollSnap:E,slideNodes:Ee,slidesInView:K,slidesNotInView:W};return Z(r,o),setTimeout(()=>x.emit("init"),0),at}mr.globalOptions=void 0;function Nu(s={},r=[]){const o=U.useRef(s),u=U.useRef(r),[f,d]=U.useState(),[m,g]=U.useState(),x=U.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return U.useEffect(()=>{vu(o.current,s)||(o.current=s,x())},[s,x]),U.useEffect(()=>{qy(u.current,r)||(u.current=r,x())},[r,x]),U.useEffect(()=>{if(By()&&m){mr.globalOptions=Nu.globalOptions;const p=mr(m,o.current,u.current);return d(p),()=>p.destroy()}else d(void 0)},[m,d]),[g,f]}Nu.globalOptions=void 0;const Su=4500;function wu({box:s,interval:r,advance:o}){const u=U.useRef(o);u.current=o,U.useEffect(()=>{const f=s.current;if(!f||r<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,m=!0;const g=()=>{d+=1},x=()=>{d=Math.max(0,d-1)},p=window.setInterval(()=>{d>0||document.hidden||!m||u.current()||window.clearInterval(p)},r),y=new IntersectionObserver(([w])=>{m=w.isIntersecting},{threshold:.25});y.observe(f);const b=window.matchMedia("(hover: hover) and (pointer: fine)").matches;b&&(f.addEventListener("pointerenter",g),f.addEventListener("pointerleave",x));let j=!1;const T=w=>{const k=w.target;!(k instanceof Element)||!k.matches(":focus-visible")||j||(j=!0,g())},S=()=>{j&&(j=!1,x())};return f.addEventListener("focusin",T),f.addEventListener("focusout",S),f.addEventListener("pointerdown",g,!0),window.addEventListener("pointerup",x,!0),window.addEventListener("pointercancel",x,!0),()=>{window.clearInterval(p),y.disconnect(),b&&(f.removeEventListener("pointerenter",g),f.removeEventListener("pointerleave",x)),f.removeEventListener("focusin",T),f.removeEventListener("focusout",S),f.removeEventListener("pointerdown",g,!0),window.removeEventListener("pointerup",x,!0),window.removeEventListener("pointercancel",x,!0)}},[s,r])}function Gp(s,r=.85){if(!s)return!1;const o=s.scrollWidth-s.clientWidth;if(o<=8||s.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return s.scrollBy({left:s.clientWidth*r,behavior:u?"auto":"smooth"}),!0}function vr({label:s,children:r,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:m=1,autoplay:g=Su,onSelect:x,onReady:p,className:y}){const b=g===!1?0:g,[j,T]=Nu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[S,w]=U.useState([]),[k,R]=U.useState(0),[V,Y]=U.useState(!1),[X,G]=U.useState(!1),J=U.useRef(null),$=U.useId();U.useEffect(()=>{var Q;if(!T)return;const re=()=>{R(T.selectedScrollSnap()),Y(T.canScrollPrev()),G(T.canScrollNext())},O=()=>{w(T.scrollSnapList()),re()};return O(),T.on("select",re),T.on("reInit",O),(Q=J.current)==null||Q.setAttribute("data-slider","on"),()=>{T.off("select",re),T.off("reInit",O)}},[T]),U.useEffect(()=>{if(!T)return;const re=J.current,O=()=>re==null?void 0:re.setAttribute("data-dragging","true"),Q=()=>re==null?void 0:re.removeAttribute("data-dragging");return T.on("pointerDown",O),T.on("pointerUp",Q),()=>{T.off("pointerDown",O),T.off("pointerUp",Q)}},[T]),wu({box:J,interval:b,advance:()=>!T||T.scrollSnapList().length<=1?!0:T.canScrollNext()?(T.scrollNext(),!0):!1});const F=U.useCallback(re=>T==null?void 0:T.scrollTo(re),[T]),le=U.useRef(x);le.current=x;const Z=U.useRef(p);Z.current=p,U.useEffect(()=>{var O;if(!T)return;const re=()=>{var Q;return(Q=le.current)==null?void 0:Q.call(le,T.selectedScrollSnap())};return re(),T.on("select",re),T.on("reInit",re),(O=Z.current)==null||O.call(Z,{scrollTo:Q=>T.scrollTo(Q)}),()=>{T.off("select",re),T.off("reInit",re)}},[T]);const ne=U.useCallback(()=>T==null?void 0:T.scrollPrev(),[T]),ye=U.useCallback(()=>T==null?void 0:T.scrollNext(),[T]),Ge=S.length>1,Qe=f&&Ge&&S.length<=12;return n.jsxs("div",{className:y,children:[d==="header"&&Ge&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Wh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Wh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:re=>{J.current=re,j(re)},className:"slider-viewport",role:"group","aria-roledescription":"캐러셀","aria-label":s,tabIndex:0,onKeyDown:re=>{re.key==="ArrowLeft"&&(re.preventDefault(),ne()),re.key==="ArrowRight"&&(re.preventDefault(),ye())},children:n.jsx("div",{className:"slider-track",style:{gap:`${m}rem`},id:$,children:r})}),d==="overlay"&&Ge&&n.jsxs(n.Fragment,{children:[n.jsx(Fh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Fh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]})]}),Ge&&n.jsxs("div",{className:"mt-4 flex items-center justify-center gap-3",children:[Qe&&n.jsx("ul",{className:"flex items-center gap-1.5",children:S.map((re,O)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>F(O),"aria-label":`${O+1}번째로`,"aria-current":O===k,"aria-controls":$,className:`h-1.5 rounded-full transition-all ${O===k?"w-6 bg-current opacity-95":"w-1.5 bg-current opacity-20 hover:opacity-90"}`})},O))}),n.jsxs("span",{className:"text-current/80 text-[length:var(--fs-xs)] tabular-nums",children:[k+1," / ",S.length]})]})]})}function $p({basis:s,children:r}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${s}`,"aria-roledescription":"슬라이드",children:r})}function Wh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-95 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function Fh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:`tap absolute top-1/2 z-10 hidden -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:opacity-0 sm:flex ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function Eu({children:s,className:r="",as:o="div"}){return n.jsx(o,{className:`panel ${r}`,children:s})}function zu({children:s}){return n.jsx("span",{className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/5 px-2.5 py-1 text-[length:var(--fs-xs)]",children:s})}function Qp({label:s,value:r,note:o}){return n.jsxs("div",{className:"divide-line flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-6",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] font-medium sm:w-40",children:s}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[r,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function Ih({href:s,children:r,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:s,...u?{target:"_blank",rel:"noopener noreferrer"}:{},className:`tap inline-flex items-center justify-center gap-2 rounded-lg px-4 text-[length:var(--fs-sm)] font-semibold transition-opacity hover:opacity-95 ${d?"":"border-line tpl-border border bg-current/5"}`,style:d?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:[f,n.jsx("span",{children:r}),u&&n.jsx(zn,{className:"size-4 shrink-0"})]})}function v0(){const s=te(),{narrative:r,place:o}=s,u=Jb(s,"intro"),f=u.length>0?u:r.about;if(f.length===0)return null;const d=fu(s).find(g=>!g.isPrimary),m=r.heroSubline??`${o.name} 소개`;return n.jsx(gt,{id:"about",bare:!0,title:m,children:n.jsxs("div",{className:"grid grid-cols-1 items-center gap-8 lg:grid-cols-12 lg:gap-14",children:[d&&n.jsxs("figure",{className:"lg:col-span-7",children:[n.jsx("div",{className:"tpl-border border-line relative aspect-4/3 max-h-[26rem] overflow-hidden rounded-xl border lg:aspect-3/2",children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover"})}),d.caption&&n.jsx("figcaption",{className:"text-muted mt-2 text-[length:var(--fs-xs)]",children:d.caption})]}),n.jsxs("div",{className:d?"lg:col-span-5":"lg:col-span-12",children:[n.jsxs("h2",{id:"about-heading",className:"h2 mb-6 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:m})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((g,x)=>n.jsx("p",{children:g},x))})]})]})})}const b0=new Set(["가능","불가","있음","없음"]),Ph=s=>!s.note&&b0.has(s.value.trim()),y0=new Set(["체크인 시간","체크아웃 시간","취소·환불 규정","취사 가능","반려동물 동반","흡연 가능","인원 추가 요금"]);function j0(){var T,S;const s=te(),r=ou(s),o=Tn(s.facts).find(w=>w.key==="intro"),u=((T=o==null?void 0:o.summary)==null?void 0:T.trim())||((S=o==null?void 0:o.value)==null?void 0:S.trim())||s.narrative.summary||dy(s),f=s.links.filter(w=>{var k,R,V;return w.confirmed&&[(k=w.stayGuide)==null?void 0:k.policy,(R=w.stayGuide)==null?void 0:R.service,(V=w.stayGuide)==null?void 0:V.reservation].some(Y=>Y==null?void 0:Y.trim())}),d=f.flatMap(w=>{var k;return((k=w.stayGuide)==null?void 0:k.fields)??[]}),m=[...r],g=new Set(r.map(w=>w.key));for(const w of d)g.has(w.key)||(m.push(w),g.add(w.key));const x=w=>["cooking_allowed","smoking"].includes(w.key??"")?!1:y0.has(w.label)||d.some(k=>k.key===w.key&&k.group==="rules"),p=s.facts.filter(w=>w.scope==="place"&&!r.some(k=>k.label===w.label)).length,y=f.map(w=>{var k;return((k=w.stayGuide)==null?void 0:k.reservation)??""}).filter(w=>w.trim());if(r.length===0&&d.length===0&&y.length===0)return null;const b=m.filter(x),j=m.filter(w=>!x(w)&&w.key!=="intro");return n.jsx(gt,{id:"info",tone:"alt",title:"이용안내 및 예약",lead:"방문 전 확인이 필요한 운영 규정과 시설 안내입니다.",footnote:n.jsxs("span",{className:"flex flex-col gap-1 sm:flex-row sm:justify-between",children:[n.jsx("span",{children:p>0?`확인 중인 항목 ${p}개는 표시하지 않았습니다. 필요하시면 전화로 문의해 주세요.`:"등록 정보와 수집한 안내를 기준으로 표시합니다."}),n.jsxs("span",{className:"font-medium",children:[Lp(s.site.updatedAt)," 기준"]})]}),children:n.jsxs("div",{className:"space-y-8",children:[u&&n.jsx("p",{className:"measure text-[length:var(--fs-body)] leading-relaxed",children:u}),b.length>0&&n.jsx(ep,{title:"예약 전 확인",rows:b,emphasis:!0}),j.length>0&&n.jsx(ep,{title:"시설 · 편의",rows:j.filter(w=>!Ph(w)),children:n.jsx(N0,{rows:j.filter(Ph)})}),y.map(w=>n.jsx(S0,{text:w},w.slice(0,32))),n.jsx(w0,{})]})})}function ep({title:s,rows:r,emphasis:o,children:u}){return n.jsxs("section",{children:[n.jsxs("h3",{className:"border-line mb-3 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[o&&n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{children:s})]}),u,r.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:r.map((f,d)=>{const m=!f.note&&f.value.length<=24;return n.jsxs("div",{className:m?"flex flex-row items-baseline gap-3 py-2.5 sm:gap-6":"flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:`text-muted text-[length:var(--fs-sm)] ${m?"w-24 shrink-0 sm:w-40":"sm:w-40 sm:shrink-0"}`,children:f.label}),n.jsxs("dd",{className:"measure min-w-0 whitespace-pre-line break-words text-[length:var(--fs-sm)] font-semibold",children:[f.value,f.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:f.note})]})]},`${f.label}-${d}`)})})]})}const Yo=new Set(["가능","있음"]);function N0({rows:s}){if(s.length===0)return null;const r=[...s].sort((o,u)=>Number(Yo.has(u.value))-Number(Yo.has(o.value)));return n.jsx("ul",{className:"mb-2 grid grid-cols-2 gap-x-5 sm:grid-cols-3 lg:grid-cols-4",children:r.map(o=>{const u=Yo.has(o.value);return n.jsxs("li",{className:"flex items-center gap-2 py-2 text-[length:var(--fs-sm)]",children:[u?n.jsx(nu,{className:"size-4 shrink-0",style:{color:"var(--color-brand)"},"aria-hidden":!0}):n.jsx(iu,{className:"text-muted size-4 shrink-0","aria-hidden":!0}),n.jsxs("span",{className:u?"min-w-0":"text-muted min-w-0",children:[n.jsx("span",{className:"font-semibold",children:o.label})," ",o.value]})]},o.key??o.label)})})}function S0({text:s}){return s.trim()?n.jsxs("details",{className:"panel group overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-2 px-4 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{className:"flex-1",children:"예약 공지"}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line whitespace-pre-line border-t px-4 pb-4 pt-3 text-[length:var(--fs-sm)] leading-relaxed",children:s})]}):null}function w0(){const s=te(),r=Ze(s),o=s.place.phone;return!o&&r.length===0?null:n.jsxs("div",{className:"border-line flex flex-col gap-3 border-t pt-6 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("p",{className:"text-[length:var(--fs-sm)] font-semibold",children:[s.place.name," 예약은 아래로 받습니다."]}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[o&&n.jsxs("a",{href:`tel:${o}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:o})]}),r.map(u=>n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u)},u.url))]})]})}function E0(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx(gt,{id:"units",title:qe(s,r.path,`${r.label} 안내`),children:n.jsx("ul",{className:"mt-2 flex flex-col gap-14 lg:gap-20",children:o.map((f,d)=>n.jsxs("li",{className:"grid items-center gap-7 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-2":""}`,children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 rounded-lg overflow-hidden",children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),f.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:f.images.slice(1,4).map(m=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]}),n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-1":""}`,children:[n.jsx("h3",{className:"h2",children:f.name}),f.intro&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed opacity-90",children:f.intro}),f.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:m.label}),n.jsx("span",{className:"font-medium",children:m.value})]})},m.label))}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u,f.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),f.rows.length>0&&n.jsxs("details",{className:"group border-line mt-4 border-t pt-2",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[f.name," 구성 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right font-semibold",children:m.value})]},m.label))})]})]})]},f.unitId))})})}function z0(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0],[f,d]=U.useState(0);return o.length===0?null:n.jsxs(gt,{id:"units",title:qe(s,r.path,`${r.label} 안내`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":r.label,children:o.map((m,g)=>n.jsx("button",{type:"button",role:"tab","aria-selected":g===f,"aria-controls":`unit-panel-${m.slug}`,onClick:()=>d(g),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${g===f?"opacity-100":"border-transparent opacity-90 hover:opacity-90"}`,style:g===f?{borderColor:"var(--color-brand)"}:void 0,children:m.name},m.unitId))}),o.map((m,g)=>n.jsxs("div",{id:`unit-panel-${m.slug}`,role:"tabpanel",hidden:g!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),m.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:m.images.slice(1,4).map(x=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},x.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:m.name}),m.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:m.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),m.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:m.rows.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.label))}),n.jsxs("div",{className:"mt-5 flex gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u,m.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]})]})]},m.unitId))]})}function T0(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];if(o.length===0)return null;const f=o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",d=ll(s,"info")?[]:ou(s);return n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"calc(var(--section-space) * 1.4)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(hu,{id:"units",title:qe(s,r.path,`${r.label} 안내`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(m=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})}),n.jsx("h3",{className:"serif mt-6",style:{fontSize:"var(--fs-h3)",fontWeight:300,letterSpacing:"0.04em"},children:m.name}),m.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"text-muted mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)] font-light",children:m.chips.map(g=>n.jsxs("li",{children:[g.label," ",g.value]},g.label))}),(m.rows.length>0||m.images.length>1)&&n.jsxs("details",{className:"border-line mt-5 border-t",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center text-[length:var(--fs-sm)] font-light opacity-95 marker:content-none [&::-webkit-details-marker]:hidden",children:"자세히 보기"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[m.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:m.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right",children:g.value})]},g.label))}),m.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:m.images.slice(1).map(g=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},g.mediaId))})]})]})]},m.unitId))}),d.length>0&&n.jsx("dl",{className:"divide-line border-line mx-auto mt-16 max-w-2xl divide-y border-t",children:d.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-3 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right",children:m.value})]},m.label))}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-14 flex flex-wrap items-center justify-center gap-4",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-opacity hover:opacity-95",children:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tabular-nums tracking-[0.08em] transition-opacity hover:opacity-95",children:s.place.phone})]})]})})}function A0(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsxs("section",{id:"units","data-oasi":!0,"aria-labelledby":"units-heading",className:"pt-[var(--oasi-gap)]",children:[n.jsx(pu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-20 lg:space-y-28",children:o.map(f=>n.jsxs("li",{children:[f.images[0]&&n.jsxs("figure",{className:"relative mx-auto w-full max-w-[34rem]",children:[n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"block h-[clamp(15rem,24vw,21rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:f.name})]}),n.jsx("h3",{className:"mt-8 text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:f.name}),f.chips.length>0&&n.jsx("p",{className:"text-muted mt-2 text-[length:var(--fs-xs)] leading-[1.9]",children:f.chips.map(d=>`${d.label} ${d.value}`).join(" · ")}),f.intro&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-xs)] leading-[1.9]",children:f.intro}),f.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-6 divide-y border-t text-[length:var(--fs-xs)]",children:f.rows.map(d=>n.jsxs("div",{className:"flex items-baseline justify-between gap-6 py-2.5",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right",children:d.value})]},d.label))}),f.images.length>1&&n.jsx("ul",{className:"mx-auto mt-6 grid w-full max-w-[34rem] grid-cols-2 gap-2",children:f.images.slice(1).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",className:"block aspect-[4/3] w-full object-cover"})},d.mediaId))}),(u||s.place.phone)&&n.jsxs("p",{className:"mt-6 flex flex-wrap items-center gap-x-8 text-[length:var(--fs-sm)]",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:s.place.phone})]})]},f.unitId))})]})}function _0(){const s=te(),r=dt(s),o=hl(s);return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"w-full",style:{paddingBlock:"var(--section-space)",backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(gu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-16 sm:space-y-24",children:o.map(u=>n.jsxs("li",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"min-w-0 lg:col-span-7",children:[u.images[0]&&n.jsx("img",{src:u.images[0].url,alt:u.images[0].alt,loading:"lazy",decoding:"async",width:u.images[0].width,height:u.images[0].height,className:"block h-auto w-full"}),u.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2",children:u.images.slice(1).map(f=>n.jsx("li",{children:n.jsx("img",{src:f.url,alt:f.alt,loading:"lazy",decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})]}),n.jsxs("div",{className:"min-w-0 lg:col-span-5",children:[n.jsx("h3",{className:"serif min-w-0 break-keep font-extrabold",style:{fontSize:"var(--fs-h3)",letterSpacing:"0.02em",lineHeight:1.35},children:u.name}),u.chips.length>0&&n.jsx("dl",{className:"mt-4 space-y-1.5",children:u.chips.map(f=>n.jsxs("div",{className:"flex gap-3 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted w-20 shrink-0",children:f.label}),n.jsx("dd",{className:"min-w-0 font-medium",children:f.value})]},f.label))}),u.intro&&n.jsx("p",{className:"text-muted measure mt-5 text-[length:var(--fs-sm)]",style:{lineHeight:1.8},children:u.intro})]})]},u.unitId))})]})})}function C0(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading","data-pastel":"own",className:"w-full",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(xu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:gap-8",children:o.map((f,d)=>n.jsxs("li",{className:"flex flex-col overflow-hidden p-4 sm:p-5",style:{backgroundColor:d%2===0?"var(--pastel-1)":"var(--pastel-2)",borderRadius:"calc(var(--tpl-radius, 0.75rem) * 1.35)"},children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",style:{borderRadius:"var(--tpl-radius, 0.75rem)"},children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 px-1 pt-4",children:[n.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:n.jsx("h3",{className:"h3",style:{fontWeight:800},children:f.name})}),f.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsxs("li",{className:"inline-flex items-center gap-1 rounded-full px-3 py-1 text-[length:var(--fs-xs)]",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 70%, transparent)"},children:[n.jsx("span",{className:"opacity-95",children:m.label}),n.jsx("span",{className:"font-bold",children:m.value})]},m.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:f.intro})]}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-4 flex gap-2 px-1",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-full text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:pt(u)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap flex items-center justify-center gap-1.5 rounded-full px-5 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 75%, transparent)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),(f.rows.length>0||f.images.length>1)&&n.jsxs("details",{className:"group mt-3 px-1",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsxs("span",{children:[f.name," 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsxs("div",{className:"space-y-4 pb-1",children:[f.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"shrink-0 opacity-95",children:m.label}),n.jsx("dd",{className:"text-right font-bold",children:m.value})]},m.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(m=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",style:{borderRadius:"calc(var(--tpl-radius, 0.75rem) * 0.7)"},children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]})]})]},f.unitId))})]})})}function k0(){const s=te(),r=hl(s),o=dt(s),u=Ze(s)[0];return r.length===0?null:n.jsxs("section",{id:"units","aria-labelledby":"units-heading",className:"border-line w-full border-b",style:{backgroundColor:"var(--tpl-surface)",backgroundImage:Hs,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(du,{id:"units",title:qe(s,o.path,`${o.label} ${r.length}개 안내`)})}),r.map((f,d)=>n.jsx(M0,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:s.place.phone},f.unitId))]})}function M0({unit:s,no:r,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs}:void 0,children:n.jsxs("div",{className:"shell grid grid-cols-12 gap-y-6 py-10 xl:gap-x-10 xl:py-16",children:[n.jsxs("div",{className:"col-span-12 xl:col-span-5 xl:pr-8",children:[n.jsxs("div",{className:"relative",children:[n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute -top-1 left-0 select-none leading-none tabular-nums",style:{fontSize:"clamp(3rem, 8vw, 6rem)",fontWeight:800,opacity:.1},children:r}),n.jsx("h3",{className:"serif relative pt-7 xl:pt-12",style:{fontSize:"clamp(1.5rem, 3vw, 2.25rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-0.02em"},children:s.name})]}),s.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed opacity-95",children:s.intro}),s.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:s.rows.map(d=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-6 border-b py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right font-semibold",children:d.value})]},d.label))}),(u||f)&&n.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:pt(u)}),f&&n.jsx("a",{href:`tel:${f}`,className:"tap inline-flex items-center underline underline-offset-4",children:f})]})]}),n.jsxs("div",{className:"col-span-12 xl:col-span-7 xl:-ml-10",children:[s.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:s.images[0].url,alt:s.images[0].alt,loading:"lazy",decoding:"async",width:s.images[0].width,height:s.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),s.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:s.images[1].url,alt:s.images[1].alt,loading:"lazy",decoding:"async",width:s.images[1].width,height:s.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),s.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:s.images.slice(2).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"w-full object-cover",style:{aspectRatio:"3 / 2"}})},d.mediaId))})]})})}function Go(){var m;const s=te(),r=dt(s),o=gr();if(o==="reservation")return n.jsx(T0,{});if(o==="oasi")return n.jsx(A0,{});if(o==="studio")return n.jsx(_0,{});if(o==="pastel")return n.jsx(C0,{});if(o==="editorial")return n.jsx(k0,{});const u=(m=s.theme.sections.find(g=>g.id===r.path))==null?void 0:m.variantId;if(u==="rooms.bands")return n.jsx(E0,{});if(u==="rooms.tabs")return n.jsx(z0,{});const f=hl(s);if(f.length===0)return null;const d=f.length===1?"grid-cols-1":f.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 xl:grid-cols-3";return n.jsx(gt,{id:"units",title:qe(s,r.path,`${r.label} ${f.length}개 안내`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(g=>n.jsxs(Eu,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[g.images.length>0&&n.jsx(O0,{images:g.images,name:g.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:g.name}),g.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:g.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),g.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:g.intro})]})]}),g.rows.length>0&&n.jsxs("details",{className:"group border-line border-t",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[g.name," 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:g.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:g.rows.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.label))})})]})]},g.unitId))})})}function O0({images:s,name:r}){const o=U.useRef(null),[u,f]=U.useState(0),d=U.useCallback(()=>{const g=o.current;!g||g.clientWidth===0||f(Math.round(g.scrollLeft/g.clientWidth))},[]),m=U.useCallback(g=>{const x=o.current;if(!x)return;const p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;x.scrollBy({left:g*x.clientWidth,behavior:p?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${r} 사진`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:s.map(g=>n.jsx("li",{className:"w-full shrink-0 snap-center",children:n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},g.mediaId))}),s.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(tp,{dir:"prev",show:u>0,onClick:()=>m(-1)}),n.jsx(tp,{dir:"next",show:um(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-2.5 right-2.5 rounded-full bg-black/55 px-2 py-0.5 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white",children:[Math.min(u+1,s.length)," / ",s.length]})]})]})}function tp({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function D0(){const s=te(),r=Ze(s),o=Ib(s),u=s.place.phone;return r.length===0&&o.length===0&&!u?null:n.jsx(gt,{id:"booking",tone:"alt",title:qe(s,"booking","예약 안내"),lead:`${s.place.name} 예약은 아래 경로로 받습니다.`,children:n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[o.length>0&&n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5 lg:col-span-7",children:o.map(f=>n.jsx(Qp,{label:f.label,value:f.value},f.label))}),n.jsx("div",{className:o.length>0?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:o.length>0?"flex flex-col gap-2.5 sm:flex-row sm:flex-wrap lg:flex-col":"flex flex-col items-start gap-2.5 sm:flex-row sm:flex-wrap",children:[u&&n.jsxs(Ih,{href:`tel:${u}`,icon:n.jsx(Ct,{className:"size-4"}),children:["전화 예약 ",u]}),r.map(f=>n.jsx(Ih,{href:f.url,variant:"outline",external:!0,children:Dp(f)},f.url))]})})]})})}const lp=["일","월","화","수","목","금","토"],ap=2;function np(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function R0(s,r,o){const u=new Date(s,r,1),f=new Date(s,r+1,0).getDate(),d=np(o),m=Array.from({length:u.getDay()},()=>null);for(let g=1;g<=f;g+=1){const x=new Date(s,r,g),p=np(x);m.push({iso:p,day:g,weekday:x.getDay(),isWeekend:x.getDay()===0||x.getDay()===6,past:po+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function L0(s){return cu(s.units).map(r=>{var u;const o=f=>{var m;const d=Number((m=_t(r.facts,f))==null?void 0:m.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:r.unitId,name:r.name,weekdayPrice:(u=kp(r))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function H0(){var le;const s=te(),r=U.useMemo(()=>L0(s),[s]),o=U.useMemo(()=>{var Z;return((Z=Tn(s.facts).find(ne=>ne.key==="check_in_time"))==null?void 0:Z.value)??void 0},[s]),u=U.useMemo(()=>U0(o),[o]),[f,d]=U.useState(null),[m,g]=U.useState(0);U.useEffect(()=>d(new Date),[]);const x=U.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+m,1):null,[f,m]),p=U.useMemo(()=>f&&x?R0(x.getFullYear(),x.getMonth(),f):[],[f,x]),[y,b]=U.useState(null),[j,T]=U.useState(null),[S,w]=U.useState(((le=r[0])==null?void 0:le.unitId)??null),[k,R]=U.useState(2),[V,Y]=U.useState(!1),X=p.find(Z=>Z!==null&&Z.iso===y)??null,G=r.find(Z=>Z.unitId===S)??null,J=(G==null?void 0:G.maxCapacity)??8,$=X&&G?X.isWeekend?G.weekendPrice??G.weekdayPrice:G.weekdayPrice:void 0,F=!!(y&&G&&(u.length===0||j));return U.useEffect(()=>{R(Z=>Math.min(Z,(G==null?void 0:G.maxCapacity)??8))},[G]),r.length===0?null:n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("div",{className:"border-b border-black/8 px-4 py-3 sm:px-5",children:n.jsxs("p",{className:"flex items-center gap-2 text-[length:var(--fs-xs)] font-bold",children:[n.jsx(Uv,{className:"size-3.5 opacity-90"}),n.jsx("span",{children:"날짜 · 시간 선택"})]})}),f===null||x===null?n.jsx("p",{className:"px-4 py-6 text-[length:var(--fs-xs)] leading-relaxed opacity-95 sm:px-5",children:"날짜 선택은 브라우저에서 열립니다. 실제 예약 가능 여부와 결제는 아래 예약 창구에서 확인해 주세요."}):V?n.jsx(B0,{payload:s,onReset:()=>Y(!1),summary:[X?`${x.getMonth()+1}월 ${X.day}일(${lp[X.weekday]})`:null,j?`도착 ${j}`:null,(G==null?void 0:G.name)??null,`${k}명`].filter(Z=>!!Z).join(" · ")}):n.jsxs("div",{className:"space-y-5 p-4 sm:p-5",children:[n.jsxs("div",{children:[n.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-90",children:"날짜"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.max(0,Z-1)),disabled:m===0,"aria-label":"이전 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(da,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-[length:var(--fs-xs)] font-bold",children:[x.getFullYear(),"년 ",x.getMonth()+1,"월"]}),n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.min(ap,Z+1)),disabled:m>=ap,"aria-label":"다음 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(ma,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:lp.map((Z,ne)=>n.jsx("span",{className:"text-center text-[length:var(--fs-xs)] font-semibold",style:{opacity:ne===0||ne===6?.75:.45},children:Z},Z))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:p.map((Z,ne)=>Z===null?n.jsx("span",{"aria-hidden":!0},`pad-${ne}`):n.jsx("button",{type:"button",disabled:Z.past,onClick:()=>b(Z.iso),"aria-pressed":Z.iso===y,"aria-label":`${x.getMonth()+1}월 ${Z.day}일`,className:"flex h-9 items-center justify-center rounded-lg border text-[length:var(--fs-xs)] transition-colors disabled:cursor-not-allowed",style:{borderColor:Z.iso===y?"var(--color-brand)":"transparent",backgroundColor:Z.iso===y?"var(--color-brand)":"var(--color-surface-alt)",color:Z.iso===y?"#fff":void 0,opacity:Z.past?.25:1,fontWeight:Z.iso===y?700:400},children:Z.day},Z.iso))}),(X==null?void 0:X.isWeekend)&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-90",children:"주말 요금이 적용되는 날짜입니다."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[length:var(--fs-xs)] font-semibold opacity-90",children:[n.jsx(Qv,{className:"size-3"}),n.jsxs("span",{children:["도착 예정 시간 (체크인 ",o," 이후)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(Z=>{const ne=Z===j;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>T(Z),"aria-pressed":ne,className:"rounded-lg border px-3 py-1.5 text-[length:var(--fs-xs)] font-medium transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:ne?"var(--color-brand)":"var(--color-surface-alt)",color:ne?"#fff":void 0},children:Z})},Z)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] font-semibold opacity-90",children:"객실"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:r.map(Z=>{const ne=Z.unitId===S;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>w(Z.unitId),"aria-pressed":ne,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-[length:var(--fs-xs)] transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:Z.name}),Z.maxCapacity&&n.jsxs("span",{className:"shrink-0 opacity-90",children:["최대 ",Z.maxCapacity,"명"]})]})},Z.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-90",children:"인원"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.max(1,Z-1)),"aria-label":"인원 줄이기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(lb,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-[length:var(--fs-sm)] font-bold",children:[k,"명"]}),n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.min(J,Z+1)),"aria-label":"인원 늘리기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(cb,{className:"size-3.5"})})]})]}),n.jsxs("div",{className:"rounded-xl border border-black/8 p-3",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] opacity-95",children:X?`${x.getMonth()+1}월 ${X.day}일 · ${(G==null?void 0:G.name)??""} · ${k}명`:"날짜를 골라 주세요"}),$!=null&&n.jsxs("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:[$.toLocaleString("ko-KR"),"원"]})]}),$!=null&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-90",children:"1박 기준 안내 요금입니다. 인원 추가·성수기 요금은 예약 창구에서 확인됩니다."})]}),n.jsx("button",{type:"button",disabled:!F,onClick:()=>Y(!0),className:"w-full rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"예약 요청 확인하기"})]})]})}function B0({payload:s,summary:r,onReset:o}){const u=s.place.phone;return n.jsxs("div",{className:"space-y-4 p-4 sm:p-5",children:[n.jsxs("div",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"var(--color-brand)"},children:n.jsx(nu,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-[length:var(--fs-sm)] font-bold",children:"예약 내용 확인"}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] leading-relaxed opacity-95",children:r})]})]}),n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[u&&n.jsxs("a",{href:`tel:${u}`,className:"flex flex-1 items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화로 예약하기 ",u]})]}),n.jsxs("button",{type:"button",onClick:o,className:"flex items-center justify-center gap-1.5 rounded-xl border border-black/10 px-4 py-3 text-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",children:[n.jsx(ub,{className:"size-3.5"}),n.jsx("span",{children:"다시 고르기"})]})]})]})}function sp(){const s=te(),r=cy(s);if(!r)return null;const{offers:o,links:u,contacts:f,phone:d}=r;return n.jsx("section",{id:"booking","aria-labelledby":"booking-heading",className:"w-full border-b border-black/8 py-16 sm:py-24",style:{backgroundColor:"var(--color-surface-alt)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("p",{className:"mb-2 flex items-center gap-2 text-[length:var(--fs-xs)] font-semibold uppercase tracking-wider opacity-90",children:[n.jsx(Dv,{className:"size-4"}),n.jsx("span",{children:"Reservation"})]}),n.jsx("h2",{id:"booking-heading",className:"serif mb-2 text-2xl font-bold tracking-tight sm:text-3xl lg:text-4xl",children:qe(s,"booking","예약 안내")}),n.jsx("p",{className:"mb-8 max-w-2xl text-[length:var(--fs-xs)] leading-relaxed opacity-95 sm:text-[length:var(--fs-sm)]",children:"빈 방 확인과 결제는 아래 예약 창구에서 진행됩니다. 이 페이지에서는 요금과 이용 조건만 안내합니다."}),n.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-5 lg:gap-6",children:[o.length>0&&n.jsxs("div",{className:"overflow-hidden rounded-2xl border border-black/8 lg:col-span-3",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-[length:var(--fs-xs)] font-bold sm:px-5",children:[n.jsx(Mv,{className:"size-3.5 opacity-90"}),n.jsx("span",{children:"객실별 요금 · 인원"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(m=>n.jsxs("li",{className:"p-4 sm:p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[n.jsx("h3",{className:"serif text-base font-bold sm:text-lg",children:m.name}),m.baseRateText&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:m.baseRateText})]}),m.capacityText&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-95",children:m.capacityText}),m.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:m.rateRows.map(g=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-[length:var(--fs-xs)]",children:[n.jsx("dt",{className:"opacity-90",children:g.label}),n.jsx("dd",{className:"font-semibold",children:g.value})]},g.label))}),n.jsx("a",{href:m.href,className:"mt-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-95",children:n.jsxs("span",{children:[m.name," 사진 · 상세 보기"]})})]},m.unitId))})]}),n.jsxs("div",{className:"flex h-fit flex-col gap-3 rounded-2xl border border-black/8 p-4 sm:p-5 lg:col-span-2",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-bold",children:"예약 창구"}),d&&n.jsxs("a",{href:`tel:${d}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화 예약 ",d]})]}),u.map(m=>n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-2 rounded-xl border border-black/10 px-4 py-3 text-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:Dp(m)}),n.jsx(zn,{className:"size-3.5 shrink-0"})]},m.url)),f.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] opacity-90",children:"문의"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:f.map(m=>n.jsx("li",{children:n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-lg border border-black/10 px-2.5 py-1.5 text-[length:var(--fs-xs)] transition-colors hover:bg-black/5",children:[n.jsx("span",{children:pl(m)}),n.jsx(zn,{className:"size-3"})]})},m.url))})]}),u.length===0&&n.jsx("p",{className:"text-[length:var(--fs-xs)] leading-relaxed opacity-90",children:"온라인 예약 채널은 등록되지 않았습니다. 예약은 전화로 문의해 주세요."})]})]}),n.jsx(H0,{})]})})}function q0(){const s=te(),r=ey(s);return r.length===0?null:n.jsx(gt,{id:"space",title:qe(s,"space","공간 안내"),lead:"좌석과 이용 환경 안내입니다.",children:n.jsx("dl",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:r.map(o=>n.jsxs(Eu,{className:"p-4 sm:p-5",children:[n.jsx("dt",{className:"text-muted mb-1 text-[length:var(--fs-xs)] font-medium",children:o.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:o.value})]},o.label))})})}function Y0(){const s=te(),{place:r}=s,o=Cn(s);if(!r.phone&&!r.email&&o.length===0)return null;const u=[...r.phone?[{key:"phone",icon:Ct,label:"전화",value:r.phone,href:`tel:${r.phone}`}]:[],...r.email?[{key:"email",icon:Ep,label:"이메일",value:r.email,href:`mailto:${r.email}`}]:[],...o.map(f=>({key:f.url,icon:su,label:pl(f),value:"바로 가기",href:f.url,external:!0}))];return n.jsx(gt,{id:"inquiry",title:qe(s,"inquiry","문의 안내"),lead:`궁금한 점은 아래로 연락 주시면 ${r.name}에서 직접 안내해 드립니다.`,children:n.jsx("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 lg:gap-4",children:u.map(f=>{const d=f.icon,m="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...m?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-90",children:[n.jsxs("span",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(d,{className:"size-5 shrink-0 opacity-40"}),n.jsxs("span",{className:"min-w-0",children:[n.jsx("span",{className:"text-muted block text-[length:var(--fs-xs)] font-medium",children:f.label}),n.jsx("span",{className:"block break-all text-[length:var(--fs-sm)] font-semibold",children:f.value})]})]}),m&&n.jsx(zn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function G0(){const s=te(),r=ly(s);return r.length===0?null:n.jsx(gt,{id:"exhibition",tone:"alt",title:qe(s,"exhibition","관람 안내"),lead:"방문 전 관람 조건을 확인해 주세요.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:r.map(o=>n.jsx(Qp,{label:o.label,value:o.value},o.label))})})}function $0(){const[s,r]=U.useState([]);return U.useEffect(()=>r(Hb()),[]),s}const Q0=["봄","여름","가을","겨울"];function X0(){const s=te(),r=s.local.festivals,o=$0(),[u,f]=U.useState(null);if(r.length===0)return null;const d=Q0.filter(b=>r.some(j=>j.season===b)),m=r.filter(b=>{var j;return!((j=b.season)!=null&&j.trim())}),g=[...o].reverse().find(b=>d.includes(b)),x="전체",p=u??g??null,y=p===x;return n.jsxs(gt,{id:"festival",title:"계절별 축제",lead:`${s.place.addressLocality??"이 지역"}의 축제와 행사를 계절로 묶었습니다.`,aside:p&&!y?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["지금은 ",p," 축제입니다"]}):void 0,footnote:n.jsx(n.Fragment,{children:"한국관광공사 TourAPI 기준. 일정은 주최 측 사정으로 바뀔 수 있습니다."}),children:[d.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"계절",children:[...d,x].map(b=>{const j=p===b;return n.jsx("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>f(b),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:b},b)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(b=>{const j=r.filter(T=>T.season===b);return n.jsxs("div",{hidden:!y&&p!==null&&p!==b,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:b}),n.jsx(ip,{items:j,label:`${b} 축제`,remount:p})]},b)}),m.length>0&&n.jsxs("div",{children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:"계절 없이 열리는 행사"}),n.jsx(ip,{items:m,label:"계절 없이 열리는 행사"})]})]})]})}function ip({items:s,label:r,remount:o}){return n.jsx(vr,{label:r,children:s.map(u=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Cy(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-95",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[u.imageUrl?n.jsx("img",{src:u.imageUrl,alt:`${u.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:u.name}),n.jsx("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:u.month})]}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:u.name}),u.period&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-medium opacity-90",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx($s,{className:"mt-0.5 size-3 shrink-0 opacity-95"}),n.jsx("span",{children:u.location})]}),u.description&&n.jsx("span",{className:"text-muted line-clamp-3 pt-0.5 text-[length:var(--fs-xs)] leading-relaxed",children:u.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-95 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const Rs=80,rp=[{id:"all",label:"전체",test:()=>!0},{id:"w5",label:"걸어서 5분 이내",test:s=>s<=5*Rs},{id:"w10",label:"걸어서 10분 이내",test:s=>s<=10*Rs},{id:"far",label:"걸어서 10분 이상",test:s=>s>10*Rs}];function $o(s){if(Number.isFinite(s))return`도보 약 ${Math.max(1,Math.round(s/Rs))}분`}function V0(s){const r=/^([\d.]+)\s*(km|m)$/i.exec((s??"").trim());return r?Number(r[1])*(r[2].toLowerCase()==="km"?1e3:1):1/0}function En(s){return s.distanceMeters!=null?Number.isFinite(s.distanceMeters)&&s.distanceMeters>=0?s.distanceMeters:1/0:V0(s.distanceText)}function Z0(){const s=te(),{local:r}=s,o=r.restaurants.filter(b=>b.imageUrl),u=o.length>0||r.attractions.length>0,[f,d]=U.useState("all");if(!u)return null;const m=[...o,...r.attractions],g=b=>m.filter(j=>b.test(En(j))).length,x=rp.filter((b,j)=>j===0||g(b)>0&&g(b)b.id===f)??rp[0],y=b=>p.test(En(b));return n.jsxs(gt,{id:"guide",tone:"alt",title:"주변 안내",lead:`${s.place.addressLocality??"주변"} 지역의 맛집 · 명소 안내입니다.`,aside:r.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[Lp(r.syncedAt)," 갱신"]}):void 0,footnote:n.jsxs(n.Fragment,{children:["도보 시간은 숙소에서 잰 직선거리를 분속 ",Rs,"m 로 환산한 값입니다. 실제로 걷는 길은 이보다 깁니다."]}),children:[x.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"거리",children:x.map(b=>{const j=b.id===f,T=g(b);return n.jsxs("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>d(b.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[b.label," ",n.jsx("span",{className:"tabular-nums opacity-95",children:T})]},b.id)})}),n.jsxs("div",{className:"space-y-10",children:[o.length>0&&n.jsx(cp,{title:"주변 맛집",icon:db,places:o,within:y}),r.attractions.length>0&&n.jsx(cp,{title:"주변 명소",icon:$s,places:r.attractions,within:y})]})]})}function K0({icon:s,children:r}){return n.jsxs("h3",{className:"border-line mb-4 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(s,{className:"size-4 opacity-90"}),n.jsx("span",{children:r})]})}function cp({title:s,icon:r,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(K0,{icon:r,children:s}),n.jsx(vr,{label:s,children:f.map(d=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Xh(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-95",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[d.imageUrl?n.jsx("img",{src:d.imageUrl,alt:`${d.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:d.name}),(Number.isFinite(En(d))||d.distanceText)&&n.jsxs("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:[$o(En(d))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal opacity-95",children:d.distanceText})]})]}),n.jsxs("span",{className:"flex flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:d.name}),d.location&&n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)] break-words",children:d.location}),d.description&&n.jsx("span",{className:"text-muted line-clamp-3 text-[length:var(--fs-xs)] leading-relaxed",children:d.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-95 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},d.name))},f.length),n.jsx("ul",{hidden:!0,children:o.filter(d=>!u(d)).map(d=>n.jsxs("li",{children:[n.jsx("a",{href:Xh(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,$o(En(d))&&` · ${$o(En(d))}`]}),d.description&&n.jsx("p",{children:d.description}),d.location&&n.jsx("p",{children:d.location})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 거리 안에는 없습니다."})]})}function J0(s){return s===0?"맑음":s>=1&&s<=2?"구름많음":s===3?"흐림":s===45||s===48?"안개":s>=51&&s<=57?"이슬비":s>=61&&s<=67?"비":s>=71&&s<=77||s===85||s===86?"눈":s>=80&&s<=82?"소나기":s>=95&&s<=99?"뇌우":"흐림"}function W0({initial:s,regionCode:r,latitude:o,longitude:u}){const[f,d]=U.useState(s);return U.useEffect(()=>{if(!r||o==null||u==null)return;const m=new AbortController;async function g(){var p;try{const y=new URLSearchParams({region_code:r,latitude:String(o),longitude:String(u)}),b=await fetch(`/v1/local/weather?${y}`,{signal:m.signal});if(!b.ok)return;const j=await b.json();if(!((p=j==null?void 0:j.result)!=null&&p.success)||!j.weather)return;d(T=>({temperature:Number(j.weather.temperature),condition:J0(Number(j.weather.weather_code)),note:T==null?void 0:T.note,observedAt:j.weather.observed_at,stale:!!j.stale}))}catch{}}g();const x=window.setInterval(()=>void g(),600*1e3);return()=>{m.abort(),window.clearInterval(x)}},[o,u,r]),f}function op(s,r){const[o,u]=U.useState();return U.useEffect(()=>{if(!(s!=null&&s.length))return;let f=[],d=-1;const m=()=>{f.length||(f=s.map((j,T)=>T));const p=f.filter(j=>j!==d),y=p.length?p:f,b=y[Math.floor(Math.random()*y.length)];f=f.filter(j=>j!==b),d=b,u({lines:s,index:b})},g=window.setTimeout(m,0),x=window.setInterval(m,2e4);return()=>{window.clearTimeout(g),window.clearInterval(x)}},[s]),(s==null?void 0:s[(o==null?void 0:o.lines)===s?o.index:0])??r}function F0(s){const r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(s??"");if(!r)return;const[,,o,u,f,d]=r;return`${Number(o)}월 ${Number(u)}일 ${f}:${d} 관측`}function I0(){var p,y,b,j;const s=te(),r=W0({initial:s.local.weather,regionCode:s.place.regionCode,latitude:s.place.latitude,longitude:s.place.longitude}),o=Xb((r==null?void 0:r.condition)??""),u=Vb((r==null?void 0:r.temperature)??0),f=s.local.weather,d=(r==null?void 0:r.condition)==="구름많음"?"구름많음":o,m=op((p=f==null?void 0:f.noteSets)==null?void 0:p[d],((y=f==null?void 0:f.notes)==null?void 0:y[o])??(r==null?void 0:r.note)),g=op((b=f==null?void 0:f.tempNoteSets)==null?void 0:b[u],(j=f==null?void 0:f.tempNotes)==null?void 0:j[u]);if(!r)return null;const x=F0(r.observedAt);return n.jsx(gt,{id:"weather",tone:"alt",title:"오늘의 날씨",children:n.jsxs(Eu,{className:"relative overflow-hidden",children:[n.jsx("div",{className:"w4-sky","data-mood":o,"aria-hidden":!0}),n.jsxs("div",{className:"relative flex flex-col gap-5 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[n.jsxs("p",{className:"flex items-baseline gap-2.5",children:[n.jsx("span",{className:"serif tabular-nums leading-none",style:{fontSize:"var(--fs-display)"},children:Math.round(r.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] opacity-95",children:"°C"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:r.condition})]}),x&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[x,r.stale&&" · 최근 관측값"]})]}),m&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose opacity-95",children:m}),g&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:[n.jsx("span",{className:"border-line mt-0.5 shrink-0 rounded-full border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold","aria-hidden":!0,children:u}),n.jsx("span",{children:g})]})]})]})})}function P0(){const s=te(),r=fu(s),o=s.theme.sections.find(w=>w.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=U.useState(null),m=U.useRef(null),[g,x]=U.useState(0),[p,y]=U.useState({prev:!1,next:!0}),b=U.useCallback(()=>{const w=m.current;if(!w)return;const k=w.clientWidth,R=w.scrollWidth-k;x(k>0?Math.round(w.scrollLeft/k):0),y({prev:w.scrollLeft>8,next:w.scrollLeft(b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)),[b]),wu({box:m,interval:Su,advance:()=>Gp(m.current,1)});const j=U.useCallback(w=>{const k=m.current;if(!k)return;const R=window.matchMedia("(prefers-reduced-motion: reduce)").matches;k.scrollBy({left:w*k.clientWidth,behavior:R?"auto":"smooth"})},[]),T=U.useCallback(()=>d(null),[]),S=U.useCallback(w=>d(k=>k===null?null:(k+w+r.length)%r.length),[r.length]);return U.useEffect(()=>{if(f===null)return;const w=R=>{R.key==="Escape"&&T(),R.key==="ArrowLeft"&&S(-1),R.key==="ArrowRight"&&S(1)},k=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",w),()=>{document.body.style.overflow=k,window.removeEventListener("keydown",w)}},[f,T,S]),r.length===0?null:n.jsxs(gt,{id:"gallery",title:(o==null?void 0:o.name)||"공간 갤러리",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:m,onScroll:b,className:"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] lg:grid lg:grid-cols-4 lg:gap-3 lg:snap-none lg:overflow-visible [&::-webkit-scrollbar]:hidden",children:r.map((w,k)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-4/3 rounded-lg"})},w.mediaId))}),r.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(up,{dir:"prev",show:p.prev,onClick:()=>j(-1)}),n.jsx(up,{dir:"next",show:p.next,onClick:()=>j(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-full bg-black/55 px-2.5 py-1 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white lg:hidden",children:[Math.min(g+1,r.length)," / ",r.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:r.map((w,k)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"rounded-lg",free:!0})},w.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:r.map((w,k)=>n.jsx("li",{children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-square rounded-lg"})},w.mediaId))}),f!==null&&n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"사진 크게 보기",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/92 p-4 backdrop-blur-md",onClick:T,children:[n.jsx("button",{type:"button",onClick:T,"aria-label":"닫기",className:"tap absolute right-3 top-3 z-10 flex items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 sm:right-5 sm:top-5",children:n.jsx(iu,{className:"size-6"})}),n.jsx(fp,{dir:"prev",onClick:()=>S(-1)}),n.jsx(fp,{dir:"next",onClick:()=>S(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:w=>w.stopPropagation(),children:[n.jsx("img",{src:r[f].url,alt:r[f].alt,className:"max-h-[72vh] w-auto max-w-full rounded-lg object-contain"}),n.jsxs("figcaption",{className:"text-center text-[length:var(--fs-xs)] text-white/70",children:[r[f].caption??r[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",r.length]})]})]})]})]})}function up({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-9 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 lg:hidden ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function fp({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),r()},"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 ${s==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function Qo({image:s,onOpen:r,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:r,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${s.alt} 크게 보기`,children:n.jsx("img",{src:s.url,alt:s.alt,loading:"lazy",decoding:"async",width:s.width,height:s.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function dp(){const s=te(),{place:r,routes:o}=s,[u,f]=U.useState(!1),d=r.roadAddress??r.address;if(!d)return null;const{latitude:m,longitude:g}=r,x=m!=null&&g!=null,p=Ry(r.name,m,g),y=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(gt,{id:"location",title:"오시는 길",lead:"주소와 주요 거점까지의 이동 시간을 안내합니다.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[x&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${r.name} 위치 지도`,src:Dy(m,g),loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"block aspect-4/3 w-full border-0 sm:aspect-video lg:aspect-auto lg:h-full lg:min-h-[24rem]"})}),n.jsx("div",{className:x?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:"panel p-5 sm:p-6",children:[n.jsx("p",{className:"label mb-2",children:"주소"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[n.jsx("address",{className:"text-[length:var(--fs-lead)] font-bold not-italic",children:d}),n.jsxs("button",{type:"button",onClick:y,title:"주소 복사",className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/8 px-2.5 py-1.5 text-[length:var(--fs-xs)] font-medium transition-opacity hover:opacity-95",children:[u?n.jsx(nu,{className:"size-3.5"}):n.jsx(Vv,{className:"size-3.5"}),n.jsx("span",{children:u?"복사완료":"복사"})]})]}),r.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["문의:"," ",n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:Hp(r.name,m,g),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#03C75A] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"네이버 길찾기"})]}),n.jsxs("a",{href:My(r.name,m,g),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#FEE500] px-4 text-[length:var(--fs-sm)] font-bold text-[#191600] transition-opacity hover:opacity-90",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"카카오 길찾기"})]}),p&&n.jsxs("a",{href:p,className:"tap only-touch flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#0064FF] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"티맵 길찾기"})]})]})]})})]}),o.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(Hv,{className:"size-4 opacity-90"}),n.jsx("span",{children:"주요 거점 소요시간"})]}),n.jsx("div",{className:"panel overflow-hidden",children:n.jsx("div",{className:"slider-viewport",children:n.jsxs("table",{className:"w-full min-w-[34rem] text-left text-[length:var(--fs-sm)]",children:[n.jsxs("caption",{className:"sr-only",children:[s.place.name,"에서 주요 거점까지의 이동 시간"]}),n.jsx("thead",{className:"panel-sunken border-line border-b font-semibold",children:n.jsxs("tr",{children:[n.jsx("th",{scope:"col",className:"p-4",children:"목적지"}),n.jsx("th",{scope:"col",className:"p-4",children:"차량"}),n.jsx("th",{scope:"col",className:"p-4",children:"도보 / 대중교통"}),n.jsx("th",{scope:"col",className:"p-4",children:"거리"}),n.jsx("th",{scope:"col",className:"hidden p-4 md:table-cell",children:"비고"})]})}),n.jsx("tbody",{className:"divide-line divide-y",children:o.map(b=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:b.destination}),n.jsx("td",{className:"p-4 font-semibold",children:b.byCar??"—"}),n.jsx("td",{className:"p-4 opacity-95",children:b.byTransit??"—"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:b.distanceText??"—"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:b.note??""})]},b.destination))})]})})})]})]})}function e1(){const s=te(),r=Zb(s);if(r.length===0)return null;const o=r.some(u=>u.sourceType===Sb.TEMPLATE);return n.jsx(gt,{id:"faq",tone:"alt",title:"자주 묻는 질문",lead:o?void 0:"아래 답변은 모두 사업자가 확인한 내용입니다.",children:n.jsx("div",{className:r.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:r.map(u=>n.jsxs("details",{className:"panel group h-fit overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-3 px-5 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"serif text-muted shrink-0",children:"Q."}),n.jsx("span",{className:"flex-1",children:u.question}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line border-t px-5 pb-5 pt-4 text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:u.answer})]},u.faqId))})})}function Xp(){var d,m,g,x;const s=te(),{place:r,site:o}=s,u=qb(s),f=r.roadAddress??r.address;return n.jsx("footer",{className:"w-full pb-28 pt-14 md:pb-14",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid grid-cols-1 gap-8 border-b border-current/15 pb-10 md:grid-cols-12",children:[n.jsxs("div",{className:"space-y-4 md:col-span-7",children:[n.jsx("p",{className:"serif text-[length:var(--fs-lead)] font-bold",children:r.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] opacity-90",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx($s,{className:"mt-1 size-4 shrink-0 opacity-95"}),n.jsx("span",{children:f})]}),r.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ct,{className:"size-4 shrink-0 opacity-95"}),n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),r.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ep,{className:"size-4 shrink-0 opacity-95"}),n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-2 hover:underline",children:r.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"공식 채널",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current opacity-95",children:"공식 채널"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-lg border border-current/25 px-3 py-2 text-[length:var(--fs-xs)] font-medium transition-colors hover:bg-current/10",children:[n.jsx("span",{children:pl(p)}),n.jsx(Kv,{className:"size-3.5"})]})},p.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] opacity-90 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",r.name]}),((d=r.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["대표: ",r.legal.representative]}),((m=r.legal)==null?void 0:m.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",r.legal.businessRegistrationNumber]}),((g=r.legal)==null?void 0:g.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",r.legal.mailOrderNumber]}),((x=r.legal)==null?void 0:x.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호",": ",r.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]}),n.jsxs("p",{className:"pt-3 text-[length:var(--fs-xs)] opacity-90",children:[n.jsx("a",{href:"https://www.o2osolution.ai/",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 hover:underline",children:"AI O2O"}),"의 Web4Ai로 만든 사이트입니다."]})]})})}function kn(){const s=te(),r=s.place.phone,u=Ze(s)[0],f=s.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!r&&!u&&!f?null:n.jsxs("nav",{"aria-label":"연락 · 예약",className:"border-line safe-b fixed inset-x-0 bottom-0 z-50 flex items-stretch gap-2 border-t px-3 pt-2 backdrop-blur-md lg:hidden",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 94%, transparent)"},children:[n.jsxs("a",{href:"#location",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":"오시는 길",children:[n.jsx($s,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"위치"})]}),f&&n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":pl(f),children:[n.jsx(su,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"문의"})]}),r&&n.jsxs("a",{href:`tel:${r}`,className:"tap border-line flex flex-1 items-center justify-center gap-1.5 rounded-lg border text-[length:var(--fs-sm)] font-bold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]}),u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex min-w-0 flex-[1.4] items-center justify-center truncate rounded-lg px-2 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u)})]})}const Jt="var(--tpl-card, #fafafa)",Te="var(--tpl-border, #d6d3d1)",We="color-mix(in oklab, var(--tpl-accent, #2563eb) 55%, currentColor)",Us="var(--tpl-inverse, #1c1917)",fa="var(--tpl-bg, #ffffff)",dl="var(--tpl-text, #09090b)";function t1({n:s}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[length:var(--fs-xs)] tabular-nums",style:{backgroundColor:We,color:fa},children:s})}function gl({id:s,name:r,subtitle:o,count:u,link:f,children:d,dark:m}){const g=gr(),x=g==="reservation"?hu:g==="oasi"?pu:g==="studio"?gu:g==="pastel"?xu:g==="editorial"?du:null,p=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 opacity-90 transition-opacity hover:opacity-100 hover:underline",children:[f.label," →"]}):void 0;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:m?Us:"var(--tpl-surface, #fafafa)",color:m?fa:dl,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[x?n.jsx(x,{id:s,title:r,lead:o,aside:p}):n.jsxs("header",{className:"mb-8 sm:mb-10",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-2",children:[n.jsx("h2",{id:`${s}-heading`,className:"h2",children:r}),p]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-95",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] opacity-95",children:u})]})})}function Mn({children:s,label:r,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(vr,{label:r,gap:1,arrows:o,onSelect:u,onReady:f,children:s})}function ml({source:s,verified:r,imageCredit:o}){return!(s!=null&&s.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[length:var(--fs-xs)]",children:[(s==null?void 0:s.name)&&n.jsxs("span",{children:["출처 ·"," ",s.url?n.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:s.name}):s.name]}),o&&n.jsxs("span",{children:["사진 · ",o]})]})}function Gs(s,r,o){return`총 ${s}${o}`}const mp=["#d4551f","#1d3c74","#2a6053","#7a3b52","#a34a2a","#334b6d","#4f6b3a","#6b2f3a","#2b6b7a","#8a4b2a","#4a3f6b","#3a5a4a","#b5603a","#356b8a","#6b4a2a","#2f5b6b","#a3562a","#4a4a6b","#c8873a","#2f6b4f","#7a4a6b","#5a5a4a","#3f5f6b"];function hp(s){if(s.labelColor)return s.labelColor;const r=s.title??"";let o=0;for(let u=0;u>>0;return mp[o%mp.length]}function Vp(){const s=te(),r=al(s,"songs"),u=new Set(r.items.map(x=>{var p,y;return`${((p=x.source)==null?void 0:p.name)??""}|${((y=x.source)==null?void 0:y.url)??""}`})).size===1&&r.items.length>1,[f,d]=U.useState(0);if(r.items.length===0)return null;const m=r.items[f]??r.items[0],g=x=>[x.artist,x.year?String(x.year):void 0,x.lyricist||x.composer?`작사 ${x.lyricist??"미상"} / 작곡 ${x.composer??"미상"}`:void 0,x.label].filter(Boolean).join(" · ");return n.jsxs(gl,{id:"songs",name:r.title||qe(s,"songs","가요 다방"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"곡"),children:[n.jsxs("div",{className:"tpl-border grid items-center gap-8 border p-6 sm:p-8 md:grid-cols-[240px_minmax(0,1fr)]",style:{backgroundColor:Us,color:fa,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsxs("div",{className:"relative mx-auto size-[220px]",children:[n.jsx("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 16%, transparent)"}}),n.jsx("div",{className:"w4-disc w4-spin absolute inset-2 rounded-full",style:{"--lbl":hp(m),"--w4-vinyl":Us},children:n.jsx("span",{className:"absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 30%, transparent)"}})}),n.jsxs("div",{"aria-hidden":!0,className:"absolute -right-1 top-3 h-2 w-[110px] origin-right rotate-6",children:[n.jsx("span",{className:"absolute inset-y-[3px] left-0 right-4 rounded-sm",style:{backgroundColor:"color-mix(in oklab, currentColor 65%, transparent)"}}),n.jsx("span",{className:"absolute -top-2 right-0 size-6 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 55%, transparent)"}})]})]}),n.jsx("div",{className:"min-w-0",children:r.items.map((x,p)=>n.jsxs("div",{hidden:p!==f,className:"space-y-3",children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.24em]",style:{color:We},children:["A면 · ",p+1," / ",r.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:x.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] opacity-95",children:g(x)}),x.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-95",children:x.story}),x.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:We},children:x.connection}),n.jsxs("a",{href:ky(`${x.title} ${x.artist??""}`.trim()),target:"_blank",rel:"noopener noreferrer nofollow",className:"inline-flex items-center gap-1.5 text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",style:{color:We},children:[n.jsx(pb,{className:"size-4"}),n.jsx("span",{children:"유튜브에서 듣기"})]}),!u&&n.jsx(ml,{source:x.source,verified:x.verified})]},`disc-${x.title}-${p}`))})]}),r.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:r.items.map((x,p)=>n.jsxs("button",{type:"button",onClick:()=>d(p),"aria-pressed":p===f,className:"w-24 text-center",children:[n.jsx("span",{className:"w4-disc-mini mx-auto block size-[76px] rounded-full transition-transform hover:scale-105",style:{"--lbl":hp(x),"--w4-vinyl":Us,boxShadow:p===f?`0 0 0 2px ${We}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[length:var(--fs-xs)] leading-tight opacity-95",children:x.title})]},`${x.title}-${p}`))}),n.jsxs("div",{className:"mt-6 flex flex-col items-center gap-2 text-center",children:[n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[length:var(--fs-xs)] tracking-[0.1em] opacity-95",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"◎ 가사 대신 이야기 — 원문은 싣지 않습니다"}),u&&r.items[0]&&n.jsx(ml,{source:r.items[0].source,verified:r.items[0].verified})]})]})}function l1(){const s=te(),r=al(s,"daily"),[o,u]=U.useState();if(U.useEffect(()=>{const x=new Date;u(`${String(x.getMonth()+1).padStart(2,"0")}-${String(x.getDate()).padStart(2,"0")}`)},[]),r.items.length===0)return null;const f=[...r.items].sort((x,p)=>x.monthDay.localeCompare(p.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const x=f.findIndex(y=>y.monthDay===o);if(x>=0)return x;const p=f.findIndex(y=>y.monthDay>o);return p>=0?p:0})()),m=x=>f[(d+x+f.length)%f.length],g=f.length===1?[m(0)]:f.length===2?[m(0),m(1)]:[m(-1),m(0),m(1)];return n.jsx(gl,{id:"daily",name:r.title||qe(s,"daily","오늘의 한 장"),subtitle:r.subtitle,count:Gs(f.length,r.unverified,"장"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((x,p)=>{const y=g.indexOf(x);return n.jsx(a1,{page:x,hidden:y<0,isToday:g.length===1||y===1,muted:g.length>1&&y!==1},`${x.monthDay}-${p}`)})})})}function a1({page:s,isToday:r,muted:o,hidden:u}){const[f,d]=s.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] opacity-90 sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:Jt,borderColor:r?We:Te,boxShadow:r?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":r?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":Jt,borderColor:Te}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Te},children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.2em] opacity-95",children:[f,"月"]}),n.jsx("p",{className:`serif mt-1 font-bold leading-none ${o?"text-4xl":"text-6xl"}`,style:{color:We},children:String(Number(d)||d)}),r&&n.jsx("p",{className:"mt-1.5 text-[length:var(--fs-xs)] tracking-[0.3em]",style:{color:We},children:"오늘"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[s.category&&n.jsx("p",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-95",children:s.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:s.title}),!o&&s.body&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:s.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})]})}function Zp(){const s=te(),r=al(s,"people");return r.items.length===0?null:n.jsx(gl,{id:"people",name:r.title||qe(s,"people","인물 열전"),subtitle:r.subtitle,count:r.items.some(o=>!o.imageUrl)?`${Gs(r.items.length,r.unverified,"명")} · 사진이 없는 인물은 이름 활자로 대신합니다`:Gs(r.items.length,r.unverified,"명"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Us,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 opacity-95"}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Mn,{label:"인물 목록",arrows:"overlay",children:r.items.map((o,u)=>n.jsxs("article",{className:"w-[210px] shrink-0 snap-center",children:[o.imageUrl?n.jsx("img",{src:o.imageUrl,alt:`${o.name} 사진`,loading:"lazy",decoding:"async",className:"aspect-3/4 w-full border object-cover",style:{borderColor:"color-mix(in oklab, currentColor 28%, transparent)"}}):n.jsx("span",{className:"serif grid aspect-3/4 w-full place-items-center border text-5xl",style:{backgroundColor:"color-mix(in oklab, currentColor 14%, transparent)",borderColor:"color-mix(in oklab, currentColor 28%, transparent)"},"aria-hidden":!0,children:o.name.trim().charAt(0)}),n.jsxs("h3",{className:"serif mt-3 text-base font-bold",children:[o.name,o.aka&&n.jsxs("span",{className:"ml-1.5 text-[length:var(--fs-xs)] opacity-95",children:["호 ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] opacity-95",children:[o.role,o.years].filter(Boolean).join(" · ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-95",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(ml,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 opacity-95"})]})})}function Kp(){const s=te(),r=al(s,"chronicle");if(r.items.length===0)return null;const o=[...r.items].sort((f,d)=>f.year==null?d.year==null?0:1:d.year==null?-1:f.year-d.year),u=o.filter(f=>f.turning===!0).length;return n.jsx(gl,{id:"chronicle",name:r.title||qe(s,"chronicle","시간의 골목"),subtitle:r.subtitle,count:`붉은 점은 도시의 성격이 바뀐 해입니다 · ${u}개 / 전체 ${o.length}개`,children:n.jsx(Mn,{label:"연표",children:o.map((f,d)=>{const m=f.turning===!0;return n.jsxs("article",{className:"w-[228px] shrink-0 snap-center",children:[n.jsx("p",{className:"serif text-3xl font-bold leading-none",style:{color:m?We:void 0},children:f.year??"연도 미상"}),n.jsxs("div",{className:"relative my-3 h-3",children:[n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 border-t",style:{borderColor:Te,right:d===o.length-1?"calc(100% - 12px)":0}}),n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 size-3 -translate-y-1/2 rounded-full border-2",style:{backgroundColor:m?We:Jt,borderColor:m?We:Te}})]}),n.jsxs("div",{className:"flex gap-2.5 pr-5",children:[f.imageUrl&&n.jsx("img",{src:f.imageUrl,alt:`${f.title} 사진`,loading:"lazy",decoding:"async",className:"size-14 shrink-0 border object-cover",style:{borderColor:Te}}),n.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[n.jsx("h3",{className:"serif text-base font-bold",children:f.title}),f.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-95",children:["지금 이 자리 · ",f.place]}),n.jsx(ml,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function Jp(){const s=te(),r=U.useMemo(()=>al(s,"reading"),[s]),o=r.items;if(o.length===0)return null;const u=s.place.addressLocality??"지역";return n.jsx(gl,{id:"reading",name:r.title||qe(s,"reading",`${u} 읽기`),subtitle:r.subtitle,children:n.jsx(Mn,{label:`${u} 읽기`,children:o.map((f,d)=>n.jsx("article",{className:"w-[86%] shrink-0 grow-0 sm:w-[min(600px,56%)]",children:n.jsxs("div",{className:"h-full border p-5",style:{backgroundColor:Jt,borderColor:Te},children:[f.group&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] font-bold tracking-[0.18em]",style:{color:We},children:[f.group,f.year!=null&&n.jsxs("span",{className:"font-normal opacity-95",children:[" · ",f.year]})]}),n.jsx("h3",{className:"serif mt-2 border-b-2 pb-2.5 text-xl leading-snug font-bold",style:{borderColor:"currentColor"},children:f.title}),n.jsx("p",{className:"mt-3 text-[length:var(--fs-body)] leading-[1.8] break-keep opacity-90",children:f.body}),n.jsx("div",{className:"mt-4 border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:f.source,verified:f.verified})})]})},`${f.title}-${d}`))})})}function Wp(){const s=te(),r=al(s,"postcard");return r.items.length===0?null:n.jsx(gl,{id:"postcard",name:r.title||qe(s,"postcard","오늘의 엽서"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"장"),children:n.jsx(Mn,{label:"엽서 목록",children:r.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[o.imageUrl&&n.jsx("img",{src:o.imageUrl,alt:`${o.place||o.postmark||"엽서"} 사진`,loading:"lazy",decoding:"async",className:"block aspect-3/2 w-full border object-cover",style:{borderColor:Te}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[length:var(--fs-xs)] leading-tight opacity-90",children:["사진 · ",o.imageCredit||"출처 표기 없음"]}),n.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-3",children:[n.jsxs("div",{className:"min-w-0 border-r pr-3",style:{borderColor:Te},children:[n.jsxs("p",{className:"serif text-[17px] leading-snug",children:["“",o.line,"”"]}),o.hashtags&&o.hashtags.length>0&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-95",children:o.hashtags.join(" ")})]}),n.jsxs("div",{className:"flex w-[62px] flex-col items-center gap-3",children:[n.jsxs("span",{className:"grid h-[56px] w-[44px] place-items-center border border-dashed text-center text-[length:var(--fs-xs)] leading-tight opacity-95",style:{borderColor:Te},children:["郵票",n.jsx("br",{}),"10원"]}),n.jsx("span",{className:"serif grid size-[54px] -rotate-6 place-items-center rounded-full border-2 px-1 text-center text-[length:var(--fs-xs)] leading-tight",style:{borderColor:We,color:We},children:o.postmark||o.place||"소인"})]})]}),n.jsx("div",{className:"mt-3 border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function n1(){const s=te(),r=al(s,"quiz"),[o,u]=U.useState(new Set);if(r.items.length===0)return null;const f=d=>u(m=>{const g=new Set(m);return g.has(d)?g.delete(d):g.add(d),g});return n.jsx(gl,{id:"quiz",name:r.title||qe(s,"quiz","뒤집어 보는 질문"),subtitle:r.subtitle,count:`정답은 두지 않습니다 — 힌트와 출처까지만 · 총 ${r.items.length}문항`,children:n.jsx(Mn,{label:"질문 목록",children:r.items.map((d,m)=>{const g=o.has(m);return n.jsx("button",{type:"button",onClick:()=>f(m),"aria-pressed":g,"aria-label":`${m+1}번 문제 ${g?"앞면 보기":"힌트 보기"}`,className:`w4-flip ${g?"w4-flip-on":""} h-[260px] w-[262px] shrink-0 text-left`,children:n.jsxs("span",{className:"w4-flip-inner block size-full",children:[n.jsxs("span",{className:"w4-flip-face w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[n.jsxs("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-95",children:["문제 ",m+1,d.level?` · ${d.level}`:""]}),n.jsx("span",{className:"serif text-[17px] font-bold leading-snug",children:d.question}),n.jsx("span",{className:"mt-auto text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:We},children:"눌러서 힌트 보기 →"})]}),n.jsxs("span",{className:"w4-flip-face w4-flip-back w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:We},children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:We},children:"힌트"}),n.jsx("span",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-95",children:d.hint??"힌트가 아직 없습니다."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Te},children:[d.topic&&n.jsx("span",{className:"block text-[length:var(--fs-xs)] opacity-90",children:d.topic}),n.jsx(ml,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${m}`)})})})}const Ll=256,Ms=318,wn=168,pp=34,s1=16,gp=4;function Fp(s,r,o){const u=Ll*2**o,f=s*Math.PI/180;return{x:(r+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function i1(s){if(s.length<2)return 15;for(let r=s1;r>gp;r-=1){const o=s.map(d=>Fp(d.lat,d.lng,r)),u=Math.max(...o.map(d=>d.x))-Math.min(...o.map(d=>d.x)),f=Math.max(...o.map(d=>d.y))-Math.min(...o.map(d=>d.y));if(u<=Ms-pp*2&&f<=wn-pp*2)return r}return gp}function r1(s,r){const o=d=>d.latitude!=null&&d.longitude!=null?{name:d.searchQuery??d.name,lat:d.latitude,lng:d.longitude}:void 0,u=[];let f=r;return s.forEach((d,m)=>{const g=o(d);g&&(u.push({label:String(m+1),...g,stop:d,from:f&&!c1(f,g)?f:void 0}),f=g)}),u}function c1(s,r){return Math.abs(s.lat-r.lat)<1e-5&&Math.abs(s.lng-r.lng)<1e-5}function o1(s){const o=s.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-y.x,o[u].y-y.y)<27);if(!d)break;const m=o[u].x-d.x,g=o[u].y-d.y,x=Math.hypot(m,g)||1,p=(27-x)/x;o[u].x+=(m||1)*p,o[u].y+=g*p}return o}function u1(s){return s.from?Oy(s.from,{name:s.stop.name,lat:s.lat,lng:s.lng}):Hp(s.stop.searchQuery??s.stop.name,s.lat,s.lng)}function f1({stops:s}){const{place:r}=te(),o=r.latitude!=null&&r.longitude!=null?{name:r.name,lat:r.latitude,lng:r.longitude}:void 0,u=s.filter(S=>S.latitude!=null&&S.longitude!=null);if(u.length===0||u.length===1&&s.length>1)return null;const f=r1(s,o),d=i1(f),m=o1(f.map(S=>Fp(S.lat,S.lng,d))),g=(Math.min(...m.map(S=>S.x))+Math.max(...m.map(S=>S.x)))/2,x=(Math.min(...m.map(S=>S.y))+Math.max(...m.map(S=>S.y)))/2,p=g-Ms/2,y=x-wn/2,b=2**d,j=[];for(let S=Math.floor(p/Ll);S<=Math.floor((p+Ms)/Ll);S+=1)for(let w=Math.floor(y/Ll);w<=Math.floor((y+wn)/Ll);w+=1){if(w<0||w>=b)continue;const k=(S%b+b)%b;j.push({key:`${S}-${w}`,url:`https://tile.openstreetmap.org/${d}/${k}/${w}.png`,left:S*Ll-p,top:w*Ll-y})}const T=m.map(S=>`${(S.x-p).toFixed(1)},${(S.y-y).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:wn,borderColor:Te,backgroundColor:"#e8e5df"},children:[j.map(S=>n.jsx("img",{src:S.url,alt:"",width:Ll,height:Ll,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:S.left,top:S.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},S.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:Ms,height:wn,viewBox:`0 0 ${Ms} ${wn}`,children:n.jsx("polyline",{points:T,fill:"none",stroke:We,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((S,w)=>{const k=m[w];return n.jsx("a",{href:u1(S),target:"_blank",rel:"noopener noreferrer",title:S.from?`${S.from.name} → ${S.stop.name} 길찾기`:`${S.stop.name} — 네이버 지도`,className:"absolute grid h-[22px] min-w-[22px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full px-1.5 text-[length:var(--fs-xs)] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:k.x-p,top:k.y-y,backgroundColor:We,color:fa,border:`1.5px solid ${fa}`},children:S.label},S.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[length:var(--fs-xs)] leading-tight text-stone-600",children:"© OpenStreetMap"})]})}function d1(s){const r=Math.floor(s/60),o=s%60;return[r>0?`${r}시간`:"",o>0?`${o}분`:""].filter(Boolean).join(" ")||"0분"}function Po(s){var r;return(r=s.days)!=null&&r.length?s.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:s.startTime,stops:s.stops??[]}]}function m1({item:s,badge:r,startTime:o,stops:u,first:f,placeName:d}){const m=Lb({name:s.name,startTime:o,stops:u});return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:Jt,borderColor:Te},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Te},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:f?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:r}),n.jsxs("span",{className:"text-[length:var(--fs-xs)] opacity-95",children:[m.from,"–",m.to," · ",d1(m.totalMinutes)]})]}),n.jsxs("div",{className:"space-y-1.5 px-4 pt-3.5",children:[n.jsx("h3",{className:"serif text-lg font-bold",children:s.name}),f&&s.audience&&n.jsx("p",{className:"text-[length:var(--fs-sm)] opacity-95",children:s.audience}),f&&s.why&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:s.why}),f&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-90",children:[d,"에서 출발 · ",m.from]})]}),n.jsx(f1,{stops:m.stops.map(g=>g.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:m.stops.map((g,x)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[length:var(--fs-sm)] tabular-nums opacity-90",children:g.time}),n.jsxs("div",{className:"border-l pb-5 pl-3",style:{borderColor:Te},children:[g.move>0&&n.jsxs("p",{className:"pt-1 text-[length:var(--fs-xs)] opacity-90",children:["↓ ",g.move,"분 이동"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[g.stop.imageUrl&&n.jsx("img",{src:g.stop.imageUrl,alt:`${g.stop.name} 사진`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Te}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-[length:var(--fs-sm)] font-bold",children:[n.jsx(t1,{n:x+1}),g.stop.name]}),g.stop.note&&n.jsx("span",{className:"mt-0.5 block text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:g.stop.note})]})]}),n.jsxs("p",{className:"mt-0.5 text-[length:var(--fs-xs)] opacity-90",children:[g.time,"–",g.until,g.stop.searchQuery&&` · 지도 검색 ${g.stop.searchQuery}`]})]})]},`${g.stop.name}-${x}`))}),n.jsx("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})}const Xo="그 밖의 일정";function h1(){var x;const s=te(),r=al(s,"itinerary"),u=(r.items.length>0?r.items:((x=s.local)==null?void 0:x.itineraries)??[]).filter(p=>Po(p).some(y=>y.stops.length>0)),f=[...new Set(u.map(p=>{var y;return((y=p.duration)==null?void 0:y.trim())||Xo}))],[d,m]=U.useState(null),g=d??f[0];return u.length===0?null:n.jsxs(gl,{id:"itinerary",name:r.title||qe(s,"itinerary","추천 일정"),subtitle:r.subtitle,count:"시각은 출발 시각과 머무는 시간으로 계산한 것입니다",children:[f.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"묵는 기간",children:f.map(p=>{const y=g===p;return n.jsxs("button",{type:"button",role:"tab","aria-selected":y,onClick:()=>m(p),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:y?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[p,n.jsx("span",{className:"ml-1.5 font-normal opacity-95",children:u.filter(b=>{var j;return(((j=b.duration)==null?void 0:j.trim())||Xo)===p}).length})]},p)})}),f.map(p=>n.jsx("div",{hidden:p!==g,children:n.jsx(p1,{tab:p,items:u.filter(y=>{var b;return(((b=y.duration)==null?void 0:b.trim())||Xo)===p}),placeName:s.place.name},g)},p))]})}function p1({tab:s,items:r,placeName:o}){const u=U.useMemo(()=>{let p=0;return r.map(y=>{const b=p;return p+=Po(y).length,{item:y,start:b}})},[r]),[f,d]=U.useState(0),m=U.useRef(null),g=U.useCallback(p=>{m.current=p},[]),x=u.reduce((p,y)=>y.start<=f?y.start:p,0);return n.jsxs(n.Fragment,{children:[u.length>1&&n.jsx("ul",{className:"border-line mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 border-b pb-3",children:u.map(({item:p,start:y})=>{const b=y===x;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var j;return(j=m.current)==null?void 0:j.scrollTo(y)},"aria-current":b,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${b?"font-bold underline":"opacity-90 hover:underline"}`,children:p.name})},`${p.name}-${y}`)})}),n.jsx(Mn,{label:`${s} 일정`,onSelect:d,onReady:g,children:u.flatMap(({item:p,start:y},b)=>Po(p).map((j,T)=>n.jsx(m1,{item:p,badge:j.label??p.duration??`${T+1}일차`,startTime:j.startTime,stops:j.stops,first:T===0,placeName:o},`${p.name}-${y}-${T}`)))})]})}function g1(){const s=te(),r=al(s,"video"),[o,u]=U.useState(),f=U.useRef(null),[d,m]=U.useState({prev:!1,next:!0}),g=U.useCallback(()=>{const y=f.current;if(!y)return;const b=y.scrollWidth-y.clientWidth;m({prev:y.scrollLeft>8,next:y.scrollLeft(g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)),[g]);const x=U.useCallback(y=>{const b=f.current;if(!b)return;const j=window.matchMedia("(prefers-reduced-motion: reduce)").matches;b.scrollBy({left:y*b.clientWidth*.85,behavior:j?"auto":"smooth"})},[]);if(wu({box:f,interval:Su,advance:()=>Gp(f.current)}),r.items.length===0)return null;const p=r.items.length>1;return n.jsx(gl,{id:"video",name:r.title||qe(s,"video","영상으로 보기"),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:g,className:p?"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2 [scrollbar-width:none] lg:grid lg:grid-cols-3 lg:gap-4 lg:snap-none lg:overflow-visible lg:pb-0 [&::-webkit-scrollbar]:hidden":"grid grid-cols-1 gap-4",children:r.items.map((y,b)=>{const j=Ab(y.url),T=_b(y.url),S=o===b;return n.jsx("li",{className:p?"shrink-0 basis-[86%] snap-start sm:basis-[56%] lg:basis-auto":"",children:n.jsxs("figure",{className:"space-y-2",children:[n.jsx("div",{className:"tpl-border relative mx-auto overflow-hidden border",style:{borderColor:Te,backgroundColor:Jt,aspectRatio:T?"9 / 16":"16 / 9",width:T?"min(100%, 22rem)":"100%"},children:S&&j?n.jsx("iframe",{src:kb(j),title:y.caption||"영상",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full border-0"}):n.jsxs("a",{href:y.url,target:"_blank",rel:"noopener noreferrer",onClick:w=>{j&&(w.preventDefault(),u(b))},"aria-label":`${y.caption||"영상"} 재생`,className:"group block size-full",children:[j?n.jsx("img",{src:Cb(j),alt:"",loading:"lazy",decoding:"async",className:"size-full object-cover"}):n.jsx("span",{className:"text-muted grid size-full place-items-center px-4 text-center text-[length:var(--fs-xs)]",children:"유튜브 영상이 아닙니다 — 눌러서 원본으로 갑니다"}),n.jsx("span",{className:"absolute inset-0 grid place-items-center",children:n.jsx("span",{className:"grid size-14 place-items-center rounded-full backdrop-blur transition-transform group-hover:scale-110",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 70%, transparent)",color:"var(--tpl-bg, #fff)"},children:n.jsx(ib,{className:"size-6"})})})]})}),y.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:y.caption}),n.jsx(ml,{source:y.source,verified:y.verified})]})},`${y.url}-${b}`)})}),p&&n.jsxs(n.Fragment,{children:[n.jsx(xp,{dir:"prev",onClick:()=>x(-1),disabled:!d.prev}),n.jsx(xp,{dir:"next",onClick:()=>x(1),disabled:!d.next})]})]})})}function xp({dir:s,onClick:r,disabled:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":s==="prev"?"이전 영상":"다음 영상",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:pointer-events-none disabled:opacity-0 lg:hidden ${s==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const x1={1:"한",2:"두",3:"세",4:"네",5:"다섯",6:"여섯",7:"일곱"},v1=s=>[{id:"songs",label:"가요 다방",Component:Vp},{id:"people",label:"인물 열전",Component:Zp},{id:"chronicle",label:"시간의 골목",Component:Kp},{id:"reading",label:`${s} 읽기`,Component:Jp},{id:"postcard",label:"오늘의 엽서",Component:Wp}];function b1(){const s=te(),r=s.place.addressLocality??"지역",o=qe(s,"story",`${r} 이야기`),u=v1(r).filter(m=>al(s,m.id).items.length>0),[f,d]=U.useState(0);return u.length===0?null:n.jsxs(n.Fragment,{children:[n.jsx("section",{id:"story","aria-labelledby":"story-heading",className:"paper w-full",style:{backgroundColor:"var(--tpl-surface, #fafafa)",color:dl,paddingTop:"var(--section-space)",paddingBottom:"calc(var(--section-space) * 0.55)"},children:n.jsxs("div",{className:"shell",children:[n.jsx("h2",{id:"story-heading",className:"h2",children:o}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-95",children:["이 도시를 ",x1[u.length]??`${u.length}`," 갈래로 봅니다. 하나씩 골라 보세요."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":o,children:u.map((m,g)=>{const x=g===f;return n.jsx("button",{type:"button",role:"tab","aria-selected":x,"aria-controls":m.id,onClick:()=>d(g),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:x?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:m.label},m.id)})})]})}),u.map((m,g)=>n.jsx("div",{hidden:g!==f,children:n.jsx(m.Component,{})},m.id))]})}const y1={open:"진행 중",soon:"곧 시작",closed:"종료"};function vp(s,r){return s.endDate&&s.endDater?"soon":"open"}function Vo(s,r){return s.kind==="공지"&&!s.startDate&&!s.endDate?"공지":r&&y1[r]}function Zo(s){const r=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}월 ${Number(d[3])}일`:void 0},o=r(s.startDate),u=r(s.endDate);if(o&&u)return o===u?o:`${o} – ${u}`;if(o)return`${o}부터`;if(u)return`${u}까지`}function j1(){const s=te(),r=al(s,"event"),[o,u]=U.useState();U.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=U.useState(null),m=U.useCallback(()=>d(null),[]);if(U.useEffect(()=>{if(f===null)return;const p=b=>{b.key==="Escape"&&m()},y=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",p),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",p)}},[f,m]),r.items.length===0)return null;const g=f===null?void 0:r.items[f],x=g&&o?vp(g,o):void 0;return n.jsxs(gl,{id:"event",name:r.title||qe(s,"event",`${s.place.name} 소식`),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,count:"자세한 내용과 최신 소식은 원문에서 확인해 주세요.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:r.items.map((p,y)=>{const b=o?vp(p,o):void 0,j=Vo(p,b),T=Zo(p),S=b==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:Jt,borderColor:Te,opacity:S?.6:1,boxShadow:S?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(y),"aria-label":`${p.title} 자세히 보기`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:p.imageUrl?"relative overflow-hidden border-b-2":"contents",style:p.imageUrl?{borderColor:Te}:void 0,children:p.imageUrl?n.jsx("img",{src:p.imageUrl,alt:`${p.title} 안내 이미지`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:S?{filter:"grayscale(1)"}:void 0}):null}),n.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[j&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:b==="open"&&j!=="공지"?We:Jt,color:b==="open"&&j!=="공지"?fa:dl,borderColor:b==="open"&&j!=="공지"?We:Te},children:j}),T&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-semibold tabular-nums opacity-90",children:T})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"line-clamp-2 text-[length:var(--fs-sm)] leading-relaxed opacity-90",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:p.howTo}),p.body&&n.jsx("p",{className:`whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-95 ${p.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:p.body}),n.jsx("p",{className:"mt-auto pt-2 text-[length:var(--fs-sm)] font-bold opacity-95",children:"자세히 보기 →"})]})]},`${p.title}-${y}`)})}),g&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":g.title,className:"fixed inset-0 z-50 flex items-end justify-center bg-black/70 p-0 backdrop-blur-sm sm:items-center sm:p-6",onClick:m,children:n.jsxs("article",{onClick:p=>p.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:Jt,borderColor:Te,color:dl},children:[g.imageUrl&&n.jsx("img",{src:g.imageUrl,alt:`${g.title} 안내 이미지`,className:"max-h-[46vh] w-full object-contain",style:{backgroundColor:"color-mix(in oklab, currentcolor 6%, transparent)"}}),n.jsxs("div",{className:"space-y-4 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[Vo(g,x)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{borderColor:Te},children:Vo(g,x)}),Zo(g)&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums opacity-95",children:Zo(g)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:g.title}),g.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-95",children:g.summary}),g.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:g.howTo}),g.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-95",children:g.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[g.postUrl?n.jsx("a",{href:g.postUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",children:"원문 보기 →"}):n.jsx("span",{}),n.jsxs("button",{type:"button",onClick:m,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Te},children:[n.jsx(iu,{className:"size-4"}),n.jsx("span",{children:"닫기"})]})]})]})]})})]})}const N1={songs:Vp,daily:l1,people:Zp,chronicle:Kp,reading:Jp,postcard:Wp,quiz:n1,itinerary:h1,video:g1,event:j1,story:b1},eu=1080,Os=4,ft=56,tu=190,Ko="#1b1a15",S1="#efe7d3",bp="#bf2f1b";function Ip(s=eu){return s-ft-tu-ft-24}function Pp(s,r,o){const u=[];return r.split(`
+`).forEach(f=>{if(f.trim()===""){u.push("");return}let d="";f.split(" ").forEach(m=>{const g=d?`${d} ${m}`:m;if(s.measureText(g).width<=o){d=g;return}if(d&&u.push(d),s.measureText(m).width<=o){d=m;return}let x="";for(const p of m){const y=x+p;s.measureText(y).width>o&&x?(u.push(x),x=p):x=y}d=x}),d&&u.push(d)}),u}function w1(s,r,o){const u=[];let f="";return r.split(/[,\s]+/).filter(Boolean).forEach(d=>{const m=f?`${f} ${d}`:d;if(s.measureText(m).width<=o){f=m;return}if(f&&u.push(f),s.measureText(d).width<=o){f=d;return}let g="";for(const x of d){const p=g+x;s.measureText(p).width>o&&g?(u.push(g),g=x):g=p}f=g}),f&&u.push(f),u}const E1="/v1/image/relay?url=";async function z1(s){const r=(o,u)=>new Promise((f,d)=>{const m=new Image;u&&(m.crossOrigin=u),m.onload=()=>f(m),m.onerror=d,m.src=o});try{return{img:await r(s,"anonymous"),exportable:!0}}catch{}if(/^https?:\/\//i.test(s))try{return{img:await r(`${E1}${encodeURIComponent(s)}`,"anonymous"),exportable:!0}}catch{}return{img:await r(s,null),exportable:!1}}function T1(){const s=document.querySelector(".serif");return(s?getComputedStyle(s).fontFamily:"")||"serif"}async function yp(s,{photoUrl:r,text:o,placeName:u,region:f}){const d=s.getContext("2d");if(!d)return!1;const m=s.width,g=T1();d.clearRect(0,0,m,m),d.fillStyle=S1,d.fillRect(0,0,m,m);const{img:x,exportable:p}=await z1(r),y=m-ft*2,b=y/1.5,j=Math.max(y/x.width,b/x.height),T=x.width*j,S=x.height*j;d.save(),d.beginPath(),d.rect(ft,ft,y,b),d.clip(),d.drawImage(x,ft+(y-T)/2,ft+(b-S)/2,T,S),d.restore(),d.strokeStyle="rgba(27,26,21,0.25)",d.lineWidth=1,d.strokeRect(ft+.5,ft+.5,y-1,b-1);const w=ft+b+36,k=m-ft-tu,R=Ip(m);d.strokeStyle="rgba(27,26,21,0.35)",d.beginPath(),d.moveTo(k,w),d.lineTo(k,m-ft-46),d.stroke(),d.fillStyle=Ko,d.font=`600 46px ${g}`,d.textAlign="left",d.textBaseline="alphabetic";const V=Pp(d,`“${o.trim()||"오늘, 이 숙소에서 하루를 보냅니다."}”`,R),Y=V.slice(0,Os);if(V.length>Os){let F=Y[Os-1];for(;F.length&&d.measureText(`${F}…`).width>R;)F=F.slice(0,-1);Y[Os-1]=`${F}…`}Y.forEach((F,le)=>d.fillText(F,ft,w+50+le*60));const X=k+tu/2;d.strokeStyle=Ko,d.lineWidth=1.5,d.setLineDash([4,4]),d.strokeRect(X-44,w,88,108),d.setLineDash([]),d.fillStyle=Ko,d.font=`400 20px ${g}`,d.textAlign="center",d.fillText("郵票",X,w+46),d.fillText("10원",X,w+78),d.save(),d.translate(X,w+210),d.rotate(-6*Math.PI/180),d.strokeStyle=bp,d.lineWidth=3,d.beginPath(),d.arc(0,0,62,0,Math.PI*2),d.stroke(),d.fillStyle=bp,d.font=`600 22px ${g}`;const G=w1(d,u,100).slice(0,2),J=8-(G.length-1)*26/2;G.forEach((F,le)=>d.fillText(F,0,J+le*26)),d.restore();const $=m-ft-30;return d.strokeStyle="rgba(27,26,21,0.3)",d.setLineDash([3,3]),d.beginPath(),d.moveTo(ft,$-20),d.lineTo(m-ft,$-20),d.stroke(),d.setLineDash([]),d.fillStyle="rgba(27,26,21,0.6)",d.font=`400 22px ${g}`,d.textAlign="left",d.fillText(`${u} · ${f}`,ft,$+6),p}const jp="postcard.png";function A1(){const s=te(),r=(s.media??[]).filter(Y=>Y.url),o=U.useRef(null),[u,f]=U.useState(0),[d,m]=U.useState(""),[g,x]=U.useState(""),[p,y]=U.useState(!1),[b,j]=U.useState(!0);U.useEffect(()=>{var Y;y(((Y=window.matchMedia)==null?void 0:Y.call(window,"(pointer: coarse)").matches)??!1)},[]);const T=s.place.name,S=String(s.place.address??"").split(" ").slice(0,2).join(" ");if(U.useEffect(()=>{const Y=o.current,X=r[u];if(!Y||!(X!=null&&X.url))return;const G=window.setTimeout(()=>{yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j)},80);return()=>window.clearTimeout(G)},[u,d,T,S,r]),U.useEffect(()=>{var G;const Y=o.current,X=r[u];!Y||!(X!=null&&X.url)||!((G=document.fonts)!=null&&G.ready)||document.fonts.ready.then(()=>yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j))},[]),r.length===0)return null;function w(Y){var G;const X=(G=o.current)==null?void 0:G.getContext("2d");return X?(X.font="600 46px serif",Pp(X,`“${Y}”`,Ip()).length<=Os):!0}function k(){return new Promise(Y=>{const X=o.current;if(!X)return Y(null);X.toBlob(G=>Y(G),"image/png",.95)})}function R(Y){const X=URL.createObjectURL(Y),G=document.createElement("a");G.href=X,G.download=jp,G.click(),URL.revokeObjectURL(X)}async function V(){var J,$;const Y=await k();if(!Y)return;const X=((J=document.querySelector('meta[property="og:url"]'))==null?void 0:J.content)??`${location.origin}${location.pathname}`,G=new File([Y],jp,{type:"image/png"});if(($=navigator.canShare)!=null&&$.call(navigator,{files:[G]})){await navigator.share({files:[G],title:`${T} 엽서`,text:X}).catch(()=>{});return}if(navigator.share){await navigator.share({title:`${T} 엽서`,url:X}).catch(()=>{}),x('이 브라우저는 사진을 같이 못 보내 링크만 보냈습니다. 사진은 "이미지로 저장" 을 눌러 주세요.');return}R(Y),x("이 브라우저는 공유 시트를 못 열어 저장으로 대신했습니다.")}return n.jsx(gt,{id:"postcard-maker",title:"엽서 쓰기",lead:`${T}에서 보내는 한 장을 직접 써 봅니다. 사진을 고르고 한 마디를 적으면 그 자리에서 엽서가 되고, 그대로 공유하거나 저장할 수 있습니다.`,children:n.jsxs("div",{className:"mx-auto grid max-w-3xl gap-5 sm:grid-cols-[minmax(0,360px)_minmax(0,1fr)] sm:items-start",children:[n.jsx("canvas",{ref:o,width:eu,height:eu,"aria-label":"내가 만든 엽서 미리보기",className:"border-line mx-auto block aspect-square h-auto w-full max-w-[360px] border"}),n.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[n.jsx("div",{className:"min-w-0",role:"radiogroup","aria-label":`엽서 사진 고르기(${r.length}장)`,children:n.jsx(vr,{label:"엽서 사진",gap:.5,dots:!1,autoplay:!1,children:r.map((Y,X)=>n.jsx("button",{type:"button",onClick:()=>f(X),role:"radio","aria-checked":X===u,"aria-label":`사진 ${X+1}`,className:"border-line size-10 shrink-0 overflow-hidden rounded border transition-opacity",style:{opacity:X===u?1:.5},children:n.jsx("img",{src:Y.url,alt:"",loading:"lazy",className:"size-full object-cover"})},Y.url))})}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"postcard-text",className:"text-[length:var(--fs-sm)] font-bold",children:"엽서에 적을 말"}),n.jsx("textarea",{id:"postcard-text",rows:3,maxLength:60,value:d,placeholder:"여기에 적으면 엽서에 바로 나타납니다",onChange:Y=>{w(Y.target.value)&&m(Y.target.value)},className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["네 줄까지 · ",d.length,"/60"]})]}),b?n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx("button",{type:"button",onClick:()=>void V(),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)] font-bold",children:p?"카카오톡 등으로 공유":"공유하기"}),n.jsx("button",{type:"button",onClick:()=>void k().then(Y=>Y&&R(Y)),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)]",children:"이미지로 저장"})]}):n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 사진은 다른 사이트에 올라와 있어 저장·공유가 막혀 있습니다. 화면으로만 보여 드립니다."}),g&&n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:g})]})]})})}function _1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(M1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(O1,{}),n.jsx(kn,{})]})}function eg(){const s=te(),r=dt(s);return[{id:"intro",href:"#about",fallback:"소개"},{id:r.path,href:"#units",fallback:r.label},{id:"info",href:"#info",fallback:"이용 정보"},{id:"booking",href:"#booking",fallback:"예약 안내"},{id:"photos",href:"#gallery",fallback:"사진"},{id:"map",href:"#location",fallback:"오시는 길"},{id:"local",href:"#guide",fallback:"주변 정보"},{id:"faq",href:"#faq",fallback:"자주 묻는 질문"}].filter(o=>ll(s,o.id)).map(o=>({label:qe(s,o.id,o.fallback),href:o.href}))}const C1=24,k1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function M1(){const s=te(),r=eg(),[o,u]=U.useState(!1);U.useEffect(()=>{const d=()=>u(window.scrollY>C1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-95 transition-opacity hover:opacity-100":"underline-offset-4 hover:underline";return n.jsx("header",{className:`fixed inset-x-0 top-0 z-40 w-full transition-colors duration-300 ${o?"border-line border-b backdrop-blur-md":""}`,style:o?{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"}:{color:"var(--tpl-bg, #ffffff)",textShadow:k1},children:n.jsxs("div",{className:"shell grid h-20 grid-cols-[1fr_auto] items-center gap-4 lg:grid-cols-[1fr_auto_1fr]",children:[n.jsx("a",{href:"#top",className:"min-w-0",children:n.jsx("span",{className:"serif block truncate",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.12em"},children:s.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center justify-center gap-10 lg:flex",children:r.map(d=>n.jsx("a",{href:d.href,className:`py-1 text-[length:var(--fs-sm)] font-light ${f}`,children:d.label},d.href))}),n.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:s.place.phone}),r.length>0&&n.jsxs("details",{className:"lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center justify-center px-2 text-[length:var(--fs-sm)] font-light marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:"메뉴"}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line absolute inset-x-0 top-full border-b border-t",style:{backgroundColor:"var(--tpl-surface, #fff)",color:"var(--tpl-text)",textShadow:"none"},children:n.jsx("ul",{className:"divide-line shell divide-y",children:r.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center text-[length:var(--fs-sm)] font-light",children:d.label})},d.href))})})]})]})]})})}function O1(){var p,y,b,j;const s=te(),{place:r,site:o,narrative:u}=s,f=eg(),d=r.roadAddress??r.address,m=Ze(s)[0],g=Cn(s),x=u.about[0]??u.summary;return n.jsx("footer",{className:"border-line paper w-full border-t pb-28 md:pb-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)",paddingTop:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid gap-10 md:grid-cols-3 md:gap-12",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"serif",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.1em"},children:r.name}),x&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:x})]}),n.jsxs("dl",{className:"min-w-0 space-y-5",children:[d&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"주소"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:d})]}),r.phone&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"전화"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light tabular-nums",children:n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-4 hover:underline",children:r.phone})})]}),r.email&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"이메일"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-4 hover:underline",children:r.email})})]}),m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"예약"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:Ls(m)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"사이트 메뉴",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:T.label})},T.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),g.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:Ls(T)})},T.url))}),n.jsxs("div",{className:"text-muted mt-8 flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center text-[length:var(--fs-xs)] font-light",children:[n.jsxs("span",{children:["상호 ",r.name]}),((p=r.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표 ",r.legal.representative]}),((y=r.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호 ",r.legal.businessRegistrationNumber]}),((b=r.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고 ",r.legal.mailOrderNumber]}),((j=r.legal)==null?void 0:j.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호"," ",r.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]})]})})}const D1=`
+.oasi-page main > section:not([data-oasi]) {
+ background-color: transparent !important;
+ background-image: none !important;
+ border-color: transparent !important;
+ color: var(--tpl-text) !important;
+ padding-block: var(--oasi-gap) 0 !important;
+}
+.oasi-page main > section:not([data-oasi]) .shell {
+ max-width: none;
+ padding-inline: 0;
+}
+.oasi-page main > section#about > .shell > .grid {
+ display: block;
+}
+.oasi-page main > section#about > .shell > .grid > * + * {
+ margin-top: 2.5rem;
+}
+.oasi-page main > section#summary dl {
+ grid-template-columns: minmax(0, 1fr);
+}
+
+/*
+ * 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요")
+ *
+ * ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의
+ * ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서
+ * **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.**
+ * ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지
+ * 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다.
+ * ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면
+ * 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다.
+ * ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다")
+ * 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면
+ * 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다.
+ */
+.oasi-page section#event li,
+.oasi-page section#itinerary article {
+ background-image: none !important;
+ background-color: color-mix(in oklab, currentcolor 3%, transparent) !important;
+ border-width: 1px !important;
+ box-shadow: none !important;
+}
+
+.oasi-page .panel,
+.oasi-page .panel-sunken {
+ background-color: transparent;
+ border-width: 0;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.oasi-page main > section#faq > .shell > div:last-of-type {
+ row-gap: 0;
+ column-gap: 2.5rem;
+}
+.oasi-page main > section#faq details {
+ margin-block: 0;
+ border-top: 1px solid var(--site-line);
+}
+.oasi-page main > section#faq summary {
+ padding-inline: 0;
+}
+.oasi-page main > section#faq summary > span:first-child {
+ width: 1.125rem;
+}
+.oasi-page main > section#faq summary + div {
+ border-top-width: 0;
+ padding-inline: 1.875rem 0;
+ padding-top: 0.5rem;
+}
+
+.oasi-page main > section#info dl.panel > div {
+ padding-inline: 0;
+}
+.oasi-page main > section#info dl > div.panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+
+.oasi-page main > section#location .panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child {
+ padding-left: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child {
+ padding-right: 0;
+}
+
+.oasi-page main > section#weather .panel {
+ padding-inline: 0;
+}
+
+.oasi-page main > section#guide .panel > span:last-child {
+ padding-inline: 0;
+}
+@media (min-width: 40rem) {
+ .oasi-page main > section#festival .panel > span:last-child {
+ padding-inline: 0;
+ }
+}
+`,R1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function U1({children:s}){var y,b,j,T;const r=te(),{place:o}=r,u=dt(r),f=Ze(r)[0],d=Cn(r),m=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:ll(r,"intro")},{label:u.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(S=>S.show),g=[...Ra(r).map(S=>`${S.label} ${S.value}`),...r.theme.sections.filter(S=>{var w;return S.enabled&&((w=S.name)==null?void 0:w.trim())}).map(S=>S.name.trim())].slice(0,3),x=r.narrative.tagline??r.narrative.heroSubline,p=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:R1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:D1}}),n.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[n.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[n.jsxs("a",{href:"#top",className:"block",children:[n.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:o.name}),o.englishName&&n.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:o.englishName})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:n.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:m.map((S,w)=>n.jsx("li",{children:n.jsx("a",{href:S.href,"aria-current":w===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${w===0?"":"text-muted"}`,children:S.label})},S.label))})}),f&&n.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(g.length>0||x)&&n.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[g.length>0&&n.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:g.map((S,w)=>n.jsxs("li",{className:"flex items-center gap-4",children:[w>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:S})]},S))}),x&&n.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:n.jsx(ha,{children:x})})]}),s]})]}),n.jsx("footer",{className:"border-line mt-auto w-full border-t",children:n.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[n.jsxs("p",{children:["[",o.name,"]"]}),d.length>0?n.jsx("ul",{className:"space-y-1",children:d.map(S=>n.jsx("li",{children:n.jsx("a",{href:S.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:Ls(S)})},S.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[p&&n.jsx("p",{children:p}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-[5px]",children:o.phone})}),o.email&&n.jsx("p",{children:o.email}),((y=o.legal)==null?void 0:y.representative)&&n.jsxs("p",{children:["대표 ",o.legal.representative]}),((b=o.legal)==null?void 0:b.businessRegistrationNumber)&&n.jsxs("p",{children:["사업자등록번호 ",o.legal.businessRegistrationNumber]}),((j=o.legal)==null?void 0:j.mailOrderNumber)&&n.jsxs("p",{children:["통신판매업신고 ",o.legal.mailOrderNumber]}),((T=o.legal)==null?void 0:T.licenseNumber)&&n.jsxs("p",{children:[o.legal.licenseLabel??"인허가번호"," ",o.legal.licenseNumber]}),n.jsxs("p",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:r.site.updatedAt,children:Qs(r.site.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function L1({children:s}){var j,T,S,w;const r=te(),{place:o,narrative:u,site:f}=r,d=dt(r),m=_n(r),g=Ra(r),x=Ze(r)[0],p=r.links.filter(k=>k.confirmed),y=o.roadAddress??o.address,b=[{label:"소개",href:"#about",show:ll(r,"intro")},{label:d.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(k=>k.show);return n.jsxs("div",{className:"flex min-h-screen w-full flex-col lg:flex-row",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("aside",{className:"w-full shrink-0 px-6 pb-8 pt-8 lg:sticky lg:top-0 lg:h-screen lg:w-[260px] lg:overflow-y-auto lg:px-7 lg:py-10",style:{backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"flex h-full min-w-0 flex-col",children:[n.jsx("a",{href:"#top",className:"block min-w-0",children:n.jsx("h1",{className:"serif min-w-0 break-keep font-black",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.12em",lineHeight:1.25},children:o.name})}),(u.tagline??u.heroSubline)&&n.jsx("p",{className:"text-muted mt-3 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:n.jsx(ha,{children:u.tagline??u.heroSubline})}),(m||g.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:m})]}),g.map(k=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:k.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:k.value})]},k.label))]}),x&&n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-5 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg)"},children:pt(x)}),o.phone&&n.jsxs("a",{href:`tel:${o.phone}`,className:"tap mt-2 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--tpl-surface-alt)",color:"var(--tpl-text)"},children:["전화 ",o.phone]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-10",children:n.jsx("ul",{className:"space-y-0.5",children:b.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:k.label})},k.label))})}),p.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:p.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-xs)] underline-offset-4 transition-colors hover:text-current hover:underline",children:pl(k)})},k.url))})}),n.jsxs("div",{className:"text-muted mt-14 space-y-1 pb-2 text-[length:var(--fs-xs)] lg:mt-auto lg:pt-14",children:[y&&n.jsx("p",{className:"break-keep",children:y}),o.phone&&n.jsx("p",{children:o.phone}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline-offset-2 hover:underline",children:o.email})}),n.jsxs("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 pt-3",children:[n.jsxs("span",{children:["상호: ",o.name]}),((j=o.legal)==null?void 0:j.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((T=o.legal)==null?void 0:T.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((S=o.legal)==null?void 0:S.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((w=o.legal)==null?void 0:w.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline pt-1",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:f.updatedAt,children:Qs(f.updatedAt)})]})]})]})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col pb-24 lg:pb-0",children:s}),n.jsx(kn,{})]})}const H1=`
+.pastel-page > main > section:not([data-pastel]) {
+ border-color: transparent;
+ background-image: none;
+ color: var(--pastel-ink) !important;
+}
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; }
+`,B1={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function q1({children:s}){const r=te(),o=dt(r),u=Cn(r),f=[{label:"소개",href:"#about",show:ll(r,"intro")},{label:o.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:r.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:B1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:H1}}),n.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:n.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:r.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>n.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-95 transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r.place.phone&&n.jsx("a",{href:`tel:${r.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(Ct,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":pl(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(Wv,{className:"size-4"}):n.jsx(su,{className:"size-4"})},d.url)),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(zp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:n.jsx("ul",{children:f.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),s,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Xp,{})}),n.jsx(kn,{})]})}function Y1({children:s}){var p,y,b,j;const r=te(),{place:o,site:u}=r,f=Up(),d=G1(f),m=Ze(r)[0],g=r.links.filter(T=>T.confirmed),x=o.roadAddress??o.address;return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:n.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[n.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:o.name}),n.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[o.phone&&n.jsx("a",{href:`tel:${o.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:o.phone}),m&&n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:pt(m)})]})]})}),n.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&n.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Hs},children:n.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(T=>{const S=T.anchor===d;return n.jsxs("a",{href:`#${T.anchor}`,"aria-current":S?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:S?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:T.no}),n.jsx("span",{className:"truncate",style:{fontWeight:S?700:400},children:T.label})]},T.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:s})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current opacity-95"}),n.jsxs("div",{className:"grid grid-cols-1 gap-8 pt-8 md:grid-cols-12",children:[n.jsxs("div",{className:"md:col-span-5",children:[n.jsx("p",{className:"serif",style:{fontSize:"clamp(1.5rem, 4vw, 2.5rem)",fontWeight:800,lineHeight:1.05},children:o.name}),o.englishName&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] uppercase tracking-[0.18em] opacity-90",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic opacity-90 md:col-span-4",children:[x&&n.jsx("p",{children:x}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-4",children:o.phone})}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline underline-offset-4",children:o.email})})]}),g.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"md:col-span-3",children:n.jsx("ul",{className:"space-y-1.5 text-[length:var(--fs-sm)]",children:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 opacity-90 transition-opacity hover:opacity-100",children:pl(T)})},T.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] opacity-90 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",o.name]}),((p=o.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((b=o.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((j=o.legal)==null?void 0:j.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:u.updatedAt,children:Qs(u.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function G1(s){const r=s.map(f=>f.anchor).join(","),[o,u]=U.useState("");return U.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=r.split(",").map(m=>document.getElementById(m)).filter(m=>m!==null);if(f.length===0)return;const d=new IntersectionObserver(m=>{const g=m.find(x=>x.isIntersecting);g&&u(g.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(m=>d.observe(m)),()=>d.disconnect()},[r]),o}function $1(){const s=te(),r=s.place.category===ua.LODGING,o={intro:v0,info:j0,rooms:Go,menu:Go,programs:Go,booking:r?sp:D0,space:q0,inquiry:Y0,exhibition:G0,photos:P0,festival:X0,local:Z0,weather:I0,map:dp,faq:e1,...N1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(_y,{}),s.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const m=d.name;return u.has(m)?null:(u.add(m),n.jsx("div",{"data-editor-id":f.id,style:{display:"contents"},children:n.jsx(d,{})},f.id))}),!ll(s,"map")&&n.jsx(dp,{}),r&&!oy(s,"booking")&&n.jsx(sp,{}),n.jsx(A1,{})]})}function lu({payload:s}){const r=Rp(s.theme.templateId),o=r==="reservation"?_1:r==="oasi"?U1:r==="studio"?L1:r==="pastel"?q1:r==="editorial"?Y1:Q1;return n.jsx(gb,{payload:s,children:n.jsx(o,{children:n.jsx($1,{})})})}function Q1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(uy,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(Xp,{}),n.jsx(kn,{})]})}function X1(s){const{colors:r,look:o}=s.theme,u=Bb(r),f={"--tpl-primary":r.primary,"--tpl-secondary":r.secondary,"--tpl-bg":r.bg,"--tpl-card":r.card,"--tpl-text":r.text,"--tpl-accent":r.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=g=>g&&!/[<>{};]/.test(g)?g:void 0,m=[["--tpl-font-heading",d(o.fontHeading)],["--tpl-font-body",d(o.fontBody)],["--tpl-heading-tracking",d(o.headingTracking)],["--tpl-heading-weight",d(o.headingWeight)],["--tpl-section-space",d(o.sectionSpace)],["--tpl-border-width",d(o.borderWidth)],["--tpl-radius",d(o.radius)],["--tpl-shadow",d(o.shadow)],["--tpl-texture",d(o.texture)]];for(const[g,x]of m)x&&(f[g]=x)}return f}const V1=[[/Noto Sans KR/i,"family=Noto+Sans+KR:wght@300..900"],[/Noto Serif KR/i,"family=Noto+Serif+KR:wght@300..700"],[/Gugi/i,"family=Gugi"],[/Gowun Batang/i,"family=Gowun+Batang:wght@400;700"],[/Nanum Pen Script/i,"family=Nanum+Pen+Script"]];function Z1(s){var u,f;const r=["Noto Sans KR","Noto Serif KR",((u=s.theme.look)==null?void 0:u.fontHeading)??"",((f=s.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${V1.filter(([d])=>d.test(r)).map(([,d])=>d).join("&")}&display=swap`}const dr=document.getElementById("root"),Np=window.__SITE_PAYLOAD__;function Tu(s){if(window.parent===window)return;const r=()=>window.parent.postMessage({type:"o2o:preview-painted",ok:s},window.location.origin);requestAnimationFrame(()=>requestAnimationFrame(r))}function K1(){return U.useEffect(()=>Tu(!0),[]),null}async function J1(s){const r=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${s}/site/preview`,{headers:r?{Authorization:`Bearer ${r}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,m]of Object.entries(X1(u)))document.documentElement.style.setProperty(d,m);const f=document.createElement("link");f.rel="stylesheet",f.href=Z1(u),document.head.appendChild(f),await new Promise(d=>{f.addEventListener("load",()=>d(),{once:!0}),f.addEventListener("error",()=>d(),{once:!0}),setTimeout(d,2500)});try{await document.fonts.ready}catch{}Jo.createRoot(dr).render(n.jsxs(U.StrictMode,{children:[n.jsx(lu,{payload:u}),n.jsx(K1,{})]})),Tu(!0)}const Sp=new URLSearchParams(window.location.search).get("placeId");Np?Jo.hydrateRoot(dr,n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:Np})})):Sp?J1(Sp).catch(s=>{dr.textContent=`미리보기를 불러오지 못했습니다 — ${s instanceof Error?s.message:String(s)}`,Tu(!1)}):pv(async()=>{const{MOONLIGHT_STAY_PAYLOAD:s}=await import("./moonlight-stay-Z7E7fuYZ.js");return{MOONLIGHT_STAY_PAYLOAD:s}},[]).then(({MOONLIGHT_STAY_PAYLOAD:s})=>{Jo.createRoot(dr).render(n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:s})}))});export{Lh as F,yt as L,ua as P,Sb as S,W1 as a};
diff --git a/solution/site/scripts/mockup/vendor/retired/index-5_0lQ250.js b/solution/site/scripts/mockup/vendor/retired/index-5_0lQ250.js
new file mode 100644
index 0000000..874e691
--- /dev/null
+++ b/solution/site/scripts/mockup/vendor/retired/index-5_0lQ250.js
@@ -0,0 +1,336 @@
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const m0="modulepreload",h0=function(s){return"/"+s},wh={},p0=function(r,o,u){let f=Promise.resolve();if(o&&o.length>0){let m=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),x=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));f=m(o.map(p=>{if(p=h0(p),p in wh)return;wh[p]=!0;const y=p.endsWith(".css"),b=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const j=document.createElement("link");if(j.rel=y?"stylesheet":m0,y||(j.as="script"),j.crossOrigin="",j.href=p,x&&j.setAttribute("nonce",x),document.head.appendChild(j),y)return new Promise((T,S)=>{j.addEventListener("load",T),j.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=m,window.dispatchEvent(g),!g.defaultPrevented)throw m}return f.then(m=>{for(const g of m||[])g.status==="rejected"&&d(g.reason);return r().catch(d)})};var Do={exports:{}},_s={};/**
+ * @license React
+ * react-jsx-runtime.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Eh;function g0(){if(Eh)return _s;Eh=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var g in f)g!=="key"&&(d[g]=f[g])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return _s.Fragment=r,_s.jsx=o,_s.jsxs=o,_s}var zh;function x0(){return zh||(zh=1,Do.exports=g0()),Do.exports}var n=x0(),Ro={exports:{}},ue={};/**
+ * @license React
+ * react.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Th;function v0(){if(Th)return ue;Th=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),j=Symbol.iterator;function T(E){return E===null||typeof E!="object"?null:(E=j&&E[j]||E["@@iterator"],typeof E=="function"?E:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function R(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}R.prototype.isReactComponent={},R.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,B,"setState")},R.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function V(){}V.prototype=R.prototype;function Y(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}var X=Y.prototype=new V;X.constructor=Y,w(X,R.prototype),X.isPureReactComponent=!0;var G=Array.isArray;function J(){}var $={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function le(E,B,K){var W=K.ref;return{$$typeof:s,type:E,key:B,ref:W!==void 0?W:null,props:K}}function Z(E,B){return le(E.type,B,E.props)}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===s}function ye(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return B[K]})}var Ge=/\/+/g;function Qe(E,B){return typeof E=="object"&&E!==null&&E.key!=null?ye(""+E.key):B.toString(36)}function re(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function O(E,B,K,W,ce){var fe=typeof E;(fe==="undefined"||fe==="boolean")&&(E=null);var oe=!1;if(E===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(E.$$typeof){case s:case r:oe=!0;break;case y:return oe=E._init,O(oe(E._payload),B,K,W,ce)}}if(oe)return ce=ce(E),oe=W===""?"."+Qe(E,0):W,G(ce)?(K="",oe!=null&&(K=oe.replace(Ge,"$&/")+"/"),O(ce,B,K,"",function(at){return at})):ce!=null&&(ne(ce)&&(ce=Z(ce,K+(ce.key==null||E&&E.key===ce.key?"":(""+ce.key).replace(Ge,"$&/")+"/")+oe)),B.push(ce)),1;oe=0;var we=W===""?".":W+":";if(G(E))for(var Ee=0;Ee>>1,je=O[he];if(0>>1;hef(K,ae))Wf(ce,K)?(O[he]=ce,O[W]=ae,he=W):(O[he]=K,O[B]=ae,he=B);else if(Wf(ce,ae))O[he]=ce,O[W]=ae,he=W;else break e}}return Q}function f(O,Q){var ae=O.sortIndex-Q.sortIndex;return ae!==0?ae:O.id-Q.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;s.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();s.unstable_now=function(){return m.now()-g}}var x=[],p=[],y=1,b=null,j=3,T=!1,S=!1,w=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function X(O){for(var Q=o(p);Q!==null;){if(Q.callback===null)u(p);else if(Q.startTime<=O)u(p),Q.sortIndex=Q.expirationTime,r(x,Q);else break;Q=o(p)}}function G(O){if(w=!1,X(O),!S)if(o(x)!==null)S=!0,J||(J=!0,ye());else{var Q=o(p);Q!==null&&re(G,Q.startTime-O)}}var J=!1,$=-1,F=5,le=-1;function Z(){return k?!0:!(s.unstable_now()-leO&&Z());){var he=b.callback;if(typeof he=="function"){b.callback=null,j=b.priorityLevel;var je=he(b.expirationTime<=O);if(O=s.unstable_now(),typeof je=="function"){b.callback=je,X(O),Q=!0;break t}b===o(x)&&u(x),X(O)}else u(x);b=o(x)}if(b!==null)Q=!0;else{var E=o(p);E!==null&&re(G,E.startTime-O),Q=!1}}break e}finally{b=null,j=ae,T=!1}Q=void 0}}finally{Q?ye():J=!1}}}var ye;if(typeof Y=="function")ye=function(){Y(ne)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qe=Ge.port2;Ge.port1.onmessage=ne,ye=function(){Qe.postMessage(null)}}else ye=function(){R(ne,0)};function re(O,Q){$=R(function(){O(s.unstable_now())},Q)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(O){O.callback=null},s.unstable_forceFrameRate=function(O){0>O||125he?(O.sortIndex=ae,r(p,O),o(x)===null&&O===o(p)&&(w?(V($),$=-1):w=!0,re(G,ae-he))):(O.sortIndex=je,r(x,O),S||T||(S=!0,J||(J=!0,ye()))),O},s.unstable_shouldYield=Z,s.unstable_wrapCallback=function(O){var Q=j;return function(){var ae=j;j=Q;try{return O.apply(this,arguments)}finally{j=ae}}}})(Ho)),Ho}var Ch;function y0(){return Ch||(Ch=1,Lo.exports=b0()),Lo.exports}var Bo={exports:{}},ht={};/**
+ * @license React
+ * react-dom.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var kh;function j0(){if(kh)return ht;kh=1;var s=au();function r(x){var p="https://react.dev/errors/"+x;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Bo.exports=j0(),Bo.exports}/**
+ * @license React
+ * react-dom-client.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Oh;function S0(){if(Oh)return Cs;Oh=1;var s=y0(),r=au(),o=N0();function u(e){var t="https://react.dev/errors/"+e;if(1je||(e.current=he[je],he[je]=null,je--)}function K(e,t){je++,he[je]=e.current,e.current=t}var W=E(null),ce=E(null),fe=E(null),oe=E(null);function we(e,t){switch(K(fe,t),K(ce,e),K(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Zm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Zm(t),e=Km(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}B(W),K(W,e)}function Ee(){B(W),B(ce),B(fe)}function at(e){e.memoizedState!==null&&K(oe,e);var t=W.current,l=Km(t,e.type);t!==l&&(K(ce,e),K(W,l))}function ke(e){ce.current===e&&(B(W),B(ce)),oe.current===e&&(B(oe),Es._currentValue=ae)}var ee,Ae;function Me(e){if(ee===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ee=t&&t[1]||"",Ae=-1)":-1i||N[a]!==C[i]){var L=`
+`+N[a].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=a&&0<=i);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Me(l):""}function Wt(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me("Lazy");case 13:return e.child!==t&&t!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return jt(e.type,!1);case 11:return jt(e.type.render,!1);case 1:return jt(e.type,!0);case 31:return Me("Activity");default:return""}}function nl(e){try{var t="",l=null;do t+=Wt(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
+Error generating stack: `+a.message+`
+`+a.stack}}var Ht=Object.prototype.hasOwnProperty,Ft=s.unstable_scheduleCallback,xl=s.unstable_cancelCallback,On=s.unstable_shouldYield,Dn=s.unstable_requestPaint,mt=s.unstable_now,Vs=s.unstable_getCurrentPriorityLevel,Zs=s.unstable_ImmediatePriority,Rn=s.unstable_UserBlockingPriority,Ua=s.unstable_NormalPriority,Un=s.unstable_LowPriority,vl=s.unstable_IdlePriority,Ln=s.log,Hn=s.unstable_setDisableYieldValue,sl=null,xt=null;function il(e){if(typeof Ln=="function"&&Hn(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(sl,e)}catch{}}var vt=Math.clz32?Math.clz32:Ks,br=Math.log,yr=Math.LN2;function Ks(e){return e>>>=0,e===0?32:31-(br(e)/yr|0)|0}var La=256,pa=262144,ga=4194304;function rl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ha(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var v=a&134217727;return v!==0?(a=v&~c,a!==0?i=rl(a):(h&=v,h!==0?i=rl(h):l||(l=v&~e,l!==0&&(i=rl(l))))):(v=a&~c,v!==0?i=rl(v):h!==0?i=rl(h):l||(l=a&~e,l!==0&&(i=rl(l)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,l=t&-t,c>=l||c===32&&(l&4194048)!==0)?t:i}function Hl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Js(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ws(){var e=ga;return ga<<=1,(ga&62914560)===0&&(ga=4194304),e}function jr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Bn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tg(e,t,l,a,i,c){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var v=e.entanglements,N=e.expirationTimes,C=e.hiddenUpdates;for(l=h&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var rg=/[\n"\\]/g;function qt(e){return e.replace(rg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Tr(e,t,l,a,i,c,h,v){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Ar(e,h,Bt(t)):l!=null?Ar(e,h,Bt(l)):a!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+Bt(v):e.removeAttribute("name")}function qu(e,t,l,a,i,c,h,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){zr(e);return}l=l!=null?""+Bt(l):"",t=t!=null?""+Bt(t):l,v||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=v?e.checked:!!a,e.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),zr(e)}function Ar(e,t,l){t==="number"&&Ps(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Qa(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Or=!1;if(jl)try{var $n={};Object.defineProperty($n,"passive",{get:function(){Or=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{Or=!1}var ql=null,Dr=null,ti=null;function Zu(){if(ti)return ti;var e,t=Dr,l=t.length,a,i="value"in ql?ql.value:ql.textContent,c=i.length;for(e=0;e=Vn),Pu=" ",ef=!1;function tf(e,t){switch(e){case"keyup":return Rg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function Lg(e,t){switch(e){case"compositionend":return lf(t);case"keypress":return t.which!==32?null:(ef=!0,Pu);case"textInput":return e=t.data,e===Pu&&ef?null:e;default:return null}}function Hg(e,t){if(Ka)return e==="compositionend"||!Br&&tf(e,t)?(e=Zu(),ti=Dr=ql=null,Ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=ff(l)}}function mf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ps(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ps(e.document)}return t}function Gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Vg=jl&&"documentMode"in document&&11>=document.documentMode,Ja=null,$r=null,Wn=null,Qr=!1;function pf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Qr||Ja==null||Ja!==Ps(a)||(a=Ja,"selectionStart"in a&&Gr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Wn&&Jn(Wn,a)||(Wn=a,a=Ki($r,"onSelect"),0>=h,i-=h,cl=1<<32-vt(t)+i|l<me?(ve=P,P=null):ve=P.sibling;var Se=M(A,P,_[me],H);if(Se===null){P===null&&(P=ve);break}e&&P&&Se.alternate===null&&t(A,P),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se,P=ve}if(me===_.length)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;me<_.length;me++)P=q(A,_[me],H),P!==null&&(z=c(P,z,me),Ne===null?se=P:Ne.sibling=P,Ne=P);return be&&Sl(A,me),se}for(P=a(P);me<_.length;me++)ve=D(P,A,me,_[me],H),ve!==null&&(e&&ve.alternate!==null&&P.delete(ve.key===null?me:ve.key),z=c(ve,z,me),Ne===null?se=ve:Ne.sibling=ve,Ne=ve);return e&&P.forEach(function(ca){return t(A,ca)}),be&&Sl(A,me),se}function ie(A,z,_,H){if(_==null)throw Error(u(151));for(var se=null,Ne=null,P=z,me=z=0,ve=null,Se=_.next();P!==null&&!Se.done;me++,Se=_.next()){P.index>me?(ve=P,P=null):ve=P.sibling;var ca=M(A,P,Se.value,H);if(ca===null){P===null&&(P=ve);break}e&&P&&ca.alternate===null&&t(A,P),z=c(ca,z,me),Ne===null?se=ca:Ne.sibling=ca,Ne=ca,P=ve}if(Se.done)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;!Se.done;me++,Se=_.next())Se=q(A,Se.value,H),Se!==null&&(z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return be&&Sl(A,me),se}for(P=a(P);!Se.done;me++,Se=_.next())Se=D(P,A,me,Se.value,H),Se!==null&&(e&&Se.alternate!==null&&P.delete(Se.key===null?me:Se.key),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return e&&P.forEach(function(d0){return t(A,d0)}),be&&Sl(A,me),se}function Re(A,z,_,H){if(typeof _=="object"&&_!==null&&_.type===w&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case T:e:{for(var se=_.key;z!==null;){if(z.key===se){if(se=_.type,se===w){if(z.tag===7){l(A,z.sibling),H=i(z,_.props.children),H.return=A,A=H;break e}}else if(z.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===F&&Ta(se)===z.type){l(A,z.sibling),H=i(z,_.props),ls(H,_),H.return=A,A=H;break e}l(A,z);break}else t(A,z);z=z.sibling}_.type===w?(H=Na(_.props.children,A.mode,H,_.key),H.return=A,A=H):(H=fi(_.type,_.key,_.props,null,A.mode,H),ls(H,_),H.return=A,A=H)}return h(A);case S:e:{for(se=_.key;z!==null;){if(z.key===se)if(z.tag===4&&z.stateNode.containerInfo===_.containerInfo&&z.stateNode.implementation===_.implementation){l(A,z.sibling),H=i(z,_.children||[]),H.return=A,A=H;break e}else{l(A,z);break}else t(A,z);z=z.sibling}H=Fr(_,A.mode,H),H.return=A,A=H}return h(A);case F:return _=Ta(_),Re(A,z,_,H)}if(re(_))return I(A,z,_,H);if(ye(_)){if(se=ye(_),typeof se!="function")throw Error(u(150));return _=se.call(_),ie(A,z,_,H)}if(typeof _.then=="function")return Re(A,z,vi(_),H);if(_.$$typeof===Y)return Re(A,z,hi(A,_),H);bi(A,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,z!==null&&z.tag===6?(l(A,z.sibling),H=i(z,_),H.return=A,A=H):(l(A,z),H=Wr(_,A.mode,H),H.return=A,A=H),h(A)):l(A,z)}return function(A,z,_,H){try{ts=0;var se=Re(A,z,_,H);return rn=null,se}catch(P){if(P===sn||P===gi)throw P;var Ne=Mt(29,P,null,A.mode);return Ne.lanes=H,Ne.return=A,Ne}finally{}}}var _a=Hf(!0),Bf=Hf(!1),Xl=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Vl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ze&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=ui(e),Nf(e,null,l),t}return oi(e,a,t,l),ui(e)}function as(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,_u(e,l)}}function fc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?i=c=h:c=c.next=h,l=l.next}while(l!==null);c===null?i=c=t:c=c.next=t}else i=c=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var dc=!1;function ns(){if(dc){var e=nn;if(e!==null)throw e}}function ss(e,t,l,a){dc=!1;var i=e.updateQueue;Xl=!1;var c=i.firstBaseUpdate,h=i.lastBaseUpdate,v=i.shared.pending;if(v!==null){i.shared.pending=null;var N=v,C=N.next;N.next=null,h===null?c=C:h.next=C,h=N;var L=e.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==h&&(v===null?L.firstBaseUpdate=C:v.next=C,L.lastBaseUpdate=N))}if(c!==null){var q=i.baseState;h=0,L=C=N=null,v=c;do{var M=v.lane&-536870913,D=M!==v.lane;if(D?(xe&M)===M:(a&M)===M){M!==0&&M===an&&(dc=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var I=e,ie=v;M=t;var Re=l;switch(ie.tag){case 1:if(I=ie.payload,typeof I=="function"){q=I.call(Re,q,M);break e}q=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ie.payload,M=typeof I=="function"?I.call(Re,q,M):I,M==null)break e;q=b({},q,M);break e;case 2:Xl=!0}}M=v.callback,M!==null&&(e.flags|=64,D&&(e.flags|=8192),D=i.callbacks,D===null?i.callbacks=[M]:D.push(M))}else D={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(C=L=D,N=q):L=L.next=D,h|=M;if(v=v.next,v===null){if(v=i.shared.pending,v===null)break;D=v,v=D.next,D.next=null,i.lastBaseUpdate=D,i.shared.pending=null}}while(!0);L===null&&(N=q),i.baseState=N,i.firstBaseUpdate=C,i.lastBaseUpdate=L,c===null&&(i.shared.lanes=0),Il|=h,e.lanes=h,e.memoizedState=q}}function qf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Yf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ec?c:8;var h=O.T,v={};O.T=v,kc(e,!1,t,l);try{var N=i(),C=O.S;if(C!==null&&C(v,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var L=tx(N,a);cs(e,t,L,Lt(e))}else cs(e,t,a,Lt(e))}catch(q){cs(e,t,{then:function(){},status:"rejected",reason:q},Lt())}finally{Q.p=c,h!==null&&v.types!==null&&(h.types=v.types),O.T=h}}function rx(){}function _c(e,t,l,a){if(e.tag!==5)throw Error(u(476));var i=bd(e).queue;vd(e,i,t,ae,l===null?rx:function(){return yd(e),l(a)})}function bd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function yd(e){var t=bd(e);t.next===null&&(t=e.alternate.memoizedState),cs(e,t.next.queue,{},Lt())}function Cc(){return ct(Es)}function jd(){return Je().memoizedState}function Nd(){return Je().memoizedState}function cx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Lt();e=Vl(l);var a=Zl(t,e,l);a!==null&&(At(a,t,l),as(a,t,l)),t={cache:sc()},e.payload=t;return}t=t.return}}function ox(e,t,l){var a=Lt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_i(e)?wd(t,l):(l=Kr(e,t,l,a),l!==null&&(At(l,e,a),Ed(l,t,a)))}function Sd(e,t,l){var a=Lt();cs(e,t,l,a)}function cs(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(_i(e))wd(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,v=c(h,l);if(i.hasEagerState=!0,i.eagerState=v,kt(v,h))return oi(e,t,i,0),Ue===null&&ci(),!1}catch{}finally{}if(l=Kr(e,t,i,a),l!==null)return At(l,e,a),Ed(l,t,a),!0}return!1}function kc(e,t,l,a){if(a={lane:2,revertLane:oo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_i(e)){if(t)throw Error(u(479))}else t=Kr(e,l,a,2),t!==null&&At(t,e,2)}function _i(e){var t=e.alternate;return e===de||t!==null&&t===de}function wd(e,t){on=Ni=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Ed(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,_u(e,l)}}var os={readContext:ct,use:Ei,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};os.useEffectEvent=Xe;var zd={readContext:ct,use:Ei,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:od,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Ti(4194308,4,md.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){Ti(4,2,e,t)},useMemo:function(e,t){var l=bt();t=t===void 0?null:t;var a=e();if(Ca){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=bt();if(l!==void 0){var i=l(t);if(Ca){il(!0);try{l(t)}finally{il(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=ox.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:function(e){e=wc(e);var t=e.queue,l=Sd.bind(null,de,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Tc,useDeferredValue:function(e,t){var l=bt();return Ac(l,e,t)},useTransition:function(){var e=wc(!1);return e=vd.bind(null,de,e.queue,!0,!1),bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=de,i=bt();if(be){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ue===null)throw Error(u(349));(xe&127)!==0||Zf(a,t,l)}i.memoizedState=l;var c={value:l,getSnapshot:t};return i.queue=c,od(Jf.bind(null,a,c,e),[e]),a.flags|=2048,fn(9,{destroy:void 0},Kf.bind(null,a,c,l,t),null),l},useId:function(){var e=bt(),t=Ue.identifierPrefix;if(be){var l=ol,a=cl;l=(a&~(1<<32-vt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Si++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?h.createElement("select",{is:a.is}):h.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?h.createElement(i,{is:a.is}):h.createElement(i)}}c[it]=t,c[Nt]=a;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)c.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=c;e:switch(ut(c,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&_l(t)}}return Be(t),Xc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&_l(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,tn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=rt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[it]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Xm(e.nodeValue,l)),e||$l(t,!0)}else e=Ji(e).createTextNode(a),e[it]=t,t.stateNode=e}return Be(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=tn(t),l!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[it]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Dt(t),t):(Dt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Be(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=tn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(u(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(u(317));i[it]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),i=!1}else i=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dt(t),t):(Dt(t),null)}return Dt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Di(t,t.updateQueue),Be(t),null);case 4:return Ee(),e===null&&ho(t.stateNode.containerInfo),Be(t),null;case 10:return El(t.type),Be(t),null;case 19:if(B(Ke),a=t.memoizedState,a===null)return Be(t),null;if(i=(t.flags&128)!==0,c=a.rendering,c===null)if(i)fs(a,!1);else{if(Ve!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ji(e),c!==null){for(t.flags|=128,fs(a,!1),e=c.updateQueue,t.updateQueue=e,Di(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Sf(l,e),l=l.sibling;return K(Ke,Ke.current&1|2),be&&Sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&mt()>Bi&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304)}else{if(!i)if(e=ji(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Di(t,e),fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!be)return Be(t),null}else 2*mt()-a.renderingStartTime>Bi&&l!==536870912&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=mt(),e.sibling=null,l=Ke.current,K(Ke,i?l&1|2:l&1),be&&Sl(t,a.treeForkCount),e):(Be(t),null);case 22:case 23:return Dt(t),hc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),l=t.updateQueue,l!==null&&Di(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&B(za),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),El(Fe),Be(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function hx(e,t){switch(Pr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return El(Fe),Ee(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ke(t),null;case 31:if(t.memoizedState!==null){if(Dt(t),t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Ke),null;case 4:return Ee(),null;case 10:return El(t.type),null;case 22:case 23:return Dt(t),hc(),e!==null&&B(za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return El(Fe),null;case 25:return null;default:return null}}function Wd(e,t){switch(Pr(t),t.tag){case 3:El(Fe),Ee();break;case 26:case 27:case 5:ke(t);break;case 4:Ee();break;case 31:t.memoizedState!==null&&Dt(t);break;case 13:Dt(t);break;case 19:B(Ke);break;case 10:El(t.type);break;case 22:case 23:Dt(t),hc(),e!==null&&B(za);break;case 24:El(Fe)}}function ds(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var c=l.create,h=l.inst;a=c(),h.destroy=a}l=l.next}while(l!==i)}}catch(v){Ce(t,t.return,v)}}function Wl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var c=i.next;a=c;do{if((a.tag&e)===e){var h=a.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,i=t;var N=l,C=v;try{C()}catch(L){Ce(i,N,L)}}}a=a.next}while(a!==c)}}catch(L){Ce(t,t.return,L)}}function Fd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Yf(t,l)}catch(a){Ce(e,e.return,a)}}}function Id(e,t,l){l.props=ka(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ce(e,t,a)}}function ms(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(i){Ce(e,t,i)}}function ul(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Ce(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Ce(e,t,i)}else l.current=null}function Pd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(i){Ce(e,e.return,i)}}function Vc(e,t,l){try{var a=e.stateNode;Ux(a,e.type,l,t),a[Nt]=t}catch(i){Ce(e,e.return,i)}}function em(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&aa(e.type)||e.tag===4}function Zc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&aa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Kc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=yl));else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Kc(e,t,l),e=e.sibling;e!==null;)Kc(e,t,l),e=e.sibling}function Ri(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ri(e,t,l),e=e.sibling;e!==null;)Ri(e,t,l),e=e.sibling}function tm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ut(t,a,l),t[it]=e,t[Nt]=l}catch(c){Ce(e,e.return,c)}}var Cl=!1,et=!1,Jc=!1,lm=typeof WeakSet=="function"?WeakSet:Set,st=null;function px(e,t){if(e=e.containerInfo,xo=lr,e=hf(e),Gr(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var i=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break e}var h=0,v=-1,N=-1,C=0,L=0,q=e,M=null;t:for(;;){for(var D;q!==l||i!==0&&q.nodeType!==3||(v=h+i),q!==c||a!==0&&q.nodeType!==3||(N=h+a),q.nodeType===3&&(h+=q.nodeValue.length),(D=q.firstChild)!==null;)M=q,q=D;for(;;){if(q===e)break t;if(M===l&&++C===i&&(v=h),M===c&&++L===a&&(N=h),(D=q.nextSibling)!==null)break;q=M,M=q.parentNode}q=D}l=v===-1||N===-1?null:{start:v,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(vo={focusedElem:e,selectionRange:l},lr=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),ut(c,a,l),c[it]=e,nt(c),a=c;break e;case"link":var h=ch("link","href",i).get(a+(l.href||""));if(h){for(var v=0;vRe&&(h=Re,Re=ie,ie=h);var A=df(v,ie),z=df(v,Re);if(A&&z&&(D.rangeCount!==1||D.anchorNode!==A.node||D.anchorOffset!==A.offset||D.focusNode!==z.node||D.focusOffset!==z.offset)){var _=q.createRange();_.setStart(A.node,A.offset),D.removeAllRanges(),ie>Re?(D.addRange(_),D.extend(z.node,z.offset)):(_.setEnd(z.node,z.offset),D.addRange(_))}}}}for(q=[],D=v;D=D.parentNode;)D.nodeType===1&&q.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;vl?32:l,O.T=null,l=lo,lo=null;var c=ea,h=Rl;if(lt=0,gn=ea=null,Rl=0,(ze&6)!==0)throw Error(u(331));var v=ze;if(ze|=4,mm(c.current),um(c,c.current,h,l),ze=v,bs(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(sl,c)}catch{}return!0}finally{Q.p=i,O.T=a,km(e,t)}}function Om(e,t,l){t=Gt(l,t),t=Rc(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(Bn(e,2),fl(e))}function Ce(e,t,l){if(e.tag===3)Om(e,e,l);else for(;t!==null;){if(t.tag===3){Om(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Pl===null||!Pl.has(a))){e=Gt(l,e),l=Dd(2),a=Zl(t,l,2),a!==null&&(Rd(l,a,t,e),Bn(a,2),fl(a));break}}t=t.return}}function io(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new vx;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Ic=!0,i.add(l),e=Sx.bind(null,e,t,l),t.then(e,e))}function Sx(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ue===e&&(xe&l)===l&&(Ve===4||Ve===3&&(xe&62914560)===xe&&300>mt()-Hi?(ze&2)===0&&xn(e,0):Pc|=l,pn===xe&&(pn=0)),fl(e)}function Dm(e,t){t===0&&(t=Ws()),e=ja(e,t),e!==null&&(Bn(e,t),fl(e))}function wx(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Dm(e,l)}function Ex(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),Dm(e,l)}function zx(e,t){return Ft(e,t)}var Xi=null,bn=null,ro=!1,Vi=!1,co=!1,la=0;function fl(e){e!==bn&&e.next===null&&(bn===null?Xi=bn=e:bn=bn.next=e),Vi=!0,ro||(ro=!0,Ax())}function bs(e,t){if(!co&&Vi){co=!0;do for(var l=!1,a=Xi;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var c=0;else{var h=a.suspendedLanes,v=a.pingedLanes;c=(1<<31-vt(42|e)+1)-1,c&=i&~(h&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,Hm(a,c))}else c=xe,c=Ha(a,a===Ue?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Hl(a,c)||(l=!0,Hm(a,c));a=a.next}while(l);co=!1}}function Tx(){Rm()}function Rm(){Vi=ro=!1;var e=0;la!==0&&Hx()&&(e=la);for(var t=mt(),l=null,a=Xi;a!==null;){var i=a.next,c=Um(a,t);c===0?(a.next=null,l===null?Xi=i:l.next=i,i===null&&(bn=l)):(l=a,(e!==0||(c&3)!==0)&&(Vi=!0)),a=i}lt!==0&<!==5||bs(e),la!==0&&(la=0)}function Um(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0v)break;var L=N.transferSize,q=N.initiatorType;L&&Vm(q)&&(N=N.responseEnd,h+=L*(N"u"?null:document;function nh(e,t,l){var a=yn;if(a&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),ah.has(i)||(ah.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Zx(e){Ul.D(e),nh("dns-prefetch",e,null)}function Kx(e,t){Ul.C(e,t),nh("preconnect",e,t)}function Jx(e,t,l){Ul.L(e,t,l);var a=yn;if(a&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+qt(l.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=jn(e);break;case"script":c=Nn(e)}Kt.has(c)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Kt.set(c,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(Ss(c))||t==="script"&&a.querySelector(ws(c))||(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Wx(e,t){Ul.m(e,t);var l=yn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(a)+'"][href="'+qt(e)+'"]',c=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Nn(e)}if(!Kt.has(c)&&(e=b({rel:"modulepreload",href:e},t),Kt.set(c,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ws(c)))return}a=l.createElement("link"),ut(a,"link",e),nt(a),l.head.appendChild(a)}}}function Fx(e,t,l){Ul.S(e,t,l);var a=yn;if(a&&e){var i=Ga(a).hoistableStyles,c=jn(e);t=t||"default";var h=i.get(c);if(!h){var v={loading:0,preload:null};if(h=a.querySelector(Ss(c)))v.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Kt.get(c))&&Eo(e,l);var N=h=a.createElement("link");nt(N),ut(N,"link",e),N._p=new Promise(function(C,L){N.onload=C,N.onerror=L}),N.addEventListener("load",function(){v.loading|=1}),N.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Fi(h,t,a)}h={type:"stylesheet",instance:h,count:1,state:v},i.set(c,h)}}}function Ix(e,t){Ul.X(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function Px(e,t){Ul.M(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0,type:"module"},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function sh(e,t,l,a){var i=(i=fe.current)?Wi(i):null;if(!i)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=jn(l.href),l=Ga(i).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=jn(l.href);var c=Ga(i).hoistableStyles,h=c.get(e);if(h||(i=i.ownerDocument||i,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,h),(c=i.querySelector(Ss(e)))&&!c._p&&(h.instance=c,h.state.loading=5),Kt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Kt.set(e,l),c||e0(i,e,l,h.state))),t&&a===null)throw Error(u(528,""));return h}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Nn(l),l=Ga(i).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function jn(e){return'href="'+qt(e)+'"'}function Ss(e){return'link[rel="stylesheet"]['+e+"]"}function ih(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function e0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ut(t,"link",l),nt(t),e.head.appendChild(t))}function Nn(e){return'[src="'+qt(e)+'"]'}function ws(e){return"script[async]"+e}function rh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qt(l.href)+'"]');if(a)return t.instance=a,nt(a),a;var i=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),nt(a),ut(a,"style",i),Fi(a,l.precedence,e),t.instance=a;case"stylesheet":i=jn(l.href);var c=e.querySelector(Ss(i));if(c)return t.state.loading|=4,t.instance=c,nt(c),c;a=ih(l),(i=Kt.get(i))&&Eo(a,i),c=(e.ownerDocument||e).createElement("link"),nt(c);var h=c;return h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),t.state.loading|=4,Fi(c,l.precedence,e),t.instance=c;case"script":return c=Nn(l.src),(i=e.querySelector(ws(c)))?(t.instance=i,nt(i),i):(a=l,(i=Kt.get(c))&&(a=b({},l),zo(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),nt(i),ut(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Fi(a,l.precedence,e));return t.instance}function Fi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,c=i,h=0;h title"):null)}function t0(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function uh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function l0(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var i=jn(a.href),c=t.querySelector(Ss(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Pi.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=c,nt(c);return}c=t.ownerDocument||t,a=ih(a),(i=Kt.get(i))&&Eo(a,i),c=c.createElement("link"),nt(c);var h=c;h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),l.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Pi.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var To=0;function a0(e,t){return e.stylesheets&&e.count===0&&tr(e,e.stylesheets),0To?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function Pi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var er=null;function tr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,er=new Map,t.forEach(n0,e),er=null,Pi.call(e))}function n0(e,t){if(!(t.state.loading&4)){var l=er.get(e);if(l)var a=l.get(null);else{l=new Map,er.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Uo.exports=S0(),Uo.exports}var Jo=w0();/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const E0=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z0=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,o,u)=>u?u.toUpperCase():o.toLowerCase()),Rh=s=>{const r=z0(s);return r.charAt(0).toUpperCase()+r.slice(1)},wp=(...s)=>s.filter((r,o,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===o).join(" ").trim(),T0=s=>{for(const r in s)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */var A0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const _0=U.forwardRef(({color:s="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:m,...g},x)=>U.createElement("svg",{ref:x,...A0,width:r,height:r,stroke:s,strokeWidth:u?Number(o)*24/Number(r):o,className:wp("lucide",f),...!d&&!T0(g)&&{"aria-hidden":"true"},...g},[...m.map(([p,y])=>U.createElement(p,y)),...Array.isArray(d)?d:[d]]));/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Le=(s,r)=>{const o=U.forwardRef(({className:u,...f},d)=>U.createElement(_0,{ref:d,iconNode:r,className:wp(`lucide-${E0(Rh(s))}`,`lucide-${s}`,u),...f}));return o.displayName=Rh(s),o};/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const C0=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],zn=Le("arrow-up-right",C0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const k0=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],M0=Le("bed-double",k0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const O0=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],D0=Le("calendar-check",O0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const R0=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],U0=Le("calendar-days",R0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const L0=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],H0=Le("car",L0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const B0=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],nu=Le("check",B0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const q0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hr=Le("chevron-down",q0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Y0=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],da=Le("chevron-left",Y0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const G0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ma=Le("chevron-right",G0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const $0=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Q0=Le("clock",$0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const X0=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],V0=Le("copy",X0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Z0=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],K0=Le("external-link",Z0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const J0=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],W0=Le("instagram",J0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const F0=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ep=Le("mail",F0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const I0=[["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"}]],$s=Le("map-pin",I0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const P0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],zp=Le("menu",P0);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ev=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],su=Le("message-circle",ev);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const tv=[["path",{d:"M5 12h14",key:"1ays0h"}]],lv=Le("minus",tv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const av=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],qo=Le("navigation",av);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const nv=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ct=Le("phone",nv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const sv=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],iv=Le("play",sv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const rv=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],cv=Le("plus",rv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const ov=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],uv=Le("rotate-ccw",ov);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const fv=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],dv=Le("utensils",fv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const mv=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],iu=Le("x",mv);/**
+ * @license lucide-react v0.546.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const hv=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],pv=Le("youtube",hv),Tp=U.createContext(null);function gv({payload:s,children:r}){return n.jsx(Tp.Provider,{value:s,children:r})}function te(){const s=U.useContext(Tp);if(!s)throw new Error("SiteProvider 밖에서 useSite() 를 불렀습니다. payload 없이는 렌더할 수 없습니다.");return s}function xv(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[n.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"8.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M8.5 9.4v5.2M5.9 12h5.2"})]}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"15.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M15.5 9.4v5.2M12.9 12h5.2"})]}),n.jsx("path",{d:"M6 19l1.5-2.4h9L18 19"})]})}function vv(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M8 5v14l11-7z"})})}function bv(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function yv(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("path",{d:"M4 7h11M4 12h11M4 17h7"}),n.jsx("path",{d:"M19 17.5V9l3 1.2"}),n.jsx("circle",{cx:"17.4",cy:"17.6",r:"1.7",fill:"currentColor",stroke:"none"})]})}function jv(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:n.jsx("path",{d:"M6 6l12 12M18 6L6 18"})})}function Uh(s){if(typeof s!="number"||!Number.isFinite(s))return"";const r=Math.floor(s/60),o=Math.floor(s%60);return`${r}:${o<10?"0":""}${o}`}function Nv(){const s=te(),r=(s.songs??[]).filter(G=>G.audioUrl),[o,u]=U.useState(0),[f,d]=U.useState(!1),[m,g]=U.useState(!1),[x,p]=U.useState({now:0,total:0}),[y,b]=U.useState({}),j=U.useRef(null),T=U.useRef(null),S=U.useRef(null),w=r.length;U.useEffect(()=>{w>1&&u(Math.floor(Math.random()*w))},[w]);const k=U.useCallback(()=>{var F;const G=document.querySelector("header"),J=G==null?void 0:G.getBoundingClientRect(),$={top:`${J?J.bottom+6:66}px`};if(window.innerWidth<=640)$.left="8px",$.right="8px";else{$.left="auto";const le=(F=T.current)==null?void 0:F.getBoundingClientRect();$.right=`${Math.max(12,window.innerWidth-((le==null?void 0:le.right)??0))}px`}b($)},[]);if(U.useEffect(()=>{if(!m)return;k();const G=()=>k(),J=$=>{var le,Z;const F=$.target;(le=S.current)!=null&&le.contains(F)||(Z=T.current)!=null&&Z.contains(F)||g(!1)};return window.addEventListener("resize",G),window.addEventListener("scroll",G,{passive:!0}),document.addEventListener("click",J),()=>{window.removeEventListener("resize",G),window.removeEventListener("scroll",G),document.removeEventListener("click",J)}},[m,k]),U.useEffect(()=>()=>{var G;return(G=j.current)==null?void 0:G.pause()},[]),r.length===0)return null;const R=r[o]??r[0],V=(G=o)=>{const J=j.current,$=r[G];!J||!$||(J.getAttribute("src")!==$.audioUrl&&(J.src=$.audioUrl),J.play().then(()=>d(!0),()=>d(!1)))},Y=()=>{var G;(G=j.current)==null||G.pause(),d(!1)},X=G=>{const J=(G%r.length+r.length)%r.length;u(J),p({now:0,total:0}),V(J)};return n.jsxs(n.Fragment,{children:[n.jsxs("span",{id:"w4d-mini",ref:T,"data-playing":f?"1":"0",children:[n.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${s.place.name}이(가) 만든 노래`,children:n.jsx(xv,{})}),n.jsx("span",{id:"w4d-now","aria-live":"polite",children:R.title}),n.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"멈춤":"재생"} · ${R.title}`,onClick:()=>f?Y():V(),children:f?n.jsx(bv,{}):n.jsx(vv,{})}),n.jsx("button",{type:"button",id:"w4d-toggle",title:"노래 목록","aria-expanded":m,onClick:()=>g(G=>!G),children:n.jsx(yv,{})})]}),n.jsx("audio",{ref:j,src:r[0].audioUrl,preload:"none",onTimeUpdate:G=>p({now:G.currentTarget.currentTime,total:G.currentTarget.duration}),onDurationChange:G=>p(J=>({...J,total:G.currentTarget.duration})),onEnded:()=>X(o+1),onError:()=>d(!1)}),n.jsxs("div",{id:"w4d-panel",ref:S,hidden:!m,style:y,children:[n.jsxs("div",{className:"w4d-head",children:[n.jsxs("span",{className:"w4d-head-t",children:[s.place.name,"이(가) 만든 노래"]}),n.jsxs("span",{className:"w4d-head-n",children:[r.length,"곡"]}),n.jsx("button",{type:"button",id:"w4d-close",title:"닫기","aria-label":"닫기",onClick:()=>g(!1),children:n.jsx(jv,{})})]}),n.jsx("ol",{children:r.map((G,J)=>n.jsx("li",{children:n.jsxs("button",{type:"button",className:"w4d-item","aria-current":J===o,"data-playing":J===o&&f?"1":"0",onClick:()=>X(J),children:[n.jsxs("span",{className:"w4d-mark",children:[n.jsx("span",{className:"w4d-disc-sm"}),n.jsxs("span",{className:"w4d-eq","aria-hidden":!0,children:[n.jsx("i",{}),n.jsx("i",{}),n.jsx("i",{})]})]}),n.jsxs("span",{className:"w4d-info",children:[n.jsx("span",{className:"w4d-t",children:G.title}),n.jsx("span",{className:"w4d-sub",children:s.place.name})]}),n.jsx("span",{className:"w4d-time",children:J===o&&(f||x.now>0)?`${Uh(x.now)}${x.total?` / ${Uh(x.total)}`:""}`:""})]})},G.songId))}),n.jsx("div",{id:"w4d-lyrics-box",hidden:!R.lyrics,children:(R.lyrics??"").replace(/^\[.*\]$/gm,"").replace(/\n{3,}/g,`
+
+`).trim()})]})]})}const ua={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},Sv={OWNER:1,CRAWL:3,TEMPLATE:5},Lh={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},wv=[Lh.VERIFIED,Lh.CORRECTED];function Ap(s){return wv.includes(s)}const yt={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},F1={PUBLISHED:3};function Tn(s){return s.filter(r=>Ap(r.status)&&r.value!=null&&r.value!=="")}function _p(s){const r=new Map;for(const o of Tn(s))r.set(o.key,o);return r}function oa(s,r){const o=_p(s).get(r);return(o==null?void 0:o.value)??void 0}function _t(s,r){const o=_p(s).get(r);if(!(o!=null&&o.value))return;const u=o.type==="number"?Ev(o.value):o.value;return o.unit?`${u}${o.unit}`:u}function Ev(s){const r=Number(s.replace(/,/g,""));return Number.isFinite(r)?r.toLocaleString("ko-KR"):s}function ru(s){return s.type!=="bool"?s.label:s.label.replace(/\s*(가능|여부)$/,"")||s.label}function zv(s){return s.filter(r=>Ap(r.status)&&r.question&&r.answer).sort((r,o)=>r.sortOrder-o.sortOrder)}function cu(s){return s.map(r=>({...r,facts:Tn(r.facts)})).sort((r,o)=>r.sortOrder-o.sortOrder)}const Tv={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",reading:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function Av(s){const r=(s??"").trim();if(!r)return;const o=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(r);return o==null?void 0:o[1]}function _v(s){return/youtube\.com\/shorts\//.test((s??"").trim())}function Cv(s){return`https://i.ytimg.com/vi/${s}/hqdefault.jpg`}function kv(s){return`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&rel=0&modestbranding=1`}const or={items:[],unverified:0,sourced:0};function Mv(s,r){var p,y;const o=b=>{const j=s.slice(0,Math.max(0,b)),T=j.split(`
+`).length,S=b-j.lastIndexOf(`
+`);return`${T}번째 줄 ${S}번째 글자`},u=(p=/Unexpected token '(.)'/.exec(r))==null?void 0:p[1],f=u==="}"||u==="]"?"닫는 괄호 바로 앞에 쉼표가 하나 더 있는지 보세요.":"그 앞의 쉼표·따옴표·괄호를 확인해 주세요.",d=/line (\d+) column (\d+)/.exec(r);if(d)return`${d[1]}번째 줄 ${d[2]}번째 글자에서 JSON 이 끊깁니다. ${f}`;const m=/position (\d+)/.exec(r);if(m)return`${o(Number(m[1]))}에서 JSON 이 끊깁니다. ${f}`;const g=(y=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(r))==null?void 0:y[1],x=g?s.indexOf(g):-1;return x>=0?`${o(x+g.length)} 부근에서 JSON 이 끊깁니다. ${f}`:"JSON 이 아닙니다. ChatGPT 가 준 답에서 { 로 시작해 } 로 끝나는 부분만 붙여넣어 주세요."}function Ov(s,r){const o=Tv[s],u=(r??"").trim();if(!o||!u)return or;let f;try{f=JSON.parse(u)}catch(b){return{...or,error:Mv(u,b instanceof Error?b.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...or,error:"바깥이 { } 로 감싸인 JSON 이어야 합니다."};const d=f,m=typeof d.kind=="string"?d.kind:void 0,g=d.items;if(!Array.isArray(g))return{...or,error:"items 배열이 없습니다. 프롬프트로 다시 만들어 주세요."};const x=g.filter(b=>typeof b=="object"&&b!==null&&!Array.isArray(b)&&typeof b[o]=="string"&&b[o].trim().length>0);let p=0,y=0;for(const b of x){const j=b;j.verified!=="확인"&&(p+=1),j.source&&typeof j.source=="object"&&(y+=1)}return{items:x,title:typeof d.title=="string"?d.title:void 0,subtitle:typeof d.subtitle=="string"?d.subtitle:void 0,linkUrl:typeof d.linkUrl=="string"&&/^https?:\/\//.test(d.linkUrl)?d.linkUrl:void 0,linkLabel:typeof d.linkLabel=="string"?d.linkLabel:void 0,kindMismatch:m&&m!==s?m:void 0,unverified:p,sourced:y}}const Dv=1260,Rv=60,Uv="10:00",Hh=["봄","여름","가을","겨울"];function Bh(s){const r=/^(\d{1,2}):(\d{2})$/.exec(s.trim());if(!r)return;const o=Number(r[1]),u=Number(r[2]);if(!(o>23||u>59))return o*60+u}function ur(s){const r=(s%1440+1440)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`}function Lv(s){const r=Bh(s.startTime??"")??Bh(Uv)??600,o=[];let u=r,f=0;for(const d of s.stops??[]){const m=Math.max(0,d.moveMinutes??0),g=Math.max(1,d.minutes??Rv),x=u+m;if(x+g>Dv){f+=1;continue}o.push({stop:d,time:ur(x),until:ur(x+g),move:m}),u=x+g}return{stops:o,from:ur(r),to:ur(u),totalMinutes:u-r,dropped:f}}function Hv(s=new Date){const r=s.getMonth()+1,o=Math.floor((r-3+12)%12/3),u=Hh[o];return r%3===0&&s.getDate()<=15?[Hh[(o+3)%4],u]:[u]}function qh(s){const r=parseInt(s.replace("#",""),16);return[r>>16&255,r>>8&255,r&255]}function Yh(s,r,o){if(!/^#[0-9a-fA-F]{6}$/.test(s)||!/^#[0-9a-fA-F]{6}$/.test(r))return s;const[u,f,d]=qh(s),[m,g,x]=qh(r),p=(b,j)=>Math.round(b+(j-b)*o),y=b=>b.toString(16).padStart(2,"0");return`#${y(p(u,m))}${y(p(f,g))}${y(p(d,x))}`}function Bv(s){return{surface:Yh(s.bg,s.text,.06),surfaceAlt:s.card,inverse:"#1c1917",border:Yh(s.bg,s.text,.2)}}const Cp={[ua.LODGING]:{type:"HotelRoom",path:"rooms",label:"객실"},[ua.CAFE]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.RESTAURANT]:{type:"MenuItem",path:"menu",label:"메뉴"},[ua.CLINIC]:{type:"Product",path:"programs",label:"시술"}};function qv(s){return s.links.filter(r=>r.confirmed&&/^https?:\/\//i.test(r.url??""))}function kp(s){var r;for(const[o,u]of[["weekday_price","주중 1박"],["price","1박"],["weekend_price","주말 1박"],["peak_price","성수기 1박"]]){const f=Number((r=oa(s.facts,o))==null?void 0:r.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Gh=[yt.NAVER_BOOKING,yt.YANOLJA,yt.GOODCHOICE,yt.NAVER_PLACE];function ou(s){return Tn(s.facts).filter(r=>r.scope==="place").map(r=>({key:r.key,label:ru(r),value:uu(r,s.facts)})).filter(r=>r.value!=="")}function uu(s,r){var u;if(s.key==="intro"&&((u=s.summary)!=null&&u.trim()))return s.summary.trim();const o=_t(r,s.key);return o?s.type!=="bool"?o:/여부$/.test(s.label)?o==="true"?"있음":o==="false"?"없음":o:o==="true"?"가능":o==="false"?"불가":o:""}const Yv=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function Gv(s){const r=new Set;return s.filter(o=>{const u=o.value.trim();return r.has(u)?!1:(r.add(u),!0)})}function hl(s){const r=Cp[s.place.category],o=new Map(s.media.map(u=>[u.mediaId,u]));return cu(s.units).map(u=>{const f=_t(u.facts,"room_intro")??_t(u.facts,"description"),d=s.place.category===ua.LODGING?["standard_capacity","max_capacity","bed_type","room_size"]:["price","volume","origin"];return{unitId:u.unitId,slug:u.slug,name:u.name,intro:f,chips:d.map(m=>{var p;const g=_t(u.facts,m),x=((p=u.facts.find(y=>y.key===m))==null?void 0:p.label)??m;return g?{label:x,value:g}:null}).filter(m=>m!==null),rows:Gv(u.facts.filter(m=>!Yv.has(m.key)).filter(m=>!d.includes(m.key)).filter(m=>m.key!=="room_intro"&&m.key!=="description").map(m=>({label:ru(m),value:uu(m,u.facts)})).filter(m=>m.value!==""&&m.value.trim()!==(f??"").trim())),images:u.mediaIds.map(m=>o.get(m)).filter(m=>{var g;return!!((g=m==null?void 0:m.alt)!=null&&g.trim())}),priceText:$v(u),prices:Xv(u),href:`/${r.path}/${u.slug}`}})}function $v(s){var d,m;const r=_t(s.facts,"price_range");if(r)return r;const o=Number((d=_t(s.facts,"weekday_price"))==null?void 0:d.replace(/[^0-9]/g,"")),u=Number((m=_t(s.facts,"price"))==null?void 0:m.replace(/[^0-9]/g,"")),f=Number.isFinite(o)&&o>0?o:u;if(!(!Number.isFinite(f)||f<=0))return`${f.toLocaleString("ko-KR")}원부터`}const Qv=[["weekday_price","주중"],["weekend_price","주말"],["peak_price","성수기"]];function Xv(s){return _t(s.facts,"price_range")?[]:_t(s.facts,"weekday_price")?Qv.map(([r,o])=>({label:o,value:_t(s.facts,r)??"문의"})):[]}function Vv(s){const r=s??"";return/눈|설/.test(r)?"눈":/비|우|소나기/.test(r)?"비":/흐림|구름|안개|박무/.test(r)?"흐림":"맑음"}function Zv(s){return s>=30?"혹서":s>=25?"더움":s>=20?"선선":s>=10?"쌀쌀":"추움"}function fu(s){return s.media.filter(r=>{var o;return((o=r.alt)==null?void 0:o.trim())&&!r.unitId})}function Kv(s){return zv(s.faqs)}function Jv(s){return s.theme.sections.filter(r=>r.enabled)}function ll(s,r){var o;return((o=s.theme.sections.find(u=>u.id===r))==null?void 0:o.enabled)??!1}function Wv(s,r){var u;const o=(u=s.theme.sections.find(f=>f.id===r))==null?void 0:u.body;return(o==null?void 0:o.split(/\n\s*\n/).map(f=>f.trim()).filter(Boolean))??[]}function al(s,r){var d;const o=s.theme.sections.find(m=>m.id===r),u=Ov(r,o==null?void 0:o.data),f=(d=s.local.story)==null?void 0:d[r];return!Array.isArray(f)||f.length===0?u:{...u,items:[...u.items,...f]}}function dt(s){return Cp[s.place.category]}function qe(s,r,o){var f,d;const u=(d=(f=s.theme.sections.find(m=>m.id===r))==null?void 0:f.name)==null?void 0:d.trim();return u||o}function An(s,r){const o=new Map(Tn(s.facts).filter(u=>u.scope==="place").map(u=>[u.key,u]));return r.map(u=>o.get(u)).filter(u=>u!==void 0).map(u=>({label:ru(u),value:uu(u,s.facts)})).filter(u=>u.value!=="")}function Fv(s,r){return An(s,[r])[0]}const Iv=["reservation_required","reservation_channel"];function Pv(s){return An(s,Iv)}const eb=["seat_count","terrace","room_available","group_seat_max","power_outlet","study_allowed","wheelchair_accessible"];function tb(s){return An(s,eb)}const lb=["operating_hours","session_times","closed_days","age_limit","guide_language"];function ab(s){return An(s,lb)}const nb=["check_in_time","check_out_time","operating_hours","closed_days","parking","reservation_required"];function Ra(s){return An(s,nb).slice(0,4)}function _n(s){const r=hl(s).map(u=>u.priceText).filter(u=>!!u);if(r.length===0)return;const o=u=>Number(u.replace(/[^0-9]/g,""))||Number.MAX_SAFE_INTEGER;return r.reduce((u,f)=>o(f)o.confirmed&&r.includes(o.channel))}function Ze(s){const r=new Map(Gh.map((o,u)=>[o,u]));return Op(s,Gh).filter(o=>!ib(o.url)).sort((o,u)=>(r.get(o.channel)??99)-(r.get(u.channel)??99))}function ib(s){return/\/p\/search\/|[?&]query=/.test(s)}const rb=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function cb(s){return cu(s.units).map(r=>{const o=_t(r.facts,"standard_capacity"),u=_t(r.facts,"max_capacity"),f=kp(r);return{unitId:r.unitId,name:r.name,capacityText:[o&&`기준 ${o}`,u&&`최대 ${u}`].filter(Boolean).join(" · ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var x;const m=_t(r.facts,d),g=((x=r.facts.find(p=>p.key===d))==null?void 0:x.label)??d;return m?{label:g,value:m}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}원`:void 0,href:"#units"}})}function ob(s){if(s.place.category!==ua.LODGING)return null;const r={offers:cb(s).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:An(s,rb),links:Ze(s),contacts:Cn(s).filter(u=>!Ze(s).some(f=>f.url===u.url)),phone:s.place.phone};return r.offers.length===0&&r.links.length===0&&r.contacts.length===0&&!r.phone?null:r}function ub(s,r){return s.theme.sections.some(o=>o.id===r)}function Cn(s){return Op(s,sb)}function pt(s,r){const o=Ls(s),u=o.endsWith("예약")?o:`${o} 예약`;return r?`${r} ${u}`:u}function Dp(s){return s.channel===yt.NAVER_BOOKING?"네이버 예약으로 바로 예약하기":`${pl(s)}에서 예약`}function fb(){var u;const s=te(),r=dt(s),o=[{label:"소개",href:"#about",show:ll(s,"intro")},{label:r.label,href:"#units",show:s.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"축제",href:"#festival",show:(((u=s.local.festivals)==null?void 0:u.length)??0)>0},{label:"주변 정보",href:"#guide",show:ll(s,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:s.faqs.length>0}].filter(f=>f.show);return n.jsx("header",{className:"border-line safe-t sticky top-0 z-40 w-full border-b backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 88%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsxs("a",{href:"#top",className:"flex min-w-0 items-center gap-2.5",children:[n.jsx("span",{className:"serif flex size-8 shrink-0 items-center justify-center rounded-md text-[length:var(--fs-sm)]",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",fontWeight:"var(--tpl-heading-weight, 700)"},"aria-hidden":!0,children:s.place.name.slice(0,1)}),n.jsxs("span",{className:"flex min-w-0 flex-col",children:[n.jsx("span",{className:"serif truncate text-[length:var(--fs-lead)] leading-tight",style:{fontWeight:"var(--tpl-heading-weight, 700)"},children:s.place.name}),s.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[length:var(--fs-xs)] uppercase leading-tight tracking-[0.14em]",children:s.place.englishName})]})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-7 lg:flex",children:o.map(f=>n.jsx("a",{href:f.href,className:"text-muted py-1 text-[length:var(--fs-sm)] font-medium transition-colors hover:text-current",children:f.label},f.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[n.jsx(Nv,{}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap inline-flex items-center gap-1.5 rounded-lg px-3 text-[length:var(--fs-xs)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:s.place.phone}),n.jsx("span",{className:"sr-only sm:hidden",children:"전화"})]}),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-lg marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(zp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line tpl-border absolute right-0 top-[calc(100%+0.5rem)] z-50 w-52 overflow-hidden rounded-xl border shadow-lg",style:{backgroundColor:"var(--tpl-surface, #fff)"},children:n.jsx("ul",{className:"divide-line divide-y",children:o.map(f=>n.jsx("li",{children:n.jsx("a",{href:f.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-medium",children:f.label})},f.label))})})]})]})]})})}const db=["잠시 걸음을 멈추고 온전한 쉼을 마주하는 시간","바쁜 일상을 내려놓고 나를 위한 여유를 담아갑니다","여행의 길목에서 만나는 조용하고 편안한 머무름","아무것도 하지 않아도 편안해지는 오늘의 휴식","낯선 곳에서 느끼는 다정한 온기와 작은 쉼표","지친 하루의 끝에 찾아오는 나만의 따뜻한 여백","천천히 흘러가는 시간 속에서 마주하는 깊은 휴식","스쳐 가는 여행 속에서 오래 기억될 아늑한 순간","복잡한 생각은 잠시 잊고 편안하게 쉬어가세요","작은 쉼이 모여 내일을 살아갈 따뜻한 힘이 됩니다"];function ha({children:s}){var p;const{place:r,narrative:o}=te(),u=r.category===ua.LODGING,[f,d]=U.useState(0),m=(((p=o.catchphrases)==null?void 0:p.items)??[]).filter(y=>(y.kind??"general")==="general").map(y=>y.text.trim()).filter(Boolean),g=m.length>0?m:db;if(U.useEffect(()=>{if(!u)return;const y=window.matchMedia("(prefers-reduced-motion: reduce)"),b=window.setInterval(()=>{!document.hidden&&!y.matches&&d(j=>(j+1)%g.length)},6e3);return()=>window.clearInterval(b)},[u,g.length]),!u)return s;const x=g[f%g.length];return n.jsxs("span",{className:"hero-catchphrase",children:[s&&n.jsx("span",{className:"hero-catchphrase-fixed",children:s}),n.jsx("span",{className:"w4d-line w4d-line--in",children:x.split(/\s+/).map((y,b)=>n.jsxs("span",{children:[b>0&&" ",n.jsx("span",{className:"w4d-w",children:n.jsx("span",{style:{"--w4d-d":`${b*55}ms`},children:y})})]},b))},f)]})}function pr(s){return s.media.find(r=>{var o;return r.isPrimary&&((o=r.alt)==null?void 0:o.trim())})??s.media.find(r=>{var o;return(o=r.alt)==null?void 0:o.trim()})}function mb(s){return hb(s).join(" ")}function hb(s){const{place:r,facts:o}=s,u=[],f=r.addressLocality??r.addressRegion??r.roadAddress??r.address;u.push(f?`${f}에 있는 ${r.name}입니다.`:`${r.name}입니다.`);const d=oa(o,"check_in_time"),m=oa(o,"check_out_time");d&&m&&u.push(`체크인 ${d}, 체크아웃 ${m}.`);const g=oa(o,"business_hours")??oa(o,"open_hours");g&&u.push(`영업시간 ${g}.`);const x=oa(o,"pet_allowed");if(x==="false"&&u.push("반려동물 동반 불가."),x==="true"&&u.push("반려동물 동반 가능."),oa(o,"parking")==="true"){const y=oa(o,"parking_capacity");u.push(y?`주차 ${y}대 가능.`:"주차 가능.")}return r.phone&&u.push(`문의 ${r.phone}.`),u}const pb=6e3,gb=5;function xb(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=r.addressLocality??r.addressRegion,g=[...s.media].filter(S=>{var w;return(w=S.alt)==null?void 0:w.trim()}).sort((S,w)=>Number(w.isPrimary)-Number(S.isPrimary)).slice(0,gb),[x,p]=U.useState(0),[y,b]=U.useState(!1),j=U.useRef(null),T=U.useCallback(S=>p(w=>(w+S+g.length)%g.length),[g.length]);return U.useEffect(()=>{if(y||g.length<2)return;const S=setInterval(()=>T(1),pb);return()=>clearInterval(S)},[y,T,g.length]),n.jsxs("section",{id:"top",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"clamp(24rem, 76vh, 42rem)"},onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onFocusCapture:()=>b(!0),onBlurCapture:()=>b(!1),onTouchStart:S=>{j.current=S.touches[0].clientX},onTouchEnd:S=>{const w=j.current;if(j.current=null,w===null)return;const k=S.changedTouches[0].clientX-w;Math.abs(k)>40&&T(k<0?1:-1)},children:[g.map((S,w)=>n.jsx("img",{src:S.url,alt:S.alt,fetchPriority:w===0?"high":"low",loading:w===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:w===x?1:0}},S.mediaId)),n.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 45%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 60%, transparent) 100%)"}}),n.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center px-6 text-center",children:[m&&n.jsx("p",{className:"label opacity-100",children:m}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:o.tagline??o.heroSubline})})]}),g.length>1&&n.jsxs(n.Fragment,{children:[n.jsx($h,{dir:"prev",onClick:()=>T(-1)}),n.jsx($h,{dir:"next",onClick:()=>T(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:g.map((S,w)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>p(w),"aria-label":`${w+1}번째 사진`,"aria-current":w===x,className:`h-1.5 rounded-full bg-current transition-all ${w===x?"w-7 opacity-100":"w-1.5 opacity-100 hover:opacity-100"}`})},S.mediaId))})]})]}),(f||u.length>0||d.length>0||r.phone)&&n.jsx("div",{className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsxs("div",{className:"shell flex flex-col items-center gap-4 py-4 lg:flex-row lg:justify-between lg:gap-8",children:[n.jsxs("dl",{className:"divide-line flex flex-wrap justify-center gap-y-2 sm:divide-x",children:[f&&n.jsxs("div",{className:"px-5 text-center sm:first:pl-0",children:[n.jsx("dt",{className:"label",children:"1박 최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:f})]}),u.map(S=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:S.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:S.value})]},S.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border inline-flex items-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])})]})]})})]})}function $h({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 hidden -translate-y-1/2 items-center justify-center rounded-full bg-current/15 px-3 backdrop-blur-sm transition-colors hover:bg-current/25 sm:inline-flex ${s==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function vb(){const s=te(),{place:r,narrative:o}=s,u=Ra(s).slice(0,3),f=_n(s),d=Ze(s),m=Fv(s,"extra_person_fee"),g=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary))[0],x=r.addressLocality??r.addressRegion;return n.jsx("section",{id:"top",className:"border-line w-full border-b",children:n.jsxs("div",{className:"grid lg:grid-cols-2",children:[n.jsx("div",{className:"relative order-1 min-h-[16rem] lg:order-none lg:min-h-[34rem]",children:g&&n.jsx("img",{src:g.url,alt:g.alt,fetchPriority:"high",decoding:"async",className:"absolute inset-0 size-full object-cover"})}),n.jsxs("div",{className:"order-2 flex flex-col justify-center gap-6 px-6 py-10 sm:px-10 lg:order-none lg:px-14 lg:py-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:[n.jsxs("div",{children:[x&&n.jsx("p",{className:"label",children:x}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:o.tagline??o.heroSubline??o.summary})})]}),n.jsxs("div",{className:"panel p-5 sm:p-6",children:[f&&n.jsxs("p",{className:"flex items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-h3)] font-bold tabular-nums",children:f}),n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)]",children:"1박 기준"})]}),u.length>0&&n.jsxs("dl",{className:"divide-line mt-4 divide-y border-t pt-1",children:[u.map(p=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{className:"font-semibold",children:p.value})]},p.label)),m&&n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:m.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:m.value})]})]}),n.jsxs("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row",children:[d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])}),r.phone&&n.jsxs("a",{href:`tel:${r.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]})]})]})]})]})})}const bb={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function Rp(s){return bb[s??""]??"default"}function gr(){return Rp(te().theme.templateId)}const fr=5,Wo=1.8,yb=3;function jb(s){const r=s*fr,o=f=>`${(f/r*100).toFixed(3)}%`;return`${s<2?"":`
+.stay2-hero-slide { animation: stay2-hero-fade ${r}s ease-in-out infinite; }
+@keyframes stay2-hero-fade {
+ 0% { opacity: 1; }
+ ${o(fr)} { opacity: 1; }
+ ${o(fr+Wo)} { opacity: 0; }
+ ${o(r-Wo)} { opacity: 0; }
+ 100% { opacity: 1; }
+}`}
+.stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
+@keyframes stay2-hero-focus {
+ 0% { opacity: 0; filter: blur(0.22em); }
+ 40% { opacity: 1; }
+ 100% { opacity: 1; filter: blur(0); }
+}
+@media (prefers-reduced-motion: reduce) {
+ .stay2-hero-slide, .stay2-hero-focus { animation: none; }
+}
+`}function Nb(s,r){return((r-s)%r*fr+Wo).toFixed(1)}function Sb(){const s=te(),{place:r,narrative:o}=s,u=dt(s),f=Ze(s)[0],d=o.tagline??o.heroSubline,m=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)),g=m.length<2?0:Math.min(m.length,yb),x=f?{href:f.url,label:`${Ls(f)}에서 예약`,external:!0}:r.phone?{href:`tel:${r.phone}`,label:`${r.phone} 예약 문의`,external:!1}:s.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return n.jsxs("section",{id:"top",className:"w-full",children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:jb(g)}}),n.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[m.map((p,y)=>n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:y===0?"high":y0?m:ou(s).slice(0,4),x=(u==null?void 0:u.caption)??r.name;return n.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[n.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:r.name}),o.heroHeadline&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o.heroHeadline}),u&&n.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:x})]}),(f||g.length>0)&&n.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:"최저가"}),n.jsx("dd",{children:f})]}),g.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{children:p.value})]},p.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(p=>n.jsx("li",{children:n.jsx("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(p)})},p.url))})]})}function Eb(){const s=te(),r=fu(s),o=pr(s),u=o&&r.some(f=>f.mediaId===o.mediaId)?[o,...r.filter(f=>f.mediaId!==o.mediaId)]:r;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${s.place.name} 사진`,className:"w-full",children:n.jsx("div",{className:"columns-1 gap-2 sm:columns-2",children:u.map((f,d)=>n.jsx("figure",{className:"mb-2 break-inside-avoid",children:n.jsx("img",{src:f.url,alt:f.alt,loading:d===0?"eager":"lazy",fetchPriority:d===0?"high":void 0,decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})})}function zb(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=o.tagline??o.summary,g=r.addressLocality??r.addressRegion,x=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)).slice(0,3);return n.jsxs("section",{id:"top","data-pastel":"own",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--pastel-1)"},children:[n.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",children:[n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(12rem, 26vw, 22rem)",aspectRatio:"1",backgroundColor:"var(--pastel-2)",right:"-6%",top:"-6%",opacity:.75}}),n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(8rem, 18vw, 15rem)",aspectRatio:"1",backgroundColor:"var(--pastel-3)",left:"46%",bottom:"-10%",opacity:.7}})]}),n.jsxs("div",{className:"shell relative grid items-center gap-8 lg:grid-cols-2 lg:gap-14",style:{paddingBlock:"var(--section-space)"},children:[n.jsxs("div",{className:"order-2 lg:order-1",children:[g&&n.jsx("p",{className:"inline-flex items-center rounded-full px-3 py-1 text-[length:var(--fs-xs)] font-extrabold",style:{backgroundColor:"var(--tpl-bg, #fff)",color:"var(--pastel-ink)"},children:g}),n.jsx("h1",{className:"mt-4 break-keep",style:{fontSize:"var(--fs-display)",fontWeight:800,lineHeight:1.2,letterSpacing:"var(--tpl-heading-tracking, -0.03em)"},children:r.name}),m&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed opacity-100",children:n.jsx(ha,{children:m})}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-7 inline-flex items-center justify-center rounded-full px-8 text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:pt(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[x[0]&&n.jsx("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"1 / 1",borderRadius:"calc(var(--tpl-radius, 24px) * 1.6)",boxShadow:"0 0 0 clamp(6px, 1.4vw, 12px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:x[0].url,alt:x[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),x.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:x.slice(1).map(p=>n.jsx("li",{className:"relative overflow-hidden",style:{aspectRatio:"4 / 3",borderRadius:"var(--tpl-radius, 24px)",boxShadow:"0 0 0 clamp(4px, 1vw, 8px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},p.mediaId))})]})]})]}),(f||u.length>0)&&n.jsx("div",{className:"w-full",style:{backgroundColor:"var(--pastel-2)"},children:n.jsxs("dl",{className:"shell flex flex-wrap items-center justify-center gap-x-12 gap-y-5 py-8 text-center",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:"최저가"}),n.jsx("dd",{className:"mt-1 font-extrabold tabular-nums",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:f})]}),u.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:p.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:p.value})]},p.label))]})})]})}const Hs="repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 3%, transparent) 0 1px, transparent 1px 6px),repeating-linear-gradient(0deg, color-mix(in oklab, currentColor 2%, transparent) 0 1px, transparent 1px 6px)",Tb={intro:"about",info:"info",rooms:"units",menu:"units",programs:"units",pricing:"pricing",booking:"booking",space:"space",inquiry:"inquiry",exhibition:"exhibition",photos:"gallery",local:"guide",weather:"weather",map:"location",faq:"faq",songs:"songs",daily:"daily",chronicle:"chronicle",reading:"reading",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},Ab={about:"소개",info:"이용 정보",pricing:"요금",booking:"예약 안내",space:"공간",inquiry:"문의",exhibition:"관람 안내",gallery:"사진",guide:"주변",weather:"날씨",location:"오시는 길",faq:"자주 묻는 질문",songs:"노래",daily:"일력",chronicle:"연표",reading:"읽기",people:"인물",quiz:"퀴즈",postcard:"엽서",video:"영상",itinerary:"일정"};function Qh(s){return String(s).padStart(2,"0")}function Up(){var f;const s=te(),r=dt(s),o=new Set,u=[];for(const d of Jv(s)){const m=Tb[d.id];if(!m||o.has(m)||m==="units"&&s.units.length===0)continue;o.add(m);const g=(f=d.name)==null?void 0:f.trim();u.push({no:Qh(u.length+1),label:g||Ab[m]||r.label,anchor:m})}return o.has("location")||u.push({no:Qh(u.length+1),label:"오시는 길",anchor:"location"}),u}function du({id:s,title:r,lead:o,aside:u}){var d;const f=(d=Up().find(m=>m.anchor===s))==null?void 0:d.no;return n.jsxs("header",{className:"mb-7 sm:mb-10",children:[n.jsx("div",{"aria-hidden":!0,className:"mb-5 h-0.5 w-full bg-current opacity-100"}),n.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-10",children:[n.jsxs("div",{className:"relative min-w-0 flex-1",children:[f&&n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 select-none leading-none tabular-nums",style:{fontSize:"clamp(2.5rem, 7vw, 5rem)",fontWeight:800,opacity:.12},children:f}),n.jsx("h2",{id:`${s}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:r}),o&&n.jsx("p",{className:"text-muted measure relative mt-2 pl-9 font-serif text-[length:var(--fs-sm)] leading-relaxed sm:pl-14 xl:pl-20",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})]})}function _b(){const s=te(),{place:r,narrative:o}=s,u=pr(s),f=dt(s),d=hl(s),m=Ra(s),g=_n(s),x=Ze(s)[0],p=Cn(s)[0],y=o.tagline??o.heroSubline,j=[r.addressSubLocality??r.addressLocality??r.addressRegion,d.length>0?`${f.label} ${d.length}개`:void 0,g].filter(T=>!!T);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Hs},children:n.jsxs("div",{className:"grid grid-cols-12",children:[u&&n.jsx("div",{className:"relative col-span-12 xl:col-span-8 xl:col-start-5 xl:row-start-1",style:{minHeight:"clamp(15rem, 52vh, 34rem)",backgroundColor:"var(--tpl-inverse)"},children:n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"absolute inset-0 size-full object-cover"})}),n.jsx("div",{className:"z-10 col-span-12 xl:col-start-1 xl:row-start-1 xl:mb-12 xl:mr-16 xl:self-end",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse) 88%, transparent)",color:"var(--tpl-bg)"},children:n.jsx("h1",{className:"serif px-4 py-5 sm:px-6 xl:py-8 xl:pl-10 xl:pr-16",style:{fontSize:"clamp(2.25rem, 7.5vw, 5.5rem)",fontWeight:800,lineHeight:.98,letterSpacing:"-0.035em"},children:r.name})}),n.jsxs("div",{className:"col-span-12 flex flex-col gap-5 px-4 py-8 sm:px-6 xl:col-span-4 xl:col-start-1 xl:row-start-1 xl:py-12 xl:pb-56 xl:pl-10 xl:pr-8",children:[y&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:n.jsx(ha,{children:y})}),j.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:j.join(" · ")}),(x||r.phone||p)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[x&&n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:pt(x)}),r.phone&&n.jsx("a",{href:`tel:${r.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:r.phone}),p&&n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[pl(p)," 문의"]})]}),m.length>0&&n.jsx("dl",{className:"mt-1",children:m.map(T=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-4 border-t py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:T.label}),n.jsx("dd",{className:"text-right font-semibold",children:T.value})]},T.label))})]})]})})}function Cb(){var x;const s=te(),r=gr();if(r==="reservation")return n.jsx(Sb,{});if(r==="oasi")return n.jsx(wb,{});if(r==="studio")return n.jsx(Eb,{});if(r==="pastel")return n.jsx(zb,{});if(r==="editorial")return n.jsx(_b,{});const o=(x=s.theme.sections.find(p=>p.id==="hero"))==null?void 0:x.variantId;if(o==="hero.slideshow")return n.jsx(xb,{});if(o==="hero.split")return n.jsx(vb,{});const{place:u,narrative:f}=s,d=pr(s),m=dt(s);Ze(s);const g=u.addressLocality??u.addressRegion;return n.jsx("section",{id:"top",className:"w-full",children:n.jsxs("div",{className:"relative flex w-full items-end overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",minHeight:"clamp(24rem, 62vh, 36rem)"},children:[d&&n.jsxs("div",{className:"absolute inset-0 z-0",children:[n.jsx("img",{src:d.url,alt:d.alt,fetchPriority:"high",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover object-center"}),n.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, color-mix(in srgb, var(--tpl-inverse, #1c1917) 88%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 45%, transparent) 34%, transparent 66%)"}})]}),n.jsxs("div",{className:"shell relative z-10 pb-10 pt-24 sm:pb-12",children:[g&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] opacity-100",children:[n.jsx($s,{className:"size-3.5"}),n.jsx("span",{children:g})]}),n.jsx("h1",{className:"serif",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:u.name}),(f.tagline??f.heroSubline??f.summary)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-100",children:n.jsx(ha,{children:f.tagline??f.heroSubline??f.summary})}),s.units.length>0&&n.jsxs("a",{href:"#units",className:"mt-6 inline-flex items-center gap-1 text-[length:var(--fs-sm)] font-medium underline-offset-4 opacity-100 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[m.label," 보기"]}),n.jsx(hr,{className:"size-4"})]})]})]})})}function Lp(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":`${r.getFullYear()}년 ${r.getMonth()+1}월 ${r.getDate()}일`}function Qs(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":r.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function kb(s){return`https://search.naver.com/search.naver?query=${encodeURIComponent(s)}`}function Xh(s){return`https://map.naver.com/p/search/${encodeURIComponent(s)}`}function Mb(s){return`https://www.youtube.com/results?search_query=${encodeURIComponent(s)}`}function mu(s){return s.replace(/,/g," ").replace(/\s+/g," ").trim()}function Ob(s,r,o){return r==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(s)}`:`https://map.kakao.com/link/to/${encodeURIComponent(mu(s))},${r},${o}`}function Db(s,r){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(mu(u.name))}`;return`https://map.naver.com/p/directions/${o(s)}/${o(r)}/-/car`}function Hp(s,r,o){return r==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(s)}`:`https://map.naver.com/p/directions/-/${o},${r},${encodeURIComponent(mu(s))}/-/transit`}function Rb(s,r,o=16/9,u=.0022){const f=Math.max(Math.cos(s*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[r-d,s-u,r+d,s+u].map(g=>g.toFixed(6)).join(",")}&layer=mapnik&marker=${s},${r}`}function Ub(s,r,o){if(r==null||o==null)return;const u=encodeURIComponent(s);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${r}&rGoName=${u}&rGoX=${o}&rGoY=${r}`}function hu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-10 flex flex-col items-center gap-4 text-center sm:mb-14",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:r}),n.jsx("i",{"aria-hidden":!0,className:"block h-px w-10 bg-current opacity-25"}),o&&n.jsx("p",{className:"text-muted measure text-[length:var(--fs-sm)] leading-loose",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-xs)]",children:u})]})}function pu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-8",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",r,"]"]}),o&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})}function gu({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-7 sm:mb-10",children:n.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-10",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:`${s}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:r}),o&&n.jsx("p",{className:"text-muted measure mt-2 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})})}function xu({id:s,title:r,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col items-center gap-3 text-center sm:mb-10",children:[n.jsx("i",{"aria-hidden":!0,className:"block h-[6px] w-10 rounded-full",style:{backgroundColor:"var(--pastel-2, currentColor)",opacity:.9}}),n.jsx("h2",{id:`${s}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:r}),o&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-65",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-sm)]",children:u})]})}const Lb={base:{backgroundColor:"var(--tpl-surface, #ffffff)"},alt:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},dark:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"}};function gt({id:s,title:r,lead:o,tone:u="base",aside:f,footnote:d,children:m,wide:g,bare:x}){const p=gr(),y=p==="reservation"?hu:p==="oasi"?pu:p==="studio"?gu:p==="pastel"?xu:p==="editorial"?du:Hb;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{...Lb[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:g?"w-full":"shell",children:[!x&&n.jsx("div",{className:g?"shell":void 0,children:n.jsx(y,{id:s,title:r,lead:o,aside:f})}),m,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${g?"shell":""}`,children:d})]})})}function Hb({id:s,title:r,lead:o,aside:u}){return n.jsx("header",{className:"mb-6 sm:mb-8",children:n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between sm:gap-6",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${s}-heading`,className:"h2 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:r})]}),o&&n.jsx("p",{className:"text-muted measure mt-2 pl-[calc(3px+0.625rem)] text-[length:var(--fs-sm)]",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})})}function Bb(s){return Object.prototype.toString.call(s)==="[object Object]"}function Vh(s){return Bb(s)||Array.isArray(s)}function qb(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function vu(s,r){const o=Object.keys(s),u=Object.keys(r);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(s.breakpoints||{})),d=JSON.stringify(Object.keys(r.breakpoints||{}));return f!==d?!1:o.every(m=>{const g=s[m],x=r[m];return typeof g=="function"?`${g}`==`${x}`:!Vh(g)||!Vh(x)?g===x:vu(g,x)})}function Zh(s){return s.concat().sort((r,o)=>r.name>o.name?1:-1).map(r=>r.options)}function Yb(s,r){if(s.length!==r.length)return!1;const o=Zh(s),u=Zh(r);return o.every((f,d)=>{const m=u[d];return vu(f,m)})}function bu(s){return typeof s=="number"}function Fo(s){return typeof s=="string"}function xr(s){return typeof s=="boolean"}function Kh(s){return Object.prototype.toString.call(s)==="[object Object]"}function $e(s){return Math.abs(s)}function yu(s){return Math.sign(s)}function Ds(s,r){return $e(s-r)}function Gb(s,r){if(s===0||r===0||$e(s)<=$e(r))return 0;const o=Ds($e(s),$e(r));return $e(o/s)}function $b(s){return Math.round(s*100)/100}function Bs(s){return qs(s).map(Number)}function tl(s){return s[Xs(s)]}function Xs(s){return Math.max(0,s.length-1)}function ju(s,r){return r===Xs(s)}function Jh(s,r=0){return Array.from(Array(s),(o,u)=>r+u)}function qs(s){return Object.keys(s)}function Bp(s,r){return[s,r].reduce((o,u)=>(qs(u).forEach(f=>{const d=o[f],m=u[f],g=Kh(d)&&Kh(m);o[f]=g?Bp(d,m):m}),o),{})}function Io(s,r){return typeof r.MouseEvent<"u"&&s instanceof r.MouseEvent}function Qb(s,r){const o={start:u,center:f,end:d};function u(){return 0}function f(x){return d(x)/2}function d(x){return r-x}function m(x,p){return Fo(s)?o[s](x):s(r,x,p)}return{measure:m}}function Ys(){let s=[];function r(f,d,m,g={passive:!0}){let x;if("addEventListener"in f)f.addEventListener(d,m,g),x=()=>f.removeEventListener(d,m,g);else{const p=f;p.addListener(m),x=()=>p.removeListener(m)}return s.push(x),u}function o(){s=s.filter(f=>f())}const u={add:r,clear:o};return u}function Xb(s,r,o,u){const f=Ys(),d=1e3/60;let m=null,g=0,x=0;function p(){f.add(s,"visibilitychange",()=>{s.hidden&&S()})}function y(){T(),f.clear()}function b(k){if(!x)return;m||(m=k,o(),o());const R=k-m;for(m=k,g+=R;g>=d;)o(),g-=d;const V=g/d;u(V),x&&(x=r.requestAnimationFrame(b))}function j(){x||(x=r.requestAnimationFrame(b))}function T(){r.cancelAnimationFrame(x),m=null,g=0,x=0}function S(){m=null,g=0}return{init:p,destroy:y,start:j,stop:T,update:o,render:u}}function Vb(s,r){const o=r==="rtl",u=s==="y",f=u?"y":"x",d=u?"x":"y",m=!u&&o?-1:1,g=y(),x=b();function p(S){const{height:w,width:k}=S;return u?w:k}function y(){return u?"top":o?"right":"left"}function b(){return u?"bottom":o?"left":"right"}function j(S){return S*m}return{scroll:f,cross:d,startEdge:g,endEdge:x,measureSize:p,direction:j}}function Da(s=0,r=0){const o=$e(s-r);function u(p){return pr}function d(p){return u(p)||f(p)}function m(p){return d(p)?u(p)?s:r:p}function g(p){return o?p-o*Math.ceil((p-r)/o):p}return{length:o,max:r,min:s,constrain:m,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:g}}function qp(s,r,o){const{constrain:u}=Da(0,s),f=s+1;let d=m(r);function m(j){return o?$e((f+j)%f):u(j)}function g(){return d}function x(j){return d=m(j),b}function p(j){return y().set(g()+j)}function y(){return qp(s,g(),o)}const b={get:g,set:x,add:p,clone:y};return b}function Zb(s,r,o,u,f,d,m,g,x,p,y,b,j,T,S,w,k,R,V){const{cross:Y,direction:X}=s,G=["INPUT","SELECT","TEXTAREA"],J={passive:!1},$=Ys(),F=Ys(),le=Da(50,225).constrain(T.measure(20)),Z={mouse:300,touch:400},ne={mouse:500,touch:600},ye=S?43:25;let Ge=!1,Qe=0,re=0,O=!1,Q=!1,ae=!1,he=!1;function je(ee){if(!V)return;function Ae(tt){(xr(V)||V(ee,tt))&&fe(tt)}const Me=r;$.add(Me,"dragstart",tt=>tt.preventDefault(),J).add(Me,"touchmove",()=>{},J).add(Me,"touchend",()=>{}).add(Me,"touchstart",Ae).add(Me,"mousedown",Ae).add(Me,"touchcancel",we).add(Me,"contextmenu",we).add(Me,"click",Ee,!0)}function E(){$.clear(),F.clear()}function B(){const ee=he?o:r;F.add(ee,"touchmove",oe,J).add(ee,"touchend",we).add(ee,"mousemove",oe,J).add(ee,"mouseup",we)}function K(ee){const Ae=ee.nodeName||"";return G.includes(Ae)}function W(){return(S?ne:Z)[he?"mouse":"touch"]}function ce(ee,Ae){const Me=b.add(yu(ee)*-1),tt=y.byDistance(ee,!S).distance;return S||$e(ee)=2,!(Ae&&ee.button!==0)&&(K(ee.target)||(O=!0,d.pointerDown(ee),p.useFriction(0).useDuration(0),f.set(m),B(),Qe=d.readPoint(ee),re=d.readPoint(ee,Y),j.emit("pointerDown")))}function oe(ee){if(!Io(ee,u)&&ee.touches.length>=2)return we(ee);const Me=d.readPoint(ee),tt=d.readPoint(ee,Y),jt=Ds(Me,Qe),Wt=Ds(tt,re);if(!Q&&!he&&(!ee.cancelable||(Q=jt>Wt,!Q)))return we(ee);const nl=d.pointerMove(ee);jt>w&&(ae=!0),p.useFriction(.3).useDuration(.75),g.start(),f.add(X(nl)),ee.preventDefault()}function we(ee){const Me=y.byDistance(0,!1).index!==b.get(),tt=d.pointerUp(ee)*W(),jt=ce(X(tt),Me),Wt=Gb(tt,jt),nl=ye-10*Wt,Ht=R+Wt/50;Q=!1,O=!1,F.clear(),p.useDuration(nl).useFriction(Ht),x.distance(jt,!S),he=!1,j.emit("pointerUp")}function Ee(ee){ae&&(ee.stopPropagation(),ee.preventDefault(),ae=!1)}function at(){return O}return{init:je,destroy:E,pointerDown:at}}function Kb(s,r){let u,f;function d(b){return b.timeStamp}function m(b,j){const S=`client${(j||s.scroll)==="x"?"X":"Y"}`;return(Io(b,r)?b:b.touches[0])[S]}function g(b){return u=b,f=b,m(b)}function x(b){const j=m(b)-m(f),T=d(b)-d(u)>170;return f=b,T&&(u=b),j}function p(b){if(!u||!f)return 0;const j=m(f)-m(u),T=d(b)-d(u),S=d(b)-d(f)>170,w=j/T;return T&&!S&&$e(w)>.1?w:0}return{pointerDown:g,pointerMove:x,pointerUp:p,readPoint:m}}function Jb(){function s(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:m}=o;return{top:u,right:f+d,bottom:u+m,left:f,width:d,height:m}}return{measure:s}}function Wb(s){function r(u){return s*(u/100)}return{measure:r}}function Fb(s,r,o,u,f,d,m){const g=[s].concat(u);let x,p,y=[],b=!1;function j(k){return f.measureSize(m.measure(k))}function T(k){if(!d)return;p=j(s),y=u.map(j);function R(V){for(const Y of V){if(b)return;const X=Y.target===s,G=u.indexOf(Y.target),J=X?p:y[G],$=j(X?s:u[G]);if($e($-J)>=.5){k.reInit(),r.emit("resize");break}}}x=new ResizeObserver(V=>{(xr(d)||d(k,V))&&R(V)}),o.requestAnimationFrame(()=>{g.forEach(V=>x.observe(V))})}function S(){b=!0,x&&x.disconnect()}return{init:T,destroy:S}}function Ib(s,r,o,u,f,d){let m=0,g=0,x=f,p=d,y=s.get(),b=0;function j(){const J=u.get()-s.get(),$=!x;let F=0;return $?(m=0,o.set(u),s.set(u),F=J):(o.set(s),m+=J/x,m*=p,y+=m,s.add(m),F=y-b),g=yu(F),b=y,G}function T(){const J=u.get()-r.get();return $e(J)<.001}function S(){return x}function w(){return g}function k(){return m}function R(){return Y(f)}function V(){return X(d)}function Y(J){return x=J,G}function X(J){return p=J,G}const G={direction:w,duration:S,velocity:k,seek:j,settled:T,useBaseFriction:V,useBaseDuration:R,useFriction:X,useDuration:Y};return G}function Pb(s,r,o,u,f){const d=f.measure(10),m=f.measure(50),g=Da(.1,.99);let x=!1;function p(){return!(x||!s.reachedAny(o.get())||!s.reachedAny(r.get()))}function y(T){if(!p())return;const S=s.reachedMin(r.get())?"min":"max",w=$e(s[S]-r.get()),k=o.get()-r.get(),R=g.constrain(w/m);o.subtract(k*R),!T&&$e(k){const{min:k,max:R}=d,V=d.constrain(S),Y=!w,X=ju(o,w);return Y?R:X||p(k,V)?k:p(R,V)?R:V}).map(S=>parseFloat(S.toFixed(3)))}function j(){if(r<=s+f)return[d.max];if(u==="keepSnaps")return m;const{min:S,max:w}=g;return m.slice(S,w)}return{snapsContained:x,scrollContainLimit:g}}function ty(s,r,o){const u=r[0],f=o?u-s:tl(r);return{limit:Da(f,u)}}function ly(s,r,o,u){const d=r.min+.1,m=r.max+.1,{reachedMin:g,reachedMax:x}=Da(d,m);function p(j){return j===1?x(o.get()):j===-1?g(o.get()):!1}function y(j){if(!p(j))return;const T=s*(j*-1);u.forEach(S=>S.add(T))}return{loop:y}}function ay(s){const{max:r,length:o}=s;function u(d){const m=d-r;return o?m/-o:0}return{get:u}}function ny(s,r,o,u,f){const{startEdge:d,endEdge:m}=s,{groupSlides:g}=f,x=b().map(r.measure),p=j(),y=T();function b(){return g(u).map(w=>tl(w)[m]-w[0][d]).map($e)}function j(){return u.map(w=>o[d]-w[d]).map(w=>-$e(w))}function T(){return g(p).map(w=>w[0]).map((w,k)=>w+x[k])}return{snaps:p,snapsAligned:y}}function sy(s,r,o,u,f,d){const{groupSlides:m}=f,{min:g,max:x}=u,p=y();function y(){const j=m(d),T=!s||r==="keepSnaps";return o.length===1?[d]:T?j:j.slice(g,x).map((S,w,k)=>{const R=!w,V=ju(k,w);if(R){const Y=tl(k[0])+1;return Jh(Y)}if(V){const Y=Xs(d)-tl(k)[0]+1;return Jh(Y,tl(k)[0])}return S})}return{slideRegistry:p}}function iy(s,r,o,u,f){const{reachedAny:d,removeOffset:m,constrain:g}=u;function x(S){return S.concat().sort((w,k)=>$e(w)-$e(k))[0]}function p(S){const w=s?m(S):g(S),k=r.map((V,Y)=>({diff:y(V-w,0),index:Y})).sort((V,Y)=>$e(V.diff)-$e(Y.diff)),{index:R}=k[0];return{index:R,distance:w}}function y(S,w){const k=[S,S+o,S-o];if(!s)return S;if(!w)return x(k);const R=k.filter(V=>yu(V)===w);return R.length?x(R):tl(k)-o}function b(S,w){const k=r[S]-f.get(),R=y(k,w);return{index:S,distance:R}}function j(S,w){const k=f.get()+S,{index:R,distance:V}=p(k),Y=!s&&d(k);if(!w||Y)return{index:R,distance:S};const X=r[R]-V,G=S+y(X,0);return{index:R,distance:G}}return{byDistance:j,byIndex:b,shortcut:y}}function ry(s,r,o,u,f,d,m){function g(b){const j=b.distance,T=b.index!==r.get();d.add(j),j&&(u.duration()?s.start():(s.update(),s.render(1),s.update())),T&&(o.set(r.get()),r.set(b.index),m.emit("select"))}function x(b,j){const T=f.byDistance(b,j);g(T)}function p(b,j){const T=r.clone().set(b),S=f.byIndex(T.get(),j);g(S)}return{distance:x,index:p}}function cy(s,r,o,u,f,d,m,g){const x={passive:!0,capture:!0};let p=0;function y(T){if(!g)return;function S(w){if(new Date().getTime()-p>10)return;m.emit("slideFocusStart"),s.scrollLeft=0;const V=o.findIndex(Y=>Y.includes(w));bu(V)&&(f.useDuration(0),u.index(V,0),m.emit("slideFocus"))}d.add(document,"keydown",b,!1),r.forEach((w,k)=>{d.add(w,"focus",R=>{(xr(g)||g(T,R))&&S(k)},x)})}function b(T){T.code==="Tab"&&(p=new Date().getTime())}return{init:y}}function ks(s){let r=s;function o(){return r}function u(x){r=m(x)}function f(x){r+=m(x)}function d(x){r-=m(x)}function m(x){return bu(x)?x:x.get()}return{get:o,set:u,add:f,subtract:d}}function Yp(s,r){const o=s.scroll==="x"?m:g,u=r.style;let f=null,d=!1;function m(j){return`translate3d(${j}px,0px,0px)`}function g(j){return`translate3d(0px,${j}px,0px)`}function x(j){if(d)return;const T=$b(s.direction(j));T!==f&&(u.transform=o(T),f=T)}function p(j){d=!j}function y(){d||(u.transform="",r.getAttribute("style")||r.removeAttribute("style"))}return{clear:y,to:x,toggleActive:p}}function oy(s,r,o,u,f,d,m,g,x){const y=Bs(f),b=Bs(f).reverse(),j=R().concat(V());function T($,F){return $.reduce((le,Z)=>le-f[Z],F)}function S($,F){return $.reduce((le,Z)=>T(le,F)>0?le.concat([Z]):le,[])}function w($){return d.map((F,le)=>({start:F-u[le]+.5+$,end:F+r-.5+$}))}function k($,F,le){const Z=w(F);return $.map(ne=>{const ye=le?0:-o,Ge=le?o:0,Qe=le?"end":"start",re=Z[ne][Qe];return{index:ne,loopPoint:re,slideLocation:ks(-1),translate:Yp(s,x[ne]),target:()=>g.get()>re?ye:Ge}})}function R(){const $=m[0],F=S(b,$);return k(F,o,!1)}function V(){const $=r-m[0]-1,F=S(y,$);return k(F,-o,!0)}function Y(){return j.every(({index:$})=>{const F=y.filter(le=>le!==$);return T(F,r)<=.1})}function X(){j.forEach($=>{const{target:F,translate:le,slideLocation:Z}=$,ne=F();ne!==Z.get()&&(le.to(ne),Z.set(ne))})}function G(){j.forEach($=>$.translate.clear())}return{canLoop:Y,clear:G,loop:X,loopPoints:j}}function uy(s,r,o){let u,f=!1;function d(x){if(!o)return;function p(y){for(const b of y)if(b.type==="childList"){x.reInit(),r.emit("slidesChanged");break}}u=new MutationObserver(y=>{f||(xr(o)||o(x,y))&&p(y)}),u.observe(s,{childList:!0})}function m(){u&&u.disconnect(),f=!0}return{init:d,destroy:m}}function fy(s,r,o,u){const f={};let d=null,m=null,g,x=!1;function p(){g=new IntersectionObserver(S=>{x||(S.forEach(w=>{const k=r.indexOf(w.target);f[k]=w}),d=null,m=null,o.emit("slidesInView"))},{root:s.parentElement,threshold:u}),r.forEach(S=>g.observe(S))}function y(){g&&g.disconnect(),x=!0}function b(S){return qs(f).reduce((w,k)=>{const R=parseInt(k),{isIntersecting:V}=f[R];return(S&&V||!S&&!V)&&w.push(R),w},[])}function j(S=!0){if(S&&d)return d;if(!S&&m)return m;const w=b(S);return S&&(d=w),S||(m=w),w}return{init:p,destroy:y,get:j}}function dy(s,r,o,u,f,d){const{measureSize:m,startEdge:g,endEdge:x}=s,p=o[0]&&f,y=S(),b=w(),j=o.map(m),T=k();function S(){if(!p)return 0;const V=o[0];return $e(r[g]-V[g])}function w(){if(!p)return 0;const V=d.getComputedStyle(tl(u));return parseFloat(V.getPropertyValue(`margin-${x}`))}function k(){return o.map((V,Y,X)=>{const G=!Y,J=ju(X,Y);return G?j[Y]+y:J?j[Y]+b:X[Y+1][g]-V[g]}).map($e)}return{slideSizes:j,slideSizesWithGaps:T,startGap:y,endGap:b}}function my(s,r,o,u,f,d,m,g,x){const{startEdge:p,endEdge:y,direction:b}=s,j=bu(o);function T(R,V){return Bs(R).filter(Y=>Y%V===0).map(Y=>R.slice(Y,Y+V))}function S(R){return R.length?Bs(R).reduce((V,Y,X)=>{const G=tl(V)||0,J=G===0,$=Y===Xs(R),F=f[p]-d[G][p],le=f[p]-d[Y][y],Z=!u&&J?b(m):0,ne=!u&&$?b(g):0,ye=$e(le-ne-(F+Z));return X&&ye>r+x&&V.push(Y),$&&V.push(R.length),V},[]).map((V,Y,X)=>{const G=Math.max(X[Y-1]||0);return R.slice(G,V)}):[]}function w(R){return j?T(R,o):S(R)}return{groupSlides:w}}function hy(s,r,o,u,f,d,m){const{align:g,axis:x,direction:p,startIndex:y,loop:b,duration:j,dragFree:T,dragThreshold:S,inViewThreshold:w,slidesToScroll:k,skipSnaps:R,containScroll:V,watchResize:Y,watchSlides:X,watchDrag:G,watchFocus:J}=d,$=2,F=Jb(),le=F.measure(r),Z=o.map(F.measure),ne=Vb(x,p),ye=ne.measureSize(le),Ge=Wb(ye),Qe=Qb(g,ye),re=!b&&!!V,O=b||!!V,{slideSizes:Q,slideSizesWithGaps:ae,startGap:he,endGap:je}=dy(ne,le,Z,o,O,f),E=my(ne,ye,k,b,le,Z,he,je,$),{snaps:B,snapsAligned:K}=ny(ne,Qe,le,Z,E),W=-tl(B)+tl(ae),{snapsContained:ce,scrollContainLimit:fe}=ey(ye,W,K,V,$),oe=re?ce:K,{limit:we}=ty(W,oe,b),Ee=qp(Xs(oe),y,b),at=Ee.clone(),ke=Bs(o),ee=({dragHandler:vl,scrollBody:Ln,scrollBounds:Hn,options:{loop:sl}})=>{sl||Hn.constrain(vl.pointerDown()),Ln.seek()},Ae=({scrollBody:vl,translate:Ln,location:Hn,offsetLocation:sl,previousLocation:xt,scrollLooper:il,slideLooper:vt,dragHandler:br,animation:yr,eventHandler:Ks,scrollBounds:La,options:{loop:pa}},ga)=>{const rl=vl.settled(),Ha=!La.shouldConstrain(),Hl=pa?rl:rl&&Ha,Js=Hl&&!br.pointerDown();Js&&yr.stop();const Ws=Hn.get()*ga+xt.get()*(1-ga);sl.set(Ws),pa&&(il.loop(vl.direction()),vt.loop()),Ln.to(sl.get()),Js&&Ks.emit("settle"),Hl||Ks.emit("scroll")},Me=Xb(u,f,()=>ee(Un),vl=>Ae(Un,vl)),tt=.68,jt=oe[Ee.get()],Wt=ks(jt),nl=ks(jt),Ht=ks(jt),Ft=ks(jt),xl=Ib(Wt,Ht,nl,Ft,j,tt),On=iy(b,oe,W,we,Ft),Dn=ry(Me,Ee,at,xl,On,Ft,m),mt=ay(we),Vs=Ys(),Zs=fy(r,o,m,w),{slideRegistry:Rn}=sy(re,V,oe,fe,E,ke),Ua=cy(s,o,Rn,Dn,xl,Vs,m,J),Un={ownerDocument:u,ownerWindow:f,eventHandler:m,containerRect:le,slideRects:Z,animation:Me,axis:ne,dragHandler:Zb(ne,s,u,f,Ft,Kb(ne,f),Wt,Me,Dn,xl,On,Ee,m,Ge,T,S,R,tt,G),eventStore:Vs,percentOfView:Ge,index:Ee,indexPrevious:at,limit:we,location:Wt,offsetLocation:Ht,previousLocation:nl,options:d,resizeHandler:Fb(r,m,f,o,ne,Y,F),scrollBody:xl,scrollBounds:Pb(we,Ht,Ft,xl,Ge),scrollLooper:ly(W,we,Ht,[Wt,Ht,nl,Ft]),scrollProgress:mt,scrollSnapList:oe.map(mt.get),scrollSnaps:oe,scrollTarget:On,scrollTo:Dn,slideLooper:oy(ne,ye,W,Q,ae,B,oe,Ht,o),slideFocus:Ua,slidesHandler:uy(r,m,X),slidesInView:Zs,slideIndexes:ke,slideRegistry:Rn,slidesToScroll:E,target:Ft,translate:Yp(ne,r)};return Un}function py(){let s={},r;function o(p){r=p}function u(p){return s[p]||[]}function f(p){return u(p).forEach(y=>y(r,p)),x}function d(p,y){return s[p]=u(p).concat([y]),x}function m(p,y){return s[p]=u(p).filter(b=>b!==y),x}function g(){s={}}const x={init:o,emit:f,off:m,on:d,clear:g};return x}const gy={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function xy(s){function r(d,m){return Bp(d,m||{})}function o(d){const m=d.breakpoints||{},g=qs(m).filter(x=>s.matchMedia(x).matches).map(x=>m[x]).reduce((x,p)=>r(x,p),{});return r(d,g)}function u(d){return d.map(m=>qs(m.breakpoints||{})).reduce((m,g)=>m.concat(g),[]).map(s.matchMedia)}return{mergeOptions:r,optionsAtMedia:o,optionsMediaQueries:u}}function vy(s){let r=[];function o(d,m){return r=m.filter(({options:g})=>s.optionsAtMedia(g).active!==!1),r.forEach(g=>g.init(d,s)),m.reduce((g,x)=>Object.assign(g,{[x.name]:x}),{})}function u(){r=r.filter(d=>d.destroy())}return{init:o,destroy:u}}function mr(s,r,o){const u=s.ownerDocument,f=u.defaultView,d=xy(f),m=vy(d),g=Ys(),x=py(),{mergeOptions:p,optionsAtMedia:y,optionsMediaQueries:b}=d,{on:j,off:T,emit:S}=x,w=ne;let k=!1,R,V=p(gy,mr.globalOptions),Y=p(V),X=[],G,J,$;function F(){const{container:ke,slides:ee}=Y;J=(Fo(ke)?s.querySelector(ke):ke)||s.children[0];const Me=Fo(ee)?J.querySelectorAll(ee):ee;$=[].slice.call(Me||J.children)}function le(ke){const ee=hy(s,J,$,u,f,ke,x);if(ke.loop&&!ee.slideLooper.canLoop()){const Ae=Object.assign({},ke,{loop:!1});return le(Ae)}return ee}function Z(ke,ee){k||(V=p(V,ke),Y=y(V),X=ee||X,F(),R=le(Y),b([V,...X.map(({options:Ae})=>Ae)]).forEach(Ae=>g.add(Ae,"change",ne)),Y.active&&(R.translate.to(R.location.get()),R.animation.init(),R.slidesInView.init(),R.slideFocus.init(at),R.eventHandler.init(at),R.resizeHandler.init(at),R.slidesHandler.init(at),R.options.loop&&R.slideLooper.loop(),J.offsetParent&&$.length&&R.dragHandler.init(at),G=m.init(at,X)))}function ne(ke,ee){const Ae=E();ye(),Z(p({startIndex:Ae},ke),ee),x.emit("reInit")}function ye(){R.dragHandler.destroy(),R.eventStore.clear(),R.translate.clear(),R.slideLooper.clear(),R.resizeHandler.destroy(),R.slidesHandler.destroy(),R.slidesInView.destroy(),R.animation.destroy(),m.destroy(),g.clear()}function Ge(){k||(k=!0,g.clear(),ye(),x.emit("destroy"),x.clear())}function Qe(ke,ee,Ae){!Y.active||k||(R.scrollBody.useBaseFriction().useDuration(ee===!0?0:Y.duration),R.scrollTo.index(ke,Ae||0))}function re(ke){const ee=R.index.add(1).get();Qe(ee,ke,-1)}function O(ke){const ee=R.index.add(-1).get();Qe(ee,ke,1)}function Q(){return R.index.add(1).get()!==E()}function ae(){return R.index.add(-1).get()!==E()}function he(){return R.scrollSnapList}function je(){return R.scrollProgress.get(R.offsetLocation.get())}function E(){return R.index.get()}function B(){return R.indexPrevious.get()}function K(){return R.slidesInView.get()}function W(){return R.slidesInView.get(!1)}function ce(){return G}function fe(){return R}function oe(){return s}function we(){return J}function Ee(){return $}const at={canScrollNext:Q,canScrollPrev:ae,containerNode:we,internalEngine:fe,destroy:Ge,off:T,on:j,emit:S,plugins:ce,previousScrollSnap:B,reInit:w,rootNode:oe,scrollNext:re,scrollPrev:O,scrollProgress:je,scrollSnapList:he,scrollTo:Qe,selectedScrollSnap:E,slideNodes:Ee,slidesInView:K,slidesNotInView:W};return Z(r,o),setTimeout(()=>x.emit("init"),0),at}mr.globalOptions=void 0;function Nu(s={},r=[]){const o=U.useRef(s),u=U.useRef(r),[f,d]=U.useState(),[m,g]=U.useState(),x=U.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return U.useEffect(()=>{vu(o.current,s)||(o.current=s,x())},[s,x]),U.useEffect(()=>{Yb(u.current,r)||(u.current=r,x())},[r,x]),U.useEffect(()=>{if(qb()&&m){mr.globalOptions=Nu.globalOptions;const p=mr(m,o.current,u.current);return d(p),()=>p.destroy()}else d(void 0)},[m,d]),[g,f]}Nu.globalOptions=void 0;const Su=4500;function wu({box:s,interval:r,advance:o}){const u=U.useRef(o);u.current=o,U.useEffect(()=>{const f=s.current;if(!f||r<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,m=!0;const g=()=>{d+=1},x=()=>{d=Math.max(0,d-1)},p=window.setInterval(()=>{d>0||document.hidden||!m||u.current()||window.clearInterval(p)},r),y=new IntersectionObserver(([w])=>{m=w.isIntersecting},{threshold:.25});y.observe(f);const b=window.matchMedia("(hover: hover) and (pointer: fine)").matches;b&&(f.addEventListener("pointerenter",g),f.addEventListener("pointerleave",x));let j=!1;const T=w=>{const k=w.target;!(k instanceof Element)||!k.matches(":focus-visible")||j||(j=!0,g())},S=()=>{j&&(j=!1,x())};return f.addEventListener("focusin",T),f.addEventListener("focusout",S),f.addEventListener("pointerdown",g,!0),window.addEventListener("pointerup",x,!0),window.addEventListener("pointercancel",x,!0),()=>{window.clearInterval(p),y.disconnect(),b&&(f.removeEventListener("pointerenter",g),f.removeEventListener("pointerleave",x)),f.removeEventListener("focusin",T),f.removeEventListener("focusout",S),f.removeEventListener("pointerdown",g,!0),window.removeEventListener("pointerup",x,!0),window.removeEventListener("pointercancel",x,!0)}},[s,r])}function Gp(s,r=.85){if(!s)return!1;const o=s.scrollWidth-s.clientWidth;if(o<=8||s.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return s.scrollBy({left:s.clientWidth*r,behavior:u?"auto":"smooth"}),!0}function vr({label:s,children:r,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:m=1,autoplay:g=Su,onSelect:x,onReady:p,className:y}){const b=g===!1?0:g,[j,T]=Nu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[S,w]=U.useState([]),[k,R]=U.useState(0),[V,Y]=U.useState(!1),[X,G]=U.useState(!1),J=U.useRef(null),$=U.useId();U.useEffect(()=>{var Q;if(!T)return;const re=()=>{R(T.selectedScrollSnap()),Y(T.canScrollPrev()),G(T.canScrollNext())},O=()=>{w(T.scrollSnapList()),re()};return O(),T.on("select",re),T.on("reInit",O),(Q=J.current)==null||Q.setAttribute("data-slider","on"),()=>{T.off("select",re),T.off("reInit",O)}},[T]),U.useEffect(()=>{if(!T)return;const re=J.current,O=()=>re==null?void 0:re.setAttribute("data-dragging","true"),Q=()=>re==null?void 0:re.removeAttribute("data-dragging");return T.on("pointerDown",O),T.on("pointerUp",Q),()=>{T.off("pointerDown",O),T.off("pointerUp",Q)}},[T]),wu({box:J,interval:b,advance:()=>!T||T.scrollSnapList().length<=1?!0:T.canScrollNext()?(T.scrollNext(),!0):!1});const F=U.useCallback(re=>T==null?void 0:T.scrollTo(re),[T]),le=U.useRef(x);le.current=x;const Z=U.useRef(p);Z.current=p,U.useEffect(()=>{var O;if(!T)return;const re=()=>{var Q;return(Q=le.current)==null?void 0:Q.call(le,T.selectedScrollSnap())};return re(),T.on("select",re),T.on("reInit",re),(O=Z.current)==null||O.call(Z,{scrollTo:Q=>T.scrollTo(Q)}),()=>{T.off("select",re),T.off("reInit",re)}},[T]);const ne=U.useCallback(()=>T==null?void 0:T.scrollPrev(),[T]),ye=U.useCallback(()=>T==null?void 0:T.scrollNext(),[T]),Ge=S.length>1,Qe=f&&Ge&&S.length<=12;return n.jsxs("div",{className:y,children:[d==="header"&&Ge&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Wh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Wh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:re=>{J.current=re,j(re)},className:"slider-viewport",role:"group","aria-roledescription":"캐러셀","aria-label":s,tabIndex:0,onKeyDown:re=>{re.key==="ArrowLeft"&&(re.preventDefault(),ne()),re.key==="ArrowRight"&&(re.preventDefault(),ye())},children:n.jsx("div",{className:"slider-track",style:{gap:`${m}rem`},id:$,children:r})}),d==="overlay"&&Ge&&n.jsxs(n.Fragment,{children:[n.jsx(Fh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Fh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]})]}),Ge&&n.jsxs("div",{className:"mt-4 flex items-center justify-center gap-3",children:[Qe&&n.jsx("ul",{className:"flex items-center gap-1.5",children:S.map((re,O)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>F(O),"aria-label":`${O+1}번째로`,"aria-current":O===k,"aria-controls":$,className:`h-1.5 rounded-full transition-all ${O===k?"w-6 bg-current opacity-100":"w-1.5 bg-current opacity-20 hover:opacity-100"}`})},O))}),n.jsxs("span",{className:"text-current/80 text-[length:var(--fs-xs)] tabular-nums",children:[k+1," / ",S.length]})]})]})}function $p({basis:s,children:r}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${s}`,"aria-roledescription":"슬라이드",children:r})}function Wh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-100 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function Fh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"이전":"다음"}`,className:`tap absolute top-1/2 z-10 hidden -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:opacity-0 sm:flex ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function Eu({children:s,className:r="",as:o="div"}){return n.jsx(o,{className:`panel ${r}`,children:s})}function zu({children:s}){return n.jsx("span",{className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/5 px-2.5 py-1 text-[length:var(--fs-xs)]",children:s})}function Qp({label:s,value:r,note:o}){return n.jsxs("div",{className:"divide-line flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-6",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] font-medium sm:w-40",children:s}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[r,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function Ih({href:s,children:r,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:s,...u?{target:"_blank",rel:"noopener noreferrer"}:{},className:`tap inline-flex items-center justify-center gap-2 rounded-lg px-4 text-[length:var(--fs-sm)] font-semibold transition-opacity hover:opacity-100 ${d?"":"border-line tpl-border border bg-current/5"}`,style:d?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:[f,n.jsx("span",{children:r}),u&&n.jsx(zn,{className:"size-4 shrink-0"})]})}function by(){const s=te(),{narrative:r,place:o}=s,u=Wv(s,"intro"),f=u.length>0?u:r.about;if(f.length===0)return null;const d=fu(s).find(g=>!g.isPrimary),m=r.heroSubline??`${o.name} 소개`;return n.jsx(gt,{id:"about",bare:!0,title:m,children:n.jsxs("div",{className:"grid grid-cols-1 items-center gap-8 lg:grid-cols-12 lg:gap-14",children:[d&&n.jsxs("figure",{className:"lg:col-span-7",children:[n.jsx("div",{className:"tpl-border border-line relative aspect-4/3 max-h-[26rem] overflow-hidden rounded-xl border lg:aspect-3/2",children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover"})}),d.caption&&n.jsx("figcaption",{className:"text-muted mt-2 text-[length:var(--fs-xs)]",children:d.caption})]}),n.jsxs("div",{className:d?"lg:col-span-5":"lg:col-span-12",children:[n.jsxs("h2",{id:"about-heading",className:"h2 mb-6 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:m})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((g,x)=>n.jsx("p",{children:g},x))})]})]})})}const yy=new Set(["가능","불가","있음","없음"]),Ph=s=>!s.note&&yy.has(s.value.trim()),jy=new Set(["체크인 시간","체크아웃 시간","취소·환불 규정","취사 가능","반려동물 동반","흡연 가능","인원 추가 요금"]);function Ny(){var T,S;const s=te(),r=ou(s),o=Tn(s.facts).find(w=>w.key==="intro"),u=((T=o==null?void 0:o.summary)==null?void 0:T.trim())||((S=o==null?void 0:o.value)==null?void 0:S.trim())||s.narrative.summary||mb(s),f=s.links.filter(w=>{var k,R,V;return w.confirmed&&[(k=w.stayGuide)==null?void 0:k.policy,(R=w.stayGuide)==null?void 0:R.service,(V=w.stayGuide)==null?void 0:V.reservation].some(Y=>Y==null?void 0:Y.trim())}),d=f.flatMap(w=>{var k;return((k=w.stayGuide)==null?void 0:k.fields)??[]}),m=[...r],g=new Set(r.map(w=>w.key));for(const w of d)g.has(w.key)||(m.push(w),g.add(w.key));const x=w=>["cooking_allowed","smoking"].includes(w.key??"")?!1:jy.has(w.label)||d.some(k=>k.key===w.key&&k.group==="rules"),p=s.facts.filter(w=>w.scope==="place"&&!r.some(k=>k.label===w.label)).length,y=f.map(w=>{var k;return((k=w.stayGuide)==null?void 0:k.reservation)??""}).filter(w=>w.trim());if(r.length===0&&d.length===0&&y.length===0)return null;const b=m.filter(x),j=m.filter(w=>!x(w)&&w.key!=="intro");return n.jsx(gt,{id:"info",tone:"alt",title:"이용안내 및 예약",lead:"방문 전 확인이 필요한 운영 규정과 시설 안내입니다.",footnote:n.jsxs("span",{className:"flex flex-col gap-1 sm:flex-row sm:justify-between",children:[n.jsx("span",{children:p>0?`확인 중인 항목 ${p}개는 표시하지 않았습니다. 필요하시면 전화로 문의해 주세요.`:"등록 정보와 수집한 안내를 기준으로 표시합니다."}),n.jsxs("span",{className:"font-medium",children:[Lp(s.site.updatedAt)," 기준"]})]}),children:n.jsxs("div",{className:"space-y-8",children:[u&&n.jsx("p",{className:"measure text-[length:var(--fs-body)] leading-relaxed",children:u}),b.length>0&&n.jsx(ep,{title:"예약 전 확인",rows:b,emphasis:!0}),j.length>0&&n.jsx(ep,{title:"시설 · 편의",rows:j.filter(w=>!Ph(w)),children:n.jsx(Sy,{rows:j.filter(Ph)})}),y.map(w=>n.jsx(wy,{text:w},w.slice(0,32))),n.jsx(Ey,{})]})})}function ep({title:s,rows:r,emphasis:o,children:u}){return n.jsxs("section",{children:[n.jsxs("h3",{className:"border-line mb-3 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[o&&n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{children:s})]}),u,r.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:r.map((f,d)=>{const m=!f.note&&f.value.length<=24;return n.jsxs("div",{className:m?"flex flex-row items-baseline gap-3 py-2.5 sm:gap-6":"flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:`text-muted text-[length:var(--fs-sm)] ${m?"w-24 shrink-0 sm:w-40":"sm:w-40 sm:shrink-0"}`,children:f.label}),n.jsxs("dd",{className:"measure min-w-0 whitespace-pre-line break-words text-[length:var(--fs-sm)] font-semibold",children:[f.value,f.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:f.note})]})]},`${f.label}-${d}`)})})]})}const Yo=new Set(["가능","있음"]);function Sy({rows:s}){if(s.length===0)return null;const r=[...s].sort((o,u)=>Number(Yo.has(u.value))-Number(Yo.has(o.value)));return n.jsx("ul",{className:"mb-2 grid grid-cols-2 gap-x-5 sm:grid-cols-3 lg:grid-cols-4",children:r.map(o=>{const u=Yo.has(o.value);return n.jsxs("li",{className:"flex items-center gap-2 py-2 text-[length:var(--fs-sm)]",children:[u?n.jsx(nu,{className:"size-4 shrink-0",style:{color:"var(--color-brand)"},"aria-hidden":!0}):n.jsx(iu,{className:"text-muted size-4 shrink-0","aria-hidden":!0}),n.jsxs("span",{className:u?"min-w-0":"text-muted min-w-0",children:[n.jsx("span",{className:"font-semibold",children:o.label})," ",o.value]})]},o.key??o.label)})})}function wy({text:s}){return s.trim()?n.jsxs("details",{className:"panel group overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-2 px-4 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{className:"flex-1",children:"예약 공지"}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line whitespace-pre-line border-t px-4 pb-4 pt-3 text-[length:var(--fs-sm)] leading-relaxed",children:s})]}):null}function Ey(){const s=te(),r=Ze(s),o=s.place.phone;return!o&&r.length===0?null:n.jsxs("div",{className:"border-line flex flex-col gap-3 border-t pt-6 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("p",{className:"text-[length:var(--fs-sm)] font-semibold",children:[s.place.name," 예약은 아래로 받습니다."]}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[o&&n.jsxs("a",{href:`tel:${o}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:o})]}),r.map(u=>n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u)},u.url))]})]})}function zy(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx(gt,{id:"units",title:qe(s,r.path,`${r.label} 안내`),children:n.jsx("ul",{className:"mt-2 flex flex-col gap-14 lg:gap-20",children:o.map((f,d)=>n.jsxs("li",{className:"grid items-center gap-7 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-2":""}`,children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 rounded-lg overflow-hidden",children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),f.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:f.images.slice(1,4).map(m=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]}),n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-1":""}`,children:[n.jsx("h3",{className:"h2",children:f.name}),f.intro&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed opacity-100",children:f.intro}),f.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:m.label}),n.jsx("span",{className:"font-medium",children:m.value})]})},m.label))}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u,f.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),f.rows.length>0&&n.jsxs("details",{className:"group border-line mt-4 border-t pt-2",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[f.name," 구성 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right font-semibold",children:m.value})]},m.label))})]})]})]},f.unitId))})})}function Ty(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0],[f,d]=U.useState(0);return o.length===0?null:n.jsxs(gt,{id:"units",title:qe(s,r.path,`${r.label} 안내`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":r.label,children:o.map((m,g)=>n.jsx("button",{type:"button",role:"tab","aria-selected":g===f,"aria-controls":`unit-panel-${m.slug}`,onClick:()=>d(g),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${g===f?"opacity-100":"border-transparent opacity-100 hover:opacity-100"}`,style:g===f?{borderColor:"var(--color-brand)"}:void 0,children:m.name},m.unitId))}),o.map((m,g)=>n.jsxs("div",{id:`unit-panel-${m.slug}`,role:"tabpanel",hidden:g!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),m.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:m.images.slice(1,4).map(x=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},x.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:m.name}),m.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:m.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),m.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:m.rows.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.label))}),n.jsxs("div",{className:"mt-5 flex gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u,m.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]})]})]},m.unitId))]})}function Ay(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];if(o.length===0)return null;const f=o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",d=ll(s,"info")?[]:ou(s);return n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"calc(var(--section-space) * 1.4)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(hu,{id:"units",title:qe(s,r.path,`${r.label} 안내`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(m=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})}),n.jsx("h3",{className:"serif mt-6",style:{fontSize:"var(--fs-h3)",fontWeight:300,letterSpacing:"0.04em"},children:m.name}),m.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"text-muted mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)] font-light",children:m.chips.map(g=>n.jsxs("li",{children:[g.label," ",g.value]},g.label))}),(m.rows.length>0||m.images.length>1)&&n.jsxs("details",{className:"border-line mt-5 border-t",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center text-[length:var(--fs-sm)] font-light opacity-100 marker:content-none [&::-webkit-details-marker]:hidden",children:"자세히 보기"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[m.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:m.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right",children:g.value})]},g.label))}),m.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:m.images.slice(1).map(g=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},g.mediaId))})]})]})]},m.unitId))}),d.length>0&&n.jsx("dl",{className:"divide-line border-line mx-auto mt-16 max-w-2xl divide-y border-t",children:d.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-3 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:m.label}),n.jsx("dd",{className:"text-right",children:m.value})]},m.label))}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-14 flex flex-wrap items-center justify-center gap-4",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-opacity hover:opacity-100",children:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tabular-nums tracking-[0.08em] transition-opacity hover:opacity-100",children:s.place.phone})]})]})})}function _y(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsxs("section",{id:"units","data-oasi":!0,"aria-labelledby":"units-heading",className:"pt-[var(--oasi-gap)]",children:[n.jsx(pu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-20 lg:space-y-28",children:o.map(f=>n.jsxs("li",{children:[f.images[0]&&n.jsxs("figure",{className:"relative mx-auto w-full max-w-[34rem]",children:[n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"block h-[clamp(15rem,24vw,21rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:f.name})]}),n.jsx("h3",{className:"mt-8 text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:f.name}),f.chips.length>0&&n.jsx("p",{className:"text-muted mt-2 text-[length:var(--fs-xs)] leading-[1.9]",children:f.chips.map(d=>`${d.label} ${d.value}`).join(" · ")}),f.intro&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-xs)] leading-[1.9]",children:f.intro}),f.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-6 divide-y border-t text-[length:var(--fs-xs)]",children:f.rows.map(d=>n.jsxs("div",{className:"flex items-baseline justify-between gap-6 py-2.5",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right",children:d.value})]},d.label))}),f.images.length>1&&n.jsx("ul",{className:"mx-auto mt-6 grid w-full max-w-[34rem] grid-cols-2 gap-2",children:f.images.slice(1).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",className:"block aspect-[4/3] w-full object-cover"})},d.mediaId))}),(u||s.place.phone)&&n.jsxs("p",{className:"mt-6 flex flex-wrap items-center gap-x-8 text-[length:var(--fs-sm)]",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:s.place.phone})]})]},f.unitId))})]})}function Cy(){const s=te(),r=dt(s),o=hl(s);return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"w-full",style:{paddingBlock:"var(--section-space)",backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(gu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-16 sm:space-y-24",children:o.map(u=>n.jsxs("li",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"min-w-0 lg:col-span-7",children:[u.images[0]&&n.jsx("img",{src:u.images[0].url,alt:u.images[0].alt,loading:"lazy",decoding:"async",width:u.images[0].width,height:u.images[0].height,className:"block h-auto w-full"}),u.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2",children:u.images.slice(1).map(f=>n.jsx("li",{children:n.jsx("img",{src:f.url,alt:f.alt,loading:"lazy",decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})]}),n.jsxs("div",{className:"min-w-0 lg:col-span-5",children:[n.jsx("h3",{className:"serif min-w-0 break-keep font-extrabold",style:{fontSize:"var(--fs-h3)",letterSpacing:"0.02em",lineHeight:1.35},children:u.name}),u.chips.length>0&&n.jsx("dl",{className:"mt-4 space-y-1.5",children:u.chips.map(f=>n.jsxs("div",{className:"flex gap-3 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted w-20 shrink-0",children:f.label}),n.jsx("dd",{className:"min-w-0 font-medium",children:f.value})]},f.label))}),u.intro&&n.jsx("p",{className:"text-muted measure mt-5 text-[length:var(--fs-sm)]",style:{lineHeight:1.8},children:u.intro})]})]},u.unitId))})]})})}function ky(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading","data-pastel":"own",className:"w-full",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(xu,{id:"units",title:qe(s,r.path,`${r.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:gap-8",children:o.map((f,d)=>n.jsxs("li",{className:"flex flex-col overflow-hidden p-4 sm:p-5",style:{backgroundColor:d%2===0?"var(--pastel-1)":"var(--pastel-2)",borderRadius:"calc(var(--tpl-radius, 0.75rem) * 1.35)"},children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",style:{borderRadius:"var(--tpl-radius, 0.75rem)"},children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 px-1 pt-4",children:[n.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:n.jsx("h3",{className:"h3",style:{fontWeight:800},children:f.name})}),f.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:f.chips.map(m=>n.jsxs("li",{className:"inline-flex items-center gap-1 rounded-full px-3 py-1 text-[length:var(--fs-xs)]",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 70%, transparent)"},children:[n.jsx("span",{className:"opacity-100",children:m.label}),n.jsx("span",{className:"font-bold",children:m.value})]},m.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:f.intro})]}),(u||s.place.phone)&&n.jsxs("div",{className:"mt-4 flex gap-2 px-1",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-full text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:pt(u)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.place.phone}`,className:"tap flex items-center justify-center gap-1.5 rounded-full px-5 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 75%, transparent)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),(f.rows.length>0||f.images.length>1)&&n.jsxs("details",{className:"group mt-3 px-1",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsxs("span",{children:[f.name," 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsxs("div",{className:"space-y-4 pb-1",children:[f.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:f.rows.map(m=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"shrink-0 opacity-100",children:m.label}),n.jsx("dd",{className:"text-right font-bold",children:m.value})]},m.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(m=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",style:{borderRadius:"calc(var(--tpl-radius, 0.75rem) * 0.7)"},children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]})]})]},f.unitId))})]})})}function My(){const s=te(),r=hl(s),o=dt(s),u=Ze(s)[0];return r.length===0?null:n.jsxs("section",{id:"units","aria-labelledby":"units-heading",className:"border-line w-full border-b",style:{backgroundColor:"var(--tpl-surface)",backgroundImage:Hs,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(du,{id:"units",title:qe(s,o.path,`${o.label} ${r.length}개 안내`)})}),r.map((f,d)=>n.jsx(Oy,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:s.place.phone},f.unitId))]})}function Oy({unit:s,no:r,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs}:void 0,children:n.jsxs("div",{className:"shell grid grid-cols-12 gap-y-6 py-10 xl:gap-x-10 xl:py-16",children:[n.jsxs("div",{className:"col-span-12 xl:col-span-5 xl:pr-8",children:[n.jsxs("div",{className:"relative",children:[n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute -top-1 left-0 select-none leading-none tabular-nums",style:{fontSize:"clamp(3rem, 8vw, 6rem)",fontWeight:800,opacity:.1},children:r}),n.jsx("h3",{className:"serif relative pt-7 xl:pt-12",style:{fontSize:"clamp(1.5rem, 3vw, 2.25rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-0.02em"},children:s.name})]}),s.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed opacity-100",children:s.intro}),s.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:s.rows.map(d=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-6 border-b py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right font-semibold",children:d.value})]},d.label))}),(u||f)&&n.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:pt(u)}),f&&n.jsx("a",{href:`tel:${f}`,className:"tap inline-flex items-center underline underline-offset-4",children:f})]})]}),n.jsxs("div",{className:"col-span-12 xl:col-span-7 xl:-ml-10",children:[s.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:s.images[0].url,alt:s.images[0].alt,loading:"lazy",decoding:"async",width:s.images[0].width,height:s.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),s.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:s.images[1].url,alt:s.images[1].alt,loading:"lazy",decoding:"async",width:s.images[1].width,height:s.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),s.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:s.images.slice(2).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"w-full object-cover",style:{aspectRatio:"3 / 2"}})},d.mediaId))})]})})}function Go(){var m;const s=te(),r=dt(s),o=gr();if(o==="reservation")return n.jsx(Ay,{});if(o==="oasi")return n.jsx(_y,{});if(o==="studio")return n.jsx(Cy,{});if(o==="pastel")return n.jsx(ky,{});if(o==="editorial")return n.jsx(My,{});const u=(m=s.theme.sections.find(g=>g.id===r.path))==null?void 0:m.variantId;if(u==="rooms.bands")return n.jsx(zy,{});if(u==="rooms.tabs")return n.jsx(Ty,{});const f=hl(s);if(f.length===0)return null;const d=f.length===1?"grid-cols-1":f.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 xl:grid-cols-3";return n.jsx(gt,{id:"units",title:qe(s,r.path,`${r.label} ${f.length}개 안내`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(g=>n.jsxs(Eu,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[g.images.length>0&&n.jsx(Dy,{images:g.images,name:g.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:g.name}),g.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:g.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),g.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:g.intro})]})]}),g.rows.length>0&&n.jsxs("details",{className:"group border-line border-t",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[g.name," 자세히"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:g.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:g.rows.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.label))})})]})]},g.unitId))})})}function Dy({images:s,name:r}){const o=U.useRef(null),[u,f]=U.useState(0),d=U.useCallback(()=>{const g=o.current;!g||g.clientWidth===0||f(Math.round(g.scrollLeft/g.clientWidth))},[]),m=U.useCallback(g=>{const x=o.current;if(!x)return;const p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;x.scrollBy({left:g*x.clientWidth,behavior:p?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${r} 사진`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:s.map(g=>n.jsx("li",{className:"w-full shrink-0 snap-center",children:n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},g.mediaId))}),s.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(tp,{dir:"prev",show:u>0,onClick:()=>m(-1)}),n.jsx(tp,{dir:"next",show:um(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-2.5 right-2.5 rounded-full bg-black/55 px-2 py-0.5 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white",children:[Math.min(u+1,s.length)," / ",s.length]})]})]})}function tp({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function Ry(){const s=te(),r=Ze(s),o=Pv(s),u=s.place.phone;return r.length===0&&o.length===0&&!u?null:n.jsx(gt,{id:"booking",tone:"alt",title:qe(s,"booking","예약 안내"),lead:`${s.place.name} 예약은 아래 경로로 받습니다.`,children:n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[o.length>0&&n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5 lg:col-span-7",children:o.map(f=>n.jsx(Qp,{label:f.label,value:f.value},f.label))}),n.jsx("div",{className:o.length>0?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:o.length>0?"flex flex-col gap-2.5 sm:flex-row sm:flex-wrap lg:flex-col":"flex flex-col items-start gap-2.5 sm:flex-row sm:flex-wrap",children:[u&&n.jsxs(Ih,{href:`tel:${u}`,icon:n.jsx(Ct,{className:"size-4"}),children:["전화 예약 ",u]}),r.map(f=>n.jsx(Ih,{href:f.url,variant:"outline",external:!0,children:Dp(f)},f.url))]})})]})})}const lp=["일","월","화","수","목","금","토"],ap=2;function np(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function Uy(s,r,o){const u=new Date(s,r,1),f=new Date(s,r+1,0).getDate(),d=np(o),m=Array.from({length:u.getDay()},()=>null);for(let g=1;g<=f;g+=1){const x=new Date(s,r,g),p=np(x);m.push({iso:p,day:g,weekday:x.getDay(),isWeekend:x.getDay()===0||x.getDay()===6,past:po+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function Hy(s){return cu(s.units).map(r=>{var u;const o=f=>{var m;const d=Number((m=_t(r.facts,f))==null?void 0:m.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:r.unitId,name:r.name,weekdayPrice:(u=kp(r))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function By(){var le;const s=te(),r=U.useMemo(()=>Hy(s),[s]),o=U.useMemo(()=>{var Z;return((Z=Tn(s.facts).find(ne=>ne.key==="check_in_time"))==null?void 0:Z.value)??void 0},[s]),u=U.useMemo(()=>Ly(o),[o]),[f,d]=U.useState(null),[m,g]=U.useState(0);U.useEffect(()=>d(new Date),[]);const x=U.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+m,1):null,[f,m]),p=U.useMemo(()=>f&&x?Uy(x.getFullYear(),x.getMonth(),f):[],[f,x]),[y,b]=U.useState(null),[j,T]=U.useState(null),[S,w]=U.useState(((le=r[0])==null?void 0:le.unitId)??null),[k,R]=U.useState(2),[V,Y]=U.useState(!1),X=p.find(Z=>Z!==null&&Z.iso===y)??null,G=r.find(Z=>Z.unitId===S)??null,J=(G==null?void 0:G.maxCapacity)??8,$=X&&G?X.isWeekend?G.weekendPrice??G.weekdayPrice:G.weekdayPrice:void 0,F=!!(y&&G&&(u.length===0||j));return U.useEffect(()=>{R(Z=>Math.min(Z,(G==null?void 0:G.maxCapacity)??8))},[G]),r.length===0?null:n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("div",{className:"border-b border-black/8 px-4 py-3 sm:px-5",children:n.jsxs("p",{className:"flex items-center gap-2 text-[length:var(--fs-xs)] font-bold",children:[n.jsx(U0,{className:"size-3.5 opacity-100"}),n.jsx("span",{children:"날짜 · 시간 선택"})]})}),f===null||x===null?n.jsx("p",{className:"px-4 py-6 text-[length:var(--fs-xs)] leading-relaxed opacity-100 sm:px-5",children:"날짜 선택은 브라우저에서 열립니다. 실제 예약 가능 여부와 결제는 아래 예약 창구에서 확인해 주세요."}):V?n.jsx(qy,{payload:s,onReset:()=>Y(!1),summary:[X?`${x.getMonth()+1}월 ${X.day}일(${lp[X.weekday]})`:null,j?`도착 ${j}`:null,(G==null?void 0:G.name)??null,`${k}명`].filter(Z=>!!Z).join(" · ")}):n.jsxs("div",{className:"space-y-5 p-4 sm:p-5",children:[n.jsxs("div",{children:[n.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-100",children:"날짜"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.max(0,Z-1)),disabled:m===0,"aria-label":"이전 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(da,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-[length:var(--fs-xs)] font-bold",children:[x.getFullYear(),"년 ",x.getMonth()+1,"월"]}),n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.min(ap,Z+1)),disabled:m>=ap,"aria-label":"다음 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(ma,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:lp.map((Z,ne)=>n.jsx("span",{className:"text-center text-[length:var(--fs-xs)] font-semibold",style:{opacity:ne===0||ne===6?.75:.45},children:Z},Z))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:p.map((Z,ne)=>Z===null?n.jsx("span",{"aria-hidden":!0},`pad-${ne}`):n.jsx("button",{type:"button",disabled:Z.past,onClick:()=>b(Z.iso),"aria-pressed":Z.iso===y,"aria-label":`${x.getMonth()+1}월 ${Z.day}일`,className:"flex h-9 items-center justify-center rounded-lg border text-[length:var(--fs-xs)] transition-colors disabled:cursor-not-allowed",style:{borderColor:Z.iso===y?"var(--color-brand)":"transparent",backgroundColor:Z.iso===y?"var(--color-brand)":"var(--color-surface-alt)",color:Z.iso===y?"#fff":void 0,opacity:Z.past?.25:1,fontWeight:Z.iso===y?700:400},children:Z.day},Z.iso))}),(X==null?void 0:X.isWeekend)&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-100",children:"주말 요금이 적용되는 날짜입니다."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[length:var(--fs-xs)] font-semibold opacity-100",children:[n.jsx(Q0,{className:"size-3"}),n.jsxs("span",{children:["도착 예정 시간 (체크인 ",o," 이후)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(Z=>{const ne=Z===j;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>T(Z),"aria-pressed":ne,className:"rounded-lg border px-3 py-1.5 text-[length:var(--fs-xs)] font-medium transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:ne?"var(--color-brand)":"var(--color-surface-alt)",color:ne?"#fff":void 0},children:Z})},Z)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] font-semibold opacity-100",children:"객실"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:r.map(Z=>{const ne=Z.unitId===S;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>w(Z.unitId),"aria-pressed":ne,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-[length:var(--fs-xs)] transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:Z.name}),Z.maxCapacity&&n.jsxs("span",{className:"shrink-0 opacity-100",children:["최대 ",Z.maxCapacity,"명"]})]})},Z.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold opacity-100",children:"인원"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.max(1,Z-1)),"aria-label":"인원 줄이기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(lv,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-[length:var(--fs-sm)] font-bold",children:[k,"명"]}),n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.min(J,Z+1)),"aria-label":"인원 늘리기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(cv,{className:"size-3.5"})})]})]}),n.jsxs("div",{className:"rounded-xl border border-black/8 p-3",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] opacity-100",children:X?`${x.getMonth()+1}월 ${X.day}일 · ${(G==null?void 0:G.name)??""} · ${k}명`:"날짜를 골라 주세요"}),$!=null&&n.jsxs("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:[$.toLocaleString("ko-KR"),"원"]})]}),$!=null&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-100",children:"1박 기준 안내 요금입니다. 인원 추가·성수기 요금은 예약 창구에서 확인됩니다."})]}),n.jsx("button",{type:"button",disabled:!F,onClick:()=>Y(!0),className:"w-full rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"예약 요청 확인하기"})]})]})}function qy({payload:s,summary:r,onReset:o}){const u=s.place.phone;return n.jsxs("div",{className:"space-y-4 p-4 sm:p-5",children:[n.jsxs("div",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"var(--color-brand)"},children:n.jsx(nu,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-[length:var(--fs-sm)] font-bold",children:"예약 내용 확인"}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] leading-relaxed opacity-100",children:r})]})]}),n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[u&&n.jsxs("a",{href:`tel:${u}`,className:"flex flex-1 items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화로 예약하기 ",u]})]}),n.jsxs("button",{type:"button",onClick:o,className:"flex items-center justify-center gap-1.5 rounded-xl border border-black/10 px-4 py-3 text-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",children:[n.jsx(uv,{className:"size-3.5"}),n.jsx("span",{children:"다시 고르기"})]})]})]})}function sp(){const s=te(),r=ob(s);if(!r)return null;const{offers:o,links:u,contacts:f,phone:d}=r;return n.jsx("section",{id:"booking","aria-labelledby":"booking-heading",className:"w-full border-b border-black/8 py-16 sm:py-24",style:{backgroundColor:"var(--color-surface-alt)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("p",{className:"mb-2 flex items-center gap-2 text-[length:var(--fs-xs)] font-semibold uppercase tracking-wider opacity-100",children:[n.jsx(D0,{className:"size-4"}),n.jsx("span",{children:"Reservation"})]}),n.jsx("h2",{id:"booking-heading",className:"serif mb-2 text-2xl font-bold tracking-tight sm:text-3xl lg:text-4xl",children:qe(s,"booking","예약 안내")}),n.jsx("p",{className:"mb-8 max-w-2xl text-[length:var(--fs-xs)] leading-relaxed opacity-100 sm:text-[length:var(--fs-sm)]",children:"빈 방 확인과 결제는 아래 예약 창구에서 진행됩니다. 이 페이지에서는 요금과 이용 조건만 안내합니다."}),n.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-5 lg:gap-6",children:[o.length>0&&n.jsxs("div",{className:"overflow-hidden rounded-2xl border border-black/8 lg:col-span-3",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-[length:var(--fs-xs)] font-bold sm:px-5",children:[n.jsx(M0,{className:"size-3.5 opacity-100"}),n.jsx("span",{children:"객실별 요금 · 인원"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(m=>n.jsxs("li",{className:"p-4 sm:p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[n.jsx("h3",{className:"serif text-base font-bold sm:text-lg",children:m.name}),m.baseRateText&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:m.baseRateText})]}),m.capacityText&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] opacity-100",children:m.capacityText}),m.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:m.rateRows.map(g=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-[length:var(--fs-xs)]",children:[n.jsx("dt",{className:"opacity-100",children:g.label}),n.jsx("dd",{className:"font-semibold",children:g.value})]},g.label))}),n.jsx("a",{href:m.href,className:"mt-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-100",children:n.jsx("span",{children:"사진 · 상세 보기"})})]},m.unitId))})]}),n.jsxs("div",{className:"flex h-fit flex-col gap-3 rounded-2xl border border-black/8 p-4 sm:p-5 lg:col-span-2",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-bold",children:"예약 창구"}),d&&n.jsxs("a",{href:`tel:${d}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["전화 예약 ",d]})]}),u.map(m=>n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-2 rounded-xl border border-black/10 px-4 py-3 text-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:Dp(m)}),n.jsx(zn,{className:"size-3.5 shrink-0"})]},m.url)),f.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] opacity-100",children:"문의"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:f.map(m=>n.jsx("li",{children:n.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-lg border border-black/10 px-2.5 py-1.5 text-[length:var(--fs-xs)] transition-colors hover:bg-black/5",children:[n.jsx("span",{children:pl(m)}),n.jsx(zn,{className:"size-3"})]})},m.url))})]}),u.length===0&&n.jsx("p",{className:"text-[length:var(--fs-xs)] leading-relaxed opacity-100",children:"온라인 예약 채널은 등록되지 않았습니다. 예약은 전화로 문의해 주세요."})]})]}),n.jsx(By,{})]})})}function Yy(){const s=te(),r=tb(s);return r.length===0?null:n.jsx(gt,{id:"space",title:qe(s,"space","공간 안내"),lead:"좌석과 이용 환경 안내입니다.",children:n.jsx("dl",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:r.map(o=>n.jsxs(Eu,{className:"p-4 sm:p-5",children:[n.jsx("dt",{className:"text-muted mb-1 text-[length:var(--fs-xs)] font-medium",children:o.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:o.value})]},o.label))})})}function Gy(){const s=te(),{place:r}=s,o=Cn(s);if(!r.phone&&!r.email&&o.length===0)return null;const u=[...r.phone?[{key:"phone",icon:Ct,label:"전화",value:r.phone,href:`tel:${r.phone}`}]:[],...r.email?[{key:"email",icon:Ep,label:"이메일",value:r.email,href:`mailto:${r.email}`}]:[],...o.map(f=>({key:f.url,icon:su,label:pl(f),value:"바로 가기",href:f.url,external:!0}))];return n.jsx(gt,{id:"inquiry",title:qe(s,"inquiry","문의 안내"),lead:`궁금한 점은 아래로 연락 주시면 ${r.name}에서 직접 안내해 드립니다.`,children:n.jsx("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 lg:gap-4",children:u.map(f=>{const d=f.icon,m="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...m?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(d,{className:"size-5 shrink-0 opacity-40"}),n.jsxs("span",{className:"min-w-0",children:[n.jsx("span",{className:"text-muted block text-[length:var(--fs-xs)] font-medium",children:f.label}),n.jsx("span",{className:"block break-all text-[length:var(--fs-sm)] font-semibold",children:f.value})]})]}),m&&n.jsx(zn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function $y(){const s=te(),r=ab(s);return r.length===0?null:n.jsx(gt,{id:"exhibition",tone:"alt",title:qe(s,"exhibition","관람 안내"),lead:"방문 전 관람 조건을 확인해 주세요.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:r.map(o=>n.jsx(Qp,{label:o.label,value:o.value},o.label))})})}function Qy(){const[s,r]=U.useState([]);return U.useEffect(()=>r(Hv()),[]),s}const Xy=["봄","여름","가을","겨울"];function Vy(){const s=te(),r=s.local.festivals,o=Qy(),[u,f]=U.useState(null);if(r.length===0)return null;const d=Xy.filter(b=>r.some(j=>j.season===b)),m=r.filter(b=>{var j;return!((j=b.season)!=null&&j.trim())}),g=[...o].reverse().find(b=>d.includes(b)),x="전체",p=u??g??null,y=p===x;return n.jsxs(gt,{id:"festival",title:"계절별 축제",lead:`${s.place.addressLocality??"이 지역"}의 축제와 행사를 계절로 묶었습니다.`,aside:p&&!y?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["지금은 ",p," 축제입니다"]}):void 0,footnote:n.jsx(n.Fragment,{children:"한국관광공사 TourAPI 기준. 일정은 주최 측 사정으로 바뀔 수 있습니다."}),children:[d.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"계절",children:[...d,x].map(b=>{const j=p===b;return n.jsx("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>f(b),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:b},b)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(b=>{const j=r.filter(T=>T.season===b);return n.jsxs("div",{hidden:!y&&p!==null&&p!==b,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:b}),n.jsx(ip,{items:j,label:`${b} 축제`,remount:p})]},b)}),m.length>0&&n.jsxs("div",{children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:"계절 없이 열리는 행사"}),n.jsx(ip,{items:m,label:"계절 없이 열리는 행사"})]})]})]})}function ip({items:s,label:r,remount:o}){return n.jsx(vr,{label:r,children:s.map(u=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:kb(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[u.imageUrl?n.jsx("img",{src:u.imageUrl,alt:`${u.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:u.name}),n.jsx("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:u.month})]}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:u.name}),u.period&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-medium opacity-100",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx($s,{className:"mt-0.5 size-3 shrink-0 opacity-100"}),n.jsx("span",{children:u.location})]}),u.description&&n.jsx("span",{className:"text-muted line-clamp-3 pt-0.5 text-[length:var(--fs-xs)] leading-relaxed",children:u.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-100 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const Rs=80,rp=[{id:"all",label:"전체",test:()=>!0},{id:"w5",label:"걸어서 5분 이내",test:s=>s<=5*Rs},{id:"w10",label:"걸어서 10분 이내",test:s=>s<=10*Rs},{id:"far",label:"걸어서 10분 이상",test:s=>s>10*Rs}];function $o(s){if(Number.isFinite(s))return`도보 약 ${Math.max(1,Math.round(s/Rs))}분`}function Zy(s){const r=/^([\d.]+)\s*(km|m)$/i.exec((s??"").trim());return r?Number(r[1])*(r[2].toLowerCase()==="km"?1e3:1):1/0}function En(s){return s.distanceMeters!=null?Number.isFinite(s.distanceMeters)&&s.distanceMeters>=0?s.distanceMeters:1/0:Zy(s.distanceText)}function Ky(){const s=te(),{local:r}=s,o=r.restaurants.filter(b=>b.imageUrl),u=o.length>0||r.attractions.length>0,[f,d]=U.useState("all");if(!u)return null;const m=[...o,...r.attractions],g=b=>m.filter(j=>b.test(En(j))).length,x=rp.filter((b,j)=>j===0||g(b)>0&&g(b)b.id===f)??rp[0],y=b=>p.test(En(b));return n.jsxs(gt,{id:"guide",tone:"alt",title:"주변 안내",lead:`${s.place.addressLocality??"주변"} 지역의 맛집 · 명소 안내입니다.`,aside:r.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[Lp(r.syncedAt)," 갱신"]}):void 0,footnote:n.jsxs(n.Fragment,{children:["도보 시간은 숙소에서 잰 직선거리를 분속 ",Rs,"m 로 환산한 값입니다. 실제로 걷는 길은 이보다 깁니다."]}),children:[x.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"거리",children:x.map(b=>{const j=b.id===f,T=g(b);return n.jsxs("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>d(b.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[b.label," ",n.jsx("span",{className:"tabular-nums opacity-100",children:T})]},b.id)})}),n.jsxs("div",{className:"space-y-10",children:[o.length>0&&n.jsx(cp,{title:"주변 맛집",icon:dv,places:o,within:y}),r.attractions.length>0&&n.jsx(cp,{title:"주변 명소",icon:$s,places:r.attractions,within:y})]})]})}function Jy({icon:s,children:r}){return n.jsxs("h3",{className:"border-line mb-4 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(s,{className:"size-4 opacity-100"}),n.jsx("span",{children:r})]})}function cp({title:s,icon:r,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(Jy,{icon:r,children:s}),n.jsx(vr,{label:s,children:f.map(d=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Xh(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-100",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[d.imageUrl?n.jsx("img",{src:d.imageUrl,alt:`${d.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:d.name}),(Number.isFinite(En(d))||d.distanceText)&&n.jsxs("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:[$o(En(d))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal opacity-100",children:d.distanceText})]})]}),n.jsxs("span",{className:"flex flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:d.name}),d.location&&n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)] break-words",children:d.location}),d.description&&n.jsx("span",{className:"text-muted line-clamp-3 text-[length:var(--fs-xs)] leading-relaxed",children:d.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-100 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},d.name))},f.length),n.jsx("ul",{hidden:!0,children:o.filter(d=>!u(d)).map(d=>n.jsxs("li",{children:[n.jsx("a",{href:Xh(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,$o(En(d))&&` · ${$o(En(d))}`]}),d.description&&n.jsx("p",{children:d.description}),d.location&&n.jsx("p",{children:d.location})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 거리 안에는 없습니다."})]})}function Wy(s){return s===0?"맑음":s>=1&&s<=2?"구름많음":s===3?"흐림":s===45||s===48?"안개":s>=51&&s<=57?"이슬비":s>=61&&s<=67?"비":s>=71&&s<=77||s===85||s===86?"눈":s>=80&&s<=82?"소나기":s>=95&&s<=99?"뇌우":"흐림"}function Fy({initial:s,regionCode:r,latitude:o,longitude:u}){const[f,d]=U.useState(s);return U.useEffect(()=>{if(!r||o==null||u==null)return;const m=new AbortController;async function g(){var p;try{const y=new URLSearchParams({region_code:r,latitude:String(o),longitude:String(u)}),b=await fetch(`/v1/local/weather?${y}`,{signal:m.signal});if(!b.ok)return;const j=await b.json();if(!((p=j==null?void 0:j.result)!=null&&p.success)||!j.weather)return;d(T=>({temperature:Number(j.weather.temperature),condition:Wy(Number(j.weather.weather_code)),note:T==null?void 0:T.note,observedAt:j.weather.observed_at,stale:!!j.stale}))}catch{}}g();const x=window.setInterval(()=>void g(),600*1e3);return()=>{m.abort(),window.clearInterval(x)}},[o,u,r]),f}function op(s,r){const[o,u]=U.useState();return U.useEffect(()=>{if(!(s!=null&&s.length))return;let f=[],d=-1;const m=()=>{f.length||(f=s.map((j,T)=>T));const p=f.filter(j=>j!==d),y=p.length?p:f,b=y[Math.floor(Math.random()*y.length)];f=f.filter(j=>j!==b),d=b,u({lines:s,index:b})},g=window.setTimeout(m,0),x=window.setInterval(m,2e4);return()=>{window.clearTimeout(g),window.clearInterval(x)}},[s]),(s==null?void 0:s[(o==null?void 0:o.lines)===s?o.index:0])??r}function Iy(s){const r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(s??"");if(!r)return;const[,,o,u,f,d]=r;return`${Number(o)}월 ${Number(u)}일 ${f}:${d} 관측`}function Py(){var p,y,b,j;const s=te(),r=Fy({initial:s.local.weather,regionCode:s.place.regionCode,latitude:s.place.latitude,longitude:s.place.longitude}),o=Vv((r==null?void 0:r.condition)??""),u=Zv((r==null?void 0:r.temperature)??0),f=s.local.weather,d=(r==null?void 0:r.condition)==="구름많음"?"구름많음":o,m=op((p=f==null?void 0:f.noteSets)==null?void 0:p[d],((y=f==null?void 0:f.notes)==null?void 0:y[o])??(r==null?void 0:r.note)),g=op((b=f==null?void 0:f.tempNoteSets)==null?void 0:b[u],(j=f==null?void 0:f.tempNotes)==null?void 0:j[u]);if(!r)return null;const x=Iy(r.observedAt);return n.jsx(gt,{id:"weather",tone:"alt",title:"오늘의 날씨",children:n.jsxs(Eu,{className:"relative overflow-hidden",children:[n.jsx("div",{className:"w4-sky","data-mood":o,"aria-hidden":!0}),n.jsxs("div",{className:"relative flex flex-col gap-5 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[n.jsxs("p",{className:"flex items-baseline gap-2.5",children:[n.jsx("span",{className:"serif tabular-nums leading-none",style:{fontSize:"var(--fs-display)"},children:Math.round(r.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] opacity-100",children:"°C"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:r.condition})]}),x&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[x,r.stale&&" · 최근 관측값"]})]}),m&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose opacity-100",children:m}),g&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:[n.jsx("span",{className:"border-line mt-0.5 shrink-0 rounded-full border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold","aria-hidden":!0,children:u}),n.jsx("span",{children:g})]})]})]})})}function e1(){const s=te(),r=fu(s),o=s.theme.sections.find(w=>w.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=U.useState(null),m=U.useRef(null),[g,x]=U.useState(0),[p,y]=U.useState({prev:!1,next:!0}),b=U.useCallback(()=>{const w=m.current;if(!w)return;const k=w.clientWidth,R=w.scrollWidth-k;x(k>0?Math.round(w.scrollLeft/k):0),y({prev:w.scrollLeft>8,next:w.scrollLeft(b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)),[b]),wu({box:m,interval:Su,advance:()=>Gp(m.current,1)});const j=U.useCallback(w=>{const k=m.current;if(!k)return;const R=window.matchMedia("(prefers-reduced-motion: reduce)").matches;k.scrollBy({left:w*k.clientWidth,behavior:R?"auto":"smooth"})},[]),T=U.useCallback(()=>d(null),[]),S=U.useCallback(w=>d(k=>k===null?null:(k+w+r.length)%r.length),[r.length]);return U.useEffect(()=>{if(f===null)return;const w=R=>{R.key==="Escape"&&T(),R.key==="ArrowLeft"&&S(-1),R.key==="ArrowRight"&&S(1)},k=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",w),()=>{document.body.style.overflow=k,window.removeEventListener("keydown",w)}},[f,T,S]),r.length===0?null:n.jsxs(gt,{id:"gallery",title:(o==null?void 0:o.name)||"공간 갤러리",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:m,onScroll:b,className:"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] lg:grid lg:grid-cols-4 lg:gap-3 lg:snap-none lg:overflow-visible [&::-webkit-scrollbar]:hidden",children:r.map((w,k)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-4/3 rounded-lg"})},w.mediaId))}),r.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(up,{dir:"prev",show:p.prev,onClick:()=>j(-1)}),n.jsx(up,{dir:"next",show:p.next,onClick:()=>j(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-full bg-black/55 px-2.5 py-1 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white lg:hidden",children:[Math.min(g+1,r.length)," / ",r.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:r.map((w,k)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"rounded-lg",free:!0})},w.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:r.map((w,k)=>n.jsx("li",{children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-square rounded-lg"})},w.mediaId))}),f!==null&&n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"사진 크게 보기",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/92 p-4 backdrop-blur-md",onClick:T,children:[n.jsx("button",{type:"button",onClick:T,"aria-label":"닫기",className:"tap absolute right-3 top-3 z-10 flex items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 sm:right-5 sm:top-5",children:n.jsx(iu,{className:"size-6"})}),n.jsx(fp,{dir:"prev",onClick:()=>S(-1)}),n.jsx(fp,{dir:"next",onClick:()=>S(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:w=>w.stopPropagation(),children:[n.jsx("img",{src:r[f].url,alt:r[f].alt,className:"max-h-[72vh] w-auto max-w-full rounded-lg object-contain"}),n.jsxs("figcaption",{className:"text-center text-[length:var(--fs-xs)] text-white/70",children:[r[f].caption??r[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",r.length]})]})]})]})]})}function up({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"이전 사진":"다음 사진","aria-hidden":!r,tabIndex:r?0:-1,className:`absolute top-1/2 z-10 flex size-9 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 lg:hidden ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function fp({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),r()},"aria-label":s==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 ${s==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function Qo({image:s,onOpen:r,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:r,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${s.alt} 크게 보기`,children:n.jsx("img",{src:s.url,alt:s.alt,loading:"lazy",decoding:"async",width:s.width,height:s.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function dp(){const s=te(),{place:r,routes:o}=s,[u,f]=U.useState(!1),d=r.roadAddress??r.address;if(!d)return null;const{latitude:m,longitude:g}=r,x=m!=null&&g!=null,p=Ub(r.name,m,g),y=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(gt,{id:"location",title:"오시는 길",lead:"주소와 주요 거점까지의 이동 시간을 안내합니다.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[x&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${r.name} 위치 지도`,src:Rb(m,g),loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"block aspect-4/3 w-full border-0 sm:aspect-video lg:aspect-auto lg:h-full lg:min-h-[24rem]"})}),n.jsx("div",{className:x?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:"panel p-5 sm:p-6",children:[n.jsx("p",{className:"label mb-2",children:"주소"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[n.jsx("address",{className:"text-[length:var(--fs-lead)] font-bold not-italic",children:d}),n.jsxs("button",{type:"button",onClick:y,title:"주소 복사",className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/8 px-2.5 py-1.5 text-[length:var(--fs-xs)] font-medium transition-opacity hover:opacity-100",children:[u?n.jsx(nu,{className:"size-3.5"}):n.jsx(V0,{className:"size-3.5"}),n.jsx("span",{children:u?"복사완료":"복사"})]})]}),r.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["문의:"," ",n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:Hp(r.name,m,g),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#03C75A] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"네이버 길찾기"})]}),n.jsxs("a",{href:Ob(r.name,m,g),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#FEE500] px-4 text-[length:var(--fs-sm)] font-bold text-[#191600] transition-opacity hover:opacity-100",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"카카오 길찾기"})]}),p&&n.jsxs("a",{href:p,className:"tap only-touch flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#0064FF] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-100",children:[n.jsx(qo,{className:"size-4"}),n.jsx("span",{children:"티맵 길찾기"})]})]})]})})]}),o.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(H0,{className:"size-4 opacity-100"}),n.jsx("span",{children:"주요 거점 소요시간"})]}),n.jsx("div",{className:"panel overflow-hidden",children:n.jsx("div",{className:"slider-viewport",children:n.jsxs("table",{className:"w-full min-w-[34rem] text-left text-[length:var(--fs-sm)]",children:[n.jsxs("caption",{className:"sr-only",children:[s.place.name,"에서 주요 거점까지의 이동 시간"]}),n.jsx("thead",{className:"panel-sunken border-line border-b font-semibold",children:n.jsxs("tr",{children:[n.jsx("th",{scope:"col",className:"p-4",children:"목적지"}),n.jsx("th",{scope:"col",className:"p-4",children:"차량"}),n.jsx("th",{scope:"col",className:"p-4",children:"도보 / 대중교통"}),n.jsx("th",{scope:"col",className:"p-4",children:"거리"}),n.jsx("th",{scope:"col",className:"hidden p-4 md:table-cell",children:"비고"})]})}),n.jsx("tbody",{className:"divide-line divide-y",children:o.map(b=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:b.destination}),n.jsx("td",{className:"p-4 font-semibold",children:b.byCar??"—"}),n.jsx("td",{className:"p-4 opacity-100",children:b.byTransit??"—"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:b.distanceText??"—"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:b.note??""})]},b.destination))})]})})})]})]})}function t1(){const s=te(),r=Kv(s);if(r.length===0)return null;const o=r.some(u=>u.sourceType===Sv.TEMPLATE);return n.jsx(gt,{id:"faq",tone:"alt",title:"자주 묻는 질문",lead:o?void 0:"아래 답변은 모두 사업자가 확인한 내용입니다.",children:n.jsx("div",{className:r.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:r.map(u=>n.jsxs("details",{className:"panel group h-fit overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-3 px-5 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"serif text-muted shrink-0",children:"Q."}),n.jsx("span",{className:"flex-1",children:u.question}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line border-t px-5 pb-5 pt-4 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:u.answer})]},u.faqId))})})}function Xp(){var d,m,g,x;const s=te(),{place:r,site:o}=s,u=qv(s),f=r.roadAddress??r.address;return n.jsx("footer",{className:"w-full pb-28 pt-14 md:pb-14",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid grid-cols-1 gap-8 border-b border-current/15 pb-10 md:grid-cols-12",children:[n.jsxs("div",{className:"space-y-4 md:col-span-7",children:[n.jsx("p",{className:"serif text-[length:var(--fs-lead)] font-bold",children:r.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] opacity-100",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx($s,{className:"mt-1 size-4 shrink-0 opacity-100"}),n.jsx("span",{children:f})]}),r.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ct,{className:"size-4 shrink-0 opacity-100"}),n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),r.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ep,{className:"size-4 shrink-0 opacity-100"}),n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-2 hover:underline",children:r.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"공식 채널",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current opacity-100",children:"공식 채널"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-lg border border-current/25 px-3 py-2 text-[length:var(--fs-xs)] font-medium transition-colors hover:bg-current/10",children:[n.jsx("span",{children:pl(p)}),n.jsx(K0,{className:"size-3.5"})]})},p.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] opacity-100 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",r.name]}),((d=r.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["대표: ",r.legal.representative]}),((m=r.legal)==null?void 0:m.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",r.legal.businessRegistrationNumber]}),((g=r.legal)==null?void 0:g.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",r.legal.mailOrderNumber]}),((x=r.legal)==null?void 0:x.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호",": ",r.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]}),n.jsxs("p",{className:"pt-3 text-[length:var(--fs-xs)] opacity-100",children:[n.jsx("a",{href:"https://www.o2osolution.ai/",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 hover:underline",children:"AI O2O"}),"의 Web4Ai로 만든 사이트입니다."]})]})})}function kn(){const s=te(),r=s.place.phone,u=Ze(s)[0],f=s.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!r&&!u&&!f?null:n.jsxs("nav",{"aria-label":"연락 · 예약",className:"border-line safe-b fixed inset-x-0 bottom-0 z-50 flex items-stretch gap-2 border-t px-3 pt-2 backdrop-blur-md lg:hidden",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 94%, transparent)"},children:[n.jsxs("a",{href:"#location",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":"오시는 길",children:[n.jsx($s,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"위치"})]}),f&&n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[length:var(--fs-xs)] font-medium","aria-label":pl(f),children:[n.jsx(su,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"문의"})]}),r&&n.jsxs("a",{href:`tel:${r}`,className:"tap border-line flex flex-1 items-center justify-center gap-1.5 rounded-lg border text-[length:var(--fs-sm)] font-bold",children:[n.jsx(Ct,{className:"size-4"}),n.jsx("span",{children:"전화"})]}),u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex min-w-0 flex-[1.4] items-center justify-center truncate rounded-lg px-2 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:pt(u)})]})}const Jt="var(--tpl-card, #fafafa)",Te="var(--tpl-border, #d6d3d1)",We="color-mix(in oklab, var(--tpl-accent, #2563eb) 55%, currentColor)",Us="var(--tpl-inverse, #1c1917)",fa="var(--tpl-bg, #ffffff)",dl="var(--tpl-text, #09090b)";function l1({n:s}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[length:var(--fs-xs)] tabular-nums",style:{backgroundColor:We,color:fa},children:s})}function gl({id:s,name:r,subtitle:o,count:u,link:f,children:d,dark:m}){const g=gr(),x=g==="reservation"?hu:g==="oasi"?pu:g==="studio"?gu:g==="pastel"?xu:g==="editorial"?du:null,p=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 opacity-100 transition-opacity hover:opacity-100 hover:underline",children:[f.label," →"]}):void 0;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:m?Us:"var(--tpl-surface, #fafafa)",color:m?fa:dl,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[x?n.jsx(x,{id:s,title:r,lead:o,aside:p}):n.jsxs("header",{className:"mb-8 sm:mb-10",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-2",children:[n.jsx("h2",{id:`${s}-heading`,className:"h2",children:r}),p]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-100",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] opacity-100",children:u})]})})}function Mn({children:s,label:r,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(vr,{label:r,gap:1,arrows:o,onSelect:u,onReady:f,children:s})}function ml({source:s,verified:r,imageCredit:o}){return!(s!=null&&s.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[length:var(--fs-xs)] opacity-100",children:[(s==null?void 0:s.name)&&n.jsxs("span",{children:["출처 ·"," ",s.url?n.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:s.name}):s.name]}),o&&n.jsxs("span",{children:["사진 · ",o]})]})}function Gs(s,r,o){return`총 ${s}${o}`}const mp=["#d4551f","#1d3c74","#2a6053","#7a3b52","#a34a2a","#334b6d","#4f6b3a","#6b2f3a","#2b6b7a","#8a4b2a","#4a3f6b","#3a5a4a","#b5603a","#356b8a","#6b4a2a","#2f5b6b","#a3562a","#4a4a6b","#c8873a","#2f6b4f","#7a4a6b","#5a5a4a","#3f5f6b"];function hp(s){if(s.labelColor)return s.labelColor;const r=s.title??"";let o=0;for(let u=0;u>>0;return mp[o%mp.length]}function Vp(){const s=te(),r=al(s,"songs"),u=new Set(r.items.map(x=>{var p,y;return`${((p=x.source)==null?void 0:p.name)??""}|${((y=x.source)==null?void 0:y.url)??""}`})).size===1&&r.items.length>1,[f,d]=U.useState(0);if(r.items.length===0)return null;const m=r.items[f]??r.items[0],g=x=>[x.artist,x.year?String(x.year):void 0,x.lyricist||x.composer?`작사 ${x.lyricist??"미상"} / 작곡 ${x.composer??"미상"}`:void 0,x.label].filter(Boolean).join(" · ");return n.jsxs(gl,{id:"songs",name:r.title||qe(s,"songs","가요 다방"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"곡"),children:[n.jsxs("div",{className:"tpl-border grid items-center gap-8 border p-6 sm:p-8 md:grid-cols-[240px_minmax(0,1fr)]",style:{backgroundColor:Us,color:fa,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsxs("div",{className:"relative mx-auto size-[220px]",children:[n.jsx("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 16%, transparent)"}}),n.jsx("div",{className:"w4-disc w4-spin absolute inset-2 rounded-full",style:{"--lbl":hp(m),"--w4-vinyl":Us},children:n.jsx("span",{className:"absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 30%, transparent)"}})}),n.jsxs("div",{"aria-hidden":!0,className:"absolute -right-1 top-3 h-2 w-[110px] origin-right rotate-6",children:[n.jsx("span",{className:"absolute inset-y-[3px] left-0 right-4 rounded-sm",style:{backgroundColor:"color-mix(in oklab, currentColor 65%, transparent)"}}),n.jsx("span",{className:"absolute -top-2 right-0 size-6 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 55%, transparent)"}})]})]}),n.jsx("div",{className:"min-w-0",children:r.items.map((x,p)=>n.jsxs("div",{hidden:p!==f,className:"space-y-3",children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.24em]",style:{color:We},children:["A면 · ",p+1," / ",r.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:x.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:g(x)}),x.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:x.story}),x.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:We},children:x.connection}),n.jsxs("a",{href:Mb(`${x.title} ${x.artist??""}`.trim()),target:"_blank",rel:"noopener noreferrer nofollow",className:"inline-flex items-center gap-1.5 text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",style:{color:We},children:[n.jsx(pv,{className:"size-4"}),n.jsx("span",{children:"유튜브에서 듣기"})]}),!u&&n.jsx(ml,{source:x.source,verified:x.verified})]},`disc-${x.title}-${p}`))})]}),r.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:r.items.map((x,p)=>n.jsxs("button",{type:"button",onClick:()=>d(p),"aria-pressed":p===f,className:"w-24 text-center",children:[n.jsx("span",{className:"w4-disc-mini mx-auto block size-[76px] rounded-full transition-transform hover:scale-105",style:{"--lbl":hp(x),"--w4-vinyl":Us,boxShadow:p===f?`0 0 0 2px ${We}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[length:var(--fs-xs)] leading-tight opacity-100",children:x.title})]},`${x.title}-${p}`))}),n.jsxs("div",{className:"mt-6 flex flex-col items-center gap-2 text-center",children:[n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[length:var(--fs-xs)] tracking-[0.1em]",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"◎ 가사 대신 이야기 — 원문은 싣지 않습니다"}),u&&r.items[0]&&n.jsx(ml,{source:r.items[0].source,verified:r.items[0].verified})]})]})}function a1(){const s=te(),r=al(s,"daily"),[o,u]=U.useState();if(U.useEffect(()=>{const x=new Date;u(`${String(x.getMonth()+1).padStart(2,"0")}-${String(x.getDate()).padStart(2,"0")}`)},[]),r.items.length===0)return null;const f=[...r.items].sort((x,p)=>x.monthDay.localeCompare(p.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const x=f.findIndex(y=>y.monthDay===o);if(x>=0)return x;const p=f.findIndex(y=>y.monthDay>o);return p>=0?p:0})()),m=x=>f[(d+x+f.length)%f.length],g=f.length===1?[m(0)]:f.length===2?[m(0),m(1)]:[m(-1),m(0),m(1)];return n.jsx(gl,{id:"daily",name:r.title||qe(s,"daily","오늘의 한 장"),subtitle:r.subtitle,count:Gs(f.length,r.unverified,"장"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((x,p)=>{const y=g.indexOf(x);return n.jsx(n1,{page:x,hidden:y<0,isToday:g.length===1||y===1,muted:g.length>1&&y!==1},`${x.monthDay}-${p}`)})})})}function n1({page:s,isToday:r,muted:o,hidden:u}){const[f,d]=s.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] opacity-100 sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:Jt,borderColor:r?We:Te,boxShadow:r?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":r?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":Jt,borderColor:Te}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Te},children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.2em] opacity-100",children:[f,"月"]}),n.jsx("p",{className:`serif mt-1 font-bold leading-none ${o?"text-4xl":"text-6xl"}`,style:{color:We},children:String(Number(d)||d)}),r&&n.jsx("p",{className:"mt-1.5 text-[length:var(--fs-xs)] tracking-[0.3em]",style:{color:We},children:"오늘"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[s.category&&n.jsx("p",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-100",children:s.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:s.title}),!o&&s.body&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:s.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})]})}function Zp(){const s=te(),r=al(s,"people");return r.items.length===0?null:n.jsx(gl,{id:"people",name:r.title||qe(s,"people","인물 열전"),subtitle:r.subtitle,count:r.items.some(o=>!o.imageUrl)?`${Gs(r.items.length,r.unverified,"명")} · 사진이 없는 인물은 이름 활자로 대신합니다`:Gs(r.items.length,r.unverified,"명"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Us,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 opacity-100"}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Mn,{label:"인물 목록",arrows:"overlay",children:r.items.map((o,u)=>n.jsxs("article",{className:"w-[210px] shrink-0 snap-center",children:[o.imageUrl?n.jsx("img",{src:o.imageUrl,alt:`${o.name} 사진`,loading:"lazy",decoding:"async",className:"aspect-3/4 w-full border object-cover",style:{borderColor:"color-mix(in oklab, currentColor 28%, transparent)"}}):n.jsx("span",{className:"serif grid aspect-3/4 w-full place-items-center border text-5xl",style:{backgroundColor:"color-mix(in oklab, currentColor 14%, transparent)",borderColor:"color-mix(in oklab, currentColor 28%, transparent)"},"aria-hidden":!0,children:o.name.trim().charAt(0)}),n.jsxs("h3",{className:"serif mt-3 text-base font-bold",children:[o.name,o.aka&&n.jsxs("span",{className:"ml-1.5 text-[length:var(--fs-xs)] opacity-100",children:["호 ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] opacity-100",children:[o.role,o.years].filter(Boolean).join(" · ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(ml,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 opacity-100"})]})})}function Kp(){const s=te(),r=al(s,"chronicle");if(r.items.length===0)return null;const o=[...r.items].sort((f,d)=>f.year==null?d.year==null?0:1:d.year==null?-1:f.year-d.year),u=o.filter(f=>f.turning===!0).length;return n.jsx(gl,{id:"chronicle",name:r.title||qe(s,"chronicle","시간의 골목"),subtitle:r.subtitle,count:`붉은 점은 도시의 성격이 바뀐 해입니다 · ${u}개 / 전체 ${o.length}개`,children:n.jsx(Mn,{label:"연표",children:o.map((f,d)=>{const m=f.turning===!0;return n.jsxs("article",{className:"w-[228px] shrink-0 snap-center",children:[n.jsx("p",{className:"serif text-3xl font-bold leading-none",style:{color:m?We:void 0},children:f.year??"연도 미상"}),n.jsxs("div",{className:"relative my-3 h-3",children:[n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 border-t",style:{borderColor:Te,right:d===o.length-1?"calc(100% - 12px)":0}}),n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 size-3 -translate-y-1/2 rounded-full border-2",style:{backgroundColor:m?We:Jt,borderColor:m?We:Te}})]}),n.jsxs("div",{className:"flex gap-2.5 pr-5",children:[f.imageUrl&&n.jsx("img",{src:f.imageUrl,alt:`${f.title} 사진`,loading:"lazy",decoding:"async",className:"size-14 shrink-0 border object-cover",style:{borderColor:Te}}),n.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[n.jsx("h3",{className:"serif text-base font-bold",children:f.title}),f.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:["지금 이 자리 · ",f.place]}),n.jsx(ml,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function Jp(){const s=te(),r=U.useMemo(()=>al(s,"reading"),[s]),o=r.items;if(o.length===0)return null;const u=s.place.addressLocality??"지역";return n.jsx(gl,{id:"reading",name:r.title||qe(s,"reading",`${u} 읽기`),subtitle:r.subtitle,children:n.jsx(Mn,{label:`${u} 읽기`,children:o.map((f,d)=>n.jsx("article",{className:"w-[86%] shrink-0 grow-0 sm:w-[min(600px,56%)]",children:n.jsxs("div",{className:"h-full border p-5",style:{backgroundColor:Jt,borderColor:Te},children:[f.group&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] font-bold tracking-[0.18em]",style:{color:We},children:[f.group,f.year!=null&&n.jsxs("span",{className:"font-normal opacity-100",children:[" · ",f.year]})]}),n.jsx("h3",{className:"serif mt-2 border-b-2 pb-2.5 text-xl leading-snug font-bold",style:{borderColor:"currentColor"},children:f.title}),n.jsx("p",{className:"mt-3 text-[length:var(--fs-body)] leading-[1.8] break-keep opacity-100",children:f.body}),n.jsx("div",{className:"mt-4 border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:f.source,verified:f.verified})})]})},`${f.title}-${d}`))})})}function Wp(){const s=te(),r=al(s,"postcard");return r.items.length===0?null:n.jsx(gl,{id:"postcard",name:r.title||qe(s,"postcard","오늘의 엽서"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"장"),children:n.jsx(Mn,{label:"엽서 목록",children:r.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[o.imageUrl&&n.jsx("img",{src:o.imageUrl,alt:`${o.place||o.postmark||"엽서"} 사진`,loading:"lazy",decoding:"async",className:"block aspect-3/2 w-full border object-cover",style:{borderColor:Te}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[length:var(--fs-xs)] leading-tight opacity-100",children:["사진 · ",o.imageCredit||"출처 표기 없음"]}),n.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-3",children:[n.jsxs("div",{className:"min-w-0 border-r pr-3",style:{borderColor:Te},children:[n.jsxs("p",{className:"serif text-[17px] leading-snug",children:["“",o.line,"”"]}),o.hashtags&&o.hashtags.length>0&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] opacity-100",children:o.hashtags.join(" ")})]}),n.jsxs("div",{className:"flex w-[62px] flex-col items-center gap-3",children:[n.jsxs("span",{className:"grid h-[56px] w-[44px] place-items-center border border-dashed text-center text-[length:var(--fs-xs)] leading-tight opacity-100",style:{borderColor:Te},children:["郵票",n.jsx("br",{}),"10원"]}),n.jsx("span",{className:"serif grid size-[54px] -rotate-6 place-items-center rounded-full border-2 px-1 text-center text-[length:var(--fs-xs)] leading-tight",style:{borderColor:We,color:We},children:o.postmark||o.place||"소인"})]})]}),n.jsx("div",{className:"mt-3 border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function s1(){const s=te(),r=al(s,"quiz"),[o,u]=U.useState(new Set);if(r.items.length===0)return null;const f=d=>u(m=>{const g=new Set(m);return g.has(d)?g.delete(d):g.add(d),g});return n.jsx(gl,{id:"quiz",name:r.title||qe(s,"quiz","뒤집어 보는 질문"),subtitle:r.subtitle,count:`정답은 두지 않습니다 — 힌트와 출처까지만 · 총 ${r.items.length}문항`,children:n.jsx(Mn,{label:"질문 목록",children:r.items.map((d,m)=>{const g=o.has(m);return n.jsx("button",{type:"button",onClick:()=>f(m),"aria-pressed":g,"aria-label":`${m+1}번 문제 ${g?"앞면 보기":"힌트 보기"}`,className:`w4-flip ${g?"w4-flip-on":""} h-[260px] w-[262px] shrink-0 text-left`,children:n.jsxs("span",{className:"w4-flip-inner block size-full",children:[n.jsxs("span",{className:"w4-flip-face w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:dl},children:[n.jsxs("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] opacity-100",children:["문제 ",m+1,d.level?` · ${d.level}`:""]}),n.jsx("span",{className:"serif text-[17px] font-bold leading-snug",children:d.question}),n.jsx("span",{className:"mt-auto text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:We},children:"눌러서 힌트 보기 →"})]}),n.jsxs("span",{className:"w4-flip-face w4-flip-back w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:Jt,borderColor:We},children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:We},children:"힌트"}),n.jsx("span",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:d.hint??"힌트가 아직 없습니다."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Te},children:[d.topic&&n.jsx("span",{className:"block text-[length:var(--fs-xs)] opacity-100",children:d.topic}),n.jsx(ml,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${m}`)})})})}const Ll=256,Ms=318,wn=168,pp=34,i1=16,gp=4;function Fp(s,r,o){const u=Ll*2**o,f=s*Math.PI/180;return{x:(r+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function r1(s){if(s.length<2)return 15;for(let r=i1;r>gp;r-=1){const o=s.map(d=>Fp(d.lat,d.lng,r)),u=Math.max(...o.map(d=>d.x))-Math.min(...o.map(d=>d.x)),f=Math.max(...o.map(d=>d.y))-Math.min(...o.map(d=>d.y));if(u<=Ms-pp*2&&f<=wn-pp*2)return r}return gp}function c1(s,r){const o=d=>d.latitude!=null&&d.longitude!=null?{name:d.searchQuery??d.name,lat:d.latitude,lng:d.longitude}:void 0,u=[];let f=r;return s.forEach((d,m)=>{const g=o(d);g&&(u.push({label:String(m+1),...g,stop:d,from:f&&!o1(f,g)?f:void 0}),f=g)}),u}function o1(s,r){return Math.abs(s.lat-r.lat)<1e-5&&Math.abs(s.lng-r.lng)<1e-5}function u1(s){const o=s.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-y.x,o[u].y-y.y)<27);if(!d)break;const m=o[u].x-d.x,g=o[u].y-d.y,x=Math.hypot(m,g)||1,p=(27-x)/x;o[u].x+=(m||1)*p,o[u].y+=g*p}return o}function f1(s){return s.from?Db(s.from,{name:s.stop.name,lat:s.lat,lng:s.lng}):Hp(s.stop.searchQuery??s.stop.name,s.lat,s.lng)}function d1({stops:s}){const{place:r}=te(),o=r.latitude!=null&&r.longitude!=null?{name:r.name,lat:r.latitude,lng:r.longitude}:void 0,u=s.filter(S=>S.latitude!=null&&S.longitude!=null);if(u.length===0||u.length===1&&s.length>1)return null;const f=c1(s,o),d=r1(f),m=u1(f.map(S=>Fp(S.lat,S.lng,d))),g=(Math.min(...m.map(S=>S.x))+Math.max(...m.map(S=>S.x)))/2,x=(Math.min(...m.map(S=>S.y))+Math.max(...m.map(S=>S.y)))/2,p=g-Ms/2,y=x-wn/2,b=2**d,j=[];for(let S=Math.floor(p/Ll);S<=Math.floor((p+Ms)/Ll);S+=1)for(let w=Math.floor(y/Ll);w<=Math.floor((y+wn)/Ll);w+=1){if(w<0||w>=b)continue;const k=(S%b+b)%b;j.push({key:`${S}-${w}`,url:`https://tile.openstreetmap.org/${d}/${k}/${w}.png`,left:S*Ll-p,top:w*Ll-y})}const T=m.map(S=>`${(S.x-p).toFixed(1)},${(S.y-y).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:wn,borderColor:Te,backgroundColor:"#e8e5df"},children:[j.map(S=>n.jsx("img",{src:S.url,alt:"",width:Ll,height:Ll,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:S.left,top:S.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},S.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:Ms,height:wn,viewBox:`0 0 ${Ms} ${wn}`,children:n.jsx("polyline",{points:T,fill:"none",stroke:We,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((S,w)=>{const k=m[w];return n.jsx("a",{href:f1(S),target:"_blank",rel:"noopener noreferrer",title:S.from?`${S.from.name} → ${S.stop.name} 길찾기`:`${S.stop.name} — 네이버 지도`,className:"absolute grid h-[22px] min-w-[22px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full px-1.5 text-[length:var(--fs-xs)] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:k.x-p,top:k.y-y,backgroundColor:We,color:fa,border:`1.5px solid ${fa}`},children:S.label},S.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[length:var(--fs-xs)] leading-tight text-stone-600",children:"© OpenStreetMap"})]})}function m1(s){const r=Math.floor(s/60),o=s%60;return[r>0?`${r}시간`:"",o>0?`${o}분`:""].filter(Boolean).join(" ")||"0분"}function Po(s){var r;return(r=s.days)!=null&&r.length?s.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:s.startTime,stops:s.stops??[]}]}function h1({item:s,badge:r,startTime:o,stops:u,first:f,placeName:d}){const m=Lv({name:s.name,startTime:o,stops:u});return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:Jt,borderColor:Te},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Te},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:f?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:r}),n.jsxs("span",{className:"text-[length:var(--fs-xs)] opacity-100",children:[m.from,"–",m.to," · ",m1(m.totalMinutes)]})]}),n.jsxs("div",{className:"space-y-1.5 px-4 pt-3.5",children:[n.jsx("h3",{className:"serif text-lg font-bold",children:s.name}),f&&s.audience&&n.jsx("p",{className:"text-[length:var(--fs-sm)] opacity-100",children:s.audience}),f&&s.why&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:s.why}),f&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] opacity-100",children:[d,"에서 출발 · ",m.from]})]}),n.jsx(d1,{stops:m.stops.map(g=>g.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:m.stops.map((g,x)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[length:var(--fs-sm)] tabular-nums opacity-100",children:g.time}),n.jsxs("div",{className:"border-l pb-5 pl-3",style:{borderColor:Te},children:[g.move>0&&n.jsxs("p",{className:"pt-1 text-[length:var(--fs-xs)] opacity-100",children:["↓ ",g.move,"분 이동"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[g.stop.imageUrl&&n.jsx("img",{src:g.stop.imageUrl,alt:`${g.stop.name} 사진`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Te}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-[length:var(--fs-sm)] font-bold",children:[n.jsx(l1,{n:x+1}),g.stop.name]}),g.stop.note&&n.jsx("span",{className:"mt-0.5 block text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:g.stop.note})]})]}),n.jsxs("p",{className:"mt-0.5 text-[length:var(--fs-xs)] opacity-100",children:[g.time,"–",g.until,g.stop.searchQuery&&` · 지도 검색 ${g.stop.searchQuery}`]})]})]},`${g.stop.name}-${x}`))}),n.jsx("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})}const Xo="그 밖의 일정";function p1(){var x;const s=te(),r=al(s,"itinerary"),u=(r.items.length>0?r.items:((x=s.local)==null?void 0:x.itineraries)??[]).filter(p=>Po(p).some(y=>y.stops.length>0)),f=[...new Set(u.map(p=>{var y;return((y=p.duration)==null?void 0:y.trim())||Xo}))],[d,m]=U.useState(null),g=d??f[0];return u.length===0?null:n.jsxs(gl,{id:"itinerary",name:r.title||qe(s,"itinerary","추천 일정"),subtitle:r.subtitle,count:"시각은 출발 시각과 머무는 시간으로 계산한 것입니다",children:[f.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"묵는 기간",children:f.map(p=>{const y=g===p;return n.jsxs("button",{type:"button",role:"tab","aria-selected":y,onClick:()=>m(p),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:y?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[p,n.jsx("span",{className:"ml-1.5 font-normal opacity-100",children:u.filter(b=>{var j;return(((j=b.duration)==null?void 0:j.trim())||Xo)===p}).length})]},p)})}),f.map(p=>n.jsx("div",{hidden:p!==g,children:n.jsx(g1,{tab:p,items:u.filter(y=>{var b;return(((b=y.duration)==null?void 0:b.trim())||Xo)===p}),placeName:s.place.name},g)},p))]})}function g1({tab:s,items:r,placeName:o}){const u=U.useMemo(()=>{let p=0;return r.map(y=>{const b=p;return p+=Po(y).length,{item:y,start:b}})},[r]),[f,d]=U.useState(0),m=U.useRef(null),g=U.useCallback(p=>{m.current=p},[]),x=u.reduce((p,y)=>y.start<=f?y.start:p,0);return n.jsxs(n.Fragment,{children:[u.length>1&&n.jsx("ul",{className:"border-line mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 border-b pb-3",children:u.map(({item:p,start:y})=>{const b=y===x;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var j;return(j=m.current)==null?void 0:j.scrollTo(y)},"aria-current":b,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${b?"font-bold underline":"opacity-100 hover:underline"}`,children:p.name})},`${p.name}-${y}`)})}),n.jsx(Mn,{label:`${s} 일정`,onSelect:d,onReady:g,children:u.flatMap(({item:p,start:y},b)=>Po(p).map((j,T)=>n.jsx(h1,{item:p,badge:j.label??p.duration??`${T+1}일차`,startTime:j.startTime,stops:j.stops,first:T===0,placeName:o},`${p.name}-${y}-${T}`)))})]})}function x1(){const s=te(),r=al(s,"video"),[o,u]=U.useState(),f=U.useRef(null),[d,m]=U.useState({prev:!1,next:!0}),g=U.useCallback(()=>{const y=f.current;if(!y)return;const b=y.scrollWidth-y.clientWidth;m({prev:y.scrollLeft>8,next:y.scrollLeft(g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)),[g]);const x=U.useCallback(y=>{const b=f.current;if(!b)return;const j=window.matchMedia("(prefers-reduced-motion: reduce)").matches;b.scrollBy({left:y*b.clientWidth*.85,behavior:j?"auto":"smooth"})},[]);if(wu({box:f,interval:Su,advance:()=>Gp(f.current)}),r.items.length===0)return null;const p=r.items.length>1;return n.jsx(gl,{id:"video",name:r.title||qe(s,"video","영상으로 보기"),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:g,className:p?"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2 [scrollbar-width:none] lg:grid lg:grid-cols-3 lg:gap-4 lg:snap-none lg:overflow-visible lg:pb-0 [&::-webkit-scrollbar]:hidden":"grid grid-cols-1 gap-4",children:r.items.map((y,b)=>{const j=Av(y.url),T=_v(y.url),S=o===b;return n.jsx("li",{className:p?"shrink-0 basis-[86%] snap-start sm:basis-[56%] lg:basis-auto":"",children:n.jsxs("figure",{className:"space-y-2",children:[n.jsx("div",{className:"tpl-border relative mx-auto overflow-hidden border",style:{borderColor:Te,backgroundColor:Jt,aspectRatio:T?"9 / 16":"16 / 9",width:T?"min(100%, 22rem)":"100%"},children:S&&j?n.jsx("iframe",{src:kv(j),title:y.caption||"영상",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full border-0"}):n.jsxs("a",{href:y.url,target:"_blank",rel:"noopener noreferrer",onClick:w=>{j&&(w.preventDefault(),u(b))},"aria-label":`${y.caption||"영상"} 재생`,className:"group block size-full",children:[j?n.jsx("img",{src:Cv(j),alt:"",loading:"lazy",decoding:"async",className:"size-full object-cover"}):n.jsx("span",{className:"text-muted grid size-full place-items-center px-4 text-center text-[length:var(--fs-xs)]",children:"유튜브 영상이 아닙니다 — 눌러서 원본으로 갑니다"}),n.jsx("span",{className:"absolute inset-0 grid place-items-center",children:n.jsx("span",{className:"grid size-14 place-items-center rounded-full backdrop-blur transition-transform group-hover:scale-110",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 70%, transparent)",color:"var(--tpl-bg, #fff)"},children:n.jsx(iv,{className:"size-6"})})})]})}),y.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:y.caption}),n.jsx(ml,{source:y.source,verified:y.verified})]})},`${y.url}-${b}`)})}),p&&n.jsxs(n.Fragment,{children:[n.jsx(xp,{dir:"prev",onClick:()=>x(-1),disabled:!d.prev}),n.jsx(xp,{dir:"next",onClick:()=>x(1),disabled:!d.next})]})]})})}function xp({dir:s,onClick:r,disabled:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":s==="prev"?"이전 영상":"다음 영상",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:pointer-events-none disabled:opacity-0 lg:hidden ${s==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const v1={1:"한",2:"두",3:"세",4:"네",5:"다섯",6:"여섯",7:"일곱"},b1=s=>[{id:"songs",label:"가요 다방",Component:Vp},{id:"people",label:"인물 열전",Component:Zp},{id:"chronicle",label:"시간의 골목",Component:Kp},{id:"reading",label:`${s} 읽기`,Component:Jp},{id:"postcard",label:"오늘의 엽서",Component:Wp}];function y1(){const s=te(),r=s.place.addressLocality??"지역",o=qe(s,"story",`${r} 이야기`),u=b1(r).filter(m=>al(s,m.id).items.length>0),[f,d]=U.useState(0);return u.length===0?null:n.jsxs(n.Fragment,{children:[n.jsx("section",{id:"story","aria-labelledby":"story-heading",className:"paper w-full",style:{backgroundColor:"var(--tpl-surface, #fafafa)",color:dl,paddingTop:"var(--section-space)",paddingBottom:"calc(var(--section-space) * 0.55)"},children:n.jsxs("div",{className:"shell",children:[n.jsx("h2",{id:"story-heading",className:"h2",children:o}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-100",children:["이 도시를 ",v1[u.length]??`${u.length}`," 갈래로 봅니다. 하나씩 골라 보세요."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":o,children:u.map((m,g)=>{const x=g===f;return n.jsx("button",{type:"button",role:"tab","aria-selected":x,"aria-controls":m.id,onClick:()=>d(g),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:x?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:m.label},m.id)})})]})}),u.map((m,g)=>n.jsx("div",{hidden:g!==f,children:n.jsx(m.Component,{})},m.id))]})}const j1={open:"진행 중",soon:"곧 시작",closed:"종료"};function vp(s,r){return s.endDate&&s.endDater?"soon":"open"}function Vo(s,r){return s.kind==="공지"&&!s.startDate&&!s.endDate?"공지":r&&j1[r]}function Zo(s){const r=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}월 ${Number(d[3])}일`:void 0},o=r(s.startDate),u=r(s.endDate);if(o&&u)return o===u?o:`${o} – ${u}`;if(o)return`${o}부터`;if(u)return`${u}까지`}function N1(){const s=te(),r=al(s,"event"),[o,u]=U.useState();U.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=U.useState(null),m=U.useCallback(()=>d(null),[]);if(U.useEffect(()=>{if(f===null)return;const p=b=>{b.key==="Escape"&&m()},y=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",p),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",p)}},[f,m]),r.items.length===0)return null;const g=f===null?void 0:r.items[f],x=g&&o?vp(g,o):void 0;return n.jsxs(gl,{id:"event",name:r.title||qe(s,"event",`${s.place.name} 소식`),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"더 보기"}:void 0,count:"자세한 내용과 최신 소식은 원문에서 확인해 주세요.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:r.items.map((p,y)=>{const b=o?vp(p,o):void 0,j=Vo(p,b),T=Zo(p),S=b==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:Jt,borderColor:Te,opacity:S?.6:1,boxShadow:S?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(y),"aria-label":`${p.title} 자세히 보기`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:p.imageUrl?"relative overflow-hidden border-b-2":"contents",style:p.imageUrl?{borderColor:Te}:void 0,children:p.imageUrl?n.jsx("img",{src:p.imageUrl,alt:`${p.title} 안내 이미지`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:S?{filter:"grayscale(1)"}:void 0}):null}),n.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[j&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:b==="open"&&j!=="공지"?We:Jt,color:b==="open"&&j!=="공지"?fa:dl,borderColor:b==="open"&&j!=="공지"?We:Te},children:j}),T&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-semibold tabular-nums opacity-100",children:T})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"line-clamp-2 text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:p.howTo}),p.body&&n.jsx("p",{className:`whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-100 ${p.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:p.body}),n.jsx("p",{className:"mt-auto pt-2 text-[length:var(--fs-sm)] font-bold opacity-100",children:"자세히 보기 →"})]})]},`${p.title}-${y}`)})}),g&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":g.title,className:"fixed inset-0 z-50 flex items-end justify-center bg-black/70 p-0 backdrop-blur-sm sm:items-center sm:p-6",onClick:m,children:n.jsxs("article",{onClick:p=>p.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:Jt,borderColor:Te,color:dl},children:[g.imageUrl&&n.jsx("img",{src:g.imageUrl,alt:`${g.title} 안내 이미지`,className:"max-h-[46vh] w-full object-contain",style:{backgroundColor:"color-mix(in oklab, currentcolor 6%, transparent)"}}),n.jsxs("div",{className:"space-y-4 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[Vo(g,x)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{borderColor:Te},children:Vo(g,x)}),Zo(g)&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums opacity-100",children:Zo(g)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:g.title}),g.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:g.summary}),g.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:g.howTo}),g.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-100",children:g.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[g.postUrl?n.jsx("a",{href:g.postUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",children:"원문 보기 →"}):n.jsx("span",{}),n.jsxs("button",{type:"button",onClick:m,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Te},children:[n.jsx(iu,{className:"size-4"}),n.jsx("span",{children:"닫기"})]})]})]})]})})]})}const S1={songs:Vp,daily:a1,people:Zp,chronicle:Kp,reading:Jp,postcard:Wp,quiz:s1,itinerary:p1,video:x1,event:N1,story:y1},eu=1080,Os=4,ft=56,tu=190,Ko="#1b1a15",w1="#efe7d3",bp="#bf2f1b";function Ip(s=eu){return s-ft-tu-ft-24}function Pp(s,r,o){const u=[];return r.split(`
+`).forEach(f=>{if(f.trim()===""){u.push("");return}let d="";f.split(" ").forEach(m=>{const g=d?`${d} ${m}`:m;if(s.measureText(g).width<=o){d=g;return}if(d&&u.push(d),s.measureText(m).width<=o){d=m;return}let x="";for(const p of m){const y=x+p;s.measureText(y).width>o&&x?(u.push(x),x=p):x=y}d=x}),d&&u.push(d)}),u}function E1(s,r,o){const u=[];let f="";return r.split(/[,\s]+/).filter(Boolean).forEach(d=>{const m=f?`${f} ${d}`:d;if(s.measureText(m).width<=o){f=m;return}if(f&&u.push(f),s.measureText(d).width<=o){f=d;return}let g="";for(const x of d){const p=g+x;s.measureText(p).width>o&&g?(u.push(g),g=x):g=p}f=g}),f&&u.push(f),u}const z1="/v1/image/relay?url=";async function T1(s){const r=(o,u)=>new Promise((f,d)=>{const m=new Image;u&&(m.crossOrigin=u),m.onload=()=>f(m),m.onerror=d,m.src=o});try{return{img:await r(s,"anonymous"),exportable:!0}}catch{}if(/^https?:\/\//i.test(s))try{return{img:await r(`${z1}${encodeURIComponent(s)}`,"anonymous"),exportable:!0}}catch{}return{img:await r(s,null),exportable:!1}}function A1(){const s=document.querySelector(".serif");return(s?getComputedStyle(s).fontFamily:"")||"serif"}async function yp(s,{photoUrl:r,text:o,placeName:u,region:f}){const d=s.getContext("2d");if(!d)return!1;const m=s.width,g=A1();d.clearRect(0,0,m,m),d.fillStyle=w1,d.fillRect(0,0,m,m);const{img:x,exportable:p}=await T1(r),y=m-ft*2,b=y/1.5,j=Math.max(y/x.width,b/x.height),T=x.width*j,S=x.height*j;d.save(),d.beginPath(),d.rect(ft,ft,y,b),d.clip(),d.drawImage(x,ft+(y-T)/2,ft+(b-S)/2,T,S),d.restore(),d.strokeStyle="rgba(27,26,21,0.25)",d.lineWidth=1,d.strokeRect(ft+.5,ft+.5,y-1,b-1);const w=ft+b+36,k=m-ft-tu,R=Ip(m);d.strokeStyle="rgba(27,26,21,0.35)",d.beginPath(),d.moveTo(k,w),d.lineTo(k,m-ft-46),d.stroke(),d.fillStyle=Ko,d.font=`600 46px ${g}`,d.textAlign="left",d.textBaseline="alphabetic";const V=Pp(d,`“${o.trim()||"오늘, 이 숙소에서 하루를 보냅니다."}”`,R),Y=V.slice(0,Os);if(V.length>Os){let F=Y[Os-1];for(;F.length&&d.measureText(`${F}…`).width>R;)F=F.slice(0,-1);Y[Os-1]=`${F}…`}Y.forEach((F,le)=>d.fillText(F,ft,w+50+le*60));const X=k+tu/2;d.strokeStyle=Ko,d.lineWidth=1.5,d.setLineDash([4,4]),d.strokeRect(X-44,w,88,108),d.setLineDash([]),d.fillStyle=Ko,d.font=`400 20px ${g}`,d.textAlign="center",d.fillText("郵票",X,w+46),d.fillText("10원",X,w+78),d.save(),d.translate(X,w+210),d.rotate(-6*Math.PI/180),d.strokeStyle=bp,d.lineWidth=3,d.beginPath(),d.arc(0,0,62,0,Math.PI*2),d.stroke(),d.fillStyle=bp,d.font=`600 22px ${g}`;const G=E1(d,u,100).slice(0,2),J=8-(G.length-1)*26/2;G.forEach((F,le)=>d.fillText(F,0,J+le*26)),d.restore();const $=m-ft-30;return d.strokeStyle="rgba(27,26,21,0.3)",d.setLineDash([3,3]),d.beginPath(),d.moveTo(ft,$-20),d.lineTo(m-ft,$-20),d.stroke(),d.setLineDash([]),d.fillStyle="rgba(27,26,21,0.6)",d.font=`400 22px ${g}`,d.textAlign="left",d.fillText(`${u} · ${f}`,ft,$+6),p}const jp="postcard.png";function _1(){const s=te(),r=(s.media??[]).filter(Y=>Y.url),o=U.useRef(null),[u,f]=U.useState(0),[d,m]=U.useState(""),[g,x]=U.useState(""),[p,y]=U.useState(!1),[b,j]=U.useState(!0);U.useEffect(()=>{var Y;y(((Y=window.matchMedia)==null?void 0:Y.call(window,"(pointer: coarse)").matches)??!1)},[]);const T=s.place.name,S=String(s.place.address??"").split(" ").slice(0,2).join(" ");if(U.useEffect(()=>{const Y=o.current,X=r[u];if(!Y||!(X!=null&&X.url))return;const G=window.setTimeout(()=>{yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j)},80);return()=>window.clearTimeout(G)},[u,d,T,S,r]),U.useEffect(()=>{var G;const Y=o.current,X=r[u];!Y||!(X!=null&&X.url)||!((G=document.fonts)!=null&&G.ready)||document.fonts.ready.then(()=>yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j))},[]),r.length===0)return null;function w(Y){var G;const X=(G=o.current)==null?void 0:G.getContext("2d");return X?(X.font="600 46px serif",Pp(X,`“${Y}”`,Ip()).length<=Os):!0}function k(){return new Promise(Y=>{const X=o.current;if(!X)return Y(null);X.toBlob(G=>Y(G),"image/png",.95)})}function R(Y){const X=URL.createObjectURL(Y),G=document.createElement("a");G.href=X,G.download=jp,G.click(),URL.revokeObjectURL(X)}async function V(){var J,$;const Y=await k();if(!Y)return;const X=((J=document.querySelector('meta[property="og:url"]'))==null?void 0:J.content)??`${location.origin}${location.pathname}`,G=new File([Y],jp,{type:"image/png"});if(($=navigator.canShare)!=null&&$.call(navigator,{files:[G]})){await navigator.share({files:[G],title:`${T} 엽서`,text:X}).catch(()=>{});return}if(navigator.share){await navigator.share({title:`${T} 엽서`,url:X}).catch(()=>{}),x('이 브라우저는 사진을 같이 못 보내 링크만 보냈습니다. 사진은 "이미지로 저장" 을 눌러 주세요.');return}R(Y),x("이 브라우저는 공유 시트를 못 열어 저장으로 대신했습니다.")}return n.jsx(gt,{id:"postcard-maker",title:"엽서 쓰기",lead:`${T}에서 보내는 한 장을 직접 써 봅니다. 사진을 고르고 한 마디를 적으면 그 자리에서 엽서가 되고, 그대로 공유하거나 저장할 수 있습니다.`,children:n.jsxs("div",{className:"mx-auto grid max-w-3xl gap-5 sm:grid-cols-[minmax(0,360px)_minmax(0,1fr)] sm:items-start",children:[n.jsx("canvas",{ref:o,width:eu,height:eu,"aria-label":"내가 만든 엽서 미리보기",className:"border-line mx-auto block aspect-square h-auto w-full max-w-[360px] border"}),n.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[n.jsx("div",{className:"min-w-0",role:"radiogroup","aria-label":`엽서 사진 고르기(${r.length}장)`,children:n.jsx(vr,{label:"엽서 사진",gap:.5,dots:!1,autoplay:!1,children:r.map((Y,X)=>n.jsx("button",{type:"button",onClick:()=>f(X),role:"radio","aria-checked":X===u,"aria-label":`사진 ${X+1}`,className:"border-line size-10 shrink-0 overflow-hidden rounded border transition-opacity",style:{opacity:X===u?1:.5},children:n.jsx("img",{src:Y.url,alt:"",loading:"lazy",className:"size-full object-cover"})},Y.url))})}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"postcard-text",className:"text-[length:var(--fs-sm)] font-bold",children:"엽서에 적을 말"}),n.jsx("textarea",{id:"postcard-text",rows:3,maxLength:60,value:d,placeholder:"여기에 적으면 엽서에 바로 나타납니다",onChange:Y=>{w(Y.target.value)&&m(Y.target.value)},className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["네 줄까지 · ",d.length,"/60"]})]}),b?n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx("button",{type:"button",onClick:()=>void V(),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)] font-bold",children:p?"카카오톡 등으로 공유":"공유하기"}),n.jsx("button",{type:"button",onClick:()=>void k().then(Y=>Y&&R(Y)),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)]",children:"이미지로 저장"})]}):n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 사진은 다른 사이트에 올라와 있어 저장·공유가 막혀 있습니다. 화면으로만 보여 드립니다."}),g&&n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:g})]})]})})}function C1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(O1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(D1,{}),n.jsx(kn,{})]})}function eg(){const s=te(),r=dt(s);return[{id:"intro",href:"#about",fallback:"소개"},{id:r.path,href:"#units",fallback:r.label},{id:"info",href:"#info",fallback:"이용 정보"},{id:"booking",href:"#booking",fallback:"예약 안내"},{id:"photos",href:"#gallery",fallback:"사진"},{id:"map",href:"#location",fallback:"오시는 길"},{id:"local",href:"#guide",fallback:"주변 정보"},{id:"faq",href:"#faq",fallback:"자주 묻는 질문"}].filter(o=>ll(s,o.id)).map(o=>({label:qe(s,o.id,o.fallback),href:o.href}))}const k1=24,M1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function O1(){const s=te(),r=eg(),[o,u]=U.useState(!1);U.useEffect(()=>{const d=()=>u(window.scrollY>k1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-100 transition-opacity hover:opacity-100":"underline-offset-4 hover:underline";return n.jsx("header",{className:`fixed inset-x-0 top-0 z-40 w-full transition-colors duration-300 ${o?"border-line border-b backdrop-blur-md":""}`,style:o?{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"}:{color:"var(--tpl-bg, #ffffff)",textShadow:M1},children:n.jsxs("div",{className:"shell grid h-20 grid-cols-[1fr_auto] items-center gap-4 lg:grid-cols-[1fr_auto_1fr]",children:[n.jsx("a",{href:"#top",className:"min-w-0",children:n.jsx("span",{className:"serif block truncate",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.12em"},children:s.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center justify-center gap-10 lg:flex",children:r.map(d=>n.jsx("a",{href:d.href,className:`py-1 text-[length:var(--fs-sm)] font-light ${f}`,children:d.label},d.href))}),n.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:s.place.phone}),r.length>0&&n.jsxs("details",{className:"lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center justify-center px-2 text-[length:var(--fs-sm)] font-light marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:"메뉴"}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line absolute inset-x-0 top-full border-b border-t",style:{backgroundColor:"var(--tpl-surface, #fff)",color:"var(--tpl-text)",textShadow:"none"},children:n.jsx("ul",{className:"divide-line shell divide-y",children:r.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center text-[length:var(--fs-sm)] font-light",children:d.label})},d.href))})})]})]})]})})}function D1(){var p,y,b,j;const s=te(),{place:r,site:o,narrative:u}=s,f=eg(),d=r.roadAddress??r.address,m=Ze(s)[0],g=Cn(s),x=u.about[0]??u.summary;return n.jsx("footer",{className:"border-line paper w-full border-t pb-28 md:pb-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)",paddingTop:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid gap-10 md:grid-cols-3 md:gap-12",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"serif",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.1em"},children:r.name}),x&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:x})]}),n.jsxs("dl",{className:"min-w-0 space-y-5",children:[d&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"주소"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:d})]}),r.phone&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"전화"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light tabular-nums",children:n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-4 hover:underline",children:r.phone})})]}),r.email&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"이메일"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-4 hover:underline",children:r.email})})]}),m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"예약"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:Ls(m)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"사이트 메뉴",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:T.label})},T.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),g.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:Ls(T)})},T.url))}),n.jsxs("div",{className:"text-muted mt-8 flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center text-[length:var(--fs-xs)] font-light",children:[n.jsxs("span",{children:["상호 ",r.name]}),((p=r.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표 ",r.legal.representative]}),((y=r.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호 ",r.legal.businessRegistrationNumber]}),((b=r.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고 ",r.legal.mailOrderNumber]}),((j=r.legal)==null?void 0:j.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"인허가번호"," ",r.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",r.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]})]})})}const R1=`
+.oasi-page main > section:not([data-oasi]) {
+ background-color: transparent !important;
+ background-image: none !important;
+ border-color: transparent !important;
+ color: var(--tpl-text) !important;
+ padding-block: var(--oasi-gap) 0 !important;
+}
+.oasi-page main > section:not([data-oasi]) .shell {
+ max-width: none;
+ padding-inline: 0;
+}
+.oasi-page main > section#about > .shell > .grid {
+ display: block;
+}
+.oasi-page main > section#about > .shell > .grid > * + * {
+ margin-top: 2.5rem;
+}
+.oasi-page main > section#summary dl {
+ grid-template-columns: minmax(0, 1fr);
+}
+
+/*
+ * 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요")
+ *
+ * ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의
+ * ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서
+ * **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.**
+ * ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지
+ * 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다.
+ * ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면
+ * 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다.
+ * ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다")
+ * 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면
+ * 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다.
+ */
+.oasi-page section#event li,
+.oasi-page section#itinerary article {
+ background-image: none !important;
+ background-color: color-mix(in oklab, currentcolor 3%, transparent) !important;
+ border-width: 1px !important;
+ box-shadow: none !important;
+}
+
+.oasi-page .panel,
+.oasi-page .panel-sunken {
+ background-color: transparent;
+ border-width: 0;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.oasi-page main > section#faq > .shell > div:last-of-type {
+ row-gap: 0;
+ column-gap: 2.5rem;
+}
+.oasi-page main > section#faq details {
+ margin-block: 0;
+ border-top: 1px solid var(--site-line);
+}
+.oasi-page main > section#faq summary {
+ padding-inline: 0;
+}
+.oasi-page main > section#faq summary > span:first-child {
+ width: 1.125rem;
+}
+.oasi-page main > section#faq summary + div {
+ border-top-width: 0;
+ padding-inline: 1.875rem 0;
+ padding-top: 0.5rem;
+}
+
+.oasi-page main > section#info dl.panel > div {
+ padding-inline: 0;
+}
+.oasi-page main > section#info dl > div.panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+
+.oasi-page main > section#location .panel {
+ border-top: 1px solid var(--site-line);
+ padding-inline: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child {
+ padding-left: 0;
+}
+.oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child {
+ padding-right: 0;
+}
+
+.oasi-page main > section#weather .panel {
+ padding-inline: 0;
+}
+
+.oasi-page main > section#guide .panel > span:last-child {
+ padding-inline: 0;
+}
+@media (min-width: 40rem) {
+ .oasi-page main > section#festival .panel > span:last-child {
+ padding-inline: 0;
+ }
+}
+`,U1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function L1({children:s}){var y,b,j,T;const r=te(),{place:o}=r,u=dt(r),f=Ze(r)[0],d=Cn(r),m=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:ll(r,"intro")},{label:u.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(S=>S.show),g=[...Ra(r).map(S=>`${S.label} ${S.value}`),...r.theme.sections.filter(S=>{var w;return S.enabled&&((w=S.name)==null?void 0:w.trim())}).map(S=>S.name.trim())].slice(0,3),x=r.narrative.tagline??r.narrative.heroSubline,p=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:U1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:R1}}),n.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[n.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[n.jsxs("a",{href:"#top",className:"block",children:[n.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:o.name}),o.englishName&&n.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:o.englishName})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:n.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:m.map((S,w)=>n.jsx("li",{children:n.jsx("a",{href:S.href,"aria-current":w===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${w===0?"":"text-muted"}`,children:S.label})},S.label))})}),f&&n.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:pt(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(g.length>0||x)&&n.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[g.length>0&&n.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:g.map((S,w)=>n.jsxs("li",{className:"flex items-center gap-4",children:[w>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:S})]},S))}),x&&n.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:n.jsx(ha,{children:x})})]}),s]})]}),n.jsx("footer",{className:"border-line mt-auto w-full border-t",children:n.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[n.jsxs("p",{children:["[",o.name,"]"]}),d.length>0?n.jsx("ul",{className:"space-y-1",children:d.map(S=>n.jsx("li",{children:n.jsx("a",{href:S.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:Ls(S)})},S.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[p&&n.jsx("p",{children:p}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-[5px]",children:o.phone})}),o.email&&n.jsx("p",{children:o.email}),((y=o.legal)==null?void 0:y.representative)&&n.jsxs("p",{children:["대표 ",o.legal.representative]}),((b=o.legal)==null?void 0:b.businessRegistrationNumber)&&n.jsxs("p",{children:["사업자등록번호 ",o.legal.businessRegistrationNumber]}),((j=o.legal)==null?void 0:j.mailOrderNumber)&&n.jsxs("p",{children:["통신판매업신고 ",o.legal.mailOrderNumber]}),((T=o.legal)==null?void 0:T.licenseNumber)&&n.jsxs("p",{children:[o.legal.licenseLabel??"인허가번호"," ",o.legal.licenseNumber]}),n.jsxs("p",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:r.site.updatedAt,children:Qs(r.site.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function H1({children:s}){var j,T,S,w;const r=te(),{place:o,narrative:u,site:f}=r,d=dt(r),m=_n(r),g=Ra(r),x=Ze(r)[0],p=r.links.filter(k=>k.confirmed),y=o.roadAddress??o.address,b=[{label:"소개",href:"#about",show:ll(r,"intro")},{label:d.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:r.faqs.length>0}].filter(k=>k.show);return n.jsxs("div",{className:"flex min-h-screen w-full flex-col lg:flex-row",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("aside",{className:"w-full shrink-0 px-6 pb-8 pt-8 lg:sticky lg:top-0 lg:h-screen lg:w-[260px] lg:overflow-y-auto lg:px-7 lg:py-10",style:{backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"flex h-full min-w-0 flex-col",children:[n.jsx("a",{href:"#top",className:"block min-w-0",children:n.jsx("h1",{className:"serif min-w-0 break-keep font-black",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.12em",lineHeight:1.25},children:o.name})}),(u.tagline??u.heroSubline)&&n.jsx("p",{className:"text-muted mt-3 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:n.jsx(ha,{children:u.tagline??u.heroSubline})}),(m||g.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:m})]}),g.map(k=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:k.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:k.value})]},k.label))]}),x&&n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-5 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-100",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg)"},children:pt(x)}),o.phone&&n.jsxs("a",{href:`tel:${o.phone}`,className:"tap mt-2 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--tpl-surface-alt)",color:"var(--tpl-text)"},children:["전화 ",o.phone]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-10",children:n.jsx("ul",{className:"space-y-0.5",children:b.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:k.label})},k.label))})}),p.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:p.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-xs)] underline-offset-4 transition-colors hover:text-current hover:underline",children:pl(k)})},k.url))})}),n.jsxs("div",{className:"text-muted mt-14 space-y-1 pb-2 text-[length:var(--fs-xs)] lg:mt-auto lg:pt-14",children:[y&&n.jsx("p",{className:"break-keep",children:y}),o.phone&&n.jsx("p",{children:o.phone}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline-offset-2 hover:underline",children:o.email})}),n.jsxs("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 pt-3",children:[n.jsxs("span",{children:["상호: ",o.name]}),((j=o.legal)==null?void 0:j.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((T=o.legal)==null?void 0:T.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((S=o.legal)==null?void 0:S.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((w=o.legal)==null?void 0:w.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline pt-1",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:f.updatedAt,children:Qs(f.updatedAt)})]})]})]})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col pb-24 lg:pb-0",children:s}),n.jsx(kn,{})]})}const B1=`
+.pastel-page > main > section:not([data-pastel]) {
+ border-color: transparent;
+ background-image: none;
+ color: var(--pastel-ink) !important;
+}
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; }
+.pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; }
+`,q1={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function Y1({children:s}){const r=te(),o=dt(r),u=Cn(r),f=[{label:"소개",href:"#about",show:ll(r,"intro")},{label:o.label,href:"#units",show:r.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:ll(r,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:r.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:q1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:B1}}),n.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:n.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:r.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>n.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-100 transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r.place.phone&&n.jsx("a",{href:`tel:${r.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(Ct,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":pl(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(W0,{className:"size-4"}):n.jsx(su,{className:"size-4"})},d.url)),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(zp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:n.jsx("ul",{children:f.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),s,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Xp,{})}),n.jsx(kn,{})]})}function G1({children:s}){var p,y,b,j;const r=te(),{place:o,site:u}=r,f=Up(),d=$1(f),m=Ze(r)[0],g=r.links.filter(T=>T.confirmed),x=o.roadAddress??o.address;return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:n.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[n.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:o.name}),n.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[o.phone&&n.jsx("a",{href:`tel:${o.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:o.phone}),m&&n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:pt(m)})]})]})}),n.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&n.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Hs},children:n.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(T=>{const S=T.anchor===d;return n.jsxs("a",{href:`#${T.anchor}`,"aria-current":S?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:S?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:T.no}),n.jsx("span",{className:"truncate",style:{fontWeight:S?700:400},children:T.label})]},T.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:s})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current opacity-100"}),n.jsxs("div",{className:"grid grid-cols-1 gap-8 pt-8 md:grid-cols-12",children:[n.jsxs("div",{className:"md:col-span-5",children:[n.jsx("p",{className:"serif",style:{fontSize:"clamp(1.5rem, 4vw, 2.5rem)",fontWeight:800,lineHeight:1.05},children:o.name}),o.englishName&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] uppercase tracking-[0.18em] opacity-100",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic opacity-100 md:col-span-4",children:[x&&n.jsx("p",{children:x}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-4",children:o.phone})}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline underline-offset-4",children:o.email})})]}),g.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"md:col-span-3",children:n.jsx("ul",{className:"space-y-1.5 text-[length:var(--fs-sm)]",children:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 opacity-100 transition-opacity hover:opacity-100",children:pl(T)})},T.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] opacity-100 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",o.name]}),((p=o.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((b=o.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((j=o.legal)==null?void 0:j.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:u.updatedAt,children:Qs(u.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function $1(s){const r=s.map(f=>f.anchor).join(","),[o,u]=U.useState("");return U.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=r.split(",").map(m=>document.getElementById(m)).filter(m=>m!==null);if(f.length===0)return;const d=new IntersectionObserver(m=>{const g=m.find(x=>x.isIntersecting);g&&u(g.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(m=>d.observe(m)),()=>d.disconnect()},[r]),o}function Q1(){const s=te(),r=s.place.category===ua.LODGING,o={intro:by,info:Ny,rooms:Go,menu:Go,programs:Go,booking:r?sp:Ry,space:Yy,inquiry:Gy,exhibition:$y,photos:e1,festival:Vy,local:Ky,weather:Py,map:dp,faq:t1,...S1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(Cb,{}),s.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const m=d.name;return u.has(m)?null:(u.add(m),n.jsx("div",{"data-editor-id":f.id,style:{display:"contents"},children:n.jsx(d,{})},f.id))}),!ll(s,"map")&&n.jsx(dp,{}),r&&!ub(s,"booking")&&n.jsx(sp,{}),n.jsx(_1,{})]})}function lu({payload:s}){const r=Rp(s.theme.templateId),o=r==="reservation"?C1:r==="oasi"?L1:r==="studio"?H1:r==="pastel"?Y1:r==="editorial"?G1:X1;return n.jsx(gv,{payload:s,children:n.jsx(o,{children:n.jsx(Q1,{})})})}function X1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(fb,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(Xp,{}),n.jsx(kn,{})]})}function V1(s){const{colors:r,look:o}=s.theme,u=Bv(r),f={"--tpl-primary":r.primary,"--tpl-secondary":r.secondary,"--tpl-bg":r.bg,"--tpl-card":r.card,"--tpl-text":r.text,"--tpl-accent":r.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=g=>g&&!/[<>{};]/.test(g)?g:void 0,m=[["--tpl-font-heading",d(o.fontHeading)],["--tpl-font-body",d(o.fontBody)],["--tpl-heading-tracking",d(o.headingTracking)],["--tpl-heading-weight",d(o.headingWeight)],["--tpl-section-space",d(o.sectionSpace)],["--tpl-border-width",d(o.borderWidth)],["--tpl-radius",d(o.radius)],["--tpl-shadow",d(o.shadow)],["--tpl-texture",d(o.texture)]];for(const[g,x]of m)x&&(f[g]=x)}return f}const Z1=[[/Noto Sans KR/i,"family=Noto+Sans+KR:wght@300..900"],[/Noto Serif KR/i,"family=Noto+Serif+KR:wght@300..700"],[/Gugi/i,"family=Gugi"],[/Gowun Batang/i,"family=Gowun+Batang:wght@400;700"],[/Nanum Pen Script/i,"family=Nanum+Pen+Script"]];function K1(s){var u,f;const r=["Noto Sans KR","Noto Serif KR",((u=s.theme.look)==null?void 0:u.fontHeading)??"",((f=s.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${Z1.filter(([d])=>d.test(r)).map(([,d])=>d).join("&")}&display=swap`}const dr=document.getElementById("root"),Np=window.__SITE_PAYLOAD__;function Tu(s){if(window.parent===window)return;const r=()=>window.parent.postMessage({type:"o2o:preview-painted",ok:s},window.location.origin);requestAnimationFrame(()=>requestAnimationFrame(r))}function J1(){return U.useEffect(()=>Tu(!0),[]),null}async function W1(s){const r=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${s}/site/preview`,{headers:r?{Authorization:`Bearer ${r}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,m]of Object.entries(V1(u)))document.documentElement.style.setProperty(d,m);const f=document.createElement("link");f.rel="stylesheet",f.href=K1(u),document.head.appendChild(f),await new Promise(d=>{f.addEventListener("load",()=>d(),{once:!0}),f.addEventListener("error",()=>d(),{once:!0}),setTimeout(d,2500)});try{await document.fonts.ready}catch{}Jo.createRoot(dr).render(n.jsxs(U.StrictMode,{children:[n.jsx(lu,{payload:u}),n.jsx(J1,{})]})),Tu(!0)}const Sp=new URLSearchParams(window.location.search).get("placeId");Np?Jo.hydrateRoot(dr,n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:Np})})):Sp?W1(Sp).catch(s=>{dr.textContent=`미리보기를 불러오지 못했습니다 — ${s instanceof Error?s.message:String(s)}`,Tu(!1)}):p0(async()=>{const{MOONLIGHT_STAY_PAYLOAD:s}=await import("./moonlight-stay-hx5dXTZN.js");return{MOONLIGHT_STAY_PAYLOAD:s}},[]).then(({MOONLIGHT_STAY_PAYLOAD:s})=>{Jo.createRoot(dr).render(n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:s})}))});export{Lh as F,yt as L,ua as P,Sv as S,F1 as a};
diff --git a/solution/site/scripts/mockup/vendor/retired/index-5e3IlLs2.js b/solution/site/scripts/mockup/vendor/retired/index-5e3IlLs2.js
new file mode 100644
index 0000000..4171b77
--- /dev/null
+++ b/solution/site/scripts/mockup/vendor/retired/index-5e3IlLs2.js
@@ -0,0 +1,336 @@
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const v0="modulepreload",y0=function(s){return"/"+s},Th={},j0=function(r,o,u){let f=Promise.resolve();if(o&&o.length>0){let m=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const x=document.querySelector("meta[property=csp-nonce]"),g=(x==null?void 0:x.nonce)||(x==null?void 0:x.getAttribute("nonce"));f=m(o.map(p=>{if(p=y0(p),p in Th)return;Th[p]=!0;const v=p.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const N=document.createElement("link");if(N.rel=v?"stylesheet":v0,v||(N.as="script"),N.crossOrigin="",N.href=p,g&&N.setAttribute("nonce",g),document.head.appendChild(N),v)return new Promise((E,j)=>{N.addEventListener("load",E),N.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=m,window.dispatchEvent(x),!x.defaultPrevented)throw m}return f.then(m=>{for(const x of m||[])x.status==="rejected"&&d(x.reason);return r().catch(d)})};var Ro={exports:{}},_s={};/**
+ * @license React
+ * react-jsx-runtime.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Ah;function N0(){if(Ah)return _s;Ah=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var x in f)x!=="key"&&(d[x]=f[x])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return _s.Fragment=r,_s.jsx=o,_s.jsxs=o,_s}var _h;function S0(){return _h||(_h=1,Ro.exports=N0()),Ro.exports}var n=S0(),Uo={exports:{}},ue={};/**
+ * @license React
+ * react.production.js
+ *
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var Ch;function w0(){if(Ch)return ue;Ch=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),N=Symbol.iterator;function E(w){return w===null||typeof w!="object"?null:(w=N&&w[N]||w["@@iterator"],typeof w=="function"?w:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,C={};function D(w,q,K){this.props=w,this.context=q,this.refs=C,this.updater=K||j}D.prototype.isReactComponent={},D.prototype.setState=function(w,q){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,q,"setState")},D.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function V(){}V.prototype=D.prototype;function H(w,q,K){this.props=w,this.context=q,this.refs=C,this.updater=K||j}var X=H.prototype=new V;X.constructor=H,T(X,D.prototype),X.isPureReactComponent=!0;var Y=Array.isArray;function J(){}var G={H:null,A:null,T:null,S:null},W=Object.prototype.hasOwnProperty;function le(w,q,K){var F=K.ref;return{$$typeof:s,type:w,key:q,ref:F!==void 0?F:null,props:K}}function Z(w,q){return le(w.type,q,w.props)}function ne(w){return typeof w=="object"&&w!==null&&w.$$typeof===s}function ye(w){var q={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(K){return q[K]})}var Ye=/\/+/g;function Xe(w,q){return typeof w=="object"&&w!==null&&w.key!=null?ye(""+w.key):q.toString(36)}function re(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(J,J):(w.status="pending",w.then(function(q){w.status==="pending"&&(w.status="fulfilled",w.value=q)},function(q){w.status==="pending"&&(w.status="rejected",w.reason=q)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function O(w,q,K,F,ce){var fe=typeof w;(fe==="undefined"||fe==="boolean")&&(w=null);var oe=!1;if(w===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(w.$$typeof){case s:case r:oe=!0;break;case v:return oe=w._init,O(oe(w._payload),q,K,F,ce)}}if(oe)return ce=ce(w),oe=F===""?"."+Xe(w,0):F,Y(ce)?(K="",oe!=null&&(K=oe.replace(Ye,"$&/")+"/"),O(ce,q,K,"",function(at){return at})):ce!=null&&(ne(ce)&&(ce=Z(ce,K+(ce.key==null||w&&w.key===ce.key?"":(""+ce.key).replace(Ye,"$&/")+"/")+oe)),q.push(ce)),1;oe=0;var Ee=F===""?".":F+":";if(Y(w))for(var ze=0;ze>>1,je=O[he];if(0