1import{r as e,u as t,j as s,L as i}from"./vendor-BqZM8k5L.js";import{u as a}from"./useCreditPackOffer-D6J_LD6B.js";import{F as r}from"./ArrowLeftIcon-Caj6EJsp.js";import{F as l}from"./ChevronUpIcon-4jJFHYwd.js";import"./supabase-ng3C4dqR.js";import"./app-BSdUPUTF.js";import"./analytics-BZVwl--H.js";import"./i18n-CTvA6pfT.js";function c({title:t,titleId:s,...i},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},i),t?e.createElement("title",{id:s},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const n=e.forwardRef(c);function d(){const{t:c,i18n:d}=t("terms"),o=a(),[x,m]=e.useState(!1),[h,b]=e.useState("article-1");e.useEffect(()=>{const e=()=>{m(window.scrollY>400);const e=Array.from(document.querySelectorAll('section[id^="article-"]')).filter(e=>e.getBoundingClientRect().top<=140),t=e[e.length-1];t&&b(t.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"min-h-screen bg-dark-bg-primary",children:[s.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8",children:[s.jsxs("div",{className:"flex items-center justify-between mb-6 sm:mb-8",children:[s.jsxs(i,{to:"/?home=1",className:"flex items-center space-x-2 text-dark-text-secondary hover:text-dark-text-primary transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-400 rounded-lg p-1",children:[s.jsx(r,{className:"w-5 h-5"}),s.jsx("span",{children:c("backToHome")})]}),s.jsxs("div",{className:"flex items-center space-x-2",children:[s.jsx(n,{className:"w-6 h-6 text-neutral-500"}),s.jsx("span",{className:"text-sm text-dark-text-secondary",children:c("serviceTerms")})]})]}),s.jsx("div",{className:"glass-card rounded-2xl sm:rounded-3xl p-4 sm:p-6 md:p-8 lg:p-12 shadow-xl border border-dark-border",children:s.jsxs("div",{className:"space-y-6 sm:space-y-8",children:[s.jsxs("header",{className:"text-center space-y-3 sm:space-y-4",children:[s.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-dark-text-primary leading-tight",children:c("title")}),s.jsx("p",{className:"text-base sm:text-lg text-dark-text-secondary leading-relaxed",children:c("description")}),s.jsx("div",{className:"text-xs sm:text-sm text-dark-text-secondary",children:c("effectiveDate")})]}),s.jsxs("details",{className:"bg-dark-bg-secondary/50 p-4 sm:p-6 rounded-xl border border-dark-border",children:[s.jsx("summary",{className:"min-h-11 cursor-pointer text-sm font-semibold text-dark-text-primary",children:c("toc")}),s.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[{id:"article-1",key:"sections.article1.title"},{id:"article-2",key:"sections.article2.title"},{id:"article-3",key:"sections.article3.title"},{id:"article-4",key:"sections.article4.title"},{id:"article-5",key:"sections.article5.title"},{id:"article-6",key:"sections.article6.title"},{id:"article-7",key:"sections.article7.title"},{id:"article-8",key:"sections.article8.title"},{id:"article-9",key:"sections.article9.title"},{id:"article-10",key:"sections.article10.title"}].map(e=>s.jsx("li",{children:s.jsx("button",{"aria-current":h===e.id?"location":void 0,onClick:()=>(e=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})})(e.id),className:"text-sm text-neutral-400 aria-[current=location]:text-accent-400 aria-[current=location]:font-semibold hover:text-accent-400 transition-colors text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-400 rounded min-h-11 px-2 py-1 -mx-2 w-full",children:c(e.key)})},e.id))})]}),s.jsxs("div",{className:"space-y-6 sm:space-y-8",children:[s.jsxs("section",{className:"scroll-mt-24",id:"article-1",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article1.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed text-sm sm:text-base",children:c("sections.article1.content")})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-2",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article2.title")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article2.definitions",{returnObjects:!0});return Array.isArray(e)?e.map((e,t)=>s.jsxs("li",{children:[s.jsxs("strong",{className:"text-dark-text-primary",children:['"',e.term,'"']})," ",e.description]},t)):null})()})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-3",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article3.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article3.content1")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed text-sm sm:text-base",children:c("sections.article3.content2")})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-4",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article4.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article4.intro")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article4.services",{returnObjects:!0});return Array.isArray(e)?e.map((e,t)=>s.jsx("li",{children:e},t)):null})()})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-5",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article5.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article5.content1")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-2 text-sm sm:text-base",children:c("sections.article5.content2")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article5.rejections",{returnObjects:!0});return Array.isArray(e)?e.map((e,t)=>s.jsx("li",{children:e},t)):null})()})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-6",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article6.title")}),s.jsxs("div",{className:"bg-neutral-600/10 p-4 sm:p-6 rounded-lg mb-4 border border-dark-border",children:[s.jsx("h3",{className:"text-base sm:text-lg font-semibold text-dark-text-primary mb-2",children:c("sections.article6.creditSystem")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article6.credits",{returnObjects:!0,packCredits:(null==o?void 0:o.credits)??""});return Array.isArray(e)?e.map((e,t)=>s.jsx("li",{children:2!==t||o?e:c("sections.article6.packPending")},t)):null})()})]}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed text-sm sm:text-base",children:c("sections.article6.payment")}),"credits_500"===(null==o?void 0:o.pack)&&o.switch_at&&s.jsx("p",{className:"mt-3 text-dark-text-secondary leading-relaxed text-sm sm:text-base",children:c("sections.article6.scheduledChange",{date:new Intl.DateTimeFormat(d.resolvedLanguage||"en",{dateStyle:"medium",timeStyle:"short",timeZone:"Asia/Seoul"}).format(new Date(o.switch_at))})})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-7",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article7.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article7.intro")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article7.restrictions",{returnObjects:!0});return Array.isArray(e)?e.map((e,t)=>s.jsx("li",{children:e},t)):null})()})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-8",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article8.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article8.content1")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed text-sm sm:text-base",children:c("sections.article8.content2")})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-9",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article9.title")}),s.jsx("p",{className:"text-dark-text-secondary leading-relaxed mb-3 text-sm sm:text-base",children:c("sections.article9.intro")}),s.jsx("ul",{className:"list-disc list-inside text-dark-text-secondary space-y-2 text-sm sm:text-base leading-relaxed",children:(()=>{const e=c("sections.article9.exemptions",{returnObjects:!0});return Array.isArray(e)?e.map((e,t)=>s.jsx("li",{children:e},t)):null})()})]}),s.jsxs("section",{className:"scroll-mt-24",id:"article-10",children:[s.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-dark-text-primary mb-3 sm:mb-4 leading-tight",children:c("sections.article10.title")}),s.jsx("div",{className:"bg-dark-bg-secondary p-4 sm:p-6 rounded-lg border border-dark-border",children:s.jsx("p",{className:"text-dark-text-secondary text-sm sm:text-base leading-relaxed",children:c("sections.article10.content")})})]})]}),s.jsx("div",{className:"pt-6 sm:pt-8 border-t border-dark-border",children:s.jsx("div",{className:"text-center",children:s.jsxs(i,{to:"/?home=1",className:"inline-flex items-center space-x-2 bg-accent-500 text-accent-ink px-6 py-3 rounded-xl font-medium hover:bg-accent-400 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-400 focus-visible:ring-offset-2 focus-visible:ring-offset-dark-bg-primary",children:[s.jsx("span",{children:c("backToHome")}),s.jsx(r,{className:"w-5 h-5 rotate-180"})]})})})]})})]}),x&&s.jsx("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"fixed bottom-6 right-6 p-3 bg-neutral-700 hover:bg-accent-500 text-accent-ink rounded-full shadow-lg transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-400 z-50","aria-label":c("backToTop"),children:s.jsx(l,{className:"w-5 h-5"})})]})})}export{d as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.