@ihabdevteam/core 0.460.0 → 0.461.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -837,7 +837,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
837
837
  `),this.name="StorageNotConfiguredError"}};function lb(e){sb(e)}function ci(e,t){if(!e)return null;const r=Ur();return r?.resolvePath?r.resolvePath(e,t):t?`${t}/${e}.mp3`:null}async function di(e){if(!e)return null;const t=Ur();if(!t)throw new ui("getSignedOrPublicUrl");try{return await t.resolveUrl(e)}catch{return null}}async function pi(e){const t=Ur();if(!t)throw new ui("downloadSound");return t.download(e)}function ib(){return Ur()?.noiseBaseUrl??"/sounds/noise"}function ub(){const e=Number(Ur()?.noiseFileGain);return Number.isFinite(e)&&e>0?e:1}function cb(e){const t=AbortSignal.timeout;if(typeof t=="function")return t.call(AbortSignal,e);const r=new AbortController;return setTimeout(()=>r.abort(),e),r.signal}function db(e){return e===400||e===404||e===410}const hi="__ihab_core_tts_config__";function Gr(){return globalThis[hi]?.urlResolver??null}function wa(){return globalThis[hi]?.fallbackUrlResolver??null}const pb="__ihab_core_pronunciation_resolver__";function hb(){return globalThis[pb]??null}let Jn=null;const Kr=new WeakMap,Mo=new WeakMap,$o=new WeakMap;let mi=!1;const fi=e=>Math.max(0,Math.min(1,Number.isFinite(e)?e:0));function mb(){if(mi||typeof document>"u")return;mi=!0;const e=()=>{try{Jn&&Jn.state!=="running"&&Jn.resume()}catch{}};for(const t of["pointerdown","touchend","keydown"])document.addEventListener(t,e,{capture:!0,passive:!0})}function Ci(){if(Jn)return Jn;try{const e=window.AudioContext||window.webkitAudioContext;return e?(Jn=new e,mb(),Jn):null}catch{return null}}function Lo(){try{Jn?.resume()}catch{}}function Ro(e,t){const r=Kr.get(t);if(r)return r;try{const a=e.createMediaElementSource(t),s=e.createGain(),l=e.createAnalyser();l.fftSize=1024,l.smoothingTimeConstant=.6,s.gain.value=fi(Mo.get(t)??t.volume),a.connect(s),s.connect(l),s.connect(e.destination);try{t.volume=1}catch{}const i={gain:s,analyser:l};return Kr.set(t,i),i}catch{return null}}function Ba(e){if(!e)return Promise.resolve(null);const t=Kr.get(e);if(t)return Promise.resolve(t.analyser);const r=Ci();if(!r)return Promise.resolve(null);if(r.state==="running")return Promise.resolve(Ro(r,e)?.analyser??null);const a=$o.get(e);if(a)return a;const s=Promise.resolve().then(()=>r.resume()).then(()=>r.state==="running"?Ro(r,e)?.analyser??null:null).catch(()=>null).finally(()=>{$o.delete(e)});return $o.set(e,s),s}function fb(e){if(!e)return null;const t=Kr.get(e);if(t)return t.analyser;const r=Ci();return r?r.state==="running"?Ro(r,e)?.analyser??null:(Ba(e),null):null}function Qn(e,t){const r=fi(t);Mo.set(e,r);const a=Kr.get(e);if(a){try{e.volume!==1&&(e.volume=1)}catch{}const s=a.gain.gain;try{const l=a.gain.context.currentTime;s.cancelScheduledValues(l),s.setTargetAtTime(r,l,.01)}catch{try{s.value=r}catch{}}return"gain"}try{e.volume=r}catch{}return"element"}function ka(e){return Mo.get(e)??e.volume}function Cb(e,t){e.getFloatTimeDomainData(t);let r=0;for(let a=0;a<t.length;a++){const s=t[a];r+=s*s}return Math.sqrt(r/t.length)}const gb="__ihab_core_image_config__";function Br(){return globalThis[gb]??null}const gi="word_image_existence_map_v1",bb="ihab:image-existence-updated";let Yr=null;function yb(){Yr!==null&&(clearTimeout(Yr),Yr=null),typeof window<"u"&&window.dispatchEvent(new Event(bb))}function vb(){Yr===null&&(Yr=setTimeout(yb,200))}let lr=null,Po=0;const Zr=new Map;function xb(){if(lr)return lr;try{const e=typeof localStorage<"u"?localStorage.getItem(gi):null,t=e?JSON.parse(e):null,r={};if(t&&typeof t=="object"&&!Array.isArray(t))for(const[a,s]of Object.entries(t))typeof s=="boolean"&&(r[a]=s);lr=r}catch{lr={}}return lr}let Fo=null;function _b(){Fo===null&&(Fo=setTimeout(()=>{Fo=null;try{typeof localStorage<"u"&&lr&&localStorage.setItem(gi,JSON.stringify(lr))}catch{}},200))}function wb(e,t){return`${e}_${t??1}`}async function Bb(e,t,r=!1){const a=xb(),s=wb(e,t);if(!r&&s in a)return a[s];if(!r&&Zr.has(s))return Zr.get(s);const l=Br();if(!l)return!1;let i;try{i=l(e,t)}catch{return!1}if(!i)return!1;let u;try{u=fetch(i,{method:"HEAD",signal:cb(8e3)})}catch{return!1}const c=u.then(p=>p.ok?!0:db(p.status)?!1:null,()=>null).then(p=>Zr.get(s)!==c?p??!1:(Zr.delete(s),p===null?!1:(a[s]=p,Po++,_b(),p)));return Zr.set(s,c),c}async function bi(e,t){const r=Po,a=await Bb(e,t);return Po!==r&&vb(),a}const yi=90;function vi(e){let t=0;for(const r of e){const a=r.codePointAt(0)??0;r===`
838
838
  `||r==="\r"?t+=2:t+=a<128?1:2}return t}function kb(e){return vi(e)>90?"LMS":"SMS"}function xi(e,t=85){const r=vi(e),a=kb(e),s=a==="SMS"?90:2e3,l=typeof t=="number"?t:null;return{bytes:r,type:a,limit:s,over:r>s,target:l,overTarget:l!==null&&r>l}}const Ab=["onset","vowel","coda","glide"],_i="none",Nb={\uCD08\uC131:"onset",\uBAA8\uC74C:"vowel",\uC885\uC131:"coda",\uD65C\uC74C:"glide"},Eb="\uC5C6\uC74C";function jb(e){return Ab.includes(e)}function Db(e){const t={};for(const[r,a]of Object.entries(e)){const s=jb(r)?r:Nb[r];s&&(t[s]=a===Eb?_i:a)}return t}const Sb={\u314F:{nucleus:"\u314F"},\u3151:{glide:"j",nucleus:"\u314F"},\u3153:{nucleus:"\u3153"},\u3155:{glide:"j",nucleus:"\u3153"},\u3157:{nucleus:"\u3157"},\u315B:{glide:"j",nucleus:"\u3157"},\u315C:{nucleus:"\u315C"},\u3160:{glide:"j",nucleus:"\u315C"},\u3161:{nucleus:"\u3161"},\u3163:{nucleus:"\u3163"},\u3150:{nucleus:"\u3154/\u3150"},\u3152:{glide:"j",nucleus:"\u3154/\u3150"},\u3154:{nucleus:"\u3154/\u3150"},\u3156:{glide:"j",nucleus:"\u3154/\u3150"},\u3158:{glide:"w",nucleus:"\u314F"},\u3159:{glide:"w",nucleus:"\u3154/\u3150"},\u315A:{glide:"w",nucleus:"\u3154/\u3150"},\u315D:{glide:"w",nucleus:"\u3153"},\u315E:{glide:"w",nucleus:"\u3154/\u3150"},\u315F:{glide:"w",nucleus:"\u3163"},\u3162:{glide:"\u0270",nucleus:"\u3163"}},wi=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],Bi=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Tb=["","\u3131","\u3132","\u3133","\u3134","\u3135","\u3136","\u3137","\u3139","\u313A","\u313B","\u313C","\u313D","\u313E","\u313F","\u3140","\u3141","\u3142","\u3144","\u3145","\u3146","\u3147","\u3148","\u314A","\u314B","\u314C","\u314D","\u314E"];function Xr(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function Mb(e){const t=Xr(e[0]||"");return t?wi[t.cho]:""}function $b(e){if(!e)return()=>!0;e=e.normalize("NFC");const t=[...e],r=i=>wi.includes(i),a=i=>Bi.includes(i),s=t.map(i=>r(i)?"cho":a(i)?"jung":Xr(i)?"syl":"other"),l=t.map(i=>Xr(i));if(s.includes("other")){const i=e.toLowerCase();return u=>u.normalize("NFC").toLowerCase().includes(i)}return i=>{const u=[...i.normalize("NFC")];for(let c=0;c+t.length<=u.length;c++){let p=!0;for(let h=0;h<t.length;h++){const d=u[c+h],m=s[h];if(m==="cho"){if(Mb(d)!==t[h]){p=!1;break}}else if(m==="jung"){const C=Xr(d);if(!C||Bi[C.jung]!==t[h]){p=!1;break}}else{const C=l[h];if(C&&C.jong===0){const v=Xr(d);if(!v||v.cho!==C.cho||v.jung!==C.jung){p=!1;break}}else if(d!==t[h]){p=!1;break}}}if(p)return!0}return!1}}const Lb={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(Lb).map(([e,t])=>[t.join(""),Tb[Number(e)]]));const Rb="word_pair_index_v2",Pb="word_pair_index_sig_v2";let Aa=null;function Fb(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;for(const t of Object.values(e)){if(t===null||typeof t!="object"||Array.isArray(t))return!1;const r=t;for(const a of["cho","jung","jong"])if(!Array.isArray(r[a])||!r[a].every(s=>typeof s=="string"))return!1}return!0}function Ib(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Rb),t=localStorage.getItem(Pb);if(!e||!t)return null;const r=JSON.parse(e);return Fb(r)?{index:r,sig:t}:null}catch{return null}}function Ob(){if(Aa)return Aa;const e=Ib();return e?(Aa=e.index,e.sig,Aa):null}function zb(e,t,r){return!(e>0)||!(t>0)?1:Math.max(1,Math.floor((e+r)/(t+r)))}function Wb(e,t){if(!(e>0))return 1;const r=Math.max(1,Math.floor(t));if(e<=r)return e;const a=Math.ceil(e/r);return Math.max(1,Math.ceil(e/a))}const Io=/[ㄱ-ㅎ]/,Hb=/[ㅏ-ㅣ]/;function ki(e){e=e.normalize("NFC");for(let t=e.length-1;t>=0;t--){const r=e[t],a=r.charCodeAt(0);if(a>=44032&&a<=55203||Io.test(r)||Hb.test(r))return r}return null}function Vb(e){const t=ki(e);if(!t)return"\uAC00";const r=t.charCodeAt(0);return r>=44032&&r<=55203?(r-44032)%28!==0?"\uC774":"\uAC00":Io.test(t)?"\uC774":"\uAC00"}function qb(e){return`${e}${Vb(e)}`}function Ub(e){const t=ki(e);if(!t)return"\uB97C";const r=t.charCodeAt(0);return r>=44032&&r<=55203?(r-44032)%28!==0?"\uC744":"\uB97C":Io.test(t)?"\uC744":"\uB97C"}function Gb(e){return`${e}${Ub(e)}`}function Kb(e,t,r){const a=e.slice(),[s]=a.splice(t,1);return a.splice(r,0,s),a}function Jr(e,t=Math.random){const r=e.slice();for(let a=r.length-1;a>0;a--){const s=Math.floor(t()*(a+1));[r[a],r[s]]=[r[s],r[a]]}return r}const Yb=()=>{const e="\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",t=typeof Pt?.t=="function"?Pt.t("common.unknownError",{defaultValue:e}):void 0;return typeof t=="string"&&t?t:e};function Oo(e,t){if(t===void 0&&(t=Yb()),e instanceof Error)return e.message||t;if(typeof e=="string")return e||t;if(e&&typeof e=="object"){const r=e;for(const a of[r.message,r.error_description,r.error])if(typeof a=="string"&&a)return a}return t}const Na=e=>e.split("/").filter(t=>t!=="");function Qr(e){const t=Na(e);return t[t.length-1]??e}function Ea(e){const t=Na(e);return t.length>1?t.slice(0,-1).join("/"):null}const zo=(e,t)=>!!e&&(e===t||e.startsWith(t+"/"));function Ai(e){const t=new Set,r=[];for(const a of e){const s=Na(a);for(let l=1;l<=s.length;l+=1){const i=s.slice(0,l).join("/");t.has(i)||(t.add(i),r.push(i))}}return r}function Zb(e,t){return Ai(e).filter(r=>Ea(r)===t)}function Xb(e){const t=Na(e);return t.map((r,a)=>({path:t.slice(0,a+1).join("/"),label:r}))}function Jb(e){const t=Ai(e),r=(a,s)=>t.filter(l=>Ea(l)===a).flatMap(l=>[{path:l,label:Qr(l),depth:s},...r(l,s+1)]);return r(null,0)}const Qb=(e,t)=>Ea(e)!==t&&!(t!==null&&zo(t,e)),ey="__ihab_core_word_pool__";function Ni(){return globalThis[ey]??null}const Ei=globalThis;function ji(e,t){const r=a=>{};try{const a=t();a&&typeof a.catch=="function"&&a.catch(r)}catch(a){r(a)}}function ty(e){ji("time",()=>Ei.__ihabTrainingTimeLogger?.(e))}function ny(e){ji("completion",()=>Ei.__ihabTrainingCompletionLogger?.(e))}const ry="Asia/Seoul",ay=/^(\d{4}-\d{2}-\d{2})[T ](\d{2}:\d{2})(?::(\d{2})(?:\.(\d+))?)?$/;function ea(e){let t;if(e instanceof Date)t=e;else if(typeof e=="string"){const r=e.trim(),a=/^(\d{4}-\d{2}-\d{2})(?:$|[T ])/.exec(r)?.[1];if(a){const l=new Date(`${a}T00:00:00Z`);if(Number.isNaN(l.getTime())||l.toISOString().slice(0,10)!==a)return null}const s=ay.exec(r);t=new Date(s?`${s[1]}T${s[2]}:${s[3]??"00"}${s[4]?`.${s[4].slice(0,3).padEnd(3,"0")}`:""}+09:00`:r)}else t=new Date(e);return Number.isNaN(t.getTime())?null:t}function oy(e){return ea(e)!==null}const sy=e=>ea(e);function Di(e,t){const r=t.startsWith("ko")?"ko-KR":"en-US",a=sy(e);return a?a.toLocaleDateString(r,{timeZone:ry,year:"numeric",month:"short",day:"numeric"}):""}function Wo(e){return e&&e.startsWith("ko")?"ko-KR":e||"en-US"}function ly(e,t,r){return!Number.isFinite(e)||!Number.isFinite(t)||t<1||t>12?`${e}-${t}`:new Intl.DateTimeFormat(Wo(r),{year:"numeric",month:"long"}).format(new Date(e,t-1,1))}function iy(e,t,r){return!Number.isFinite(e)||!Number.isFinite(t)||t<1||t>12?`${e}-${t}`:new Intl.DateTimeFormat(Wo(r),{year:"numeric",month:"short"}).format(new Date(e,t-1,1))}function Si(e,t,r,a){return e("calendar.yearMonth",{year:r,month:a,defaultValue:""})||ly(r,a,t)}function ta(){return Ho(new Date)}function ja(e){return e&&/^\d{4}-\d{2}-\d{2}$/.test(e)&&ea(e)?.toISOString().slice(0,10)===e?e:ta()}function kr(){return cy(ta())}const uy=540*60*1e3;function Ti(e,t,r){return new Date(Date.UTC(e,t,r)-uy)}function cy(e){const[t,r,a]=e.split("-").map(Number);return new Date(t,(r||1)-1,a||1)}function Ho(e){if(e==null||e==="")return"";const t=ea(e);return t?new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t):""}function Mi(e,t){if(!e)return"";const r=ea(e);if(!r)return"";const a=r.getTime(),s=Math.max(0,Math.floor((Date.now()-a)/1e3)),l=Math.floor(s/60),i=Math.floor(l/60),u=Math.floor(i/24),c=Math.floor(u/7),p=Math.floor(u/30),h=Math.floor(u/365);return l<1?t("store.time.justNow","\uBC29\uAE08 \uC804"):l<60?t("store.time.minutesAgo",{n:l}):i<24?t("store.time.hoursAgo",{n:i}):u<7?t("store.time.daysAgo",{n:u}):c<5?t("store.time.weeksAgo",{n:c}):u<365?t("store.time.monthsAgo",{n:Math.min(p,11)}):t("store.time.yearsAgo",{n:h})}function $i(e,t={}){const{sep:r=".",pad:a=!0,trailingDot:s=!1,fallback:l="\u2014"}=t;if(!e)return l;const i=Ho(e instanceof Date?e:String(e));if(!i)return l;const[u,c,p]=i.split("-"),h=a?c:String(Number(c)),d=a?p:String(Number(p));return`${u}${r}${h}${r}${d}${s?".":""}`}function Da(e){if(typeof e=="string"){const t=e.trim();return t&&oy(t)?t:null}if(e instanceof Date)return Number.isNaN(e.getTime())?null:e.toISOString();if(typeof e=="number"&&Number.isFinite(e)){const t=new Date(e);return Number.isNaN(t.getTime())?null:t.toISOString()}return null}function mn(e){return typeof e=="string"?e.trim()||null:typeof e=="number"?String(e):null}function dy(e){for(const t of["correct","isCorrect","heard","judgement"])if(typeof e[t]=="boolean")return e[t];return e.score===1?!0:e.score===0?!1:null}function py(e){return Array.isArray(e)?e.map((t,r)=>{const a=t??{};return{index:r,itemId:mn(a.contextCode)??mn(a.itemId)??mn(a.itemCode)??mn(a.id),question:mn(a.question)??mn(a.q)??mn(a.sentence)??mn(a.text)??mn(a.prompt)??mn(a.word)??mn(a.targetSyllable),answer:mn(a.answer),selected:mn(a.selectedText)??mn(a.selected),correct:dy(a),shownAt:Da(a.shownAt)??Da(a.shown_at),answeredAt:Da(a.answeredAt)??Da(a.answered_at)}}):[]}const Vo=globalThis;async function hy(){try{return await Vo.__ihabNoiseSettingsStore?.load()??null}catch{return null}}function qo(e){const t=r=>{};try{const r=Vo.__ihabNoiseSettingsStore?.save(e);r&&typeof r.catch=="function"&&r.catch(t)}catch(r){t(r)}}function Sa(e){try{Vo.__ihabNoiseSettingsStore?.applied?.(e)}catch{}}async function my(e){if(typeof document<"u"){const t=document.activeElement;let r=null;try{if(r=document.createElement("textarea"),r.value=e,r.setAttribute("readonly",""),r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.opacity="0",r.style.pointerEvents="none",document.body.appendChild(r),r.focus(),r.select(),r.setSelectionRange(0,e.length),document.execCommand("copy"))return!0}catch{}finally{if(r?.parentNode&&r.parentNode.removeChild(r),t&&t!==document.activeElement&&typeof t.focus=="function"&&t.isConnected)try{t.focus({preventScroll:!0})}catch{}}}try{if(typeof navigator<"u"&&navigator.clipboard&&typeof navigator.clipboard.writeText=="function")return await navigator.clipboard.writeText(e),!0}catch{}return!1}function Ar(e){if(!e)return e;const t=e.trim();return/^[₩$]/.test(t)?t:/원\s*$/.test(t)?"\u20A9"+t.replace(/\s*원\s*$/,"").trim():t}function Li(e,t){if(!e)return"-";const r=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!r)return e;const a=Number(r[1]),s=Number(r[2]),l=r[1].padStart(2,"0");return s===0?t("date.timeH",{h:a,hh:l,mm:r[2]}):t("date.timeHM",{h:a,hh:l,m:s,mm:r[2]})}function Uo(e){return(e??0).toLocaleString("ko-KR")}const fy=[{key:"FOOD",label:"\uC74C\uC2DD",icon:"salad",color:"#FF8A65",subs:[{key:"TRKRFD",label:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD"},{key:"MDKRFD",label:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD"},{key:"WRLDFD",label:"\uC138\uACC4\uC758 \uC74C\uC2DD"},{key:"MTRFRT",label:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C"},{key:"GEFDKL",label:"\uC74C\uC2DD \uC0C1\uC2DD"}]},{key:"HLTH",label:"\uAC74\uAC15",icon:"heart",color:"#66BB6A",subs:[{key:"HTETHB",label:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00"},{key:"DISILL",label:"\uBCD1\uACFC \uC9C8\uD658"},{key:"EXCISE",label:"\uC6B4\uB3D9"},{key:"GEHTKL",label:"\uAC74\uAC15\uC0C1\uC2DD"}]},{key:"WETH",label:"\uB0A0\uC528",icon:"sun-medium",color:"#42A5F5",subs:[{key:"GESSKL",label:"\uACC4\uC808\uC0C1\uC2DD"},{key:"SNWRAN",label:"\uB208\uACFC \uBE44"},{key:"WTHFCT",label:"\uC77C\uAE30\uC608\uBCF4"},{key:"GEWTKL",label:"\uB0A0\uC528\uC0C1\uC2DD"}]},{key:"PRSN",label:"\uC778\uBB3C",icon:"user-round",color:"#AB47BC",subs:[{key:"JODYPS",label:"\uC870\uC120\uC2DC\uB300"},{key:"MDKRPS",label:"\uD55C\uAD6D \uADFC\uD604\uB300"},{key:"THKDPS",label:"\uC0BC\uAD6D\uC2DC\uB300"},{key:"WRLART",label:"\uC138\uACC4\uC758 \uC608\uC220\uAC00"},{key:"WRLPSN",label:"\uC138\uACC4\uC758 \uC778\uBB3C"}]},{key:"KRCT",label:"\uD55C\uAD6D\uBB38\uD654",icon:"bow-arrow",color:"#EC407A",subs:[{key:"KRLANG",label:"\uC6B0\uB9AC\uB9D0"},{key:"TRPLCT",label:"\uC804\uD1B5\uB180\uC774"},{key:"HERITG",label:"\uBB38\uD654\uC7AC"},{key:"EVTFES",label:"\uD589\uC0AC\uC640 \uCD95\uC81C"},{key:"GECTKL",label:"\uC0C1\uC2DD"}]},{key:"STRY",label:"\uC774\uC57C\uAE30",icon:"message-circle",color:"#8D6E63",subs:[{key:"FRYTAL",label:"\uB3D9\uD654"},{key:"AMZING",label:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30"},{key:"DAYSTR",label:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30"}]},{key:"LOCA",label:"\uC9C0\uC5ED",icon:"map-pin",color:"#26A69A",subs:[{key:"KRLDMK",label:"\uD55C\uAD6D\uC758 \uBA85\uC18C"},{key:"SELNMK",label:"\uC11C\uC6B8\uC758 \uBA85\uC18C"},{key:"WRDTRB",label:"\uC138\uACC4\uC5EC\uD589"},{key:"NAVIGT",label:"\uAE38 \uCC3E\uAE30"}]},{key:"SOAR",label:"\uC0AC\uD68C\uC640 \uC608\uC220",icon:"landmark",color:"#5C6BC0",subs:[{key:"KRSOCI",label:"\uD55C\uAD6D"},{key:"ECONEW",label:"\uACBD\uC81C\uC640 \uB274\uC2A4"},{key:"GENART",label:"\uC608\uC220"},{key:"GELFKL",label:"\uC0DD\uD65C \uC0C1\uC2DD"}]},{key:"NTSC",label:"\uC790\uC5F0\uACFC \uACFC\uD559",icon:"leaf",color:"#9CCC65",subs:[{key:"ANIMAL",label:"\uB3D9\uBB3C"},{key:"PLANTS",label:"\uC2DD\uBB3C"},{key:"ETHPLT",label:"\uC9C0\uAD6C"},{key:"TOLELC",label:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488"},{key:"GESCKL",label:"\uACFC\uD559\uC0C1\uC2DD"}]},{key:"SPRT",label:"\uC2A4\uD3EC\uCE20",icon:"trophy",color:"#FFCA28",subs:[{key:"INVDSP",label:"\uAC1C\uC778\uACBD\uAE30"},{key:"MARART",label:"\uACA9\uD22C\uAE30"},{key:"TEAMSP",label:"\uB2E8\uCCB4\uACBD\uAE30"},{key:"FOOTBL",label:"\uCD95\uAD6C"},{key:"GESPKL",label:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}]}],Cy=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"audio-lines",desc:"\uC18C\uC74C \uD658\uACBD \uC18D \uBB38\uC7A5 \uC774\uD574 \uD6C8\uB828"},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30 + 4\uBB38\uC81C"},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30 \uC2EC\uD654 \uD6C8\uB828"},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC21C\uC11C \uBC30\uC5F4 \uD6C8\uB828"}];function Ri(){return fy}function gy(){return Cy}const by=[],yy=[],vy=[],xy=[];function _y(){return{LISTEN_IN_NOISE:by,SHORT_STORY:yy,LONG_STORY:vy,ORDERING_SENTENCE:xy}}const wy=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"audio-lines",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}],Pi={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function By(e){return wy.map(t=>{const r=Pi[t.key];return r?{...t,label:e(`trainingType.${r}.title`),desc:e(`trainingType.${r}.desc`)}:t})}var ky={statusFilter:"\uC0C1\uD0DC \uD544\uD130",pageSizeSelect:"\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218",selectedCount:"{{count}}\uAC1C \uC120\uD0DD\uB428",selectedOfMax:"\uCD5C\uB300 {{max}}\uAC1C \uC911 {{count}}\uAC1C",cancel:"\uCDE8\uC18C",info:"\uC124\uBA85",errorState:{message:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",retry:"\uB2E4\uC2DC \uC2DC\uB3C4"},save:"\uC800\uC7A5",confirm:"\uD655\uC778",discardConfirm:{title:"\uC785\uB825\uC744 \uCDE8\uC18C\uD560\uAE4C\uC694?",body:"\uC800\uC7A5\uD558\uC9C0 \uC54A\uC73C\uBA74 \uC9C0\uAE08\uAE4C\uC9C0 \uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",confirm:"\uC785\uB825 \uCDE8\uC18C"},close:"\uB2EB\uAE30",back:"\uB4A4\uB85C",emptyTrainingName:"\uD6C8\uB828 \uC774\uB984\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",remove:"\uC81C\uAC70",image:"\uC774\uBBF8\uC9C0",delete:"\uC0AD\uC81C",reset:"\uCD08\uAE30\uD654",update:"\uC5C5\uB370\uC774\uD2B8",download:"\uB2E4\uC6B4\uB85C\uB4DC",likeCount:"\uC88B\uC544\uC694 {{count}}",downloadCount:"\uAC00\uC838\uAC04 \uC218 {{count}}",descriptionFor:"{{name}} \uC124\uBA85",search:"\uAC80\uC0C9",empty:"\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",yes:"\uC608",no:"\uC544\uB2C8\uC624",all:"\uC804\uCCB4",none:"\uC5C6\uC74C",days:"{{count}}\uC77C",loadMore:"\uB354\uBCF4\uAE30",more:"\uB354\uBCF4\uAE30",moreFor:"{{name}} \uB354\uBCF4\uAE30",collapseFor:"{{name}} \uC811\uAE30",expandFor:"{{name}} \uD3BC\uCE58\uAE30",sortFor:"{{name}} \uC815\uB82C",retry:"\uB2E4\uC2DC \uC2DC\uB3C4",prevPage:"\uC774\uC804 \uD398\uC774\uC9C0",nextPage:"\uB2E4\uC74C \uD398\uC774\uC9C0",play:"\uC7AC\uC0DD",loading:"\uBD88\uB7EC\uC624\uB294 \uC911",playFor:"{{name}} \uC7AC\uC0DD",pauseFor:"{{name}} \uBA48\uCDA4",pause:"\uBA48\uCDA4",playPause:"\uC7AC\uC0DD / \uBA48\uCDA4",replay:"\uB2E4\uC2DC\uB4E3\uAE30",subscription:"\uC774\uC6A9\uAD8C",done:"\uC644\uB8CC",failed:"\uC2E4\uD328",continue:"\uACC4\uC18D",notification:"\uC54C\uB9BC",emptyList:"\uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",noMatches:"\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",menu:"\uBA54\uB274",resetSelection:"\uC120\uD0DD \uCD08\uAE30\uD654",pageSizeLabel:"{{n}}\uAC1C\uC529 \uBCF4\uAE30",totalCountPrefix:"\uCD1D ",totalCountSuffix:"\uAC1C",expand:"\uD3BC\uCE58\uAE30",collapse:"\uC811\uAE30",popup:"\uD31D\uC5C5",codeBlock:"\uCF54\uB4DC \uBE14\uB85D",totalPrefix:"\uCD1D ",copyCode:"\uCF54\uB4DC \uBCF5\uC0AC",copied:"\uBCF5\uC0AC\uB428",col:{problem:"\uBB38\uC81C"},phonetics:{place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"},vowel:{frontHigh:"\uC804\uC124 \uACE0\uBAA8\uC74C",backHighUnrounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C",backHighRounded:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C",frontMid:"\uC804\uC124 \uC911\uBAA8\uC74C",backMidUnrounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C",backMidRounded:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C",low:"\uC800\uBAA8\uC74C"},glide:{j:"j\uD65C\uC74C",w:"w\uD65C\uC74C",velar:"\u0270\uD65C\uC74C"}},unknownError:"\uC54C \uC218 \uC5C6\uB294 \uC624\uB958",networkError:"\uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC774 \uBD88\uC548\uC815\uD569\uB2C8\uB2E4. \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.",add:"\uCD94\uAC00"},Ay={rangeSelect:"\uAE30\uAC04 \uC120\uD0DD",dow:["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"],weekOrdinal:["\uCCAB\uC9F8","\uB458\uC9F8","\uC14B\uC9F8","\uB137\uC9F8","\uB2E4\uC12F\uC9F8","\uC5EC\uC12F\uC9F8","\uC77C\uACF1\uC9F8"],yearMonthCompact:"{{year}}.{{month}}",weekLabel:"{{ord}}\uC8FC",weekLabelCompact:"{{ord}}\uC8FC",prevMonth:"\uC774\uC804 \uB2EC",addOnDate:"{{date}}\uC5D0 \uBC29\uBB38 \uB4F1\uB85D",nextMonth:"\uB2E4\uC74C \uB2EC",prevWeek:"\uC774\uC804 \uC8FC",nextWeek:"\uB2E4\uC74C \uC8FC",legend:{visited:"\uBC29\uBB38",scheduled:"\uC608\uC57D",noVisit:"\uBBF8\uBC29\uBB38"},periodSelect:"\uAE30\uAC04 \uB2E8\uC704",visitCount:"\uBC29\uBB38 {{count}}\uAC74",statusCount:"{{label}} {{count}}\uAC74"},Ny={planSuffix:"\uC774\uC6A9\uAD8C",labeledPlan:"{{label}} \uC774\uC6A9\uAD8C",couponCode:"\uC774\uC6A9\uAD8C \uCF54\uB4DC",specialLabel:"\uC624\uD508\uD2B9\uAC00",unitDay:"\uC77C",unitYear:"\uB144",remainingDay:"{{n}}\uC77C \uB0A8\uC74C",remainingHour:"{{n}}\uC2DC\uAC04 \uB0A8\uC74C",remainingMinute:"{{n}}\uBD84 \uB0A8\uC74C",remainingSecond:"{{n}}\uCD08 \uB0A8\uC74C",expired:"\uB9CC\uB8CC\uB428",menu:{use:"\uC0AC\uC6A9\uD558\uAE30",refund:"\uD658\uBD88\uD558\uAE30",delete:"\uC0AD\uC81C\uD558\uAE30"}},Ey={starLabel:"{{n}}\uBC88\uC9F8 \uBCC4 \uC120\uD0DD",valueLabel:"{{max}}\uC810 \uB9CC\uC810\uC5D0 {{value}}\uC810",groupLabel:"\uBCC4\uC810"},jy={selected:"\uC120\uD0DD\uB428"},Dy={placeholder:"\uC120\uD0DD"},Sy={collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},Ty={biArea:"BI \uC601\uC5ED",biSymbol:"BI \uC2EC\uBCFC",logoMalgwi:"\uB9D0\uADC0 \uB85C\uACE0",logoManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0",menuOpen:"\uBA54\uB274 \uC5F4\uAE30",utilMenu:"\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274",menuClose:"\uBA54\uB274 \uB2EB\uAE30"},My={mainMenu:"\uBA54\uC778 \uBA54\uB274",bottomNav:"\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158",goToManager:"\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9",goToMalgwi:"\uB9D0\uADC0\uB85C \uC774\uB3D9",modeLabelManager:"\uB9D0\uADC0 \uB9E4\uB2C8\uC800",modeLabelMalgwi:"\uB9D0\uADC0",training:"\uD6C8\uB828",settings:"\uC124\uC815",notifications:"\uC54C\uB9BC",account:"\uACC4\uC815",help:"\uB3C4\uC6C0\uB9D0",feedback:"\uBC84\uADF8\uC2E0\uACE0",debug:"\uB514\uBC84\uADF8",coupons:"\uCFE0\uD3F0",topic:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",trainingType:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",wordPairs:"\uB300\uB9BD\uC30D \uCC3E\uAE30",wordSearch:"\uB2E8\uC5B4 \uCC3E\uAE30",wordTable:"\uB2E8\uC5B4\uD45C \uB9CC\uB4E4\uAE30",company:"\uC5C5\uCCB4\uC815\uBCF4",more:"\uB354\uBCF4\uAE30",moreMenu:"\uB354\uBCF4\uAE30 \uBA54\uB274",badgeLabel:"{{label}}, {{count}}\uAC1C",badgeInsideLabel:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"},$y={cache:{cleared:"\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",group:{wordData:{label:"\uB2E8\uC5B4 \uB370\uC774\uD130",sub:"\uB2E8\uC5B4 \uBAA9\uB85D \uBC0F \uBC84\uC804 \uC815\uBCF4"},pairIndex:{label:"\uB2E8\uC5B4\uC30D \uC778\uB371\uC2A4",sub:"\uCD08\uC131\xB7\uC911\uC131\xB7\uC885\uC131 \uB300\uB9BD\uC30D \uBD84\uC11D \uCE90\uC2DC"},imageCache:{label:"\uC774\uBBF8\uC9C0 \uCE90\uC2DC",sub:"\uB2E8\uC5B4\uBCC4 \uC774\uBBF8\uC9C0 \uC874\uC7AC \uC5EC\uBD80 \uD655\uC778 \uACB0\uACFC"}}}},Ly={couponButton:"\uCFE0\uD3F0 \uC785\uB825"},Ry={security:{password:{currentRequired:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",newRequired:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694.",mismatch:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",changed:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}}},Py={settings:"\uC124\uC815",filter:{random:"\uBB34\uC791\uC704",trainOnset:"\uCD08\uC131",trainVowel:"\uBAA8\uC74C",trainCoda:"\uC885\uC131",phonemeGroup:"\uD6C8\uB828 \uC74C\uC808",noLimit:"\uBB34\uAD00",codaExclude:"\uC81C\uC678",gradeLabel:"\uB09C\uC774\uB3C4",excludeImageInfo:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",sameStructureInfo:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694.",selectSection:"\uC120\uD0DD",excludeImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",sameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},noQuestions:"\uBB38\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",countQuestions:"{{n}}\uBB38\uC81C",countSentences:"{{n}}\uBB38\uC7A5",nextQuestion:"\uB2E4\uC74C \uBB38\uC81C",noiseRatioTitle:"\uC18C\uC74C \uBE44\uC728",noiseRatioValue:"{{ratio}}\uBC30",noiseTypeTitle:"\uC18C\uC74C \uC885\uB958",playVolumeTitle:"\uC804\uCCB4 \uC18C\uB9AC",playSpeedTitle:"\uC7AC\uC0DD \uC18D\uB3C4",meter:{sentence:"\uC7AC\uC0DD",noise:"\uC18C\uC74C",toggle:"\uC624\uB514\uC624 \uBBF8\uD130 \uD45C\uC2DC"},viewResult:"\uACB0\uACFC\uBCF4\uAE30",problemNotice:"{{n}}\uBC88 \uBB38\uC81C \uC785\uB2C8\uB2E4.",trainingSettingsTitle:"\uD6C8\uB828 \uC124\uC815",sentencePreview:"\uBB38\uC7A5 \uBBF8\uB9AC\uBCF4\uAE30",notHeard:"\uC548 \uB4E4\uB838\uC5B4\uC694.",heardWell:"\uC798 \uB4E4\uB838\uC5B4\uC694.",confirmTitle:"\uBB38\uC7A5\uC744 \uD655\uC778\uD558\uACE0 \uC798 \uB4E4\uB838\uB294\uC9C0 \uC120\uD0DD\uD558\uC138\uC694.",noSoundWaveform:"\uC18C\uB9AC \uBE44\uAD50 \uBB38\uC81C\uB294 \uC6E8\uC774\uBE0C\uD3FC\uC744 \uD45C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",noise:{level:{none:"\uC5C6\uC74C",weak:"\uC57D\uD568",medium:"\uBCF4\uD1B5",strong:"\uAC15\uD568",veryStrong:"\uB9E4\uC6B0 \uAC15\uD568"},type:{none:"\uC5C6\uC74C",default:"\uAE30\uBCF8",street:"\uAE38\uAC70\uB9AC",buzz:"\uC640\uAE00\uC640\uAE00",restaurant:"\uC2DD\uB2F9"}},listenTitle:"\uC81C\uC2DC\uD558\uB294 \uBB38\uC7A5\uC744 \uB4E4\uC5B4\uC8FC\uC138\uC694.",listenButton:"\uBB38\uC7A5 \uB4E3\uAE30",playSound:"\uC18C\uB9AC \uB4E3\uAE30",playSoundFor:"{{name}} \uC18C\uB9AC \uB4E3\uAE30",playAll:"\uBAA8\uB450 \uB4E3\uAE30",selectInOrder:"\uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694.",stop:"\uC815\uC9C0",preview:"\uBBF8\uB9AC \uB4E3\uAE30",previewFor:"{{name}} \uBBF8\uB9AC \uB4E3\uAE30",stopFor:"{{name}} \uC815\uC9C0",next:"\uB2E4\uC74C",completed:"\uD6C8\uB828 \uC644\uB8CC",selected:"\uC120\uD0DD\uB428",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD",fontSizeMin:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uC18C\uC785\uB2C8\uB2E4.",fontSizeMax:"\uAE00\uC528 \uD06C\uAE30\uAC00 \uCD5C\uB300\uC785\uB2C8\uB2E4.",fontSizeDecrease:"\uAE00\uC790 \uD06C\uAE30 \uAC10\uC18C",fontSizeIncrease:"\uAE00\uC790 \uD06C\uAE30 \uC99D\uAC00",toggleBackground:"\uBC30\uACBD \uC804\uD658",cardInstructions:"\uB0B1\uB9D0 \uCE74\uB4DC\uB97C \uBCF4\uACE0 \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uD655\uC778\uD558\uC138\uC694.",noCards:"\uCE74\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",audioFetchError:"\uC0AC\uC6B4\uB4DC \uC18C\uC2A4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ttsUnavailable:"\uC774 \uAE30\uAE30\uC5D0\uC11C\uB294 \uC74C\uC131\uC744 \uB4E4\uB824\uC904 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",selectConfirm:"\uBB38\uC81C\uB97C \uBCF4\uACE0 \uD574\uB2F9\uD558\uB294 \uB0B4\uC6A9\uC744 \uC120\uD0DD\uD558\uC138\uC694.",orderListDefault:"\uBB38\uC7A5\uC744 \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uBC30\uCE58\uD558\uC138\uC694.",result:{pendingDone:"\uACB0\uACFC\uB97C \uACC4\uC0B0\uD558\uB294 \uC911\uC774\uB77C \uC544\uC9C1 \uC644\uB8CC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",eyebrow:"\uD6C8\uB828 \uC644\uB8CC",title:"\uD6C8\uB828\uC744 \uBAA8\uB450 \uB9C8\uCCE4\uC2B5\uB2C8\uB2E4.",scoreAria:"{{correct}} / {{total}} \uBB38\uD56D",elapsed:"\uC18C\uC694 \uC2DC\uAC04",tableAriaLabel:"\uBB38\uD56D\uBCC4 \uD310\uC815",colJudge:"\uD310\uC815",colAnswerSelected:"\uC815\uB2F5 \xB7 \uC120\uD0DD",colAnswer:"\uC815\uB2F5",colSelected:"\uC120\uD0DD",heardWell:"\uC798 \uB4E4\uC5C8\uC5B4\uC694",notHeard:"\uBABB \uB4E4\uC5C8\uC5B4\uC694",notJudged:"\uBBF8\uD310\uC815",replay:"\uB2E4\uC2DC\uD558\uAE30",replaySound:"{{no}}\uBC88 \uB2E4\uC2DC \uB4E3\uAE30",replaySoundStop:"{{no}}\uBC88 \uB4E3\uAE30 \uBA48\uCDA4",done:"\uC644\uB8CC",noContent:"(\uB0B4\uC6A9\uC5C6\uC74C)"},up:"\uC704\uB85C",down:"\uC544\uB798\uB85C",prev:"\uC774\uC804",listenLabel:"\uBB38\uC7A5 \uB4E3\uAE30",sourcePlay:"\uC18C\uC2A4 {{n}} \uC7AC\uC0DD",listen:"\uB4E3\uAE30",audioStatus:{synthesizing:"\uC18C\uB9AC\uB97C \uB9CC\uB4E4\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026",preparing:"\uC18C\uB9AC\uB97C \uC900\uBE44\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4\u2026"}},Fy={totalCount:"\uBA85\uC758 \uACE0\uAC1D",loadError:"\uBAA9\uB85D\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",device:{title:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30",addButton:"\uAE30\uAE30 \uCD94\uAC00",historyEmpty:"\uB4F1\uB85D\uB41C \uAE30\uAE30 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",wearing:"\uCE21 \uCC29\uC6A9\uC911",notRegistered:"\uBBF8\uB4F1\uB85D",unit:"\uAC1C",wearingNow:"\uCC29\uC6A9",wear:"\uCC29\uC6A9",unwear:"\uCC29\uC6A9 \uD574\uC81C",wornSince:"{{date}}\uBD80\uD130",historyTitle:"\uCCAD\uAC01\uC7AC\uD65C\uAE30\uAE30 \uC774\uB825"},schedule:{registerTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC608\uC815 \uB4F1\uB85D"},visitHistory:{empty:"\uC544\uC9C1 \uBC29\uBB38 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",popupTitle:" \uACE0\uAC1D\uB2D8 \uBC29\uBB38 \uC774\uB825",registerTitle:" \uACE0\uAC1D\uB2D8 \uC2E0\uADDC \uBC29\uBB38 \uB4F1\uB85D"},moreItems:"\uB354 \uC788\uC74C",viewAll:"\uC804\uCCB4 \uBCF4\uAE30",duration:{minSec:"{{m}}\uBD84 {{s}}\uCD08",min:"{{m}}\uBD84",sec:"{{s}}\uCD08"},consent:{record:"\uB3D9\uC758 \uBC1B\uAE30",kinds:"\uBC1B\uC740 \uAC08\uB798",methodTitle:"\uBC1B\uC740 \uBC29\uBC95",sourceTitle:"\uC218\uC9D1 \uCD9C\uCC98",day:"\uBC1B\uC740 \uB0A0",note:"\uBA54\uBAA8",notePlaceholder:"\uC758\uB8B0\uAE30\uAD00 \uC774\uB984 \uB4F1 \u2014 \uBBFC\uAC10\uD55C \uB0B4\uC6A9\uC740 \uC801\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",submit:"\uC800\uC7A5\uD558\uAE30",allTaken:"\uC138 \uAC08\uB798\uB97C \uC774\uBBF8 \uB2E4 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBC1B\uC73C\uB824\uBA74 \uBA3C\uC800 \uCCA0\uD68C\uD558\uC138\uC694.",kind:{personal:"\uC77C\uBC18 \uAC1C\uC778\uC815\uBCF4",sensitive:"\uBBFC\uAC10\uC815\uBCF4(\uCCAD\uB825\xB7\uC9C4\uB2E8)",marketing:"\uAD11\uACE0\uC131 \uC815\uBCF4 \uC218\uC2E0"},method:{paper:"\uC11C\uBA74",verbal:"\uAD6C\uB450",electronic:"\uC804\uC790"},source:{self:"\uBCF8\uC778",guardian:"\uBCF4\uD638\uC790",referral:"\uC758\uB8B0\uAE30\uAD00"}}},Iy={plan:{recommendedFor:"\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.",features:"\uD575\uC2EC \uAE30\uB2A5",freePrice:"\uBB34\uB8CC",contact:"\uBB38\uC758\uD558\uAE30",tierFallback:"\uC774\uC6A9\uAD8C",openPromo:"\uC624\uD508 \uD2B9\uAC00"},products:{mgrEnterprise:{tier:{price:"\uBB38\uC758"}}}},Oy={input:{label:"\uCFE0\uD3F0 \uCF54\uB4DC",placeholder:"\uCFE0\uD3F0 \uCF54\uB4DC \uC785\uB825"},applyButton:"\uC801\uC6A9"},zy={showN:"{{n}}\uAC1C\uC529"},Wy={title:"\uD6C8\uB828\uBCC4 \uB4E3\uAE30",subtitle:"\uC6D0\uD558\uB294 \uD6C8\uB828 \uC720\uD615\uC744 \uC120\uD0DD\uD558\uC138\uC694.",listenInNoise:{title:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},shortStory:{title:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uC774\uD574\uD569\uB2C8\uB2E4."},longStory:{title:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uC9D1\uC911\uD574\uC11C \uB4E3\uACE0 \uB0B4\uC6A9\uC744 \uD30C\uC545\uD569\uB2C8\uB2E4."},orderingSentence:{title:"\uBB38\uC7A5 \uC21C\uC11C\uD654",desc:"\uB4E4\uC740 \uBB38\uC7A5\uB4E4\uC744 \uC62C\uBC14\uB978 \uC21C\uC11C\uB85C \uBC30\uC5F4\uD569\uB2C8\uB2E4."},SAME_SOUND_PICK:{label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},SAME_OR_DIFF:{label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",sub:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},HEAR_AND_PICK_SAME:{label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},HEAR_AND_PICK_INCLUDED:{label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},STARTS_WITH_SAME_SOUND:{label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",sub:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."},LISTEN_AND_REMEMBER_ORDER:{label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",sub:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."},MERGE_2_SYLLABLES:{label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_SYLLABLES:{label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},MERGE_2_PHONEMES:{label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",sub:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},MERGE_3_PHONEMES:{label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",sub:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_1_FROM_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uD0C8\uB77D",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},DROP_PART_FROM_COMPOUND:{label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84 \uD0C8\uB77D",sub:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},DROP_FINAL_CONSONANT_FROM_1SYLL:{label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",sub:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",sub:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"},CHANGE_1_SYLL_IN_2SYLL:{label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_SYLL_IN_3SYLL:{label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",sub:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_1SYLL:{label:"1\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},CHANGE_1_PHONEME_IN_2SYLL:{label:"2\uC74C\uC808 \uB2E8\uC5B4 \uC911 1\uAC1C \uC74C\uC18C \uBC14\uAFB8\uAE30",sub:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}},Hy={newBadge:"\uC0C8\uB85C \uB9CC\uB4E0 \uD45C",publishedBadge:"\uBC1C\uD589\uB428",sharedBadge:"\uACF5\uC720 \uC911"},Vy={title:"\uC8FC\uC694 \uB2E8\uC5B4",empty:"\uCD94\uCD9C\uB41C \uC8FC\uC694 \uB2E8\uC5B4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},qy={defaultName:"\uB2E8\uC5B4 \uD45C",title:"\uB2E8\uC5B4 \uD45C \uB9CC\uB4E4\uAE30",subtitle:"\uCE78\uC744 \uC124\uC815\uD558\uACE0 \uB2E8\uC5B4\uB97C \uCD94\uAC00\uD558\uC5EC \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4.",filterTitle:"\uD45C \uC124\uC815",filter:{composition:"\uAD6C\uC131",image:"\uC774\uBBF8\uC9C0",word:"\uB2E8\uC5B4",caption:"\uC720\uD615",standardPron:"\uD45C\uC900 \uBC1C\uC74C",colloquialPron:"\uAD6C\uC5B4\uCCB4 \uBC1C\uC74C",paperOrientation:"\uC6A9\uC9C0 \uBC29\uD5A5",landscape:"\uAC00\uB85C",portrait:"\uC138\uB85C",columns:"\uCE78 \uC218",column:"{{count}}\uCE78",itemsPerPageWord:"\uD398\uC774\uC9C0\uB2F9 \uB2E8\uC5B4 \uC218",itemsPerPagePair:"\uD398\uC774\uC9C0\uB2F9 \uB300\uB9BD\uC30D \uC218",itemsPerPageOption:"{{count}}\uAC1C",pageIndicator:"{{current}} / {{total}}",pageNumber:"\uD398\uC774\uC9C0 \uBC88\uD638",pageNumberLeft:"\uC67C\uCABD",pageNumberCenter:"\uC911\uC559",pageNumberRight:"\uC624\uB978\uCABD",border:"\uC678\uACFD\uC120",topInfo:"\uC0C1\uB2E8 \uC815\uBCF4",bottomInfo:"\uD558\uB2E8 \uC815\uBCF4",cutLine:"\uC808\uCDE8\uC120",show:"\uD45C\uC2DC",hide:"\uBBF8\uD45C\uC2DC",dotted:"\uC810\uC120",corner:"\uCF54\uB108"},addWord:"\uCD94\uAC00\uD558\uAE30",copyItem:"\uD55C \uCE78 \uB354",copyItemAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uD55C \uCE78 \uB354",wordInfo:"{{word}} \uB0B1\uB9D0 \uC815\uBCF4",emptyItems:"\uB2E8\uC5B4\uB97C 1\uAC1C \uC774\uC0C1 \uCD94\uAC00\uD574\uC8FC\uC138\uC694.",load:"\uBD88\uB7EC\uC624\uAE30",openNewWindow:"\uC0C8 \uCC3D\uC73C\uB85C \uBCF4\uAE30",saveButton:"\uC800\uC7A5\uD558\uAE30",saveAsNewButton:"\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5",print:"\uC778\uC1C4\uD558\uAE30",popupBlocked:"\uD31D\uC5C5\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBE0C\uB77C\uC6B0\uC800 \uC124\uC815\uC5D0\uC11C \uD31D\uC5C5\uC744 \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",printFileNameSingle:"\uB2E8\uC5B4\uD45C",printFileNamePair:"\uB300\uB9BD\uC30D\uD45C",save:{title:"\uB2E8\uC5B4\uD45C \uC800\uC7A5\uD558\uAE30",nameLabel:"\uC774\uB984",desc:"\uC800\uC7A5\uD560 \uB2E8\uC5B4 \uD45C\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC81C\uBAA9\uC744 \uC785\uB825\uD558\uC138\uC694.",descriptionLabel:"\uC124\uBA85",descriptionPlaceholder:"\uC774 \uB2E8\uC5B4\uD45C\uC5D0 \uB300\uD55C \uC124\uBA85\uC744 \uC785\uB825\uD558\uC138\uC694.",duplicateName:"\uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC778 \uC774\uB984\uC785\uB2C8\uB2E4.",nameRequired:"\uD45C \uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.",autoFillHint:" (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)",copyName:"{{name}} (\uBCF5\uC0AC)"},loadTable:{title:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C \uBD88\uB7EC\uC624\uAE30",empty:"\uC800\uC7A5\uB41C \uB2E8\uC5B4 \uD45C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",loadButton:"\uBD88\uB7EC\uC624\uAE30",itemCount:"{{count}}\uAC1C",deleteAriaLabel:"{{name}} \uC0AD\uC81C",viewLabel:"\uBCF4\uAE30 \uBC29\uC2DD",sortLabel:"\uC815\uB82C",sort:{newest:"\uCD5C\uC2E0\uC21C",oldest:"\uC624\uB798\uB41C\uC21C",name:"\uC774\uB984\uC21C",count:"\uB2E8\uC5B4 \uC218"},view:{grid:"\uD45C\uB85C \uBCF4\uAE30",list:"\uB9AC\uC2A4\uD2B8\uB85C \uBCF4\uAE30"}},publisherFilter:"{{name}} \uAC8C\uC2DC\uD55C \uAC83\uB9CC \uBCF4\uAE30",groupDeleteMessage:"\uADF8\uB8F9 \uB0B4 \uB2E8\uC5B4\uD45C\uB294 '\uADF8\uB8F9 \uC5C6\uC74C'\uC73C\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",groupNamePlaceholder:"\uADF8\uB8F9 \uC774\uB984",scoring:{o:"{{word}} \uB9DE\uC74C",triangle:"{{word}} \uC560\uB9E4",x:"{{word}} \uD2C0\uB9BC",markName:{o:"\uB9DE\uC74C",triangle:"\uC560\uB9E4",x:"\uD2C0\uB9BC"},button:"\uCC44\uC810\uD558\uAE30",pickTitle:"\uB204\uAD6C\uB97C \uCC44\uC810\uD560\uAE4C\uC694?",pickSubtitle:"\u2018{{name}}\u2019 \uD45C\uB85C \uD6C8\uB828\uD55C \uACE0\uAC1D\uC744 \uACE0\uB974\uC138\uC694.",pickSearch:"\uC774\uB984 \uB610\uB294 \uC804\uD654\uBC88\uD638\uB85C \uCC3E\uAE30",pickEmpty:"\uB4F1\uB85D\uB41C \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickNoMatch:"\uCC3E\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",pickAgain:"\uACE0\uAC1D \uB2E4\uC2DC \uACE0\uB974\uAE30",scoringFor:"{{name}} \uB2D8 \uCC44\uC810 \uC911",none:"\uCE78 \uC544\uB798 \u25CB \xB7 \u25B3 \xB7 \u2715 \uB97C \uB20C\uB7EC \uB9E4\uAE30\uC138\uC694. \uB9C8\uC6B0\uC2A4\uB85C\uB294 \uCE78\uC5D0 \uC190\uC744 \uC5B9\uC73C\uBA74, \uC790\uD310\uC73C\uB85C\uB294 \uCE78\uC5D0 \uCD08\uC810\uC774 \uAC00\uBA74 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",tally:"{{marked}}\uCE78 \uCC44\uC810 \xB7 \u25CB {{o}} \xB7 \u25B3 {{triangle}} \xB7 \u2715 {{x}} \xB7 \uC815\uB2F5\uB960 {{rate}}%",save:"\uCC44\uC810 \uC800\uC7A5",saved:"{{name}} \uB2D8\uC758 \uCC44\uC810 {{count}}\uCE78\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",reviewTitle:"\uBCF5\uC2B5\uD45C\uB97C \uB9CC\uB4E4\uAE4C\uC694?",reviewMessage:"{{name}} \uB2D8\uC774 \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC73C\uB85C \uC0C8 \uD45C\uB97C \uB9CC\uB4ED\uB2C8\uB2E4. \uB9DE\uD78C \uCE78\uC740 \uBE60\uC9D1\uB2C8\uB2E4.",reviewConfirm:"\uBCF5\uC2B5\uD45C \uB9CC\uB4E4\uAE30",reviewDescription:"\u2018{{name}}\u2019 \uCC44\uC810\uC5D0\uC11C \uD2C0\uB9AC\uAC70\uB098 \uC560\uB9E4\uD588\uB358 {{count}}\uCE78\uC744 \uBAA8\uC740 \uD45C\uC785\uB2C8\uB2E4.",reviewCreated:"\u2018{{name}}\u2019\uC744(\uB97C) \uB9CC\uB4E4\uC5C8\uC2B5\uB2C8\uB2E4 \u2014 {{count}}\uCE78.",discardTitle:"\uB9E4\uAE34 \uCC44\uC810\uC744 \uBC84\uB9B4\uAE4C\uC694?",discardMessage:"{{count}}\uCE78\uC744 \uB9E4\uACBC\uC9C0\uB9CC \uC544\uC9C1 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uB098\uAC00\uBA74 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",discardConfirm:"\uBC84\uB9AC\uACE0 \uB098\uAC00\uAE30"},info:{grade:"\uB09C\uC774\uB3C4: {{n}}\uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218: {{n}}\uC74C\uC808",pos:"\uD488\uC0AC: {{v}}",wordType:"\uC720\uD615: {{v}}"},pos:{noun:"\uBA85\uC0AC",verb:"\uB3D9\uC0AC",adjective:"\uD615\uC6A9\uC0AC",adverb:"\uBD80\uC0AC",numeral:"\uC218\uC0AC",determiner:"\uAD00\uD615\uC0AC",interjection:"\uAC10\uD0C4\uC0AC",particle:"\uC870\uC0AC",affix:"\uC811\uC0AC",dependentNoun:"\uC758\uC874\uBA85\uC0AC",pronoun:"\uB300\uBA85\uC0AC",auxVerb:"\uBCF4\uC870\uB3D9\uC0AC",auxAdjective:"\uBCF4\uC870\uD615\uC6A9\uC0AC"},reorder:{moved:"{{total}}\uCE78 \uAC00\uC6B4\uB370 {{n}}\uBC88\uC9F8\uB85C \uC62E\uAE40",handle:"{{word}} \uC21C\uC11C \uBC14\uAFB8\uAE30 (Alt + \uD654\uC0B4\uD45C)",hint:"Alt + \u2190 \u2192 \uB85C \uC21C\uC11C \uBC14\uAFB8\uAE30"},thumbMore:"+{{count}}",replaceItem:"\uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePair:"\uB2E4\uB978 \uC30D\uC73C\uB85C",replaceItemAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uB2E8\uC5B4\uB85C",replacePairAria:"{{n}}\uBC88 \uCE78\uB9CC \uB2E4\uB978 \uC30D\uC73C\uB85C",thumbMoreAria:"\uADF8 \uBC16 {{count}}\uCE78: {{words}}",pickForm:"\uB2E4\uB978 \uAF34\uB85C",pickFormAria:"{{n}}\uBC88 \uCE78 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C",pickFormBaseAria:"\uAE30\uBCF8\uD615 \uB0B1\uB9D0\uC744 \uB2E4\uB978 \uAF34\uB85C"},Uy={filterTitle:"\uB2E8\uC5B4 \uAC80\uC0C9 \uC124\uC815",filter:{positionAny:"\uBB34\uAD00",positionHead:"\uC5B4\uB450",positionMid:"\uC5B4\uC911",positionTail:"\uC5B4\uB9D0",difficulty:"\uB09C\uC774\uB3C4",grade:"{{n}}\uB4F1\uAE09",age:"{{n}}\uC138",agePlus:"{{n}}\uC138 \uC774\uC0C1",ageRange:"{{from}}\uC138~{{to}}\uC138",difficultyInfoAge:"3\uC138~7\uC138: \uAC00\uC7A5 \uC26C\uC6B4 \uB0B1\uB9D0(1\uB4F1\uAE09)\uC744 \uB610\uB798\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoGrade:"2~4\uB4F1\uAE09: \uADF8\uBCF4\uB2E4 \uC5B4\uB824\uC6B4 \uB0B1\uB9D0\uC774\uACE0, \uB098\uC774\uB85C\uB294 \uB098\uB204\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",difficultyInfoNone:"\uC5C6\uC74C: \uB09C\uC774\uB3C4\uAC00 \uB9E4\uACA8\uC9C0\uC9C0 \uC54A\uC740 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAge:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC744 \uB098\uC774\uBCC4\uB85C \uB098\uB208 \uAC83\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandGrade:"{{grade}}: {{ages}} \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",difficultyInfoBandAgeNamed:"{{ages}}: \uB098\uC774\uB85C \uB098\uB208 \uB0B1\uB9D0\uC785\uB2C8\uB2E4.",gradeNone:"\uC5C6\uC74C",syllables:"\uC74C\uC808 \uC218",syllable:"{{n}}\uC74C\uC808",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",pos:{noun:"\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)",verb:"\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)",modifier:"\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)"},wordType:"\uC720\uD615",field:"\uC758\uBBF8\uBC94\uC8FC",type:{native:"\uACE0\uC720\uC5B4",sino:"\uD55C\uC790\uC5B4",foreign:"\uC678\uB798\uC5B4",mixed:"\uD63C\uC885\uC5B4"},exclude:"\uC81C\uC678",excludeNoImage:"\uC774\uBBF8\uC9C0 \uC5C6\uC74C"},searchButton:"\uAC80\uC0C9\uD558\uAE30",resultUnit:"\uB2E8\uC5B4",remaining:"{{count}}\uAC1C \uB0A8\uC74C",resultDisc:"\uC6D0\uD558\uB294 {{unit}} \uC120\uD0DD\uD558\uC138\uC694. {{max}}\uAC1C\uAE4C\uC9C0 \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. ({{selected}}/{{max}})",resultTitlePrefix:"\uCD1D ",resultTitleSuffix:"\uAC1C\uC758 {{unit}} \uAC80\uC0C9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",emptyResult:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",groupCount:"{{count}}\uAC1C",sort:{aria:"\uC815\uB82C",match:"\uC2DC\uC791 \uC6B0\uC120",ganada:"\uAC00\uB098\uB2E4\uC21C \u2191",ganadaDesc:"\uAC00\uB098\uB2E4\uC21C \u2193",syllable:"\uC74C\uC808 \uC218 \u2191",syllableDesc:"\uC74C\uC808 \uC218 \u2193",grade:"\uB4F1\uAE09\uC21C \u2191",gradeDesc:"\uB4F1\uAE09\uC21C \u2193",original:"\uBC1B\uC740 \uC21C\uC11C"},pageSize:"{{count}}\uAC1C\uC529 \uBCF4\uAE30",pageSizeAria:"\uD398\uC774\uC9C0 \uD06C\uAE30"},Gy={clearAllSelection:"\uBAA8\uB450 \uC120\uD0DD \uD574\uC81C",divLine:"\uB300\uB9BD\uC120",removePair:"\uB300\uB9BD\uC30D \uBE7C\uAE30",removePairFor:"{{name}} \uB300\uB9BD\uC30D \uBE7C\uAE30",removeWord:"\uB2E8\uC5B4 \uBE7C\uAE30",removeWordFor:"{{name}} \uBE7C\uAE30"},Ky={title:"\uC8FC\uC81C\uBCC4 \uB4E3\uAE30",subtitle:"\uC8FC\uC81C\uB97C \uC120\uD0DD\uD558\uACE0 \uB4E3\uAE30 \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694.",noiseTitle:"\uC18C\uC74C \uD558 \uBB38\uC7A5\uB4E3\uAE30",shortStoryTitle:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",FOOD:"\uC74C\uC2DD",HLTH:"\uAC74\uAC15",WETH:"\uB0A0\uC528",PRSN:"\uC778\uBB3C",KRCT:"\uD55C\uAD6D\uBB38\uD654",STRY:"\uC774\uC57C\uAE30",LOCA:"\uC9C0\uC5ED",SOAR:"\uC0AC\uD68C\uC640 \uC608\uC220",NTSC:"\uC790\uC5F0\uACFC \uACFC\uD559",SPRT:"\uC2A4\uD3EC\uCE20",sub:{TRKRFD:"\uD55C\uAD6D \uC804\uD1B5\uC74C\uC2DD",MDKRFD:"\uD55C\uAD6D \uD604\uB300\uC74C\uC2DD",WRLDFD:"\uC138\uACC4\uC758 \uC74C\uC2DD",MTRFRT:"\uC2DD\uC7AC\uB8CC\uC640 \uACFC\uC77C",GEFDKL:"\uC74C\uC2DD \uC0C1\uC2DD",HTETHB:"\uAC74\uAC15\uD55C \uC2DD\uC2B5\uAD00",DISILL:"\uBCD1\uACFC \uC9C8\uD658",EXCISE:"\uC6B4\uB3D9",GEHTKL:"\uAC74\uAC15\uC0C1\uC2DD",GESSKL:"\uACC4\uC808\uC0C1\uC2DD",SNWRAN:"\uB208\uACFC \uBE44",WTHFCT:"\uC77C\uAE30\uC608\uBCF4",GEWTKL:"\uB0A0\uC528\uC0C1\uC2DD",JODYPS:"\uC870\uC120\uC2DC\uB300",MDKRPS:"\uD55C\uAD6D \uADFC\uD604\uB300",THKDPS:"\uC0BC\uAD6D\uC2DC\uB300",WRLART:"\uC138\uACC4\uC758 \uC608\uC220\uAC00",WRLPSN:"\uC138\uACC4\uC758 \uC778\uBB3C",KRLANG:"\uC6B0\uB9AC\uB9D0",TRPLCT:"\uC804\uD1B5\uB180\uC774",HERITG:"\uBB38\uD654\uC7AC",EVTFES:"\uD589\uC0AC\uC640 \uCD95\uC81C",GECTKL:"\uC0C1\uC2DD",FRYTAL:"\uB3D9\uD654",AMZING:"\uC2E0\uAE30\uD55C \uC774\uC57C\uAE30",DAYSTR:"\uC77C\uC0C1 \uC18D \uC774\uC57C\uAE30",KRLDMK:"\uD55C\uAD6D\uC758 \uBA85\uC18C",SELNMK:"\uC11C\uC6B8\uC758 \uBA85\uC18C",WRDTRB:"\uC138\uACC4\uC5EC\uD589",NAVIGT:"\uAE38 \uCC3E\uAE30",KRSOCI:"\uD55C\uAD6D",ECONEW:"\uACBD\uC81C\uC640 \uB274\uC2A4",GENART:"\uC608\uC220",GELFKL:"\uC0DD\uD65C \uC0C1\uC2DD",ANIMAL:"\uB3D9\uBB3C",PLANTS:"\uC2DD\uBB3C",ETHPLT:"\uC9C0\uAD6C",TOLELC:"\uB3C4\uAD6C\uC640 \uC804\uC790\uC81C\uD488",GESCKL:"\uACFC\uD559\uC0C1\uC2DD",INVDSP:"\uAC1C\uC778\uACBD\uAE30",MARART:"\uACA9\uD22C\uAE30",TEAMSP:"\uB2E8\uCCB4\uACBD\uAE30",FOOTBL:"\uCD95\uAD6C",GESPKL:"\uC2A4\uD3EC\uCE20 \uC0C1\uC2DD"}},Yy={direction:{left:"\uC88C",right:"\uC6B0",label:"\uBC29\uD5A5"},wornDate:"\uCC29\uC6A9\uC77C",deviceType:"\uC885\uB958",brand:"\uBE0C\uB79C\uB4DC",fitType:"\uCC29\uC6A9\uD615\uD0DC",productName:"\uC81C\uD488\uBA85",addNew:"\uC0C8 \uAE30\uAE30 \uCD94\uAC00",selectFromList:"\uBAA9\uB85D\uC5D0\uC11C \uC120\uD0DD",removeDevice:"\uCC29\uC6A9 \uD574\uC81C",type:{hearingAid:"\uBCF4\uCCAD\uAE30",cochlearImplant:"\uC778\uACF5\uC640\uC6B0",other:"\uAE30\uD0C0"}},Zy={stat:{totalCustomers:"\uCD1D \uACE0\uAC1D",monthlyVisits:"\uC774\uB2EC \uCD1D \uBC29\uBB38"},chart:{visitDetail:"\uC0C1\uC138 \uBC29\uBB38 \uD604\uD669",trainingDetail:"\uC0C1\uC138 \uD6C8\uB828 \uD604\uD669",weekly:"\uC8FC\uBCC4",periodMonth:"\uC6D4",periodWeek:"\uC8FC",weeklyPrefix:"\uC8FC\uAC04",monthlyPrefix:"\uC6D4\uAC04",visit:"\uBC29\uBB38",reservation:"\uC608\uC57D",trainingDone:"\uD6C8\uB828 \uC644\uB8CC",trainingInProgress:"\uD6C8\uB828 \uC911",weekRange:"{{start}}~{{end}}",week:"{{n}}\uC8FC"}},Xy={phonemeSelect:{vs:"\uB300"},caution:"\uC720\uC758\uC0AC\uD56D",mode:{include:"\uC74C\uC18C \uD3EC\uD568",pick:"\uC74C\uC18C \uB300\uB9BD",contrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815",infoTitle:"\uB300\uB9BD \uBC29\uC2DD",infoInclude:"\uC74C\uC18C \uD3EC\uD568 \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uBAA8\uB450 \uB4E4\uC5B4\uAC04 \uB2E8\uC5B4\uC640 \uADF8 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694.",infoPick:"\uC74C\uC18C \uB300\uB9BD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uAC00 \uB300\uB9BD\uC30D \uB450 \uB2E8\uC5B4\uC758 \uC2E4\uC81C \uCC28\uC774\uC810\uC77C \uB54C\uB9CC \uB9E4\uCE6D\uB3FC\uC694.",infoContrast:"\uC74C\uC18C \uB300\uB9BD \uC9C0\uC815 \u2014 \uAE30\uC900 \uB2E8\uC5B4\uC640 \uB300\uB9BD \uB2E8\uC5B4\uC758 \uC74C\uC18C\uB97C \uAC01\uAC01 \uC9C1\uC811 \uC120\uD0DD\uD574 \uB300\uB9BD\uC30D\uC744 \uCC3E\uC544\uC694."},count:"{{n}}\uAC1C",countLabel:"\uC74C\uC18C \uAC1C\uC218",input:{char:"\uAE00\uC790 \uC120\uD0DD",pron:"\uBC1C\uC74C \uC120\uD0DD",infoTitle:"\uC785\uB825 \uBC29\uC2DD",infoChar:"\uAE00\uC790 \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uB2E8\uC5B4(\uAE00\uC790 \uAE30\uC900)\uB97C \uCC3E\uC740 \uD6C4, \uB2E8\uC5B4\uC758 \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4.",infoPron:"\uBC1C\uC74C \uC120\uD0DD \u2014 \uC120\uD0DD\uD55C \uC74C\uC18C\uB85C \uD45C\uC900 \uBC1C\uC74C \uB300\uB9BD\uC30D\uC744 \uCC3E\uC2B5\uB2C8\uB2E4."},phonemeN:"{{n}}\uBC88 \uC74C\uC808",phonemeSingleLabel:"\uC74C\uC808",phonemeContrastSingleLabel:"\uB300\uB9BD \uC74C\uC808",ordinals:["\uCCAB\uBC88\uC9F8","\uB450\uBC88\uC9F8","\uC138\uBC88\uC9F8","\uB124\uBC88\uC9F8"],phonemeOrdinalLabel:"{{ordinal}} \uC74C\uC808",phonemeContrastOrdinalLabel:"\uB300\uB9BD {{ordinal}} \uC74C\uC808",composition:"\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131",syllableCount:"\uC74C\uC808 \uC218",syllableN:"{{n}}\uC74C\uC808",syllableNPlus:"{{n}}\uC74C\uC808 \uC774\uC0C1",onset:"\uCD08\uC131",vowel:"\uBAA8\uC74C",coda:"\uC885\uC131",filter:{searchOptionsTitle:"\uB300\uB9BD \uC124\uC815",searchModeLabel:"\uB300\uB9BD \uBC29\uC2DD",countLabel:"\uC785\uB825 \uC74C\uC808 \uAC2F\uC218",inputModeLabel:"\uC785\uB825 \uBC29\uC2DD",phonemeOrder:"\uC785\uB825 \uC74C\uC808 \uC704\uCE58",phonemeOrderInfo:["\uC77C\uCE58: \uB300\uB9BD\uC30D\uC774 \uC815\uD655\uD788 \uAC19\uC740 \uC704\uCE58(\uC74C\uC808)\uC5D0\uC11C\uB9CC \uCC28\uC774 \uB098\uC57C \uB9E4\uCE6D\uB3FC\uC694.","\uBB34\uAD00: \uCC28\uC774 \uB098\uB294 \uC704\uCE58\uB294 \uC0C1\uAD00\uC5C6\uC774 \uB9E4\uCE6D\uB3FC\uC694."],orderAny:"\uBB34\uAD00",orderMatch:"\uC77C\uCE58",difficultyInfo:["1\uB4F1\uAE09 : \uD559\uB839\uC804\uAE30\uC5D0 \uC2B5\uB4DD\uD558\uC5EC \uD3C9\uC0DD\uC5D0 \uAC78\uCCD0 \uC77C\uC0C1 \uC5B8\uC5B4\uC0DD\uD65C\uC744 \uD558\uB294 \uB370 \uC0AC\uC6A9\uB418\uB294 \uC5B4\uD718","2\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 1-2\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","3\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 3-4\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","4\uB4F1\uAE09 : \uCD08\uB4F1\uD559\uAD50 5-6\uD559\uB144 \uB09C\uC774\uB3C4 \uC5B4\uD718","\uB4F1\uAE09\uC5C6\uC74C : \uAD6D\uB9BD\uAD6D\uC5B4\uC6D0 \uD45C\uC900 \uC5B4\uD718 \uC678 \uACE0\uBE48\uB3C4 \uC0DD\uD65C \uC5B4\uD718, \uC2E0\uC870\uC5B4 \uBC0F \uC678\uB798\uC5B4"],selectLabel:"\uC120\uD0DD",onlyHasImage:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC",onlyHighUsage:"\uD65C\uC6A9\uB3C4 \uB192\uC740 \uB2E8\uC5B4\uB9CC",onlySameStructure:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"},confirmMessage:"\uC120\uD0DD\uD55C {{unit}} {{count}}\uAC1C\uB97C \uD3EC\uD568\uD55C \uB2E8\uC5B4 \uD45C \uC815\uBCF4\uAC00 \uC0AC\uB77C\uC9D1\uB2C8\uB2E4.",resetOptions:"\uAC80\uC0C9 \uC635\uC158 \uCD08\uAE30\uD654",phonemeContrast:"\uB300\uB9BD {{n}}\uBC88 \uC74C\uC808",infoNotes:["\uBBF8\uB9AC\uBCF4\uAE30 \uAE00\uC790\uB294 \uC120\uD0DD\uD55C \uC74C\uC18C\uC758 \uC870\uD569 \uC608\uC2DC\uC785\uB2C8\uB2E4. \uC2E4\uC81C \uAC80\uC0C9\uC740 \uD574\uB2F9 \uC74C\uC18C\uAC00 \uD3EC\uD568\uB41C \uBAA8\uB4E0 \uB2E8\uC5B4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4.","\uCD08\uC131 '\u3147'\uC740 \uC120\uD0DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E8\uC5B4 \uC55E\uC5D0 \uC624\uB294 \u3147\uC740 \uC2E4\uC9C8\uC801\uC73C\uB85C \uBB34\uC74C\uC774\uC5B4\uC11C \uB300\uB9BD\uC30D \uC131\uB9BD\uC5D0 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.","\uCD08\uC131\uACFC \uC885\uC131\uB9CC \uC120\uD0DD\uD558\uBA74 \uBAA8\uC74C\uC740 '\u314F'\uB85C \uC790\uB3D9 \uD45C\uC2DC\uB429\uB2C8\uB2E4.","\uC74C\uC18C \uAC1C\uC218\uB97C \uB298\uB9AC\uBA74 \uAC01 \uC74C\uC18C \uC0AC\uC774\uC758 \uB300\uB9BD\uC30D\uC744 \uAC80\uC0C9\uD569\uB2C8\uB2E4."]},Jy={lead:`\uC544\uC774\uD574\uBE0C\uB294 \uC18C\uB9AC\uB97C \uD1B5\uD574
839
839
  \uC2E0\uB8B0\uB97C \uC313\uACE0
840
- \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},Qy={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},e2={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},t2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30",showPassword:"\uBE44\uBC00\uBC88\uD638 \uBCF4\uAE30"},n2={ariaLabel:"\uC120\uD0DD \uD0ED"},r2={ariaLabel:"\uD0ED"},a2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},o2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},s2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},l2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},i2={time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"}},u2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},c2={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},d2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},p2={viewWords:"\uB0B1\uB9D0"},h2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},m2={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},f2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},C2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},g2={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},b2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},y2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},v2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},x2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},_2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},w2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},B2={list:"\uD3F4\uB354",open:"{{name}} \uD3F4\uB354 \uC5F4\uAE30, {{count}}\uAC1C",menu:"{{name}} \uD3F4\uB354 \uBA54\uB274",placeMenu:"{{name}} \uBA54\uB274",tree:"\uD3F4\uB354 \uAD6C\uC870 \uBCF4\uAE30",fold:"{{name}} \uC811\uAE30",unfold:"{{name}} \uD3BC\uCE58\uAE30",up:"\uC704\uB85C",upTo:"\uD55C \uCE35 \uC704\uB85C \u2014 {{name}}",add:{title:"\uD3F4\uB354 \uCD94\uAC00",sub:"\uC0C8 \uD3F4\uB354 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uD3F4\uB354 \uC774\uB984"}},k2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},A2={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},N2={common:ky,calendar:Ay,passCard:Ny,rating:Ey,colorPicker:jy,dropdown:Dy,accordion:Sy,header:Ty,nav:My,settings:$y,usage:Ly,account:Ry,training:Py,customers:Fy,payment:Iy,coupons:Oy,visits:zy,trainingType:Wy,myWordTable:Hy,keyWords:Vy,wordTable:qy,wordSearch:Uy,wordPrint:Gy,topic:Ky,device:Yy,manager:Zy,wordPairs:Xy,footer:Jy,date:Qy,wordData:e2,textField:t2,segmentedControl:n2,tabs:r2,fileUpload:a2,avatar:o2,myHomework:s2,trainingStatus:l2,store:i2,progress:u2,trainingMiss:c2,table:d2,wordScore:p2,topBanner:h2,datePicker:m2,report:f2,tooltip:C2,phonemeProfile:g2,bulkBar:b2,debug:y2,badge:v2,loader:x2,soundCompass:_2,breadcrumb:w2,folder:B2,board:k2,promoBannerBg:A2},E2={filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",difficultyInfoBandAgeNamed:"{{ages}}: words split by age.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"}},j2={filter:{onlyHighUsage:"High-use words only"}},D2={wordSearch:E2,wordPairs:j2};const S2="0.460.0";var Fi;const T2=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Go="ko",M2="ihab_display_language",Ko={en:()=>Promise.resolve().then(function(){return QB})},Ta=new Set(["ko"]),Yo={},na=e=>e.split("-")[0];function Ii(e){const t=na(e),r=Ko[t];return!r||Ta.has(t)?Promise.resolve():Yo[t]??(Yo[t]=r().then(a=>{const s=a.default??a;Pt.addResourceBundle(t,"translation",s,!0,!1),Ta.add(t)},a=>{throw Yo[t]=void 0,a}))}function Oi(){if(typeof window>"u")return Go;try{const e=localStorage.getItem(M2);if(e&&T2.some(t=>t.code===e))return e}catch{}return Go}function zi(e){try{document.documentElement.lang=e}catch{}}Pt.on("languageChanged",zi),zi(Oi());const Wi=(Fi=Pt).__ihabRawChangeLanguage??(Fi.__ihabRawChangeLanguage=Pt.changeLanguage);Pt.changeLanguage=Wi,Pt.use(Ee.initReactI18next).init({resources:{ko:{translation:N2},en:{translation:D2}},lng:Oi(),fallbackLng:Go,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Zo=Wi.bind(Pt);let Xo;Pt.changeLanguage=((e,t)=>{if(Xo=e,!e||Ta.has(na(e))||!Ko[na(e)])return Zo(e,t);const r=()=>Xo===e?Zo(e,t):Promise.resolve(Pt.t);return Ii(e).then(r,a=>(console.error(a),r()))});{const e=Pt.language;e&&!Ta.has(na(e))&&Ko[na(e)]&&Ii(e).then(()=>{Pt.language===e&&(Xo??e)===e&&Zo(e)},t=>console.error(t))}const $2=99,L2=new Map;try{Pt.store?.on?.("added",()=>L2.clear())}catch{}Array.from({length:$2},(e,t)=>t+1);let Ma=null,Hi=null,Vi=null;function R2(){const e=Ni();if(e&&e.entries.length>0){const t=Ob();if(Ma&&Hi===e&&Vi===t)return Ma;const r=new Set,a=[];for(const s of e.entries)!s.word||r.has(s.word)||(r.add(s.word),a.push({w:s.word,s:s.syllables,p:t?.[s.word]?[...t[s.word].cho??[],...t[s.word].jung??[],...t[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ma=a,Hi=e,Vi=t,Ma}return[]}new Proxy([],{get(e,t){const r=R2(),a=r[t];return typeof a=="function"?a.bind(r):a}});function P2(e){return e==null?!1:F2.test(Oo(e))}const F2=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;function I2(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const t=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(t)}function O2(e){if(typeof window>"u")return"";const t=(r,a)=>{typeof a.attrValue=="string"&&I2(a.attrValue)&&(a.keepAttr=!1)};wr.addHook("uponSanitizeAttribute",t);try{return wr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{wr.removeHook("uponSanitizeAttribute",t)}}function z2(e){const[t,r]=o.useState(null),[a,s]=o.useState(null),[l,i]=o.useState(null),[u,c]=o.useState(null),[p,h]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){r(null),s(null),i(null),c(null);return}const d=e.split("/").pop();let m=e;d&&(e.startsWith("/")?m=To(e):/^(Logo|Symbol)/i.test(d)?m=To(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),m=e)),i(null),c(null),r(e),s(m)},[e]),o.useEffect(()=>{if(!a)return;let d=!1;async function m(){try{let C=await fetch(a);C.ok||(C=await fetch(a));const v=C.headers.get("content-type")||"";if(d)return;if(v.includes("svg")){i("mask");return}if(v.startsWith("image/")){i("img");return}const b=await fetch(a);if(!b.ok)throw new Error("not ok");const _=await b.text();if(d)return;if(/^\s*<svg[\s>]/i.test(_)){const y=O2(_);if(!y){i("none");return}c(y),i("inline");return}i("none")}catch{d||i("none")}}return m(),()=>{d=!0}},[a]),o.useEffect(()=>{let d=!1,m=null;return l==="mask"&&a&&fetch(a).then(C=>{if(!C.ok)throw new Error("fetch failed");return C.blob()}).then(C=>{d||(m=URL.createObjectURL(C),h(m))}).catch(()=>{d||i("img")}),()=>{d=!0,m&&URL.revokeObjectURL(m),h(null)}},[l,a]),t===e?{iconToUse:a,mode:l,svgText:u,blobUrl:p}:{iconToUse:null,mode:null,svgText:null,blobUrl:null}}function lt(e){const{icon:t,label:r,className:a,imgClassName:s,maskClassName:l,svgClassName:i,wrapperStyle:u,size:c}=e||{},p=a??"iconRenderer-icon",h=s??"iconRenderer-icon-image",d=l??"iconRenderer-icon-mask",m=i??"iconRenderer-icon-svg",C=typeof t=="string"?t:null,v=vg(C),{iconToUse:b,mode:_,svgText:y,blobUrl:x}=z2(C),g=(k,E={})=>n.jsx("span",{className:p,style:u,...E,children:k}),w=typeof c=="number"?{width:c,height:c,objectFit:"contain"}:null,A=(k,E={})=>n.jsx("img",{src:k,alt:typeof r=="string"?r:typeof r=="number"?String(r):"",className:h,...E,style:w?{...E.style,...w}:E.style});if(!t)return null;if(typeof t!="string")return g(t);if(t==="none")return g(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(v)try{return g(o.createElement(v,{className:m,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(_==="mask"){const k={"--icon-url":x?`url(${x})`:`url(${b})`,...typeof c=="number"?{"--icon-size":`${c}px`}:null};return g(n.jsx("span",{className:d,style:k}),{"aria-hidden":"true"})}return _==="img"?g(A(b,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?g(n.jsx("span",{className:m,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):g(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(To(t),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const f=typeof c=="number"?c:20,B=`<svg width="${f}" height="${f}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return g(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:B}}),{"aria-hidden":"true"})}function qi(e){const[t,r]=o.useState(!1),a=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const l=o.useCallback(()=>{if(!e||a.current)return;const i=e();if(i&&typeof i.then=="function"){a.current=!0,r(!0);const u=()=>{a.current=!1,s.current&&r(!1)};i.then(u,u)}},[e]);return{pending:t,press:l}}function W2({icon:e,title:t,message:r,action:a,className:s}){const{pending:l,press:i}=qi(a?.onClick);return n.jsxs("div",{className:we("empty-state",s),children:[e&&n.jsx(lt,{icon:e,size:48,className:"empty-state__icon"}),t&&n.jsx("p",{className:"empty-state__title h4",children:t}),r&&n.jsx("p",{className:"empty-state__message body-3",children:r}),a&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:i,disabled:l,"aria-busy":l||void 0,children:[a.icon&&n.jsx(lt,{icon:a.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:a.label})]})]})}function H2({message:e,hint:t,icon:r="triangle-alert",onRetry:a,retryLabel:s,className:l}){const{t:i}=Ee.useTranslation(),{pending:u,press:c}=qi(a);return n.jsxs("div",{className:we("empty-state","error-state",l),role:"alert",children:[n.jsx(lt,{icon:r,size:48,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:e??i("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),t&&n.jsx("p",{className:"error-state__hint caption-1",children:t}),a&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:c,disabled:u,"aria-busy":u||void 0,children:[n.jsx(lt,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:s??i("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function V2({icon:e,title:t,description:r,cta:a,tone:s="main",disabled:l=!1,onClick:i,className:u=""}){const c=o.useId(),p=`${c}-title`,h=`${c}-desc`,d=`${c}-cta`,m=()=>{l||i?.()};return n.jsx("section",{role:"button",tabIndex:l?-1:0,"aria-disabled":l||void 0,"aria-labelledby":p,"aria-describedby":`${h} ${d}`,onClick:m,onKeyDown:C=>{(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),m())},className:we("action-card",`action-card--${s}`,l&&"action-card--disabled",u),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(lt,{icon:e,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{id:p,className:"action-card__title",children:t}),n.jsx("p",{id:h,className:"action-card__desc",children:r})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{id:d,children:a}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(lt,{icon:"arrow-right",size:18})})]})]})})}function q2({as:e="div",className:t="",children:r,storage:a,...s}){a&&lb({resolveUrl:a.resolveUrl,download:a.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:a.exists,resolvePath:a.resolvePath,noiseBaseUrl:a.noiseBaseUrl,noiseFileGain:a.noiseFileGain});const l=we("ihabdevteam-core-scope",t);return n.jsx(e,{className:l,...s,children:r})}function U2(e){if(e.closest('[aria-hidden="true"], [hidden], [inert]'))return!1;for(let t=e;t;t=t.parentElement){const r=window.getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1}return!0}function $a(e,t=!0){o.useEffect(()=>{if(!t)return;const r=e.current;if(!r)return;const a=s=>{if(s.key!=="Tab")return;const l=Array.from(r.querySelectorAll(jn)).filter(U2);if(!l.length){s.preventDefault();return}const i=l[0],u=l[l.length-1],c=document.activeElement,p=c===r;s.shiftKey&&(c===i||p)?(s.preventDefault(),u.focus()):!s.shiftKey&&c===u&&(s.preventDefault(),i.focus())};return r.addEventListener("keydown",a),()=>r.removeEventListener("keydown",a)},[e,t])}const jn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Jo=new WeakMap;function Qo(e,t){e&&Jo.set(e,t)}function es(e){let t=e;for(let r=0;t&&!t.isConnected&&r<10;r++){let a=t;for(;a&&!Jo.has(a);)a=a.parentElement;if(!a)return t;t=Jo.get(a)??null}return t}function Ui(e){return!(!e||!e.isConnected||e===document.body||typeof e.focus!="function"||e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e.closest('[inert],[aria-hidden="true"],[hidden]'))}function La(e,t,r){const a=e?.isConnected?e:r?.isConnected?r:null;if(Ui(t)&&!(e&&e.contains(t)))return t.focus(),t;if(!a)return null;const s=Array.from(document.querySelectorAll(jn)).filter(c=>!(e&&e.contains(c))&&Ui(c));let l=null,i=null;for(const c of s)a.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING?l=c:i||(i=c);const u=l??i;return u?.focus(),u}function G2({title:e="",lines:t=[],notices:r=null,children:a,variant:s="default",dismissible:l=!1,className:i=""}){const{t:u}=Ee.useTranslation(),[c,p]=o.useState(!1),h=o.useRef(null),d=o.useCallback(()=>{const b=h.current;b&&b.contains(document.activeElement)&&La(b),p(!0)},[]);if(c)return null;const m=`notice-box notice-box--${s} body-2 ${i}`.trim(),C=l&&n.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:d,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(r&&Array.isArray(r)&&r.length)return n.jsxs("div",{className:m,role:"note",children:[r.map((b,_)=>n.jsxs("div",{className:"notice-box__inner",children:[b.title?n.jsx("span",{className:"notice-box__title body-3",children:b.title}):null,n.jsx("div",{className:"notice-box__body",children:b.lines&&b.lines.length?n.jsx("div",{children:b.lines.map((y,x)=>n.jsx("span",{className:"notice-box__line body-3",children:y},x))}):b.children??null})]},_)),C]});const v=e||t.length?n.jsxs("div",{className:"notice-box__inner",children:[e?n.jsx("span",{className:"notice-box__title body-1",children:e}):null,n.jsx("div",{className:"notice-box__body",children:t.length?n.jsx("ul",{children:t.map((b,_)=>n.jsx("li",{className:"notice-box__line",children:b},_))}):a})]}):n.jsx("div",{className:"notice-box__inner",children:a});return n.jsxs("div",{ref:h,className:m,role:"note",children:[v,C]})}const ts=o.createContext(void 0);function wn(){return o.useContext(ts)}const K2={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Nr(e){const{t}=Ee.useTranslation(),{variant:r="spinner",size:a=24,progress:s=null,label:l}=e||{},i=l||t("loader.loading","Loading");if(r==="bar"){const c=s==null||!Number.isFinite(Number(s)),p=c?0:Math.max(0,Math.min(100,Number(s)));return n.jsx("div",{className:`loader-bar${c?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c?void 0:p,"aria-label":i,children:n.jsx("div",{className:"loader-bar__inner",style:c?void 0:{width:`${p}%`}})})}const u=typeof a=="number"?`${a}px`:a;return n.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":i,children:[n.jsx("span",{style:K2,children:i}),n.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:a,height:a,children:[n.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),n.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}const Er=[];let Ra=!1;function Gi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=Er[Er.length-1];t&&(e.stopPropagation(),t())}function ir(e){return Er.push(e),!Ra&&typeof document<"u"&&(document.addEventListener("keydown",Gi),Ra=!0),()=>{const t=Er.lastIndexOf(e);t>=0&&Er.splice(t,1),Er.length===0&&Ra&&typeof document<"u"&&(document.removeEventListener("keydown",Gi),Ra=!1)}}const Ki=o.createContext(null);function Y2(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const Yi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function Z2(e){const t=o.useCallback(r=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const a=window.matchMedia(e);a.addEventListener?a.addEventListener("change",r):a.addListener&&a.addListener(r);let s=null,l=null;const i=()=>{r(),s===null&&typeof requestAnimationFrame<"u"&&(s=requestAnimationFrame(()=>{s=null,r()})),l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,r()},150)};return window.addEventListener("resize",i),window.addEventListener("orientationchange",i),()=>{a.removeEventListener?a.removeEventListener("change",r):a.removeListener&&a.removeListener(r),window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i),s!==null&&cancelAnimationFrame(s),l!==null&&clearTimeout(l)}},[e]);return _l.useSyncExternalStore(t,()=>Yi(e),()=>!1)}function X2(e){const[t,r]=o.useState(Yi(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const a=window.matchMedia(e),s=i=>r(i.matches),l=a;return l.addEventListener?l.addEventListener("change",s):l.addListener&&l.addListener(s),r(a.matches),()=>{l.removeEventListener?l.removeEventListener("change",s):l.removeListener&&l.removeListener(s)}},[e]),t}const J2=typeof _l.useSyncExternalStore=="function"?Z2:X2;function Bn(e){const t=o.useContext(Ki),r=J2(e);return t&&typeof t.mobile=="boolean"&&Y2(e)?t.mobile:r}const Zi="(prefers-reduced-motion: reduce)";function Q2(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia(Zi).matches}catch{return!1}}function Pa(){return Bn(Zi)}const Xi={"menu-tooltip":"tooltip-menu","description-tooltip":"tooltip-description","text-box-tooltip":"tooltip-textbox","training-tooltip":"tooltip-training","word-image-tooltip":"tooltip-word-image","info-tooltip":"tooltip-info","noise-settings-tooltip":"noise-settings",tooltip__header:"tooltip-content__header",tooltip__content:"tooltip-content",tooltip__backdrop:"tooltip-backdrop",tooltip__portal:"tooltip-portal","word-table__section":"word-table-block","word-table__content":"word-table-block__content","word-table__card":"word-table-block__card","word-table__card-handle":"word-table-block__card-handle","word-table__card-close":"word-table-block__card-close","word-table__card-actions":"word-table-block__card-actions","word-table__edit-cell":"word-table-block__edit-cell","word-table__pair-divider":"word-table-block__pair-divider","chart-section__legend-dot":"manager-bar-chart-legend-dot","chart-section__legend-item":"manager-bar-chart-legend-item","chart-section__legend":"manager-bar-chart-legend","chart-section__controls":"manager-section-controls","chart-section__sub-row":"barchart-sub-row","chart-section__total":"barchart-total","chart-section":"manager-section","bar-chart__stack-segment":"manager-bar-chart-stack-segment","bar-chart__detail-btn":"manager-bar-chart-detail-btn","bar-chart__gridline":"manager-bar-chart-gridline","bar-chart__loading":"manager-bar-chart-loading","bar-chart__scroll":"manager-bar-chart-scroll","bar-chart__stack":"manager-bar-chart-stack","bar-chart__x-axis":"manager-bar-chart-x-axis","bar-chart__inner":"manager-bar-chart-inner","bar-chart__area":"manager-bar-chart-area","bar-chart__plot":"manager-bar-chart-plot","bar-chart__wrap":"manager-bar-chart-wrap","bar-chart__slot":"manager-bar-chart-slot","bar-chart__col":"manager-bar-chart-col","bar-chart__bar":"manager-bar-chart-bar"};function ev(e,t){const r=Object.keys(e).sort((a,s)=>s.length-a.length);for(const a of r){if(!t.startsWith(a))continue;const s=t.slice(a.length);if(!(s!==""&&!s.startsWith("__")&&!s.startsWith("--")))return e[a]+s}return null}function tv(e){return ev(Xi,e)}function de(e){if(!e||Object.keys(Xi).length===0)return e;const t=[];for(const r of e.split(/\s+/)){if(!r)continue;const a=tv(r);a&&t.push(a)}return t.length?`${e} ${t.join(" ")}`:e}function sn(e){const{anchorRect:t,anchorEl:r,offset:a=20,edgeMargin:s=20,prefer:l="top",onClose:i,closeOnOutsideClick:u=!0,className:c="",role:p="dialog",ariaLabel:h="",children:d,backdrop:m=!1,isMobilePopup:C=!1,useBorder:v=!0,header:b,focusOnOpen:_}=e||{},y=o.useRef(null),[x,g]=o.useState({position:"fixed",left:0,top:-9999}),[w,A]=o.useState(!1),[f,B]=o.useState("bottom"),[k,E]=o.useState(!1),[N,S]=o.useState(!1),j=!t&&!r,$=o.useRef(null),W=o.useCallback((G=!1,ee=!1)=>{if(N&&C)return;const Z=r?r.getBoundingClientRect():t,L=ee&&$.current?$.current:Z;if(!L||!y.current)return;const R=y.current,{offsetWidth:D,offsetHeight:H}=R,te=window.innerWidth,J=window.innerHeight,ae=te-L.right,ue=L.left,Ne=L.top,ce=J-L.bottom;let X=0,O=0,U="top";const q=Ne>=H+a,le=ce>=H+a,re=l==="bottom"?le?"bottom":q?"top":null:q?"top":le?"bottom":null;if(re==="top")U="top",O=L.top-a-H,X=L.left+L.width/2-D/2;else if(re==="bottom")U="bottom",O=L.bottom+a,X=L.left+L.width/2-D/2;else if(ae>=D+a)U="right",X=L.right+a,O=L.top+L.height/2-H/2;else if(ue>=D+a)U="left",X=L.left-a-D,O=L.top+L.height/2-H/2;else{const ve=Math.max(Ne,ce,ae,ue);ve===Ne?(U="top",O=L.top-a-H,X=L.left+L.width/2-D/2):ve===ce?(U="bottom",O=L.bottom+a,X=L.left+L.width/2-D/2):ve===ae?(U="right",X=L.right+a,O=L.top+L.height/2-H/2):(U="left",X=L.left-a-D,O=L.top+L.height/2-H/2)}const se=Number.isFinite(Number(s))?Number(s):8;X=Math.min(Math.max(X,se),te-D-se),O=Math.min(Math.max(O,se),J-H-se);const ye=Math.round(X),ke=Math.round(O);G&&y.current?(y.current.style.left=`${ye}px`,y.current.style.top=`${ke}px`,y.current.dataset.placement=U):(B(U||f),g({position:"fixed",left:ye,top:ke}),E(!0))},[N,C,r,t,a,s,f,l]);o.useEffect(()=>()=>{$.current=null},[r,t]),o.useLayoutEffect(()=>{if(j)return;if(N&&C){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),E(!0);return}$.current===null&&($.current=r?r.getBoundingClientRect():t??null),W(!1,!0);const G=requestAnimationFrame(()=>W(!1,!0));return()=>cancelAnimationFrame(G)},[t,r,a,d,s,j,N,C,W]),o.useEffect(()=>{if(j||N&&C||!y.current||typeof ResizeObserver>"u")return;const G=new ResizeObserver(()=>{t&&W()});return G.observe(y.current),()=>G.disconnect()},[t,d,s,j,N,C,W]),o.useEffect(()=>{if(j||N&&C)return;let G=null;const ee=()=>{if(r&&($.current=r.getBoundingClientRect()),typeof requestAnimationFrame>"u"){W(!0);return}G===null&&(G=requestAnimationFrame(()=>{G=null,W(!0)}))},Z=L=>{if(!r&&i){const R=L.target;if(R&&y.current&&y.current.contains(R))return;try{if(R&&R.closest&&R.closest("[data-tooltip-ignore]"))return}catch{}z.current(!0);return}ee()};return window.addEventListener("resize",ee),document.addEventListener("scroll",Z,{passive:!0,capture:!0}),()=>{G!==null&&cancelAnimationFrame(G),window.removeEventListener("resize",ee),document.removeEventListener("scroll",Z,{capture:!0})}},[t,r,i,a,d,s,j,N,C,W]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const G=window.matchMedia("(max-width: 768px)"),ee=()=>S(!!G.matches);ee();try{G.addEventListener?G.addEventListener("change",ee):G.addListener(ee)}catch{try{G.addListener(ee)}catch{}}return()=>{try{G.removeEventListener?G.removeEventListener("change",ee):G.removeListener(ee)}catch{}}},[]);const P=o.useRef(!1),V=o.useRef(null),T=Pa(),I=o.useCallback((G=!1)=>{if(i&&!(w||P.current)){if(P.current=!0,G){A(!0);try{i&&i()}catch{P.current=!1,A(!1)}return}A(!0),V.current=setTimeout(()=>{V.current=null;try{i&&i()}catch{P.current=!1,A(!1)}},T?0:200)}},[w,i,A,T]);o.useEffect(()=>()=>{V.current&&clearTimeout(V.current)},[]),o.useEffect(()=>{if(j)return;const G=L=>{const R=y.current;if(!R)return;const D=L.target;if(D&&!R.contains(D)){try{if(D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}u&&I(!0)}},ee=L=>{const R=y.current;if(!R)return;const D=L.target;if(D&&!R.contains(D)){try{if(D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}u&&I(!0)}},Z=L=>{if(L.key==="Tab"){const R=y.current;if(!R)return;const D=R.querySelectorAll(jn);if(!D||D.length===0)return;const H=D[0],te=D[D.length-1],J=document.activeElement;L.shiftKey?J===H&&(L.preventDefault(),te.focus()):J===te&&(L.preventDefault(),H.focus())}};return document.addEventListener("pointerdown",G,!0),document.addEventListener("click",ee,!0),document.addEventListener("keydown",Z),()=>{document.removeEventListener("pointerdown",G,!0),document.removeEventListener("click",ee,!0),document.removeEventListener("keydown",Z)}},[i,u,I,j]);const z=o.useRef(I);o.useEffect(()=>{z.current=I});const ie=!!i;o.useEffect(()=>{if(!(j||!ie))return ir(()=>z.current())},[j,ie]),o.useEffect(()=>{const G=()=>{I(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",G),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",G)}},[I]);const ne=o.useRef(null);o.useEffect(()=>{if(j||_===!1||!k)return;const G=y.current;if(!G)return;const ee=G.querySelector(jn);if(ee)return ne.current=document.activeElement,ee.focus({preventScroll:!0}),()=>{const Z=ne.current;ne.current=null,Z&&document.contains(Z)&&Z.focus({preventScroll:!0})}},[j,_,k]),o.useEffect(()=>{p==="dialog"&&!h&&Tt("tooltip-no-name",'[ihab/Tooltip] \uC774\uB984 \uC5C6\uB294 role="dialog" \uC785\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. \uB0AD\uB3C5\uAE30\uAC00 "\uB300\uD654\uC0C1\uC790" \uB77C\uACE0\uB9CC \uC77D\uC2B5\uB2C8\uB2E4.')},[p,h]);const F=n.jsxs("div",{ref:y,className:de(`tooltip__content ${j?"tooltip__content--inline":""} ${v?"tooltip__content--bordered":""} ${w?"is-closing":""} ${c} ${N&&C?"is-mobile":""}`),role:p,"aria-label":h||void 0,style:j?{}:{...x,visibility:k?"visible":"hidden"},tabIndex:-1,"data-placement":f,"data-left":j?"":x.left,"data-top":j?"":x.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[b!=null&&n.jsx("div",{className:de("tooltip__header h5"),children:b}),d]});if(j||typeof document>"u")return F;if(m||N&&C){const G=n.jsxs("div",{className:de("tooltip__portal"),children:[n.jsx("div",{className:de("tooltip__backdrop"),onClick:()=>{u&&I(!0)}}),F]});return bn.createPortal(G,document.body)}return bn.createPortal(F,document.body)}function zn(e){const{anchorRect:t,text:r,offset:a=8,onClose:s,className:l="",ariaLabel:i}=e||{};return r?n.jsx(sn,{anchorRect:t,offset:a,onClose:s,closeOnOutsideClick:!1,className:de(`info-tooltip ${l}`),ariaLabel:i||r,children:n.jsx("div",{className:de("info-tooltip__content body-3"),children:r})}):null}function er(e){const{t}=Ee.useTranslation(),{anchorRect:r,title:a,items:s,activeIndex:l=-1,showIndex:i=!0,onClose:u,offset:c=12,closeOnOutsideClick:p=!0,columns:h}=e||{},d=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!d.length&&!a?null:n.jsx(sn,{anchorRect:r,offset:c,onClose:u,closeOnOutsideClick:p,useBorder:!1,className:de("description-tooltip"),ariaLabel:a||t("tooltip.description","\uC124\uBA85"),children:n.jsxs("div",{className:de("description-tooltip__box"),children:[a&&n.jsx("span",{className:de("description-tooltip__title body-2"),children:a}),n.jsx("ol",{className:de(`description-tooltip__items${h&&h>1?" description-tooltip__items--columns":""}`),style:h&&h>1?{columnCount:h}:void 0,children:d.map((m,C)=>n.jsxs("li",{className:de(`description-tooltip__item body-3${C===l?" description-tooltip__item--active":""}`),children:[i&&d.length>1&&n.jsxs("span",{className:de("description-tooltip__index button-1"),children:[C+1,"."]}),m.color&&n.jsx("span",{className:de("description-tooltip__dot"),style:{background:m.color},"aria-hidden":"true"}),n.jsx("span",{children:m.text})]},C))})]})})}function ra(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t}let ns=0,Ji=!1;function Qi(){Ji||typeof document>"u"||(Ji=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(ns=Date.now())},!0),document.addEventListener("touchstart",()=>{ns=Date.now()},{capture:!0,passive:!0}))}Qi();function tr(e){return!!e&&e.pointerType==="touch"}function ur(e=1e3){return Qi(),Date.now()-ns<e}function Fa(e,t,r,{enabled:a=!0,fallbackOnParent:s=!1}={}){const l=ra(e),i=ra(t),u=o.useRef(null),c=o.useRef(0);o.useEffect(()=>{if(!a||typeof document>"u")return;const h=d=>{const m=d,C=d.target,v=r.current,b=!!(C&&v&&v.contains(C));if(m.pointerType!=="touch"){b&&(u.current=null);return}if(b){u.current=l.current;return}u.current=null,l.current&&!(C&&C.closest?.(".tooltip__content"))&&i.current(!1,v)};return document.addEventListener("pointerdown",h,!0),()=>document.removeEventListener("pointerdown",h,!0)},[a,r,l,i]);const p=o.useCallback(h=>{const d=u.current;return d===null?!1:(u.current=null,c.current=Date.now(),i.current(!d,h??r.current),!0)},[r,i]);return o.useEffect(()=>{if(!a||!s)return;const h=r.current,d=h?.parentElement;if(!h||!d)return;let m=null;const C=_=>{const y=_.changedTouches?.[0];if(!y)return!1;const x=h.getBoundingClientRect();return y.clientX>=x.left&&y.clientX<=x.right&&y.clientY>=x.top&&y.clientY<=x.bottom},v=_=>{m=C(_)?l.current:null},b=_=>{const y=m;m=null,!(y===null||Date.now()-c.current<700||!C(_))&&(u.current=null,c.current=Date.now(),i.current(!y,h))};return d.addEventListener("touchstart",v,{passive:!0}),d.addEventListener("touchend",b),()=>{d.removeEventListener("touchstart",v),d.removeEventListener("touchend",b)}},[a,s,r,l,i]),{touchPress:p}}function nv(e,t){const{size:r,type:a,htmlType:s,href:l,target:i,rel:u,icon:c,rightIcon:p,label:h,count:d,subLabel:m,children:C,ariaLabel:v,variant:b="default",align:_="center",nowrap:y=!1,ellipsis:x=!1,selected:g,toggleable:w=!1,ariaExpanded:A,ariaControls:f,disabled:B=!1,loading:k=!1,useLabel:E=!0,useBorder:N=!0,useBG:S=!0,useDisabledCovered:j=!1,useDisabledInvisible:$=!1,useDisabledFilled:W=!1,width:P,minWidth:V,onClick:T,onDisabledClick:I,showTooltipInfo:z=!1,tooltipInfoText:ie=null,tooltipDescription:ne=null,tooltipOnly:F=!1,iconSize:G="medium",iconColor:ee,shape:Z="rounded",color:L,className:R,...D}=e,H=wn(),te=r??H??48,J=typeof te=="string"&&isNaN(Number(te))?te.toLowerCase():String(Number(te)||48),ae=J.match(/^\d+$/)?`button${J}`:`button-${J}`,ue=Number(te),Ne=!isNaN(ue)&&ue<40?"button-2":"button-1",ce=h??C,X=B||!!D.disabled,O=X?j?"disabled-covered":$?"disabled-invisibled":W?"disabled-filled":"disabled":b,U=O?`button--variant-${O}`:"",q=_?`button--align-${_}`:"",le=y?"button--nowrap":"",re=x?"button--ellipsis":"",se=Z?`button--shape-${Z}`:"",ye=typeof ee=="string"&&ee.startsWith("--")?`var(${ee})`:ee,ke={...P?{width:typeof P=="number"?`${P}px`:P}:{},...V?{minWidth:typeof V=="number"?`${V}px`:V}:{},...N?{}:{"--button-border":X?"0":"1px solid transparent"},...ye?{"--button-icon-color":ye}:{},...L?{"--color-main":L}:{}},ve=E===!1?"":ce,Ie=Array.isArray(ve)?ve.length>0:!!ve,xe=!!p,_e=a??(Ie||c||xe?"bar":"dot"),Be=`${ae}--${_e}`,De=o.useRef(null);o.useEffect(()=>{!Zn||s!==void 0||De.current?.closest("form")&&Tt(`button-in-form:${typeof ce=="string"?ce:""}`,'[ihab/Button] <form> \uC548\uC778\uB370 htmlType \uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 \uC774 \uB2E8\uCD94\uB294 type="button" \uC774\uB77C \uD3FC\uC744 \uBCF4\uB0B4\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uBCF4\uB0B4\uB294 \uB2E8\uCD94\uBA74 htmlType="submit" \uC744 \uC8FC\uC138\uC694. \uD3FC\uC5D0 \uBCF4\uB0B4\uB294 \uB2E8\uCD94\uAC00 \uD558\uB098\uB3C4 \uC5C6\uC73C\uBA74 **Enter \uB85C\uB3C4 \uC548 \uBCF4\uB0B4\uC9D1\uB2C8\uB2E4**(\uCE78\uC774 \uB458 \uC774\uC0C1\uC77C \uB54C).'+(typeof ce=="string"&&ce?` \uB2E8\uCD94: ${ce}`:""))},[s,ce]);const ze=o.useRef(t);ze.current=t;const ot=o.useCallback(Ke=>{De.current=Ke;const xt=ze.current;typeof xt=="function"?xt(Ke):xt&&(xt.current=Ke)},[]),it=o.useRef(X),[Fe,qe]=o.useState(!!g),[nt,Te]=o.useState(!1),[Xe,rt]=o.useState(null),ut=o.useCallback(()=>Te(!1),[]),[gt,_t]=o.useState(!1),pt=o.useId();o.useEffect(()=>{typeof g=="boolean"&&qe(g)},[g]),o.useEffect(()=>{if(it.current&&!X&&De.current){const Ke=De.current;let xt=!1;try{xt=Ke.matches(":focus:not(:focus-visible)")}catch{xt=!1}xt&&Ke.blur(),Ke.style.pointerEvents="none";const jt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{De.current&&(De.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(jt)}it.current=X},[X]);const Yt=typeof g=="boolean"?!!g:Fe,kt=typeof A=="boolean"?void 0:w||typeof g=="boolean"?Yt?"true":"false":D["aria-pressed"],ct=we("button",ae,Be,U,q,le,re,se,Yt?"is-selected":null,S?null:"button--no-bg",F?"button--tooltip-only":null,R),je=`button__icon button__icon--${G}`,st=Array.isArray(m)?m:m!==void 0?[m]:[],ft=()=>{if(Array.isArray(ve))return ve.map((xt,jt)=>{const Q=st[jt];return n.jsxs("span",{className:`button__label-text${Q!==void 0?" button__label-text--has-sub":""}`,children:[xt,Q!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:Q})]},jt)});const Ke=m!==void 0;return n.jsxs("span",{className:`button__label-text${Ke?" button__label-text--has-sub":""}`,children:[ve,d!=null&&n.jsx("span",{className:"button__count",children:d}),Ke&&n.jsx("span",{className:"button__sub-label-text caption-1",children:m})]})},Ct=Ke=>{typeof g!="boolean"&&!w&&qe(!1),Ke.currentTarget.blur()},Nt=Ke=>{X||(typeof D.onMouseLeave=="function"&&D.onMouseLeave(Ke),Ct(Ke))},Ft=Ke=>{if(F&&Et&&It.touchPress(Ke.currentTarget),X){Et&&It.touchPress(Ke.currentTarget),Ke.preventDefault(),I?.(Ke);return}typeof g!="boolean"&&w&&qe(xt=>!xt),T?.(Ke)},yt=o.useCallback(()=>{(z||ne)&&(Te(!0),rt(De.current?.getBoundingClientRect()??null))},[z,ne]),vt=o.useCallback(()=>{(z||ne)&&(Te(!1),rt(null))},[z,ne]),Et=!!(z||ne),It=Fa(nt,Ke=>{Ke?yt():vt()},De,{enabled:Et&&(X||F),fallbackOnParent:Et&&X}),Je={...D};delete Je.disabled,delete Je.className,delete Je.faded,delete Je.useFaded,delete Je.loading,delete Je.onMouseLeave,delete Je.onPointerEnter,delete Je.onPointerLeave,delete Je.onPointerUp,delete Je.onFocus,delete Je.onBlur,X&&(Object.keys(Je).forEach(Ke=>{/^on[A-Z]/.test(Ke)&&typeof Je[Ke]=="function"&&delete Je[Ke]}),Je["aria-disabled"]="true"),k&&(Je["aria-busy"]="true");const At=(typeof z=="string"?z:null)??(typeof ie=="string"?ie:null)??(typeof v=="string"?v:null)??(typeof ce=="string"?ce:null)??void 0,Qe=typeof v=="string"?v:typeof ce=="string"?ce:At,fe=ne?[ne.title,...ne.items??[]].filter(Boolean).join(". "):z&&At&&At!==Qe?At:"",Le=[typeof D["aria-describedby"]=="string"?D["aria-describedby"]:void 0,fe?pt:null].filter(Boolean).join(" ")||void 0,Pe=()=>n.jsx("span",{className:`${je} button__spinner`,"aria-hidden":"true",children:n.jsx(Nr,{variant:"spinner",size:"100%"})}),We=(Ke,xt)=>n.jsx(lt,{icon:Ke,label:xt??Qe,className:je,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),dt=Ke=>k?Pe():We(c,Ke),on=()=>_e==="dot"?n.jsxs(n.Fragment,{children:[dt(),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()})]}):_==="center"&&(c||k)?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:dt()}),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()})]}),xe&&n.jsx("span",{className:"button__right",children:We(p)})]}):n.jsxs(n.Fragment,{children:[(c||k)&&n.jsx("span",{className:"button__left",children:dt(v??ce)}),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()}),xe&&n.jsx("span",{className:"button__right",children:We(p)})]}),ht=!!l&&!X;return n.jsxs(n.Fragment,{children:[n.jsxs(ht?"a":"button",{...Je,ref:ot,...ht?{href:l,target:i,rel:u??(i==="_blank"?"noreferrer":void 0)}:{type:s??"button",disabled:X&&!I&&!gt},className:ct,"aria-pressed":kt,"aria-expanded":typeof A=="boolean"?A:D["aria-expanded"],"aria-controls":f??D["aria-controls"],"aria-label":Qe,"aria-disabled":X&&(ht||I||gt)?!0:void 0,"aria-describedby":Le,style:ke,onClick:Ft,onMouseLeave:Nt,onPointerEnter:Ke=>{tr(Ke)||yt(),!X&&typeof D.onPointerEnter=="function"&&D.onPointerEnter(Ke)},onPointerLeave:Ke=>{tr(Ke)||vt(),!X&&typeof D.onPointerLeave=="function"&&D.onPointerLeave(Ke)},onPointerUp:Ke=>{X&&Et&&It.touchPress(Ke.currentTarget),!X&&typeof D.onPointerUp=="function"&&D.onPointerUp(Ke)},onFocus:Ke=>{_t(!0),ur()||yt(),!X&&typeof D.onFocus=="function"&&D.onFocus(Ke)},onBlur:Ke=>{_t(!1),X||Ct(Ke),vt(),!X&&typeof D.onBlur=="function"&&D.onBlur(Ke)},children:[on(),fe?n.jsx("span",{id:pt,hidden:!0,"aria-label":fe}):null]}),nt&&ne?n.jsx(er,{anchorRect:Xe,title:ne.title,items:ne.items,onClose:ut}):nt&&At?n.jsx(zn,{anchorRect:Xe,text:At,onClose:ut}):null]})}const me=o.forwardRef(nv);me.displayName="Button";function Ht(e,t,r){const a=o.useRef(null);return o.useLayoutEffect(()=>{const s=a.current?.parentElement??null;return t(s,e),()=>r(s)},[e,t,r]),a}const aa={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},rs=new WeakMap;function as(e){if(e)return rs.get(e)}function ln(e,t){e&&(e.style.setProperty(aa.title,t.title),e.style.setProperty(aa.description,t.description),rs.set(e,t))}function un(e){e&&(e.style.removeProperty(aa.title),e.style.removeProperty(aa.description),rs.delete(e))}const eu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function tu(){const e=Ht(eu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const nu={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function ru(){const e=Ht(nu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const au={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function ou(){const e=Ht(au,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const su={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function lu(){const e=Ht(su,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const iu={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function uu(){const e=Ht(iu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const cu={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function du(){const e=Ht(cu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const pu={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function hu(){const e=Ht(pu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const mu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function fu(){const e=Ht(mu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Cu={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function gu(){const e=Ht(Cu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const bu={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function yu(){const e=Ht(bu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const vu={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function xu(){const e=Ht(vu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:n.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const _u={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function wu(){const e=Ht(_u,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const Bu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function ku(){const e=Ht(Bu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const Au={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Nu(){const e=Ht(Au,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const fn=(e,t,r)=>({key:e,get label(){return Pt.t(`promoBannerBg.${e}`,t)},textTone:r}),rv=[fn("main","\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("soft","\uC18C\uD504\uD2B8","dark"),fn("sub","\uC11C\uBE0C \uCEEC\uB7EC","light"),fn("deep","\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("softSub","\uC18C\uD504\uD2B8 \uC11C\uBE0C","dark"),fn("warm","\uC6DC(\uAC15\uC870)","dark"),fn("dark","\uB2E4\uD06C","light"),fn("radial","\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("diagonal","\uB300\uAC01\uC120 \uD328\uD134","dark"),fn("dots","\uB3C4\uD2B8 \uD328\uD134","dark"),fn("outline","\uC544\uC6C3\uB77C\uC778","dark"),fn("success","\uC131\uACF5/\uC644\uB8CC","light"),fn("naver","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4","light"),fn("instagram","\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4","light")],Eu={main:tu,soft:ru,sub:ou,deep:lu,softSub:uu,warm:du,dark:hu,radial:fu,diagonal:gu,dots:yu,outline:xu,success:wu,naver:ku,instagram:Nu};function ju({storageKey:e="fontScale",baseFont:t=20,minScale:r=.8,maxScale:a=1.4,step:s=.1,lineHeightRatio:l=1.4}={}){const i=g=>Math.max(r,Math.min(a,Number(g))),u=g=>{try{const w=localStorage.getItem(g),A=w?Number(w):1;return Number.isFinite(A)?i(A):i(1)}catch{return i(1)}},[c,p]=o.useState(()=>u(e)),[h,d]=o.useState(e);h!==e&&(d(e),p(u(e))),o.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const m=g=>{p(typeof g=="function"?w=>i(g(w)):i(g))},C=()=>m(g=>+(g+s).toFixed(6)),v=()=>m(g=>+(g-s).toFixed(6)),b=c<a-Number.EPSILON,_=c>r+Number.EPSILON,y=Math.round(t*c),x=Math.round(y*l);return{scale:c,setScale:m,increase:C,decrease:v,canIncrease:b,canDecrease:_,fontSize:y,lineHeight:x}}function Du(e,t){const r=ra(t);o.useEffect(()=>{const a=()=>r.current();try{window.addEventListener(e,a)}catch{}return()=>{try{window.removeEventListener(e,a)}catch{}}},[e,r])}const os=" \xB7 ",Su=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(os)?e.split(os).pop()??e:e})(),av=o.createContext(!1),cr=[];let Tu=null;function ov(e){const t=o.useContext(av);o.useEffect(()=>{if(t||typeof e!="string"||!e)return;cr.length===0&&(Tu=document.title);const r={text:Su?`${e}${os}${Su}`:e};return cr.push(r),document.title=r.text,()=>{const a=cr.lastIndexOf(r);a>=0&&cr.splice(a,1),document.title=cr.length?cr[cr.length-1].text:Tu??document.title}},[e,t])}const ss=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}],sv=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function xn(e,t){return sv().compare(e,t)}const Ia=new Map;function lv(e){const t=Ia.get(e);if(t)return t;const r=[],a=/-?\d+(?:\.\d+)?/g;let s=0;for(let l=a.exec(e);l;l=a.exec(e)){let i=l.index,u=l[0];u[0]==="-"&&i>0&&!/\s/.test(e[i-1])&&(i+=1,u=u.slice(1)),i>s&&r.push(e.slice(s,i)),r.push(Number(u)),s=l.index+l[0].length}return s<e.length&&r.push(e.slice(s)),Ia.size>5e3&&Ia.clear(),Ia.set(e,r),r}function iv(e){if(!/^[\d\s-]+$/.test(e))return null;const t=e.replace(/\D/g,"");return t.length<9||t.length>11?null:t[0]==="0"||t[0]==="1"&&e!==t?t:null}function uv(e,t){const r=p=>p==null||typeof p=="number"&&Number.isNaN(p)?"":String(p).trim(),a=r(e),s=r(t);if(a===s)return 0;const l=(p,h)=>{if(typeof p=="number"&&!Number.isNaN(p))return[p];const d=iv(h);return d!==null?[d]:lv(h)},i=l(e,a),u=l(t,s),c=Math.min(i.length,u.length);for(let p=0;p<c;p++){const h=i[p],d=u[p];if(typeof h=="number"&&typeof d=="number"){if(h!==d)return h-d;continue}if(typeof h=="number")return-1;if(typeof d=="number")return 1;const m=xn(h,d);if(m!==0)return m}return i.length!==u.length?i.length-u.length:xn(a,s)}const Mu=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function Oa(e,t,r){const a=Mu(e),s=Mu(t);if(a||s)return a===s?0:a?1:-1;const l=uv(e,t);return r?l:-l}function cv(e,t,r){const{t:a}=Ee.useTranslation(),[s,l]=o.useState(()=>{const v=r?.initialPageSize;return v&&ss.some(b=>b.value===v)?v:"25"}),[i,u]=o.useState(1),[c,p]=o.useState(t);Object.is(c,t)||(p(t),i!==1&&u(1));const h=o.useMemo(()=>ss.map(v=>({...v,label:a("visits.showN",{n:v.value})})),[a]),d=o.useCallback(v=>{ss.some(b=>b.value===v)&&(l(v),u(1))},[]),m=Math.max(1,Math.ceil(e.length/Number(s))),C=Math.min(Math.max(1,Number.isFinite(i)?Math.floor(i):1),m);return i!==C&&u(C),{pageRows:o.useMemo(()=>e.slice((C-1)*Number(s),C*Number(s)),[e,C,s]),pageSizeProps:{options:h,value:s,onChange:d},paginationProps:{page:C,total:m,onChange:u},setPage:u}}function dv(e){const[t,r]=o.useState(()=>e?.defaultKey!=null?{key:e.defaultKey,asc:e.defaultAsc??!0}:null),a=o.useRef(t),s=o.useRef(e?.onSortChange);s.current=e?.onSortChange;const l=o.useCallback(c=>{const p=a.current,h=p?.key===c?{key:c,asc:!p.asc}:{key:c,asc:!0};a.current=h,r(h),s.current?.(h)},[]),i=o.useCallback((c,p)=>({label:c,sortDir:t?.key===p?t.asc?"asc":"desc":null,onClick:()=>l(p)}),[t,l]),u=o.useCallback((c,p)=>{if(!t)return c;const{key:h,asc:d}=t;return[...c].sort((m,C)=>Oa(p(m,h),p(C,h),d))},[t]);return{sort:t,field:i,sortRows:u}}const Dn="\uC804\uCCB4",pv={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},hv={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},mv={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function fv(e,t){if("place"in t)return pv[t.place](e);const r=hv[t.vowel](e);return t.glide?`${r} \xB7 ${mv[t.glide](e)}`:r}const Cv=(e,{defaultValue:t})=>t,$u=(e,t)=>({jamos:e,phonetic:t,tooltip:fv(Cv,t)}),Wn=(e,t)=>t.map(r=>$u([r],{place:e})),Qt=(e,t,r)=>$u([...e],r?{vowel:t,glide:r}:{vowel:t}),ls={cho:[Wn("labial",["\u3142","\u3143","\u314D","\u3141"]),Wn("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Wn("alveolar",["\u3145","\u3146"]),Wn("palatal",["\u3148","\u3149","\u314A"]),Wn("velar",["\u3131","\u3132","\u314B"]),Wn("glottal",["\u314E"])],jung:[[Qt("\u3163","frontHigh"),Qt("\u315F","frontHigh","w"),Qt("\u3162","frontHigh","velar")],[Qt("\u3161","backHighUnrounded")],[Qt("\u315C","backHighRounded"),Qt("\u3160","backHighRounded","j")],[Qt("\u3154\u3150","frontMid"),Qt("\u3156\u3152","frontMid","j"),Qt("\u3159\u315A\u315E","frontMid","w")],[Qt("\u3153","backMidUnrounded"),Qt("\u3155","backMidUnrounded","j"),Qt("\u315D","backMidUnrounded","w")],[Qt("\u3157","backMidRounded"),Qt("\u315B","backMidRounded","j")],[Qt("\u314F","low"),Qt("\u3151","low","j"),Qt("\u3158","low","w")]],jong:[Wn("labial",["\u3142","\u3141"]),Wn("alveolar",["\u3137","\u3134","\u3139"]),Wn("velar",["\u3131","\u3147"])]},gv=e=>e===bv?[]:Array.from(e),bv="__NO_CODA__",is=e=>e.map(t=>t.map(({jamos:r,phonetic:a,tooltip:s})=>({v:r.join(""),phonetic:a,tooltip:s}))),Lu={cho:is(ls.cho),jung:is(ls.jung),jong:is(ls.jong)};Lu.jung.flat().forEach(({v:e})=>{for(const t of gv(e));}),new Set(Lu.cho.flat().map(e=>e.v)),Object.fromEntries(Object.entries(Sb).map(([e,{nucleus:t}])=>[e,t]));function yv(e,t=!0){const r=ra(e);o.useEffect(()=>{if(t)return ir(()=>{r.current?.()})},[t,r])}function za(){const[e,t]=o.useState(null),r=o.useCallback(l=>t(l.getBoundingClientRect()),[]),a=o.useCallback(()=>t(null),[]),s=o.useCallback(l=>{const i=l.getBoundingClientRect();t(u=>u?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:r,close:a,toggleAt:s}}function vv(e){const[t,r]=o.useState(null),[a,s]=o.useState(null),l=o.useRef(null);o.useEffect(()=>()=>{l.current&&clearTimeout(l.current)},[]);const i=o.useCallback((c,p)=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{r(c),s(p)},e)},[e]),u=o.useCallback(()=>{l.current&&clearTimeout(l.current),r(null),s(null)},[]);return{payload:t,anchorRect:a,openAfterDelay:i,close:u}}function Ru(e="warning"){const[t,r]=o.useState(""),[a,s]=o.useState(e),[l,i]=o.useState(0),u=o.useCallback((d,m)=>{s(m),r(d),i(C=>C+1)},[]),c=o.useCallback(d=>u(d,"warning"),[u]),p=o.useCallback(d=>u(d,"normal"),[u]),h=o.useCallback(()=>r(""),[]);return{toastMessage:t,toastType:a,toastKey:l,showToast:u,showWarning:c,showNormal:p,clearToast:h}}function oa(e){let t=0;if(e&&typeof window<"u"&&typeof window.getComputedStyle=="function")for(let r=e;r&&r!==document.body&&r!==document.documentElement;r=r.parentElement){const a=parseInt(window.getComputedStyle(r).zIndex,10);!Number.isNaN(a)&&a>t&&(t=a)}return t>0?`max(var(--z-menu, 1500), ${t+1})`:"var(--z-menu, 1500)"}function sa({computeStyle:e,onScroll:t="close",onResize:r="close",ignoreOutsideClickSelector:a}){const[s,l]=o.useState(!1),[i,u]=o.useState({position:"fixed"}),c=o.useRef(null),p=o.useRef(null),h=o.useCallback(()=>{c.current&&u(e(c.current.getBoundingClientRect(),c.current))},[e]);o.useLayoutEffect(()=>{s&&h()},[s,h]),o.useEffect(()=>{if(!s)return;let C=p.current?.offsetHeight??0;C>0&&h();let v=0,b=null;typeof ResizeObserver<"u"&&p.current&&(b=new ResizeObserver(()=>{const B=p.current?.offsetHeight??0;if(B!==C){if(C=B,++v>4){b?.disconnect(),b=null;return}h()}}),b.observe(p.current));const _=B=>{const k=B.target;a&&k.closest?.(a)||c.current?.contains(k)||p.current?.contains(k)||l(!1)};document.addEventListener("mousedown",_),document.addEventListener("pointerdown",_);let y=null;const x=()=>{if(typeof requestAnimationFrame>"u"){h();return}y===null&&(y=requestAnimationFrame(()=>{y=null,h()}))},g=B=>{p.current?.contains(B.target)||(t==="reposition"?x():t==="close"&&l(!1))};t!=="ignore"&&window.addEventListener("scroll",g,!0);const w=()=>{r==="reposition"?x():r==="close"&&l(!1)};let A=null;const f=()=>{w(),A&&clearTimeout(A),A=setTimeout(()=>{A=null,r==="reposition"&&h()},250)};return r!=="ignore"&&(window.addEventListener("resize",w),window.addEventListener("orientationchange",f)),()=>{y!==null&&cancelAnimationFrame(y),b?.disconnect(),document.removeEventListener("mousedown",_),document.removeEventListener("pointerdown",_),t!=="ignore"&&window.removeEventListener("scroll",g,!0),r!=="ignore"&&(window.removeEventListener("resize",w),window.removeEventListener("orientationchange",f)),A&&clearTimeout(A)}},[s,h,t,r,a]),o.useEffect(()=>{if(s)return ir(()=>l(!1))},[s]);const d=o.useCallback(()=>l(C=>!C),[]),m=o.useCallback(()=>l(!1),[]);return{open:s,setOpen:l,toggle:d,close:m,style:i,triggerRef:c,menuRef:p}}function xv(e,{mode:t="playback",autoStart:r=!1,onPlaySpeaker:a,onComplete:s,playMs:l=1100,feedbackMs:i=1500}={}){const[u,c]=o.useState([]),[p,h]=o.useState(0),[d,m]=o.useState("idle"),[C,v]=o.useState(null),[b,_]=o.useState([]),[y,x]=o.useState(null),[g,w]=o.useState(0),A=o.useRef(0),f=o.useCallback(F=>{A.current=typeof F=="function"?F(A.current):F,w(A.current)},[]),B=o.useRef(a),k=o.useRef(s);o.useEffect(()=>{B.current=a,k.current=s},[a,s]);const E=o.useRef([]),N=()=>{E.current.forEach(clearTimeout),E.current=[]},S=(F,G)=>{E.current.push(setTimeout(G,F))};o.useEffect(()=>()=>N(),[]);const j=u[p]?.id??null,$=o.useRef(null),W=o.useCallback(()=>{N(),m("playing"),_([]),x(null),f(0);let F=0;e.forEach((G,ee)=>{S(F,()=>{h(ee),v(G.id),B.current?.(G)}),S(F+1e3,()=>{v(null),_(Z=>[...Z,G.id])}),F+=1300}),S(F,()=>{m("done"),k.current?.({score:0,total:e.length})})},[e,f]),P=o.useCallback((F,G)=>{if(G>=F.length){m("done"),k.current?.({score:A.current,total:F.length});return}$.current=null,h(G),x(null),m("playing"),v(F[G].id),B.current?.(F[G]),S(l,()=>{v(null),m("waiting")})},[l]),V=o.useCallback(()=>{N();const F=Jr(e);c(F),f(0),_([]),P(F,0)},[e,P,f]),T=o.useCallback(()=>{t==="playback"?(c(e),W()):V()},[t,e,W,V]),I=o.useCallback(()=>{N(),m("idle"),v(null),_([]),x(null),h(0),f(0),c([])},[f]),z=JSON.stringify(e.map(F=>[F.id,F.label,F.angleDeg,F.deg,F.row,F.shortcut]));o.useEffect(()=>(r?T():I(),()=>N()),[t,z,r]);const ie=o.useCallback(F=>{d!=="waiting"||t==="playback"||$.current===p||($.current=p,x(F),F===u[p]?.id&&f(G=>G+1),t==="exam"?(m("playing"),S(400,()=>P(u,p+1))):(m("feedback"),S(i,()=>P(u,p+1))))},[d,t,u,p,P,i,f]),ne=t==="playback"?e.length:u.length;return{bind:{activeSpeakerId:C,playedIds:b,selectedId:y,answerId:j,showFeedback:d==="feedback",clickable:d==="waiting",onSelectSpeaker:ie},index:p,total:ne,score:g,phase:d,done:d==="done",start:T,reset:I}}const us=new Map,cs=new Map,_v=()=>()=>{},wv=()=>!0,Bv=()=>!1;function Pu(e){const t=/^data:image\/svg\+xml(;base64)?,([\s\S]*)$/.exec(e);if(!t)return null;try{if(!t[1])return decodeURIComponent(t[2]);const r=Uint8Array.from(atob(t[2]),a=>a.charCodeAt(0));return new TextDecoder("utf-8").decode(r)}catch{return null}}function kv(e){if(typeof window>"u")return"";const t=(r,a)=>{const s=a.attrName.toLowerCase(),l=a.attrValue.trim();(s==="href"||s==="xlink:href")&&!l.startsWith("#")&&(a.keepAttr=!1),(s==="style"||l.includes("\\")&&l.includes("("))&&(a.keepAttr=!1);const i=l.replace(/url\s*\(\s*(['"]?)#[^)\s'"]+\1\s*\)/gi,"");/url\s*\(/i.test(i)&&(a.keepAttr=!1)};wr.addHook("uponSanitizeAttribute",t);try{return wr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","style","foreignObject"]})}finally{wr.removeHook("uponSanitizeAttribute",t)}}function Av(e,t){const r=new Set;for(const i of e.matchAll(/url\(\s*(['"]?)#([^)\s"']+)\1\s*\)/g))r.add(i[2]);for(const i of e.matchAll(/(?:xlink:)?href="#([^"]+)"/g))r.add(i[1]);const a=new Set([...e.matchAll(/id="([^"]*)"/g)].map(i=>i[1])),s=[...r].filter(i=>a.has(i));if(s.length===0)return e;let l=e;for(const i of s){const u=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),c=`${t}-${i}`;l=l.replace(new RegExp(`id="${u}"`,"g"),`id="${c}"`).replace(new RegExp(`url\\(\\s*(['"]?)#${u}\\1\\s*\\)`,"g"),(p,h)=>`url(${h}#${c}${h})`).replace(new RegExp(`((?:xlink:)?href)="#${u}"`,"g"),`$1="#${c}"`)}return l}function Nv(e){const t=cs.get(e);if(t)return t;const r=fetch(e).then(a=>a.ok?a.text():null).then(a=>(a!=null&&us.set(e,a),a)).catch(()=>null).finally(()=>{cs.delete(e)});return cs.set(e,r),r}function Ev(e,t=!0){const r=o.useSyncExternalStore(_v,wv,Bv)&&t&&e?Pu(e)??us.get(e)??null:null,[a,s]=o.useState({src:e,enabled:t,svg:r});return o.useEffect(()=>{if(!t||!e){s({src:e,enabled:t,svg:null});return}const l=Pu(e)??us.get(e)??null;if(l!==null){s({src:e,enabled:t,svg:l});return}let i=!0;return Nv(e).then(u=>{i&&s({src:e,enabled:t,svg:u})}),()=>{i=!1}},[e,t]),a.src===e&&a.enabled===t?a.svg:r}const jv=e=>String(e);function Dv(e,t=jv){const[r,a]=o.useState(null),[s,l]=o.useState(null),i=o.useCallback(c=>({draggable:!0,onDragStart:p=>{a(c),p.dataTransfer.effectAllowed="move",p.dataTransfer.setData("text/plain",t(c))},onDragEnd:()=>{a(null),l(null)}}),[t]),u=o.useCallback((c,p)=>{const h=r!=null&&(!p||p(r));return{onDragOver:d=>{h&&(d.preventDefault(),d.dataTransfer.dropEffect="move",l(c))},onDragEnter:()=>{h&&l(c)},onDragLeave:d=>{h&&!d.currentTarget.contains(d.relatedTarget)&&l(m=>m===c?null:m)},onDrop:d=>{if(!h||r==null)return;d.preventDefault();const m=r;l(null),a(null),e(m,c)}}},[r,e]);return{dragging:r,draggingId:r==null?null:t(r),dragOverKey:s,cardProps:i,groupProps:u}}const Sv=[10,25,50,100];function Tv(e=Sv){const{t}=Ee.useTranslation(),r=e.join(",");return o.useMemo(()=>e.map(a=>({value:String(a),label:t("common.pageSizeLabel",{n:a,defaultValue:"{{n}}\uAC1C\uC529 \uBCF4\uAE30"})})),[r,t])}function Mv(e){o.useEffect(()=>{if(!e||typeof navigator>"u")return;const t=navigator.wakeLock;if(!t)return;let r=null,a=!1;const s=async()=>{if(!(a||r||document.visibilityState!=="visible"))try{const i=await t.request("screen");if(a){i.release().catch(()=>{});return}r=i,i.addEventListener("release",()=>{r===i&&(r=null)})}catch{}},l=()=>{document.visibilityState==="visible"&&s()};return s(),document.addEventListener("visibilitychange",l),()=>{a=!0,document.removeEventListener("visibilitychange",l),r&&(r.release().catch(()=>{}),r=null)}},[e])}const Fu="__ihabBackClosable",dr=[];let Wa=0,Iu=!1,$v=1;function ds(){try{const e=window.history.state?.[Fu];return typeof e=="number"?e:void 0}catch{return}}function Ou(e){try{const t=window.history.state??{};window.history.pushState({...t,[Fu]:e},"")}catch{}}function Lv(){if(Wa>0){Wa--;return}const e=dr[dr.length-1];if(e&&ds()!==e.id){if(e.onBack()===!1){Ou(e.id);return}dr.pop()}}function Rv(){Iu||typeof window>"u"||(window.addEventListener("popstate",Lv),Iu=!0)}function zu(e,t){const r=o.useRef(t);o.useEffect(()=>{r.current=t});const a=o.useRef(null);o.useEffect(()=>{if(!e||typeof window>"u")return;Rv();const s=a.current??(a.current=$v++),l={id:s,onBack:()=>r.current()};return dr.push(l),ds()!==s&&Ou(s),()=>{const i=dr.indexOf(l);if(i<0){a.current=null;return}dr.splice(i,1),setTimeout(()=>{if(!dr.some(u=>u.id===s)&&(a.current===s&&(a.current=null),ds()===s)){Wa++;try{window.history.back()}catch{Wa--}}},0)}},[e])}const Wu=260;function Pv({title:e,description:t,actionLabel:r,onAction:a,bg:s,color:l,size:i="medium",actionVariant:u,titleColor:c,descriptionColor:p,className:h=""}){const d=s??l??"main",m=o.useRef(null),[C,v]=o.useState("main"),b=Bn("(max-width: 767px)"),_=o.useRef({title:!1,description:!1});o.useLayoutEffect(()=>{const g=m.current;if(!g)return;const w=as(g),A=(f,B,k)=>{if(k!==void 0)g.style.setProperty(B,k),_.current[f]=!0;else if(_.current[f]){const E=w?.[f];E?g.style.setProperty(B,E):g.style.removeProperty(B),_.current[f]=!1}};A("title","--promo-banner-bg-title",c),A("description","--promo-banner-bg-description",p)},[c,p,d]),o.useLayoutEffect(()=>{const g=m.current;if(!g)return;const w=as(g);v(w?.actionVariant??"main")},[d]);const y=we("promo-banner",`promo-banner--${i}`,h),x=Eu[d];return n.jsxs("div",{ref:m,className:y,role:"note",children:[n.jsx(x,{}),n.jsxs("div",{className:"promo-banner__text",children:[n.jsx("span",{className:`promo-banner__title ${i==="small"?"body-2":"h2"}`,children:e}),t&&n.jsx("span",{className:"promo-banner__description body-3",children:t})]}),r&&a&&n.jsx(me,{htmlType:"button",size:40,variant:u??C,shape:"pill",useBorder:!0,onClick:a,ariaLabel:r,...b?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:r,minWidth:140}})]})}function Fv({children:e,interval:t=5e3,dotTone:r,className:a="","aria-label":s}){const{t:l}=Ee.useTranslation(),i=s??l("topBanner.ariaLabel","\uBC30\uB108"),u=o.Children.toArray(e),c=u.length,[p,h]=o.useState(0),[d,m]=o.useState(!1),[C,v]=o.useState(!1),[b,_]=o.useState(!1),y=o.useRef(null),x=o.useRef(null),g=o.useRef(null),w=Pa(),A=d||C||b,f=c>0?Math.min(p,c-1):0;o.useEffect(()=>{if(c<2||t<=0||A||w)return;const k=window.setInterval(()=>h(E=>(Math.min(E,c-1)+1)%c),t);return()=>window.clearInterval(k)},[c,t,A,w]);const B=k=>{x.current!=null&&window.clearTimeout(x.current),x.current=window.setTimeout(()=>{x.current=null,_(!1)},k)};return o.useEffect(()=>()=>{x.current!=null&&window.clearTimeout(x.current)},[]),o.useEffect(()=>{if(!b)return;const k=E=>{E.pointerType==="touch"&&(g.current&&g.current.contains(E.target)||(x.current!=null&&(window.clearTimeout(x.current),x.current=null),_(!1)))};return document.addEventListener("pointerdown",k,!0),()=>document.removeEventListener("pointerdown",k,!0)},[b]),c===0?null:n.jsxs("section",{ref:g,className:we("top-banner",a),"aria-label":i,"aria-roledescription":"carousel",onPointerEnter:k=>{y.current=k.pointerType},onPointerDown:k=>{y.current=k.pointerType,k.pointerType==="touch"&&(x.current!=null&&(window.clearTimeout(x.current),x.current=null),_(!0))},onPointerUp:k=>{k.pointerType==="touch"&&B(5e3)},onPointerCancel:k=>{k.pointerType==="touch"&&B(5e3)},onMouseEnter:()=>{y.current!=="touch"&&m(!0)},onMouseLeave:()=>m(!1),onFocus:k=>{let E=!0;try{E=k.target.matches(":focus-visible")}catch{E=!0}v(E)},onBlur:k=>{k.currentTarget.contains(k.relatedTarget)||v(!1)},children:[n.jsx("div",{className:"top-banner__viewport",children:n.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${f*100}%)`},children:u.map((k,E)=>n.jsx("div",{className:"top-banner__slide","aria-hidden":E!==f,...E!==f?{inert:!0}:{},children:k},E))})}),c>1&&n.jsx("div",{className:`top-banner__dots${(r?.[f]??"light")==="dark"?" top-banner__dots--dark":""}`,children:u.map((k,E)=>n.jsx("button",{type:"button",className:`top-banner__dot${E===f?" top-banner__dot--active":""}`,"aria-label":l("topBanner.dotAriaLabel",{count:c,index:E+1,defaultValue:`${c}\uAC1C \uC911 ${E+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":E===f,onClick:()=>h(E)},E))})]})}function Iv({title:e,body:t,open:r=!1,onToggle:a,avatar:s,titleClassName:l="body-2",bodyClassName:i="body-2",className:u=""}){const{t:c}=Ee.useTranslation();return n.jsxs("div",{className:`accordion-item ${r?"accordion-item--open":""} ${u}`.trim(),role:"listitem",children:[n.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":r,"data-accordion-header":!0,onClick:a,onKeyDown:p=>{if(p.key==="Enter"||p.key===" ")p.preventDefault(),a?.();else if(p.key==="ArrowDown"||p.key==="ArrowUp"){p.preventDefault();const h=p.currentTarget.closest('[role="list"]');if(!h)return;const d=Array.from(h.querySelectorAll("[data-accordion-header]")),m=d.indexOf(p.currentTarget);(p.key==="ArrowDown"?d[m+1]:d[m-1])?.focus()}},children:[s&&n.jsx("div",{className:"accordion-item__avatar",children:s}),n.jsx("div",{className:`accordion-item__title ${l}`,children:e}),n.jsx("div",{className:"accordion-item__chevron",children:n.jsx(lt,{icon:r?"chevron-up":"chevron-down",label:r?c("accordion.collapse","\uC811\uAE30"):c("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),r&&n.jsx("div",{className:`accordion-item__body ${i}`,children:typeof t=="string"?n.jsx("p",{children:t}):t})]})}function Ov({items:e=[],defaultOpenIndex:t=0,size:r=72,className:a="",bodyClassName:s}){const[l,i]=o.useState({index:t}),u=(c,p)=>l.id!=null&&c.id!=null?c.id===l.id:l.id==null&&p===l.index;return n.jsx("div",{className:`accordion-group accordion-group--s${r} ${a}`.trim(),role:"list",children:e.map((c,p)=>n.jsx(Iv,{title:c.title,body:c.body,avatar:c.avatar,open:u(c,p),onToggle:()=>i(u(c,p)?{index:-1}:{index:p,id:c.id}),bodyClassName:s},c.id??p))})}function zv(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:n.jsx("polyline",{points:"2,6 5,9 10,3"})})}function Wv(){return n.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[n.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),n.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function Hv(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:n.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function Sn({children:e,icon:t,number:r,position:a="top-left",size:s=24,animate:l=!1,onClick:i,"aria-label":u,"aria-hidden":c,className:p=""}){const{t:h}=Ee.useTranslation(),d=t??"check",m=r!==void 0,C=e!==void 0||m?"number":d,v=e!==void 0?void 0:m?h("badge.nthSelected",{n:r,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:h("badge.selected","\uC120\uD0DD\uB428"),remove:h("badge.remove","\uC81C\uAC70"),minus:h("badge.exclude","\uC81C\uC678")}[d],b=c?void 0:u??v;return n.jsxs("span",{className:we("circle-badge",`circle-badge--${C}`,`circle-badge--${s}`,`circle-badge--${a}`,l?"circle-badge--animate":"",i?"circle-badge--clickable":"",p),onClick:i,onKeyDown:i?_=>{_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),_.currentTarget.click())}:void 0,"aria-label":b,"aria-hidden":c||void 0,role:i?"button":b?"img":void 0,tabIndex:i?0:void 0,children:[e??(m?r:null),e===void 0&&!m&&d==="check"&&n.jsx(zv,{}),e===void 0&&!m&&d==="remove"&&n.jsx(Wv,{}),e===void 0&&!m&&d==="minus"&&n.jsx(Hv,{})]})}function jr(e){const t=(e??"").trim().toUpperCase();return/^[A-Z]$/.test(t)?`Key${t}`:/^[0-9]$/.test(t)?`Digit${t}`:null}function Ha(e){return e>=0&&e<9?String(e+1):null}function ps(e){return e.map((t,r)=>{const a=t.shortcut;return{...t,shortcut:a!==void 0?a:Ha(r)}})}function Hu(e){const t=new Map;for(const r of e??[])for(const a of r?.items??[]){const s=a&&!a.disabled?jr(a.shortcut):null;s&&t.set(s,(t.get(s)??0)+1)}return[...t].filter(([,r])=>r>1).map(([r])=>r.replace(/^Key|^Digit/,""))}function nr({columns:e=[],onClose:t,className:r="",size:a="medium"}){const{t:s}=Ee.useTranslation(),l=a==="small"?40:48,[i,u]=o.useState([]),c=o.useMemo(()=>{const y=[{title:null,columns:e}];let x=e;for(const g of i){const w=x?.[g.ci]?.items?.[g.ii];if(!w||!Array.isArray(w.children)||!w.children.length)break;x=[{title:null,items:w.children}],y.push({title:w.label||null,columns:x})}return y},[e,i]),p=c[c.length-1],h=c.length-1,d=o.useCallback(()=>u(y=>y.slice(0,Math.max(0,Math.min(y.length,h)-1))),[h]),m=o.useRef(null),C=o.useRef(null),v=c.length;o.useEffect(()=>{C.current||(C.current=document.activeElement);let y=0,x=0;const g=()=>{const w=m.current?.querySelector("button:not([disabled])");if(w&&w.offsetParent){w.focus({preventScroll:!0});return}x++<20&&(y=requestAnimationFrame(g))};return y=requestAnimationFrame(g),()=>cancelAnimationFrame(y)},[v]),o.useEffect(()=>()=>{C.current?.focus?.({preventScroll:!0})},[]);const b=o.useCallback((y,x,g)=>{if(y){if(Array.isArray(y.children)&&y.children.length){u(w=>[...w.slice(0,h),{ci:x,ii:g}]);return}try{typeof y.onClick=="function"&&y.onClick()}catch{}try{y&&y.closeOnSelect&&typeof t=="function"&&t()}catch{}}},[t,h]);o.useEffect(()=>{const y=Hu(p.columns);y.length&&Tt(`menu-shortcut-dup:${y.join(",")}:${p.columns.flatMap(x=>x.items.map(g=>g.label)).join("|")}`,`[MenuTooltip] \uD55C \uBA54\uB274 \uC548\uC5D0\uC11C \uB2E8\uCD95\uD0A4\uAC00 \uACB9\uCE69\uB2C8\uB2E4: ${y.join(", ")} \u2014 \uC55E\uC758 \uD56D\uBAA9\uB9CC \uBA39\uC2B5\uB2C8\uB2E4.`)},[p.columns]);const _=o.useRef({columns:p.columns,handleClick:b});return _.current={columns:p.columns,handleClick:b},o.useEffect(()=>{const y=x=>{if(x.defaultPrevented||x.ctrlKey||x.metaKey||x.altKey)return;const g=x.target;if(g&&g.closest?.('input, textarea, select, [contenteditable=""], [contenteditable="true"]'))return;const{columns:w,handleClick:A}=_.current;for(let f=0;f<(w?.length??0);f++){const B=w[f]?.items??[];for(let k=0;k<B.length;k++){const E=B[k];if(!(!E||E.disabled||jr(E.shortcut)!==x.code)){x.preventDefault(),A(E,f,k);return}}}};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[]),n.jsxs("div",{className:de(`menu-tooltip menu-tooltip--${a} ${r}`),children:[(c.length>1||p.title)&&n.jsxs("div",{className:de("menu-tooltip__header"),children:[c.length>1?n.jsx(me,{htmlType:"button",size:l,type:"dot",icon:"chevron-left",ariaLabel:s("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,n.jsx("div",{className:de("menu-tooltip__title button-1"),children:p.title})]}),n.jsx("div",{className:de("menu-tooltip__columns"),ref:m,children:p.columns&&p.columns.map((y,x)=>{const g=(y.items||[]).some(w=>!!w.icon||w.selected!==void 0);return n.jsxs("div",{className:de("menu-tooltip__column"),children:[y.title?n.jsx("div",{className:de("menu-tooltip__column-title body-3"),children:y.title}):null,n.jsx("div",{className:de("menu-tooltip__items"),children:(y.items||[]).map((w,A)=>n.jsxs(o.Fragment,{children:[w.separatorBefore&&A>0&&n.jsx("div",{className:de("menu-tooltip__separator"),role:"separator"}),n.jsx(me,{htmlType:"button",className:de("menu-tooltip__item"),size:l,type:w.label?"bar":"dot",icon:w.selected?"check":w.icon||(g||!w.label?"none":void 0),rightIcon:Array.isArray(w.children)&&w.children.length?"chevron-right":w.badgeCount?n.jsx(Sn,{position:"inline",number:Math.min(w.badgeCount,99),size:24,"aria-hidden":!0}):jr(w.shortcut)?n.jsx("kbd",{className:de("menu-tooltip__shortcut caption-1"),"aria-hidden":"true",children:w.shortcut.trim().toUpperCase()}):void 0,"aria-keyshortcuts":jr(w.shortcut)?w.shortcut.trim().toUpperCase():void 0,ellipsis:jr(w.shortcut)?!0:void 0,label:w.label,ariaLabel:w.label&&w.badgeCount&&w.badgeCount>0?s("nav.badgeLabel",{label:w.label,count:w.badgeCount,defaultValue:"{{label}}, {{count}}\uAC1C"}):w.label,onClick:()=>b(w,x,A),selected:w.selected,disabled:w.disabled,showTooltipInfo:w.tooltip||!1,useBorder:!1,align:"left"})]},A))})]},x)})})]})}const Vu=".content-area";function hs(e,t="Nav"){try{const r=typeof e=="string"?document.querySelector(e):e?.current??document.querySelector(Vu);if(r){r.scrollTop=0;return}const a=document.scrollingElement??document.documentElement;a&&a.scrollHeight<=a.clientHeight&&Tt("nav-scroll-container",`[${t}] \uBCF8\uBB38\uC744 \uB9E8 \uC704\uB85C \uB418\uB3CC\uB9B4 \uD1B5\uC744 \uBABB \uCC3E\uC558\uB2E4(\uAE30\uBCF8 ${Vu}) \u2014 \uCC3D\uB3C4 \uAD6C\uB97C \uC218 \uC5C6\uC5B4 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4. scrollContainer \uB85C \uD1B5\uC744 \uC54C\uB824 \uC900\uB2E4.`),window.scrollTo({top:0})}catch{}}const ms=52,Va=10,qu=e=>e&&e>0?e:0;function Uu({items:e=[],activeKey:t,onChange:r,appMode:a,onAppModeChange:s,moreItems:l=[],scrollContainer:i}){const{t:u}=Ee.useTranslation(),c=a==="manager"?"malgwi":"manager",p=a==="manager"?"arrow-left":"arrow-right",h=a==="manager"?u("nav.modeLabelMalgwi","\uB9D0\uADC0"):u("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),d=o.useRef(null),[m,C]=o.useState(0),v=e.length;o.useEffect(()=>{const F=d.current;if(!F)return;const G=()=>{const L=typeof getComputedStyle=="function"?getComputedStyle(F):null,R=F.clientWidth-(parseFloat(L?.paddingLeft??"")||0)-(parseFloat(L?.paddingRight??"")||0),D=F.querySelector(".bottom-nav__left"),H=D?.nextElementSibling,te=(D?.offsetWidth??0)+(D&&H?.classList.contains("bottom-nav__divider")?H.offsetWidth:0);C(Math.max(0,R-te))};if(G(),typeof ResizeObserver>"u")return;const ee=new ResizeObserver(G);ee.observe(F);const Z=F.querySelector(".bottom-nav__left");return Z&&ee.observe(Z),()=>ee.disconnect()},[s]);const b=ms+1,_=F=>Math.max(0,Math.floor((F+Va)/(ms+Va))),y=v*(ms+Va)-Va<=m,x=m<=0||l.length===0&&y?v:Math.min(v,_(m-b)),g=m>0&&x<v,w=g?x:v,A=e.slice(0,w),f=e.slice(w),B=g||l.length>0,k=o.useCallback((F,G)=>({position:"fixed",bottom:window.innerHeight-F.top+8,right:window.innerWidth-F.right,zIndex:oa(G)}),[]),E=o.useId(),{open:N,toggle:S,close:j,style:$,triggerRef:W,menuRef:P}=sa({computeStyle:k,onScroll:"ignore",onResize:"reposition"}),V=o.useCallback((F,G)=>G>0?u("nav.badgeLabel",{label:F,count:G,defaultValue:"{{label}}, {{count}}\uAC1C"}):F,[u]),T=o.useCallback((F,G)=>G>0?u("nav.badgeInsideLabel",{label:F,count:G,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):F,[u]),I=o.useCallback(()=>s?.(c),[s,c]),z=o.useMemo(()=>f.find(F=>!!F.key&&F.key===t)??l.find(F=>F.selected||F.key&&F.key===t),[f,t,l]),ie=o.useMemo(()=>[{items:ps([...f.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:!!F.key&&F.key===t,closeOnSelect:!0,disabled:F.state==="disabled",onClick:()=>{F.state!=="disabled"&&(F.key&&r&&(r(F.key),hs(i,"BottomNav")),j())}})),...l.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:F.selected??(!!F.key&&F.key===t),closeOnSelect:!0,onClick:()=>{F.onClick?.(),j()}}))])}],[f,l,t,r,j]),ne=[...f,...l].reduce((F,G)=>F+qu(G.badgeCount),0);return n.jsxs("nav",{className:"bottom-nav",ref:d,"aria-label":u("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[s&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__left",children:n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:p,ariaLabel:h,className:"bottom-nav-item",onClick:I})}),n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),n.jsx("div",{className:"bottom-nav__items",children:A.map((F,G)=>{const ee=qu(F.badgeCount);return n.jsxs("span",{className:"bottom-nav__slot",children:[n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:F.icon,ariaLabel:V(F.label,ee),selected:!!F.key&&F.key===t,disabled:F.state==="disabled",className:"bottom-nav-item",onClick:()=>{F.key&&(r?.(F.key),hs(i,"BottomNav"))}}),ee>0&&n.jsx("span",{"aria-hidden":"true",children:n.jsx(Sn,{position:"top-right",number:Math.min(ee,99),size:24})})]},F.key??`__slot-${G}`)})}),B&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),n.jsx("div",{className:"bottom-nav__right",children:n.jsxs("div",{ref:W,className:"bottom-nav__slot",children:[n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:z?.icon??"ellipsis",ariaLabel:T(z?.label??u("nav.more","\uB354\uBCF4\uAE30"),ne),selected:!!z,className:"bottom-nav-item",onClick:S,"aria-expanded":N,"aria-controls":N?E:void 0}),ne>0&&n.jsx("span",{"aria-hidden":"true",children:n.jsx(Sn,{position:"top-right",number:Math.min(ne,99),size:24})}),N&&bn.createPortal(n.jsx("div",{id:E,role:"group","aria-label":u("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:de("tooltip__content"),style:$,ref:P,children:n.jsx(nr,{columns:ie,onClose:j})}),document.body)]})})]})]})}function Gu(e){if(typeof e!="string")return!1;let t="";for(const a of e){const s=a.charCodeAt(0);s<=32||s>=127&&s<=159||(t+=a)}if(!t)return!1;const r=/^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(t);return r?["http","https","mailto","tel"].includes(r[1].toLowerCase()):!0}function Ku(e,t,r){return r&&r>0?e("nav.badgeLabel",{label:t,count:r,defaultValue:"{{label}}, {{count}}\uAC1C"}):t}function Vv(e){const{t}=Ee.useTranslation(),{activeKey:r,unreadCount:a,onDebug:s,onNotification:l,onSetting:i,onHelp:u,onFeedback:c,onAccount:p}=e||{},h="default";return s||l||i||u||c||p?n.jsxs("div",{className:"side-nav__footer",children:[s&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"terminal",ariaLabel:t("nav.debug","\uB514\uBC84\uADF8"),onClick:s,selected:r==="debug"}),u&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"message-circle-question-mark",ariaLabel:t("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:u,selected:r==="help"}),l&&n.jsxs("span",{className:"side-nav__notification-wrap",children:[n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"bell",ariaLabel:Ku(t,t("nav.notifications","\uC54C\uB9BC"),a),onClick:l,selected:r==="notifications"}),!!a&&a>0&&n.jsx(Sn,{position:"top-right",number:Math.min(a,99),size:24,"aria-hidden":!0})]}),i&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"settings",ariaLabel:t("nav.settings","\uC124\uC815"),onClick:i,selected:r==="settings"}),c&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"bug",ariaLabel:t("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:c,selected:r==="feedback"}),p&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"user-round",ariaLabel:t("nav.account","\uACC4\uC815"),onClick:p,selected:r==="account"})]}):null}function Yu(e){const{t}=Ee.useTranslation(),{item:r,itemKey:a,label:s,icon:l,active:i,onClick:u,style:c,state:p,labelStyle:h}=e||{},d=r?.key??a??"",m=r?.label??s??"",C=r?.icon??l??"",v=r?.badge??0,b=n.jsx("span",{className:"side-nav__icon-wrap",children:n.jsx(lt,{icon:C,label:typeof m=="string"?m:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),_=p==="disabled",y=`side-nav__item ${i?"active":""} ${p||""} ${_?"disabled":""} ${r?.child?"side-nav__item--child":""}`,x=o.useCallback(g=>{if(_)return;const w=g.detail>0;if(w)try{g.currentTarget.blur()}catch{}u?.(d,g.currentTarget,w)},[_,d,u]);return n.jsxs("button",{type:"button",className:y,onClick:x,"aria-label":typeof m=="string"?Ku(t,m,v):void 0,"aria-current":i?"page":void 0,style:c,"aria-disabled":_,children:[b,n.jsx("span",{className:"side-nav__label button-1 f",style:h,children:m}),v>0&&n.jsx(Sn,{position:"inline",number:Math.min(v,99),size:24,"aria-hidden":!0}),p==="loading"&&n.jsx("span",{className:"side-nav__spinner",role:"img","aria-label":t("loader.loading","\uBD88\uB7EC\uC624\uB294 \uC911\u2026")})]})}function Zu(e){const{t}=Ee.useTranslation(),{items:r=[],activeKey:a,onChange:s,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C,scrollContainer:v}=e||{},b=m==="manager",_=o.useCallback(()=>C?.(b?"malgwi":"manager"),[C,b]),y=o.useRef(null),[x,g]=o.useState(null);o.useEffect(()=>{const k=y.current;if(!k)return;let E=null;const N=()=>{const{scrollHeight:$,clientHeight:W,scrollTop:P}=k;if($<=W+1){g(ie=>ie===null?ie:null);return}const V=Math.max(24,W/$*W),T=W-V,I=$-W,z={top:Math.round(P/I*T),height:Math.round(V)};g(ie=>ie&&ie.top===z.top&&ie.height===z.height?ie:z)},S=()=>{if(typeof requestAnimationFrame>"u"){N();return}E===null&&(E=requestAnimationFrame(()=>{E=null,N()}))};N(),k.addEventListener("scroll",S,{passive:!0});const j=typeof ResizeObserver<"u"?new ResizeObserver(S):null;j?.observe(k);for(const $ of Array.from(k.children))j?.observe($);return()=>{E!==null&&cancelAnimationFrame(E),k.removeEventListener("scroll",S),j?.disconnect()}},[r]);const w=o.useRef(null),A=o.useCallback(k=>{const E=y.current;E&&(k.preventDefault(),w.current={y:k.clientY,top:E.scrollTop},k.currentTarget.setPointerCapture(k.pointerId))},[]),f=o.useCallback(k=>{const E=y.current,N=w.current;!E||!N||(E.scrollTop=N.top+(k.clientY-N.y)*(E.scrollHeight/E.clientHeight))},[]),B=o.useCallback(k=>{w.current=null,k.currentTarget.hasPointerCapture(k.pointerId)&&k.currentTarget.releasePointerCapture(k.pointerId)},[]);return n.jsxs("nav",{"aria-label":t("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[n.jsxs("div",{ref:y,className:"side-nav__menu-list",children:[x&&n.jsx("div",{className:"side-nav__scroll","aria-hidden":"true",children:n.jsx("div",{className:"side-nav__scroll-thumb",style:{top:x.top,height:x.height},onPointerDown:A,onPointerMove:f,onPointerUp:B,onPointerCancel:B})}),(r||[]).filter(k=>!k.section&&(k.key||k.label)).map((k,E)=>n.jsxs(o.Fragment,{children:[k.divider&&n.jsx("div",{className:"side-nav__separator"}),n.jsx(Yu,{item:k,active:!!k.key&&k.key===a,state:k.disabled?"disabled":void 0,onClick:(N,S,j)=>{if(k.disabled)return;if(k.href){if(Gu(k.href)&&window.open(k.href,"_blank","noopener,noreferrer"),j)try{S?.blur()}catch{}return}if(s?.(k.key),hs(v,"SideNav"),!j)return;try{S?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const $=document.querySelector(".header");if($){const W=typeof $.matches=="function";if(!(window.matchMedia("(hover: hover)").matches&&W&&$.matches(":hover"))){$.classList.add("header--force-collapsed");const P=()=>{$.classList.remove("header--force-collapsed"),$.removeEventListener("mouseenter",P)};$.addEventListener("mouseenter",P)}}}})]},k.key??`side-nav__item-${E}`)),C&&n.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),C&&n.jsx(Yu,{item:{key:"__mode-switch__",label:b?t("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"):t("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"),icon:b?"arrow-left":"arrow-right"},onClick:_})]}),n.jsx(Vv,{activeKey:a,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d})]})}var qa='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEar_ko" xmlns="http://www.w3.org/2000/svg" width="583.33" height="240" viewBox="0 0 583.33 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z"/></g><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',fs='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEarManager_ko" xmlns="http://www.w3.org/2000/svg" width="1035.43" height="240" viewBox="0 0 1035.43 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z"/><path d="M644.64,52.32v131.48h-58.24V52.32h58.24ZM634.45,173.81V62.32h-38.25v111.49h38.25ZM713.65,193.61h-10.19v-75.16h-28.64v72.66h-10V46.94h10v61.32h28.64v-62.28h10.19v147.63Z"/><path d="M819.46,171.6c6.6-1.35,12.08-3.11,16.44-5.29v10.19c-4.23,2.31-9.64,4.1-16.24,5.38-6.6,1.28-13.3,1.92-20.09,1.92h-57.28V51.36h10.57v122.25h46.71c6.66,0,13.29-.67,19.89-2.02ZM851.47,193.8V45.98h10.57v147.63l-10.57.19Z"/><path d="M935.66,113.64l48.44,62.28-8.27,6.34-43.06-56.13c-4.36,16.66-10.38,29.92-18.07,39.79-7.69,9.87-16.72,15.83-27.1,17.88v-10.76c8.71-2.05,16.21-8.07,22.49-18.07,6.28-10,11.05-22.97,14.32-38.92,3.27-15.95,5.03-33.86,5.29-53.73h-39.21v-10h88.61v10h-39.02c-.13,18.84-1.6,35.95-4.42,51.32ZM1015.43,193.61h-10.38v-79.39h-37.87v-10.19h37.87v-58.05h10.38v147.63Z"/></g><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',qv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_SpeechEar" xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>';function Xu({src:e,alt:t,className:r,style:a,tone:s,textColor:l}){const i=!s&&!!l,u=Ev(e,i),c="bl"+o.useId().replace(/[^a-zA-Z0-9]/g,"");return s?n.jsx("span",{className:we("brand-logo","brand-logo--tone",r),role:t?"img":void 0,"aria-label":t||void 0,"aria-hidden":t?void 0:!0,style:{...a,"--brand-logo-src":`url("${e}")`,"--brand-logo-tone":s},children:n.jsx("img",{src:e,alt:"","aria-hidden":"true",className:"brand-logo__sizer",draggable:!1})}):i&&u?n.jsx("span",{className:we("brand-logo","brand-logo--inline",r),role:t?"img":void 0,"aria-label":t||void 0,"aria-hidden":t?void 0:!0,style:{...a,"--brand-logo-text-color":l},dangerouslySetInnerHTML:{__html:Av(kv(u),c)}}):n.jsx("img",{src:e,alt:t,className:we("brand-logo",r),style:a,draggable:!1})}function Ju({appMode:e}){const{t}=Ee.useTranslation(),r=e==="manager",a=r?fs:qa,s=qv;return n.jsxs("div",{className:"brand-identity__root","aria-label":t("header.biArea","BI \uC601\uC5ED"),children:[n.jsx("img",{src:s,alt:t("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image brand-identity__image--symbol"}),r?n.jsx("img",{src:a,alt:t("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"),className:"brand-identity__image brand-identity__image--logo"}):n.jsx(Xu,{src:a,alt:t("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),textColor:"light-dark(var(--color-pureBlack), var(--color-text-primary))",className:"brand-identity__image brand-identity__image--logo"})]})}function Qu({activeKey:e,onChange:t,items:r,malgwiItems:a,managerItems:s,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C,scrollContainer:v}){const{t:b}=Ee.useTranslation(),_=Bn("(max-width: 767px)"),y=o.useMemo(()=>(r??[]).filter($=>!$.section&&($.key||$.label)).map($=>({key:$.key,label:typeof $.label=="string"?$.label:void 0,icon:$.icon,state:$.disabled?"disabled":void 0,badgeCount:$.badge})),[r]),x=o.useCallback($=>{const W=r?.find(P=>P.key===$);if(!W?.disabled){if(W?.href){Gu(W.href)&&window.open(W.href,"_blank","noopener,noreferrer");return}t?.($)}},[r,t]),g=o.useMemo(()=>{const $=[];return i&&$.push({key:"debug",icon:"terminal",label:b("nav.debug","\uB514\uBC84\uADF8"),onClick:i}),h&&$.push({key:"help",icon:"message-circle-question-mark",label:b("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),u&&$.push({key:"notifications",icon:"bell",label:b("nav.notifications","\uC54C\uB9BC"),badgeCount:l,onClick:u}),p&&$.push({key:"settings",icon:"settings",label:b("nav.settings","\uC124\uC815"),onClick:p}),d&&$.push({key:"feedback",icon:"bug",label:b("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:d}),c&&$.push({key:"account",icon:"user-round",label:b("nav.account","\uACC4\uC815"),onClick:c}),$},[b,i,u,p,h,d,c,l]),w=o.useCallback(($,W)=>({position:"fixed",top:$.bottom+8,right:Math.max(8,window.innerWidth-$.right),zIndex:oa(W)}),[]),A=o.useId(),{open:f,toggle:B,close:k,style:E,triggerRef:N,menuRef:S}=sa({computeStyle:w,onScroll:"ignore",onResize:"reposition"}),j=o.useMemo(()=>[{items:g.map(($,W)=>({label:$.label,shortcut:Ha(W),icon:$.icon,badgeCount:$.badgeCount,selected:$.selected??(!!$.key&&$.key===e),closeOnSelect:!0,onClick:()=>{$.onClick?.(),k()}}))}],[g,e,k]);return n.jsxs("aside",{className:`header${m==="manager"?" header--manager":""}`,children:[n.jsxs("div",{className:"header__bi",children:[n.jsx(Ju,{appMode:m}),n.jsxs("div",{className:"header__menu-button",ref:N,children:[n.jsx(me,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",useBorder:!1,icon:"menu",ariaLabel:u&&l&&l>0?b("nav.badgeInsideLabel",{label:b("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),count:l,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):b("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:B,"aria-expanded":f,"aria-controls":f?A:void 0}),!!u&&!!l&&l>0&&n.jsx(Sn,{number:Math.min(l,99),size:24,"aria-hidden":!0}),f&&bn.createPortal(n.jsx("div",{id:A,role:"group","aria-label":b("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:de("tooltip__content"),style:E,ref:S,children:n.jsx(nr,{columns:j,onClose:k})}),document.body)]})]}),n.jsx(Zu,{scrollContainer:v,items:r,activeKey:e??void 0,onChange:t,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C}),_&&n.jsx(Uu,{items:y,activeKey:e??void 0,onChange:x,scrollContainer:v,appMode:m,onAppModeChange:C})]})}const Uv=Qu;function cn(e){const{type:t="dot",size:r,className:a="","aria-label":s,"aria-hidden":l,role:i}=e;(e.icon!==void 0||e.number!==void 0||e.position!==void 0||e.animate!==void 0||e.onClick!==void 0)&&Tt("badge-circle-props","[ihab/core] Badge \uAC00 \uC6D0\uD615 \uBC43\uC9C0\uC758 \uD504\uB86D(icon \xB7 number \xB7 position \xB7 animate \xB7 onClick)\uC744 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uC6D0\uD615\uC740 \uC774\uC81C CircleBadge \uAC00 \uADF8\uB9BD\uB2C8\uB2E4 \u2014 Badge \uC758 dot \uB294 \uC791\uC740 \uC54C\uC57D \uC774\uB984\uD45C\uC785\uB2C8\uB2E4. \uADF8 \uC790\uB9AC\uB97C <CircleBadge \u2026/> \uB85C \uBC14\uAFB8\uC138\uC694."),i&&l&&Tt("badge-role-with-hidden",`[ihab/core] Badge \uAC00 role="${i}" \uACFC aria-hidden \uC744 \uD568\uAED8 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uC228\uAE34 \uAC83\uC740 \uB0AD\uB3C5\uAE30\uC5D0 \uB07C\uC5B4\uB4E4 \uC218 \uC5C6\uC5B4 \uC544\uBB34\uAC83\uB3C4 \uC548 \uC77D\uD799\uB2C8\uB2E4 \u2014 \uB458 \uC911 \uD558\uB098\uB9CC \uC8FC\uC138\uC694.`);const{label:u,children:c,variant:p="default",fill:h="filled",useBg:d=!0,minWidth:m,iconLeft:C,iconRight:v,color:b}=e,_=t==="bar",y=typeof r=="number"?"medium":r??"medium",x=(_?{small:"caption-2",medium:"body-3",large:"body-2"}:{small:"caption-2b",medium:"body-3b",large:"body-2b"})[y]??(_?"body-2":"body-2b"),g={small:12,medium:14,large:16}[y]??14,w=we("badge",_?"badge--bar":"",`badge--${p}`,`badge--${y}`,h!=="filled"?`badge--${h}`:"",h==="outline"&&!d?"badge--no-bg":"",x,a),A=b?.startsWith("--")?`var(${b})`:b,f=m!==void 0||A?{...m!==void 0?{minWidth:typeof m=="number"?`${m}px`:m}:{},...A?{"--badge-color":A}:{}}:void 0;return n.jsxs("span",{className:w,style:f,"aria-label":l?void 0:s,role:i??(s&&!l?"img":void 0),"aria-hidden":l||void 0,children:[C&&n.jsx(lt,{icon:C,size:g,className:"badge__icon"}),u??c,v&&n.jsx(lt,{icon:v,size:g,className:"badge__icon"})]})}const Gv=()=>Pt.t("passCard.planSuffix","\uC774\uC6A9\uAD8C");function ec(e){if(!(e==null||e==="")){if(typeof e=="string"&&/^\s*\d[\d,]*\s*$/.test(e)){const t=Number(e.replace(/[,\s]/g,""));if(Number.isFinite(t))return Ar(`${t.toLocaleString("ko-KR")}\uC6D0`)}return Ar(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}}function Kv(e){const t=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(t)?"manager":"speechear"}function Yv(e){if(e.durationDays&&e.durationDays>0){const l=e.durationDays;return l%365===0?`${l/365}\uB144`:`${l}\uC77C`}const t=(e.code??"").match(/(\d+)(d|y)\b/i);if(t)return t[2].toLowerCase()==="y"?`${t[1]}\uB144`:`${t[1]}\uC77C`;const r=e.name??"",a=r.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);if(a)return a[1].replace(/\s+/g,"");const s=r.match(/(\d+)\s*-?\s*(day|year)s?\b/i);return s?s[2].toLowerCase()==="year"?`${s[1]}\uB144`:`${s[1]}\uC77C`:r||Gv()}function Zv(e){const t=(e??"").match(/(\d+)(d|y)\b/i);if(!t)return null;const r=Number(t[1]);return t[2].toLowerCase()==="y"?r*365:r}function tc(e){return{type:e.type??Kv(e),plan:Yv(e),label:e.label,price:ec(e.price),originalPrice:ec(e.originalPrice),discountLabel:e.discountLabel}}var Xv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEar_ko_mono" xmlns="http://www.w3.org/2000/svg" width="583.33" height="240" viewBox="0 0 583.33 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z" fill="%23fff"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z" fill="%23fff"/></g><g id="symbol"><g opacity=".5"><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23fff"/></g><path d="M140,30h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84-3.88-7.1-6.08-15.25-6.08-23.92v-80c0-16.57,13.43-30,30-30h80c8.66,0,16.81,2.21,23.92,6.08-8.48-15.54-24.97-26.08-43.92-26.08Z" fill="%23fff"/><path d="M183.92,56.08c3.88,7.1,6.08,15.25,6.08,23.92v80c0,16.57-13.43,30-30,30h-80c-8.66,0-16.81-2.21-23.92-6.08,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%23fff"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',Jv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEarManager_ko_mono" xmlns="http://www.w3.org/2000/svg" width="1035.43" height="240" viewBox="0 0 1035.43 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z" fill="%23fff"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z" fill="%23fff"/><path d="M644.64,52.32v131.48h-58.24V52.32h58.24ZM634.45,173.81V62.32h-38.25v111.49h38.25ZM713.65,193.61h-10.19v-75.16h-28.64v72.66h-10V46.94h10v61.32h28.64v-62.28h10.19v147.63Z" fill="%23fff"/><path d="M819.46,171.6c6.6-1.35,12.08-3.11,16.44-5.29v10.19c-4.23,2.31-9.64,4.1-16.24,5.38-6.6,1.28-13.3,1.92-20.09,1.92h-57.28V51.36h10.57v122.25h46.71c6.66,0,13.29-.67,19.89-2.02ZM851.47,193.8V45.98h10.57v147.63l-10.57.19Z" fill="%23fff"/><path d="M935.66,113.64l48.44,62.28-8.27,6.34-43.06-56.13c-4.36,16.66-10.38,29.92-18.07,39.79-7.69,9.87-16.72,15.83-27.1,17.88v-10.76c8.71-2.05,16.21-8.07,22.49-18.07,6.28-10,11.05-22.97,14.32-38.92,3.27-15.95,5.03-33.86,5.29-53.73h-39.21v-10h88.61v10h-39.02c-.13,18.84-1.6,35.95-4.42,51.32ZM1015.43,193.61h-10.38v-79.39h-37.87v-10.19h37.87v-58.05h10.38v147.63Z" fill="%23fff"/></g><g id="symbol"><g opacity=".5"><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23fff"/></g><path d="M140,30h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84-3.88-7.1-6.08-15.25-6.08-23.92v-80c0-16.57,13.43-30,30-30h80c8.66,0,16.81,2.21,23.92,6.08-8.48-15.54-24.97-26.08-43.92-26.08Z" fill="%23fff"/><path d="M183.92,56.08c3.88,7.1,6.08,15.25,6.08,23.92v80c0,16.57-13.43,30-30,30h-80c-8.66,0-16.81-2.21-23.92-6.08,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%23fff"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',nc='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_IHAB_mono" xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><path id="symbol" d="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71ZM155.36,155.36c-9.05,9.05-21.55,14.64-35.36,14.64s-26.31-5.6-35.36-14.64c-9.05-9.05-14.64-21.55-14.64-35.36s5.6-26.31,14.64-35.36c9.05-9.05,21.55-14.64,35.36-14.64s26.31,5.6,35.36,14.64c9.05,9.05,14.64,21.55,14.64,35.36s-5.6,26.31-14.64,35.36Z" fill="%23fff"/></svg>';const pr={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Cs=new WeakMap;function Qv(e){if(e)return Cs.get(e)}function Hn(e,t){e&&(e.style.setProperty(pr.text,t.text),e.style.setProperty(pr.sub,t.sub),t.copyrightColor&&e.style.setProperty(pr.copyright,t.copyrightColor),Cs.set(e,t))}function Vn(e){e&&(e.style.removeProperty(pr.text),e.style.removeProperty(pr.sub),e.style.removeProperty(pr.copyright),Cs.delete(e))}const rc={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-text-primary)"};function ac(e={}){const t=Ht(rc,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-two-circle__c1"}),n.jsx("div",{className:"pass-card-bg-two-circle__c3"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${nc}")`}})]})}const oc="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71Z",Dr=240;var la='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_IHAB" xmlns="http://www.w3.org/2000/svg" width="240" height="240" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 240 240"><defs><linearGradient id="linear-gradient" x1="62.99" y1="62.99" x2="190.71" y2="190.71" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="%23499cdf"/><stop offset=".8" stop-color="%234dcdc0"/></linearGradient></defs><path id="symbol" d="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71ZM155.36,155.36c-9.05,9.05-21.55,14.64-35.36,14.64s-26.31-5.6-35.36-14.64c-9.05-9.05-14.64-21.55-14.64-35.36s5.6-26.31,14.64-35.36c9.05-9.05,21.55-14.64,35.36-14.64s26.31,5.6,35.36,14.64c9.05,9.05,14.64,21.55,14.64,35.36s-5.6,26.31-14.64,35.36Z" fill="url(%23linear-gradient)"/></svg>';const ex={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"},tx=100,nx=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function sc(e={}){const t=Ht(ex,Hn,Vn),r="var(--color-main)",a=270,s=170;return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:nx.map(({scale:l,opacity:i},u)=>n.jsx("g",{transform:`translate(${a} ${s}) scale(${l*tx/Dr}) translate(${-Dr/2} ${-Dr/2})`,opacity:i,children:n.jsx("path",{d:oc,fill:"none",stroke:r,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const rx={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",logoColor:"_mono",copyrightColor:"#ffffff"},ax=100,ox=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function sx(e={}){const t=Ht(rx,Hn,Vn),r="#ffffff",a=270,s=170;return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:ox.map(({scale:l,opacity:i},u)=>n.jsx("g",{transform:`translate(${a} ${s}) scale(${l*ax/Dr}) translate(${-Dr/2} ${-Dr/2})`,opacity:i,children:n.jsx("path",{d:oc,fill:"none",stroke:r,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${nc}")`}})]})}const lx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"};function ix(e={}){const t=Ht(lx,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const ux={Logo_SpeechEar_ko:{"":qa,_mono:Xv},Logo_SpeechEarManager_ko:{"":fs,_mono:Jv}};function cx(e,t){if(e)return ux[e]?.[t??""]??void 0}const dx={speechear:qa,manager:fs},px={speechear:"Logo_SpeechEar_ko",manager:"Logo_SpeechEarManager_ko"},lc=10;function hx(e){return e<=0?0:e>=86400?Math.floor(e/86400)*86400:e>=3600?Math.floor(e/3600)*3600:e>=60?Math.floor(e/60)*60:Math.floor(e)}function ic(e,t){if(e<=0)return t("passCard.remainingSecond",{n:0});const r=Math.floor(e/86400);if(r>0)return t("passCard.remainingDay",{n:r});const a=Math.floor(e/3600);if(a>0)return t("passCard.remainingHour",{n:a});const s=Math.floor(e/60);return s>0?t("passCard.remainingMinute",{n:s}):t("passCard.remainingSecond",{n:Math.floor(e)})}function mx(e,t,r){if(e==="manager"){const a=/년/.test(t)||/yr|year/i.test(t)||/1년|365/.test(t),s=r==="\uC624\uD508\uD2B9\uAC00"||r===Pt.t("passCard.specialLabel");return a?n.jsx(ix,{}):s?n.jsx(sx,{}):n.jsx(sc,{})}return n.jsx(ac,{})}function uc({ariaLabel:e,product:t,showPrice:r=!1,plan:a,type:s,endDate:l,remainingSeconds:i,endInclusive:u=!1,state:c="active",bg:p,bgOnly:h=!1,textColor:d,subColor:m,copyrightColor:C,logoSrc:v,label:b,price:_,originalPrice:y,discountLabel:x,onUse:g,onRefund:w,onDelete:A}){const{t:f}=Ee.useTranslation(),B=t?tc(t):void 0,k=s??B?.type??"speechear",E=a??B?.plan??f("passCard.planSuffix","\uC774\uC6A9\uAD8C"),N=b??B?.label,S=_??(r?B?.price:void 0),j=y??(r?B?.originalPrice:void 0),$=x??B?.discountLabel,W=o.useMemo(()=>{if(S)return null;const X=t?.durationDays??Zv(t?.code);if(!X||X<=0)return i!=null?{percent:null,remainingLabel:ic(i,f)}:null;const O=X*86400;let U;if(i!=null)U=i;else if((c==="active"||c==="expired")&&l){const re=new Date(l).getTime();if(Number.isNaN(re))return null;const se=/^(\d{4})-(\d{2})-(\d{2})/.exec(String(l)),ye=/^(\d{4})-(\d{2})-(\d{2})/.exec(ta()),ke=Math.round(se&&ye?(Date.UTC(+se[1],+se[2]-1,+se[3])-Date.UTC(+ye[1],+ye[2]-1,+ye[3]))/864e5:(re-Date.now())/864e5);U=Math.max(0,u?ke+1:ke)*86400}else c==="expired"?U=0:U=O;const q=hx(U),le=Math.max(0,Math.min(100,Math.floor(Math.min(q,O)/O*100)));return c==="pending"&&le>=100?null:{percent:le,remainingLabel:c==="expired"?f("passCard.expired","\uB9CC\uB8CC\uB428"):ic(U,f)}},[S,c,l,i,u,t?.durationDays,t?.code,f]),P=o.useRef(null),[V,T]=o.useState({}),[I,z]=o.useState(null),ie=!!(g||w||A),ne=o.useRef(!1),F=o.useRef(void 0),[G,ee]=o.useState(v);o.useLayoutEffect(()=>{ee(v)},[v]),o.useLayoutEffect(()=>{const X=P.current;X&&(d!==void 0&&X.style.setProperty("--pass-card-text",d),m!==void 0&&X.style.setProperty("--pass-card-sub",m),C!==void 0&&X.style.setProperty("--pass-card-copyright",C))},[d,m,C]),o.useLayoutEffect(()=>{const X=P.current;if(!X)return;const O=Qv(X);if(!v){const U=px[k],q=c==="expired"?"_mono":O?.logoColor??"",le=cx(U,q);ee(le)}},[p,v,k,c]);const Z=X=>{const O=P.current;if(!O)return null;const{left:U,top:q,width:le,height:re}=O.getBoundingClientRect(),se=(X.clientX-U)/le-.5;return{rotateX:-((X.clientY-q)/re-.5)*lc,rotateY:se*lc}},L=(X,O)=>{const U=O*-.7,q=X*.7+10,le=20+(Math.abs(X)+Math.abs(O))*.4;return`${U}px ${q}px ${le}px rgba(0, 0, 0, 0.18)`},R=o.useCallback(X=>{if(ur())return;ne.current=!0,clearTimeout(F.current),F.current=setTimeout(()=>{ne.current=!1},200);const O=Z(X);O&&T({transform:`perspective(800px) rotateX(${O.rotateX}deg) rotateY(${O.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:L(O.rotateX,O.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),D=o.useCallback(X=>{if(ur())return;const O=Z(X);if(!O)return;const U=ne.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";T({transform:`perspective(800px) rotateX(${O.rotateX}deg) rotateY(${O.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:L(O.rotateX,O.rotateY),transition:U})},[]),H=o.useCallback(()=>{clearTimeout(F.current),ne.current=!1,T({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),te=o.useCallback(()=>z(null),[]),J=o.useMemo(()=>{const X=f("passCard.planSuffix","\uC774\uC6A9\uAD8C"),O=E.replace("\uC774\uC6A9\uAD8C","").replace(X==="\uC774\uC6A9\uAD8C"?"":X,"").trim(),U=O.match(/^(.*?)(일|년)$/);return U?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"h0 pass-card__plan-number",children:U[1]}),n.jsx("span",{className:"h5b pass-card__plan-unit",children:U[2]==="\uB144"?f("passCard.unitYear","\uB144"):f("passCard.unitDay","\uC77C")})]}):n.jsx("span",{className:"h0",children:O})},[E,f]),ae=o.useMemo(()=>{const X=Ar(S);if(!X)return null;const O=X.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!O)return n.jsx("span",{className:"h1",children:X});const[,U,q,le]=O;return n.jsxs(n.Fragment,{children:[U&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:U}),n.jsx("span",{className:"h1 pass-card__price-amount",children:q}),le.trim()&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:le.trim()})]})},[S]),ue=o.useCallback(()=>{ie&&z(X=>{if(X)return null;const O=P.current?.getBoundingClientRect();if(!O)return null;const U=50;return{left:O.left,right:O.right,width:O.width,height:O.height,x:O.x,y:O.y+U,top:O.top+U,bottom:O.bottom+U}})},[ie]),Ne=o.useCallback(X=>{ie&&(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),ue())},[ie,ue]),ce=[{items:[...g?[{label:f("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",shortcut:"U",onClick:()=>{g(),z(null)},closeOnSelect:!0}]:[],...w?[{label:f("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",shortcut:"R",onClick:()=>{w(),z(null)},closeOnSelect:!0}]:[],...A?[{label:f("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",shortcut:"D",onClick:()=>{A(),z(null)},closeOnSelect:!0}]:[]]}];return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card-frame",children:n.jsxs("div",{ref:P,className:`pass-card pass-card--${c}${ie?" pass-card--clickable":""}`,style:V,onMouseEnter:R,onMouseMove:D,onMouseLeave:H,onPointerUp:X=>{X.pointerType==="touch"&&H()},onPointerCancel:X=>{X.pointerType==="touch"&&H()},onClick:ue,onKeyDown:ie?Ne:void 0,role:ie?"button":void 0,tabIndex:ie?0:void 0,"aria-label":e,"aria-haspopup":ie?"menu":void 0,"aria-expanded":ie?!!I:void 0,children:[p??mx(k,E,N),!h&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card__top",children:n.jsxs("div",{className:"pass-card__top-left",children:[n.jsx("img",{src:G??dx[k],className:"pass-card__logo",alt:k==="manager"?f("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):f("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),n.jsxs("div",{className:"pass-card__plan",children:[n.jsx("div",{children:J}),n.jsx("span",{className:"h5b pass-card__plan-suffix",children:N?f("passCard.labeledPlan",{label:N}):f("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),S?n.jsxs("div",{className:"pass-card__price-area",children:[$&&n.jsx("span",{className:"pass-card__discount body-3",children:$}),n.jsxs("div",{className:"pass-card__price",children:[j&&n.jsx("span",{className:"pass-card__price-original body-3",children:Ar(j)}),ae]})]}):W?n.jsxs("div",{className:"pass-card__usage",children:[n.jsx("span",{className:"h5b pass-card__usage-remaining",children:W.remainingLabel}),W.percent!=null&&n.jsxs("span",{className:"pass-card__usage-percent",children:[n.jsx("span",{className:"h1 pass-card__usage-value",children:W.percent}),n.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):n.jsx("div",{className:"pass-card__copyright caption-2","aria-hidden":"true",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),I&&n.jsx(sn,{anchorRect:I,onClose:te,ariaLabel:f("tooltip.menu","\uBA54\uB274"),children:n.jsx(nr,{columns:ce,onClose:te,size:"small"})})]})}const fx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-text-primary)"};function Cx(e={}){const t=`passcard-sound-line-grad-${o.useId()}`,r=Ht(fx,Hn,Vn);return n.jsxs("div",{ref:r,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[n.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("defs",{children:n.jsxs("linearGradient",{id:t,x1:"0",y1:"0",x2:"1",y2:"0",children:[n.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),n.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),n.jsx("g",{transform:"translate(25, 45)",children:n.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${t})`,strokeWidth:"50",strokeLinecap:"round"})})]}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const gx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"};function bx(e={}){const t=Ht(gx,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${la}")`}})]})}function yx(e,t){if(e){if(t==="manager_pro")return n.jsx(bx,{});if(t==="manager_standard")return n.jsx(Cx,{});if(t==="manager_lite")return n.jsx(sc,{})}}function vx(e){const t=Ar(e);if(!t)return null;const r=t.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!r)return t;const[,a,s,l]=r;return n.jsxs(n.Fragment,{children:[a&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:a}),s,l.trim()&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:l.trim()})]})}function xx(e){const{t}=Ee.useTranslation(),r=t("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),a=t("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:s,onSelect:l,period:i="monthly",ownedCodes:u,titleLevel:c=3}=e||{},p=c?`h${c}`:"div",h=f=>!!f&&!!u?.includes(f),d=f=>f.onceOnly??/오픈\s*특가/.test(f.label??""),m=(s.tiers||[]).some(f=>d(f)&&h(f.code)),C=f=>{const B=f.prices?f.prices[i]:f.price;return B?(s.tiers||[]).some(k=>!!k.badge&&k.originals?.[i]===B):!1},v=s.colorToken?`var(--color-${s.colorToken})`:"var(--color-gray)",b=t("payment.plan.freePrice","\uBB34\uB8CC"),_=t("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),y=f=>f.prices?f.prices[i]:f.price,x=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const B=y(f);return B==="\uBB34\uB8CC"||B===b||B==="0\uC6D0"||typeof B=="string"&&/\d/.test(B)&&!/[1-9]/.test(B)}),g=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const B=y(f);return B==="\uBB38\uC758"||B===_}),w=s.group==="org",A=w?"manager":"speechear";return n.jsxs("div",{className:"payment-plan__card",style:{borderColor:v,"--plan-color":v},children:[s.cardBadge&&n.jsx("div",{className:"payment-plan__card-badge",children:n.jsx(cn,{label:s.cardBadge,variant:"main",size:"medium",fill:"soft"})}),n.jsxs("div",{className:"payment-plan__title",children:[n.jsx("p",{className:"payment-plan__quote body-3b",style:{color:v},children:s.quote||"\xA0"}),n.jsx(p,{className:"payment-plan__title-heading h1",children:s.tier??s.title}),n.jsx("p",{className:"payment-plan__subtitle body-3",children:s.subtitle})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(s.recommendedFor||[]).map((f,B)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(lt,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:v}}),f]},B))})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(s.features||[]).map((f,B)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(lt,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:v}}),f]},B))})]}),n.jsx("div",{className:"payment-plan__card-pricing",children:x?null:g?n.jsx(me,{htmlType:"button",className:"payment-plan__contact-button",label:t("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>s.tiers?.[0]&&l?.({...s.tiers[0],productId:s.id,productTitle:s.title})}):n.jsx(n.Fragment,{children:n.jsx("div",{className:"payment-plan__pricing-list",children:(s.tiers||[]).map(f=>{const B=f.label||r,k=d(f),E=k||f.openPromo===!0,N=B.replace(/^오픈\s*특가\s*/,"")||r,S=f.prices?f.prices[i]:f.price,j=f.badge?E?`${a}
840
+ \uD68C\uBCF5\uC744 \uB3D5\uC2B5\uB2C8\uB2E4.`,site:{title:"\uC0AC\uC774\uD2B8",malgwi:"\uB9D0\uADC0",soundDirection:"\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",vrSoundDirection:"VR\uC18C\uB9AC\uBC29\uD5A5\uC131\uC2DC\uC2A4\uD15C",hearingTest:"\uCCAD\uB825\uD14C\uC2A4\uD2B8 \uD504\uB85C"},sns:{title:"SNS",naverBlog:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8"},policy:{title:"\uC815\uCC45",terms:"\uC774\uC6A9\uC57D\uAD00",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68"},ceo:"\uB300\uD45C",address:"\uC8FC\uC18C",bizNo:"\uC0AC\uC5C5\uC790\uB4F1\uB85D\uBC88\uD638",support:"\uACE0\uAC1D\uC13C\uD130",ceoName:"\uD55C\uC9C0\uD61C",addressValue:"\uAC15\uC6D0\uB3C4 \uCD98\uCC9C\uC2DC \uC2DC\uCCAD\uAE38 32 \uD574\uCC2C\uBE4C\uB529 3\uCE35 302\uD638",bizNoValue:"526-81-02926"},Qy={timeHM:"{{h}}\uC2DC {{m}}\uBD84",timeH:"{{h}}\uC2DC"},e2={phaseWordDownload:"\uB2E8\uC5B4 \uB370\uC774\uD130 \uB2E4\uC6B4\uB85C\uB4DC",phaseImageCheck:"\uC774\uBBF8\uC9C0 \uD655\uC778",phasePairAnalysis:"\uB2E8\uC5B4\uC30D \uBD84\uC11D",downloadingCount:"{{n}}\uAC1C \uB2E4\uC6B4\uB85C\uB4DC \uC911",checkingPage:"{{page}}\uD398\uC774\uC9C0 \uBAA9\uB85D \uD655\uC778 \uC911",imageCount:"{{done}} / {{total}}\uAC1C"},t2={clearAriaLabel:"\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30",showPassword:"\uBE44\uBC00\uBC88\uD638 \uBCF4\uAE30"},n2={ariaLabel:"\uC120\uD0DD \uD0ED"},r2={ariaLabel:"\uD0ED"},a2={dragPrompt:"\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC",browseButton:"\uD30C\uC77C \uC120\uD0DD",removeAriaLabel:"{{name}} \uC81C\uAC70"},o2={ariaLabel:"\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0"},s2={relativeDay:{today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",daysAgo:"{{n}}\uC77C \uC804"}},l2={weekly:{title:"\uC8FC\uAC04 \uD6C8\uB828 \uD604\uD669",daily:"\uC624\uB298\uC758 \uB4E3\uAE30"},homework:{title:"\uC219\uC81C \uC9C4\uD589\uD604\uD669",totalRate:"\uC804\uCCB4 \uC644\uB8CC\uC728",done:"\uC644\uB8CC"},today:{tooltipTotal:"\uC804\uCCB4",tooltipDone:"\uC644\uB8CC"},visit:{title:"\uBC29\uBB38 \uC5F0\uB3D9 \uAE30\uB85D"},detail:"\uC0C1\uC138\uBCF4\uAE30",detailFor:"{{name}} \uC0C1\uC138\uBCF4\uAE30"},i2={time:{justNow:"\uBC29\uAE08 \uC804",minutesAgo:"{{n}}\uBD84 \uC804",hoursAgo:"{{n}}\uC2DC\uAC04 \uC804",daysAgo:"{{n}}\uC77C \uC804",weeksAgo:"{{n}}\uC8FC \uC804",monthsAgo:"{{n}}\uAC1C\uC6D4 \uC804",yearsAgo:"{{n}}\uB144 \uC804"}},u2={steps:"\uC9C4\uD589 \uB2E8\uACC4 {{current}} / {{total}}"},c2={skippedOnly:"\uC61B \uAE30\uB85D {{n}}\uAC74\uC740 \uBB34\uC5C7\uC744 \uD47C \uAC83\uC778\uC9C0 \uC548 \uB0A8\uC544 \uC788\uC5B4 \uC148\uC5D0\uC11C \uBE90\uC2B5\uB2C8\uB2E4.",runs:"{{count}}\uD310"},d2={resetColumns:"\uCE78 \uB108\uBE44 \uCD08\uAE30\uD654",scrollRegion:"\uAC00\uB85C\uB85C \uAD74\uB9B4 \uC218 \uC788\uB294 \uD45C",rowActionHint:"\uC904\uC744 \uB204\uB974\uBA74 \uC790\uC138\uD788 \uBD05\uB2C8\uB2E4"},p2={viewWords:"\uB0B1\uB9D0"},h2={ariaLabel:"\uBC30\uB108",dotAriaLabel:"{{count}}\uAC1C \uC911 {{index}}\uBC88\uC9F8 \uBC30\uB108"},m2={chooseDate:"\uB0A0\uC9DC \uC120\uD0DD",selectYear:"\uC5F0 \uC120\uD0DD",selectMonth:"\uC6D4 \uC120\uD0DD"},f2={previewRegion:"\uBCF4\uACE0\uC11C \uBBF8\uB9AC\uBCF4\uAE30 \u2014 \uC88C\uC6B0\uB85C \uAD74\uB824 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4"},C2={description:"\uC124\uBA85",textbox:"\uBCF8\uBB38",training:"\uD6C8\uB828 \uC548\uB0B4",menu:"\uBA54\uB274"},g2={place:{labial:"\uC591\uC21C\uC74C",alveolar:"\uCE58\uC870\uC74C",palatal:"\uACBD\uAD6C\uAC1C\uC74C",velar:"\uC5F0\uAD6C\uAC1C\uC74C",glottal:"\uC131\uBB38\uC74C"}},b2={clearSelection:"\uC120\uD0DD \uD574\uC81C"},y2={showResult:"{{type}} \uACB0\uACFC\uBCF4\uAE30"},v2={selected:"\uC120\uD0DD\uB428",remove:"\uC81C\uAC70",exclude:"\uC81C\uC678",nthSelected:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"},x2={loading:"\uBD88\uB7EC\uC624\uB294 \uC911\u2026"},_2={state:{active:"\uC18C\uB9AC \uB098\uB294 \uC911",played:"\uB4E4\uC74C",correct:"\uC815\uB2F5",wrong:"\uC624\uB2F5"}},w2={ariaLabel:"\uC774\uB3D9 \uACBD\uB85C"},B2={list:"\uD3F4\uB354",open:"{{name}} \uD3F4\uB354 \uC5F4\uAE30, {{count}}\uAC1C",menu:"{{name}} \uD3F4\uB354 \uBA54\uB274",placeMenu:"{{name}} \uBA54\uB274",tree:"\uD3F4\uB354 \uAD6C\uC870 \uBCF4\uAE30",fold:"{{name}} \uC811\uAE30",unfold:"{{name}} \uD3BC\uCE58\uAE30",up:"\uC704\uB85C",upTo:"\uD55C \uCE35 \uC704\uB85C \u2014 {{name}}",add:{title:"\uD3F4\uB354 \uCD94\uAC00",sub:"\uC0C8 \uD3F4\uB354 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694.",placeholder:"\uD3F4\uB354 \uC774\uB984"}},k2={empty:"\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},A2={main:"\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8",soft:"\uC18C\uD504\uD2B8",sub:"\uC11C\uBE0C \uCEEC\uB7EC",deep:"\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8",softSub:"\uC18C\uD504\uD2B8 \uC11C\uBE0C",warm:"\uC6DC(\uAC15\uC870)",dark:"\uB2E4\uD06C",radial:"\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8",diagonal:"\uB300\uAC01\uC120 \uD328\uD134",dots:"\uB3C4\uD2B8 \uD328\uD134",outline:"\uC544\uC6C3\uB77C\uC778",success:"\uC131\uACF5/\uC644\uB8CC",naver:"\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4",instagram:"\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4"},N2={common:ky,calendar:Ay,passCard:Ny,rating:Ey,colorPicker:jy,dropdown:Dy,accordion:Sy,header:Ty,nav:My,settings:$y,usage:Ly,account:Ry,training:Py,customers:Fy,payment:Iy,coupons:Oy,visits:zy,trainingType:Wy,myWordTable:Hy,keyWords:Vy,wordTable:qy,wordSearch:Uy,wordPrint:Gy,topic:Ky,device:Yy,manager:Zy,wordPairs:Xy,footer:Jy,date:Qy,wordData:e2,textField:t2,segmentedControl:n2,tabs:r2,fileUpload:a2,avatar:o2,myHomework:s2,trainingStatus:l2,store:i2,progress:u2,trainingMiss:c2,table:d2,wordScore:p2,topBanner:h2,datePicker:m2,report:f2,tooltip:C2,phonemeProfile:g2,bulkBar:b2,debug:y2,badge:v2,loader:x2,soundCompass:_2,breadcrumb:w2,folder:B2,board:k2,promoBannerBg:A2},E2={filter:{positionAny:"Any",positionHead:"Start",positionMid:"Middle",positionTail:"End",difficulty:"Difficulty",grade:"Grade {{n}}",age:"Age {{n}}",agePlus:"Age {{n}}+",ageRange:"Age {{from}}\u2013{{to}}",difficultyInfoAge:"Age 3\u20137: the easiest words (grade 1), split by age.",difficultyInfoGrade:"Grades 2\u20134: harder words, not split by age.",difficultyInfoNone:"None: words with no difficulty assigned.",difficultyInfoBandAge:"{{ages}}: {{grade}} words, split by age.",difficultyInfoBandAgeOne:"{{ages}}: {{grade}} words.",difficultyInfoBandGrade:"{{grade}}: words for {{ages}}.",difficultyInfoBandAgeNamed:"{{ages}}: words split by age.",gradeNone:"None",syllables:"Syllables",syllable:"{{n}} Syll.",syllable5plus:"5+ Syllables",partOfSpeech:"Part of Speech",pos:{noun:"Noun/Numeral",verb:"Verb/Adjective",modifier:"Adverb/Determiner"},wordType:"Word Type",field:"Semantic Category",type:{native:"Native Korean",sino:"Sino-Korean",foreign:"Loanword",mixed:"Hybrid"},exclude:"Exclude",excludeNoImage:"No Image"}},j2={filter:{onlyHighUsage:"High-use words only"}},D2={wordSearch:E2,wordPairs:j2};const S2="0.461.0";var Fi;const T2=[{code:"ko",label:"\uD55C\uAD6D\uC5B4"},{code:"en",label:"English"}],Go="ko",M2="ihab_display_language",Ko={en:()=>Promise.resolve().then(function(){return QB})},Ta=new Set(["ko"]),Yo={},na=e=>e.split("-")[0];function Ii(e){const t=na(e),r=Ko[t];return!r||Ta.has(t)?Promise.resolve():Yo[t]??(Yo[t]=r().then(a=>{const s=a.default??a;Pt.addResourceBundle(t,"translation",s,!0,!1),Ta.add(t)},a=>{throw Yo[t]=void 0,a}))}function Oi(){if(typeof window>"u")return Go;try{const e=localStorage.getItem(M2);if(e&&T2.some(t=>t.code===e))return e}catch{}return Go}function zi(e){try{document.documentElement.lang=e}catch{}}Pt.on("languageChanged",zi),zi(Oi());const Wi=(Fi=Pt).__ihabRawChangeLanguage??(Fi.__ihabRawChangeLanguage=Pt.changeLanguage);Pt.changeLanguage=Wi,Pt.use(Ee.initReactI18next).init({resources:{ko:{translation:N2},en:{translation:D2}},lng:Oi(),fallbackLng:Go,interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Zo=Wi.bind(Pt);let Xo;Pt.changeLanguage=((e,t)=>{if(Xo=e,!e||Ta.has(na(e))||!Ko[na(e)])return Zo(e,t);const r=()=>Xo===e?Zo(e,t):Promise.resolve(Pt.t);return Ii(e).then(r,a=>(console.error(a),r()))});{const e=Pt.language;e&&!Ta.has(na(e))&&Ko[na(e)]&&Ii(e).then(()=>{Pt.language===e&&(Xo??e)===e&&Zo(e)},t=>console.error(t))}const $2=99,L2=new Map;try{Pt.store?.on?.("added",()=>L2.clear())}catch{}Array.from({length:$2},(e,t)=>t+1);let Ma=null,Hi=null,Vi=null;function R2(){const e=Ni();if(e&&e.entries.length>0){const t=Ob();if(Ma&&Hi===e&&Vi===t)return Ma;const r=new Set,a=[];for(const s of e.entries)!s.word||r.has(s.word)||(r.add(s.word),a.push({w:s.word,s:s.syllables,p:t?.[s.word]?[...t[s.word].cho??[],...t[s.word].jung??[],...t[s.word].jong??[]]:[],pron:s.pronunciation||s.word,grade:s.grade}));return Ma=a,Hi=e,Vi=t,Ma}return[]}new Proxy([],{get(e,t){const r=R2(),a=r[t];return typeof a=="function"?a.bind(r):a}});function P2(e){return e==null?!1:F2.test(Oo(e))}const F2=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;function I2(e){if(e.includes("\\")&&e.includes("("))return!0;if(!/url\s*\(/i.test(e))return!1;const t=e.replace(/url\(\s*(['"]?)#[^)'"]*\1\s*\)/gi,"");return/url\s*\(/i.test(t)}function O2(e){if(typeof window>"u")return"";const t=(r,a)=>{typeof a.attrValue=="string"&&I2(a.attrValue)&&(a.keepAttr=!1)};wr.addHook("uponSanitizeAttribute",t);try{return wr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use","style"],FORBID_ATTR:["xlink:href","href"]})}finally{wr.removeHook("uponSanitizeAttribute",t)}}function z2(e){const[t,r]=o.useState(null),[a,s]=o.useState(null),[l,i]=o.useState(null),[u,c]=o.useState(null),[p,h]=o.useState(null);return o.useEffect(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){r(null),s(null),i(null),c(null);return}const d=e.split("/").pop();let m=e;d&&(e.startsWith("/")?m=To(e):/^(Logo|Symbol)/i.test(d)?m=To(`logo/${d}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),m=e)),i(null),c(null),r(e),s(m)},[e]),o.useEffect(()=>{if(!a)return;let d=!1;async function m(){try{let C=await fetch(a);C.ok||(C=await fetch(a));const v=C.headers.get("content-type")||"";if(d)return;if(v.includes("svg")){i("mask");return}if(v.startsWith("image/")){i("img");return}const b=await fetch(a);if(!b.ok)throw new Error("not ok");const _=await b.text();if(d)return;if(/^\s*<svg[\s>]/i.test(_)){const y=O2(_);if(!y){i("none");return}c(y),i("inline");return}i("none")}catch{d||i("none")}}return m(),()=>{d=!0}},[a]),o.useEffect(()=>{let d=!1,m=null;return l==="mask"&&a&&fetch(a).then(C=>{if(!C.ok)throw new Error("fetch failed");return C.blob()}).then(C=>{d||(m=URL.createObjectURL(C),h(m))}).catch(()=>{d||i("img")}),()=>{d=!0,m&&URL.revokeObjectURL(m),h(null)}},[l,a]),t===e?{iconToUse:a,mode:l,svgText:u,blobUrl:p}:{iconToUse:null,mode:null,svgText:null,blobUrl:null}}function lt(e){const{icon:t,label:r,className:a,imgClassName:s,maskClassName:l,svgClassName:i,wrapperStyle:u,size:c}=e||{},p=a??"iconRenderer-icon",h=s??"iconRenderer-icon-image",d=l??"iconRenderer-icon-mask",m=i??"iconRenderer-icon-svg",C=typeof t=="string"?t:null,v=vg(C),{iconToUse:b,mode:_,svgText:y,blobUrl:x}=z2(C),g=(k,E={})=>n.jsx("span",{className:p,style:u,...E,children:k}),w=typeof c=="number"?{width:c,height:c,objectFit:"contain"}:null,A=(k,E={})=>n.jsx("img",{src:k,alt:typeof r=="string"?r:typeof r=="number"?String(r):"",className:h,...E,style:w?{...E.style,...w}:E.style});if(!t)return null;if(typeof t!="string")return g(t);if(t==="none")return g(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(v)try{return g(o.createElement(v,{className:m,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(b&&b.endsWith(".svg")){if(_==="mask"){const k={"--icon-url":x?`url(${x})`:`url(${b})`,...typeof c=="number"?{"--icon-size":`${c}px`}:null};return g(n.jsx("span",{className:d,style:k}),{"aria-hidden":"true"})}return _==="img"?g(A(b,{onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?g(n.jsx("span",{className:m,dangerouslySetInnerHTML:y?{__html:y}:void 0}),{"aria-hidden":"true"}):g(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return A(To(t),{style:u,onError:k=>{k.currentTarget.onerror=null,k.currentTarget.style.display="none"}});const f=typeof c=="number"?c:20,B=`<svg width="${f}" height="${f}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return g(n.jsx("span",{className:m,dangerouslySetInnerHTML:{__html:B}}),{"aria-hidden":"true"})}function qi(e){const[t,r]=o.useState(!1),a=o.useRef(!1),s=o.useRef(!0);o.useEffect(()=>(s.current=!0,()=>{s.current=!1}),[]);const l=o.useCallback(()=>{if(!e||a.current)return;const i=e();if(i&&typeof i.then=="function"){a.current=!0,r(!0);const u=()=>{a.current=!1,s.current&&r(!1)};i.then(u,u)}},[e]);return{pending:t,press:l}}function W2({icon:e,title:t,message:r,action:a,className:s}){const{pending:l,press:i}=qi(a?.onClick);return n.jsxs("div",{className:we("empty-state",s),children:[e&&n.jsx(lt,{icon:e,size:48,className:"empty-state__icon"}),t&&n.jsx("p",{className:"empty-state__title h4",children:t}),r&&n.jsx("p",{className:"empty-state__message body-3",children:r}),a&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:i,disabled:l,"aria-busy":l||void 0,children:[a.icon&&n.jsx(lt,{icon:a.icon,className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:a.label})]})]})}function H2({message:e,hint:t,icon:r="triangle-alert",onRetry:a,retryLabel:s,className:l}){const{t:i}=Ee.useTranslation(),{pending:u,press:c}=qi(a);return n.jsxs("div",{className:we("empty-state","error-state",l),role:"alert",children:[n.jsx(lt,{icon:r,size:48,className:"empty-state__icon error-state__icon"}),n.jsx("p",{className:"empty-state__message body-3",children:e??i("common.errorState.message",{defaultValue:"\uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."})}),t&&n.jsx("p",{className:"error-state__hint caption-1",children:t}),a&&n.jsxs("button",{type:"button",className:"empty-state__action button button40 button40--bar button--variant-main button--align-center button--shape-rounded",onClick:c,disabled:u,"aria-busy":u||void 0,children:[n.jsx(lt,{icon:"rotate-cw",className:"button__icon"}),n.jsx("span",{className:"button__label button-1",children:s??i("common.errorState.retry",{defaultValue:"\uB2E4\uC2DC \uC2DC\uB3C4"})})]})]})}function V2({icon:e,title:t,description:r,cta:a,tone:s="main",disabled:l=!1,onClick:i,className:u=""}){const c=o.useId(),p=`${c}-title`,h=`${c}-desc`,d=`${c}-cta`,m=()=>{l||i?.()};return n.jsx("section",{role:"button",tabIndex:l?-1:0,"aria-disabled":l||void 0,"aria-labelledby":p,"aria-describedby":`${h} ${d}`,onClick:m,onKeyDown:C=>{(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),m())},className:we("action-card",`action-card--${s}`,l&&"action-card--disabled",u),children:n.jsxs("div",{className:"action-card__body",children:[n.jsx("span",{"aria-hidden":!0,className:"action-card__chip",children:n.jsx(lt,{icon:e,size:34})}),n.jsxs("div",{className:"action-card__text",children:[n.jsx("h2",{id:p,className:"action-card__title",children:t}),n.jsx("p",{id:h,className:"action-card__desc",children:r})]}),n.jsxs("div",{className:"action-card__cta",children:[n.jsx("span",{id:d,children:a}),n.jsx("span",{"aria-hidden":!0,className:"action-card__arrow",children:n.jsx(lt,{icon:"arrow-right",size:18})})]})]})})}function q2({as:e="div",className:t="",children:r,storage:a,...s}){a&&lb({resolveUrl:a.resolveUrl,download:a.download??(()=>Promise.reject(new Error("[ihabdevteam-core] CoreScope: download resolver\uAC00 \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))),exists:a.exists,resolvePath:a.resolvePath,noiseBaseUrl:a.noiseBaseUrl,noiseFileGain:a.noiseFileGain});const l=we("ihabdevteam-core-scope",t);return n.jsx(e,{className:l,...s,children:r})}function U2(e){if(e.closest('[aria-hidden="true"], [hidden], [inert]'))return!1;for(let t=e;t;t=t.parentElement){const r=window.getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1}return!0}function $a(e,t=!0){o.useEffect(()=>{if(!t)return;const r=e.current;if(!r)return;const a=s=>{if(s.key!=="Tab")return;const l=Array.from(r.querySelectorAll(jn)).filter(U2);if(!l.length){s.preventDefault();return}const i=l[0],u=l[l.length-1],c=document.activeElement,p=c===r;s.shiftKey&&(c===i||p)?(s.preventDefault(),u.focus()):!s.shiftKey&&c===u&&(s.preventDefault(),i.focus())};return r.addEventListener("keydown",a),()=>r.removeEventListener("keydown",a)},[e,t])}const jn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Jo=new WeakMap;function Qo(e,t){e&&Jo.set(e,t)}function es(e){let t=e;for(let r=0;t&&!t.isConnected&&r<10;r++){let a=t;for(;a&&!Jo.has(a);)a=a.parentElement;if(!a)return t;t=Jo.get(a)??null}return t}function Ui(e){return!(!e||!e.isConnected||e===document.body||typeof e.focus!="function"||e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e.closest('[inert],[aria-hidden="true"],[hidden]'))}function La(e,t,r){const a=e?.isConnected?e:r?.isConnected?r:null;if(Ui(t)&&!(e&&e.contains(t)))return t.focus(),t;if(!a)return null;const s=Array.from(document.querySelectorAll(jn)).filter(c=>!(e&&e.contains(c))&&Ui(c));let l=null,i=null;for(const c of s)a.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING?l=c:i||(i=c);const u=l??i;return u?.focus(),u}function G2({title:e="",lines:t=[],notices:r=null,children:a,variant:s="default",dismissible:l=!1,className:i=""}){const{t:u}=Ee.useTranslation(),[c,p]=o.useState(!1),h=o.useRef(null),d=o.useCallback(()=>{const b=h.current;b&&b.contains(document.activeElement)&&La(b),p(!0)},[]);if(c)return null;const m=`notice-box notice-box--${s} body-2 ${i}`.trim(),C=l&&n.jsx("button",{type:"button",className:"notice-box__dismiss",onClick:d,"aria-label":u("common.close","\uB2EB\uAE30"),children:"\xD7"});if(r&&Array.isArray(r)&&r.length)return n.jsxs("div",{className:m,role:"note",children:[r.map((b,_)=>n.jsxs("div",{className:"notice-box__inner",children:[b.title?n.jsx("span",{className:"notice-box__title body-3",children:b.title}):null,n.jsx("div",{className:"notice-box__body",children:b.lines&&b.lines.length?n.jsx("div",{children:b.lines.map((y,x)=>n.jsx("span",{className:"notice-box__line body-3",children:y},x))}):b.children??null})]},_)),C]});const v=e||t.length?n.jsxs("div",{className:"notice-box__inner",children:[e?n.jsx("span",{className:"notice-box__title body-1",children:e}):null,n.jsx("div",{className:"notice-box__body",children:t.length?n.jsx("ul",{children:t.map((b,_)=>n.jsx("li",{className:"notice-box__line",children:b},_))}):a})]}):n.jsx("div",{className:"notice-box__inner",children:a});return n.jsxs("div",{ref:h,className:m,role:"note",children:[v,C]})}const ts=o.createContext(void 0);function wn(){return o.useContext(ts)}const K2={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Nr(e){const{t}=Ee.useTranslation(),{variant:r="spinner",size:a=24,progress:s=null,label:l}=e||{},i=l||t("loader.loading","Loading");if(r==="bar"){const c=s==null||!Number.isFinite(Number(s)),p=c?0:Math.max(0,Math.min(100,Number(s)));return n.jsx("div",{className:`loader-bar${c?" loader-bar--indeterminate":""}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c?void 0:p,"aria-label":i,children:n.jsx("div",{className:"loader-bar__inner",style:c?void 0:{width:`${p}%`}})})}const u=typeof a=="number"?`${a}px`:a;return n.jsxs("div",{className:"loader-spinner",style:{width:u,height:u},role:"status","aria-label":i,children:[n.jsx("span",{style:K2,children:i}),n.jsxs("svg",{className:"loader-spinner__svg",viewBox:"0 0 50 50",width:a,height:a,children:[n.jsx("circle",{className:"loader-spinner__bg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4"}),n.jsx("circle",{className:"loader-spinner__fg",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"4",strokeLinecap:"round"})]})]})}const Er=[];let Ra=!1;function Gi(e){if(e.key!=="Escape"||e.defaultPrevented||e.isComposing||e.keyCode===229)return;const t=Er[Er.length-1];t&&(e.stopPropagation(),t())}function ir(e){return Er.push(e),!Ra&&typeof document<"u"&&(document.addEventListener("keydown",Gi),Ra=!0),()=>{const t=Er.lastIndexOf(e);t>=0&&Er.splice(t,1),Er.length===0&&Ra&&typeof document<"u"&&(document.removeEventListener("keydown",Gi),Ra=!1)}}const Ki=o.createContext(null);function Y2(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}const Yi=e=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches;function Z2(e){const t=o.useCallback(r=>{if(typeof window>"u"||!window.matchMedia)return()=>{};const a=window.matchMedia(e);a.addEventListener?a.addEventListener("change",r):a.addListener&&a.addListener(r);let s=null,l=null;const i=()=>{r(),s===null&&typeof requestAnimationFrame<"u"&&(s=requestAnimationFrame(()=>{s=null,r()})),l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,r()},150)};return window.addEventListener("resize",i),window.addEventListener("orientationchange",i),()=>{a.removeEventListener?a.removeEventListener("change",r):a.removeListener&&a.removeListener(r),window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i),s!==null&&cancelAnimationFrame(s),l!==null&&clearTimeout(l)}},[e]);return _l.useSyncExternalStore(t,()=>Yi(e),()=>!1)}function X2(e){const[t,r]=o.useState(Yi(e));return o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const a=window.matchMedia(e),s=i=>r(i.matches),l=a;return l.addEventListener?l.addEventListener("change",s):l.addListener&&l.addListener(s),r(a.matches),()=>{l.removeEventListener?l.removeEventListener("change",s):l.removeListener&&l.removeListener(s)}},[e]),t}const J2=typeof _l.useSyncExternalStore=="function"?Z2:X2;function Bn(e){const t=o.useContext(Ki),r=J2(e);return t&&typeof t.mobile=="boolean"&&Y2(e)?t.mobile:r}const Zi="(prefers-reduced-motion: reduce)";function Q2(){try{return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia(Zi).matches}catch{return!1}}function Pa(){return Bn(Zi)}const Xi={"menu-tooltip":"tooltip-menu","description-tooltip":"tooltip-description","text-box-tooltip":"tooltip-textbox","training-tooltip":"tooltip-training","word-image-tooltip":"tooltip-word-image","info-tooltip":"tooltip-info","noise-settings-tooltip":"noise-settings",tooltip__header:"tooltip-content__header",tooltip__content:"tooltip-content",tooltip__backdrop:"tooltip-backdrop",tooltip__portal:"tooltip-portal","word-table__section":"word-table-block","word-table__content":"word-table-block__content","word-table__card":"word-table-block__card","word-table__card-handle":"word-table-block__card-handle","word-table__card-close":"word-table-block__card-close","word-table__card-actions":"word-table-block__card-actions","word-table__edit-cell":"word-table-block__edit-cell","word-table__pair-divider":"word-table-block__pair-divider","chart-section__legend-dot":"manager-bar-chart-legend-dot","chart-section__legend-item":"manager-bar-chart-legend-item","chart-section__legend":"manager-bar-chart-legend","chart-section__controls":"manager-section-controls","chart-section__sub-row":"barchart-sub-row","chart-section__total":"barchart-total","chart-section":"manager-section","bar-chart__stack-segment":"manager-bar-chart-stack-segment","bar-chart__detail-btn":"manager-bar-chart-detail-btn","bar-chart__gridline":"manager-bar-chart-gridline","bar-chart__loading":"manager-bar-chart-loading","bar-chart__scroll":"manager-bar-chart-scroll","bar-chart__stack":"manager-bar-chart-stack","bar-chart__x-axis":"manager-bar-chart-x-axis","bar-chart__inner":"manager-bar-chart-inner","bar-chart__area":"manager-bar-chart-area","bar-chart__plot":"manager-bar-chart-plot","bar-chart__wrap":"manager-bar-chart-wrap","bar-chart__slot":"manager-bar-chart-slot","bar-chart__col":"manager-bar-chart-col","bar-chart__bar":"manager-bar-chart-bar"};function ev(e,t){const r=Object.keys(e).sort((a,s)=>s.length-a.length);for(const a of r){if(!t.startsWith(a))continue;const s=t.slice(a.length);if(!(s!==""&&!s.startsWith("__")&&!s.startsWith("--")))return e[a]+s}return null}function tv(e){return ev(Xi,e)}function de(e){if(!e||Object.keys(Xi).length===0)return e;const t=[];for(const r of e.split(/\s+/)){if(!r)continue;const a=tv(r);a&&t.push(a)}return t.length?`${e} ${t.join(" ")}`:e}function sn(e){const{anchorRect:t,anchorEl:r,offset:a=20,edgeMargin:s=20,prefer:l="top",onClose:i,closeOnOutsideClick:u=!0,className:c="",role:p="dialog",ariaLabel:h="",children:d,backdrop:m=!1,isMobilePopup:C=!1,useBorder:v=!0,header:b,focusOnOpen:_}=e||{},y=o.useRef(null),[x,g]=o.useState({position:"fixed",left:0,top:-9999}),[w,A]=o.useState(!1),[f,B]=o.useState("bottom"),[k,E]=o.useState(!1),[N,S]=o.useState(!1),j=!t&&!r,$=o.useRef(null),W=o.useCallback((G=!1,ee=!1)=>{if(N&&C)return;const Z=r?r.getBoundingClientRect():t,L=ee&&$.current?$.current:Z;if(!L||!y.current)return;const R=y.current,{offsetWidth:D,offsetHeight:H}=R,te=window.innerWidth,J=window.innerHeight,ae=te-L.right,ue=L.left,Ne=L.top,ce=J-L.bottom;let X=0,O=0,U="top";const q=Ne>=H+a,le=ce>=H+a,re=l==="bottom"?le?"bottom":q?"top":null:q?"top":le?"bottom":null;if(re==="top")U="top",O=L.top-a-H,X=L.left+L.width/2-D/2;else if(re==="bottom")U="bottom",O=L.bottom+a,X=L.left+L.width/2-D/2;else if(ae>=D+a)U="right",X=L.right+a,O=L.top+L.height/2-H/2;else if(ue>=D+a)U="left",X=L.left-a-D,O=L.top+L.height/2-H/2;else{const ve=Math.max(Ne,ce,ae,ue);ve===Ne?(U="top",O=L.top-a-H,X=L.left+L.width/2-D/2):ve===ce?(U="bottom",O=L.bottom+a,X=L.left+L.width/2-D/2):ve===ae?(U="right",X=L.right+a,O=L.top+L.height/2-H/2):(U="left",X=L.left-a-D,O=L.top+L.height/2-H/2)}const se=Number.isFinite(Number(s))?Number(s):8;X=Math.min(Math.max(X,se),te-D-se),O=Math.min(Math.max(O,se),J-H-se);const ye=Math.round(X),ke=Math.round(O);G&&y.current?(y.current.style.left=`${ye}px`,y.current.style.top=`${ke}px`,y.current.dataset.placement=U):(B(U||f),g({position:"fixed",left:ye,top:ke}),E(!0))},[N,C,r,t,a,s,f,l]);o.useEffect(()=>()=>{$.current=null},[r,t]),o.useLayoutEffect(()=>{if(j)return;if(N&&C){g({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),E(!0);return}$.current===null&&($.current=r?r.getBoundingClientRect():t??null),W(!1,!0);const G=requestAnimationFrame(()=>W(!1,!0));return()=>cancelAnimationFrame(G)},[t,r,a,d,s,j,N,C,W]),o.useEffect(()=>{if(j||N&&C||!y.current||typeof ResizeObserver>"u")return;const G=new ResizeObserver(()=>{t&&W()});return G.observe(y.current),()=>G.disconnect()},[t,d,s,j,N,C,W]),o.useEffect(()=>{if(j||N&&C)return;let G=null;const ee=()=>{if(r&&($.current=r.getBoundingClientRect()),typeof requestAnimationFrame>"u"){W(!0);return}G===null&&(G=requestAnimationFrame(()=>{G=null,W(!0)}))},Z=L=>{if(!r&&i){const R=L.target;if(R&&y.current&&y.current.contains(R))return;try{if(R&&R.closest&&R.closest("[data-tooltip-ignore]"))return}catch{}z.current(!0);return}ee()};return window.addEventListener("resize",ee),document.addEventListener("scroll",Z,{passive:!0,capture:!0}),()=>{G!==null&&cancelAnimationFrame(G),window.removeEventListener("resize",ee),document.removeEventListener("scroll",Z,{capture:!0})}},[t,r,i,a,d,s,j,N,C,W]),o.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const G=window.matchMedia("(max-width: 768px)"),ee=()=>S(!!G.matches);ee();try{G.addEventListener?G.addEventListener("change",ee):G.addListener(ee)}catch{try{G.addListener(ee)}catch{}}return()=>{try{G.removeEventListener?G.removeEventListener("change",ee):G.removeListener(ee)}catch{}}},[]);const P=o.useRef(!1),V=o.useRef(null),T=Pa(),I=o.useCallback((G=!1)=>{if(i&&!(w||P.current)){if(P.current=!0,G){A(!0);try{i&&i()}catch{P.current=!1,A(!1)}return}A(!0),V.current=setTimeout(()=>{V.current=null;try{i&&i()}catch{P.current=!1,A(!1)}},T?0:200)}},[w,i,A,T]);o.useEffect(()=>()=>{V.current&&clearTimeout(V.current)},[]),o.useEffect(()=>{if(j)return;const G=L=>{const R=y.current;if(!R)return;const D=L.target;if(D&&!R.contains(D)){try{if(D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}u&&I(!0)}},ee=L=>{const R=y.current;if(!R)return;const D=L.target;if(D&&!R.contains(D)){try{if(D.closest&&D.closest("[data-tooltip-ignore]"))return}catch{}u&&I(!0)}},Z=L=>{if(L.key==="Tab"){const R=y.current;if(!R)return;const D=R.querySelectorAll(jn);if(!D||D.length===0)return;const H=D[0],te=D[D.length-1],J=document.activeElement;L.shiftKey?J===H&&(L.preventDefault(),te.focus()):J===te&&(L.preventDefault(),H.focus())}};return document.addEventListener("pointerdown",G,!0),document.addEventListener("click",ee,!0),document.addEventListener("keydown",Z),()=>{document.removeEventListener("pointerdown",G,!0),document.removeEventListener("click",ee,!0),document.removeEventListener("keydown",Z)}},[i,u,I,j]);const z=o.useRef(I);o.useEffect(()=>{z.current=I});const ie=!!i;o.useEffect(()=>{if(!(j||!ie))return ir(()=>z.current())},[j,ie]),o.useEffect(()=>{const G=()=>{I(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",G),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",G)}},[I]);const ne=o.useRef(null);o.useEffect(()=>{if(j||_===!1||!k)return;const G=y.current;if(!G)return;const ee=G.querySelector(jn);if(ee)return ne.current=document.activeElement,ee.focus({preventScroll:!0}),()=>{const Z=ne.current;ne.current=null,Z&&document.contains(Z)&&Z.focus({preventScroll:!0})}},[j,_,k]),o.useEffect(()=>{p==="dialog"&&!h&&Tt("tooltip-no-name",'[ihab/Tooltip] \uC774\uB984 \uC5C6\uB294 role="dialog" \uC785\uB2C8\uB2E4 \u2014 ariaLabel \uC744 \uC8FC\uC138\uC694. \uB0AD\uB3C5\uAE30\uAC00 "\uB300\uD654\uC0C1\uC790" \uB77C\uACE0\uB9CC \uC77D\uC2B5\uB2C8\uB2E4.')},[p,h]);const F=n.jsxs("div",{ref:y,className:de(`tooltip__content ${j?"tooltip__content--inline":""} ${v?"tooltip__content--bordered":""} ${w?"is-closing":""} ${c} ${N&&C?"is-mobile":""}`),role:p,"aria-label":h||void 0,style:j?{}:{...x,visibility:k?"visible":"hidden"},tabIndex:-1,"data-placement":f,"data-left":j?"":x.left,"data-top":j?"":x.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[b!=null&&n.jsx("div",{className:de("tooltip__header h5"),children:b}),d]});if(j||typeof document>"u")return F;if(m||N&&C){const G=n.jsxs("div",{className:de("tooltip__portal"),children:[n.jsx("div",{className:de("tooltip__backdrop"),onClick:()=>{u&&I(!0)}}),F]});return bn.createPortal(G,document.body)}return bn.createPortal(F,document.body)}function zn(e){const{anchorRect:t,text:r,offset:a=8,onClose:s,className:l="",ariaLabel:i}=e||{};return r?n.jsx(sn,{anchorRect:t,offset:a,onClose:s,closeOnOutsideClick:!1,className:de(`info-tooltip ${l}`),ariaLabel:i||r,children:n.jsx("div",{className:de("info-tooltip__content body-3"),children:r})}):null}function er(e){const{t}=Ee.useTranslation(),{anchorRect:r,title:a,items:s,activeIndex:l=-1,showIndex:i=!0,onClose:u,offset:c=12,closeOnOutsideClick:p=!0,columns:h}=e||{},d=(Array.isArray(s)?s:s?[s]:[]).map(m=>typeof m=="string"?{text:m}:m);return!d.length&&!a?null:n.jsx(sn,{anchorRect:r,offset:c,onClose:u,closeOnOutsideClick:p,useBorder:!1,className:de("description-tooltip"),ariaLabel:a||t("tooltip.description","\uC124\uBA85"),children:n.jsxs("div",{className:de("description-tooltip__box"),children:[a&&n.jsx("span",{className:de("description-tooltip__title body-2"),children:a}),n.jsx("ol",{className:de(`description-tooltip__items${h&&h>1?" description-tooltip__items--columns":""}`),style:h&&h>1?{columnCount:h}:void 0,children:d.map((m,C)=>n.jsxs("li",{className:de(`description-tooltip__item body-3${C===l?" description-tooltip__item--active":""}`),children:[i&&d.length>1&&n.jsxs("span",{className:de("description-tooltip__index button-1"),children:[C+1,"."]}),m.color&&n.jsx("span",{className:de("description-tooltip__dot"),style:{background:m.color},"aria-hidden":"true"}),n.jsx("span",{children:m.text})]},C))})]})})}function ra(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t}let ns=0,Ji=!1;function Qi(){Ji||typeof document>"u"||(Ji=!0,document.addEventListener("pointerdown",e=>{e.pointerType==="touch"&&(ns=Date.now())},!0),document.addEventListener("touchstart",()=>{ns=Date.now()},{capture:!0,passive:!0}))}Qi();function tr(e){return!!e&&e.pointerType==="touch"}function ur(e=1e3){return Qi(),Date.now()-ns<e}function Fa(e,t,r,{enabled:a=!0,fallbackOnParent:s=!1}={}){const l=ra(e),i=ra(t),u=o.useRef(null),c=o.useRef(0);o.useEffect(()=>{if(!a||typeof document>"u")return;const h=d=>{const m=d,C=d.target,v=r.current,b=!!(C&&v&&v.contains(C));if(m.pointerType!=="touch"){b&&(u.current=null);return}if(b){u.current=l.current;return}u.current=null,l.current&&!(C&&C.closest?.(".tooltip__content"))&&i.current(!1,v)};return document.addEventListener("pointerdown",h,!0),()=>document.removeEventListener("pointerdown",h,!0)},[a,r,l,i]);const p=o.useCallback(h=>{const d=u.current;return d===null?!1:(u.current=null,c.current=Date.now(),i.current(!d,h??r.current),!0)},[r,i]);return o.useEffect(()=>{if(!a||!s)return;const h=r.current,d=h?.parentElement;if(!h||!d)return;let m=null;const C=_=>{const y=_.changedTouches?.[0];if(!y)return!1;const x=h.getBoundingClientRect();return y.clientX>=x.left&&y.clientX<=x.right&&y.clientY>=x.top&&y.clientY<=x.bottom},v=_=>{m=C(_)?l.current:null},b=_=>{const y=m;m=null,!(y===null||Date.now()-c.current<700||!C(_))&&(u.current=null,c.current=Date.now(),i.current(!y,h))};return d.addEventListener("touchstart",v,{passive:!0}),d.addEventListener("touchend",b),()=>{d.removeEventListener("touchstart",v),d.removeEventListener("touchend",b)}},[a,s,r,l,i]),{touchPress:p}}function nv(e,t){const{size:r,type:a,htmlType:s,href:l,target:i,rel:u,icon:c,rightIcon:p,label:h,count:d,subLabel:m,children:C,ariaLabel:v,variant:b="default",align:_="center",nowrap:y=!1,ellipsis:x=!1,selected:g,toggleable:w=!1,ariaExpanded:A,ariaControls:f,disabled:B=!1,loading:k=!1,useLabel:E=!0,useBorder:N=!0,useBG:S=!0,useDisabledCovered:j=!1,useDisabledInvisible:$=!1,useDisabledFilled:W=!1,width:P,minWidth:V,onClick:T,onDisabledClick:I,showTooltipInfo:z=!1,tooltipInfoText:ie=null,tooltipDescription:ne=null,tooltipOnly:F=!1,iconSize:G="medium",iconColor:ee,shape:Z="rounded",color:L,className:R,...D}=e,H=wn(),te=r??H??48,J=typeof te=="string"&&isNaN(Number(te))?te.toLowerCase():String(Number(te)||48),ae=J.match(/^\d+$/)?`button${J}`:`button-${J}`,ue=Number(te),Ne=!isNaN(ue)&&ue<40?"button-2":"button-1",ce=h??C,X=B||!!D.disabled,O=X?j?"disabled-covered":$?"disabled-invisibled":W?"disabled-filled":"disabled":b,U=O?`button--variant-${O}`:"",q=_?`button--align-${_}`:"",le=y?"button--nowrap":"",re=x?"button--ellipsis":"",se=Z?`button--shape-${Z}`:"",ye=typeof ee=="string"&&ee.startsWith("--")?`var(${ee})`:ee,ke={...P?{width:typeof P=="number"?`${P}px`:P}:{},...V?{minWidth:typeof V=="number"?`${V}px`:V}:{},...N?{}:{"--button-border":X?"0":"1px solid transparent"},...ye?{"--button-icon-color":ye}:{},...L?{"--color-main":L}:{}},ve=E===!1?"":ce,Ie=Array.isArray(ve)?ve.length>0:!!ve,xe=!!p,_e=a??(Ie||c||xe?"bar":"dot"),Be=`${ae}--${_e}`,De=o.useRef(null);o.useEffect(()=>{!Zn||s!==void 0||De.current?.closest("form")&&Tt(`button-in-form:${typeof ce=="string"?ce:""}`,'[ihab/Button] <form> \uC548\uC778\uB370 htmlType \uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 \uC774 \uB2E8\uCD94\uB294 type="button" \uC774\uB77C \uD3FC\uC744 \uBCF4\uB0B4\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uBCF4\uB0B4\uB294 \uB2E8\uCD94\uBA74 htmlType="submit" \uC744 \uC8FC\uC138\uC694. \uD3FC\uC5D0 \uBCF4\uB0B4\uB294 \uB2E8\uCD94\uAC00 \uD558\uB098\uB3C4 \uC5C6\uC73C\uBA74 **Enter \uB85C\uB3C4 \uC548 \uBCF4\uB0B4\uC9D1\uB2C8\uB2E4**(\uCE78\uC774 \uB458 \uC774\uC0C1\uC77C \uB54C).'+(typeof ce=="string"&&ce?` \uB2E8\uCD94: ${ce}`:""))},[s,ce]);const ze=o.useRef(t);ze.current=t;const ot=o.useCallback(Ke=>{De.current=Ke;const xt=ze.current;typeof xt=="function"?xt(Ke):xt&&(xt.current=Ke)},[]),it=o.useRef(X),[Fe,qe]=o.useState(!!g),[nt,Te]=o.useState(!1),[Xe,rt]=o.useState(null),ut=o.useCallback(()=>Te(!1),[]),[gt,_t]=o.useState(!1),pt=o.useId();o.useEffect(()=>{typeof g=="boolean"&&qe(g)},[g]),o.useEffect(()=>{if(it.current&&!X&&De.current){const Ke=De.current;let xt=!1;try{xt=Ke.matches(":focus:not(:focus-visible)")}catch{xt=!1}xt&&Ke.blur(),Ke.style.pointerEvents="none";const jt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{De.current&&(De.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(jt)}it.current=X},[X]);const Yt=typeof g=="boolean"?!!g:Fe,kt=typeof A=="boolean"?void 0:w||typeof g=="boolean"?Yt?"true":"false":D["aria-pressed"],ct=we("button",ae,Be,U,q,le,re,se,Yt?"is-selected":null,S?null:"button--no-bg",F?"button--tooltip-only":null,R),je=`button__icon button__icon--${G}`,st=Array.isArray(m)?m:m!==void 0?[m]:[],ft=()=>{if(Array.isArray(ve))return ve.map((xt,jt)=>{const Q=st[jt];return n.jsxs("span",{className:`button__label-text${Q!==void 0?" button__label-text--has-sub":""}`,children:[xt,Q!==void 0&&n.jsx("span",{className:"button__sub-label-text caption-1",children:Q})]},jt)});const Ke=m!==void 0;return n.jsxs("span",{className:`button__label-text${Ke?" button__label-text--has-sub":""}`,children:[ve,d!=null&&n.jsx("span",{className:"button__count",children:d}),Ke&&n.jsx("span",{className:"button__sub-label-text caption-1",children:m})]})},Ct=Ke=>{typeof g!="boolean"&&!w&&qe(!1),Ke.currentTarget.blur()},Nt=Ke=>{X||(typeof D.onMouseLeave=="function"&&D.onMouseLeave(Ke),Ct(Ke))},Ft=Ke=>{if(F&&Et&&It.touchPress(Ke.currentTarget),X){Et&&It.touchPress(Ke.currentTarget),Ke.preventDefault(),I?.(Ke);return}typeof g!="boolean"&&w&&qe(xt=>!xt),T?.(Ke)},yt=o.useCallback(()=>{(z||ne)&&(Te(!0),rt(De.current?.getBoundingClientRect()??null))},[z,ne]),vt=o.useCallback(()=>{(z||ne)&&(Te(!1),rt(null))},[z,ne]),Et=!!(z||ne),It=Fa(nt,Ke=>{Ke?yt():vt()},De,{enabled:Et&&(X||F),fallbackOnParent:Et&&X}),Je={...D};delete Je.disabled,delete Je.className,delete Je.faded,delete Je.useFaded,delete Je.loading,delete Je.onMouseLeave,delete Je.onPointerEnter,delete Je.onPointerLeave,delete Je.onPointerUp,delete Je.onFocus,delete Je.onBlur,X&&(Object.keys(Je).forEach(Ke=>{/^on[A-Z]/.test(Ke)&&typeof Je[Ke]=="function"&&delete Je[Ke]}),Je["aria-disabled"]="true"),k&&(Je["aria-busy"]="true");const At=(typeof z=="string"?z:null)??(typeof ie=="string"?ie:null)??(typeof v=="string"?v:null)??(typeof ce=="string"?ce:null)??void 0,Qe=typeof v=="string"?v:typeof ce=="string"?ce:At,fe=ne?[ne.title,...ne.items??[]].filter(Boolean).join(". "):z&&At&&At!==Qe?At:"",Le=[typeof D["aria-describedby"]=="string"?D["aria-describedby"]:void 0,fe?pt:null].filter(Boolean).join(" ")||void 0,Pe=()=>n.jsx("span",{className:`${je} button__spinner`,"aria-hidden":"true",children:n.jsx(Nr,{variant:"spinner",size:"100%"})}),We=(Ke,xt)=>n.jsx(lt,{icon:Ke,label:xt??Qe,className:je,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),dt=Ke=>k?Pe():We(c,Ke),on=()=>_e==="dot"?n.jsxs(n.Fragment,{children:[dt(),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()})]}):_==="center"&&(c||k)?n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"button__center-group",children:[n.jsx("span",{className:"button__left",children:dt()}),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()})]}),xe&&n.jsx("span",{className:"button__right",children:We(p)})]}):n.jsxs(n.Fragment,{children:[(c||k)&&n.jsx("span",{className:"button__left",children:dt(v??ce)}),Ie&&n.jsx("span",{className:`button__label ${Ne}`,children:ft()}),xe&&n.jsx("span",{className:"button__right",children:We(p)})]}),ht=!!l&&!X;return n.jsxs(n.Fragment,{children:[n.jsxs(ht?"a":"button",{...Je,ref:ot,...ht?{href:l,target:i,rel:u??(i==="_blank"?"noreferrer":void 0)}:{type:s??"button",disabled:X&&!I&&!gt},className:ct,"aria-pressed":kt,"aria-expanded":typeof A=="boolean"?A:D["aria-expanded"],"aria-controls":f??D["aria-controls"],"aria-label":Qe,"aria-disabled":X&&(ht||I||gt)?!0:void 0,"aria-describedby":Le,style:ke,onClick:Ft,onMouseLeave:Nt,onPointerEnter:Ke=>{tr(Ke)||yt(),!X&&typeof D.onPointerEnter=="function"&&D.onPointerEnter(Ke)},onPointerLeave:Ke=>{tr(Ke)||vt(),!X&&typeof D.onPointerLeave=="function"&&D.onPointerLeave(Ke)},onPointerUp:Ke=>{X&&Et&&It.touchPress(Ke.currentTarget),!X&&typeof D.onPointerUp=="function"&&D.onPointerUp(Ke)},onFocus:Ke=>{_t(!0),ur()||yt(),!X&&typeof D.onFocus=="function"&&D.onFocus(Ke)},onBlur:Ke=>{_t(!1),X||Ct(Ke),vt(),!X&&typeof D.onBlur=="function"&&D.onBlur(Ke)},children:[on(),fe?n.jsx("span",{id:pt,hidden:!0,"aria-label":fe}):null]}),nt&&ne?n.jsx(er,{anchorRect:Xe,title:ne.title,items:ne.items,onClose:ut}):nt&&At?n.jsx(zn,{anchorRect:Xe,text:At,onClose:ut}):null]})}const me=o.forwardRef(nv);me.displayName="Button";function Ht(e,t,r){const a=o.useRef(null);return o.useLayoutEffect(()=>{const s=a.current?.parentElement??null;return t(s,e),()=>r(s)},[e,t,r]),a}const aa={title:"--promo-banner-bg-title",description:"--promo-banner-bg-description"},rs=new WeakMap;function as(e){if(e)return rs.get(e)}function ln(e,t){e&&(e.style.setProperty(aa.title,t.title),e.style.setProperty(aa.description,t.description),rs.set(e,t))}function un(e){e&&(e.style.removeProperty(aa.title),e.style.removeProperty(aa.description),rs.delete(e))}const eu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"default"};function tu(){const e=Ht(eu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-main","aria-hidden":"true"})}const nu={title:"var(--color-main)",description:"var(--color-gray)",actionVariant:"main"};function ru(){const e=Ht(nu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft","aria-hidden":"true"})}const au={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function ou(){const e=Ht(au,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-sub","aria-hidden":"true"})}const su={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function lu(){const e=Ht(su,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-deep","aria-hidden":"true"})}const iu={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function uu(){const e=Ht(iu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-soft-sub","aria-hidden":"true"})}const cu={title:"var(--color-black)",description:"var(--color-darkGray)",actionVariant:"main"};function du(){const e=Ht(cu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-warm","aria-hidden":"true"})}const pu={title:"var(--color-white)",description:"var(--color-lightGray)",actionVariant:"main"};function hu(){const e=Ht(pu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dark","aria-hidden":"true"})}const mu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function fu(){const e=Ht(mu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-radial","aria-hidden":"true"})}const Cu={title:"var(--color-darkMain)",description:"var(--color-gray)",actionVariant:"main"};function gu(){const e=Ht(Cu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-diagonal","aria-hidden":"true"})}const bu={title:"var(--color-darkSub)",description:"var(--color-gray)",actionVariant:"main"};function yu(){const e=Ht(bu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-dots","aria-hidden":"true"})}const vu={title:"var(--color-black)",description:"var(--color-gray)",actionVariant:"main"};function xu(){const e=Ht(vu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-outline","aria-hidden":"true",children:n.jsx("span",{className:"promo-banner-bg-outline__dot"})})}const _u={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"main"};function wu(){const e=Ht(_u,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-success","aria-hidden":"true"})}const Bu={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"sub"};function ku(){const e=Ht(Bu,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-naver","aria-hidden":"true"})}const Au={title:"#ffffff",description:"rgba(255, 255, 255, 0.85)",actionVariant:"transparent-white"};function Nu(){const e=Ht(Au,ln,un);return n.jsx("div",{ref:e,className:"promo-banner-bg promo-banner-bg-instagram","aria-hidden":"true"})}const fn=(e,t,r)=>({key:e,get label(){return Pt.t(`promoBannerBg.${e}`,t)},textTone:r}),rv=[fn("main","\uBA54\uC778 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("soft","\uC18C\uD504\uD2B8","dark"),fn("sub","\uC11C\uBE0C \uCEEC\uB7EC","light"),fn("deep","\uB525 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("softSub","\uC18C\uD504\uD2B8 \uC11C\uBE0C","dark"),fn("warm","\uC6DC(\uAC15\uC870)","dark"),fn("dark","\uB2E4\uD06C","light"),fn("radial","\uBC29\uC0AC\uD615 \uADF8\uB77C\uB514\uC5B8\uD2B8","light"),fn("diagonal","\uB300\uAC01\uC120 \uD328\uD134","dark"),fn("dots","\uB3C4\uD2B8 \uD328\uD134","dark"),fn("outline","\uC544\uC6C3\uB77C\uC778","dark"),fn("success","\uC131\uACF5/\uC644\uB8CC","light"),fn("naver","\uB124\uC774\uBC84 \uBE14\uB85C\uADF8 \uC548\uB0B4","light"),fn("instagram","\uC778\uC2A4\uD0C0\uADF8\uB7A8 \uC548\uB0B4","light")],Eu={main:tu,soft:ru,sub:ou,deep:lu,softSub:uu,warm:du,dark:hu,radial:fu,diagonal:gu,dots:yu,outline:xu,success:wu,naver:ku,instagram:Nu};function ju({storageKey:e="fontScale",baseFont:t=20,minScale:r=.8,maxScale:a=1.4,step:s=.1,lineHeightRatio:l=1.4}={}){const i=g=>Math.max(r,Math.min(a,Number(g))),u=g=>{try{const w=localStorage.getItem(g),A=w?Number(w):1;return Number.isFinite(A)?i(A):i(1)}catch{return i(1)}},[c,p]=o.useState(()=>u(e)),[h,d]=o.useState(e);h!==e&&(d(e),p(u(e))),o.useEffect(()=>{try{localStorage.setItem(e,String(c))}catch{}},[e,c]);const m=g=>{p(typeof g=="function"?w=>i(g(w)):i(g))},C=()=>m(g=>+(g+s).toFixed(6)),v=()=>m(g=>+(g-s).toFixed(6)),b=c<a-Number.EPSILON,_=c>r+Number.EPSILON,y=Math.round(t*c),x=Math.round(y*l);return{scale:c,setScale:m,increase:C,decrease:v,canIncrease:b,canDecrease:_,fontSize:y,lineHeight:x}}function Du(e,t){const r=ra(t);o.useEffect(()=>{const a=()=>r.current();try{window.addEventListener(e,a)}catch{}return()=>{try{window.removeEventListener(e,a)}catch{}}},[e,r])}const os=" \xB7 ",Su=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(os)?e.split(os).pop()??e:e})(),av=o.createContext(!1),cr=[];let Tu=null;function ov(e){const t=o.useContext(av);o.useEffect(()=>{if(t||typeof e!="string"||!e)return;cr.length===0&&(Tu=document.title);const r={text:Su?`${e}${os}${Su}`:e};return cr.push(r),document.title=r.text,()=>{const a=cr.lastIndexOf(r);a>=0&&cr.splice(a,1),document.title=cr.length?cr[cr.length-1].text:Tu??document.title}},[e,t])}const ss=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}],sv=(()=>{let e=null;return()=>(e||(e=new Intl.Collator("ko")),e)})();function xn(e,t){return sv().compare(e,t)}const Ia=new Map;function lv(e){const t=Ia.get(e);if(t)return t;const r=[],a=/-?\d+(?:\.\d+)?/g;let s=0;for(let l=a.exec(e);l;l=a.exec(e)){let i=l.index,u=l[0];u[0]==="-"&&i>0&&!/\s/.test(e[i-1])&&(i+=1,u=u.slice(1)),i>s&&r.push(e.slice(s,i)),r.push(Number(u)),s=l.index+l[0].length}return s<e.length&&r.push(e.slice(s)),Ia.size>5e3&&Ia.clear(),Ia.set(e,r),r}function iv(e){if(!/^[\d\s-]+$/.test(e))return null;const t=e.replace(/\D/g,"");return t.length<9||t.length>11?null:t[0]==="0"||t[0]==="1"&&e!==t?t:null}function uv(e,t){const r=p=>p==null||typeof p=="number"&&Number.isNaN(p)?"":String(p).trim(),a=r(e),s=r(t);if(a===s)return 0;const l=(p,h)=>{if(typeof p=="number"&&!Number.isNaN(p))return[p];const d=iv(h);return d!==null?[d]:lv(h)},i=l(e,a),u=l(t,s),c=Math.min(i.length,u.length);for(let p=0;p<c;p++){const h=i[p],d=u[p];if(typeof h=="number"&&typeof d=="number"){if(h!==d)return h-d;continue}if(typeof h=="number")return-1;if(typeof d=="number")return 1;const m=xn(h,d);if(m!==0)return m}return i.length!==u.length?i.length-u.length:xn(a,s)}const Mu=e=>e==null||typeof e=="number"&&Number.isNaN(e)||typeof e=="string"&&e.trim()==="";function Oa(e,t,r){const a=Mu(e),s=Mu(t);if(a||s)return a===s?0:a?1:-1;const l=uv(e,t);return r?l:-l}function cv(e,t,r){const{t:a}=Ee.useTranslation(),[s,l]=o.useState(()=>{const v=r?.initialPageSize;return v&&ss.some(b=>b.value===v)?v:"25"}),[i,u]=o.useState(1),[c,p]=o.useState(t);Object.is(c,t)||(p(t),i!==1&&u(1));const h=o.useMemo(()=>ss.map(v=>({...v,label:a("visits.showN",{n:v.value})})),[a]),d=o.useCallback(v=>{ss.some(b=>b.value===v)&&(l(v),u(1))},[]),m=Math.max(1,Math.ceil(e.length/Number(s))),C=Math.min(Math.max(1,Number.isFinite(i)?Math.floor(i):1),m);return i!==C&&u(C),{pageRows:o.useMemo(()=>e.slice((C-1)*Number(s),C*Number(s)),[e,C,s]),pageSizeProps:{options:h,value:s,onChange:d},paginationProps:{page:C,total:m,onChange:u},setPage:u}}function dv(e){const[t,r]=o.useState(()=>e?.defaultKey!=null?{key:e.defaultKey,asc:e.defaultAsc??!0}:null),a=o.useRef(t),s=o.useRef(e?.onSortChange);s.current=e?.onSortChange;const l=o.useCallback(c=>{const p=a.current,h=p?.key===c?{key:c,asc:!p.asc}:{key:c,asc:!0};a.current=h,r(h),s.current?.(h)},[]),i=o.useCallback((c,p)=>({label:c,sortDir:t?.key===p?t.asc?"asc":"desc":null,onClick:()=>l(p)}),[t,l]),u=o.useCallback((c,p)=>{if(!t)return c;const{key:h,asc:d}=t;return[...c].sort((m,C)=>Oa(p(m,h),p(C,h),d))},[t]);return{sort:t,field:i,sortRows:u}}const Dn="\uC804\uCCB4",pv={labial:e=>e("common.phonetics.place.labial",{defaultValue:"\uC591\uC21C\uC74C"}),alveolar:e=>e("common.phonetics.place.alveolar",{defaultValue:"\uCE58\uC870\uC74C"}),palatal:e=>e("common.phonetics.place.palatal",{defaultValue:"\uACBD\uAD6C\uAC1C\uC74C"}),velar:e=>e("common.phonetics.place.velar",{defaultValue:"\uC5F0\uAD6C\uAC1C\uC74C"}),glottal:e=>e("common.phonetics.place.glottal",{defaultValue:"\uC131\uBB38\uC74C"})},hv={frontHigh:e=>e("common.phonetics.vowel.frontHigh",{defaultValue:"\uC804\uC124 \uACE0\uBAA8\uC74C"}),backHighUnrounded:e=>e("common.phonetics.vowel.backHighUnrounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C"}),backHighRounded:e=>e("common.phonetics.vowel.backHighRounded",{defaultValue:"\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"}),frontMid:e=>e("common.phonetics.vowel.frontMid",{defaultValue:"\uC804\uC124 \uC911\uBAA8\uC74C"}),backMidUnrounded:e=>e("common.phonetics.vowel.backMidUnrounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"}),backMidRounded:e=>e("common.phonetics.vowel.backMidRounded",{defaultValue:"\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"}),low:e=>e("common.phonetics.vowel.low",{defaultValue:"\uC800\uBAA8\uC74C"})},mv={j:e=>e("common.phonetics.glide.j",{defaultValue:"j\uD65C\uC74C"}),w:e=>e("common.phonetics.glide.w",{defaultValue:"w\uD65C\uC74C"}),velar:e=>e("common.phonetics.glide.velar",{defaultValue:"\u0270\uD65C\uC74C"})};function fv(e,t){if("place"in t)return pv[t.place](e);const r=hv[t.vowel](e);return t.glide?`${r} \xB7 ${mv[t.glide](e)}`:r}const Cv=(e,{defaultValue:t})=>t,$u=(e,t)=>({jamos:e,phonetic:t,tooltip:fv(Cv,t)}),Wn=(e,t)=>t.map(r=>$u([r],{place:e})),Qt=(e,t,r)=>$u([...e],r?{vowel:t,glide:r}:{vowel:t}),ls={cho:[Wn("labial",["\u3142","\u3143","\u314D","\u3141"]),Wn("alveolar",["\u3137","\u3138","\u314C","\u3134","\u3139"]),Wn("alveolar",["\u3145","\u3146"]),Wn("palatal",["\u3148","\u3149","\u314A"]),Wn("velar",["\u3131","\u3132","\u314B"]),Wn("glottal",["\u314E"])],jung:[[Qt("\u3163","frontHigh"),Qt("\u315F","frontHigh","w"),Qt("\u3162","frontHigh","velar")],[Qt("\u3161","backHighUnrounded")],[Qt("\u315C","backHighRounded"),Qt("\u3160","backHighRounded","j")],[Qt("\u3154\u3150","frontMid"),Qt("\u3156\u3152","frontMid","j"),Qt("\u3159\u315A\u315E","frontMid","w")],[Qt("\u3153","backMidUnrounded"),Qt("\u3155","backMidUnrounded","j"),Qt("\u315D","backMidUnrounded","w")],[Qt("\u3157","backMidRounded"),Qt("\u315B","backMidRounded","j")],[Qt("\u314F","low"),Qt("\u3151","low","j"),Qt("\u3158","low","w")]],jong:[Wn("labial",["\u3142","\u3141"]),Wn("alveolar",["\u3137","\u3134","\u3139"]),Wn("velar",["\u3131","\u3147"])]},gv=e=>e===bv?[]:Array.from(e),bv="__NO_CODA__",is=e=>e.map(t=>t.map(({jamos:r,phonetic:a,tooltip:s})=>({v:r.join(""),phonetic:a,tooltip:s}))),Lu={cho:is(ls.cho),jung:is(ls.jung),jong:is(ls.jong)};Lu.jung.flat().forEach(({v:e})=>{for(const t of gv(e));}),new Set(Lu.cho.flat().map(e=>e.v)),Object.fromEntries(Object.entries(Sb).map(([e,{nucleus:t}])=>[e,t]));function yv(e,t=!0){const r=ra(e);o.useEffect(()=>{if(t)return ir(()=>{r.current?.()})},[t,r])}function za(){const[e,t]=o.useState(null),r=o.useCallback(l=>t(l.getBoundingClientRect()),[]),a=o.useCallback(()=>t(null),[]),s=o.useCallback(l=>{const i=l.getBoundingClientRect();t(u=>u?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:r,close:a,toggleAt:s}}function vv(e){const[t,r]=o.useState(null),[a,s]=o.useState(null),l=o.useRef(null);o.useEffect(()=>()=>{l.current&&clearTimeout(l.current)},[]);const i=o.useCallback((c,p)=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{r(c),s(p)},e)},[e]),u=o.useCallback(()=>{l.current&&clearTimeout(l.current),r(null),s(null)},[]);return{payload:t,anchorRect:a,openAfterDelay:i,close:u}}function Ru(e="warning"){const[t,r]=o.useState(""),[a,s]=o.useState(e),[l,i]=o.useState(0),u=o.useCallback((d,m)=>{s(m),r(d),i(C=>C+1)},[]),c=o.useCallback(d=>u(d,"warning"),[u]),p=o.useCallback(d=>u(d,"normal"),[u]),h=o.useCallback(()=>r(""),[]);return{toastMessage:t,toastType:a,toastKey:l,showToast:u,showWarning:c,showNormal:p,clearToast:h}}function oa(e){let t=0;if(e&&typeof window<"u"&&typeof window.getComputedStyle=="function")for(let r=e;r&&r!==document.body&&r!==document.documentElement;r=r.parentElement){const a=parseInt(window.getComputedStyle(r).zIndex,10);!Number.isNaN(a)&&a>t&&(t=a)}return t>0?`max(var(--z-menu, 1500), ${t+1})`:"var(--z-menu, 1500)"}function sa({computeStyle:e,onScroll:t="close",onResize:r="close",ignoreOutsideClickSelector:a}){const[s,l]=o.useState(!1),[i,u]=o.useState({position:"fixed"}),c=o.useRef(null),p=o.useRef(null),h=o.useCallback(()=>{c.current&&u(e(c.current.getBoundingClientRect(),c.current))},[e]);o.useLayoutEffect(()=>{s&&h()},[s,h]),o.useEffect(()=>{if(!s)return;let C=p.current?.offsetHeight??0;C>0&&h();let v=0,b=null;typeof ResizeObserver<"u"&&p.current&&(b=new ResizeObserver(()=>{const B=p.current?.offsetHeight??0;if(B!==C){if(C=B,++v>4){b?.disconnect(),b=null;return}h()}}),b.observe(p.current));const _=B=>{const k=B.target;a&&k.closest?.(a)||c.current?.contains(k)||p.current?.contains(k)||l(!1)};document.addEventListener("mousedown",_),document.addEventListener("pointerdown",_);let y=null;const x=()=>{if(typeof requestAnimationFrame>"u"){h();return}y===null&&(y=requestAnimationFrame(()=>{y=null,h()}))},g=B=>{p.current?.contains(B.target)||(t==="reposition"?x():t==="close"&&l(!1))};t!=="ignore"&&window.addEventListener("scroll",g,!0);const w=()=>{r==="reposition"?x():r==="close"&&l(!1)};let A=null;const f=()=>{w(),A&&clearTimeout(A),A=setTimeout(()=>{A=null,r==="reposition"&&h()},250)};return r!=="ignore"&&(window.addEventListener("resize",w),window.addEventListener("orientationchange",f)),()=>{y!==null&&cancelAnimationFrame(y),b?.disconnect(),document.removeEventListener("mousedown",_),document.removeEventListener("pointerdown",_),t!=="ignore"&&window.removeEventListener("scroll",g,!0),r!=="ignore"&&(window.removeEventListener("resize",w),window.removeEventListener("orientationchange",f)),A&&clearTimeout(A)}},[s,h,t,r,a]),o.useEffect(()=>{if(s)return ir(()=>l(!1))},[s]);const d=o.useCallback(()=>l(C=>!C),[]),m=o.useCallback(()=>l(!1),[]);return{open:s,setOpen:l,toggle:d,close:m,style:i,triggerRef:c,menuRef:p}}function xv(e,{mode:t="playback",autoStart:r=!1,onPlaySpeaker:a,onComplete:s,playMs:l=1100,feedbackMs:i=1500}={}){const[u,c]=o.useState([]),[p,h]=o.useState(0),[d,m]=o.useState("idle"),[C,v]=o.useState(null),[b,_]=o.useState([]),[y,x]=o.useState(null),[g,w]=o.useState(0),A=o.useRef(0),f=o.useCallback(F=>{A.current=typeof F=="function"?F(A.current):F,w(A.current)},[]),B=o.useRef(a),k=o.useRef(s);o.useEffect(()=>{B.current=a,k.current=s},[a,s]);const E=o.useRef([]),N=()=>{E.current.forEach(clearTimeout),E.current=[]},S=(F,G)=>{E.current.push(setTimeout(G,F))};o.useEffect(()=>()=>N(),[]);const j=u[p]?.id??null,$=o.useRef(null),W=o.useCallback(()=>{N(),m("playing"),_([]),x(null),f(0);let F=0;e.forEach((G,ee)=>{S(F,()=>{h(ee),v(G.id),B.current?.(G)}),S(F+1e3,()=>{v(null),_(Z=>[...Z,G.id])}),F+=1300}),S(F,()=>{m("done"),k.current?.({score:0,total:e.length})})},[e,f]),P=o.useCallback((F,G)=>{if(G>=F.length){m("done"),k.current?.({score:A.current,total:F.length});return}$.current=null,h(G),x(null),m("playing"),v(F[G].id),B.current?.(F[G]),S(l,()=>{v(null),m("waiting")})},[l]),V=o.useCallback(()=>{N();const F=Jr(e);c(F),f(0),_([]),P(F,0)},[e,P,f]),T=o.useCallback(()=>{t==="playback"?(c(e),W()):V()},[t,e,W,V]),I=o.useCallback(()=>{N(),m("idle"),v(null),_([]),x(null),h(0),f(0),c([])},[f]),z=JSON.stringify(e.map(F=>[F.id,F.label,F.angleDeg,F.deg,F.row,F.shortcut]));o.useEffect(()=>(r?T():I(),()=>N()),[t,z,r]);const ie=o.useCallback(F=>{d!=="waiting"||t==="playback"||$.current===p||($.current=p,x(F),F===u[p]?.id&&f(G=>G+1),t==="exam"?(m("playing"),S(400,()=>P(u,p+1))):(m("feedback"),S(i,()=>P(u,p+1))))},[d,t,u,p,P,i,f]),ne=t==="playback"?e.length:u.length;return{bind:{activeSpeakerId:C,playedIds:b,selectedId:y,answerId:j,showFeedback:d==="feedback",clickable:d==="waiting",onSelectSpeaker:ie},index:p,total:ne,score:g,phase:d,done:d==="done",start:T,reset:I}}const us=new Map,cs=new Map,_v=()=>()=>{},wv=()=>!0,Bv=()=>!1;function Pu(e){const t=/^data:image\/svg\+xml(;base64)?,([\s\S]*)$/.exec(e);if(!t)return null;try{if(!t[1])return decodeURIComponent(t[2]);const r=Uint8Array.from(atob(t[2]),a=>a.charCodeAt(0));return new TextDecoder("utf-8").decode(r)}catch{return null}}function kv(e){if(typeof window>"u")return"";const t=(r,a)=>{const s=a.attrName.toLowerCase(),l=a.attrValue.trim();(s==="href"||s==="xlink:href")&&!l.startsWith("#")&&(a.keepAttr=!1),(s==="style"||l.includes("\\")&&l.includes("("))&&(a.keepAttr=!1);const i=l.replace(/url\s*\(\s*(['"]?)#[^)\s'"]+\1\s*\)/gi,"");/url\s*\(/i.test(i)&&(a.keepAttr=!1)};wr.addHook("uponSanitizeAttribute",t);try{return wr.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","style","foreignObject"]})}finally{wr.removeHook("uponSanitizeAttribute",t)}}function Av(e,t){const r=new Set;for(const i of e.matchAll(/url\(\s*(['"]?)#([^)\s"']+)\1\s*\)/g))r.add(i[2]);for(const i of e.matchAll(/(?:xlink:)?href="#([^"]+)"/g))r.add(i[1]);const a=new Set([...e.matchAll(/id="([^"]*)"/g)].map(i=>i[1])),s=[...r].filter(i=>a.has(i));if(s.length===0)return e;let l=e;for(const i of s){const u=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),c=`${t}-${i}`;l=l.replace(new RegExp(`id="${u}"`,"g"),`id="${c}"`).replace(new RegExp(`url\\(\\s*(['"]?)#${u}\\1\\s*\\)`,"g"),(p,h)=>`url(${h}#${c}${h})`).replace(new RegExp(`((?:xlink:)?href)="#${u}"`,"g"),`$1="#${c}"`)}return l}function Nv(e){const t=cs.get(e);if(t)return t;const r=fetch(e).then(a=>a.ok?a.text():null).then(a=>(a!=null&&us.set(e,a),a)).catch(()=>null).finally(()=>{cs.delete(e)});return cs.set(e,r),r}function Ev(e,t=!0){const r=o.useSyncExternalStore(_v,wv,Bv)&&t&&e?Pu(e)??us.get(e)??null:null,[a,s]=o.useState({src:e,enabled:t,svg:r});return o.useEffect(()=>{if(!t||!e){s({src:e,enabled:t,svg:null});return}const l=Pu(e)??us.get(e)??null;if(l!==null){s({src:e,enabled:t,svg:l});return}let i=!0;return Nv(e).then(u=>{i&&s({src:e,enabled:t,svg:u})}),()=>{i=!1}},[e,t]),a.src===e&&a.enabled===t?a.svg:r}const jv=e=>String(e);function Dv(e,t=jv){const[r,a]=o.useState(null),[s,l]=o.useState(null),i=o.useCallback(c=>({draggable:!0,onDragStart:p=>{a(c),p.dataTransfer.effectAllowed="move",p.dataTransfer.setData("text/plain",t(c))},onDragEnd:()=>{a(null),l(null)}}),[t]),u=o.useCallback((c,p)=>{const h=r!=null&&(!p||p(r));return{onDragOver:d=>{h&&(d.preventDefault(),d.dataTransfer.dropEffect="move",l(c))},onDragEnter:()=>{h&&l(c)},onDragLeave:d=>{h&&!d.currentTarget.contains(d.relatedTarget)&&l(m=>m===c?null:m)},onDrop:d=>{if(!h||r==null)return;d.preventDefault();const m=r;l(null),a(null),e(m,c)}}},[r,e]);return{dragging:r,draggingId:r==null?null:t(r),dragOverKey:s,cardProps:i,groupProps:u}}const Sv=[10,25,50,100];function Tv(e=Sv){const{t}=Ee.useTranslation(),r=e.join(",");return o.useMemo(()=>e.map(a=>({value:String(a),label:t("common.pageSizeLabel",{n:a,defaultValue:"{{n}}\uAC1C\uC529 \uBCF4\uAE30"})})),[r,t])}function Mv(e){o.useEffect(()=>{if(!e||typeof navigator>"u")return;const t=navigator.wakeLock;if(!t)return;let r=null,a=!1;const s=async()=>{if(!(a||r||document.visibilityState!=="visible"))try{const i=await t.request("screen");if(a){i.release().catch(()=>{});return}r=i,i.addEventListener("release",()=>{r===i&&(r=null)})}catch{}},l=()=>{document.visibilityState==="visible"&&s()};return s(),document.addEventListener("visibilitychange",l),()=>{a=!0,document.removeEventListener("visibilitychange",l),r&&(r.release().catch(()=>{}),r=null)}},[e])}const Fu="__ihabBackClosable",dr=[];let Wa=0,Iu=!1,$v=1;function ds(){try{const e=window.history.state?.[Fu];return typeof e=="number"?e:void 0}catch{return}}function Ou(e){try{const t=window.history.state??{};window.history.pushState({...t,[Fu]:e},"")}catch{}}function Lv(){if(Wa>0){Wa--;return}const e=dr[dr.length-1];if(e&&ds()!==e.id){if(e.onBack()===!1){Ou(e.id);return}dr.pop()}}function Rv(){Iu||typeof window>"u"||(window.addEventListener("popstate",Lv),Iu=!0)}function zu(e,t){const r=o.useRef(t);o.useEffect(()=>{r.current=t});const a=o.useRef(null);o.useEffect(()=>{if(!e||typeof window>"u")return;Rv();const s=a.current??(a.current=$v++),l={id:s,onBack:()=>r.current()};return dr.push(l),ds()!==s&&Ou(s),()=>{const i=dr.indexOf(l);if(i<0){a.current=null;return}dr.splice(i,1),setTimeout(()=>{if(!dr.some(u=>u.id===s)&&(a.current===s&&(a.current=null),ds()===s)){Wa++;try{window.history.back()}catch{Wa--}}},0)}},[e])}const Wu=260;function Pv({title:e,description:t,actionLabel:r,onAction:a,bg:s,color:l,size:i="medium",actionVariant:u,titleColor:c,descriptionColor:p,className:h=""}){const d=s??l??"main",m=o.useRef(null),[C,v]=o.useState("main"),b=Bn("(max-width: 767px)"),_=o.useRef({title:!1,description:!1});o.useLayoutEffect(()=>{const g=m.current;if(!g)return;const w=as(g),A=(f,B,k)=>{if(k!==void 0)g.style.setProperty(B,k),_.current[f]=!0;else if(_.current[f]){const E=w?.[f];E?g.style.setProperty(B,E):g.style.removeProperty(B),_.current[f]=!1}};A("title","--promo-banner-bg-title",c),A("description","--promo-banner-bg-description",p)},[c,p,d]),o.useLayoutEffect(()=>{const g=m.current;if(!g)return;const w=as(g);v(w?.actionVariant??"main")},[d]);const y=we("promo-banner",`promo-banner--${i}`,h),x=Eu[d];return n.jsxs("div",{ref:m,className:y,role:"note",children:[n.jsx(x,{}),n.jsxs("div",{className:"promo-banner__text",children:[n.jsx("span",{className:`promo-banner__title ${i==="small"?"body-2":"h2"}`,children:e}),t&&n.jsx("span",{className:"promo-banner__description body-3",children:t})]}),r&&a&&n.jsx(me,{htmlType:"button",size:40,variant:u??C,shape:"pill",useBorder:!0,onClick:a,ariaLabel:r,...b?{type:"dot",icon:"arrow-right"}:{rightIcon:"arrow-right",label:r,minWidth:140}})]})}function Fv({children:e,interval:t=5e3,dotTone:r,className:a="","aria-label":s}){const{t:l}=Ee.useTranslation(),i=s??l("topBanner.ariaLabel","\uBC30\uB108"),u=o.Children.toArray(e),c=u.length,[p,h]=o.useState(0),[d,m]=o.useState(!1),[C,v]=o.useState(!1),[b,_]=o.useState(!1),y=o.useRef(null),x=o.useRef(null),g=o.useRef(null),w=Pa(),A=d||C||b,f=c>0?Math.min(p,c-1):0;o.useEffect(()=>{if(c<2||t<=0||A||w)return;const k=window.setInterval(()=>h(E=>(Math.min(E,c-1)+1)%c),t);return()=>window.clearInterval(k)},[c,t,A,w]);const B=k=>{x.current!=null&&window.clearTimeout(x.current),x.current=window.setTimeout(()=>{x.current=null,_(!1)},k)};return o.useEffect(()=>()=>{x.current!=null&&window.clearTimeout(x.current)},[]),o.useEffect(()=>{if(!b)return;const k=E=>{E.pointerType==="touch"&&(g.current&&g.current.contains(E.target)||(x.current!=null&&(window.clearTimeout(x.current),x.current=null),_(!1)))};return document.addEventListener("pointerdown",k,!0),()=>document.removeEventListener("pointerdown",k,!0)},[b]),c===0?null:n.jsxs("section",{ref:g,className:we("top-banner",a),"aria-label":i,"aria-roledescription":"carousel",onPointerEnter:k=>{y.current=k.pointerType},onPointerDown:k=>{y.current=k.pointerType,k.pointerType==="touch"&&(x.current!=null&&(window.clearTimeout(x.current),x.current=null),_(!0))},onPointerUp:k=>{k.pointerType==="touch"&&B(5e3)},onPointerCancel:k=>{k.pointerType==="touch"&&B(5e3)},onMouseEnter:()=>{y.current!=="touch"&&m(!0)},onMouseLeave:()=>m(!1),onFocus:k=>{let E=!0;try{E=k.target.matches(":focus-visible")}catch{E=!0}v(E)},onBlur:k=>{k.currentTarget.contains(k.relatedTarget)||v(!1)},children:[n.jsx("div",{className:"top-banner__viewport",children:n.jsx("div",{className:"top-banner__track",style:{transform:`translateX(-${f*100}%)`},children:u.map((k,E)=>n.jsx("div",{className:"top-banner__slide","aria-hidden":E!==f,...E!==f?{inert:!0}:{},children:k},E))})}),c>1&&n.jsx("div",{className:`top-banner__dots${(r?.[f]??"light")==="dark"?" top-banner__dots--dark":""}`,children:u.map((k,E)=>n.jsx("button",{type:"button",className:`top-banner__dot${E===f?" top-banner__dot--active":""}`,"aria-label":l("topBanner.dotAriaLabel",{count:c,index:E+1,defaultValue:`${c}\uAC1C \uC911 ${E+1}\uBC88\uC9F8 \uBC30\uB108`}),"aria-current":E===f,onClick:()=>h(E)},E))})]})}function Iv({title:e,body:t,open:r=!1,onToggle:a,avatar:s,titleClassName:l="body-2",bodyClassName:i="body-2",className:u=""}){const{t:c}=Ee.useTranslation();return n.jsxs("div",{className:`accordion-item ${r?"accordion-item--open":""} ${u}`.trim(),role:"listitem",children:[n.jsxs("div",{className:"accordion-item__header",role:"button",tabIndex:0,"aria-expanded":r,"data-accordion-header":!0,onClick:a,onKeyDown:p=>{if(p.key==="Enter"||p.key===" ")p.preventDefault(),a?.();else if(p.key==="ArrowDown"||p.key==="ArrowUp"){p.preventDefault();const h=p.currentTarget.closest('[role="list"]');if(!h)return;const d=Array.from(h.querySelectorAll("[data-accordion-header]")),m=d.indexOf(p.currentTarget);(p.key==="ArrowDown"?d[m+1]:d[m-1])?.focus()}},children:[s&&n.jsx("div",{className:"accordion-item__avatar",children:s}),n.jsx("div",{className:`accordion-item__title ${l}`,children:e}),n.jsx("div",{className:"accordion-item__chevron",children:n.jsx(lt,{icon:r?"chevron-up":"chevron-down",label:r?c("accordion.collapse","\uC811\uAE30"):c("accordion.expand","\uD3BC\uCE58\uAE30"),className:"accordion-item__chevron-icon",imgClassName:"accordion-item__chevron-image"})})]}),r&&n.jsx("div",{className:`accordion-item__body ${i}`,children:typeof t=="string"?n.jsx("p",{children:t}):t})]})}function Ov({items:e=[],defaultOpenIndex:t=0,size:r=72,className:a="",bodyClassName:s}){const[l,i]=o.useState({index:t}),u=(c,p)=>l.id!=null&&c.id!=null?c.id===l.id:l.id==null&&p===l.index;return n.jsx("div",{className:`accordion-group accordion-group--s${r} ${a}`.trim(),role:"list",children:e.map((c,p)=>n.jsx(Iv,{title:c.title,body:c.body,avatar:c.avatar,open:u(c,p),onToggle:()=>i(u(c,p)?{index:-1}:{index:p,id:c.id}),bodyClassName:s},c.id??p))})}function zv(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:n.jsx("polyline",{points:"2,6 5,9 10,3"})})}function Wv(){return n.jsxs("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:[n.jsx("line",{x1:"3",y1:"3",x2:"9",y2:"9"}),n.jsx("line",{x1:"9",y1:"3",x2:"3",y2:"9"})]})}function Hv(){return n.jsx("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round","aria-hidden":"true",children:n.jsx("line",{x1:"2.5",y1:"6",x2:"9.5",y2:"6"})})}function Sn({children:e,icon:t,number:r,position:a="top-left",size:s=24,animate:l=!1,onClick:i,"aria-label":u,"aria-hidden":c,className:p=""}){const{t:h}=Ee.useTranslation(),d=t??"check",m=r!==void 0,C=e!==void 0||m?"number":d,v=e!==void 0?void 0:m?h("badge.nthSelected",{n:r,defaultValue:"{{n}}\uBC88\uC9F8 \uC120\uD0DD"}):{check:h("badge.selected","\uC120\uD0DD\uB428"),remove:h("badge.remove","\uC81C\uAC70"),minus:h("badge.exclude","\uC81C\uC678")}[d],b=c?void 0:u??v;return n.jsxs("span",{className:we("circle-badge",`circle-badge--${C}`,`circle-badge--${s}`,`circle-badge--${a}`,l?"circle-badge--animate":"",i?"circle-badge--clickable":"",p),onClick:i,onKeyDown:i?_=>{_.key!=="Enter"&&_.key!==" "||(_.preventDefault(),_.currentTarget.click())}:void 0,"aria-label":b,"aria-hidden":c||void 0,role:i?"button":b?"img":void 0,tabIndex:i?0:void 0,children:[e??(m?r:null),e===void 0&&!m&&d==="check"&&n.jsx(zv,{}),e===void 0&&!m&&d==="remove"&&n.jsx(Wv,{}),e===void 0&&!m&&d==="minus"&&n.jsx(Hv,{})]})}function jr(e){const t=(e??"").trim().toUpperCase();return/^[A-Z]$/.test(t)?`Key${t}`:/^[0-9]$/.test(t)?`Digit${t}`:null}function Ha(e){return e>=0&&e<9?String(e+1):null}function ps(e){return e.map((t,r)=>{const a=t.shortcut;return{...t,shortcut:a!==void 0?a:Ha(r)}})}function Hu(e){const t=new Map;for(const r of e??[])for(const a of r?.items??[]){const s=a&&!a.disabled?jr(a.shortcut):null;s&&t.set(s,(t.get(s)??0)+1)}return[...t].filter(([,r])=>r>1).map(([r])=>r.replace(/^Key|^Digit/,""))}function nr({columns:e=[],onClose:t,className:r="",size:a="medium"}){const{t:s}=Ee.useTranslation(),l=a==="small"?40:48,[i,u]=o.useState([]),c=o.useMemo(()=>{const y=[{title:null,columns:e}];let x=e;for(const g of i){const w=x?.[g.ci]?.items?.[g.ii];if(!w||!Array.isArray(w.children)||!w.children.length)break;x=[{title:null,items:w.children}],y.push({title:w.label||null,columns:x})}return y},[e,i]),p=c[c.length-1],h=c.length-1,d=o.useCallback(()=>u(y=>y.slice(0,Math.max(0,Math.min(y.length,h)-1))),[h]),m=o.useRef(null),C=o.useRef(null),v=c.length;o.useEffect(()=>{C.current||(C.current=document.activeElement);let y=0,x=0;const g=()=>{const w=m.current?.querySelector("button:not([disabled])");if(w&&w.offsetParent){w.focus({preventScroll:!0});return}x++<20&&(y=requestAnimationFrame(g))};return y=requestAnimationFrame(g),()=>cancelAnimationFrame(y)},[v]),o.useEffect(()=>()=>{C.current?.focus?.({preventScroll:!0})},[]);const b=o.useCallback((y,x,g)=>{if(y){if(Array.isArray(y.children)&&y.children.length){u(w=>[...w.slice(0,h),{ci:x,ii:g}]);return}try{typeof y.onClick=="function"&&y.onClick()}catch{}try{y&&y.closeOnSelect&&typeof t=="function"&&t()}catch{}}},[t,h]);o.useEffect(()=>{const y=Hu(p.columns);y.length&&Tt(`menu-shortcut-dup:${y.join(",")}:${p.columns.flatMap(x=>x.items.map(g=>g.label)).join("|")}`,`[MenuTooltip] \uD55C \uBA54\uB274 \uC548\uC5D0\uC11C \uB2E8\uCD95\uD0A4\uAC00 \uACB9\uCE69\uB2C8\uB2E4: ${y.join(", ")} \u2014 \uC55E\uC758 \uD56D\uBAA9\uB9CC \uBA39\uC2B5\uB2C8\uB2E4.`)},[p.columns]);const _=o.useRef({columns:p.columns,handleClick:b});return _.current={columns:p.columns,handleClick:b},o.useEffect(()=>{const y=x=>{if(x.defaultPrevented||x.ctrlKey||x.metaKey||x.altKey)return;const g=x.target;if(g&&g.closest?.('input, textarea, select, [contenteditable=""], [contenteditable="true"]'))return;const{columns:w,handleClick:A}=_.current;for(let f=0;f<(w?.length??0);f++){const B=w[f]?.items??[];for(let k=0;k<B.length;k++){const E=B[k];if(!(!E||E.disabled||jr(E.shortcut)!==x.code)){x.preventDefault(),A(E,f,k);return}}}};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[]),n.jsxs("div",{className:de(`menu-tooltip menu-tooltip--${a} ${r}`),children:[(c.length>1||p.title)&&n.jsxs("div",{className:de("menu-tooltip__header"),children:[c.length>1?n.jsx(me,{htmlType:"button",size:l,type:"dot",icon:"chevron-left",ariaLabel:s("common.back","\uB4A4\uB85C"),onClick:d,variant:"transparent-gray",useBorder:!1}):null,n.jsx("div",{className:de("menu-tooltip__title button-1"),children:p.title})]}),n.jsx("div",{className:de("menu-tooltip__columns"),ref:m,children:p.columns&&p.columns.map((y,x)=>{const g=(y.items||[]).some(w=>!!w.icon||w.selected!==void 0);return n.jsxs("div",{className:de("menu-tooltip__column"),children:[y.title?n.jsx("div",{className:de("menu-tooltip__column-title body-3"),children:y.title}):null,n.jsx("div",{className:de("menu-tooltip__items"),children:(y.items||[]).map((w,A)=>n.jsxs(o.Fragment,{children:[w.separatorBefore&&A>0&&n.jsx("div",{className:de("menu-tooltip__separator"),role:"separator"}),n.jsx(me,{htmlType:"button",className:de("menu-tooltip__item"),size:l,type:w.label?"bar":"dot",icon:w.selected?"check":w.icon||(g||!w.label?"none":void 0),rightIcon:Array.isArray(w.children)&&w.children.length?"chevron-right":w.badgeCount?n.jsx(Sn,{position:"inline",number:Math.min(w.badgeCount,99),size:24,"aria-hidden":!0}):jr(w.shortcut)?n.jsx("kbd",{className:de("menu-tooltip__shortcut caption-1"),"aria-hidden":"true",children:w.shortcut.trim().toUpperCase()}):void 0,"aria-keyshortcuts":jr(w.shortcut)?w.shortcut.trim().toUpperCase():void 0,ellipsis:jr(w.shortcut)?!0:void 0,label:w.label,ariaLabel:w.label&&w.badgeCount&&w.badgeCount>0?s("nav.badgeLabel",{label:w.label,count:w.badgeCount,defaultValue:"{{label}}, {{count}}\uAC1C"}):w.label,onClick:()=>b(w,x,A),selected:w.selected,disabled:w.disabled,showTooltipInfo:w.tooltip||!1,useBorder:!1,align:"left"})]},A))})]},x)})})]})}const Vu=".content-area";function hs(e,t="Nav"){try{const r=typeof e=="string"?document.querySelector(e):e?.current??document.querySelector(Vu);if(r){r.scrollTop=0;return}const a=document.scrollingElement??document.documentElement;a&&a.scrollHeight<=a.clientHeight&&Tt("nav-scroll-container",`[${t}] \uBCF8\uBB38\uC744 \uB9E8 \uC704\uB85C \uB418\uB3CC\uB9B4 \uD1B5\uC744 \uBABB \uCC3E\uC558\uB2E4(\uAE30\uBCF8 ${Vu}) \u2014 \uCC3D\uB3C4 \uAD6C\uB97C \uC218 \uC5C6\uC5B4 \uC544\uBB34 \uC77C\uB3C4 \uD558\uC9C0 \uC54A\uB294\uB2E4. scrollContainer \uB85C \uD1B5\uC744 \uC54C\uB824 \uC900\uB2E4.`),window.scrollTo({top:0})}catch{}}const ms=52,Va=10,qu=e=>e&&e>0?e:0;function Uu({items:e=[],activeKey:t,onChange:r,appMode:a,onAppModeChange:s,moreItems:l=[],scrollContainer:i}){const{t:u}=Ee.useTranslation(),c=a==="manager"?"malgwi":"manager",p=a==="manager"?"arrow-left":"arrow-right",h=a==="manager"?u("nav.modeLabelMalgwi","\uB9D0\uADC0"):u("nav.modeLabelManager","\uB9D0\uADC0 \uB9E4\uB2C8\uC800"),d=o.useRef(null),[m,C]=o.useState(0),v=e.length;o.useEffect(()=>{const F=d.current;if(!F)return;const G=()=>{const L=typeof getComputedStyle=="function"?getComputedStyle(F):null,R=F.clientWidth-(parseFloat(L?.paddingLeft??"")||0)-(parseFloat(L?.paddingRight??"")||0),D=F.querySelector(".bottom-nav__left"),H=D?.nextElementSibling,te=(D?.offsetWidth??0)+(D&&H?.classList.contains("bottom-nav__divider")?H.offsetWidth:0);C(Math.max(0,R-te))};if(G(),typeof ResizeObserver>"u")return;const ee=new ResizeObserver(G);ee.observe(F);const Z=F.querySelector(".bottom-nav__left");return Z&&ee.observe(Z),()=>ee.disconnect()},[s]);const b=ms+1,_=F=>Math.max(0,Math.floor((F+Va)/(ms+Va))),y=v*(ms+Va)-Va<=m,x=m<=0||l.length===0&&y?v:Math.min(v,_(m-b)),g=m>0&&x<v,w=g?x:v,A=e.slice(0,w),f=e.slice(w),B=g||l.length>0,k=o.useCallback((F,G)=>({position:"fixed",bottom:window.innerHeight-F.top+8,right:window.innerWidth-F.right,zIndex:oa(G)}),[]),E=o.useId(),{open:N,toggle:S,close:j,style:$,triggerRef:W,menuRef:P}=sa({computeStyle:k,onScroll:"ignore",onResize:"reposition"}),V=o.useCallback((F,G)=>G>0?u("nav.badgeLabel",{label:F,count:G,defaultValue:"{{label}}, {{count}}\uAC1C"}):F,[u]),T=o.useCallback((F,G)=>G>0?u("nav.badgeInsideLabel",{label:F,count:G,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):F,[u]),I=o.useCallback(()=>s?.(c),[s,c]),z=o.useMemo(()=>f.find(F=>!!F.key&&F.key===t)??l.find(F=>F.selected||F.key&&F.key===t),[f,t,l]),ie=o.useMemo(()=>[{items:ps([...f.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:!!F.key&&F.key===t,closeOnSelect:!0,disabled:F.state==="disabled",onClick:()=>{F.state!=="disabled"&&(F.key&&r&&(r(F.key),hs(i,"BottomNav")),j())}})),...l.map(F=>({label:F.label,icon:F.icon,badgeCount:F.badgeCount,selected:F.selected??(!!F.key&&F.key===t),closeOnSelect:!0,onClick:()=>{F.onClick?.(),j()}}))])}],[f,l,t,r,j]),ne=[...f,...l].reduce((F,G)=>F+qu(G.badgeCount),0);return n.jsxs("nav",{className:"bottom-nav",ref:d,"aria-label":u("nav.bottomNav","\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158"),children:[s&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__left",children:n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:p,ariaLabel:h,className:"bottom-nav-item",onClick:I})}),n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"})]}),n.jsx("div",{className:"bottom-nav__items",children:A.map((F,G)=>{const ee=qu(F.badgeCount);return n.jsxs("span",{className:"bottom-nav__slot",children:[n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:F.icon,ariaLabel:V(F.label,ee),selected:!!F.key&&F.key===t,disabled:F.state==="disabled",className:"bottom-nav-item",onClick:()=>{F.key&&(r?.(F.key),hs(i,"BottomNav"))}}),ee>0&&n.jsx("span",{"aria-hidden":"true",children:n.jsx(Sn,{position:"top-right",number:Math.min(ee,99),size:24})})]},F.key??`__slot-${G}`)})}),B&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"bottom-nav__divider","aria-hidden":"true"}),n.jsx("div",{className:"bottom-nav__right",children:n.jsxs("div",{ref:W,className:"bottom-nav__slot",children:[n.jsx(me,{htmlType:"button",size:52,type:"dot",icon:z?.icon??"ellipsis",ariaLabel:T(z?.label??u("nav.more","\uB354\uBCF4\uAE30"),ne),selected:!!z,className:"bottom-nav-item",onClick:S,"aria-expanded":N,"aria-controls":N?E:void 0}),ne>0&&n.jsx("span",{"aria-hidden":"true",children:n.jsx(Sn,{position:"top-right",number:Math.min(ne,99),size:24})}),N&&bn.createPortal(n.jsx("div",{id:E,role:"group","aria-label":u("nav.moreMenu","\uB354\uBCF4\uAE30 \uBA54\uB274"),className:de("tooltip__content"),style:$,ref:P,children:n.jsx(nr,{columns:ie,onClose:j})}),document.body)]})})]})]})}function Gu(e){if(typeof e!="string")return!1;let t="";for(const a of e){const s=a.charCodeAt(0);s<=32||s>=127&&s<=159||(t+=a)}if(!t)return!1;const r=/^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(t);return r?["http","https","mailto","tel"].includes(r[1].toLowerCase()):!0}function Ku(e,t,r){return r&&r>0?e("nav.badgeLabel",{label:t,count:r,defaultValue:"{{label}}, {{count}}\uAC1C"}):t}function Vv(e){const{t}=Ee.useTranslation(),{activeKey:r,unreadCount:a,onDebug:s,onNotification:l,onSetting:i,onHelp:u,onFeedback:c,onAccount:p}=e||{},h="default";return s||l||i||u||c||p?n.jsxs("div",{className:"side-nav__footer",children:[s&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"terminal",ariaLabel:t("nav.debug","\uB514\uBC84\uADF8"),onClick:s,selected:r==="debug"}),u&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"message-circle-question-mark",ariaLabel:t("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:u,selected:r==="help"}),l&&n.jsxs("span",{className:"side-nav__notification-wrap",children:[n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"bell",ariaLabel:Ku(t,t("nav.notifications","\uC54C\uB9BC"),a),onClick:l,selected:r==="notifications"}),!!a&&a>0&&n.jsx(Sn,{position:"top-right",number:Math.min(a,99),size:24,"aria-hidden":!0})]}),i&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"settings",ariaLabel:t("nav.settings","\uC124\uC815"),onClick:i,selected:r==="settings"}),c&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"bug",ariaLabel:t("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:c,selected:r==="feedback"}),p&&n.jsx(me,{htmlType:"button",size:48,showTooltipInfo:!0,type:"dot",shape:"pill",variant:h,icon:"user-round",ariaLabel:t("nav.account","\uACC4\uC815"),onClick:p,selected:r==="account"})]}):null}function Yu(e){const{t}=Ee.useTranslation(),{item:r,itemKey:a,label:s,icon:l,active:i,onClick:u,style:c,state:p,labelStyle:h}=e||{},d=r?.key??a??"",m=r?.label??s??"",C=r?.icon??l??"",v=r?.badge??0,b=n.jsx("span",{className:"side-nav__icon-wrap",children:n.jsx(lt,{icon:C,label:typeof m=="string"?m:void 0,className:"side-nav__icon",maskClassName:"side-nav__icon-image",imgClassName:void 0,svgClassName:void 0})}),_=p==="disabled",y=`side-nav__item ${i?"active":""} ${p||""} ${_?"disabled":""} ${r?.child?"side-nav__item--child":""}`,x=o.useCallback(g=>{if(_)return;const w=g.detail>0;if(w)try{g.currentTarget.blur()}catch{}u?.(d,g.currentTarget,w)},[_,d,u]);return n.jsxs("button",{type:"button",className:y,onClick:x,"aria-label":typeof m=="string"?Ku(t,m,v):void 0,"aria-current":i?"page":void 0,style:c,"aria-disabled":_,children:[b,n.jsx("span",{className:"side-nav__label button-1 f",style:h,children:m}),v>0&&n.jsx(Sn,{position:"inline",number:Math.min(v,99),size:24,"aria-hidden":!0}),p==="loading"&&n.jsx("span",{className:"side-nav__spinner",role:"img","aria-label":t("loader.loading","\uBD88\uB7EC\uC624\uB294 \uC911\u2026")})]})}function Zu(e){const{t}=Ee.useTranslation(),{items:r=[],activeKey:a,onChange:s,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C,scrollContainer:v}=e||{},b=m==="manager",_=o.useCallback(()=>C?.(b?"malgwi":"manager"),[C,b]),y=o.useRef(null),[x,g]=o.useState(null);o.useEffect(()=>{const k=y.current;if(!k)return;let E=null;const N=()=>{const{scrollHeight:$,clientHeight:W,scrollTop:P}=k;if($<=W+1){g(ie=>ie===null?ie:null);return}const V=Math.max(24,W/$*W),T=W-V,I=$-W,z={top:Math.round(P/I*T),height:Math.round(V)};g(ie=>ie&&ie.top===z.top&&ie.height===z.height?ie:z)},S=()=>{if(typeof requestAnimationFrame>"u"){N();return}E===null&&(E=requestAnimationFrame(()=>{E=null,N()}))};N(),k.addEventListener("scroll",S,{passive:!0});const j=typeof ResizeObserver<"u"?new ResizeObserver(S):null;j?.observe(k);for(const $ of Array.from(k.children))j?.observe($);return()=>{E!==null&&cancelAnimationFrame(E),k.removeEventListener("scroll",S),j?.disconnect()}},[r]);const w=o.useRef(null),A=o.useCallback(k=>{const E=y.current;E&&(k.preventDefault(),w.current={y:k.clientY,top:E.scrollTop},k.currentTarget.setPointerCapture(k.pointerId))},[]),f=o.useCallback(k=>{const E=y.current,N=w.current;!E||!N||(E.scrollTop=N.top+(k.clientY-N.y)*(E.scrollHeight/E.clientHeight))},[]),B=o.useCallback(k=>{w.current=null,k.currentTarget.hasPointerCapture(k.pointerId)&&k.currentTarget.releasePointerCapture(k.pointerId)},[]);return n.jsxs("nav",{"aria-label":t("nav.mainMenu","\uBA54\uC778 \uBA54\uB274"),className:"side-nav__menu",children:[n.jsxs("div",{ref:y,className:"side-nav__menu-list",children:[x&&n.jsx("div",{className:"side-nav__scroll","aria-hidden":"true",children:n.jsx("div",{className:"side-nav__scroll-thumb",style:{top:x.top,height:x.height},onPointerDown:A,onPointerMove:f,onPointerUp:B,onPointerCancel:B})}),(r||[]).filter(k=>!k.section&&(k.key||k.label)).map((k,E)=>n.jsxs(o.Fragment,{children:[k.divider&&n.jsx("div",{className:"side-nav__separator"}),n.jsx(Yu,{item:k,active:!!k.key&&k.key===a,state:k.disabled?"disabled":void 0,onClick:(N,S,j)=>{if(k.disabled)return;if(k.href){if(Gu(k.href)&&window.open(k.href,"_blank","noopener,noreferrer"),j)try{S?.blur()}catch{}return}if(s?.(k.key),hs(v,"SideNav"),!j)return;try{S?.blur()}catch{}if(typeof window<"u"&&window.matchMedia){if(!window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches)return}else return;const $=document.querySelector(".header");if($){const W=typeof $.matches=="function";if(!(window.matchMedia("(hover: hover)").matches&&W&&$.matches(":hover"))){$.classList.add("header--force-collapsed");const P=()=>{$.classList.remove("header--force-collapsed"),$.removeEventListener("mouseenter",P)};$.addEventListener("mouseenter",P)}}}})]},k.key??`side-nav__item-${E}`)),C&&n.jsx("div",{className:"side-nav__separator side-nav__separator--short"}),C&&n.jsx(Yu,{item:{key:"__mode-switch__",label:b?t("nav.goToMalgwi","\uB9D0\uADC0\uB85C \uC774\uB3D9"):t("nav.goToManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800\uB85C \uC774\uB3D9"),icon:b?"arrow-left":"arrow-right"},onClick:_})]}),n.jsx(Vv,{activeKey:a,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d})]})}var qa='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEar_ko" xmlns="http://www.w3.org/2000/svg" width="583.33" height="240" viewBox="0 0 583.33 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z"/></g><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',fs='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEarManager_ko" xmlns="http://www.w3.org/2000/svg" width="1035.43" height="240" viewBox="0 0 1035.43 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z"/><path d="M644.64,52.32v131.48h-58.24V52.32h58.24ZM634.45,173.81V62.32h-38.25v111.49h38.25ZM713.65,193.61h-10.19v-75.16h-28.64v72.66h-10V46.94h10v61.32h28.64v-62.28h10.19v147.63Z"/><path d="M819.46,171.6c6.6-1.35,12.08-3.11,16.44-5.29v10.19c-4.23,2.31-9.64,4.1-16.24,5.38-6.6,1.28-13.3,1.92-20.09,1.92h-57.28V51.36h10.57v122.25h46.71c6.66,0,13.29-.67,19.89-2.02ZM851.47,193.8V45.98h10.57v147.63l-10.57.19Z"/><path d="M935.66,113.64l48.44,62.28-8.27,6.34-43.06-56.13c-4.36,16.66-10.38,29.92-18.07,39.79-7.69,9.87-16.72,15.83-27.1,17.88v-10.76c8.71-2.05,16.21-8.07,22.49-18.07,6.28-10,11.05-22.97,14.32-38.92,3.27-15.95,5.03-33.86,5.29-53.73h-39.21v-10h88.61v10h-39.02c-.13,18.84-1.6,35.95-4.42,51.32ZM1015.43,193.61h-10.38v-79.39h-37.87v-10.19h37.87v-58.05h10.38v147.63Z"/></g><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',qv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_SpeechEar" xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><g id="symbol"><path d="M183.92,56.08c-8.48-15.54-24.97-26.08-43.92-26.08h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%234dcdc0"/><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23499cdf"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>';function Xu({src:e,alt:t,className:r,style:a,tone:s,textColor:l}){const i=!s&&!!l,u=Ev(e,i),c="bl"+o.useId().replace(/[^a-zA-Z0-9]/g,"");return s?n.jsx("span",{className:we("brand-logo","brand-logo--tone",r),role:t?"img":void 0,"aria-label":t||void 0,"aria-hidden":t?void 0:!0,style:{...a,"--brand-logo-src":`url("${e}")`,"--brand-logo-tone":s},children:n.jsx("img",{src:e,alt:"","aria-hidden":"true",className:"brand-logo__sizer",draggable:!1})}):i&&u?n.jsx("span",{className:we("brand-logo","brand-logo--inline",r),role:t?"img":void 0,"aria-label":t||void 0,"aria-hidden":t?void 0:!0,style:{...a,"--brand-logo-text-color":l},dangerouslySetInnerHTML:{__html:Av(kv(u),c)}}):n.jsx("img",{src:e,alt:t,className:we("brand-logo",r),style:a,draggable:!1})}function Ju({appMode:e}){const{t}=Ee.useTranslation(),r=e==="manager",a=r?fs:qa,s=qv;return n.jsxs("div",{className:"brand-identity__root","aria-label":t("header.biArea","BI \uC601\uC5ED"),children:[n.jsx("img",{src:s,alt:t("header.biSymbol","BI \uC2EC\uBCFC"),className:"brand-identity__image brand-identity__image--symbol"}),r?n.jsx("img",{src:a,alt:t("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"),className:"brand-identity__image brand-identity__image--logo"}):n.jsx(Xu,{src:a,alt:t("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0"),textColor:"light-dark(var(--color-pureBlack), var(--color-text-primary))",className:"brand-identity__image brand-identity__image--logo"})]})}function Qu({activeKey:e,onChange:t,items:r,malgwiItems:a,managerItems:s,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C,scrollContainer:v}){const{t:b}=Ee.useTranslation(),_=Bn("(max-width: 767px)"),y=o.useMemo(()=>(r??[]).filter($=>!$.section&&($.key||$.label)).map($=>({key:$.key,label:typeof $.label=="string"?$.label:void 0,icon:$.icon,state:$.disabled?"disabled":void 0,badgeCount:$.badge})),[r]),x=o.useCallback($=>{const W=r?.find(P=>P.key===$);if(!W?.disabled){if(W?.href){Gu(W.href)&&window.open(W.href,"_blank","noopener,noreferrer");return}t?.($)}},[r,t]),g=o.useMemo(()=>{const $=[];return i&&$.push({key:"debug",icon:"terminal",label:b("nav.debug","\uB514\uBC84\uADF8"),onClick:i}),h&&$.push({key:"help",icon:"message-circle-question-mark",label:b("nav.help","\uB3C4\uC6C0\uB9D0"),onClick:h}),u&&$.push({key:"notifications",icon:"bell",label:b("nav.notifications","\uC54C\uB9BC"),badgeCount:l,onClick:u}),p&&$.push({key:"settings",icon:"settings",label:b("nav.settings","\uC124\uC815"),onClick:p}),d&&$.push({key:"feedback",icon:"bug",label:b("nav.feedback","\uBC84\uADF8\uC2E0\uACE0"),onClick:d}),c&&$.push({key:"account",icon:"user-round",label:b("nav.account","\uACC4\uC815"),onClick:c}),$},[b,i,u,p,h,d,c,l]),w=o.useCallback(($,W)=>({position:"fixed",top:$.bottom+8,right:Math.max(8,window.innerWidth-$.right),zIndex:oa(W)}),[]),A=o.useId(),{open:f,toggle:B,close:k,style:E,triggerRef:N,menuRef:S}=sa({computeStyle:w,onScroll:"ignore",onResize:"reposition"}),j=o.useMemo(()=>[{items:g.map(($,W)=>({label:$.label,shortcut:Ha(W),icon:$.icon,badgeCount:$.badgeCount,selected:$.selected??(!!$.key&&$.key===e),closeOnSelect:!0,onClick:()=>{$.onClick?.(),k()}}))}],[g,e,k]);return n.jsxs("aside",{className:`header${m==="manager"?" header--manager":""}`,children:[n.jsxs("div",{className:"header__bi",children:[n.jsx(Ju,{appMode:m}),n.jsxs("div",{className:"header__menu-button",ref:N,children:[n.jsx(me,{htmlType:"button",size:48,type:"dot",shape:"pill",variant:"default",useBorder:!1,icon:"menu",ariaLabel:u&&l&&l>0?b("nav.badgeInsideLabel",{label:b("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),count:l,defaultValue:"{{label}}, \uC548\uC5D0 \uC54C\uB9BC {{count}}\uAC1C"}):b("header.menuOpen","\uBA54\uB274 \uC5F4\uAE30"),onClick:B,"aria-expanded":f,"aria-controls":f?A:void 0}),!!u&&!!l&&l>0&&n.jsx(Sn,{number:Math.min(l,99),size:24,"aria-hidden":!0}),f&&bn.createPortal(n.jsx("div",{id:A,role:"group","aria-label":b("header.utilMenu","\uC720\uD2F8\uB9AC\uD2F0 \uBA54\uB274"),className:de("tooltip__content"),style:E,ref:S,children:n.jsx(nr,{columns:j,onClose:k})}),document.body)]})]}),n.jsx(Zu,{scrollContainer:v,items:r,activeKey:e??void 0,onChange:t,unreadCount:l,onDebug:i,onNotification:u,onAccount:c,onSetting:p,onHelp:h,onFeedback:d,appMode:m,onAppModeChange:C}),_&&n.jsx(Uu,{items:y,activeKey:e??void 0,onChange:x,scrollContainer:v,appMode:m,onAppModeChange:C})]})}const Uv=Qu;function cn(e){const{type:t="dot",size:r,className:a="","aria-label":s,"aria-hidden":l,role:i}=e;(e.icon!==void 0||e.number!==void 0||e.position!==void 0||e.animate!==void 0||e.onClick!==void 0)&&Tt("badge-circle-props","[ihab/core] Badge \uAC00 \uC6D0\uD615 \uBC43\uC9C0\uC758 \uD504\uB86D(icon \xB7 number \xB7 position \xB7 animate \xB7 onClick)\uC744 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uC6D0\uD615\uC740 \uC774\uC81C CircleBadge \uAC00 \uADF8\uB9BD\uB2C8\uB2E4 \u2014 Badge \uC758 dot \uB294 \uC791\uC740 \uC54C\uC57D \uC774\uB984\uD45C\uC785\uB2C8\uB2E4. \uADF8 \uC790\uB9AC\uB97C <CircleBadge \u2026/> \uB85C \uBC14\uAFB8\uC138\uC694."),i&&l&&Tt("badge-role-with-hidden",`[ihab/core] Badge \uAC00 role="${i}" \uACFC aria-hidden \uC744 \uD568\uAED8 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uC228\uAE34 \uAC83\uC740 \uB0AD\uB3C5\uAE30\uC5D0 \uB07C\uC5B4\uB4E4 \uC218 \uC5C6\uC5B4 \uC544\uBB34\uAC83\uB3C4 \uC548 \uC77D\uD799\uB2C8\uB2E4 \u2014 \uB458 \uC911 \uD558\uB098\uB9CC \uC8FC\uC138\uC694.`);const{label:u,children:c,variant:p="default",fill:h="filled",useBg:d=!0,minWidth:m,iconLeft:C,iconRight:v,color:b}=e,_=t==="bar",y=typeof r=="number"?"medium":r??"medium",x=(_?{small:"caption-2",medium:"body-3",large:"body-2"}:{small:"caption-2b",medium:"body-3b",large:"body-2b"})[y]??(_?"body-2":"body-2b"),g={small:12,medium:14,large:16}[y]??14,w=we("badge",_?"badge--bar":"",`badge--${p}`,`badge--${y}`,h!=="filled"?`badge--${h}`:"",h==="outline"&&!d?"badge--no-bg":"",x,a),A=b?.startsWith("--")?`var(${b})`:b,f=m!==void 0||A?{...m!==void 0?{minWidth:typeof m=="number"?`${m}px`:m}:{},...A?{"--badge-color":A}:{}}:void 0;return n.jsxs("span",{className:w,style:f,"aria-label":l?void 0:s,role:i??(s&&!l?"img":void 0),"aria-hidden":l||void 0,children:[C&&n.jsx(lt,{icon:C,size:g,className:"badge__icon"}),u??c,v&&n.jsx(lt,{icon:v,size:g,className:"badge__icon"})]})}const Gv=()=>Pt.t("passCard.planSuffix","\uC774\uC6A9\uAD8C");function ec(e){if(!(e==null||e==="")){if(typeof e=="string"&&/^\s*\d[\d,]*\s*$/.test(e)){const t=Number(e.replace(/[,\s]/g,""));if(Number.isFinite(t))return Ar(`${t.toLocaleString("ko-KR")}\uC6D0`)}return Ar(typeof e=="number"?`${e.toLocaleString("ko-KR")}\uC6D0`:e)}}function Kv(e){const t=`${e.code??""} ${e.name??""}`.toLowerCase();return/manager|매니저/.test(t)?"manager":"speechear"}function Yv(e){if(e.durationDays&&e.durationDays>0){const l=e.durationDays;return l%365===0?`${l/365}\uB144`:`${l}\uC77C`}const t=(e.code??"").match(/(\d+)(d|y)\b/i);if(t)return t[2].toLowerCase()==="y"?`${t[1]}\uB144`:`${t[1]}\uC77C`;const r=e.name??"",a=r.match(/(\d+\s*(?:년|개월|주|일))\s*(?:이용권)?\s*$/);if(a)return a[1].replace(/\s+/g,"");const s=r.match(/(\d+)\s*-?\s*(day|year)s?\b/i);return s?s[2].toLowerCase()==="year"?`${s[1]}\uB144`:`${s[1]}\uC77C`:r||Gv()}function Zv(e){const t=(e??"").match(/(\d+)(d|y)\b/i);if(!t)return null;const r=Number(t[1]);return t[2].toLowerCase()==="y"?r*365:r}function tc(e){return{type:e.type??Kv(e),plan:Yv(e),label:e.label,price:ec(e.price),originalPrice:ec(e.originalPrice),discountLabel:e.discountLabel}}var Xv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEar_ko_mono" xmlns="http://www.w3.org/2000/svg" width="583.33" height="240" viewBox="0 0 583.33 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z" fill="%23fff"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z" fill="%23fff"/></g><g id="symbol"><g opacity=".5"><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23fff"/></g><path d="M140,30h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84-3.88-7.1-6.08-15.25-6.08-23.92v-80c0-16.57,13.43-30,30-30h80c8.66,0,16.81,2.21,23.92,6.08-8.48-15.54-24.97-26.08-43.92-26.08Z" fill="%23fff"/><path d="M183.92,56.08c3.88,7.1,6.08,15.25,6.08,23.92v80c0,16.57-13.43,30-30,30h-80c-8.66,0-16.81-2.21-23.92-6.08,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%23fff"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',Jv='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_SpeechEarManager_ko_mono" xmlns="http://www.w3.org/2000/svg" width="1035.43" height="240" viewBox="0 0 1035.43 240"><g id="text"><path d="M278.07,115.18V47.71h85.73v67.47h-85.73ZM408.4,173.42v20.18h-125.33v-44.02h96.5v-5.96h-96.88v-20.18h124.18v44.02h-96.11v5.96h97.65ZM305.56,70.97v20.76h30.95v-20.76h-30.95ZM423.39,92.88h-16.53v25.37h-27.68V45.98h27.68v20.18h16.53v26.72Z" fill="%23fff"/><path d="M527.58,113.83v26.33c-7.82,3.59-20.06,5.38-36.71,5.38h-1.73v48.06h-27.68v-48.06h-34.21v-26.33h64.01c16.4,0,28.51-1.79,36.33-5.38ZM435.31,75.77v-26.33h80.35v62.09h-27.68v-35.75h-52.67ZM563.33,193.61h-27.68V45.98h27.68v147.63Z" fill="%23fff"/><path d="M644.64,52.32v131.48h-58.24V52.32h58.24ZM634.45,173.81V62.32h-38.25v111.49h38.25ZM713.65,193.61h-10.19v-75.16h-28.64v72.66h-10V46.94h10v61.32h28.64v-62.28h10.19v147.63Z" fill="%23fff"/><path d="M819.46,171.6c6.6-1.35,12.08-3.11,16.44-5.29v10.19c-4.23,2.31-9.64,4.1-16.24,5.38-6.6,1.28-13.3,1.92-20.09,1.92h-57.28V51.36h10.57v122.25h46.71c6.66,0,13.29-.67,19.89-2.02ZM851.47,193.8V45.98h10.57v147.63l-10.57.19Z" fill="%23fff"/><path d="M935.66,113.64l48.44,62.28-8.27,6.34-43.06-56.13c-4.36,16.66-10.38,29.92-18.07,39.79-7.69,9.87-16.72,15.83-27.1,17.88v-10.76c8.71-2.05,16.21-8.07,22.49-18.07,6.28-10,11.05-22.97,14.32-38.92,3.27-15.95,5.03-33.86,5.29-53.73h-39.21v-10h88.61v10h-39.02c-.13,18.84-1.6,35.95-4.42,51.32ZM1015.43,193.61h-10.38v-79.39h-37.87v-10.19h37.87v-58.05h10.38v147.63Z" fill="%23fff"/></g><g id="symbol"><g opacity=".5"><path d="M80,50c-16.57,0-30,13.43-30,30v80c0,8.66,2.21,16.81,6.08,23.92,7.1,3.88,15.25,6.08,23.92,6.08h80c16.57,0,30-13.43,30-30v-80c0-8.66-2.21-16.81-6.08-23.92-7.1-3.88-15.25-6.08-23.92-6.08h-80Z" fill="%23fff"/></g><path d="M140,30h-60c-27.61,0-50,22.39-50,50v23.38l-19.22,21.15c-1.15,1.26-1.02,3.24.3,4.33,5.82,4.84,12.22,8.56,18.92,11.21.03,18.92,10.56,35.37,26.08,43.84-3.88-7.1-6.08-15.25-6.08-23.92v-80c0-16.57,13.43-30,30-30h80c8.66,0,16.81,2.21,23.92,6.08-8.48-15.54-24.97-26.08-43.92-26.08Z" fill="%23fff"/><path d="M183.92,56.08c3.88,7.1,6.08,15.25,6.08,23.92v80c0,16.57-13.43,30-30,30h-80c-8.66,0-16.81-2.21-23.92-6.08,8.48,15.54,24.97,26.08,43.92,26.08h45.11c2.7,0,4.89,2.19,4.89,4.89,0,2.86,2.45,5.13,5.3,4.88,30.65-2.68,54.7-28.42,54.7-59.77v-60c0-18.95-10.54-35.44-26.08-43.92Z" fill="%23fff"/><rect x="69" y="88" width="12" height="24" rx="6" ry="6" fill="%23fff"/><path d="M111,140c-2.92,0-5.85-.75-8.5-2.28-2.39-1.38-3.21-4.44-1.82-6.83,1.38-2.39,4.44-3.21,6.83-1.82,2.74,1.58,6.21,1.13,8.44-1.1,1.08-1.08,1.76-2.45,1.97-3.95.9-6.37,3.71-12.42,8.14-17.5,2.64-3.02,4.03-6.9,3.93-10.92-.21-8.21-6.78-15.05-14.97-15.56-2.76-.18-5.42.33-7.88,1.51-2.49,1.19-5.48.12-6.66-2.37-1.19-2.49-.12-5.48,2.37-6.66,3.96-1.88,8.38-2.73,12.8-2.46,13.32.83,24.01,11.94,24.34,25.29.16,6.53-2.11,12.83-6.39,17.75-3.15,3.61-5.15,7.87-5.77,12.32-.52,3.67-2.18,7-4.8,9.63-3.27,3.27-7.62,4.97-12.02,4.97Z" fill="%23fff"/></g></svg>',nc='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_IHAB_mono" xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><path id="symbol" d="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71ZM155.36,155.36c-9.05,9.05-21.55,14.64-35.36,14.64s-26.31-5.6-35.36-14.64c-9.05-9.05-14.64-21.55-14.64-35.36s5.6-26.31,14.64-35.36c9.05-9.05,21.55-14.64,35.36-14.64s26.31,5.6,35.36,14.64c9.05,9.05,14.64,21.55,14.64,35.36s-5.6,26.31-14.64,35.36Z" fill="%23fff"/></svg>';const pr={text:"--pass-card-text",sub:"--pass-card-sub",copyright:"--pass-card-copyright"},Cs=new WeakMap;function Qv(e){if(e)return Cs.get(e)}function Hn(e,t){e&&(e.style.setProperty(pr.text,t.text),e.style.setProperty(pr.sub,t.sub),t.copyrightColor&&e.style.setProperty(pr.copyright,t.copyrightColor),Cs.set(e,t))}function Vn(e){e&&(e.style.removeProperty(pr.text),e.style.removeProperty(pr.sub),e.style.removeProperty(pr.copyright),Cs.delete(e))}const rc={text:"var(--color-pureBlack)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-text-primary)"};function ac(e={}){const t=Ht(rc,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-two-circle","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-two-circle__c1"}),n.jsx("div",{className:"pass-card-bg-two-circle__c3"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-two-circle__symbol",style:{"--symbol-url":`url("${nc}")`}})]})}const oc="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71Z",Dr=240;var la='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Symbol_IHAB" xmlns="http://www.w3.org/2000/svg" width="240" height="240" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 240 240"><defs><linearGradient id="linear-gradient" x1="62.99" y1="62.99" x2="190.71" y2="190.71" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="%23499cdf"/><stop offset=".8" stop-color="%234dcdc0"/></linearGradient></defs><path id="symbol" d="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71ZM155.36,155.36c-9.05,9.05-21.55,14.64-35.36,14.64s-26.31-5.6-35.36-14.64c-9.05-9.05-14.64-21.55-14.64-35.36s5.6-26.31,14.64-35.36c9.05-9.05,21.55-14.64,35.36-14.64s26.31,5.6,35.36,14.64c9.05,9.05,14.64,21.55,14.64,35.36s-5.6,26.31-14.64,35.36Z" fill="url(%23linear-gradient)"/></svg>';const ex={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"},tx=100,nx=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function sc(e={}){const t=Ht(ex,Hn,Vn),r="var(--color-main)",a=270,s=170;return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:nx.map(({scale:l,opacity:i},u)=>n.jsx("g",{transform:`translate(${a} ${s}) scale(${l*tx/Dr}) translate(${-Dr/2} ${-Dr/2})`,opacity:i,children:n.jsx("path",{d:oc,fill:"none",stroke:r,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const rx={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",logoColor:"_mono",copyrightColor:"#ffffff"},ax=100,ox=[{scale:1,opacity:.55},{scale:2,opacity:.4},{scale:3.1,opacity:.28},{scale:4.5,opacity:.18},{scale:6,opacity:.1}];function sx(e={}){const t=Ht(rx,Hn,Vn),r="#ffffff",a=270,s=170;return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-sound-move-v1","aria-hidden":"true",children:[n.jsx("svg",{className:"pass-card-bg-sound-move-v1__svg",viewBox:"0 0 300 189",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:ox.map(({scale:l,opacity:i},u)=>n.jsx("g",{transform:`translate(${a} ${s}) scale(${l*ax/Dr}) translate(${-Dr/2} ${-Dr/2})`,opacity:i,children:n.jsx("path",{d:oc,fill:"none",stroke:r,strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})},u))}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-move-v1__symbol",style:{"--symbol-url":`url("${nc}")`}})]})}const lx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"};function ix(e={}){const t=Ht(lx,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk__shape pass-card-bg-talk__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const ux={Logo_SpeechEar_ko:{"":qa,_mono:Xv},Logo_SpeechEarManager_ko:{"":fs,_mono:Jv}};function cx(e,t){if(e)return ux[e]?.[t??""]??void 0}const dx={speechear:qa,manager:fs},px={speechear:"Logo_SpeechEar_ko",manager:"Logo_SpeechEarManager_ko"},lc=10;function hx(e){return e<=0?0:e>=86400?Math.floor(e/86400)*86400:e>=3600?Math.floor(e/3600)*3600:e>=60?Math.floor(e/60)*60:Math.floor(e)}function ic(e,t){if(e<=0)return t("passCard.remainingSecond",{n:0});const r=Math.floor(e/86400);if(r>0)return t("passCard.remainingDay",{n:r});const a=Math.floor(e/3600);if(a>0)return t("passCard.remainingHour",{n:a});const s=Math.floor(e/60);return s>0?t("passCard.remainingMinute",{n:s}):t("passCard.remainingSecond",{n:Math.floor(e)})}function mx(e,t,r){if(e==="manager"){const a=/년/.test(t)||/yr|year/i.test(t)||/1년|365/.test(t),s=r==="\uC624\uD508\uD2B9\uAC00"||r===Pt.t("passCard.specialLabel");return a?n.jsx(ix,{}):s?n.jsx(sx,{}):n.jsx(sc,{})}return n.jsx(ac,{})}function uc({ariaLabel:e,product:t,showPrice:r=!1,plan:a,type:s,endDate:l,remainingSeconds:i,endInclusive:u=!1,state:c="active",bg:p,bgOnly:h=!1,textColor:d,subColor:m,copyrightColor:C,logoSrc:v,label:b,price:_,originalPrice:y,discountLabel:x,onUse:g,onRefund:w,onDelete:A}){const{t:f}=Ee.useTranslation(),B=t?tc(t):void 0,k=s??B?.type??"speechear",E=a??B?.plan??f("passCard.planSuffix","\uC774\uC6A9\uAD8C"),N=b??B?.label,S=_??(r?B?.price:void 0),j=y??(r?B?.originalPrice:void 0),$=x??B?.discountLabel,W=o.useMemo(()=>{if(S)return null;const X=t?.durationDays??Zv(t?.code);if(!X||X<=0)return i!=null?{percent:null,remainingLabel:ic(i,f)}:null;const O=X*86400;let U;if(i!=null)U=i;else if((c==="active"||c==="expired")&&l){const re=new Date(l).getTime();if(Number.isNaN(re))return null;const se=/^(\d{4})-(\d{2})-(\d{2})/.exec(String(l)),ye=/^(\d{4})-(\d{2})-(\d{2})/.exec(ta()),ke=Math.round(se&&ye?(Date.UTC(+se[1],+se[2]-1,+se[3])-Date.UTC(+ye[1],+ye[2]-1,+ye[3]))/864e5:(re-Date.now())/864e5);U=Math.max(0,u?ke+1:ke)*86400}else c==="expired"?U=0:U=O;const q=hx(U),le=Math.max(0,Math.min(100,Math.floor(Math.min(q,O)/O*100)));return c==="pending"&&le>=100?null:{percent:le,remainingLabel:c==="expired"?f("passCard.expired","\uB9CC\uB8CC\uB428"):ic(U,f)}},[S,c,l,i,u,t?.durationDays,t?.code,f]),P=o.useRef(null),[V,T]=o.useState({}),[I,z]=o.useState(null),ie=!!(g||w||A),ne=o.useRef(!1),F=o.useRef(void 0),[G,ee]=o.useState(v);o.useLayoutEffect(()=>{ee(v)},[v]),o.useLayoutEffect(()=>{const X=P.current;X&&(d!==void 0&&X.style.setProperty("--pass-card-text",d),m!==void 0&&X.style.setProperty("--pass-card-sub",m),C!==void 0&&X.style.setProperty("--pass-card-copyright",C))},[d,m,C]),o.useLayoutEffect(()=>{const X=P.current;if(!X)return;const O=Qv(X);if(!v){const U=px[k],q=c==="expired"?"_mono":O?.logoColor??"",le=cx(U,q);ee(le)}},[p,v,k,c]);const Z=X=>{const O=P.current;if(!O)return null;const{left:U,top:q,width:le,height:re}=O.getBoundingClientRect(),se=(X.clientX-U)/le-.5;return{rotateX:-((X.clientY-q)/re-.5)*lc,rotateY:se*lc}},L=(X,O)=>{const U=O*-.7,q=X*.7+10,le=20+(Math.abs(X)+Math.abs(O))*.4;return`${U}px ${q}px ${le}px rgba(0, 0, 0, 0.18)`},R=o.useCallback(X=>{if(ur())return;ne.current=!0,clearTimeout(F.current),F.current=setTimeout(()=>{ne.current=!1},200);const O=Z(X);O&&T({transform:`perspective(800px) rotateX(${O.rotateX}deg) rotateY(${O.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:L(O.rotateX,O.rotateY),transition:"transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),D=o.useCallback(X=>{if(ur())return;const O=Z(X);if(!O)return;const U=ne.current?"transform 0.2s ease, box-shadow 0.2s ease":"none";T({transform:`perspective(800px) rotateX(${O.rotateX}deg) rotateY(${O.rotateY}deg) scale3d(1.03, 1.03, 1.03)`,boxShadow:L(O.rotateX,O.rotateY),transition:U})},[]),H=o.useCallback(()=>{clearTimeout(F.current),ne.current=!1,T({transform:"perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.08)",transition:"transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1)"})},[]),te=o.useCallback(()=>z(null),[]),J=o.useMemo(()=>{const X=f("passCard.planSuffix","\uC774\uC6A9\uAD8C"),O=E.replace("\uC774\uC6A9\uAD8C","").replace(X==="\uC774\uC6A9\uAD8C"?"":X,"").trim(),U=O.match(/^(.*?)(일|년)$/);return U?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"h0 pass-card__plan-number",children:U[1]}),n.jsx("span",{className:"h5b pass-card__plan-unit",children:U[2]==="\uB144"?f("passCard.unitYear","\uB144"):f("passCard.unitDay","\uC77C")})]}):n.jsx("span",{className:"h0",children:O})},[E,f]),ae=o.useMemo(()=>{const X=Ar(S);if(!X)return null;const O=X.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!O)return n.jsx("span",{className:"h1",children:X});const[,U,q,le]=O;return n.jsxs(n.Fragment,{children:[U&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:U}),n.jsx("span",{className:"h1 pass-card__price-amount",children:q}),le.trim()&&n.jsx("span",{className:"h5 pass-card__price-symbol",children:le.trim()})]})},[S]),ue=o.useCallback(()=>{ie&&z(X=>{if(X)return null;const O=P.current?.getBoundingClientRect();if(!O)return null;const U=50;return{left:O.left,right:O.right,width:O.width,height:O.height,x:O.x,y:O.y+U,top:O.top+U,bottom:O.bottom+U}})},[ie]),Ne=o.useCallback(X=>{ie&&(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),ue())},[ie,ue]),ce=[{items:[...g?[{label:f("passCard.menu.use","\uC0AC\uC6A9\uD558\uAE30"),icon:"play",shortcut:"U",onClick:()=>{g(),z(null)},closeOnSelect:!0}]:[],...w?[{label:f("passCard.menu.refund","\uD658\uBD88\uD558\uAE30"),icon:"rotate-ccw",shortcut:"R",onClick:()=>{w(),z(null)},closeOnSelect:!0}]:[],...A?[{label:f("passCard.menu.delete","\uC0AD\uC81C\uD558\uAE30"),icon:"trash-2",shortcut:"D",onClick:()=>{A(),z(null)},closeOnSelect:!0}]:[]]}];return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card-frame",children:n.jsxs("div",{ref:P,className:`pass-card pass-card--${c}${ie?" pass-card--clickable":""}`,style:V,onMouseEnter:R,onMouseMove:D,onMouseLeave:H,onPointerUp:X=>{X.pointerType==="touch"&&H()},onPointerCancel:X=>{X.pointerType==="touch"&&H()},onClick:ue,onKeyDown:ie?Ne:void 0,role:ie?"button":void 0,tabIndex:ie?0:void 0,"aria-label":e,"aria-haspopup":ie?"menu":void 0,"aria-expanded":ie?!!I:void 0,children:[p??mx(k,E,N),!h&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"pass-card__top",children:n.jsxs("div",{className:"pass-card__top-left",children:[n.jsx("img",{src:G??dx[k],className:"pass-card__logo",alt:k==="manager"?f("header.logoManager","\uB9D0\uADC0\uB9E4\uB2C8\uC800 \uB85C\uACE0"):f("header.logoMalgwi","\uB9D0\uADC0 \uB85C\uACE0")}),n.jsxs("div",{className:"pass-card__plan",children:[n.jsx("div",{children:J}),n.jsx("span",{className:"h5b pass-card__plan-suffix",children:N?f("passCard.labeledPlan",{label:N}):f("passCard.planSuffix","\uC774\uC6A9\uAD8C")})]})]})}),S?n.jsxs("div",{className:"pass-card__price-area",children:[$&&n.jsx("span",{className:"pass-card__discount body-3",children:$}),n.jsxs("div",{className:"pass-card__price",children:[j&&n.jsx("span",{className:"pass-card__price-original body-3",children:Ar(j)}),ae]})]}):W?n.jsxs("div",{className:"pass-card__usage",children:[n.jsx("span",{className:"h5b pass-card__usage-remaining",children:W.remainingLabel}),W.percent!=null&&n.jsxs("span",{className:"pass-card__usage-percent",children:[n.jsx("span",{className:"h1 pass-card__usage-value",children:W.percent}),n.jsx("span",{className:"h5b pass-card__usage-symbol",children:"%"})]})]}):n.jsx("div",{className:"pass-card__copyright caption-2","aria-hidden":"true",children:"\xA9 IHAB Corp. All rights reserved."})]})]})}),I&&n.jsx(sn,{anchorRect:I,onClose:te,ariaLabel:f("tooltip.menu","\uBA54\uB274"),children:n.jsx(nr,{columns:ce,onClose:te,size:"small"})})]})}const fx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-text-primary)"};function Cx(e={}){const t=`passcard-sound-line-grad-${o.useId()}`,r=Ht(fx,Hn,Vn);return n.jsxs("div",{ref:r,className:"pass-card-bg pass-card-bg-sound-line","aria-hidden":"true",children:[n.jsxs("svg",{className:"pass-card-bg-sound-line__svg",viewBox:"0 0 500 300",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("defs",{children:n.jsxs("linearGradient",{id:t,x1:"0",y1:"0",x2:"1",y2:"0",children:[n.jsx("stop",{offset:"20%",stopColor:"var(--color-main)"}),n.jsx("stop",{offset:"80%",stopColor:"var(--color-sub)"})]})}),n.jsx("g",{transform:"translate(25, 45)",children:n.jsx("path",{d:"M -30 150 C 40 80, 100 220, 160 150 S 280 80, 340 150 S 460 220, 510 150",fill:"none",stroke:`url(#${t})`,strokeWidth:"50",strokeLinecap:"round"})})]}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-sound-line__symbol",style:{"--symbol-url":`url("${la}")`}})]})}const gx={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-main)"};function bx(e={}){const t=Ht(gx,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-talk-v1","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--left"}),n.jsx("div",{className:"pass-card-bg-talk-v1__shape pass-card-bg-talk-v1__shape--right"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-talk-v1__symbol",style:{"--symbol-url":`url("${la}")`}})]})}function yx(e,t){if(e){if(t==="manager_pro")return n.jsx(bx,{});if(t==="manager_standard")return n.jsx(Cx,{});if(t==="manager_lite")return n.jsx(sc,{})}}function vx(e){const t=Ar(e);if(!t)return null;const r=t.match(/^([^\d]*)([\d.,]+)(.*)$/);if(!r)return t;const[,a,s,l]=r;return n.jsxs(n.Fragment,{children:[a&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:a}),s,l.trim()&&n.jsx("span",{className:"payment-plan__pricing-symbol h4",children:l.trim()})]})}function xx(e){const{t}=Ee.useTranslation(),r=t("payment.plan.tierFallback",{defaultValue:"\uC774\uC6A9\uAD8C"}),a=t("payment.plan.openPromo",{defaultValue:"\uC624\uD508 \uD2B9\uAC00"}),{plan:s,onSelect:l,period:i="monthly",ownedCodes:u,titleLevel:c=3}=e||{},p=c?`h${c}`:"div",h=f=>!!f&&!!u?.includes(f),d=f=>f.onceOnly??/오픈\s*특가/.test(f.label??""),m=(s.tiers||[]).some(f=>d(f)&&h(f.code)),C=f=>{const B=f.prices?f.prices[i]:f.price;return B?(s.tiers||[]).some(k=>!!k.badge&&k.originals?.[i]===B):!1},v=s.colorToken?`var(--color-${s.colorToken})`:"var(--color-gray)",b=t("payment.plan.freePrice","\uBB34\uB8CC"),_=t("payment.products.mgrEnterprise.tier.price","\uBB38\uC758"),y=f=>f.prices?f.prices[i]:f.price,x=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const B=y(f);return B==="\uBB34\uB8CC"||B===b||B==="0\uC6D0"||typeof B=="string"&&/\d/.test(B)&&!/[1-9]/.test(B)}),g=(s.tiers||[]).length>0&&(s.tiers||[]).every(f=>{const B=y(f);return B==="\uBB38\uC758"||B===_}),w=s.group==="org",A=w?"manager":"speechear";return n.jsxs("div",{className:"payment-plan__card",style:{borderColor:v,"--plan-color":v},children:[s.cardBadge&&n.jsx("div",{className:"payment-plan__card-badge",children:n.jsx(cn,{label:s.cardBadge,variant:"main",size:"medium",fill:"soft"})}),n.jsxs("div",{className:"payment-plan__title",children:[n.jsx("p",{className:"payment-plan__quote body-3b",style:{color:v},children:s.quote||"\xA0"}),n.jsx(p,{className:"payment-plan__title-heading h1",children:s.tier??s.title}),n.jsx("p",{className:"payment-plan__subtitle body-3",children:s.subtitle})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.recommendedFor","\uC774\uB7F0 \uBD84\uAED8 \uCD94\uCC9C\uD569\uB2C8\uB2E4.")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(s.recommendedFor||[]).map((f,B)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(lt,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:v}}),f]},B))})]}),n.jsxs("div",{className:"payment-plan__box",children:[n.jsx("span",{className:"payment-plan__box-title body-3b",children:t("payment.plan.features","\uD575\uC2EC \uAE30\uB2A5")}),n.jsx("ul",{className:"payment-plan__feature-list",children:(s.features||[]).map((f,B)=>n.jsxs("li",{className:"payment-plan__feature-item body-3",children:[n.jsx(lt,{icon:"check",size:18,className:"payment-plan__feature-check",wrapperStyle:{color:v}}),f]},B))})]}),n.jsx("div",{className:"payment-plan__card-pricing",children:x?null:g?n.jsx(me,{htmlType:"button",className:"payment-plan__contact-button",label:t("payment.plan.contact",{defaultValue:"\uBB38\uC758\uD558\uAE30"}),variant:"main",size:56,onClick:()=>s.tiers?.[0]&&l?.({...s.tiers[0],productId:s.id,productTitle:s.title})}):n.jsx(n.Fragment,{children:n.jsx("div",{className:"payment-plan__pricing-list",children:(s.tiers||[]).map(f=>{const B=f.label||r,k=d(f),E=k||f.openPromo===!0,N=B.replace(/^오픈\s*특가\s*/,"")||r,S=f.prices?f.prices[i]:f.price,j=f.badge?E?`${a}
841
841
  ${f.badge}`:f.badge:void 0;if(k&&h(f.code))return null;if(!f.badge&&!m)return C(f)?null:n.jsxs("div",{className:`payment-plan__pricing-row payment-plan__pricing-row--static${f.highlight?" payment-plan__pricing-row--highlight":""}`,children:[n.jsx("div",{className:"payment-plan__pricing-row-title",children:n.jsx("div",{className:"payment-plan__pricing-row-label h5b",children:f.label})}),n.jsx("div",{className:"payment-plan__pricing-row-price",children:n.jsx("span",{className:"payment-plan__pricing-current h1",children:vx(S)})})]},f.id);const $=s.tier??(w?s.title:void 0),W=n.jsx(uc,{showPrice:!0,product:{type:A,code:f.code,name:N,label:$,price:S,originalPrice:f.originals?.[i]??void 0,discountLabel:j},bg:yx(w,s.id)}),P=()=>l?.({...f,productId:s.id,productTitle:s.title,preview:W});return n.jsx("div",{className:"payment-plan__pricing-card",onClick:P,onKeyDown:l?V=>{V.target===V.currentTarget&&(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),P())}:void 0,role:l?"button":void 0,tabIndex:l?0:void 0,children:W},f.id)})})})})]})}function _x({variant:e="default"}){return n.jsxs("div",{className:`pass-card-bg pass-card-bg--${e}`,"aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--1"}),n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--2"}),n.jsx("div",{className:"pass-card-bg__circle pass-card-bg__circle--3"})]})}var gs='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?><svg id="Logo_IHAB_en" xmlns="http://www.w3.org/2000/svg" width="765.08" height="240" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 765.08 240"><defs><linearGradient id="linear-gradient" x1="62.99" y1="62.99" x2="190.71" y2="190.71" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="%23499cdf"/><stop offset=".8" stop-color="%234dcdc0"/></linearGradient></defs><path id="symbol" d="M190.71,49.29c-18.1-18.1-43.1-29.29-70.71-29.29s-34.94,28.87-53.03,46.97h0c-18.1,18.1-46.97,25.56-46.97,53.03s11.19,52.61,29.29,70.71c18.1,18.1,43.1,29.29,70.71,29.29s52.61-11.19,70.71-29.29c18.1-18.1,29.29-43.1,29.29-70.71s-11.19-52.61-29.29-70.71ZM155.36,155.36c-9.05,9.05-21.55,14.64-35.36,14.64s-26.31-5.6-35.36-14.64c-9.05-9.05-14.64-21.55-14.64-35.36s5.6-26.31,14.64-35.36c9.05-9.05,21.55-14.64,35.36-14.64s26.31,5.6,35.36,14.64c9.05,9.05,14.64,21.55,14.64,35.36s-5.6,26.31-14.64,35.36Z" fill="url(%23linear-gradient)"/><g id="text"><path d="M316.21,190.6h-36.74V50.61h36.74v139.99Z"/><path d="M335.16,50.61h36.74v55.11h51.63v-55.11h36.93v139.99h-36.93v-55.11h-51.63v55.11h-36.74V50.61Z"/><path d="M473.99,190.6l46.6-139.99h50.08l46.41,139.99h-39.64l-8.31-27.46h-46.99l-8.31,27.46h-39.83ZM560.62,135.3l-14.5-46.99h-1.16l-14.31,46.99h29.97Z"/><path d="M631,50.61h59.94c31.9,0,48.73,13.73,48.73,35.19,0,15.47-11.02,27.26-26.88,30.55v1.35c17.6.58,32.29,13.54,32.29,33.45,0,22.82-18.56,39.45-49.11,39.45h-64.97V50.61ZM701.77,93.53c0-8.89-6.96-13.92-17.02-13.92h-17.02v27.84h16.44c10.25,0,17.6-5.03,17.6-13.92ZM706.22,146.51c0-10.25-7.35-16.05-19.14-16.05h-19.34v30.55h18.76c13.15,0,19.72-5.03,19.72-14.5Z"/></g></svg>';const cc={text:"var(--color-text-primary)",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEar_ko",copyrightColor:"var(--color-text-muted)"};function wx(){const e=Ht(cc,Hn,Vn);return n.jsx("div",{ref:e,className:"pass-card-bg pass-card-bg-ihab","aria-hidden":"true",children:n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-ihab__symbol-top",style:{"--symbol-url":`url("${gs}")`}})})}const dc={text:"#ffffff",sub:"var(--color-lightGray)",logoBase:"Logo_SpeechEarManager_ko",logoColor:"_mono",copyrightColor:"#ffffff"};function Bx(e={}){const t=Ht(dc,Hn,Vn);return n.jsxs("div",{ref:t,className:"pass-card-bg pass-card-bg-left-color-grid","aria-hidden":"true",children:[n.jsx("div",{className:"pass-card-bg-left-color-grid__bar"}),n.jsx("div",{className:"pass-card-bg-left-color-grid__grid"}),n.jsx("span",{className:"pass-card-bg__symbol pass-card-bg-left-color-grid__symbol",style:{"--symbol-url":`url("${la}")`}})]})}function pc({keys:e,anchor:t="top-right",scale:r,className:a=""}){const s=Array.isArray(e)?e:[e];return n.jsx("span",{className:we("shortcut-badge",`shortcut-badge--${t}`,a),style:r===void 0?void 0:{"--shortcut-badge-scale":String(r)},children:s.map((l,i)=>n.jsxs("span",{className:"shortcut-badge__group",children:[i>0&&n.jsx("span",{className:"shortcut-badge__plus",children:"+"}),n.jsx("kbd",{className:"shortcut-badge__key",children:l})]},`${l}-${i}`))})}const ia=(e,t,r)=>e+(t-e)*r;function kx({speakers:e,size:t=300,viewT:r=0,activeSpeakerId:a=null,playedIds:s,selectedId:l=null,answerId:i=null,showFeedback:u=!1,pulseSelected:c=!1,pulseSelectedDuration:p,pulseScale:h,clickable:d=!1,onSelectSpeaker:m,buttonSize:C=40,showIcon:v=!0,onCenterClick:b,centerLabel:_,centerDisabled:y=!1,centerAttention:x=!1,shortcutAnchor:g="top-right",shortcutScale:w,scaleShortcut:A=!1}){const{t:f}=Ee.useTranslation(),B=Math.max(0,Math.min(1,r)),k=t/2,E=110/300,N=.18,S=O=>t*(E+(O-1)*N),j=O=>{const U=S(O.row??1),q=O.angleDeg*Math.PI/180;return{x:k+U*Math.cos(q),y:k+U*Math.sin(q)}},$=Math.max(...e.map(O=>O.row??1),1),W=t*.08,P=t*.1,V=t*.24,T=t-2*W,I=t-P-V,z=t-V/2,ie=o.useMemo(()=>[...new Set(e.map(O=>O.deg))].sort((O,U)=>O-U),[e]),ne=ie.length,F=Math.max(68,ne>1?T/(ne-1):0),G=o.useMemo(()=>new Map(ie.map((O,U)=>[O,U])),[ie]),ee=O=>{const U=G.get(O.deg)??0,q=k+(U-(ne-1)/2)*F,le=$>1?Math.min(68,I/($-1)):0,re=le*($-1),se=P+(I-re)/2,ye=$===1?P+I*.4:se+($-(O.row??1))*le;return{x:q,y:ye}},Z=O=>{const U=j(O),q=ee(O);return{x:ia(U.x,q.x,B),y:ia(U.y,q.y,B)}},L={x:k,y:ia(k,z,B)},R=Math.round(C*1.2),D=Math.round(Math.max(16,Math.min(80,C*.7))),H=[],te=new Map;for(const O of e){const U=O.row??1;te.has(U)||te.set(U,[]),te.get(U).push(O)}for(const[O,U]of te.entries()){if(U.length<2)continue;const q=[...U].sort((ze,ot)=>ze.deg-ot.deg),le=q.map(ze=>Z(ze)),re=q.map(ze=>ze.deg),se=re[re.length-1]-re[0],ye=se/(re.length-1),ke=360-se,ve=q.length>=3&&ye>0&&ke<=ye*1.5,Ie=Math.round(S(O)*1e3)/1e3,xe=(ze,ot,it,Fe)=>{const qe=(ot.angleDeg-ze.angleDeg+540)%360-180;if(qe===0)return`L ${Fe.x} ${Fe.y}`;if(B===0)return`A ${Ie} ${Ie} 0 0 ${qe>0?1:0} ${Fe.x} ${Fe.y}`;const nt=(ze.angleDeg+qe/2)*Math.PI/180,Te={x:k+Ie*Math.cos(nt),y:k+Ie*Math.sin(nt)},Xe={x:(it.x+Fe.x)/2,y:(it.y+Fe.y)/2},rt={x:ia(Te.x,Xe.x,B),y:ia(Te.y,Xe.y,B)},ut={x:2*rt.x-Xe.x,y:2*rt.y-Xe.y};return`Q ${ut.x} ${ut.y} ${Fe.x} ${Fe.y}`},_e=ve?[...q,q[0]]:q,Be=ve?[...le,le[0]]:le;let De=`M ${Be[0].x} ${Be[0].y}`;for(let ze=1;ze<Be.length;ze++)De+=" "+xe(_e[ze-1],_e[ze],Be[ze-1],Be[ze]);H.push({key:`arc-${O}`,d:De})}const J=o.useMemo(()=>new Set(s??[]),[s]),ae=O=>({idle:"",active:f("soundCompass.state.active","\uC18C\uB9AC \uB098\uB294 \uC911"),played:f("soundCompass.state.played","\uB4E4\uC74C"),correct:f("soundCompass.state.correct","\uC815\uB2F5"),wrong:f("soundCompass.state.wrong","\uC624\uB2F5")})[O],ue=(O,U,q,le)=>{const re=O+1,se=new RegExp(`(^|[^0-9])${re}([^0-9]|$)`).test(U),ye=!le||se?U:`${re}, ${U}`;return ae(q)?`${ye}, ${ae(q)}`:ye},Ne=O=>{if(a===O.id)return"active";if(u){if(O.id===i)return"correct";if(O.id===l&&l!==i)return"wrong"}return J.has(O.id)?"played":"idle"},ce=O=>a===O.id?"loop":u?O.id===i?"loop":null:c&&O.id===l?"once":null,X=(O,U)=>{switch(O){case"played":case"correct":return n.jsx(Nl,{size:U});case"wrong":return n.jsx(Pl,{size:U});default:return n.jsx(Rl,{size:U})}};return n.jsx("div",{className:"sound-compass",children:n.jsxs("div",{className:"sound-compass__compass-wrap",style:{width:t,height:t},children:[n.jsxs("svg",{width:t,height:t,viewBox:`0 0 ${t} ${t}`,className:"sound-compass__svg",children:[B===0&&e.map(O=>{const{x:U,y:q}=Z(O);return n.jsx("line",{x1:L.x,y1:L.y,x2:U,y2:q,stroke:"#dde3ec",strokeWidth:"1"},O.id)}),H.map(O=>n.jsx("path",{d:O.d,fill:"none",stroke:"#dde3ec",strokeWidth:"1"},O.key))]}),x&&!y&&n.jsx("div",{className:"sound-compass__pulse sound-compass__pulse--active sound-compass__pulse--center",style:{width:R,height:R,left:L.x-R/2,top:L.y-R/2}}),b?n.jsx("button",{type:"button",className:`sound-compass__center sound-compass__center--button${y?" sound-compass__center--disabled":""}`,style:{width:R,height:R,left:L.x,top:L.y},"aria-label":_,"aria-disabled":y||void 0,tabIndex:y?-1:0,onClick:y?void 0:b,children:n.jsx(yo,{size:D,color:"currentColor",strokeWidth:1.5})}):n.jsx("div",{className:"sound-compass__center",style:{width:R,height:R,left:L.x,top:L.y},children:n.jsx(yo,{size:D,color:"currentColor",strokeWidth:1.5})}),e.map((O,U)=>{const{x:q,y:le}=Z(O),re=Ne(O),se=ce(O),ye={...w!==void 0||A?{"--shortcut-badge-scale":String(w??Math.max(.75,Math.min(3,C/56)))}:null,pointerEvents:d?"auto":"none",cursor:d?"pointer":"default",zIndex:re!=="idle"?10:1},ke=C,ve=Math.round(Math.max(10,Math.min(56,ke*.38))),Ie=Math.round(Math.max(7,Math.min(18,ke*.2))),xe=Math.round(Math.max(10,Math.min(56,ke*.4))),_e=v==="answered"&&(re==="played"||re==="correct"||re==="wrong"),Be=v===!0||_e,De=!_e;return n.jsxs("div",{className:"sound-compass__speaker-pos",style:{...ye,left:q-ke/2,top:le-ke/2},children:[se&&n.jsx("div",{className:`sound-compass__pulse sound-compass__pulse--${re}`+(se==="once"?" sound-compass__pulse--once":""),style:{width:ke,height:ke,...se==="once"&&p!==void 0?{"--sc-pulse-duration-once":`${p}ms`}:null,...h!==void 0?{"--sc-pulse-scale":String(h)}:null}}),n.jsxs("button",{type:"button",tabIndex:d?0:-1,"aria-disabled":d?void 0:!0,onClick:d?()=>m?.(O.id):void 0,className:`sound-compass__speaker-btn sound-compass__speaker-btn--${re}`,style:{width:ke,height:ke},"aria-label":ue(U,O.label,re,De),"aria-pressed":l!=null?O.id===l:void 0,children:[Be&&X(re,ve),De&&n.jsx("span",{className:"sound-compass__speaker-number",style:{fontSize:v===!0?Ie:xe},children:U+1})]}),O.shortcut&&n.jsx(pc,{keys:O.shortcut,anchor:g,className:"sound-compass__speaker-shortcut"})]},O.id)})]})})}function Ax({id:e,tone:t="plain",bare:r=!1,className:a,style:s,children:l}){return n.jsx("section",{id:e,className:we("landing-section",t==="line"&&"landing-section--line",a),style:s,children:r?l:n.jsx("div",{className:"landing-section__inner",children:l})})}function Nx({badge:e,badgeVariant:t="white",title:r,sub:a,maxWidth:s,subMaxWidth:l,gap:i="m",noGap:u=!1,onBand:c=!1,align:p="left"}){const h={...u?null:{"--landing-title-gap":`var(--spacing-${i})`},...s?{maxWidth:`${s}px`}:null},d=l?{maxWidth:`${l}px`}:{},m=p==="center";return n.jsxs(n.Fragment,{children:[e?n.jsx("p",{className:we(m&&"landing-title__badge--center"),style:{margin:0},children:n.jsx(cn,{size:"large",fill:t==="white"?"filled":"soft",variant:t,children:e})}):null,n.jsx("h2",{className:we("landing-title__text",u&&"landing-title__text--no-gap",m&&"landing-title__text--center"),style:h,children:r}),a?n.jsx("p",{className:we("landing-title__sub",c&&"landing-title__sub--on-band",m&&"landing-title__sub--center"),style:d,children:a}):null]})}function Ex({icon:e,title:t,desc:r,children:a,layout:s="stack",leadWidth:l=300,titleStyle:i,tight:u=!1,align:c="left",hover:p=!0,className:h,style:d}){const m=u?"landing-card--pad-tight":"landing-card--pad",C=n.jsxs(n.Fragment,{children:[e,t?n.jsx("h3",{className:"landing-card__title",style:i,children:t}):null,r?n.jsx("p",{className:"landing-card__desc",children:r}):null]});return s==="row"?n.jsxs("div",{className:we("landing-card","landing-card--row",m,p&&"landing-card--hover",h),style:d,children:[n.jsx("div",{className:"landing-card__lead",style:{"--landing-card-lead-w":`${l}px`},children:C}),n.jsx("div",{className:"landing-card__panel",children:a})]}):n.jsxs("div",{className:we("landing-card",m,c==="center"&&"landing-card--center",p&&"landing-card--hover",h),style:d,children:[C,a]})}function jx({href:e,tone:t="dark",arrow:r=!1,align:a="center",className:s,children:l}){return n.jsxs("a",{className:we("landing-button",t!=="dark"&&`landing-button--${t}`,a==="between"&&"landing-button--between",s),href:e,children:[l,r?n.jsx("svg",{"aria-hidden":"true",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{flex:"none"},children:n.jsx("path",{d:"m9 18 6-6-6-6"})}):null]})}function hc({href:e,current:t,onClick:r,className:a,children:s}){return n.jsx("a",{href:e,onClick:r,"aria-current":t?"page":void 0,className:we("landing-menu-link",a),children:s})}const Dx=1200,Sx=.3;function Tx(e){if(typeof e!="string")return null;const t=/^(\D*)(\d[\d,]*)(\D*)$/.exec(e.trim());if(!t)return null;const r=Number(t[2].replace(/,/g,""));return Number.isFinite(r)?{prefix:t[1],suffix:t[3],target:r,grouped:t[2].includes(",")}:null}function Mx(e){return String(e).replace(/\B(?=(\d{3})+(?!\d))/g,",")}function $x(e){const t=o.useRef(null),[r,a]=o.useState(1);return o.useEffect(()=>{const s=t.current;if(e||!s||typeof IntersectionObserver!="function"){a(1);return}a(0);let l=0;const i=new IntersectionObserver(u=>{if(!u.some(h=>h.isIntersecting))return;i.disconnect();const c=performance.now(),p=h=>{const d=Math.min(1,(h-c)/Dx);a(1-(1-d)**3),d<1&&(l=requestAnimationFrame(p))};l=requestAnimationFrame(p)},{threshold:Sx});return i.observe(s),()=>{i.disconnect(),cancelAnimationFrame(l)}},[e]),[t,r]}function Lx({stats:e,className:t}){const r=Pa(),[a,s]=$x(r);return n.jsx("div",{className:"landing-stat-band-wrap",children:n.jsx("div",{ref:a,className:we("landing-stat-band",t),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:e.map((l,i)=>{const u=Tx(l.value),c=u?`${u.prefix}${u.grouped?Mx(Math.round(u.target*s)):Math.round(u.target*s)}${u.suffix}`:null;return n.jsxs("div",{children:[n.jsx("p",{className:"landing-stat-band__value",children:c===null?l.value:n.jsxs(n.Fragment,{children:[n.jsx("span",{"aria-hidden":"true",children:c}),n.jsx("span",{className:"landing-stat-band__sr",children:l.value})]})}),n.jsx("p",{className:"landing-stat-band__label",children:l.label})]},i)})})})}function Rx({orientation:e="horizontal",label:t,className:r=""}){const a=we("divider",`divider--${e}`,t&&e==="horizontal"?"divider--labeled":"",r);return e==="vertical"?n.jsx("div",{className:a,role:"separator","aria-orientation":"vertical"}):t?n.jsxs("div",{className:a,role:"separator","aria-orientation":"horizontal",children:[n.jsx("span",{className:"divider__line"}),n.jsx("span",{className:"divider__label caption-1",children:t}),n.jsx("span",{className:"divider__line"})]}):n.jsx("div",{className:a,role:"separator","aria-orientation":"horizontal"})}function mc({checked:e,onChange:t,name:r,value:a,disabled:s=!1,label:l,className:i=""}){const u=o.useId();return n.jsxs("label",{className:`radio${s?" radio--disabled":""} ${i}`.trim(),htmlFor:u,children:[n.jsx("input",{id:u,type:"radio",name:r,value:a,checked:e,disabled:s,onChange:c=>t?.(c.target.checked)}),n.jsx("span",{className:"radio__dot"}),l&&n.jsx("span",{className:"radio__label body-2",children:l})]})}function Px({options:e,value:t,onChange:r,name:a,disabled:s=!1,direction:l="vertical",className:i="",ariaLabel:u}){const c=o.useId(),p=a??`radio-group-${c}`;return n.jsx("div",{className:`radio-group radio-group--${l} ${i}`.trim(),role:"radiogroup","aria-label":u,children:e.map(h=>n.jsx(mc,{name:p,value:h.value,checked:t===h.value,disabled:s||h.disabled,label:h.label,onChange:d=>{d&&r?.(h.value)}},h.value))})}const Fx={info:"info",success:"check-circle",warning:"alert-triangle",danger:"alert-circle"};function Ix({tone:e="info",title:t,message:r,children:a,dismissible:s=!1,onDismiss:l,live:i,className:u=""}){const{t:c}=Ee.useTranslation(),[p,h]=o.useState(!1),d=o.useRef(null),m=o.useCallback(()=>{const x=d.current;x&&x.contains(document.activeElement)&&La(x),h(!0),l?.()},[l]);if(p)return null;const C=we("alert",`alert--${e}`,u),v=i??(e==="danger"||e==="warning"?"assertive":"polite"),b=v==="assertive"?"alert":v==="polite"?"status":void 0,_=!!t,y=!!(r||a);return n.jsxs("div",{ref:d,className:C,role:b,children:[n.jsxs("div",{className:"alert__body",children:[n.jsxs("div",{className:"alert__header",children:[n.jsx(lt,{icon:Fx[e],size:20,className:"alert__icon"}),_&&n.jsx("span",{className:"alert__title body-2",children:t}),!_&&y&&n.jsx("div",{className:"alert__message body-3",children:r||a})]}),_&&y&&n.jsx("div",{className:"alert__message alert__message--indented body-3",children:r||a})]}),s&&n.jsx("button",{type:"button",className:"alert__dismiss",onClick:m,"aria-label":c("common.close","\uB2EB\uAE30"),children:"\xD7"})]})}const Ox={ready:"search",guide:"info",error:"circle-alert"};function zx(e,t){const r=t.filter(Boolean);if(r.length===0)return e;const a=[];let s=0,l=0;for(const i of r){const u=e.indexOf(i,s);u<0||(u>s&&a.push(e.slice(s,u)),a.push(n.jsx("strong",{className:"search-summary__em body-2",children:i},l++)),s=u+i.length)}return s<e.length&&a.push(e.slice(s)),a}function Wx({status:e="guide",label:t,children:r,emphasis:a,icon:s,className:l=""}){const i=s===!1?null:s??Ox[e],u=we("search-summary",`search-summary--${e}`,l),c=t??r,p=typeof c=="string"&&a&&a.length>0?zx(c,a):c;return n.jsxs("div",{className:u,role:"status","aria-live":"polite",children:[i!=null&&n.jsx(lt,{icon:i,size:18,className:"search-summary__icon"}),n.jsx("span",{className:"search-summary__text body-2",children:p})]})}function ua({title:e,items:t}){const{t:r}=Ee.useTranslation(),{anchorRect:a,openAt:s,close:l}=za(),i=o.useRef(null),u=Fa(!!a,(c,p)=>{c&&p?s(i.current?.querySelector("button")??p):l()},i);return n.jsxs("span",{ref:i,style:{display:"contents"},children:[n.jsx(me,{htmlType:"button",size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!a,ariaLabel:r("common.info","\uC124\uBA85"),onPointerEnter:c=>{tr(c)||s(c.currentTarget)},onPointerLeave:c=>{tr(c)||l()},onClick:c=>{u.touchPress(c.currentTarget)},onFocus:c=>{ur()||s(c.currentTarget)},onBlur:l}),a&&n.jsx(er,{title:e,items:t,showIndex:t.length>1,anchorRect:a,onClose:l})]})}const Cn=40,hr=32;function Hx({items:e=[],value:t,onChange:r,className:a="",size:s}){const l=wn(),i=s??l??Cn,u=o.useId(),{t:c}=Ee.useTranslation(),p=o.useRef(null),h=e.find(y=>!y.disabled)?.key,d=e.some(y=>y.key===t)?t:h??e[0]?.key,m=e.find(y=>y.key===d&&!y.disabled)?.key??h,C=()=>Array.from(p.current?.querySelectorAll('[role="tab"]:not(:disabled)')??[]),v=(y,x=C())=>{if(x.length===0)return;const g=(y%x.length+x.length)%x.length;x[g]?.focus(),x[g]?.click()},b=y=>{if(!["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"].includes(y.key))return;y.preventDefault();const x=C(),g=x.indexOf(y.currentTarget);y.key==="ArrowRight"||y.key==="ArrowDown"?v(g+1,x):y.key==="ArrowLeft"||y.key==="ArrowUp"?v(g-1,x):y.key==="Home"?v(0,x):v(x.length-1,x)},_=e.find(y=>y.key===d);return n.jsxs("div",{className:`tabs ${a}`.trim(),children:[n.jsx("div",{ref:p,className:`tabs__list tabs__list--${i}`,role:"tablist","aria-label":c("tabs.ariaLabel","\uD0ED"),children:e.map(y=>n.jsx("button",{id:`tabs__tab-${u}-${y.key}`,type:"button",role:"tab","aria-selected":y.key===d,"aria-controls":y.key===d?`tabs__panel-${u}-${y.key}`:void 0,disabled:y.disabled,tabIndex:y.key===m?0:-1,className:`tabs__tab body-2${y.key===d?" tabs__tab--active":""}`,onClick:()=>{y.key!==t&&r?.(y.key)},onKeyDown:b,children:y.label},y.key))}),_&&n.jsx("div",{id:`tabs__panel-${u}-${_.key}`,role:"tabpanel","aria-labelledby":`tabs__tab-${u}-${_.key}`,tabIndex:0,className:"tabs__panel",children:_.panel},_.key)]})}const Vx={xs:12,sm:16,md:20,lg:28,xl:36};function qx(e){const t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?"":t.length===1?[...t[0]].slice(0,2).join("").toUpperCase():([...t[0]][0]+[...t[t.length-1]][0]).toUpperCase()}function Ux({src:e,name:t,size:r="md",shape:a="circle",className:s=""}){const{t:l}=Ee.useTranslation(),[i,u]=o.useState(null),c=!!e&&i===e,p=t?qx(t):"",h=!!e&&!c,d=!h&&!!p,m=t||l("avatar.ariaLabel","\uC0AC\uC6A9\uC790 \uC544\uBC14\uD0C0");return n.jsxs("span",{className:`avatar avatar--${r} avatar--${a} ${s}`.trim(),role:"img","aria-label":m,children:[h&&n.jsx("img",{className:"avatar__image",src:e,alt:m,onError:()=>u(e??null)}),!h&&d&&n.jsx("span",{className:"avatar__initials","aria-hidden":"true",children:p}),!h&&!d&&n.jsx(lt,{icon:"user-round",size:Vx[r],className:"avatar__icon"})]})}function Gx(e,t){if(!t)return!0;const r=t.split(",").map(l=>l.trim()).filter(Boolean);if(r.length===0)return!0;const a=e.name.toLowerCase(),s=e.type.toLowerCase();return r.some(l=>{const i=l.toLowerCase();return i.startsWith(".")?a.endsWith(i):i.endsWith("/*")?s.startsWith(i.slice(0,-1)):s===i})}function Kx({onFilesSelected:e,accept:t,multiple:r=!1,disabled:a=!1,showFileList:s=!0,files:l,onRemove:i,className:u=""}){const{t:c}=Ee.useTranslation(),p=o.useRef(null),[h,d]=o.useState(!1),[m,C]=o.useState([]),v=l??m,b=f=>{if(!f||f.length===0)return;const B=Array.from(f).filter(E=>Gx(E,t));if(B.length===0)return;const k=r?B:B.slice(0,1);if(l===void 0){const E=r?[...v,...k]:k;C(E),e?.(E)}else e?.(k)},_=f=>{f.preventDefault(),!a&&d(!0)},y=f=>{f.preventDefault(),d(!1)},x=f=>{f.preventDefault(),d(!1),!a&&b(f.dataTransfer.files)},g=f=>{const B=f.target;try{b(B.files)}finally{B.value=""}},w=()=>{a||p.current?.click()},A=f=>{if(!a&&(i?.(f),l===void 0)){const B=v.filter((k,E)=>E!==f);C(B),i||e?.(B)}};return n.jsxs("div",{className:`file-upload ${u}`.trim(),children:[n.jsxs("div",{className:we("file-upload__dropzone",h&&"file-upload__dropzone--dragging",a&&"file-upload__dropzone--disabled"),role:"button",tabIndex:a?-1:0,"aria-disabled":a,onClick:w,onKeyDown:f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),w())},onDragOver:_,onDragLeave:y,onDrop:x,children:[n.jsx(lt,{icon:"upload",size:24,className:"file-upload__icon"}),n.jsx("span",{className:"file-upload__prompt body-2",children:c("fileUpload.dragPrompt","\uD30C\uC77C\uC744 \uC774\uACF3\uC5D0 \uB4DC\uB798\uADF8\uD558\uC5EC \uC5C5\uB85C\uB4DC")}),n.jsx("button",{type:"button",className:"file-upload__browse-button body-3",disabled:a,onClick:f=>{f.stopPropagation(),w()},children:c("fileUpload.browseButton","\uD30C\uC77C \uC120\uD0DD")}),n.jsx("input",{ref:p,type:"file",className:"file-upload__input",accept:t,multiple:r,disabled:a,onChange:g,tabIndex:-1,"aria-hidden":"true"})]}),s&&v.length>0&&n.jsx("ul",{className:"file-upload__list",children:v.map((f,B)=>n.jsxs("li",{className:"file-upload__list-item body-3",children:[n.jsx("span",{className:"file-upload__file-name body-3",children:f.name}),n.jsx("button",{type:"button",className:"file-upload__remove-button","aria-label":c("fileUpload.removeAriaLabel",{name:f.name}),disabled:a,onClick:()=>A(B),children:n.jsx(lt,{icon:"x",size:14})})]},`${f.name}-${B}`))})]})}function fc({items:e,size:t="small",className:r=""}){const{t:a}=Ee.useTranslation(),s=t==="medium"?"body-1":"body-3",l=t==="medium"?18:14,i=t==="medium"?"body-1b":s;return n.jsx("nav",{className:`breadcrumb breadcrumb--${t} ${r}`.trim(),"aria-label":a("breadcrumb.ariaLabel","\uC774\uB3D9 \uACBD\uB85C"),children:n.jsx("ol",{className:"breadcrumb__list",children:e.map((u,c)=>{const p=c===e.length-1;return n.jsxs("li",{className:"breadcrumb__item",children:[p&&u.menu?n.jsxs("button",{type:"button",className:`breadcrumb__current breadcrumb__current--menu ${i}`,"aria-current":"page","aria-haspopup":"menu","aria-expanded":!!u.menu.expanded,"aria-label":u.menu.ariaLabel,onClick:h=>u.menu.onOpen(h.currentTarget),children:[u.label,n.jsx(lt,{icon:"chevron-down",size:l,className:"breadcrumb__menu-mark"})]}):p?n.jsx("span",{className:`breadcrumb__current ${i}`,"aria-current":"page",children:u.label}):u.href?n.jsx("a",{className:`breadcrumb__link ${s}`,href:u.href,target:u.target,rel:u.rel??(u.target==="_blank"?"noopener noreferrer":void 0),onClick:u.onClick,children:u.label}):u.onClick?n.jsx("button",{type:"button",className:`breadcrumb__link ${s}`,onClick:u.onClick,children:u.label}):n.jsx("span",{className:`breadcrumb__text ${s}`,children:u.label}),!p&&n.jsx(lt,{icon:"chevron-right",size:l,className:"breadcrumb__separator"})]},c)})})})}const Ua="\0up";function Cc({folders:e,onOpen:t,dropProps:r,dropOver:a,menuItems:s,onMove:l,up:i,add:u}){const{t:c}=Ee.useTranslation(),[p,h]=o.useState(null),d=Dv((g,w)=>w===Ua?i?.onFolderDrop?.(g):l?.(g,w)),m=d.dragging,C=g=>{const w=l?d.cardProps(g):{};return m===null?{...r?.(g),...w}:!l||m===g?w:{...w,...d.groupProps(g)}},v=g=>m===null?a===g:d.dragOverKey===g,b=o.useRef(null),_=()=>{h(g=>(g&&(b.current={name:g.name,at:Date.now()}),null))},y=()=>i?m===null?i.cardDropKey!=null?{...r?.(i.cardDropKey)}:{}:i.onFolderDrop?d.groupProps(Ua):{}:{},x=!!i&&(m===null?i.cardDropKey!=null&&a===i.cardDropKey:!!i.onFolderDrop&&d.dragOverKey===Ua);return e.length===0&&!i&&!u?null:n.jsxs("ul",{className:"folder-grid","aria-label":c("folder.list","\uD3F4\uB354"),children:[i&&n.jsx("li",{className:["folder-grid__cell","folder-grid__cell--up",x&&"folder-grid__cell--over"].filter(Boolean).join(" "),...y(),children:n.jsx(me,{htmlType:"button",type:"bar",size:48,variant:"default",align:"left",width:"100%",ellipsis:!0,className:x?"is-hover":void 0,icon:"arrow-up",label:c("folder.up","\uC704\uB85C"),ariaLabel:c("folder.upTo",{name:i.targetLabel,defaultValue:"\uD55C \uCE35 \uC704\uB85C \u2014 {{name}}"}),onClick:i.onOpen})},Ua),e.map(g=>{const w=g.label??g.name;return n.jsxs("li",{className:["folder-grid__cell",v(g.name)&&"folder-grid__cell--over",m===g.name&&"folder-grid__cell--dragging"].filter(Boolean).join(" "),...C(g.name),children:[n.jsx(me,{htmlType:"button",type:"bar",size:48,variant:"default",align:"left",width:"100%",ellipsis:!0,className:v(g.name)?"is-hover":void 0,icon:"folder",label:w,count:g.count,ariaLabel:c("folder.open",{name:w,count:g.count,defaultValue:"{{name}} \uD3F4\uB354 \uC5F4\uAE30, {{count}}\uAC1C"}),rightIcon:s?n.jsx("span",{className:"folder-grid__more-room","aria-hidden":"true"}):void 0,onClick:()=>t(g.name)}),s&&n.jsx("span",{className:"folder-grid__more",children:n.jsx(me,{htmlType:"button",size:32,type:"dot",variant:"transparent-gray",useBorder:!1,icon:"ellipsis",ariaLabel:c("folder.menu",{name:w,defaultValue:"{{name}} \uD3F4\uB354 \uBA54\uB274"}),ariaExpanded:p?.name===g.name,onClick:A=>{if(b.current?.name===g.name&&Date.now()-b.current.at<300)return;const f=A.currentTarget;h(B=>B?.name===g.name?null:{name:g.name,label:w,anchor:f})}})})]},g.name)}),u&&n.jsx("li",{className:"folder-grid__cell folder-grid__cell--add",children:n.jsx(me,{htmlType:"button",type:"bar",size:48,variant:"default",align:"left",width:"100%",ellipsis:!0,icon:"folder-plus",label:u.label,onClick:u.onClick})},"__add"),p&&s&&n.jsx(sn,{anchorEl:p.anchor,onClose:_,closeOnOutsideClick:!0,offset:4,prefer:"bottom",ariaLabel:c("folder.menu",{name:p.label,defaultValue:"{{name}} \uD3F4\uB354 \uBA54\uB274"}),children:n.jsx(nr,{columns:[{items:s(p.name)}],size:"small",onClose:_})})]})}const gc="/";function bc({anchorEl:e,onClose:t,rootLabel:r,opened:a,onPick:s,tree:l,ariaLabel:i,onMove:u,itemDropProps:c,itemDropOver:p}){const{t:h}=Ee.useTranslation(),[d,m]=o.useState(new Set),C=B=>{s(B),t()},[v,b]=o.useState(null),[_,y]=o.useState(null),x=B=>{if(v===null)return c?.(B)??{};if(!u||!Qb(v,B))return{};const k=B??gc;return{onDragOver:E=>{E.preventDefault(),E.dataTransfer.dropEffect="move",_!==k&&y(k)},onDragLeave:()=>y(E=>E===k?null:E),onDrop:E=>{E.preventDefault();const N=v;b(null),y(null),u(N,B)}}},g=B=>u?{draggable:!0,onDragStart:k=>{k.dataTransfer.effectAllowed="move",k.dataTransfer.setData("text/plain",B),b(B)},onDragEnd:()=>{b(null),y(null)}}:{},w=B=>m(k=>{const E=new Set(k);return E.has(B)?E.delete(B):E.add(B),E}),A=l.filter(B=>![...d].some(k=>k!==B.path&&zo(B.path,k))),f=B=>["folder-tree-tooltip__row",...B].filter(Boolean).join(" ");return n.jsx(sn,{anchorEl:e,onClose:t,closeOnOutsideClick:!0,offset:4,prefer:"bottom",ariaLabel:i,children:n.jsxs("div",{className:"folder-tree-tooltip",role:"tree","aria-label":i,children:[n.jsx("div",{role:"none",...x(null),className:f([a===null&&"folder-tree-tooltip__row--here",(_===gc||v===null&&!!p?.(null))&&"folder-tree-tooltip__row--over"]),children:n.jsxs("button",{type:"button",className:"folder-tree-tooltip__name body-2",role:"treeitem","aria-level":1,"aria-current":a===null?"page":void 0,onClick:()=>C(null),children:[n.jsx(lt,{icon:"folder-open",size:18,className:"folder-tree-tooltip__icon"}),n.jsx("span",{className:"folder-tree-tooltip__label",children:r})]})}),A.map((B,k)=>{const E=l.some(j=>j.path!==B.path&&zo(j.path,B.path)),N=d.has(B.path),S=a===B.path;return n.jsxs("div",{role:"none",...g(B.path),...x(B.path),className:f([B.depth>0&&"folder-tree-tooltip__row--nested",S&&"folder-tree-tooltip__row--here",(_===B.path||v===null&&!!p?.(B.path))&&"folder-tree-tooltip__row--over",v===B.path&&"folder-tree-tooltip__row--dragging"]),style:{"--folder-depth":B.depth+1},children:[n.jsxs("button",{type:"button",className:"folder-tree-tooltip__name body-2",role:"treeitem","aria-level":B.depth+2,"aria-posinset":k+1,"aria-current":S?"page":void 0,onClick:()=>C(B.path),children:[n.jsx(lt,{icon:S?"folder-open":"folder",size:18,className:"folder-tree-tooltip__icon"}),n.jsx("span",{className:"folder-tree-tooltip__label",children:B.label}),B.count>0&&n.jsx("span",{className:"folder-tree-tooltip__count caption-1",children:B.count})]}),E&&n.jsx("button",{type:"button",className:`folder-tree-tooltip__twist${N?"":" folder-tree-tooltip__twist--open"}`,"aria-label":N?h("folder.unfold",{name:B.label,defaultValue:"{{name}} \uD3BC\uCE58\uAE30"}):h("folder.fold",{name:B.label,defaultValue:"{{name}} \uC811\uAE30"}),"aria-expanded":!N,onClick:()=>w(B.path),children:n.jsx(lt,{icon:"chevron-right",size:16,className:"folder-tree-tooltip__twist-mark"})})]},B.path)})]})})}function yc({rootLabel:e,opened:t,onOpen:r,tree:a,onMove:s,itemDragging:l=!1,itemDropProps:i,itemDropOver:u}){const{t:c}=Ee.useTranslation(),[p,h]=o.useState(null),d=o.useRef(0),m=()=>{h(b=>(b&&(d.current=Date.now()),null))},C=c("folder.tree","\uD3F4\uB354 \uAD6C\uC870 \uBCF4\uAE30"),v=o.useRef(!1);return o.useEffect(()=>{!l&&v.current&&(v.current=!1,h(null))},[l]),n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"folder-tree-button",onDragEnter:l?b=>{p||(v.current=!0,h(b.currentTarget))}:void 0,children:n.jsx(me,{htmlType:"button",size:40,type:"dot",variant:"default",icon:"folder-tree",ariaLabel:C,showTooltipInfo:C,ariaExpanded:!!p,onClick:b=>{if(Date.now()-d.current<300)return;const _=b.currentTarget;h(y=>y?null:_)}})}),p&&n.jsx(bc,{anchorEl:p,onClose:m,ariaLabel:C,rootLabel:e,opened:t,onPick:r,tree:a,onMove:s,itemDropProps:i,itemDropOver:u})]})}function Yx({rootLabel:e,opened:t,onOpen:r,paths:a,countOf:s,folderMenu:l,rootMenu:i,dropProps:u,dropOver:c,onMoveFolder:p,itemDragging:h,rootDropKey:d,add:m}){const{t:C}=Ee.useTranslation(),[v,b]=o.useState(null),_=o.useRef(0),y=()=>{b(E=>(E&&(_.current=Date.now()),null))},x=t?Qr(t):e,g=t?C("folder.menu",{name:x,defaultValue:"{{name}} \uD3F4\uB354 \uBA54\uB274"}):C("folder.placeMenu",{name:x,defaultValue:"{{name}} \uBA54\uB274"}),w=!!l||!!i,A=w?{label:x,menu:{onOpen:E=>{Date.now()-_.current<300||b(N=>N?null:E)},expanded:!!v,ariaLabel:g}}:{label:x},f=t?[{label:e,onClick:()=>r(null)},...Xb(t).slice(0,-1).map(E=>({label:E.label,onClick:()=>r(E.path)})),A]:[A],B=t?Ea(t):null,k=Zb(a,t).map(E=>({name:E,label:Qr(E),count:s(E)}));return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"folder-head",children:[n.jsx(yc,{rootLabel:e,opened:t,onOpen:r,onMove:p,itemDragging:h,itemDropProps:u?E=>E!==null?u(E):d?u(d):{}:void 0,itemDropOver:E=>c!=null&&c===(E??d),tree:Jb(a).map(E=>({...E,count:s(E.path)}))}),n.jsx(fc,{size:"medium",items:f})]}),n.jsx(Cc,{folders:k,onOpen:r,dropProps:u,dropOver:c,menuItems:l,onMove:p,up:t?{targetLabel:B?Qr(B):e,onOpen:()=>r(B),cardDropKey:B??d,onFolderDrop:p?E=>p(E,B):void 0}:void 0,add:m}),v&&w&&n.jsx(sn,{anchorEl:v,onClose:y,closeOnOutsideClick:!0,offset:4,prefer:"bottom",ariaLabel:g,children:n.jsx(nr,{columns:[{items:(t?l?.(t):i)??[]}],size:"small",onClose:y})})]})}function Zx({rows:e,rowRender:t,emptySpeech:r,dropProps:a,dropOver:s=!1,className:l}){return e.length===0?r?n.jsx("p",{className:we("folder-list__empty body-3",l),...a,children:r}):null:n.jsx("div",{className:we("folder-list",s&&"folder-list--over",l),...a,children:e.map((i,u)=>t(i,u))})}const ca=new Map;function kn(e){const{t}=Ee.useTranslation(),{options:r=[],value:a=r.find(f=>!f.disabled)?.key??r[0]?.key,onChange:s=f=>{},className:l="",size:i,shape:u="pill",useBG:c=!0,fullWidth:p=!1,minButtonWidth:h,ariaLabel:d}=e||{},m=wn(),C=i??m??Cn,v=o.useRef(null),b=r.filter(f=>!f.disabled),_=o.useId(),y=r.map(f=>f.key).join("\xB7");o.useEffect(()=>{if(!(!Zn||d!=null&&d!=="")){if(ca.set(_,y||"(\uBCF4\uAE30 \uC5C6\uC74C)"),ca.size>1){const f=[...ca.values()].sort();Tt(`segmented-control-unnamed:${f.join("|")}`,`[ihab/SegmentedControl] \uC774\uB984 \uC5C6\uB294 \uB77C\uB514\uC624\uADF8\uB8F9\uC774 \uD55C \uD654\uBA74\uC5D0 ${ca.size} \uAC1C \uC11C \uC788\uC2B5\uB2C8\uB2E4 \u2014 \uB0AD\uB3C5\uAE30\uB294 \uBAA8\uB450 "\uC120\uD0DD \uD0ED" \uC73C\uB85C \uC77D\uC5B4 \uC5B4\uB290 \uAC83\uC774 \uBB34\uC5C7\uC778\uC9C0 \uAC00\uB9B4 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ariaLabel \uC744 \uC8FC\uC138\uC694. \uC9C0\uAE08 \uC120 \uAC83(\uBCF4\uAE30 \uC774\uB984\uC73C\uB85C \uC801\uC74C): ${f.join(" / ")}`)}return()=>{ca.delete(_)}}},[d,y,_]);const x=f=>{if(!b.length)return;const B=Math.max(0,b.findIndex(E=>E.key===a)),k=f==="first"?b[0]:f==="last"?b[b.length-1]:b[(B+f+b.length)%b.length];k&&(s(k.key),Array.from(v.current?.querySelectorAll("[data-segkey]")??[]).find(E=>E.dataset.segkey===k.key)?.focus())},g=f=>{switch(f.key){case"ArrowRight":case"ArrowDown":x(1);break;case"ArrowLeft":case"ArrowUp":x(-1);break;case"Home":x("first");break;case"End":x("last");break;default:return}f.preventDefault()},w=f=>{const B=k=>typeof k=="string"||typeof k=="number";if(!(!B(f.label)||f.count==null||f.count===!1||!B(f.count)))return`${f.label}, ${f.count}`},A=b.some(f=>f.key===a)?a:b[0]?.key;return n.jsx("div",{ref:v,onKeyDown:g,className:we("segmented-control",`segmented-control--${u}`,`segmented-control--${C}`,p&&"segmented-control--full",!c&&"segmented-control--no-bg",h!=null&&"segmented-control--min",l),style:h!=null?{"--segmented-min-button-w":`${h}px`}:void 0,role:"radiogroup","aria-label":d??t("segmentedControl.ariaLabel","\uC120\uD0DD \uD0ED"),children:r.map(f=>n.jsx(me,{htmlType:"button",role:"radio","aria-checked":f.key===a,"data-segkey":f.key,tabIndex:f.key===A?0:-1,label:f.label,count:f.count,ariaLabel:w(f),disabled:f.disabled,className:f.key===a?"is-selected":"",onClick:()=>{f.disabled||s(f.key)},size:C,shape:u,useBorder:!1,useBG:!1},f.key))})}let da=0,vc="",bs="",pa=0;function xc(){return wc(!1)}function _c(){return wc(!0)}function wc(e){const t=typeof document<"u";da===0&&t&&(vc=document.body.style.overflow,document.body.style.overflow="hidden"),e&&t&&(pa===0&&(bs=document.body.style.paddingRight),pa++,document.body.style.paddingRight="0px"),da++;let r=!1;return()=>{r||(r=!0,da=Math.max(0,da-1),e&&t&&(pa=Math.max(0,pa-1),pa===0&&(bs?document.body.style.paddingRight=bs:document.body.style.removeProperty("padding-right"))),da===0&&t&&(document.body.style.overflow=vc))}}const Xx=Wu;function qn(e){const{t}=Ee.useTranslation(),{title:r,subtitle:a,headerActions:s,headerSegment:l,children:i,buttons:u,footer:c,footerStart:p,footerEnd:h,footerClassName:d="",footerLayout:m="center",onClose:C,closeDisabled:v=!1,beforeClose:b,closeOnBackdrop:_=!0,backClosable:y=!0,className:x="",ariaLabel:g,useTitle:w=!0,inline:A=!1,width:f,size:B,layer:k="modal",height:E,fillBody:N=!1,resetScrollKey:S}=e||{},j=f??(B==="fullwidth"?"full":B),$=j?` popup-panel--${j==="full"?"fullwidth":j}`:"",W=E!=null&&E!=="fit",[P,V]=o.useState(!1),T=o.useRef(!1),I=o.useRef(null),z=o.useId(),ie=o.useRef(null);o.useEffect(()=>{},[A,r,g,x]),o.useEffect(()=>{S!==void 0&&ie.current&&(ie.current.scrollTop=0)},[S]);const[ne,F]=o.useState(!1),[G,ee]=o.useState(!1);o.useEffect(()=>{const se=ie.current;if(!se)return;const ye=()=>{F(se.scrollHeight>se.clientHeight+1),ee(se.scrollHeight-se.scrollTop-se.clientHeight>1)};ye();let ke=0;const ve=()=>{ke||(ke=requestAnimationFrame(()=>{ke=0,ye()}))};se.addEventListener("scroll",ve,{passive:!0});const Ie=()=>{se.removeEventListener("scroll",ve),ke&&cancelAnimationFrame(ke)};if(typeof ResizeObserver>"u")return Ie;const xe=new ResizeObserver(ye);xe.observe(se);const _e=se.firstElementChild;return _e&&xe.observe(_e),()=>{xe.disconnect(),Ie()}},[i,S]),o.useEffect(()=>{if(!A)return xc()},[A]);const Z=o.useRef(typeof document>"u"?null:document.activeElement);o.useEffect(()=>{if(A)return;const se=Z.current,ye=I.current;return Qo(ye,se),ye&&!ye.contains(document.activeElement)&&(ye.querySelector(jn)??ye).focus(),()=>{const ke=document.activeElement;(!ke||ke===document.body||ye&&ye.contains(ke))&&es(se)?.focus?.()}},[A]),$a(I,!A);const L=o.useRef(!0),R=Pa(),D=o.useRef(null);o.useEffect(()=>(L.current=!0,()=>{L.current=!1,D.current&&(clearTimeout(D.current),D.current=null)}),[]);const H=o.useCallback(()=>{!L.current||!T.current||(T.current=!1,V(!1))},[]),te=o.useCallback((se,ye=!1)=>{if(ye&&!L.current||T.current)return;T.current=!0,V(!0);const ke=setTimeout(()=>{D.current===ke&&(D.current=null);let ve;try{ve=se?se():void 0}catch{H();return}ve&&typeof ve.then=="function"&&ve.then(()=>{setTimeout(H,120)},H)},R?0:Xx);ye&&(D.current=ke)},[H,R]),J=o.useCallback(()=>{v||b&&b()===!1||te(C,!0)},[te,C,v,b]),ae=o.useRef(J);o.useEffect(()=>{ae.current=J});const ue=!A&&!!C;o.useEffect(()=>{if(ue)return ir(()=>ae.current())},[ue]);const Ne=o.useRef(b);o.useEffect(()=>{Ne.current=b});const ce=o.useRef(v);o.useEffect(()=>{ce.current=v});const X=o.useRef(()=>te(C,!0));o.useEffect(()=>{X.current=()=>te(C,!0)}),zu(ue&&y,()=>{if(ce.current)return!1;const se=Ne.current;return se&&se()===!1?!1:(X.current(),!0)});const O=ue&&_,U=o.useRef(!1),q=se=>{U.current=se.target===se.currentTarget},le=se=>{const ye=U.current;U.current=!1,ye&&se.target===se.currentTarget&&J()},re=n.jsx("div",{className:`popup ${A?"popup--inline":""} ${k==="belowPagePopup"?"popup--below-page-popup":""} ${P?"popup--closing":""} ${x}`,onPointerDown:O?q:void 0,onClick:O?le:void 0,onMouseDown:A?void 0:se=>{se.target===se.currentTarget&&se.preventDefault()},children:n.jsxs("div",{ref:I,className:`popup-panel${$}${E==="full"?" popup-panel--height-full":W?" popup-panel--has-height":""}${N?" popup-panel--fill-body":""}`,style:W&&E!=="full"?{"--popup-height":typeof E=="number"?`${E}px`:E}:void 0,tabIndex:-1,role:A?void 0:"dialog","aria-modal":A?void 0:!0,"aria-labelledby":!A&&w&&r?z:void 0,"aria-label":!A&&!(w&&r)?g??(typeof r=="string"?r:void 0):void 0,children:[!w&&(s||C)?n.jsxs("div",{className:"popup-close-float",children:[s,C&&n.jsx(me,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"popup-close-btn",onClick:J,disabled:v,ariaLabel:t("common.close","\uB2EB\uAE30")})]}):r||s||C?n.jsxs("div",{className:`popup-header${a?" popup-header--with-subtitle":""}`,children:[n.jsxs("div",{className:"popup-header-main",children:[r?n.jsx("h2",{id:z,className:"popup-title popup-title--left h2",children:r}):n.jsx("span",{id:z,className:"popup-title popup-title--left h2"}),a&&n.jsx("span",{className:"popup-subtitle body-3",children:a})]}),n.jsxs("div",{className:"popup-header-aside",children:[l&&n.jsx("div",{className:"popup-header-segment",children:n.jsx(kn,{size:40,ariaLabel:l.ariaLabel,options:l.options.map(se=>({key:se.key,label:se.label,disabled:se.disabled})),value:l.value,onChange:l.onChange})}),n.jsxs("div",{className:"popup-header-actions",children:[s,C&&n.jsx(me,{htmlType:"button",size:40,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"popup-close-btn",onClick:J,disabled:v,ariaLabel:t("common.close","\uB2EB\uAE30")})]})]})]}):null,n.jsx("div",{className:"popup-content",ref:ie,tabIndex:ne?0:void 0,"data-more-below":G&&!(p||h||u&&u.length>0||c)?"":void 0,children:n.jsx("div",{className:"popup-content__inner",children:typeof i=="function"?i({animateThen:te,closeWithAnimation:J}):i})}),p||h?n.jsxs("div",{className:`popup-footer popup-footer--bar${d?` ${d}`:""}`,children:[n.jsx("div",{className:"popup-footer__start",children:typeof p=="function"?p({animateThen:te,closeWithAnimation:J}):p}),n.jsx("div",{className:"popup-footer__end",children:typeof h=="function"?h({animateThen:te,closeWithAnimation:J}):h})]}):u?.length?n.jsx("div",{className:`popup-footer popup-footer--buttons${m!=="center"?` popup-footer--${m}`:""}`,children:u.map((se,ye)=>n.jsx(me,{htmlType:"button",size:48,variant:se.variant??"default",label:se.label,disabled:se.disabled,onClick:()=>se.onClick?.({animateThen:te,closeWithAnimation:J})},ye))}):c?n.jsx("div",{className:`popup-footer${m!=="center"?` popup-footer--${m}`:""}${d?` ${d}`:""}`,children:typeof c=="function"?c({animateThen:te,closeWithAnimation:J}):c}):null]})});return A||typeof document>"u"?re:bn.createPortal(re,document.body)}function Bc({checked:e,onChange:t,disabled:r=!1,label:a,ariaLabel:s,labelPosition:l="right",className:i="",id:u}){const c=a&&n.jsx("span",{className:"toggle__label body-3",children:a});return n.jsxs("label",{className:`toggle${r?" toggle--disabled":""} ${i}`.trim(),children:[l==="left"&&c,n.jsx("input",{id:u,type:"checkbox",role:"switch",checked:e,disabled:r,onChange:p=>t?.(p.target.checked),"aria-label":!a&&s?s:void 0}),n.jsx("span",{className:"toggle__slider"}),l==="right"&&c]})}function An({options:e,value:t,onChange:r,placeholder:a,disabled:s=!1,block:l=!1,size:i,error:u=!1,className:c="",ariaLabel:p,ariaDescribedBy:h}){const d=wn(),m=i??d??Cn,{t:C}=Ee.useTranslation(),v=a??C("dropdown.placeholder","\uC120\uD0DD"),b=o.useId(),_=o.useId(),y=o.useRef(null),x=o.useCallback((T,I)=>{const z=window.innerHeight,ie=window.innerWidth,ne=typeof document<"u"?document.getElementById(b):null,F=260,G=Math.min(F,Math.max(ne?.offsetHeight||0,ne?.scrollHeight||0)||F),ee=Math.max(T.width,ne?.offsetWidth||0),Z=z-T.bottom,L=T.top,R=Z<G&&L>Z,D=8,H=(te,J)=>Math.min(Math.max(D,te),Math.max(D,J));return{position:"fixed",left:H(T.left,ie-ee-D),minWidth:T.width,maxWidth:Math.max(T.width,ie-D*2),...R?{top:"auto",bottom:H(z-T.top+6,z-G-D)}:{bottom:"auto",top:H(T.bottom+6,z-G-D)},zIndex:oa(I)}},[b]),{open:g,setOpen:w,toggle:A,style:f,triggerRef:B,menuRef:k}=sa({computeStyle:x}),[E,N]=o.useState(-1),S=o.useCallback(()=>N(-1),[]),j=e.find(T=>T.value===t);o.useEffect(()=>{if(g){const T=e.findIndex(I=>I.value===t);N(T>=0?T:e.length?0:-1),requestAnimationFrame(()=>{const I=k.current;if(!I)return;const z=I.querySelectorAll(".dropdown__option")[T];z&&(I.scrollTop=Math.max(0,z.offsetTop-I.clientHeight/2+z.clientHeight/2))})}},[g]),o.useEffect(()=>{g&&N(T=>{if(T>=0&&T<e.length)return T;const I=e.findIndex(z=>z.value===t);return I>=0?I:e.length?0:-1})},[g,e.length]);const $=o.useCallback(()=>{s||A()},[s,A]),W=o.useCallback(T=>{T.disabled||s||(T.value!==t&&r?.(T.value),w(!1))},[r,w,s,t]);o.useEffect(()=>{s&&w(!1)},[s,w]);const P=o.useCallback(T=>{if(!s){if(!g){(T.key==="Enter"||T.key===" "||T.key==="ArrowDown")&&(T.preventDefault(),w(!0));return}if(T.key==="Escape"){T.preventDefault(),w(!1);return}T.key==="ArrowDown"?(T.preventDefault(),N(I=>{let z=I+1;for(;z<e.length&&e[z].disabled;)z++;return z<e.length?z:I})):T.key==="ArrowUp"?(T.preventDefault(),N(I=>{let z=I-1;for(;z>=0&&e[z].disabled;)z--;return z>=0?z:I})):(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),e[E]?W(e[E]):w(!1))}},[s,g,e,E,W,w]),V=g?n.jsx("div",{ref:k,id:b,className:"dropdown__menu","data-tooltip-ignore":!0,role:"listbox",style:f,onMouseLeave:S,onMouseDown:T=>T.preventDefault(),children:e.map((T,I)=>n.jsxs("button",{id:`${b}-option-${I}`,type:"button",role:"option","aria-selected":T.value===t,className:we("dropdown__option body-2",T.value===t?"dropdown__option--active":"",I===E?"dropdown__option--active":"",T.disabled?"dropdown__option--disabled":""),onMouseDown:z=>z.preventDefault(),onClick:()=>W(T),onMouseEnter:()=>N(I),disabled:T.disabled,children:[n.jsx("span",{className:"dropdown__option-check",children:T.value===t&&n.jsx("svg",{viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polyline",{points:"2 7 5.5 10.5 12 3.5"})})}),T.label]},T.value))}):null;return n.jsxs("div",{ref:y,className:we("dropdown",`dropdown--s${m}`,g?"dropdown--open":"",l?"dropdown--block":"",u?"dropdown--error":"",c),onKeyDown:P,children:[n.jsxs("button",{ref:B,type:"button",className:"dropdown__trigger",role:"combobox","aria-haspopup":"listbox","aria-expanded":g,"aria-controls":g?b:void 0,"aria-activedescendant":g&&E>=0?`${b}-option-${E}`:void 0,"aria-label":p,"aria-describedby":[p&&j?_:"",h??""].filter(Boolean).join(" ")||void 0,"aria-invalid":u||void 0,disabled:s,onClick:$,onBlur:T=>{g&&!k.current?.contains(T.relatedTarget)&&w(!1)},children:[n.jsx("span",{id:_,className:`dropdown__trigger-label body-2${j?"":" dropdown__trigger-label--placeholder"}`,children:j?j.label:v}),n.jsx("svg",{className:"dropdown__chevron",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polyline",{points:"4 6 8 10 12 6"})})]}),typeof document<"u"&&bn.createPortal(V,y.current?.closest(".ihabdevteam-core-scope")??document.body)]})}const Jx={hearingAid:"hearingAid",cochlearImplant:"cochlearImplant",other:"other",\uBCF4\uCCAD\uAE30:"hearingAid",\uC778\uACF5\uC640\uC6B0:"cochlearImplant",\uAE30\uD0C0:"other"};function kc(e){return e?Jx[e]??null:null}function Ac(e){switch(kc(e)){case"hearingAid":return"main";case"cochlearImplant":return"sub";default:return"default"}}function Nc(e,t){const r=kc(e);return r?t(`device.type.${r}`,{defaultValue:e??""}):e??""}const Sr=e=>e==null?"":String(e).trim();function ys(e,t,r,a){const s=Sr(e),l=Sr(t),i=Sr(r);if(a&&s&&l&&i){const c=`${s.padStart(4,"0")}-${l.padStart(2,"0")}-${i.padStart(2,"0")}`,p=new Date(c);if(!Number.isNaN(p.getTime())&&p.toISOString().slice(0,10)===c){const h=Di(c,a);if(h)return h}}const u=[s,l,i];for(;u.length>0&&u[u.length-1]==="";)u.pop();return u.join(".")}function Qx(e,t,r){const a=Sr(e);return a?`${a}-${Sr(t).padStart(2,"0")}-${Sr(r).padStart(2,"0")}`:""}function Ec(e){return typeof e=="string"?e:e.label}function jc({value:e,onChange:t,suggestions:r,openOnFocus:a=!1,filterSuggestions:s,onSelectSuggestion:l,autoActiveFirst:i=!1}){const u=o.useId(),[c,p]=o.useState(!1),[h,d]=o.useState(-1),m=o.useRef(null),C=o.useMemo(()=>{if(!r.length)return[];const S=e??"";return s===!1?r:S?typeof s=="function"?s(r,S):r.filter(j=>Ec(j).toLowerCase().includes(S.toLowerCase())):a?r:[]},[r,e,a,s]),[v,b]=o.useState(!1),_=o.useRef([]),y=v&&C.length===0?_.current:C;o.useEffect(()=>{y.length&&(_.current=y)},[y]);const x=o.useCallback(()=>b(!0),[]),g=o.useCallback(()=>b(!1),[]),w=i?0:-1;o.useEffect(()=>{c||d(w)},[c,w]),o.useEffect(()=>()=>{m.current&&clearTimeout(m.current)},[]);const A=h<y.length?h:w<y.length?w:-1,f=o.useCallback(S=>{l?l(S):t?.(Ec(S)),p(!1)},[t,l]),B=o.useCallback(()=>p(!0),[]),k=o.useCallback(()=>{p(!0),d(w)},[w]),E=o.useCallback(()=>{m.current=setTimeout(()=>p(!1),120)},[]),N=o.useCallback(S=>{S.nativeEvent.isComposing||S.keyCode===229||(S.key==="ArrowDown"?(S.preventDefault(),p(!0),d(j=>Math.min(y.length-1,(j<y.length?j:w)+1))):S.key==="ArrowUp"?(S.preventDefault(),d(j=>Math.max(w,(j<y.length?j:y.length)-1))):S.key==="Enter"?A>=0&&f(y[A]):S.key==="Escape"&&c&&(S.preventDefault(),p(!1)))},[y,A,c,f,w]);return{listId:u,open:c,activeIdx:A,filtered:y,handleFocus:B,handleBlur:E,handleInput:k,handleKeyDown:N,handleSelect:f,handleCompositionStart:x,handleCompositionEnd:g}}const ha=typeof window<"u"?o.useLayoutEffect:o.useEffect;function Un(e){const{value:t,defaultValue:r,name:a,inputRef:s,onChange:l,label:i,ariaLabel:u,ariaDescribedBy:c,required:p,placeholder:h,ghostText:d,ghostHint:m,type:C="text",disabled:v=!1,readOnly:b=!1,error:_,helperText:y,maxLength:x,size:g,variant:w="input",fullWidth:A=!1,newline:f=!1,multiline:B=!1,rows:k=3,leftIcon:E,rightIcon:N,clearable:S=!1,list:j,showCount:$=!0,className:W="",onFocus:P,onBlur:V,onKeyDown:T,onEnter:I,inputMode:z,autoComplete:ie,autoCapitalize:ne,autoCorrect:F,revealable:G=!1,autoFocus:ee,suggestions:Z,filterSuggestions:L,onSelectSuggestion:R,autoActiveFirst:D,openOnFocus:H=!1}=e,te=wn(),J=g??te??Cn,ae=b||v?void 0:Z,{t:ue}=Ee.useTranslation(),Ne=o.useId();!i&&!u&&Tt(`TextField:unnamed:${Ne}`,"[ihab/TextField] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 label \uC774\uB098 ariaLabel \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const ce=`tf-${Ne}`,X=`tf-helper-${Ne}`,O=o.useRef(null),U=jc({value:t??"",onChange:l,suggestions:ae??[],openOnFocus:H,filterSuggestions:L,onSelectSuggestion:R,autoActiveFirst:D}),q=!!ae&&U.open&&U.filtered.length>0,le=o.useRef(null),[re,se]=o.useState(null),ye=o.useCallback(()=>{const je=le.current;if(!je||typeof window>"u")return;const st=je.getBoundingClientRect(),ft=window.innerHeight,Ct=8,Nt=230,Ft=typeof document<"u"?document.getElementById(U.listId):null,yt=Math.min(Nt,Math.max(Ft?.offsetHeight||0,Ft?.scrollHeight||0)||Nt),vt=ft-st.bottom,Et=st.top,It=vt<yt+Ct&&Et>vt,Je=(At,Qe)=>Math.min(Math.max(Ct,At),Math.max(Ct,Qe));se({position:"fixed",left:st.left,width:st.width,...It?{bottom:Je(ft-st.top+Ct,ft-yt-Ct)}:{top:Je(st.bottom+Ct,ft-yt-Ct)},zIndex:oa(je)})},[U.listId]);ha(()=>{if(!q)return;ye();let je=null;const st=()=>{if(typeof requestAnimationFrame>"u"){ye();return}je===null&&(je=requestAnimationFrame(()=>{je=null,ye()}))},ft=Ct=>{const Nt=Ct.target;Nt&&Nt.nodeType===1&&Nt.closest?.(".text-field__suggestions")||st()};return window.addEventListener("scroll",ft,!0),window.addEventListener("resize",st),()=>{je!==null&&cancelAnimationFrame(je),window.removeEventListener("scroll",ft,!0),window.removeEventListener("resize",st)}},[q,ye,U.filtered.length]);const ke=o.useCallback(je=>{O.current=je,typeof s=="function"?s(je):s&&(s.current=je)},[s]),ve=d?`${d}${m??ue("wordTable.save.autoFillHint"," (Tab \uB610\uB294 space \uC785\uB825\uC2DC \uC790\uB3D9 \uC785\uB825)")}`:h,Ie=C==="email"||C==="tel"||C==="password"||C==="url"||ie==="username"||ie==="email"||ie==="one-time-code",xe=ne??(Ie?"none":void 0),_e=F??(Ie?"off":void 0),Be=G&&C==="password"&&!f&&!B,[De,ze]=o.useState(!1),ot=Be&&De?"text":C,it=t!==void 0,Fe=it&&C==="password",[qe,nt]=o.useState((r??"").length),Te=it?(t??"").length:qe,Xe=o.useRef(t);ha(()=>{Xe.current=t}),o.useEffect(()=>{const je=O.current;if(!Fe||!je)return;const st=t??"";je.value!==st&&(je.value=st)},[Fe,t]),o.useEffect(()=>{if(!f||!O.current)return;const je=O.current;je.style.height="",je.scrollHeight>je.clientHeight&&(je.style.height=`${je.scrollHeight}px`)},[t,qe,f]);const rt=x!=null&&Te>x,ut=J===32?16:20,gt=we("text-field",`text-field--s${J}`,w==="display"?"text-field--display":"",A?"text-field--full-width":"",v?"text-field--disabled":"",b?"text-field--readonly":"",_?"text-field--error":"",E?"text-field--has-left-icon":"",N||S||Be?"text-field--has-right-icon":"",W),_t={id:ce,...Fe?{}:it?{value:t}:{defaultValue:r},ref:ke,placeholder:ve,name:a,disabled:v,readOnly:b,autoFocus:ee,maxLength:x,list:j,inputMode:z,autoComplete:ie,autoCapitalize:xe,autoCorrect:_e,"aria-label":!i&&u?u:void 0,"aria-required":p,"aria-invalid":!!_,"aria-describedby":[y||_?X:null,c].filter(Boolean).join(" ")||void 0,role:ae?"combobox":void 0,"aria-autocomplete":ae?"list":void 0,"aria-haspopup":ae?"listbox":void 0,"aria-expanded":ae?q:void 0,"aria-controls":q?U.listId:void 0,"aria-activedescendant":q&&U.activeIdx>=0?`${U.listId}-option-${U.activeIdx}`:void 0,onChange:je=>{const st=je.target;it||nt(st.value.length),l?.(st.value),ae&&U.handleInput(),Fe&&queueMicrotask(()=>{const ft=Xe.current??"";st.value!==ft&&(st.value=ft)})},onCompositionStart:ae?U.handleCompositionStart:void 0,onCompositionEnd:ae?U.handleCompositionEnd:void 0,onFocus:(je=>{P?.(je),ae&&U.handleFocus()}),onBlur:(je=>{V?.(je),ae&&U.handleBlur()}),onKeyDown:(je=>{const st=(je.key==="Tab"&&!je.shiftKey||je.key===" ")&&!je.nativeEvent.isComposing;if(d&&st&&!b&&!v&&!(je.currentTarget.value??"").trim()){je.preventDefault();const ft=je.currentTarget;it||(ft.value=d,nt(d.length)),l?.(d);return}ae&&je.key==="Enter"&&!je.nativeEvent.isComposing&&U.activeIdx>=0?je.preventDefault():I&&je.key==="Enter"&&!je.nativeEvent.isComposing&&(je.preventDefault(),I()),T?.(je),ae&&U.handleKeyDown(je)})},pt=S&&!v&&!b&&Te>0,Yt=()=>f?n.jsx("textarea",{..._t,className:"text-field__input text-field__input--auto body-2",rows:1}):B?n.jsx("textarea",{..._t,className:"text-field__input text-field__input--textarea body-2",rows:k}):n.jsx("input",{..._t,type:ot,className:"text-field__input body-2"}),kt=w==="display"&&!f&&!B&&!!ve,ct=()=>n.jsxs(n.Fragment,{children:[Yt(),kt&&n.jsx("span",{className:"text-field__placeholder","aria-hidden":"true",children:ve})]});return n.jsxs("div",{ref:le,className:gt,children:[i&&n.jsxs("label",{htmlFor:ce,className:"text-field__label caption-1",children:[i,p&&n.jsx("span",{className:"text-field__required",children:"*"})]}),n.jsxs("div",{className:"text-field__wrap",children:[E&&n.jsx("span",{className:"text-field__icon text-field__icon--left",children:n.jsx(lt,{icon:E,label:"",className:"",svgClassName:"text-field__icon-svg",size:ut})}),ct(),x!=null&&$&&n.jsxs("span",{className:`text-field__count caption-2${rt?" text-field__count--over":""}`,children:[Te,"/",x]}),pt&&n.jsx(me,{size:24,type:"dot",icon:"x",variant:"transparent-gray",useBorder:!1,className:"text-field__clear",ariaLabel:ue("textField.clearAriaLabel","\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30"),htmlType:"button",onMouseDown:je=>{je.preventDefault()},onClick:()=>{!it&&O.current&&(O.current.value="",nt(0)),l?.("")},tabIndex:-1}),Be&&n.jsx(me,{size:24,type:"dot",icon:De?"eye-off":"eye",variant:"transparent-gray",useBorder:!1,className:"text-field__reveal",ariaLabel:ue("textField.showPassword","\uBE44\uBC00\uBC88\uD638 \uBCF4\uAE30"),"aria-pressed":De,htmlType:"button",disabled:v,onMouseDown:je=>{je.preventDefault()},onClick:()=>ze(je=>!je)}),N&&!pt&&n.jsx("span",{className:"text-field__icon text-field__icon--right",children:n.jsx(lt,{icon:N,label:"",className:"",svgClassName:"text-field__icon-svg",size:ut})})]}),!!ae&&n.jsx("span",{className:"text-field__status",role:"status","aria-live":"polite",children:U.open&&(t??"").length>0&&U.filtered.length===0?ue("common.noMatches","\uB9DE\uB294 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"):""}),q&&(typeof document>"u"?null:bn.createPortal(n.jsx("ul",{id:U.listId,className:"text-field__suggestions",role:"listbox",style:re??{position:"fixed",visibility:"hidden"},"data-tooltip-ignore":!0,children:U.filtered.map((je,st)=>n.jsx("li",{id:`${U.listId}-option-${st}`,role:"option","aria-selected":st===U.activeIdx,className:`text-field__suggestion body-2${st===U.activeIdx?" is-active":""}`,onMouseDown:ft=>ft.preventDefault(),onClick:()=>{U.handleSelect(je),O.current?.focus()},children:typeof je=="string"?je:n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"text-field__suggestion-label",children:je.label}),je.hint&&n.jsx("span",{className:"text-field__suggestion-hint caption-1",children:je.hint})]})},typeof je=="string"?`${je}-${st}`:je.id))}),document.body)),(y||_)&&n.jsx("div",{className:"text-field__footer",children:n.jsx("span",{id:X,className:"text-field__helper caption-1",role:_?"alert":void 0,children:_||y})})]})}const Dc=()=>{};function dn(e){const t=o.useId(),r=wn()??Cn;if(!("variant"in e)){const{label:g,sub:w,onClick:A,children:f,align:B="horizontal",icon:k,useFullWidth:E=!1,required:N=!1}=e,S=j=>{A&&j.target===j.currentTarget&&(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),A())};return n.jsxs("div",{className:we("panel-row",B==="vertical"?"panel-row--vertical":"",E?"panel-row--label-fixed panel-row--fill":"",A?"panel-row--clickable":""),onClick:A,onKeyDown:A?S:void 0,role:A?"button":void 0,tabIndex:A?0:void 0,children:[k!=null&&n.jsx("div",{className:"panel-row__icon",children:k}),g!=null&&n.jsxs("div",{className:"panel-row__left",children:[n.jsxs("div",{className:"panel-row__label body-3",children:[g,N&&n.jsx("span",{className:"required-mark",children:"*"})]}),w&&n.jsx("div",{className:"panel-row__sub caption-1",children:w})]}),n.jsx("div",{className:"panel-row__right",children:f})]})}if(e.variant==="description")return n.jsx("div",{className:"panel-row panel-row--block",children:n.jsx("p",{className:"panel-row__description body-3",children:e.children})});if(e.variant==="empty")return n.jsx("div",{className:"panel-row panel-row--empty body-3",children:e.children});if(e.variant==="loading")return n.jsx("div",{className:"panel-row panel-row--loading",children:n.jsx(Nr,{size:28})});if(e.variant==="custom"&&!e.label)return n.jsx("div",{className:"panel-row panel-row--block",children:e.children});const{variant:a,label:s,sub:l,onClick:i,required:u,error:c,align:p="horizontal",useFullWidth:h=!1,icon:d}=e,m=a==="button"?void 0:i;let C=null;const v=a==="toggle"?`panel-toggle-${t}`:void 0,b=c?`panel-error-${t}`:void 0,_=`panel-helper-${t}`;if(a==="toggle"){const g=e;C=n.jsx(Bc,{checked:g.checked,onChange:g.onChange,id:v})}else if(a==="segmented"){const g=e;C=n.jsx(kn,{options:g.options,value:g.value,onChange:g.onChange,size:g.size??r,ariaLabel:s})}else if(a==="dropdown"){const g=e,w=g.dropdowns?.length?n.jsx("div",{className:`panel-row__dropdown-group${h?" panel-row__dropdown-group--full":""}`,children:g.dropdowns.map((A,f)=>n.jsx("div",{className:h?"panel-row__dropdown-item--full":void 0,children:n.jsx(An,{options:A.options,value:A.value,onChange:A.onChange,size:r,placeholder:A.placeholder,block:h,error:!!c,ariaDescribedBy:b,ariaLabel:A.ariaLabel??([s,A.placeholder].filter(Boolean).join(" ")||void 0)})},f))}):n.jsx(An,{options:g.options??[],value:g.value??"",onChange:g.onChange??Dc,size:r,block:h,error:!!c,ariaLabel:s,ariaDescribedBy:b});C=c?n.jsxs("div",{className:`panel-row__dropdown-error-wrap${h?" panel-row__dropdown-error-wrap--full":""}`,children:[w,n.jsx("span",{id:b,className:"caption-1 panel-row__error",role:"alert",children:c})]}):w}else if(a==="button"){const g=e;g.buttons?.length?C=n.jsx("div",{className:"panel-row__button-group",children:g.buttons.map((w,A)=>n.jsx(me,{htmlType:"button",size:w.btnSize??r,variant:w.btnVariant??"default",disabled:w.disabled,onClick:w.onClick,children:w.label},A))}):C=n.jsx(me,{htmlType:"button",size:g.btnSize??r,variant:g.btnVariant??"default",disabled:g.disabled,onClick:g.onClick,children:g.buttonLabel})}else if(a==="text"){const g=e;C=n.jsx("span",{className:`panel-row__text body-2${h?" panel-row__text--full":""}`,style:g.valueColor?{color:g.valueColor}:void 0,children:g.value})}else if(a==="input"){const g=e;C=n.jsxs("div",{className:`panel-row__input-wrap${h?" panel-row__input-wrap--full":""}`,children:[n.jsx(Un,{size:r,value:g.value,onChange:g.onChange??Dc,onKeyDown:g.onKeyDown,onEnter:g.onEnter,placeholder:g.placeholder,ghostText:g.ghostText,inputMode:g.inputMode,readOnly:g.readOnly,disabled:g.disabled,type:g.type,autoComplete:g.autoComplete,revealable:g.revealable,autoCapitalize:g.autoCapitalize,autoCorrect:g.autoCorrect,maxLength:g.maxLength,showCount:g.showCount,multiline:g.multiline,rows:g.rows,fullWidth:h,error:c,ariaLabel:s,required:u,ariaDescribedBy:g.helperText?_:void 0}),g.helperText&&n.jsx("div",{id:_,className:"panel-row__helper caption-1",children:g.helperText})]})}else a==="custom"&&(C=e.children);c&&a!=="input"&&a!=="dropdown"&&(C=n.jsxs("div",{className:`panel-row__dropdown-error-wrap${h?" panel-row__dropdown-error-wrap--full":""}`,children:[C,n.jsx("span",{id:b,className:"caption-1 panel-row__error",role:"alert",children:c})]}));const y=a==="input"||a==="dropdown"||(a==="text"||a==="custom")&&h,x=g=>{m&&g.target===g.currentTarget&&(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),m())};return n.jsxs("div",{className:we("panel-row",p==="vertical"?"panel-row--vertical":"",y?"panel-row--label-fixed":"",a==="text"?"panel-row--text":"",m?"panel-row--clickable":""),onClick:m,onKeyDown:m?x:void 0,role:m?"button":void 0,tabIndex:m?0:void 0,children:[d!=null&&n.jsx("div",{className:"panel-row__icon",children:d}),n.jsxs("div",{className:"panel-row__left",children:[v?n.jsxs("label",{htmlFor:v,className:"panel-row__label body-3",children:[s,u&&n.jsx("span",{className:"required-mark",children:"*"})]}):n.jsxs("div",{className:"panel-row__label body-3",children:[s,u&&n.jsx("span",{className:"required-mark",children:"*"})]}),l&&n.jsx("div",{className:"panel-row__sub caption-1",children:l})]}),n.jsx("div",{className:"panel-row__right",children:C})]})}function Sc(e){const t=e.productName||e.brand,r=[e.brand,e.fitType].filter(a=>!!a&&a!==t);return[...new Set(r)].join(" \xB7 ")}function e4({devices:e,onRelease:t,emptyLabel:r}){const{t:a,i18n:s}=Ee.useTranslation();return n.jsx("div",{className:"panel-row panel-row--device",children:["left","right"].map(l=>{const i=e[l],u=l==="left"?a("device.direction.left","\uC88C"):a("device.direction.right","\uC6B0");return n.jsxs("div",{className:"panel-row__device-column",children:[n.jsxs("div",{className:"panel-row__device-head",children:[n.jsx("span",{className:"panel-row__device-side body-2b",children:u}),i&&t&&n.jsx(me,{htmlType:"button",size:32,type:"dot",icon:"x",ariaLabel:`${u} ${a("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C")}`,showTooltipInfo:a("customers.device.unwear","\uCC29\uC6A9 \uD574\uC81C"),onClick:()=>t(l)})]}),i?n.jsxs("div",{className:"panel-row__device-info",children:[n.jsxs("span",{className:"panel-row__device-kind",children:[i.device&&n.jsx(cn,{size:"small",variant:Ac(i.device),fill:"soft",label:Nc(i.device,a)}),Sc(i)&&n.jsx("span",{className:"panel-row__device-detail body-3",children:Sc(i)})]}),n.jsx("span",{className:"panel-row__device-name body-2b",children:i.productName||i.brand}),ys(i.wornYear,i.wornMonth,i.wornDay,s.language)&&n.jsx("span",{className:"panel-row__device-date caption-1",children:a("customers.device.wornSince",{date:ys(i.wornYear,i.wornMonth,i.wornDay,s.language)})})]}):n.jsx("span",{className:"panel-row__device-empty body-3",children:r??a("customers.device.notRegistered","\uBBF8\uB4F1\uB85D")})]},l)})})}function Tr({title:e,titleLevel:t=2,icon:r,disc:a,actions:s,minHeight:l,maxWidth:i,className:u,scrollable:c,scrollbarGutter:p="stable",compactRows:h=!1,useBorder:d=!0,useBg:m=!0,labelWidth:C,form:v=!1,loading:b,empty:_,children:y}){const x=we("panel",v?"panel--form":"",l!==void 0?"panel--fill":"",d?"":"panel--no-border",m?"":"panel--no-bg",h?"panel--compact-rows":"",u),g={};l!==void 0&&(g.minHeight=l),i!==void 0&&(g.maxWidth=typeof i=="number"?`${i}px`:i),C!==void 0&&(g["--panel-label-width"]=typeof C=="number"?`${C}px`:C);const w=t?`h${t}`:"div",A=d?Cn:48;return n.jsx(ts.Provider,{value:A,children:n.jsxs("div",{className:x,style:Object.keys(g).length?g:void 0,children:[(!!e||a!=null)&&n.jsxs("div",{className:we("panel__header",a!=null?"panel__header--with-disc":""),children:[r&&n.jsx(lt,{icon:r,label:typeof e=="string"?e:void 0,className:"panel__icon"}),n.jsxs("div",{className:"panel__title-group",children:[!!e&&n.jsx(w,{className:`panel__title ${a!=null?"body-3b":"h5b"}`,children:e}),a!=null&&n.jsx("p",{className:"panel__disc caption-1",children:a})]}),s&&n.jsx("div",{className:"panel__actions",children:s})]}),b?n.jsx(dn,{variant:"loading"}):_!=null&&o.Children.toArray(y).length===0?n.jsx(dn,{variant:"empty",children:_}):c?n.jsx("div",{className:we("panel__body--scroll",p==="stable"&&"panel__body--gutter-stable"),children:y}):y]})})}function t4({cols:e=2,layout:t="grid",gap:r=1,collapseAt:a,className:s,style:l,children:i}){const u=o.useRef(null),[c,p]=o.useState();o.useEffect(()=>{const d=u.current;if(a===void 0||!d||(p(d.clientWidth),typeof ResizeObserver>"u"))return;const m=new ResizeObserver(([C])=>p(C.contentRect.width));return m.observe(d),()=>m.disconnect()},[a]);const h=a!==void 0&&c!==void 0&&c<=a;return n.jsx("div",{ref:u,className:we("panel-grid",t==="columns"&&"panel-grid--columns",s),style:{"--panel-grid-cols":h?1:e,"--panel-grid-gap":typeof r=="number"?`${r}px`:r,...l},children:i})}function Ga(e){const{title:t,subtitle:r,message:a,topContent:s,details:l,children:i,confirmLabel:u,cancelLabel:c,hideCancel:p=!1,extraAction:h,confirmVariant:d="main",confirmDisabled:m=!1,onConfirm:C,closeOnConfirm:v=!0,onClose:b,inline:_,width:y,size:x,className:g,initialFocus:w="close"}=e,{t:A}=Ee.useTranslation(),f=o.useRef(null);o.useEffect(()=>{if(_||w==="close")return;const j=f.current?.closest(".popup-panel"),$=Array.from(j?.querySelectorAll(".popup-footer--buttons button")??[]),W=h&&(h.placement??"start")==="start"?1:0,P=w==="confirm"?$[$.length-1]:p?void 0:$[W];P&&!P.disabled&&P.focus()},[]);const B=o.useRef(!1),[k,E]=o.useState(!1),N=j=>{let $=!1;return{close:()=>{$=!0,j()},didClose:()=>$}},S=async j=>{if(B.current)return;B.current=!0;const $=typeof document<"u"?document.activeElement:null;E(!0);let W=!1;try{W=await j()}catch(P){typeof console<"u"&&console.error(P)}finally{W||(B.current=!1,E(!1),requestAnimationFrame(()=>{const P=document.activeElement;(!P||P===document.body)&&$?.isConnected&&$.focus()}))}};return n.jsxs(qn,{title:t,subtitle:r,onClose:b,closeDisabled:k,inline:_,width:y??x??"small",className:we("confirm-popup",s!=null&&"confirm-popup--has-top",g),buttons:(()=>{const j=[...h?[{label:h.label,variant:h.variant??"default",disabled:h.disabled||k,onClick:async({closeWithAnimation:P})=>{await S(async()=>{const V=N(P);await h.onClick(V.close);const T=h.closeOnClick??!0;return T&&P(),T||V.didClose()})}}]:[]],$=[...p?[]:[{label:c??A("common.cancel","\uCDE8\uC18C"),variant:"default",disabled:k,onClick:({closeWithAnimation:P})=>P()}]],W={label:u??A("common.confirm","\uD655\uC778"),variant:d,disabled:m||k,onClick:async({closeWithAnimation:P})=>{await S(async()=>{const V=N(P);return await C(V.close),v&&P(),v||V.didClose()})}};return(h?.placement??"start")==="beforeConfirm"?[...$,...j,W]:[...j,...$,W]})(),children:[s!=null&&n.jsx("div",{className:"confirm-popup__top",children:s}),l&&l.length>0&&n.jsx(Tr,{children:l.map((j,$)=>n.jsx(dn,{label:j.label,children:n.jsx("span",{className:"panel-row__text body-2",children:j.value})},$))}),n.jsx("p",{ref:f,className:"body-2 confirm-popup__message",hidden:a==null,children:a}),i]})}function n4({value:e,onChange:t,canAdd:r,error:a,onAdd:s,onClose:l,maxLength:i}){const{t:u}=Ee.useTranslation(),c=u("folder.add.placeholder","\uD3F4\uB354 \uC774\uB984");return n.jsx(Ga,{title:u("folder.add.title","\uD3F4\uB354 \uCD94\uAC00"),subtitle:u("folder.add.sub","\uC0C8 \uD3F4\uB354 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694."),confirmLabel:u("common.add","\uCD94\uAC00"),confirmDisabled:!r,closeOnConfirm:!1,onConfirm:p=>s(p),onClose:l,children:n.jsx(Tr,{useBorder:!1,children:n.jsx(dn,{useFullWidth:!0,children:n.jsx(Un,{autoFocus:!0,value:e,onChange:t,placeholder:c,ariaLabel:c,maxLength:i,fullWidth:!0,error:a,onEnter:()=>{r&&s(l)}})})})})}function r4({path:e,title:t,message:r,onConfirm:a,onClose:s}){const{t:l}=Ee.useTranslation(),i=Qr(e);return n.jsx(Ga,{title:t(i),message:r(i),confirmLabel:l("common.delete","\uC0AD\uC81C"),confirmVariant:"danger",onConfirm:()=>a(e),onClose:s})}function Tc({title:e,count:t,titleLevel:r=3,actions:a,empty:s=!1,emptyContent:l,spread:i=!1,className:u,children:c}){const p=`h${r}`;return n.jsxs("section",{className:we("card-section",u),children:[e!=null&&n.jsxs("header",{className:"card-section__head",children:[n.jsx(p,{className:"card-section__title h5b",children:e}),t!=null&&n.jsx("span",{className:"card-section__count body-3b",children:t}),a!=null&&n.jsx("span",{className:"card-section__actions",children:a})]}),s?n.jsx("div",{className:"card-section__empty body-3",children:l}):n.jsx("div",{className:we("card-section__list",i&&"card-section__list--spread"),children:c})]})}function a4({bundles:e,noneKey:t,noneLabel:r,titleLevel:a=2,rowRender:s}){return n.jsx(n.Fragment,{children:e.filter(([,l])=>l.length>0).map(([l,i])=>n.jsx(Tc,{titleLevel:a,title:l===t?r:l.split("/").join(" \u203A "),count:i.length,children:i.map((u,c)=>s(u,c))},l))})}const Mc=160;function o4({children:e,top:t,bottom:r,mode:a="top",contentFull:s=!1,closing:l=!1,onClose:i,backClosable:u=!0,beforeClose:c,className:p,"aria-label":h}){zu(!!i&&u&&!l,()=>{if(c&&c()===!1)return!1;i?.()});const d=o.useRef(null),m=o.useRef(typeof document>"u"?null:document.activeElement);return o.useEffect(()=>{const C=m.current,v=d.current;return v&&!v.contains(document.activeElement)&&(v.querySelector(jn)??v).focus(),()=>{C?.focus?.()}},[]),$a(d),n.jsx("div",{className:we("page-popup",l&&"page-popup--closing",p),role:"dialog","aria-modal":"true","aria-label":h,children:n.jsxs("div",{className:"page-popup__panel",ref:d,tabIndex:-1,children:[t&&n.jsx("div",{className:"page-popup__top",children:t}),n.jsx("div",{className:"page-popup__scroll",children:n.jsx("div",{className:we("page-popup__content",a==="center"?"page-popup__content--center":"page-popup__content--top",s&&"page-popup__content--full"),children:e})}),r&&n.jsx("div",{className:"page-popup__bottom",children:r})]})})}function s4(e){const[t,r]=o.useState(!1),a=o.useRef(!1),s=o.useRef(null),l=o.useCallback(()=>{a.current||(a.current=!0,r(!0),s.current=setTimeout(()=>{s.current=null;try{e()}catch(i){a.current=!1,r(!1),console.error(i)}},Q2()?0:Mc))},[e]);return o.useEffect(()=>_c(),[]),o.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),{closing:t,handleClose:l}}function Ka(e){return String(e)}const Ya=["o","triangle","x"];function $c(e,t){return e===t?null:t}const vs={o:"circle",triangle:"triangle",x:"x"},xs={o:"main",triangle:"warn",x:"danger"},l4=24,i4=2,_s=3.5,u4=.8;function c4(e){if(!(e>0))return _s;const t=u4*l4/e;return Math.min(_s,Math.max(i4,t))}function d4(e){let t=0,r=0,a=0;for(const l of Object.values(e))l==="o"?t++:l==="triangle"?r++:l==="x"&&a++;const s=t+r+a;return{marked:s,o:t,triangle:r,x:a,rate:s===0?null:(t+r*.5)/s}}function ws(e){const t={};for(const[r,a]of Object.entries(e))(a==="o"||a==="triangle"||a==="x")&&(t[r]=a);return t}function Lc(e){const t=[];let r=0;for(const a of e)t.push(r),r+=a;return t}function p4(e,t){return!t&&e>0}function Rc({mark:e,label:t}){return n.jsx("span",{className:"mark-icon",...t?{role:"img","aria-label":t}:{"aria-hidden":!0},children:n.jsx(Sn,{size:24,position:"inline",className:`mark-icon__badge mark-icon__badge--${xs[e]}`,children:n.jsx(lt,{icon:vs[e],size:14})})})}function h4({o:e,triangle:t,x:r,label:a,className:s}){const l=[["o",e],["triangle",t],["x",r]];return n.jsx("span",{className:we("score-mark-counts",s),children:l.map(([i,u])=>n.jsxs("span",{className:"score-mark-counts__one",children:[n.jsx(Rc,{mark:i,label:a?a(i,u):""}),n.jsx("span",{className:"score-mark-counts__num",children:u})]},i))})}function m4({children:e}){return Mv(!0),n.jsx(n.Fragment,{children:e})}var f4=Object.defineProperty,C4=(e,t,r)=>t in e?f4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pc=(e,t,r)=>C4(e,typeof t!="symbol"?t+"":t,r);let g4=class extends o.Component{constructor(){super(...arguments),Pc(this,"state",{hasError:!1}),Pc(this,"releaseHealth")}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,r){this.props.onError?.(t,r),console.error(t,"[ErrorBoundary]",r.componentStack)}componentDidMount(){this.releaseHealth=this.props.registerHealth?.(()=>this.state.hasError)}componentWillUnmount(){this.releaseHealth?.()}componentDidUpdate(t){if(!this.state.hasError)return;const r=t.resetKeys,a=this.props.resetKeys;!r||!a||(r.length!==a.length||r.some((s,l)=>!Object.is(s,a[l])))&&this.setState({hasError:!1,error:void 0})}render(){if(!this.state.hasError)return this.props.children;const t=this.state.error;return this.props.fallback?.({error:t,retry:()=>this.setState({hasError:!1,error:void 0}),reload:this.props.reload??(()=>{window.location.reload()}),staleChunk:P2(t)})??null}};const b4={small:14,medium:20,large:28};function y4({value:e,onChange:t,max:r=5,readOnly:a=!1,size:s="medium",ariaLabel:l,className:i=""}){const{t:u}=Ee.useTranslation(),c=a||!t,[p,h]=o.useState(null),d=c?e:Number.isFinite(e)?Math.round(e):0,m=p??d,C=b4[s],v=f=>{f!==e&&t?.(f)},b=f=>{c||v(f)},_=f=>{c||ur()||h(f)},y=o.useRef(null),x=f=>{const B=Math.min(r,Math.max(1,f));v(B),Array.from(y.current?.querySelectorAll("[data-star]")??[]).find(k=>k.dataset.star===String(B))?.focus()},g=f=>{if(!c){switch(f.key){case"ArrowRight":case"ArrowUp":x((d||0)+1);break;case"ArrowLeft":case"ArrowDown":x((d||1)-1);break;case"Home":x(1);break;case"End":x(r);break;default:return}f.preventDefault()}},w=d>=1&&d<=r?Math.round(d):1,A=()=>{c||h(null)};return n.jsx("div",{className:`rating rating--${s}${c?" rating--readOnly":""} ${i}`.trim(),ref:y,onKeyDown:g,role:c?"img":"radiogroup","aria-label":c?u("rating.valueLabel",{value:e,max:r}):l??u("rating.groupLabel","\uBCC4\uC810"),onMouseLeave:A,onPointerUp:f=>{f.pointerType==="touch"&&A()},onPointerCancel:f=>{f.pointerType==="touch"&&A()},children:Array.from({length:r},(f,B)=>{const k=B+1,E=Math.max(0,Math.min(1,m-B)),N=E>0&&E<1,S=n.jsxs("span",{className:"rating__star-wrap",children:[n.jsx(lt,{icon:"star",size:C,className:"rating__star rating__star--empty"}),E>0&&n.jsx("span",{className:`rating__star-fill${N?" rating__star-fill--half":""}`,style:N?{width:`${E*100}%`}:void 0,children:n.jsx(lt,{icon:"star",size:C,className:"rating__star rating__star--filled"})})]});return c?n.jsx("span",{className:"rating__item","aria-hidden":"true",children:S},k):n.jsx("button",{type:"button",className:"rating__item rating__item--interactive",role:"radio","aria-checked":d===k,"aria-label":u("rating.starLabel",{n:k}),"data-star":k,tabIndex:k===w?0:-1,onClick:()=>b(k),onMouseEnter:()=>_(k),children:S},k)})})}const v4=20,x4=["#499cdf","#4dcdc0","#2fae9e","#e6b94e","#d9534f","#e06b68","#bfc7d1"];function _4({value:e,onChange:t,palette:r=x4,size:a,className:s="",ariaLabel:l}){const i=wn(),u=a??i??Cn,{t:c}=Ee.useTranslation();return n.jsx("div",{className:`color-picker ${s}`.trim(),role:"group","aria-label":l,children:r.map(p=>{const h=e?.toLowerCase()===p.toLowerCase();return n.jsx("button",{type:"button",className:`color-picker__swatch color-picker__swatch--${u}`,style:{backgroundColor:p},onClick:()=>t(p),"aria-pressed":h,"aria-label":h?`${p} ${c("colorPicker.selected","\uC120\uD0DD\uB428")}`:p,children:h&&n.jsx(lt,{icon:"check",size:v4,className:"color-picker__check"})},p)})})}function Fc({icon:e,label:t,tooltip:r,wrapperStyle:a,color:s,bgColor:l,useHover:i=!0,iconSize:u="medium"}){const{t:c}=Ee.useTranslation(),p=u==="small",h=we("category-icon",p?"category-icon--small":""),d=p?16:20,m=o.useRef(null),[C,v]=o.useState(!1),b=o.useMemo(()=>{const k=a&&typeof a=="object"?{...a}:{};return!s&&!l?k:{...k,...s?{color:s,"--t-item-fg":s}:{},...l?{"--t-item-bg":l}:{}}},[a,s,l]),_=r||t,y=i&&!!_,[x,g]=o.useState(null);o.useLayoutEffect(()=>{C&&g(m.current?.getBoundingClientRect()??null)},[C]),o.useEffect(()=>{if(!i&&C)try{v(!1)}catch{}},[i,C]),o.useEffect(()=>{if(!C)return;const k=E=>{const N=m.current;if(!N)return;const S=E.target;S&&!N.contains(S)&&v(!1)};return document.addEventListener("pointerdown",k,!0),()=>document.removeEventListener("pointerdown",k,!0)},[C]);const w=o.useCallback(()=>{i&&v(!0)},[i]),A=o.useCallback(()=>{i&&v(!1)},[i]),f=o.useCallback(()=>v(!1),[]),B=o.useCallback(k=>{if(k.key==="Escape"){v(!1);return}(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),v(E=>!E))},[]);return n.jsxs("span",{ref:m,className:we("category-icon__wrap",y&&"category-icon__wrap--interactive"),onPointerEnter:w,onPointerLeave:A,onFocus:w,onBlur:A,onKeyDown:B,role:_?"button":void 0,tabIndex:_?0:void 0,"aria-label":typeof _=="string"?c("common.descriptionFor",{name:_,defaultValue:`${_} \uC124\uBA85`}):void 0,"aria-haspopup":!!_,"aria-expanded":C,"data-tooltip-ignore":!0,children:[n.jsx(lt,{icon:e,label:t,className:h,imgClassName:"category-icon__image",maskClassName:"category-icon__mask",svgClassName:"category-icon__svg",wrapperStyle:b,size:d}),C&&_&&n.jsx(zn,{anchorRect:x,text:typeof _=="string"?_:void 0,offset:8,onClose:f,className:"category-icon__tooltip",ariaLabel:typeof _=="string"?_:void 0})]})}let rr=null;function ma(e){if(rr&&rr!==e)try{rr()}catch{}return rr=e,()=>{rr===e&&(rr=null)}}function Za(e){if(rr===e){rr=null;try{e()}catch{}}}function fa(e,t){let r=()=>{};const a=new Promise(u=>{r=u});if(typeof e!="string"||e.trim()===""){Tt("one-shot-empty-url","[core] playOneShot \uC5D0 \uBE48 \uC8FC\uC18C\uAC00 \uC654\uB2E4 \u2014 \uC548 \uD2BC\uB2E4. \uBD80\uB974\uB294 \uCABD\uC774 \uC8FC\uC18C\uB97C \uC5BB\uAE30 \uC804\uC5D0 \uBD88\uB800\uB2E4.",new Error("playOneShot(empty)").stack),r(!1);try{t?.(!1)}catch{}return{el:{},stop:()=>{},done:a}}let s=!1;const l=u=>{if(!s){s=!0;try{t?.(u)}catch{}r(u)}};let i;try{i=new Audio(e)}catch{return l(!1),{el:{},stop:()=>{},done:a}}i.onended=()=>l(!0),i.onerror=()=>l(!1);try{i.play().catch(()=>l(!1))}catch{l(!1)}return{el:i,stop:()=>{try{i.pause()}catch{}l(!1)},done:a}}function w4(e,t){if(!e)return{previewCodes:[],previewBucket:null};const r=e,a=i=>i.map(u=>u?.contextCode||u?.context_code).filter(Boolean).map(String);if(t==="LISTEN_IN_NOISE"){const i=r.sentences||r.items||[],u=Array.isArray(i)&&i.length>0?a(i):[];return u.length===0&&(r.contextCode||r.context_code)&&u.push(String(r.contextCode||r.context_code)),{previewCodes:u,previewBucket:"LIN_D"}}if(t==="SHORT_STORY"){const i=r.items||r.sentences||[],u=Array.isArray(i)&&i.length>0?a(i):[];return u.length===0&&(r.contextCode||r.context_code)&&u.push(String(r.contextCode||r.context_code)),{previewCodes:u,previewBucket:"SHORT_S"}}if(t==="LONG_STORY"){const i=r.items||r.sentences||[],u=Array.isArray(i)&&i.length>0?a(i):[];return u.length===0&&(r.contextCode||r.context_code)&&u.push(String(r.contextCode||r.context_code)),{previewCodes:u,previewBucket:"LONG"}}if(t==="ORDERING_SENTENCE"){const i=r.sentences||r.items||[],u=Array.isArray(i)&&i.length>0?a(i):[];return u.length===0&&(r.contextCode||r.context_code)&&u.push(String(r.contextCode||r.context_code)),{previewCodes:u,previewBucket:"LIN_D"}}const s=r.sentences||r.items||[],l=a(Array.isArray(s)?s:[]);return l.length===0&&(r.contextCode||r.context_code)&&l.push(String(r.contextCode||r.context_code)),{previewCodes:l,previewBucket:null}}function B4(e,t){const[r,a]=o.useState(!1),[s,l]=o.useState(-1),[i,u]=o.useState({key:"",urls:[]}),c=o.useRef(null),p=o.useRef(!1),h=o.useRef(null),d=o.useRef(null),[m,C]=o.useState(!1),v=o.useRef([]),{previewCodes:b,previewBucket:_}=w4(e,t),y=`${b.join(",")}|${_??""}`,x=o.useMemo(()=>i.key===y?i.urls:[],[i,y]);o.useEffect(()=>{if(!b.length)return;let w=!1;return(async()=>{const A=[],f=[];for(const B of b)try{const k=ci(B,_);if(!k){A.push("");continue}let E=null;try{E=await di(k)}catch{}if(!E)try{const N=await pi(k);N&&(E=URL.createObjectURL(N),f.push(E))}catch{}A.push(E??"")}catch{A.push("")}w?f.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}):(v.current.forEach(B=>{try{URL.revokeObjectURL(B)}catch{}}),v.current=f,u({key:y,urls:A}))})(),()=>{w=!0}},[b.join(","),_]),o.useEffect(()=>()=>{v.current.forEach(w=>{try{URL.revokeObjectURL(w)}catch{}}),v.current=[]},[]);const g=o.useCallback(async w=>{if(w.stopPropagation(),w.preventDefault(),p.current){h.current&&Za(h.current),p.current=!1;try{c.current?.pause()}catch{}a(!1),l(-1);return}if(!x.filter(Boolean).length)return;let A=null;const f=()=>{p.current=!1,A?.stop()};h.current=f;const B=ma(f);p.current=!0,a(!0);for(let k=0;k<x.length&&p.current;k++){const E=x[k];if(E&&(l(k),A=fa(E),c.current=A.el,!await A.done))break}B(),h.current===f&&(h.current=null,p.current=!1,a(!1),l(-1))},[x]);return o.useEffect(()=>()=>{h.current&&Za(h.current),p.current=!1;try{c.current?.pause()}catch{}c.current=null},[]),{playing:r,playingIndex:s,previewUrls:x,previewHover:m,setPreviewHover:C,previewBtnRef:d,handlePreview:g}}const k4=e=>{if(!e)return[];const t=typeof e.context=="string"&&e.context.trim()||typeof e.sentence=="string"&&e.sentence.trim()||typeof e.text=="string"&&e.text.trim()||"";if(t)return[String(t)];const r=e.sentences||e.items||e.questions||[];return Array.isArray(r)&&r.length>0?r.map(a=>{if(typeof a=="string")return a;if(a&&typeof a=="object"){const s=a;return s.sentence||s.text||s.context||s.question||s.title||""}return""}).filter(a=>typeof a=="string"&&a.trim().length>0).map(a=>a.trim()):[]};function Bs(e){const{index:t,type:r,trainingData:a,ariaLabel:s,depth:l,renderPopup:i,completed:u,completedIds:c,selectedIds:p,tooltipText:h,useDescriptionTooltip:d=!1,onRemove:m,hideCheckBadge:C=!1,showTypeLabel:v=!1,onComplete:b,onSelect:_,onMore:y,countLabelOverride:x,size:g="square"}=e||{},{t:w}=Ee.useTranslation(),[A,f]=o.useState(!1),B=o.useRef(null),[k,E]=o.useState(!1);o.useEffect(()=>{B.current?.matches(":hover")&&E(!0)},[]);const{playing:N,playingIndex:S,previewUrls:j,previewHover:$,setPreviewHover:W,previewBtnRef:P,handlePreview:V}=B4(a,r?.key),T=o.useCallback(()=>{_?_():f(!0)},[_]),I=o.useCallback(()=>f(!1),[]),z=o.useCallback(()=>E(!0),[]),ie=o.useCallback(()=>E(!1),[]),ne=o.useCallback(()=>W(!0),[W]),F=o.useCallback(()=>W(!1),[W]),[G,ee]=o.useState(null);o.useLayoutEffect(()=>{$&&ee(P.current?.getBoundingClientRect()??null)},[$,P]);const[Z,L]=o.useState(null);o.useLayoutEffect(()=>{k&&!A&&d&&L(B.current?.getBoundingClientRect()??null)},[k,A,d]);const R=o.useCallback(Te=>{Te.target===Te.currentTarget&&(Te.key==="Enter"||Te.key===" ")&&(Te.preventDefault(),T())},[T]),D=a||null,H=o.useMemo(()=>{if(!d)return null;const Te=h?(Array.isArray(h)?h:[h]).filter(Boolean):null,Xe=Te&&Te.length>0?Te:k4(D);return Xe&&Xe.length>0?Xe:null},[d,h,D]),te=o.useCallback(Te=>{Te.stopPropagation(),m?.()},[m]),J=o.useCallback(Te=>Te.stopPropagation(),[]),ae=o.useCallback(Te=>{typeof b=="function"&&b(Te)},[b]),ue=u||(c&&a?.id!=null?c.has(String(a.id)):!1),Ne=!ue&&(p!=null&&a?.id!=null?p.has(String(a.id)):!1);Du("speechear.popup.close",I);const ce=Ri(),X=`${r?.label||""} ${t+1}`,O=D?.title||D?.name||X;let U=r?.icon,q,le="",re="";try{const Te=D?.category_0||D?.category_main_code||D?.category_main,Xe=D?.category_1||D?.category_sub_code||D?.category_sub,rt=ce.find(ut=>ut.key===Te);rt?.icon&&(U=rt.icon),!q&&rt?.color&&(q={"--t-item-fg":rt.color}),!q&&D?.iconColor&&(q={"--t-item-fg":D.iconColor}),le=rt?w(`topic.${rt.key}`,{defaultValue:rt.label||""}):"";try{const ut=rt?.subs?.find(gt=>gt.key===Xe);re=ut?w(`topic.sub.${ut.key}`,{defaultValue:ut.label||""}):""}catch{}}catch{}const se=re?`${le} / ${re}`:le||r?.label||O,ye=Te=>w("training.countQuestions",{n:Te,count:Te}),ke=Te=>w("training.countSentences",{n:Te,count:Te});let ve="";try{if(D)if(r?.key==="LISTEN_IN_NOISE"){let Te=0;Array.isArray(D.items)&&D.items.length>0?Te=D.items.length:Array.isArray(D.sentences)&&D.sentences.length>0?Te=D.sentences.length:D.sentences&&(Te=1),ve=ke(Te)}else if(r?.key==="SHORT_STORY"){let Te=1;Array.isArray(a?.items)?Te=a.items.length:Array.isArray(a?.raw&&a.raw?.items)?Te=a.raw.items.length:Array.isArray(D?.questions)?Te=D.questions.length:Array.isArray(D?.sentences)&&(Te=D.sentences.length),ve=ye(Te)}else if(r?.key==="LONG_STORY"){let Te=1;if(Array.isArray(D.items)&&D.items.length>0){const Xe=D.items.reduce((rt,ut)=>{const gt=ut.questionItems;return Array.isArray(gt)?rt+gt.length:Array.isArray(ut.questions)?rt+ut.questions.length:rt},0);Te=Xe>0?Xe:D.items.length}else Array.isArray(D.questions)&&D.questions.length>0?Te=D.questions.length:Array.isArray(D.sentences)&&D.sentences.length>0&&(Te=D.sentences.length);ve=ye(Te)}else if(r?.key==="ORDERING_SENTENCE"){let Te=1;Array.isArray(D.items)&&D.items.length>0?Te=D.items.length:Array.isArray(D.sentences)&&D.sentences.length>0&&(Te=D.sentences.length),ve=ke(Te)}else Array.isArray(D.items)&&(ve=D.items.length>0?ye(D.items.length):"")}catch{}const Ie=g==="row",xe=g==="list"||Ie,_e=g==="compact",Be=g==="small",De=Be&&r?.key?gy().find(Te=>Te.key===r.key):void 0,ze=De?Pi[De.key]:void 0,ot=De?ze?w(`trainingType.${ze}.title`,{defaultValue:De.label}):De.label??"":"",it=v&&r?.label&&r.label!==String(O)?String(r.label):Be&&ot&&ot!==String(O)?ot:"",Fe=!!it,qe=x!==void 0?x:ve,nt=[it,typeof O=="string"?O:"",qe].map(Te=>String(Te??"").trim()).filter(Boolean).join(" ");return n.jsxs(n.Fragment,{children:[n.jsxs("div",{ref:B,className:`training-block-button${xe?" training-block-button--list":""}${Ie?" training-block-button--row":""}${_e?" training-block-button--compact":""}${Be?" training-block-button--small":""}${ue?" training-block-button--completed":""}${Ne?" training-block-button--selected":""}${Fe&&!Be?" training-block-button--withType":""}${Be&&!Fe?" training-block-button--no-type-label":""}`,onClick:T,onPointerEnter:z,onPointerLeave:ie,role:"button",tabIndex:0,onKeyDown:R,"aria-label":typeof s=="string"?s:nt||void 0,title:!d&&h&&(Array.isArray(h)?h.filter(Boolean).join(`
842
842
  `):h)||void 0,children:[n.jsxs("div",{className:"training-block-button__left",children:[v&&r?.label&&r.label!==String(O)&&n.jsx("span",{className:"training-block-button__type-label caption-1",children:r.label}),Be&&ot&&ot!==String(O)&&n.jsx("span",{className:"training-block-button__type-label caption-2",children:ot}),n.jsx(Fc,{icon:U,label:O,tooltip:se,wrapperStyle:q,iconSize:Be||_e?"small":"medium"}),!C&&(ue||Ne)&&!(m&&k)&&n.jsx(Sn,{className:m?"training-block-button__check--removable":void 0,icon:"check",position:"top-left",size:32,"aria-label":ue?w("training.completed","\uD6C8\uB828 \uC644\uB8CC"):w("training.selected","\uC120\uD0DD\uB428")}),m&&n.jsx(Sn,{className:`training-block-button__remove${k?" is-hover":""}`,icon:"remove",position:"top-left",size:32,"aria-label":w("common.remove","\uC81C\uAC70"),onClick:te}),n.jsx("div",{className:`training-block-button__title ${_e?"body-3":Be?"body-3b":"h3"}`,children:String(O)}),n.jsxs("div",{className:"training-block-button__description",children:[qe?n.jsx("div",{className:`training-block-button__count ${Be?"caption-2":"caption-1"}`,children:qe}):null,n.jsx("div",{className:"training-block-button__chevron",children:n.jsx(lt,{icon:"chevron-right",label:w("training.next","\uB2E4\uC74C"),className:"training-block-button__chevron-icon",imgClassName:"training-block-button__chevron-icon-image",maskClassName:"training-block-button__chevron-icon-mask",svgClassName:"training-block-button__chevron-icon-svg",size:Be?12:20})})]}),(xe&&!Ie||Be)&&j.length>0&&n.jsx("div",{ref:P,className:"training-block-button__preview","data-tooltip-ignore":!0,onClick:J,onPointerEnter:ne,onPointerLeave:F,children:n.jsx(me,{htmlType:"button",size:Be?28:32,type:"dot",icon:N?"pause":"play",variant:Be?"transparent-lightGray":"default",useBorder:!1,selected:N,ariaLabel:String(O).trim()?N?w("training.stopFor",{name:O,defaultValue:`${O} \uC815\uC9C0`}):w("training.previewFor",{name:O,defaultValue:`${O} \uBBF8\uB9AC \uB4E3\uAE30`}):N?w("training.stop","\uC815\uC9C0"):w("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),onClick:V})})]}),y&&n.jsx("div",{className:"training-block-button__more","data-tooltip-ignore":!0,onClick:Te=>{Te.stopPropagation(),y(Te)},children:n.jsx(me,{htmlType:"button",size:40,type:"dot",icon:"more-horizontal",variant:"transparent-lightGray",useBorder:!1,ariaLabel:String(O).trim()?w("common.moreFor",{name:O}):w("common.more","\uB354\uBCF4\uAE30")})})]}),$&&n.jsx(zn,{anchorRect:G,text:N?w("training.stop","\uC815\uC9C0"):w("training.preview","\uBBF8\uB9AC \uB4E3\uAE30"),offset:8,onClose:F}),k&&!A&&d&&(H?n.jsx(er,{anchorRect:Z,items:H,activeIndex:S,onClose:ie}):D?.subTitle?n.jsx(zn,{anchorRect:Z,text:D.subTitle,offset:8,onClose:ie}):null),A&&i&&i({trainingData:D,typeKey:r?.key??"",onClose:I,onComplete:ae,popupTitle:String(O),popupSubTitle:r?.subTitle,depth:l!=null?String(l):void 0,popupIcon:U,popupIconTooltip:String(se),popupWrapperStyle:q})]})}const Ic=200;function A4(e){return e.itemId?(_y()[e.trainingType]??[]).find(t=>t?.id!=null&&String(t.id)===String(e.itemId))??null:null}function Oc({plan:e,groups:t,anchorRect:r,offset:a=12,onClose:s}){const{t:l}=Ee.useTranslation(),i=o.useMemo(()=>t?t.map((c,p)=>({key:c.key??c.type?.key??String(p),label:c.label,type:c.type,data:c.items??[]})).filter(c=>c.data.length>0):By(l).map(c=>{const p=(e?.items??[]).filter(h=>h.trainingType===c.key);return{key:c.key,label:c.label,type:c,pickedCount:p.length,data:p.map(A4).filter(h=>h!=null)}}).filter(c=>c.pickedCount>0),[t,e?.items,l]);if(i.length===0)return null;const u=n.jsx("div",{className:de("training-tooltip__box"),children:n.jsx("div",{className:de("training-tooltip__groups"),children:i.flatMap(({key:c,label:p,type:h,data:d},m)=>[m>0?n.jsx("div",{className:de("training-tooltip__divider")},`div-${c}`):null,n.jsxs("div",{className:de("training-tooltip__section"),children:[n.jsx("div",{className:de("training-tooltip__section-header"),children:n.jsx("span",{className:de("training-tooltip__type-label body-3b"),children:p})}),n.jsx("div",{className:de("training-tooltip__items"),children:d.map((C,v)=>n.jsx(Bs,{index:v,type:h,trainingData:C,size:"compact",hideCheckBadge:!0},String(C.id??v)))})]},c)])})});return r?n.jsx(sn,{anchorRect:r,offset:a,onClose:s,closeOnOutsideClick:!1,className:de("training-tooltip"),ariaLabel:l("tooltip.training","\uD6C8\uB828 \uC548\uB0B4"),children:u}):u}const N4=200;function E4({icon:e,count:t,title:r,plan:a,tooltip:s=!0,hoverAccent:l=!1,className:i="",onClick:u,onMouseEnter:c,onMouseLeave:p}){const h=!!u||!!c||s&&!!a,d=we("count-tile",h&&"count-tile--interactive",h&&l&&"count-tile--accent",u&&"count-tile--clickable",i),m=o.useRef(null),[C,v]=o.useState(null),b=o.useRef(null),_=o.useRef(null),y=!!(C&&a&&s),x=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),_.current&&(clearTimeout(_.current),_.current=null)},[]),g=o.useCallback(()=>{x(),v(null)},[x]),w=o.useCallback(()=>{!s||!a||(x(),b.current=setTimeout(()=>{b.current=null,v(m.current?.getBoundingClientRect()??null)},Ic))},[s,a,x]),A=o.useCallback(()=>{b.current&&(clearTimeout(b.current),b.current=null),!_.current&&(_.current=setTimeout(()=>{_.current=null,v(null)},N4))},[]);return o.useEffect(()=>()=>{x()},[x]),o.useEffect(()=>{(!s||!a)&&g()},[s,a,g]),o.useEffect(()=>{if(!y)return;const f=k=>k instanceof Element&&(m.current?.contains(k)||!!k.closest(".training-tooltip")),B=k=>{f(k.target)?x():A()};return document.addEventListener("pointerover",B,!0),()=>document.removeEventListener("pointerover",B,!0)},[y,x,A]),n.jsxs(n.Fragment,{children:[n.jsxs("div",{ref:m,className:d,onClick:u?f=>{g(),u(f)}:void 0,onKeyDown:u?f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.currentTarget.click())}:void 0,onPointerEnter:f=>{f.pointerType==="touch"||f.pointerType==="pen"?g():w()},onMouseEnter:c,onMouseLeave:f=>{A(),p?.(f)},role:u?"button":"img",tabIndex:u?0:void 0,"aria-label":`${r} ${t}`,children:[n.jsx(lt,{icon:e,size:20,className:"count-tile__icon"}),n.jsx("span",{className:"count-tile__count h5","aria-hidden":"true",children:t})]}),C&&a&&n.jsx(Oc,{plan:a,anchorRect:C,onClose:g})]})}function j4(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round","aria-hidden":!0,children:n.jsx("path",{d:"M6 6l12 12M18 6 6 18"})})}function D4({open:e,onClose:t,ariaLabel:r,title:a,children:s,size:l="md",closeOnBackdrop:i=!0,closeOnEscape:u=!0,showClose:c=!0,className:p,contentClassName:h}){const{t:d}=Ee.useTranslation(),m=o.useId(),C=o.useRef(null),v=o.useCallback(()=>t(),[t]);o.useEffect(()=>{if(!e)return;const x=document.activeElement,g=xc(),w=C.current;return Qo(w,x),w?.focus(),()=>{g();const A=document.activeElement;(!A||A===document.body||w&&w.contains(A))&&es(x)?.focus?.()}},[e]);const b=o.useRef(v),_=o.useRef(u);o.useEffect(()=>{b.current=v,_.current=u}),o.useEffect(()=>{if(e)return ir(()=>{_.current&&b.current()})},[e]);const y=o.useRef(!1);return $a(C,e),!e||typeof document>"u"?null:bn.createPortal(n.jsx("div",{className:we("dialog",p),onPointerDown:i?x=>{y.current=x.target===x.currentTarget}:void 0,onMouseDown:x=>{x.target===x.currentTarget&&x.preventDefault()},onClick:i?x=>{const g=y.current;y.current=!1,g&&x.target===x.currentTarget&&v()}:void 0,children:n.jsxs("div",{ref:C,role:"dialog","aria-modal":"true","aria-label":a?void 0:r,"aria-labelledby":a?m:void 0,tabIndex:-1,className:we("dialog__surface",`dialog__surface--${l}`,h),onClick:x=>x.stopPropagation(),children:[a?n.jsx("div",{className:"dialog__header",children:n.jsx("h2",{id:m,className:"dialog__title h4b",children:a})}):null,c?n.jsx("button",{type:"button",className:"dialog__close","aria-label":d("common.close","\uB2EB\uAE30"),onClick:v,children:n.jsx(j4,{})}):null,n.jsx("div",{className:"dialog__body",children:s})]})}),document.body)}function S4({columns:e,rows:t,rowKey:r,title:a,toolbar:s,empty:l,loading:i,caption:u,className:c=""}){const{t:p}=Ee.useTranslation(),h=!i&&t.length===0;return n.jsxs("div",{className:we("board",c),children:[a||s?n.jsxs("div",{className:"board__head",children:[a?n.jsx("h2",{className:"board__title",children:a}):n.jsx("span",{}),s?n.jsx("div",{className:"board__toolbar",children:s}):null]}):null,n.jsxs("table",{className:"board__table",children:[u?n.jsx("caption",{className:"board__caption",children:u}):null,n.jsx("thead",{children:n.jsx("tr",{children:e.map(d=>n.jsx("th",{scope:"col",className:we("board__th",`board__cell--${d.headerAlign??d.align??"left"}`),style:d.width?{width:d.width}:void 0,children:d.header},d.key))})}),n.jsx("tbody",{children:i?n.jsx("tr",{children:n.jsx("td",{className:"board__state",colSpan:e.length,children:i})}):h?n.jsx("tr",{children:n.jsx("td",{className:"board__state",colSpan:e.length,children:l??p("board.empty","\uB4F1\uB85D\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.")})}):t.map((d,m)=>n.jsx("tr",{className:"board__row",children:e.map(C=>n.jsx("td",{className:we("board__td",`board__cell--${C.align??"left"}`),children:C.render(d,m)},C.key))},r(d,m)))})]})]})}function T4({name:e,role:t,photo:r,media:a,credentials:s,size:l=190,className:i=""}){return n.jsxs("div",{className:we("person-card",i),children:[n.jsx("div",{className:"person-card__photo",style:{width:l,height:l},children:a??(r?n.jsx("img",{src:r,alt:t?`${e} ${t}`:e}):null)}),n.jsx("h3",{className:"person-card__name",children:e}),t?n.jsx("p",{className:"person-card__role",children:t}):null,s?.length?n.jsx("ul",{className:"person-card__credentials",children:s.map(u=>n.jsx("li",{children:u},u))}):null]})}function M4({groups:e,className:t=""}){return n.jsx("div",{className:we("timeline",t),children:e.map(r=>n.jsxs("section",{className:"timeline__group",children:[n.jsx("h3",{className:"timeline__title",children:r.title}),n.jsx("ul",{className:"timeline__rows",children:r.entries.map((a,s)=>n.jsxs("li",{className:"timeline__row",children:[a.label?n.jsx("span",{className:"timeline__label",children:a.label}):null,n.jsx("div",{className:"timeline__items",children:a.items.map((l,i)=>n.jsx("p",{children:l},i))})]},`${a.label??""}-${s}`))})]},r.title))})}function $4({title:e,kind:t,body:r,badge:a,badgeSrc:s,footer:l,width:i,className:u=""}){const c=a??(s?n.jsx("img",{src:s,alt:""}):null);return n.jsxs("div",{className:we("publication-card",u),style:i?{width:i,flexShrink:0}:void 0,children:[c?n.jsx("div",{className:"publication-card__badge","aria-hidden":"true",children:c}):null,n.jsx("h3",{className:"publication-card__title",children:e}),t?n.jsx("p",{className:"publication-card__kind",children:t}):null,n.jsx("p",{className:"publication-card__body",children:r}),l?n.jsx("div",{className:"publication-card__footer",children:l}):null]})}function L4({logo:e,alt:t,onDone:r,durationMs:a=3e3}){const s=ra(r);return o.useEffect(()=>{const l=setTimeout(()=>s.current?.(),a);return()=>clearTimeout(l)},[a,s]),n.jsx("div",{className:"splash-logo",style:{"--splash-logo-duration":`${a}ms`},"aria-hidden":"true",children:n.jsx("img",{src:e,alt:t,className:"splash-logo__image"})})}function R4({eyebrow:e,eyebrowIndex:t,title:r,description:a,level:s=2,tone:l="dark",className:i=""}){const u=s===1?"h1":"h2";return n.jsxs("div",{className:we("section-header",`section-header--${l}`,i),children:[e?n.jsxs("p",{className:"section-header__eyebrow",children:[t?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"section-header__index",children:t}),n.jsx("span",{"aria-hidden":!0,className:"section-header__rule"})]}):null,e]}):null,r?n.jsx(u,{className:"section-header__title",children:r}):null,a?n.jsx("div",{className:"section-header__description",children:a}):null]})}function P4({items:e,className:t=""}){return n.jsx("ul",{className:we("company-meta",t),children:e.map((r,a)=>n.jsxs("li",{className:"company-meta__item",children:[a>0?n.jsx("span",{"aria-hidden":!0,className:"company-meta__divider",children:"|"}):null,r]},r))})}function ks({checked:e=!1,onChange:t,disabled:r,indeterminate:a,label:s,size:l="medium",className:i,title:u,ariaLabel:c}){const p=o.useRef(null),h=o.useId(),d=o.useRef(!!a);return d.current=!!a,o.useEffect(()=>{p.current&&(p.current.indeterminate=!!a)}),n.jsxs("label",{className:we("checkbox",l==="small"&&"checkbox--small",l==="large"&&"checkbox--large",r&&"checkbox--disabled",i),htmlFor:h,title:u,children:[n.jsx("input",{ref:p,id:h,type:"checkbox",className:"checkbox__input",checked:e,onChange:m=>{t?.(m.target.checked),p.current&&(p.current.indeterminate=d.current)},disabled:r,"aria-label":!s&&c?c:void 0}),n.jsx("span",{className:"checkbox__box"}),s&&n.jsx("span",{className:"checkbox__label body-3",children:s})]})}function zc(e,t){const r=()=>{if(e){const[b,_]=e.split("-");return{y:+b,m:+_-1}}const[C,v]=ja(t).split("-");return{y:+C,m:+v-1}},[a,s]=o.useState(()=>r().y),[l,i]=o.useState(()=>r().m),u=o.useRef(e);o.useEffect(()=>{if(e===u.current)return;u.current=e;const C=r();s(C.y),i(C.m)},[e]);const c=o.useRef({y:a,m:l});o.useEffect(()=>{c.current={y:a,m:l}},[a,l]);const p=o.useCallback(C=>{const v=c.current.y*12+c.current.m+C,b=Math.floor(v/12),_=v-b*12;c.current={y:b,m:_},s(b),i(_)},[]),h=o.useCallback(()=>p(-1),[p]),d=o.useCallback(()=>p(1),[p]),m=o.useCallback((C,v)=>{c.current={y:C,m:v},s(C),i(v)},[]);return{viewY:a,viewM:l,prevMonth:h,nextMonth:d,setViewYM:m}}function Xa(e,t){return new Date(e,t+1,0).getDate()}function F4(e,t){return new Date(e,t,1).getDay()}function Ca(e,t,r){return`${e}-${String(t+1).padStart(2,"0")}-${String(r).padStart(2,"0")}`}function I4(e){if(!e)return"";const[t,r,a]=e.split("-");return`${t}. ${r}. ${a}.`}function Wc(e){const t=e.replace(/\D/g,"");if(t.length!==8)return null;const r=+t.slice(0,4),a=+t.slice(4,6),s=+t.slice(6,8);if(a<1||a>12||s<1||s>31)return null;const l=new Date(r,a-1,s);return l.getFullYear()!==r||l.getMonth()!==a-1||l.getDate()!==s?null:Ca(r,a-1,s)}const O4=1900;function z4(e,t,r,a,s){const l=a?+a.split("-")[0]:Math.min(O4,e),i=s?+s.split("-")[0]:Math.max(t+10,e),u=[];for(let c=l;c<=i;c++)u.push({value:String(c),label:r(c)});return u}function Hc(e,t,r,a){const s=[];for(let l=1;l<=12;l++){const i=`${e}-${String(l).padStart(2,"0")}`;r&&i<r.slice(0,7)||a&&i>a.slice(0,7)||s.push({value:String(l),label:t(e,l)})}return s}function Vc({value:e,onChange:t,size:r,min:a,max:s,disabled:l,placeholder:i,className:u,today:c,ariaLabel:p,ariaLabelledBy:h}){const d=wn(),m=r??d??Cn;!p&&!h&&Tt("DatePicker:unnamed","[ihab/DatePicker] \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 ariaLabel \uC774\uB098 ariaLabelledBy \uC911 \uD558\uB098\uB97C \uC8FC\uC138\uC694. placeholder \uB294 \uC774\uB984\uC744 \uB300\uC2E0\uD558\uC9C0 \uBABB\uD569\uB2C8\uB2E4.");const{t:C,i18n:v}=Ee.useTranslation(),b=i??C("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),_=o.useMemo(()=>C("calendar.dow",{returnObjects:!0}),[C]),y=ja(c),{viewY:x,viewM:g,prevMonth:w,nextMonth:A,setViewYM:f}=zc(e,c),B=o.useId(),k=o.useCallback((q,le)=>{const re=window.innerHeight,se=window.innerWidth,ye=typeof document<"u"?document.getElementById(B):null,ke=Math.max(ye?.offsetHeight||0,ye?.scrollHeight||0)||300,ve=Math.max(q.width,ye?.offsetWidth||0,260),Ie=re-q.bottom,xe=q.top,_e=Ie<ke&&xe>Ie,Be=8,De=(ze,ot)=>Math.min(Math.max(Be,ze),Math.max(Be,ot));return{position:"fixed",left:De(q.left,se-ve-Be),width:q.width,minWidth:260,..._e?{top:"auto",bottom:De(re-q.top+6,re-ke-Be)}:{bottom:"auto",top:De(q.bottom+6,re-ke-Be)},zIndex:oa(le)}},[B]),{open:E,setOpen:N,toggle:S,style:j,triggerRef:$,menuRef:W}=sa({computeStyle:k,onScroll:"reposition",onResize:"reposition",ignoreOutsideClickSelector:".dropdown__menu"});o.useEffect(()=>{if(!E)return;const q=W.current;return(q?.querySelector(".date-picker__day--selected:not(:disabled)")??q?.querySelector(".date-picker__day--today:not(:disabled)")??q?.querySelector(".date-picker__day:not(:disabled)")??q?.querySelector(jn)??q)?.focus?.(),()=>{const le=document.activeElement;(!le||le===document.body)&&$.current?.focus?.()}},[E,W,$]);const[P,V]=o.useState(1),T=o.useRef(null),I=o.useRef(null);o.useEffect(()=>{if(!E)return;const q=e&&e.slice(0,7)===`${x}-${String(g+1).padStart(2,"0")}`?+e.slice(8):y.slice(0,7)===`${x}-${String(g+1).padStart(2,"0")}`?+y.slice(8):1;V(q)},[E]),o.useEffect(()=>{if(I.current==null)return;const q=I.current;I.current=null,T.current?.querySelector(`[data-day="${q}"]`)?.focus()}),o.useEffect(()=>{V(q=>Math.min(q,Xa(x,g)))},[x,g]);const z=o.useCallback(q=>{let le=Ca(q.getFullYear(),q.getMonth(),q.getDate());a&&le<a&&(le=a),s&&le>s&&(le=s);const[re,se,ye]=le.split("-").map(Number);(re!==x||se-1!==g)&&f(re,se-1),V(ye),I.current=ye},[a,s,x,g,f]),ie=o.useCallback(q=>{const le=new Date(x,g,P),re=ye=>{le.setDate(le.getDate()+ye),z(le)},se=ye=>{const ke=le.getFullYear()*12+le.getMonth()+ye,ve=Math.floor(ke/12),Ie=ke-ve*12;z(new Date(ve,Ie,Math.min(le.getDate(),Xa(ve,Ie))))};switch(q.key){case"ArrowLeft":re(-1);break;case"ArrowRight":re(1);break;case"ArrowUp":re(-7);break;case"ArrowDown":re(7);break;case"Home":re(-le.getDay());break;case"End":re(6-le.getDay());break;case"PageUp":q.shiftKey?se(-12):se(-1);break;case"PageDown":q.shiftKey?se(12):se(1);break;default:return}q.preventDefault()},[x,g,P,z]),ne=o.useCallback(q=>{l||(t(Ca(x,g,q)),N(!1))},[x,g,t,N,l]);o.useEffect(()=>{l&&N(!1)},[l,N]);const F=q=>{const le=Ca(x,g,q);return!!(a&&le<a||s&&le>s)},G=(()=>{const q=Xa(x,g);if(P>=1&&P<=q&&!F(P))return P;for(let le=1;le<=q;le++)if(!F(le))return le;return-1})(),ee=[];for(let q=0;q<F4(x,g);q++)ee.push(null);for(let q=1;q<=Xa(x,g);q++)ee.push(q);const Z=m===64?20:m===32?14:m===40?16:18,L=Wo(v.language),R=q=>new Intl.DateTimeFormat(L,{year:"numeric"}).format(new Date(q,0,1)),D=(q,le)=>new Intl.DateTimeFormat(L,{month:"long"}).format(new Date(q,le-1,1)),H=z4(x,+y.slice(0,4),R,a,s),te=Hc(x,D,a,s),J=q=>{const le=Hc(q,D,a,s);if(le.length===0)return;const re=le.some(se=>+se.value===g+1);f(q,re?g:+le[0].value-1)},[ae,ue]=o.useState(null);o.useEffect(()=>{ue(null)},[e]);const Ne=o.useCallback(q=>{ue(q);const le=Wc(q);if(!le||a&&le<a||s&&le>s)return;t(le);const[re,se]=le.split("-");f(+re,+se-1)},[a,s,t,f]),ce=(()=>{if(ae==null||ae.replace(/\D/g,"").length<8)return!1;const q=Wc(ae);return!q||!!a&&q<a||!!s&&q>s})(),X=o.useCallback(()=>{ue(null)},[]),O=o.useCallback(q=>{q.key==="Enter"?(q.preventDefault(),X(),N(!1)):q.key==="Escape"?(X(),N(!1)):q.key==="ArrowDown"&&!E&&(q.preventDefault(),N(!0))},[X,N,E]),U=E?bn.createPortal(n.jsxs("div",{ref:W,id:B,className:"date-picker__dropdown",style:j,"data-tooltip-ignore":!0,role:"dialog","aria-label":C("datePicker.chooseDate","\uB0A0\uC9DC \uC120\uD0DD"),tabIndex:-1,children:[n.jsxs("div",{className:"date-picker__nav",children:[n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:w,"aria-label":C("calendar.prevMonth","\uC774\uC804 \uB2EC"),children:n.jsx(El,{size:16,strokeWidth:2})}),n.jsxs("div",{className:"date-picker__nav-ym",children:[n.jsx(An,{className:"date-picker__nav-dropdown",ariaLabel:C("datePicker.selectYear","\uC5F0 \uC120\uD0DD"),options:H,value:String(x),onChange:q=>J(+q),size:40}),n.jsx(An,{className:"date-picker__nav-dropdown",ariaLabel:C("datePicker.selectMonth","\uC6D4 \uC120\uD0DD"),options:te,value:String(g+1),onChange:q=>f(x,+q-1),size:40})]}),n.jsx("button",{type:"button",className:"date-picker__nav-btn",onClick:A,"aria-label":C("calendar.nextMonth","\uB2E4\uC74C \uB2EC"),children:n.jsx(jl,{size:16,strokeWidth:2})})]}),n.jsxs("div",{className:"date-picker__grid",ref:T,onKeyDown:ie,children:[_.map(q=>n.jsx("div",{className:"date-picker__dow caption-1",children:q},q)),ee.map((q,le)=>{if(q===null)return n.jsx("div",{},`e${le}`);const re=Ca(x,g,q),se=re===e,ye=re===y,ke=F(q),ve=le%7;return n.jsx("button",{type:"button",disabled:ke,"data-day":q,tabIndex:q===G?0:-1,"aria-current":ye?"date":void 0,onClick:()=>!ke&&ne(q),className:we("date-picker__day caption-1",se&&"date-picker__day--selected",ye&&!se&&"date-picker__day--today",ke&&"date-picker__day--disabled",ve===0&&"date-picker__day--sun",ve===6&&"date-picker__day--sat"),children:q},q)})]})]}),document.body):null;return n.jsxs("div",{className:we("date-picker",`date-picker--s${m}`,E&&"date-picker--open",ce&&"date-picker--invalid",u),children:[n.jsxs("div",{className:"date-picker__field",children:[n.jsx("input",{ref:$,type:"text",className:"date-picker__trigger body-2",value:ae??I4(e),placeholder:b,onChange:q=>Ne(q.target.value),onClick:()=>!l&&!E&&S(),onKeyDown:O,onBlur:X,disabled:l,"aria-haspopup":"dialog","aria-expanded":E,"aria-invalid":ce||void 0,"aria-label":p,"aria-labelledby":h,inputMode:"numeric",autoComplete:"off"}),n.jsx("button",{type:"button",className:"date-picker__icon-btn",onClick:()=>!l&&S(),disabled:l,tabIndex:-1,"aria-label":b,"aria-haspopup":"dialog","aria-expanded":E,children:n.jsx(Fl,{size:Z,className:"date-picker__icon",strokeWidth:1.5})})]}),U]})}const qc=["personal","sensitive","marketing"];function W4({takenKinds:e,busy:t,today:r,onClose:a,onSubmit:s,className:l}){const{t:i}=Ee.useTranslation(),[u]=o.useState(()=>ja(r)),[c,p]=o.useState([]),[h,d]=o.useState("paper"),[m,C]=o.useState("self"),[v,b]=o.useState(u),[_,y]=o.useState(""),x=qc.filter(w=>!e.includes(w)),g={personal:i("customers.consent.kind.personal","\uC77C\uBC18 \uAC1C\uC778\uC815\uBCF4"),sensitive:i("customers.consent.kind.sensitive","\uBBFC\uAC10\uC815\uBCF4(\uCCAD\uB825\xB7\uC9C4\uB2E8)"),marketing:i("customers.consent.kind.marketing","\uAD11\uACE0\uC131 \uC815\uBCF4 \uC218\uC2E0")};return n.jsx(qn,{title:i("customers.consent.record","\uB3D9\uC758 \uBC1B\uAE30"),closeDisabled:t,onClose:a,className:l,footer:()=>n.jsx(me,{htmlType:"button",size:48,variant:"main",disabled:t||c.length===0,label:i("customers.consent.submit","\uC800\uC7A5\uD558\uAE30"),onClick:()=>s({kinds:c,method:h,source:m,consentedAt:v||null,note:_.trim()||null})}),children:n.jsxs(Tr,{useBorder:!1,labelWidth:96,children:[n.jsx(dn,{variant:"custom",useFullWidth:!0,label:i("customers.consent.kinds","\uBC1B\uC740 \uAC08\uB798"),children:n.jsxs("div",{className:"consent-record-popup__kinds",children:[x.map(w=>n.jsx(ks,{checked:c.includes(w),disabled:t,label:g[w],onChange:A=>p(f=>A?[...f,w]:f.filter(B=>B!==w))},w)),x.length===0&&n.jsx("p",{className:"body-3 consent-record-popup__none",children:i("customers.consent.allTaken","\uC138 \uAC08\uB798\uB97C \uC774\uBBF8 \uB2E4 \uBC1B\uC558\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBC1B\uC73C\uB824\uBA74 \uBA3C\uC800 \uCCA0\uD68C\uD558\uC138\uC694.")})]})}),n.jsx(dn,{variant:"custom",useFullWidth:!0,label:i("customers.consent.methodTitle","\uBC1B\uC740 \uBC29\uBC95"),children:n.jsx(kn,{size:40,fullWidth:!0,ariaLabel:i("customers.consent.methodTitle","\uBC1B\uC740 \uBC29\uBC95"),options:[{key:"paper",label:i("customers.consent.method.paper","\uC11C\uBA74")},{key:"verbal",label:i("customers.consent.method.verbal","\uAD6C\uB450")},{key:"electronic",label:i("customers.consent.method.electronic","\uC804\uC790")}],value:h,onChange:w=>d(String(w))})}),n.jsx(dn,{variant:"custom",useFullWidth:!0,label:i("customers.consent.sourceTitle","\uC218\uC9D1 \uCD9C\uCC98"),children:n.jsx(kn,{size:40,fullWidth:!0,ariaLabel:i("customers.consent.sourceTitle","\uC218\uC9D1 \uCD9C\uCC98"),options:[{key:"self",label:i("customers.consent.source.self","\uBCF8\uC778")},{key:"guardian",label:i("customers.consent.source.guardian","\uBCF4\uD638\uC790")},{key:"referral",label:i("customers.consent.source.referral","\uC758\uB8B0\uAE30\uAD00")}],value:m,onChange:w=>C(String(w))})}),n.jsx(dn,{variant:"custom",useFullWidth:!0,label:i("customers.consent.day","\uBC1B\uC740 \uB0A0"),children:n.jsx(Vc,{size:48,value:v,max:u,today:r,onChange:w=>b(w??"")})}),n.jsx(dn,{variant:"custom",useFullWidth:!0,label:i("customers.consent.note","\uBA54\uBAA8"),children:n.jsx(Un,{size:48,fullWidth:!0,value:_,onChange:y,disabled:t,ariaLabel:i("customers.consent.note","\uBA54\uBAA8"),placeholder:i("customers.consent.notePlaceholder","\uC758\uB8B0\uAE30\uAD00 \uC774\uB984 \uB4F1 \u2014 \uBBFC\uAC10\uD55C \uB0B4\uC6A9\uC740 \uC801\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4")})})]})})}function As({page:e,totalPages:t,onChange:r,prevLabel:a,nextLabel:s,className:l=""}){const{t:i}=Ee.useTranslation(),u=a??i("common.prevPage","\uC774\uC804 \uD398\uC774\uC9C0"),c=s??i("common.nextPage","\uB2E4\uC74C \uD398\uC774\uC9C0"),p=Math.max(1,t),h=()=>r(Math.max(1,Math.min(p,e-1))),d=()=>r(Math.min(p,e+1));return n.jsxs("div",{className:we("pagination",l),children:[n.jsx(me,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-left",ariaLabel:u,disabled:e<=1,onClick:h}),n.jsxs("span",{className:"pagination__info body-3","aria-live":"polite","aria-atomic":"true",children:[Math.min(Math.max(1,e),p)," / ",p]}),n.jsx(me,{htmlType:"button",size:32,type:"dot",shape:"rounded",icon:"chevron-right",ariaLabel:c,disabled:e>=t,onClick:d})]})}function Ns({count:e,search:t,segment:r,filters:a,pageSize:s,pagination:l,actions:i,className:u}){const c=wn()??Cn,{t:p}=Ee.useTranslation(),h=e!=null&&n.jsxs("p",{className:"toolbar__count body-1",role:"status","aria-atomic":"true",children:[e.prefix??p("common.totalPrefix","\uCD1D "),n.jsx("span",{className:"toolbar__count-highlight",children:e.value}),e.unit,e.suffix]}),d=!!(t||a?.length||s||l||i);return n.jsxs("div",{className:we("toolbar",u),children:[n.jsxs("div",{className:"toolbar__row",children:[h,r&&(Array.isArray(r)?r:[r]).map((m,C)=>n.jsx(kn,{size:c,...m},m.ariaLabel??C))]}),d&&n.jsx("div",{className:"toolbar__row",children:n.jsxs("div",{className:"toolbar__row-end",children:[t&&n.jsx(Un,{className:"toolbar__search",size:c,value:t.value,onChange:t.onChange,placeholder:t.placeholder??p("common.search","\uAC80\uC0C9"),ariaLabel:t.placeholder??p("common.search","\uAC80\uC0C9"),autoFocus:t.autoFocus,clearable:!0}),a?.map((m,C)=>n.jsx(An,{size:c,options:m.options,value:m.value,onChange:m.onChange,ariaLabel:m.ariaLabel},C)),(s||l)&&n.jsxs("div",{className:"toolbar__pager",children:[s&&n.jsx(An,{size:c,options:s.options,value:s.value,onChange:s.onChange,ariaLabel:s.ariaLabel??p("common.pageSizeSelect","\uD398\uC774\uC9C0\uB2F9 \uD45C\uC2DC \uAC1C\uC218")}),l&&n.jsx(As,{page:l.page,totalPages:l.total,onChange:l.onChange,prevLabel:l.prevLabel,nextLabel:l.nextLabel})]}),i]})})]})}function Uc(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(Uc).join(""):""}function H4(e){let t=e.replace(/\r\n/g,`
843
843
  `).replace(/\r/g,`